/* WireMind Pro — shared stylesheet
   Brand palette:
     Background:  #0B0E13 / #0E1116
     Primary:     #22D3EE → #00E5FF (cyan)
     Azure:       #2E9BFF → #1E6FFF
     Amber:       #FFB020 / #FFC400
     Text:        #F2F5F7 / muted #9AA7B2
*/

/* ─── Reset & base ─────────────────────────────────────────── */
:root {
  color-scheme: dark;

  --bg:          #0B0E13;
  --bg-raised:   #0E1116;
  --bg-card:     #11151c;
  --bg-card-hi:  #161b24;
  --border:      #1d2530;
  --border-hi:   #263040;

  --cyan:        #22D3EE;
  --cyan-bright: #00E5FF;
  --azure:       #2E9BFF;
  --azure-deep:  #1E6FFF;
  --amber:       #FFB020;
  --amber-hi:    #FFC400;

  --text:        #F2F5F7;
  --text-body:   #C9D2DA;
  --text-muted:  #9AA7B2;
  --text-dim:    #6b7783;

  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 3px;
}

ul, ol { padding-left: 1.3em; }
li { color: var(--text-body); margin-bottom: .35em; }
p { color: var(--text-body); }
strong { color: var(--text); font-weight: 600; }

/* ─── Layout ────────────────────────────────────────────────── */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--narrow {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Navigation ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 19, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  color: var(--text-muted);
  font-size: .9375rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
  text-decoration: none;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 96px;
  text-align: center;
}

/* Diagonal glow: cyan → azure */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 25% 35%, rgba(34,211,238,.09) 0%, transparent 70%),
    radial-gradient(ellipse 55% 50% at 75% 65%, rgba(46,155,255,.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,211,238,.08);
  border: 1px solid rgba(34,211,238,.22);
  color: var(--cyan);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 32px;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--cyan), var(--azure));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--azure));
  color: #06090e;
  font-size: .9375rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: opacity .15s, transform .1s;
  text-decoration: none;
}

.btn-primary:hover { opacity: .9; transform: translateY(-1px); text-decoration: none; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border-hi);
  color: var(--text-muted);
  font-size: .9375rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: border-color .15s, color .15s;
  text-decoration: none;
}

.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); text-decoration: none; }

.hero-badge-coming {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,176,32,.08);
  border: 1px solid rgba(255,176,32,.25);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-size: .9375rem;
  color: var(--text-muted);
}

.hero-badge-coming strong {
  color: var(--amber);
}

.hero-image-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

.hero-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(34,211,238,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-app-icon {
  width: 130px;
  height: 130px;
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(34,211,238,.15), 0 24px 64px rgba(0,0,0,.5), 0 8px 24px rgba(34,211,238,.08);
  position: relative;
  z-index: 1;
}

/* ─── Section shells ──────────────────────────────────────────── */
section { padding: 80px 0; }

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.55;
}

/* ─── Value Props ─────────────────────────────────────────────── */
.value-props {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.value-props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.vp-card {
  background: var(--bg-raised);
  padding: 40px 36px;
}

.vp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(34,211,238,.08);
  border: 1px solid rgba(34,211,238,.15);
}

.vp-icon--amber {
  background: rgba(255,176,32,.08);
  border-color: rgba(255,176,32,.2);
}

.vp-icon--azure {
  background: rgba(46,155,255,.08);
  border-color: rgba(46,155,255,.2);
}

.vp-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}

.vp-card p {
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ─── Feature grid ────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  transition: border-color .2s;
}

.feature-card:hover { border-color: var(--border-hi); }

.feature-card-icon {
  font-size: 24px;
  margin-bottom: 14px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.feature-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── Privacy highlight ───────────────────────────────────────── */
.privacy-highlight {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.privacy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(34,211,238,.07);
  border: 1px solid rgba(34,211,238,.2);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 24px;
}

.privacy-badge .check {
  width: 28px;
  height: 28px;
  background: rgba(34,211,238,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 14px;
  flex-shrink: 0;
}

.privacy-badge span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.privacy-list {
  list-style: none;
  padding: 0;
}

.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  font-size: .9375rem;
}

.privacy-list li:last-child { border-bottom: none; }

.privacy-list .tick {
  color: var(--cyan);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.privacy-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.privacy-visual-inner {
  text-align: center;
  padding: 48px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 320px;
  width: 100%;
}

.privacy-visual-icon {
  font-size: 48px;
  margin-bottom: 16px;
  line-height: 1;
}

.privacy-visual-title {
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.privacy-visual-sub {
  font-size: .875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ─── Disclaimer ──────────────────────────────────────────────── */
.disclaimer {
  padding: 40px 0;
  text-align: center;
}

.disclaimer-inner {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255,176,32,.04);
  border: 1px solid rgba(255,176,32,.15);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.disclaimer-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}

.disclaimer-text {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── Footer ──────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-icon {
  width: 26px;
  height: 26px;
  border-radius: 5px;
}

.footer-brand-name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-dim);
  font-size: .875rem;
  padding: 4px 10px;
  border-radius: 6px;
  transition: color .15s;
}

.footer-links a:hover { color: var(--cyan); text-decoration: none; }

.footer-links .sep {
  color: var(--border-hi);
  font-size: .75rem;
}

.footer-copy {
  color: var(--text-dim);
  font-size: .8125rem;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

/* ─── Inner page layout (privacy, support) ────────────────────── */
.page-body {
  padding: 64px 0 96px;
}

.page-lead {
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.page-updated {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.page-body section {
  padding: 0;
  margin-bottom: 0;
}

.page-body section + section {
  margin-top: 40px;
}

.page-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.page-body section:first-of-type h2 {
  border-top: none;
  padding-top: 0;
}

.page-body p { margin-bottom: 1em; }
.page-body ul, .page-body ol { margin-bottom: 1em; }

.pill {
  display: inline-block;
  background: rgba(34,211,238,.1);
  color: var(--cyan);
  border: 1px solid rgba(34,211,238,.3);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .875rem;
  font-weight: 700;
}

/* ─── Support-specific ────────────────────────────────────────── */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin-bottom: 40px;
}

.contact-card h2 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  border: none;
  padding: 0;
}

.faq-list {
  border-top: 1px solid var(--border);
}

details {
  border-bottom: 1px solid var(--border);
}

details summary {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  padding: 18px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform .2s;
}

details[open] summary::after {
  content: "−";
}

details p {
  padding-bottom: 18px;
  margin: 0;
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── 404 page ────────────────────────────────────────────────── */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - 62px);
  padding: 48px 24px;
}

.not-found-code {
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--cyan), var(--azure));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.not-found h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.not-found p {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 360px;
}

/* ─── Divider ─────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ─── Utilities ───────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 72px 0 72px; }
  section { padding: 64px 0; }

  .privacy-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .privacy-visual { order: -1; }
  .privacy-visual-inner { max-width: 100%; }

  .site-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-copy { padding-top: 8px; }

  .vp-card { padding: 32px 24px; }
  .feature-card { padding: 24px; }
}

@media (max-width: 520px) {
  .site-nav a { padding: 6px 10px; font-size: .875rem; }
  .brand-name { font-size: .9375rem; }

  .hero h1 { letter-spacing: -.02em; }

  .hero-cta-group { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 300px; justify-content: center; }
  .hero-badge-coming { width: 100%; max-width: 300px; justify-content: center; }

  .contact-card { padding: 22px 20px; }
}
