/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --indigo: #3949AB;
  --indigo-dark: #283593;
  --indigo-light: #5C6BC0;
  --blue: #1E88E5;
  --amber: #FFA000;
  --green: #43A047;
  --bg: #F8F9FF;
  --surface: #FFFFFF;
  --text: #1A1A2E;
  --muted: #6B7280;
  --border: #E5E7EB;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(57,73,171,.12);
  --shadow-lg: 0 12px 48px rgba(57,73,171,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ── Utility ── */
.container   { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-muted  { color: var(--muted); }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-2  { margin-bottom: 8px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Badge ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600;
  background: rgba(57,73,171,.08); color: var(--indigo);
}
.badge-pro {
  background: var(--amber); color: #fff;
  font-size: 11px; padding: 2px 8px; border-radius: 6px;
  vertical-align: middle; margin-left: 6px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  border: none; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--blue) 100%);
  color: #fff; box-shadow: 0 6px 24px rgba(57,73,171,.35);
}
.btn-primary:hover { box-shadow: 0 10px 32px rgba(57,73,171,.45); }
.btn-outline {
  background: transparent; color: var(--indigo);
  border: 2px solid var(--indigo);
}
.btn-outline:hover { background: rgba(57,73,171,.05); }
.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: 10px; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  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-size: 18px; font-weight: 800; color: var(--indigo);
}
.nav-logo svg { flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--indigo); text-decoration: none; }
.nav-cta { margin-left: 12px; }

/* ── HERO ── */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(160deg, #F0F2FF 0%, #E8F0FE 40%, #FFFFFF 100%);
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 70% 40%, rgba(57,73,171,.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  background: rgba(57,73,171,.1); color: var(--indigo);
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900; line-height: 1.12; letter-spacing: -.5px;
  margin-bottom: 20px;
}
.hero p {
  font-size: 18px; color: var(--muted); max-width: 480px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* App mockup */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.mockup-shell {
  width: 260px; border-radius: 36px;
  background: #111; padding: 8px;
  box-shadow: 0 32px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08);
  position: relative; z-index: 1;
}
.mockup-screen {
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, #3949AB 0%, #1E88E5 100%);
  aspect-ratio: 9/19.5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px;
}
.mockup-screen .app-icon {
  width: 72px; height: 72px; border-radius: 18px;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
}
.mockup-screen .app-name { color: #fff; font-weight: 800; font-size: 15px; }
.mockup-screen .app-tagline { color: rgba(255,255,255,.7); font-size: 11px; text-align: center; }
.mockup-badge-row { display: flex; gap: 8px; margin-top: 4px; }
.mockup-stat {
  background: rgba(255,255,255,.15); border-radius: 10px;
  padding: 8px 12px; text-align: center;
}
.mockup-stat .val { color: #fff; font-size: 18px; font-weight: 800; }
.mockup-stat .lbl { color: rgba(255,255,255,.6); font-size: 9px; }

/* Floating cards */
.float-card {
  position: absolute; background: #fff; border-radius: 14px;
  padding: 10px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}
.float-card:nth-child(2) { animation-delay: -1.5s; }
.float-card.left  { left: -30px; top: 22%; }
.float-card.right { right: -30px; bottom: 28%; }
.float-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.float-icon.green { background: #E8F5E9; }
.float-icon.amber { background: #FFF8E1; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ── STATS STRIP ── */
.stats-strip { padding: 48px 0; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat-item {
  text-align: center; padding: 16px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 36px; font-weight: 900; line-height: 1; }
.stat-desc { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ── SECTION ── */
section { padding: 96px 0; }
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--indigo); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 900;
  line-height: 1.15; letter-spacing: -.3px; margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; color: var(--muted); max-width: 580px; margin: 0 auto;
}

/* ── FEATURES ── */
.features-bg { background: var(--bg); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.feature-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 28px; border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 24px;
}
.ic-indigo { background: rgba(57,73,171,.1); }
.ic-blue   { background: rgba(30,136,229,.1); }
.ic-green  { background: rgba(67,160,71,.1); }
.ic-purple { background: rgba(142,36,170,.1); }
.ic-amber  { background: rgba(255,160,0,.1); }
.ic-teal   { background: rgba(0,137,123,.1); }
.ic-pink   { background: rgba(233,30,99,.1); }
.ic-orange { background: rgba(251,140,0,.1); }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; margin-top: 56px; position: relative;
}
.steps-grid::before {
  content: ''; position: absolute;
  top: 28px; left: 15%; right: 15%; height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--blue));
  opacity: .2;
}
.step-item { text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--blue));
  color: #fff; font-size: 20px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(57,73,171,.3);
}
.step-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step-item p  { font-size: 13px; color: var(--muted); }

/* ── USE CASES ── */
.usecases-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 56px;
}
.usecase-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 28px 32px; border: 1px solid var(--border);
  display: flex; gap: 20px; align-items: flex-start;
  transition: box-shadow .2s;
}
.usecase-card:hover { box-shadow: var(--shadow); }
.usecase-emoji { font-size: 36px; line-height: 1; flex-shrink: 0; }
.usecase-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.usecase-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── COMPARISON ── */
.compare-table {
  width: 100%; border-collapse: collapse; margin-top: 48px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.compare-table th {
  padding: 16px 24px; text-align: left;
  font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.compare-table th:first-child { background: #F3F4F6; color: var(--muted); width: 40%; }
.compare-table th.free-col { background: #F9FAFB; color: var(--text); width: 30%; }
.compare-table th.pro-col  { background: var(--indigo); color: #fff; width: 30%; }
.compare-table td {
  padding: 14px 24px; border-top: 1px solid var(--border);
  font-size: 15px;
}
.compare-table td:first-child { background: #F9FAFB; font-weight: 500; }
.compare-table td.free-col { background: #fff; text-align: center; }
.compare-table td.pro-col  { background: #EEF2FF; text-align: center; font-weight: 600; color: var(--indigo); }
.check { color: var(--green); font-size: 18px; }
.cross { color: #D1D5DB; font-size: 18px; }

/* ── PRICING ── */
.pricing-bg { background: var(--bg); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px; align-items: start;
}
.pricing-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 32px 28px; border: 2px solid var(--border);
  position: relative; transition: box-shadow .2s, transform .2s;
}
.pricing-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--indigo);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.pricing-card.featured:hover { transform: translateY(-12px); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--indigo); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 16px; border-radius: 100px;
  white-space: nowrap;
}
.plan-name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); }
.plan-price { font-size: 42px; font-weight: 900; line-height: 1; margin: 12px 0 4px; }
.plan-price sub { font-size: 18px; font-weight: 600; vertical-align: baseline; }
.plan-period { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0; font-size: 14px; border-bottom: 1px solid #F3F4F6;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* Free plan */
.plan-free .plan-price { color: var(--muted); font-size: 32px; }
.plan-features.muted-list li::before { content: '✓'; color: #D1D5DB; }

/* ── PRIVACY ── */
.privacy-prose { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.privacy-prose h1 { font-size: 36px; font-weight: 900; margin-bottom: 8px; }
.privacy-prose .last-updated { color: var(--muted); font-size: 14px; margin-bottom: 48px; }
.privacy-prose h2 { font-size: 20px; font-weight: 800; margin: 40px 0 12px; color: var(--indigo); }
.privacy-prose p  { font-size: 15px; color: #374151; line-height: 1.75; margin-bottom: 12px; }
.privacy-prose ul { margin: 8px 0 16px 20px; }
.privacy-prose ul li { font-size: 15px; color: #374151; line-height: 1.75; margin-bottom: 6px; }
.privacy-hero {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--blue) 100%);
  padding: 64px 24px 48px;
  text-align: center;
  color: #fff;
}
.privacy-hero h1 { font-size: 40px; font-weight: 900; margin-bottom: 10px; }
.privacy-hero p  { font-size: 16px; opacity: .8; max-width: 560px; margin: 0 auto; }

/* ── FOOTER ── */
footer {
  background: #111827; color: #9CA3AF;
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .logo { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: #9CA3AF; transition: color .15s; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
}
.footer-bottom a { color: #9CA3AF; }
.footer-bottom a:hover { color: #fff; }

/* ── CTA BANNER ── */
.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--blue) 100%);
  text-align: center; color: #fff;
}
.cta-section h2 { font-size: clamp(28px,4vw,42px); font-weight: 900; margin-bottom: 16px; }
.cta-section p  { font-size: 18px; opacity: .85; margin-bottom: 36px; }
.btn-white {
  background: #fff; color: var(--indigo);
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
}
.btn-white:hover { box-shadow: 0 10px 32px rgba(0,0,0,.3); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner   { grid-template-columns: 1fr; text-align: center; }
  .hero p       { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual  { display: none; }
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps-grid     { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .usecases-grid  { grid-template-columns: 1fr; }
  .pricing-grid   { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .stats-grid     { grid-template-columns: 1fr; }
  .stat-item      { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .compare-table  { font-size: 13px; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid    { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
  .nav-links .hide-mobile { display: none; }
}
