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

:root {
  --primary: #5B6AF0;
  --primary-dark: #4A56D4;
  --primary-light: #EEF0FE;
  --hero: #0F172A;
  --hero2: #1E293B;
  --bg: #FFFFFF;
  --bg-alt: #F8F9FF;
  --text: #111827;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: #E5E7EB;
  --success: #10B981;
  --success-bg: #ECFDF5;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(91,106,240,0.10);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
}

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

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

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { font-weight: 800; font-size: 18px; letter-spacing: 2px; color: var(--primary); text-decoration: none; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 10px 20px; border-radius: 8px; font-weight: 600;
}
.nav-cta:hover { background: var(--primary-dark); text-decoration: none !important; }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--hero) 0%, var(--hero2) 100%);
  color: #fff; text-align: center; padding: 100px 24px 80px;
}
.hero-badge {
  display: inline-block; background: rgba(91,106,240,0.25); color: #a5b4fc;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 24px;
  border: 1px solid rgba(91,106,240,0.4);
}
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero h1 span { color: #a5b4fc; }
.hero p { font-size: clamp(16px, 2.5vw, 20px); color: #94A3B8; max-width: 560px; margin: 0 auto 40px; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.btn-appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--text) !important; text-decoration: none !important;
  padding: 14px 28px; border-radius: var(--radius); font-weight: 700; font-size: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3); transition: transform 0.15s, box-shadow 0.15s;
}
.btn-appstore:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.btn-appstore-icon { font-size: 24px; line-height: 1; }
.btn-appstore-text { display: flex; flex-direction: column; text-align: left; }
.btn-appstore-sub { font-size: 11px; font-weight: 400; color: var(--text-muted); }
.hero-meta { font-size: 13px; color: #64748B; }
.hero-screenshot {
  max-width: 900px; margin: 64px auto 0;
  background: rgba(255,255,255,0.05); border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  height: 360px; display: flex; align-items: center; justify-content: center;
}
.hero-screenshot-placeholder { color: #334155; font-size: 14px; font-weight: 500; }

/* SECTIONS */
section { padding: 80px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 560px; margin-bottom: 56px; }

/* FEATURES */
.features-bg { background: var(--bg-alt); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--bg); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon { font-size: 32px; margin-bottom: 16px; display: block; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.feature-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; margin-top: 12px;
}
.badge-free { background: var(--success-bg); color: var(--success); }
.badge-pro { background: var(--primary-light); color: var(--primary); }

/* HOW IT WORKS */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 56px; }
.step { text-align: center; }
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); }

/* PRICING */
.pricing-bg { background: var(--bg-alt); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 720px; }
.pricing-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--border);
}
.pricing-card.featured {
  border-color: var(--primary); box-shadow: var(--shadow);
  position: relative;
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 20px; white-space: nowrap;
}
.pricing-name { font-size: 14px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.pricing-price { font-size: 40px; font-weight: 800; margin-bottom: 4px; }
.pricing-price span { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.pricing-annual { font-size: 13px; color: var(--success); font-weight: 600; margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.pricing-features li:last-child { border-bottom: none; }
.check { color: var(--success); font-weight: 700; flex-shrink: 0; }
.pricing-btn {
  display: block; text-align: center; padding: 14px;
  border-radius: 10px; font-weight: 700; font-size: 15px;
  text-decoration: none !important; transition: opacity 0.15s;
}
.pricing-btn-primary { background: var(--primary); color: #fff !important; }
.pricing-btn-primary:hover { opacity: 0.9; }
.pricing-btn-secondary { background: var(--bg-alt); color: var(--text) !important; border: 1px solid var(--border); }
.pricing-trial { font-size: 12px; color: var(--text-light); text-align: center; margin-top: 10px; }

/* FAQ PREVIEW */
.faq-list { max-width: 720px; margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.faq-a { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
  text-align: center; padding: 80px 24px; color: #fff;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,0.75); margin-bottom: 36px; }

/* FOOTER */
footer {
  background: var(--hero); color: #94A3B8;
  padding: 48px 24px 32px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; margin-bottom: 40px; }
.footer-brand .logo { font-weight: 800; letter-spacing: 2px; font-size: 16px; color: #fff; }
.footer-brand p { font-size: 13px; margin-top: 8px; max-width: 260px; }
.footer-links h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 12px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul a { font-size: 13px; color: #94A3B8; text-decoration: none; }
.footer-links ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; }

/* PAGE HERO */
.page-hero { background: var(--bg-alt); padding: 64px 24px 48px; border-bottom: 1px solid var(--border); text-align: center; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; }
.page-hero p { font-size: 17px; color: var(--text-muted); max-width: 480px; margin: 0 auto; }

/* SUPPORT DOCS */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 60px; }
.doc-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.doc-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.doc-card p { font-size: 13px; color: var(--text-muted); }
.doc-section { margin-bottom: 48px; }
.doc-section h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-light); }
.doc-step { display: flex; gap: 16px; margin-bottom: 16px; }
.doc-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.doc-step-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.doc-step-body p { font-size: 14px; color: var(--text-muted); }
.callout { background: var(--primary-light); border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin: 16px 0; }
.callout p { font-size: 14px; color: var(--primary-dark); margin: 0; }
.callout strong { color: var(--primary-dark); }

/* CONTACT */
.contact-box { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; max-width: 480px; margin-top: 32px; }
.contact-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.contact-box p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.contact-email { display: inline-block; background: var(--primary); color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; }
.contact-email:hover { background: var(--primary-dark); text-decoration: none; }

@media (max-width: 640px) {
  .nav-links .nav-link-hide { display: none; }
  .footer-top { flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; }
}
