/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:     #7C5CFC;
  --teal:      #00C6B8;
  --purple:    #9B6DFF;
  --ink:       #1A1A2E;
  --ink2:      #4A4A6A;
  --ink3:      #8888AA;
  --surface:   #F8F7FF;
  --surface2:  #EEF0FF;
  --divider:   #E8E4FF;
  --white:     #FFFFFF;
  --grad:      linear-gradient(135deg, #7C5CFC 0%, #00C6B8 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,92,252,.08) 0%, rgba(0,198,184,.08) 100%);
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 4px 24px rgba(124,92,252,.12);
  --shadow-sm: 0 2px 12px rgba(124,92,252,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { opacity: .8; }

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

/* ── Nav ──────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--divider);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  height: 64px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: var(--ink);
  flex-shrink: 0;
}

.nav-logo img {
  width: 32px; height: 32px;
  border-radius: 8px;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; flex: 1;
}

.nav-links a {
  color: var(--ink2); font-size: 14px; font-weight: 500;
  padding: 6px 12px; border-radius: 8px;
  transition: all .15s;
}

.nav-links a:hover, .nav-links a.active {
  background: var(--surface2); color: var(--brand); opacity: 1;
}

.nav-cta {
  background: var(--grad); color: white !important;
  padding: 8px 18px !important; border-radius: 20px !important;
  font-size: 13px !important; font-weight: 600 !important;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover { opacity: .88 !important; }

.nav-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 4px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 80px 24px 60px;
  text-align: center;
  background: var(--grad-soft);
  border-bottom: 1px solid var(--divider);
}

.hero-logo {
  width: 100px; height: 100px; border-radius: 24px;
  margin: 0 auto 24px;
  mix-blend-mode: multiply;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -1.5px;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px; color: var(--ink2);
  max-width: 540px; margin: 0 auto 32px;
}

.badge-row {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 12px;
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: white; border: 1px solid var(--divider);
  border-radius: 20px; padding: 6px 14px;
  font-size: 13px; font-weight: 500; color: var(--ink2);
  box-shadow: var(--shadow-sm);
}

.badge-icon { font-size: 15px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: white;
  font-size: 16px; font-weight: 600;
  padding: 14px 28px; border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
  border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,92,252,.25); color: white; opacity: 1; }

.btn-outline {
  background: white; color: var(--brand);
  border: 1.5px solid var(--brand);
  box-shadow: none;
}
.btn-outline:hover { background: var(--surface2); }

/* ── Section ──────────────────────────────────────────────── */
.section {
  padding: 72px 24px;
  max-width: 1100px; margin: 0 auto;
}

.section-sm { padding: 48px 24px; max-width: 800px; margin: 0 auto; }

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 16px; color: var(--ink2);
  margin-bottom: 48px;
}

/* ── Feature Grid ─────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature-icon {
  width: 48px; height: 48px;
  background: var(--grad-soft);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
  border: 1px solid var(--divider);
}

.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: 14px; color: var(--ink2); line-height: 1.55; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

details {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

details summary {
  padding: 18px 20px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; font-size: 20px; color: var(--brand); flex-shrink: 0; font-weight: 300; }
details[open] summary::after { content: '−'; }

.faq-body { padding: 0 20px 18px; font-size: 14px; color: var(--ink2); line-height: 1.65; }
.faq-body p + p { margin-top: 10px; }

/* ── Prose (Privacy / Terms) ──────────────────────────────── */
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; }
.prose .updated { font-size: 13px; color: var(--ink3); margin-bottom: 40px; }
.prose h2 { font-size: 18px; font-weight: 700; margin: 36px 0 10px; }
.prose p  { font-size: 15px; color: var(--ink2); margin-bottom: 14px; line-height: 1.7; }
.prose ul { padding-left: 20px; margin-bottom: 14px; }
.prose li { font-size: 15px; color: var(--ink2); margin-bottom: 6px; line-height: 1.65; }
.prose a  { color: var(--brand); }

/* ── Form ─────────────────────────────────────────────────── */
.form-card {
  background: var(--surface); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: 36px;
  max-width: 640px; margin: 0 auto;
}

.form-group { margin-bottom: 20px; }

label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--ink2); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.4px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%; padding: 12px 14px;
  font-size: 15px; font-family: inherit;
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-sm);
  background: white; color: var(--ink);
  outline: none; transition: border-color .15s;
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); }
textarea { resize: vertical; min-height: 120px; }

.form-hint { font-size: 12px; color: var(--ink3); margin-top: 5px; }

/* ── Troubleshoot Steps ───────────────────────────────────── */
.trouble-section { margin-bottom: 40px; }
.trouble-section h2 { font-size: 20px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }

.steps { display: flex; flex-direction: column; gap: 12px; }

.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--divider);
  border-radius: var(--radius-sm); padding: 16px;
}

.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}

.step-content h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.step-content p  { font-size: 13px; color: var(--ink2); }

/* ── Contact Cards ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-bottom: 48px;
}

.contact-card {
  background: var(--surface); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card .c-icon { font-size: 32px; margin-bottom: 12px; }
.contact-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.contact-card p  { font-size: 13px; color: var(--ink2); }
.contact-card a  { font-size: 13px; color: var(--brand); font-weight: 500; }

/* ── Page Header (non-home) ───────────────────────────────── */
.page-header {
  padding: 52px 24px 40px;
  background: var(--grad-soft);
  border-bottom: 1px solid var(--divider);
  text-align: center;
}

.page-header h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.page-header p { font-size: 16px; color: var(--ink2); }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--divider);
  padding: 48px 24px 32px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 40px;
  align-items: start;
}

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; mix-blend-mode: multiply; }
.footer-brand span { font-size: 16px; font-weight: 700; }
.footer-tagline { font-size: 13px; color: var(--ink3); margin-bottom: 0; }

.footer-links {
  display: flex; gap: 20px; flex-wrap: wrap;
  list-style: none; justify-content: flex-end;
}
.footer-links a { font-size: 13px; color: var(--ink3); }
.footer-links a:hover { color: var(--brand); opacity: 1; }

.footer-bottom {
  max-width: 1100px; margin: 24px auto 0;
  padding-top: 20px; border-top: 1px solid var(--divider);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--ink3); flex-wrap: wrap; gap: 8px;
}

/* ── Highlight box ────────────────────────────────────────── */
.callout {
  background: var(--grad-soft); border: 1px solid var(--divider);
  border-radius: var(--radius-sm); padding: 16px 18px;
  font-size: 14px; color: var(--ink2);
  display: flex; gap: 10px; align-items: flex-start;
  margin: 16px 0;
}
.callout-icon { font-size: 18px; flex-shrink: 0; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--divider);
    padding: 16px; gap: 4px;
  }
  .nav-menu-btn { display: block; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .hero { padding: 56px 20px 48px; }
  .section { padding: 48px 20px; }
  .form-card { padding: 24px 20px; }
}
