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

:root {
  --primary:    #7C6BFF;
  --primary-dk: #5A4AE0;
  --accent:     #FF7EB3;
  --bg:         #0D0D14;
  --surface:    #14141F;
  --surface2:   #1C1C2E;
  --border:     rgba(255,255,255,0.08);
  --text:       #F0F0FF;
  --text-sec:   #9090B0;
  --text-muted: #5A5A7A;
  --radius:     16px;
  --radius-sm:  10px;
  --white:      #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { opacity: 0.85; }

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

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

section { padding: 96px 0; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,13,20,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

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

.nav-links a {
  color: var(--text-sec);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--primary-dk) !important; opacity: 1 !important; }

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

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124,107,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,107,255,0.12);
  border: 1px solid rgba(124,107,255,0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #F0F0FF 0%, #9090C0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-sec);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  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: 10px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 50px;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--primary-dk);
  transform: translateY(-1px);
  color: var(--white);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-sec);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 24px;
  border-radius: 50px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── App preview mockup ───────────────────────────────────────────────────── */
.app-preview {
  max-width: 320px;
  margin: 0 auto;
  background: var(--surface2);
  border-radius: 40px;
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: 0 40px 120px rgba(124,107,255,0.2), 0 0 0 1px var(--border);
}

.app-screen {
  background: var(--surface);
  border-radius: 28px;
  overflow: hidden;
  padding: 24px 20px;
}

.app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.app-date { font-size: 12px; color: var(--text-muted); }
.app-title { font-size: 20px; font-weight: 800; color: var(--text); }

.app-mode-pill {
  background: rgba(124,107,255,0.15);
  border: 1px solid rgba(124,107,255,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
}

.app-tasks { display: flex; flex-direction: column; gap: 10px; }

.app-task {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-task-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.app-task-dot.done { background: #4ADE80; }

.app-task-text {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

.app-task-text.done {
  text-decoration: line-through;
  color: var(--text-muted);
}

.app-task-chip {
  margin-left: auto;
  font-size: 10px;
  background: rgba(124,107,255,0.12);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
  white-space: nowrap;
}

/* ── Features ─────────────────────────────────────────────────────────────── */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-sec);
  max-width: 520px;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(124,107,255,0.4);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.7;
}

/* ── Who it's for ─────────────────────────────────────────────────────────── */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.who-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s;
}

.who-card:hover { border-color: rgba(124,107,255,0.4); }

.who-icon { font-size: 28px; margin-bottom: 10px; }

.who-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.who-card p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pricing-section { background: var(--surface); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(145deg, rgba(124,107,255,0.08) 0%, var(--bg) 100%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 44px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}

.pricing-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-sec);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.btn-outline {
  display: block;
  text-align: center;
  border: 1px solid var(--border);
  color: var(--text-sec);
  font-weight: 600;
  font-size: 15px;
  padding: 14px;
  border-radius: 50px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-full {
  display: block;
  text-align: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: 50px;
  transition: background 0.2s;
}

.btn-full:hover { background: var(--primary-dk); color: var(--white); }

/* ── CTA Banner ───────────────────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 96px 0;
}

.cta-inner {
  background: linear-gradient(135deg, rgba(124,107,255,0.15) 0%, rgba(255,126,179,0.08) 100%);
  border: 1px solid rgba(124,107,255,0.25);
  border-radius: 28px;
  padding: 64px 40px;
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-sec);
  margin-bottom: 36px;
}

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

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

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Inner pages (privacy/support) ───────────────────────────────────────── */
.page-hero {
  padding-top: 120px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}

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

.page-hero p { font-size: 16px; color: var(--text-muted); }

.prose {
  max-width: 720px;
  padding-bottom: 96px;
}

.prose h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--text);
}

.prose p, .prose li {
  font-size: 16px;
  color: var(--text-sec);
  line-height: 1.8;
  margin-bottom: 16px;
}

.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.prose th {
  background: var(--surface);
  padding: 12px 16px;
  text-align: left;
  color: var(--text);
  font-weight: 700;
  border: 1px solid var(--border);
}

.prose td {
  padding: 12px 16px;
  color: var(--text-sec);
  border: 1px solid var(--border);
}

.prose a { color: var(--primary); }

/* ── Support ──────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.7;
  margin: 0;
}

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  margin-top: 48px;
  text-align: center;
}

.contact-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-box p {
  color: var(--text-sec);
  margin-bottom: 20px;
  font-size: 15px;
}

.contact-box a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
}

.contact-box a:hover { background: var(--primary-dk); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  section { padding: 64px 0; }
  .hero { padding-top: 120px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .cta-inner { padding: 40px 24px; }
}
