
/* ============================================================
   Lextrencia Landing — Mixed Light/Dark Theme
   Light sections alternate with deep navy accent sections.
   Brand: Indigo #6366f1 · Navy #0f172a · White base
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand */
  --brand:        #6366f1;
  --brand-dark:   #4f46e5;
  --brand-light:  #818cf8;
  --brand-dim:    rgba(99,102,241,0.1);
  --brand-glow:   rgba(99,102,241,0.25);

  /* Light surface (default sections) */
  --bg:           #ffffff;
  --bg-soft:      #f8fafc;
  --bg-muted:     #f1f5f9;
  --card-bg:      #ffffff;
  --card-border:  #e2e8f0;
  --card-shadow:  0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 8px 32px rgba(99,102,241,0.12), 0 2px 8px rgba(0,0,0,0.08);

  /* Dark surface (accent sections) */
  --dark-bg:      #0f172a;
  --dark-card:    #1e293b;
  --dark-border:  rgba(255,255,255,0.08);
  --dark-text:    #f1f5f9;
  --dark-text-2:  #94a3b8;
  --dark-text-3:  #475569;

  /* Text (light sections) */
  --text:         #0f172a;
  --text-2:       #475569;
  --text-3:       #94a3b8;
  --border:       #e2e8f0;

  /* Radius */
  --r-sm:  8px;
  --r:     12px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-2xl: 24px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── CURSOR GLOW ─────────────────────────────────────────── */
#cursor-glow {
  position: fixed; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.07) 0%, transparent 70%);
  pointer-events: none; z-index: 0; transform: translate(-50%,-50%);
  will-change: transform; transition: opacity 0.3s;
}

/* ── NAVBAR ──────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.3s ease;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  padding: 18px 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-size: 20px; font-weight: 800;
  color: var(--text); letter-spacing: -0.02em;
}
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--brand), #8b5cf6);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35);
  flex-shrink: 0;
}
.logo-mark i { color: white; font-size: 14px; }
.logo-mark.sm { width: 30px; height: 30px; border-radius: 8px; }
.logo-mark.sm i { font-size: 12px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  color: var(--text-2); text-decoration: none; font-size: 14px;
  font-weight: 500; transition: color 0.15s;
}
.nav-links a:hover { color: var(--brand); }
.nav-cta {
  background: var(--brand); color: white; padding: 9px 20px;
  border-radius: var(--r-sm); font-size: 13.5px; font-weight: 600;
  text-decoration: none; display: flex; align-items: center; gap: 7px;
  transition: all 0.15s; box-shadow: 0 2px 12px rgba(99,102,241,0.3);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--brand-dark); box-shadow: 0 4px 20px rgba(99,102,241,0.45); transform: translateY(-1px); }
.nav-burger { display: none; background: none; border: none; color: var(--text-2); font-size: 20px; cursor: pointer; margin-left: auto; }
.nav-mobile {
  display: none; flex-direction: column; gap: 0;
  padding: 8px 24px 20px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.nav-mobile a {
  color: var(--text-2); text-decoration: none; font-size: 15px;
  font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border: none; }
.mobile-cta { color: var(--brand) !important; font-weight: 700 !important; }
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-mobile.open { display: flex; }
  /* Nav inner: logo left, burger right, nothing in between */
  .nav-inner { gap: 0; padding: 16px 20px; }
  .nav-logo { flex: 1; }
}

/* ── HERO — light with subtle gradient ───────────────────── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 120px 24px 80px;
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(160deg, #fafbff 0%, #f0f4ff 40%, #faf5ff 70%, #fff8f0 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 100%);
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; animation: orbFloat 12s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(99,102,241,0.18), transparent); top: -150px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(139,92,246,0.14), transparent); bottom: -100px; right: -80px; animation-delay: -5s; }
.orb-3 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(251,146,60,0.1), transparent); top: 30%; left: 65%; animation-delay: -8s; }
@keyframes orbFloat { 0%,100%{transform:translate(0,0)} 33%{transform:translate(25px,-18px)} 66%{transform:translate(-18px,25px)} }

.hero-content { position: relative; z-index: 2; max-width: 840px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; border: 1px solid rgba(99,102,241,0.2);
  border-radius: 999px; padding: 6px 16px; font-size: 13px; color: var(--brand);
  font-weight: 600; margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(99,102,241,0.1);
}
.badge-dot { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

.hero-title {
  font-size: clamp(42px, 6.5vw, 76px); font-weight: 900;
  line-height: 1.06; letter-spacing: -0.03em; color: var(--text);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 18px; color: var(--text-2); line-height: 1.75;
  margin-bottom: 40px; max-width: 620px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.btn-hero-primary {
  background: linear-gradient(135deg, var(--brand), #8b5cf6);
  color: white; padding: 14px 28px; border-radius: var(--r-lg);
  font-size: 15px; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px;
  box-shadow: 0 8px 28px rgba(99,102,241,0.4);
  transition: all 0.2s; letter-spacing: 0.01em;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(99,102,241,0.55); }
.btn-hero-primary.btn-large { padding: 16px 36px; font-size: 16px; }
.btn-hero-ghost {
  background: white; color: var(--text-2);
  padding: 14px 28px; border-radius: var(--r-lg); font-size: 15px; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 9px;
  border: 1.5px solid var(--border); transition: all 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.btn-hero-ghost:hover { border-color: var(--brand); color: var(--brand); box-shadow: 0 4px 16px rgba(99,102,241,0.12); }

.hero-stats { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; display: block; }
.stat-label { font-size: 12px; color: var(--text-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.stat-div { width: 1px; height: 40px; background: var(--border); }

@media (max-width: 480px) {
  .hero-stats { gap: 20px; }
  .stat-div { display: none; }
  .stat-num { font-size: 26px; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 320px; margin: 0 auto; }
  .stat { background: white; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
}

/* Hero flags */
.hero-markets {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-bottom: 32px; flex-wrap: wrap;
}
.hm-item {
  display: flex; align-items: center; gap: 8px;
  background: white; border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 14px;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.hm-item .flag { font-size: 18px; }

@media (max-width: 480px) {
  .hero-markets { gap: 10px; }
  .hm-item { font-size: 12px; padding: 5px 12px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-ghost { width: 100%; max-width: 300px; justify-content: center; }
  .hero-sub { font-size: 16px; }
  .hero-title { font-size: clamp(34px, 10vw, 52px); }
}

/* Hero Preview */
.hero-preview { position: relative; z-index: 2; margin-top: 64px; width: 100%; max-width: 720px; }
.preview-window {
  background: white; border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 32px 80px rgba(99,102,241,0.12), 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.preview-bar {
  background: #f8fafc; padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #34d399; }
.preview-url { margin-left: 12px; font-size: 11px; color: var(--text-3); font-family: monospace; }
.preview-body { display: flex; height: 220px; }
.preview-sidebar {
  width: 52px; background: #0f172a;
  display: flex; flex-direction: column; align-items: center; padding: 12px 0; gap: 16px;
}
.ps-logo { width: 28px; height: 28px; background: linear-gradient(135deg, #6366f1, #8b5cf6); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.ps-logo i { color: white; font-size: 11px; }
.ps-item { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #475569; font-size: 12px; cursor: pointer; transition: all 0.15s; }
.ps-item.active { background: rgba(99,102,241,0.2); color: #818cf8; }
.preview-main { flex: 1; padding: 16px; overflow: hidden; background: #fafbff; }
.pm-header { margin-bottom: 14px; }
.pm-title { font-size: 13px; font-weight: 700; color: #0f172a; }
.pm-sub { font-size: 10px; color: #94a3b8; margin-top: 2px; }
.pm-cards { display: flex; gap: 8px; margin-bottom: 14px; }
.pm-card { flex: 1; padding: 10px; border-radius: 8px; }
.pm-card.blue { background: #eef2ff; border: 1px solid #c7d2fe; }
.pm-card.green { background: #ecfdf5; border: 1px solid #a7f3d0; }
.pm-card.purple { background: #f5f3ff; border: 1px solid #ddd6fe; }
.pm-num { font-size: 16px; font-weight: 800; color: #0f172a; }
.pm-label { font-size: 9px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.pm-list { display: flex; flex-direction: column; gap: 6px; }
.pm-row { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #475569; }
.pm-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.pm-dot.green { background: #34d399; }
.pm-dot.yellow { background: #fbbf24; }
.pm-dot.red { background: #f87171; }
.pm-tag { margin-left: auto; font-size: 9px; background: #eef2ff; color: #6366f1; padding: 2px 6px; border-radius: 4px; white-space: nowrap; }

.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-3); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, var(--text-3)); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:0.3} 50%{opacity:1} }
/* ── MARQUEE ─────────────────────────────────────────────── */
.marquee-wrap { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); padding: 14px 0; }
.marquee-track { display: flex; gap: 32px; white-space: nowrap; animation: marquee 30s linear infinite; width: max-content; }
.marquee-track span { font-size: 12px; font-weight: 700; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; }
.marquee-track .mx { color: var(--brand); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: 96px 24px; background: var(--bg); }
.section-light { background: var(--bg-soft); }
.section-dark { background: var(--dark-bg); }
.container { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.section-dark .section-label { color: var(--brand-light); }
.section-title { font-size: clamp(30px, 4vw, 50px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--text); margin-bottom: 16px; }
.section-dark .section-title { color: var(--dark-text); }
.section-sub { font-size: 17px; color: var(--text-2); line-height: 1.7; max-width: 560px; margin-bottom: 56px; }
.section-dark .section-sub { color: var(--dark-text-2); }
.gradient-text { background: linear-gradient(135deg, #6366f1, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── FEATURES GRID ───────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }

.feat-card {
  background: var(--card-bg); border: 1.5px solid var(--card-border);
  border-radius: var(--r-xl); padding: 28px;
  transition: all 0.25s ease; position: relative; overflow: hidden;
  box-shadow: var(--card-shadow);
}
.feat-card:hover { border-color: rgba(99,102,241,0.35); transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.feat-icon { width: 44px; height: 44px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 16px; }
.feat-card h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; letter-spacing: -0.01em; }
.feat-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; margin-bottom: 16px; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.feat-tags span { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #eef2ff; color: var(--brand); border: 1px solid #c7d2fe; }

.feat-visual { background: var(--bg-soft); border-radius: var(--r); padding: 14px; border: 1px solid var(--border); }
.fv-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.fv-row:last-child { border: none; padding-bottom: 0; }
.fv-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.fv-dot.green { background: #22c55e; }
.fv-dot.yellow { background: #f59e0b; }
.fv-dot.purple { background: #8b5cf6; }
.fv-badge { margin-left: auto; font-size: 10px; background: #eef2ff; color: var(--brand); padding: 2px 8px; border-radius: 6px; white-space: nowrap; font-weight: 600; }

.feat-mini-cal { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.fmc-day { width: 36px; height: 36px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--text-3); background: var(--bg-soft); border: 1px solid var(--border); position: relative; }
.fmc-day.active { background: var(--brand); color: white; border-color: var(--brand); box-shadow: 0 4px 12px rgba(99,102,241,0.35); }
.fmc-day.dot::after { content:''; position:absolute; bottom:4px; width:4px; height:4px; background: #22c55e; border-radius: 50%; }

.feat-bill { background: var(--bg-soft); border-radius: var(--r); padding: 14px; border: 1px solid var(--border); margin-top: 16px; }
.fb-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); padding: 6px 0; border-bottom: 1px solid var(--border); }
.fb-row:last-child { border: none; }
.fb-row.total { color: var(--text); font-weight: 700; font-size: 14px; }

.feat-pipeline { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.fp-step { font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 6px; background: var(--bg-soft); color: var(--text-3); border: 1px solid var(--border); white-space: nowrap; }
.fp-step.active { background: #fff7ed; color: #ea580c; border-color: #fed7aa; }
.fp-arrow { color: var(--text-3); font-size: 12px; }

.feat-workflow { display: flex; flex-direction: column; gap: 0; margin-top: 20px; }
.fw-node { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 12px; font-weight: 600; border: 1px solid var(--border); }
.fw-node.trigger { background: #fffbeb; color: #d97706; border-color: #fde68a; }
.fw-node.action  { background: #eef2ff; color: var(--brand); border-color: #c7d2fe; }
.fw-node.notify  { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }
.fw-node.wait    { background: #fff7ed; color: #ea580c; border-color: #fed7aa; }
.fw-line { width: 1px; height: 12px; background: var(--border); margin-left: 20px; }

/* ── AI GRID (dark section) ──────────────────────────────── */
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ai-grid { grid-template-columns: 1fr; } }

.ai-card {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: var(--r-xl); padding: 28px; position: relative; overflow: hidden;
  transition: all 0.25s;
}
.ai-card:hover { border-color: rgba(99,102,241,0.4); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.ai-card-featured { border-color: rgba(239,68,68,0.3); background: rgba(239,68,68,0.06); }
.ai-card-featured:hover { border-color: rgba(239,68,68,0.5); }
.ai-number { font-size: 11px; font-weight: 800; color: var(--dark-text-3); letter-spacing: 0.1em; margin-bottom: 14px; }
.ai-icon { font-size: 28px; color: var(--brand-light); margin-bottom: 14px; }
.ai-card h3 { font-size: 16px; font-weight: 700; color: var(--dark-text); margin-bottom: 10px; }
.ai-card p { font-size: 13px; color: var(--dark-text-2); line-height: 1.65; }
.ai-demo { margin-top: 16px; }
.ai-query { background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.25); border-radius: 8px; padding: 10px 12px; font-size: 12px; color: #a5b4fc; font-style: italic; margin-bottom: 10px; }
.ai-result { display: flex; flex-direction: column; gap: 6px; }
.air-item { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; color: var(--dark-text-2); }
.air-court { background: rgba(99,102,241,0.2); color: var(--brand-light); padding: 1px 6px; border-radius: 4px; font-size: 10px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.ai-sim-preview { margin-top: 16px; background: rgba(0,0,0,0.25); border-radius: 12px; padding: 14px; text-align: center; }
.asp-judge { font-size: 32px; margin-bottom: 8px; }
.asp-speech { font-size: 11px; color: var(--dark-text-2); font-style: italic; line-height: 1.5; }
.ai-meter { margin-top: 16px; }
.am-label { font-size: 11px; color: var(--dark-text-3); margin-bottom: 6px; }
.am-bar { height: 6px; background: rgba(255,255,255,0.1); border-radius: 999px; overflow: hidden; margin-bottom: 4px; }
.am-fill { height: 100%; background: linear-gradient(90deg, var(--brand-light), #c084fc); border-radius: 999px; }
.am-val { font-size: 20px; font-weight: 800; color: var(--brand-light); }
.ai-langs { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.ai-langs span { width: 32px; height: 32px; border-radius: 8px; background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.25); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--brand-light); }

/* ── PARALLAX ────────────────────────────────────────────── */
.parallax-section { position: relative; overflow: hidden; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.parallax-bg { position: absolute; inset: -100px; background-size: cover; background-position: center; will-change: transform; }
#pbg1 { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%); }
#pbg2 { background: linear-gradient(135deg, #0f172a 0%, #0c1a2e 50%, #0f172a 100%); }
.parallax-content { position: relative; z-index: 2; text-align: center; padding: 80px 24px; max-width: 800px; }
.pq-icon { font-size: 40px; color: var(--brand-light); margin-bottom: 24px; opacity: 0.7; }
.parallax-content blockquote { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3.5vw, 38px); font-weight: 700; color: #f1f5f9; line-height: 1.3; margin-bottom: 16px; }
.parallax-content blockquote em { font-style: italic; color: #c084fc; }
.pq-sub { font-size: 15px; color: #94a3b8; }
.metrics-row { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.metric-item { text-align: center; }
.metric-num { font-size: clamp(40px, 6vw, 64px); font-weight: 900; letter-spacing: -0.03em; background: linear-gradient(135deg, #818cf8, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.metric-label { font-size: 13px; color: #94a3b8; margin-top: 4px; }
.metric-div { width: 1px; height: 60px; background: rgba(255,255,255,0.1); }

/* ── INTEGRATIONS (light section) ───────────────────────── */
.integrations-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1024px) { .integrations-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .integrations-grid { grid-template-columns: repeat(3, 1fr); } }
.int-card {
  background: var(--card-bg); border: 1.5px solid var(--card-border); border-radius: var(--r-lg);
  padding: 20px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: all 0.2s; box-shadow: var(--card-shadow);
}
.int-card:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }
.int-card i { font-size: 24px; color: var(--text-3); }
.int-card span { font-size: 11px; font-weight: 600; color: var(--text-3); text-align: center; }

/* ── MARKET (light section) ──────────────────────────────── */
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
@media (max-width: 900px) { .market-grid { grid-template-columns: repeat(2, 1fr); } }
.market-card {
  background: var(--card-bg); border: 1.5px solid var(--card-border);
  border-radius: var(--r-xl); padding: 32px 24px; text-align: center;
  transition: all 0.2s; box-shadow: var(--card-shadow);
}
.market-card:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.market-num { font-size: clamp(26px, 3.5vw, 40px); font-weight: 900; letter-spacing: -0.03em; background: linear-gradient(135deg, var(--brand), #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 8px; }
.market-label { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.market-sub { font-size: 12px; color: var(--text-3); }
.market-insight {
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  border: 1.5px solid #c7d2fe; border-radius: var(--r-xl);
  padding: 28px 32px; display: flex; gap: 20px; align-items: flex-start;
}
.mi-icon { font-size: 24px; color: #f59e0b; flex-shrink: 0; margin-top: 2px; }
.mi-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.mi-text { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ── MARKETS SERVED (new section) ───────────────────────── */
.markets-served { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
@media (max-width: 640px) { .markets-served { grid-template-columns: 1fr; } }
.ms-card {
  border-radius: var(--r-xl); padding: 36px 32px; position: relative; overflow: hidden;
  border: 1.5px solid var(--card-border); box-shadow: var(--card-shadow);
  transition: all 0.25s;
}
.ms-card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.ms-card.india { background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%); border-color: #fde68a; }
.ms-card.usa   { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border-color: #bfdbfe; }
.ms-flag { font-size: 48px; margin-bottom: 16px; display: block; }
.ms-title { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 8px; letter-spacing: -0.02em; }
.ms-sub { font-size: 14px; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; }
.ms-points { display: flex; flex-direction: column; gap: 8px; }
.ms-point { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.ms-point i { color: var(--brand); font-size: 12px; margin-top: 3px; flex-shrink: 0; }
.ms-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  margin-bottom: 16px;
}
.ms-badge.india-badge { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.ms-badge.usa-badge   { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

/* ── FUNDING (light section) ─────────────────────────────── */
.funding-wrap {
  background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 100%);
  border: 1.5px solid #c7d2fe;
  border-radius: 28px; padding: 64px; text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 40px rgba(99,102,241,0.08);
}
.funding-wrap::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.06), transparent);
  pointer-events: none;
}
.funding-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: 999px; padding: 6px 16px; font-size: 12px; color: #16a34a;
  font-weight: 700; margin-bottom: 24px; letter-spacing: 0.04em;
}
.funding-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-bottom: 16px; line-height: 1.15; }
.funding-sub { font-size: 16px; color: var(--text-2); line-height: 1.7; max-width: 640px; margin: 0 auto 48px; }

.funding-phases { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.fp-card {
  background: white; border: 1.5px solid var(--card-border);
  border-radius: var(--r-xl); padding: 28px 24px; text-align: center; min-width: 200px;
  transition: all 0.2s; box-shadow: var(--card-shadow);
}
.fp-card:hover { border-color: rgba(99,102,241,0.35); transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }
.fp-phase { font-size: 11px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.fp-amount { font-size: 28px; font-weight: 900; color: var(--text); letter-spacing: -0.02em; margin-bottom: 4px; }
.fp-goal { font-size: 14px; font-weight: 700; color: var(--brand); margin-bottom: 8px; }
.fp-detail { font-size: 12px; color: var(--text-3); line-height: 1.5; margin-bottom: 14px; }
.fp-status { font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--bg-muted); color: var(--text-3); display: inline-block; }
.fp-status.active { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; animation: pulse 2s infinite; }
.fp-arrow-big { font-size: 24px; color: var(--text-3); }

@media (max-width: 700px) {
  .funding-wrap { padding: 36px 20px; }
  .funding-phases { flex-direction: column; align-items: stretch; gap: 0; }
  .fp-card { min-width: unset; width: 100%; border-radius: var(--r-lg); }
  /* Connect cards with a vertical line instead of arrow */
  .fp-arrow-big { font-size: 18px; text-align: center; transform: rotate(90deg); margin: 4px auto; display: block; }
  .funding-contact { padding: 24px 20px; }
  .fc-details { flex-direction: column; gap: 10px; }
  .fc-item { justify-content: flex-start; }
}

.funding-contact {
  background: white; border: 1.5px solid var(--card-border);
  border-radius: var(--r-xl); padding: 36px;
  box-shadow: var(--card-shadow);
}
.fc-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 24px; }
.fc-details { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.fc-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-soft); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 12px 20px; text-decoration: none;
  color: var(--text-2); font-size: 14px; font-weight: 500; transition: all 0.15s;
}
.fc-item:hover { background: #eef2ff; border-color: #c7d2fe; color: var(--brand); }
.fc-item i { font-size: 16px; color: var(--brand); }
.fc-note { font-size: 13px; color: var(--text-3); display: flex; align-items: center; justify-content: center; gap: 8px; }
.fc-note i { color: #ef4444; }

/* ── CTA SECTION (dark) ──────────────────────────────────── */
.cta-section {
  padding: 120px 24px; text-align: center; position: relative; overflow: hidden;
  background: var(--dark-bg);
}
.cta-orb-1 { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(99,102,241,0.2), transparent); border-radius: 50%; top: -200px; left: 50%; transform: translateX(-50%); filter: blur(80px); }
.cta-orb-2 { position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(139,92,246,0.15), transparent); border-radius: 50%; bottom: -100px; right: 20%; filter: blur(60px); }
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 16px; color: #f1f5f9; }
.cta-content p { font-size: 18px; color: #94a3b8; margin-bottom: 36px; }

/* ── FOOTER (dark) ───────────────────────────────────────── */
.footer { background: #0f172a; border-top: 1px solid rgba(255,255,255,0.06); padding: 64px 24px 32px; }
.footer-top { display: flex; gap: 64px; flex-wrap: wrap; margin-bottom: 48px; }
.footer-brand { max-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 18px; font-weight: 800; color: #f1f5f9; }
.footer-brand p { font-size: 13px; color: #64748b; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 14px; text-decoration: none; transition: all 0.15s; }
.footer-socials a:hover { background: rgba(99,102,241,0.2); color: var(--brand-light); border-color: rgba(99,102,241,0.3); }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; flex: 1; }
.fl-col { display: flex; flex-direction: column; gap: 10px; }
.fl-title { font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.fl-col a { font-size: 13.5px; color: #64748b; text-decoration: none; transition: color 0.15s; }
.fl-col a:hover { color: #f1f5f9; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 12px; color: #475569; }

/* ── AOS ─────────────────────────────────────────────────── */
[data-aos] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="fade-right"] { transform: translateX(-20px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(20px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="fade-down"] { transform: translateY(-20px); }
[data-aos="fade-down"].aos-animate { transform: translateY(0); }
