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

:root {
  --primary: #1a73e8;
  --primary-hover: #1557b0;
  --primary-light: #e8f0fe;
  --text: #1a1a1a;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --bg: #ffffff;
  --bg-warm: #f8f9fa;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --success: #00c9a7;
  --error: #ef4444;
  --inverted-bg: #0f1419;
  --inverted-text: #ffffff;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

/* ── Dark mode (class-based toggle) ── */
html.dark {
  --primary: #4a9eff;
  --primary-hover: #3b8de6;
  --primary-light: #0f1a2e;
  --text: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --bg: #09090b;
  --bg-warm: #111113;
  --bg-card: #111113;
  --border: #27272a;
  --border-light: #1e1e22;
  --success: #34d399;
  --error: #f87171;
  --inverted-bg: #fafafa;
  --inverted-text: #09090b;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(26,115,232,0.12), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(109,92,231,0.08), transparent),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(0,201,167,0.05), transparent),
    #ffffff;
  pointer-events: none;
}
::selection { background: var(--primary); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── Layout ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
@media (max-width: 768px) { .section { padding: 48px 0; } }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.025em; color: var(--text); }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }

/* ── Section Label ── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: var(--radius-full);
  transition: all 0.2s ease;
}
.btn-primary { background: var(--inverted-bg); color: var(--inverted-text); }
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-blue { background: var(--primary); color: #fff; }
.btn-blue:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--inverted-bg); background: var(--inverted-bg); color: var(--inverted-text); }
.btn-white { background: var(--inverted-text); color: var(--inverted-bg); }
.btn-white:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-ghost { color: var(--text-secondary); font-size: 14px; font-weight: 500; padding: 14px 16px; }
.btn-ghost:hover { color: var(--text); }
.btn svg { width: 16px; height: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* Shake animation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10% { transform: translateX(-4px) rotate(-1deg); }
  20% { transform: translateX(4px) rotate(1deg); }
  30% { transform: translateX(-4px) rotate(-0.5deg); }
  40% { transform: translateX(4px) rotate(0.5deg); }
  50% { transform: translateX(-2px); }
  60% { transform: translateX(2px); }
  70% { transform: translateX(0); }
}
.btn-shake { animation: shake 0.6s ease-in-out 3s both; }
.btn-shake:hover { animation: none; }

/* ── Floating Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 16px 0;
  transition: transform 0.5s ease;
}
.navbar.hidden { transform: translateY(-100%); }
.navbar-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 48px; padding: 0 20px;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid transparent;
  transition: all 0.4s ease;
}
.navbar.scrolled .navbar-inner {
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-logo { font-weight: 800; font-size: 15px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { font-size: 13px; color: var(--text-secondary); padding: 6px 12px; border-radius: var(--radius-full); transition: all 0.2s; }
.nav-links a:hover { color: var(--text); background: var(--border-light); }
.nav-cta { font-size: 12px; font-weight: 600; padding: 6px 16px; border-radius: var(--radius-full); background: var(--inverted-bg); color: var(--inverted-text); transition: opacity 0.2s; }
.nav-cta:hover { opacity: 0.88; }

/* Theme toggle */
.theme-toggle {
  width: 32px; height: 32px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.theme-toggle:hover { background: var(--border-light); }
.theme-toggle svg { width: 16px; height: 16px; color: var(--text-muted); }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
html.dark .theme-toggle .icon-moon { display: none; }
html.dark .theme-toggle .icon-sun { display: block; }

/* Hamburger */
.hamburger { display: none; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: var(--radius-full); }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; transition: 0.3s; }
.hamburger span::before, .hamburger span::after { content:''; position: absolute; width: 18px; height: 2px; background: var(--text); transition: 0.3s; }
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--bg-card);
  z-index: 200; transform: translateX(100%); transition: transform 0.3s ease;
  padding: 80px 24px 24px; box-shadow: -4px 0 30px rgba(0,0,0,0.1);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a { display: block; padding: 12px 0; font-size: 15px; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--border-light); }
.mobile-drawer .btn { width: 100%; justify-content: center; margin-top: 16px; }
.drawer-close { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); }
.drawer-close:hover { background: var(--border-light); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 199; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.drawer-overlay.open { opacity: 1; pointer-events: all; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ── Hero ── */
.hero {
  padding: 140px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) { .hero { padding: 120px 0 32px; } }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none;
  animation: orb-float 8s ease-in-out infinite;
}
.hero-orb-1 { width: 500px; height: 500px; background: rgba(26,115,232,0.06); top: 20%; left: 50%; transform: translateX(-50%); }
.hero-orb-2 { width: 300px; height: 300px; background: rgba(109,92,231,0.04); top: 40%; left: 20%; animation-delay: -3s; }
@keyframes orb-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.05); }
  66% { transform: translate(-20px,15px) scale(0.95); }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: var(--radius-full);
  padding: 6px 16px; margin-bottom: 32px;
  font-size: 13px; color: var(--text-secondary); font-weight: 500;
  animation: fade-up 0.6s ease both;
}
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); position: relative; }
.hero-dot::before { content:''; position: absolute; inset: -3px; border-radius: 50%; background: var(--success); opacity: 0.4; animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite; }
@keyframes ping { 75%,100% { transform: scale(2); opacity: 0; } }
.hero h1 { margin-bottom: 20px; animation: fade-up 0.6s ease 0.1s both; }
.hero-sub { font-size: clamp(16px, 2.5vw, 18px); color: var(--text-secondary); max-width: 520px; margin: 0 auto 36px; line-height: 1.6; animation: fade-up 0.6s ease 0.2s both; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; animation: fade-up 0.6s ease 0.3s both; }
.hero-trust { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 13px; color: var(--text-muted); animation: fade-up 0.6s ease 0.4s both; }
.hero-trust svg { width: 14px; height: 14px; color: var(--success); }
@keyframes fade-up { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

/* Hero Mockup + Slider */
.hero-mockup {
  max-width: 920px; margin: 0 auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
  animation: fade-up 0.8s ease 0.5s both;
}
@media (max-width: 640px) {
  .hero-mockup { border-radius: 10px; }
}
.hero-slider { position: relative; }
.hero-slide {
  width: 100%; display: block;
  opacity: 0; transition: opacity 0.7s ease;
  position: absolute; top: 0; left: 0;
}
.hero-slide:first-child { position: relative; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-dots {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 16px;
}
.hero-dot-btn {
  height: 6px; border-radius: 9999px;
  width: 6px; background: var(--text); opacity: 0.15;
  transition: all 0.3s ease; cursor: pointer;
}
.hero-dot-btn.active { width: 24px; opacity: 0.6; }
.hero-controls {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px;
  position: relative; z-index: 5;
}
.hero-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.hero-arrow:hover { border-color: var(--text); background: var(--text); }
.hero-arrow svg { width: 16px; height: 16px; color: var(--text); }
.hero-arrow:hover svg { color: var(--bg); }
.mockup-chrome {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-warm); padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 8px; height: 8px; border-radius: 50%; }
.mockup-dots span:nth-child(1) { background: #FF5F57; opacity: 0.7; }
.mockup-dots span:nth-child(2) { background: #FEBC2E; opacity: 0.7; }
.mockup-dots span:nth-child(3) { background: #28C840; opacity: 0.7; }
.mockup-url { flex: 1; background: var(--bg-card); border-radius: 6px; padding: 4px 12px; margin-left: 8px; font-size: 10px; color: var(--text-muted); }
.mockup-body { background: var(--bg-card); padding: 24px; min-height: 260px; }

/* Mockup Dashboard CSS-only */
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.mock-stat { background: var(--bg-warm); border-radius: 10px; padding: 12px; text-align: center; }
.mock-stat-num { font-size: 22px; font-weight: 700; line-height: 1; }
.mock-stat-num.green { color: #10b981; }
.mock-stat-num.amber { color: #f59e0b; }
.mock-stat-num.red { color: #ef4444; }
.mock-stat-label { font-size: 9px; color: var(--text-muted); margin-top: 4px; }
.mock-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.mock-bar { flex: 1; border-radius: 4px 4px 0 0; background: rgba(26,115,232,0.15); transition: 0.3s; }
.mock-bar.active { background: var(--primary); }
.mock-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mock-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; }
.mock-icon svg { width: 16px; height: 16px; color: var(--primary); }
.mock-title { font-size: 12px; font-weight: 600; }
.mock-date { font-size: 10px; color: var(--text-muted); }
.hero-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 120px; background: linear-gradient(to top, var(--bg), transparent); pointer-events: none; }

/* ── Problem Section ── */
.problem { background: var(--bg-warm); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.problem-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.problem-card:hover { border-color: var(--error); transform: translateY(-2px); }
.problem-icon { font-size: 28px; margin-bottom: 12px; }
.problem-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.problem-transition { text-align: center; font-size: 18px; font-weight: 600; color: var(--primary); }
@media (max-width: 768px) { .problem-grid { grid-template-columns: 1fr; } }

/* ── Works Everywhere — horizontal numbered row ── */
.teams-row {
  display: flex; align-items: stretch; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-card); overflow: hidden;
}
.team-item { flex: 1; padding: 32px 28px; }
.team-divider { width: 1px; background: var(--border); flex-shrink: 0; }
.team-num {
  font-size: 40px; font-weight: 800; letter-spacing: -0.04em;
  color: var(--text); line-height: 1; margin-bottom: 16px; opacity: 0.12;
  transition: color 0.3s;
}
.team-item:hover .team-num { color: var(--primary); opacity: 1; }
.team-content h3 { font-size: 16px; margin-bottom: 6px; }
.team-content p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
@media (max-width: 768px) {
  .teams-row { flex-direction: column; }
  .team-divider { width: auto; height: 1px; }
  .team-num { font-size: 32px; }
}

/* ── Features ── */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 769px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; background: var(--bg-card);
  transition: all 0.2s ease; cursor: default;
}
.feature-card:hover { background: var(--inverted-bg); color: var(--inverted-text); border-color: var(--inverted-bg); transform: scale(1.03); }
.feature-card svg { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; transition: color 0.2s; }
.feature-card:hover svg { color: color-mix(in srgb, var(--inverted-text) 60%, transparent); }
.feature-card span { font-size: 13px; font-weight: 500; transition: color 0.2s; }
.feature-card:hover span { color: var(--inverted-text); }
.feature-addon {
  border-style: dashed; border-color: rgba(26,115,232,0.3);
}
.feature-addon span { color: rgba(26,115,232,0.8); }
.feature-addon svg { color: rgba(26,115,232,0.4); }
.feature-addon:hover { background: var(--primary); border-color: var(--primary); border-style: solid; }
.feature-addon:hover span, .feature-addon:hover svg { color: var(--inverted-text); }
.addon-tag { font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.5; margin-left: auto; }
.feature-card:hover .addon-tag { opacity: 0.7; color: var(--inverted-text); }

/* ── Why Simpler ── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; background: var(--bg-card); }
.why-before { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.why-x { width: 16px; height: 16px; border-radius: 50%; background: rgba(239,68,68,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-x svg { width: 10px; height: 10px; color: var(--error); }
.why-before span { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.why-after { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.why-check { width: 16px; height: 16px; border-radius: 50%; background: rgba(0,201,167,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-check svg { width: 10px; height: 10px; color: var(--success); }
.why-after span { font-size: 13px; font-weight: 500; color: var(--text); }
.why-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.why-card:hover { border-color: rgba(26,115,232,0.2); }
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }

/* ── How It Works — vertical timeline ── */
.timeline { position: relative; max-width: 560px; margin: 0 auto; }
.timeline-line {
  position: absolute; left: 20px; top: 0; bottom: 0; width: 1px;
  background: var(--border);
}
.timeline-step {
  display: flex; gap: 24px; padding-bottom: 40px; position: relative;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
  transition: all 0.3s ease;
}
.timeline-dot svg { width: 16px; height: 16px; color: var(--text-muted); transition: color 0.3s; }
.timeline-step:hover .timeline-dot { border-color: var(--primary); background: var(--primary-light); }
.timeline-step:hover .timeline-dot svg { color: var(--primary); }
.timeline-dot-active { border-color: var(--primary); background: var(--primary-light); }
.timeline-dot-active svg { color: var(--primary) !important; }
.timeline-body { padding-top: 6px; }
.timeline-num {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--primary); margin-bottom: 4px;
}
.timeline-body h3 { font-size: 17px; margin-bottom: 6px; }
.timeline-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
@media (max-width: 480px) {
  .timeline-step { gap: 16px; }
}

/* ── Logo Cloud ── */
.logo-cloud { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.logo-cloud-item { height: 52px; opacity: 0.85; transition: opacity 0.2s; }
.logo-cloud-item:hover { opacity: 1; }
.logo-cloud-item-shadow { filter: drop-shadow(0 0 1px rgba(0,0,0,0.35)); }
.logo-cloud-item-shadow:hover { filter: drop-shadow(0 0 1px rgba(0,0,0,0.35)); }
.logo-cloud-text {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 17px; font-weight: 800; letter-spacing: 0.04em; color: #1a1a1a;
  opacity: 0.85; transition: opacity 0.2s; white-space: nowrap; line-height: 52px;
  text-transform: uppercase;
}
.logo-cloud-text .lt-accent { color: #1a73e8; }
.logo-cloud-text .lt-sub { font-size: 10px; font-weight: 500; letter-spacing: 0.08em; opacity: 0.6; text-transform: uppercase; }
.logo-cloud-text:hover { opacity: 1; }
@media (max-width: 768px) { .logo-cloud { gap: 32px; } .logo-cloud-item { height: 40px; } .logo-cloud-text { font-size: 15px; line-height: 40px; } }

/* ── Reviews ── */
.reviews-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 768px) { .reviews-row { grid-template-columns: 1fr; } }
.review-card-featured {
  position: relative; overflow: hidden;
  border: 1px solid var(--border); border-radius: 20px;
  padding: 32px 28px 32px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  width: 100%; min-height: 240px;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.review-card-featured:hover {
  border-color: rgba(26,115,232,0.25);
  box-shadow: 0 8px 32px rgba(26,115,232,0.08);
}
.review-card-featured .review-founder-img { display: none; }
.review-card-featured .review-quote {
  font-size: 15px; color: var(--text); line-height: 1.7;
  flex: 1; margin-bottom: 24px; position: relative; z-index: 1;
}
.review-card-featured .review-quote::before {
  content: "\201C"; font-size: 48px; font-weight: 800; color: rgba(26,115,232,0.15);
  position: absolute; top: -18px; left: -4px; line-height: 1;
}
.review-card-featured .review-footer {
  display: flex; align-items: center; gap: 12px;
  position: relative; z-index: 1;
}
.review-card-featured .review-avatar-img {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 15%;
  border: 2px solid rgba(26,115,232,0.15); background: #f3f4f6;
}
.review-card-featured .review-avatar-initials {
  width: 64px; height: 64px; border-radius: 50%; background: #1a73e8; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; letter-spacing: 0.04em; flex-shrink: 0;
  border: 2px solid rgba(26,115,232,0.15);
}
.review-card-featured .review-name { font-size: 14px; font-weight: 700; }
.review-card-featured .review-role { font-size: 12px; color: var(--text-muted); }
.review-card-featured .review-company { font-size: 11px; font-weight: 600; color: #1a73e8; text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 768px) {
  .review-card-featured { max-width: 100%; }
  .review-card-featured .review-founder-img { width: 110px; }
}

/* ── Founder — modern split layout ── */
.founder-modern {
  display: grid; grid-template-columns: 240px 1fr; gap: 48px;
  align-items: start;
}
.founder-left { text-align: center; }
.founder-avatar-lg {
  width: 96px; height: 96px; border-radius: 50%;
  margin: 16px auto 12px;
}
.founder-name-lg { font-size: 15px; font-weight: 700; color: var(--text); }
.founder-title-lg { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.founder-right { position: relative; }
.founder-quote-mark { width: 28px; height: 28px; color: var(--border); margin-bottom: 12px; }
.founder-right p {
  font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 12px;
}
.founder-right p:last-child { margin-bottom: 0; font-weight: 500; color: var(--text); }
@media (max-width: 768px) {
  .founder-modern { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .founder-right { text-align: left; }
}

/* ── Founder — always dark card (legacy, kept for dark mode) ── */
.founder { background: var(--bg-warm); }
.founder-card {
  background: #0f1419; color: #fff; border-radius: var(--radius-lg);
  padding: 32px; position: relative; overflow: hidden;
}
.founder-card::before { content:''; position: absolute; top: 0; right: 0; width: 200px; height: 200px; background: rgba(26,115,232,0.1); border-radius: 50%; filter: blur(60px); pointer-events: none; }
.founder-quote-icon { color: rgba(255,255,255,0.1); margin-bottom: 16px; }
.founder-quote-icon svg { width: 24px; height: 24px; }
.founder-text { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.85); margin-bottom: 24px; position: relative; }
.founder-meta { display: flex; align-items: center; gap: 12px; position: relative; }
.founder-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; }
.founder-name { font-size: 13px; font-weight: 600; color: #fff; }
.founder-title { font-size: 11px; color: rgba(255,255,255,0.5); }
html.dark .founder-card { background: #fafafa; color: #0f1419; }
html.dark .founder-text { color: rgba(15,20,25,0.8); }
html.dark .founder-quote-icon { color: rgba(15,20,25,0.08); }
html.dark .founder-name { color: #0f1419; }
html.dark .founder-title { color: rgba(15,20,25,0.5); }
html.dark .founder-avatar { color: #fff; }

/* ── Pricing ── */
.pricing { background: var(--bg-warm); }
.pricing-card {
  max-width: 600px; margin: 0 auto;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px; text-align: center;
}
.pricing-badge { display: inline-block; font-size: 11px; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 4px 12px; border-radius: var(--radius-full); margin-bottom: 16px; }
.pricing-card h3 { font-size: 20px; margin-bottom: 8px; }
.pricing-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }
.pricing-ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.pricing-note { font-size: 12px; color: var(--text-muted); margin-top: 16px; }

/* ── FAQ ── */
.faq-list { max-width: 680px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-size: 15px; font-weight: 500; color: var(--text);
  cursor: pointer; width: 100%; text-align: left;
}
.faq-icon {
  width: 20px; height: 20px; flex-shrink: 0; color: var(--text-muted);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.6; padding-right: 40px; }

/* ── Final CTA — always dark bg ── */
.final-cta {
  background: #0f1419;
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.final-cta::before { content:''; position: absolute; top: 0; right: 0; width: 300px; height: 300px; background: rgba(26,115,232,0.15); border-radius: 50%; filter: blur(100px); pointer-events: none; }
.final-cta::after { content:''; position: absolute; bottom: 0; left: 0; width: 200px; height: 200px; background: rgba(109,92,231,0.1); border-radius: 50%; filter: blur(80px); pointer-events: none; }
.final-cta h2 { color: #fff; margin-bottom: 12px; position: relative; }
.final-cta p { color: rgba(255,255,255,0.6); font-size: 15px; margin-bottom: 28px; position: relative; }
.final-cta .btn { background: #fff; color: #0f1419; position: relative; }
.final-cta .btn:hover { opacity: 0.92; }
.final-trust { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; font-size: 12px; color: rgba(255,255,255,0.4); position: relative; flex-wrap: wrap; }
html.dark .final-cta { background: #fafafa; color: #0f1419; }
html.dark .final-cta h2 { color: #0f1419; }
html.dark .final-cta p { color: rgba(15,20,25,0.6); }
html.dark .final-cta .btn { background: #0f1419; color: #fff; }
html.dark .final-trust span { color: rgba(15,20,25,0.4); }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card); border-radius: var(--radius-lg); width: 100%; max-width: 480px;
  max-height: 90vh; overflow-y: auto; position: relative;
  transform: translateY(16px) scale(0.97); transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full); z-index: 10;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--border-light); }
.modal-close svg { width: 16px; height: 16px; color: var(--text-muted); }
.modal-body { padding: 32px; }
.modal-header { text-align: center; margin-bottom: 24px; }
.modal-icon { width: 44px; height: 44px; border-radius: var(--radius); background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.modal-icon svg { width: 20px; height: 20px; color: var(--primary); }
.modal-header h3 { font-size: 18px; margin-bottom: 4px; }
.modal-header p { font-size: 13px; color: var(--text-secondary); }

/* Form */
.form-group { margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; color: var(--text); }
.form-input, .form-select, .form-textarea {
  width: 100%; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 14px; font-size: 14px; font-family: inherit;
  background: var(--bg-warm); color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 60px; }
.form-submit {
  width: 100%; padding: 14px; border-radius: var(--radius-full);
  background: var(--inverted-bg); color: var(--inverted-text); font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity 0.2s; margin-top: 4px;
}
.form-submit:hover { opacity: 0.88; }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.form-note { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 12px; }
.form-error { font-size: 12px; color: var(--error); margin-top: 4px; display: none; }

/* Spinner */
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Success State */
.form-success { text-align: center; padding: 40px 32px; }
.form-success-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(0,201,167,0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.form-success-icon svg { width: 28px; height: 28px; color: var(--success); }
.form-success h3 { font-size: 18px; margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--text-secondary); margin-bottom: 4px; }

/* ── Footer ── */
.footer { background: #0f1419; color: rgba(255,255,255,0.6); padding: 48px 0 32px; }
@media (max-width: 768px) { .footer { padding-bottom: 80px; } }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-brand p { font-size: 13px; line-height: 1.6; margin-top: 12px; max-width: 220px; }
.footer-logo { font-size: 15px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 8px; }
.footer-logo img { height: 28px; width: auto; }
.footer-col h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; font-size: 12px; flex-wrap: wrap; gap: 8px; }
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

/* ── Mobile Sticky CTA ── */
.mobile-sticky {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border); padding: 12px 16px;
  transform: translateY(100%); transition: transform 0.3s ease;
}
.mobile-sticky.visible { transform: translateY(0); }
.mobile-sticky button { width: 100%; }
@media (min-width: 769px) { .mobile-sticky { display: none; } }

/* ── Exit Intent Modal ── */
.exit-modal {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.exit-modal.open { opacity: 1; pointer-events: all; }
.exit-modal-card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 40px;
  max-width: 420px; width: 100%; text-align: center; position: relative;
  transform: translateY(16px); transition: transform 0.3s;
}
.exit-modal.open .exit-modal-card { transform: translateY(0); }
.exit-modal h3 { font-size: 20px; margin-bottom: 8px; }
.exit-modal p { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }

/* ── Centered floating CTA pill ── */
.float-cta {
  position: fixed; bottom: 24px; right: 24px;
  transform: translateY(80px);
  z-index: 85;
  background: var(--inverted-bg); color: var(--inverted-text);
  height: 44px; border-radius: var(--radius-full);
  display: flex; align-items: center; gap: 0;
  padding: 0 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  overflow: hidden; white-space: nowrap;
}
.float-cta.visible { transform: translateY(0); }
.float-cta:hover { box-shadow: 0 6px 32px rgba(0,0,0,0.18); }
.float-cta-icon { width: 16px; height: 16px; flex-shrink: 0; }
.float-cta-text {
  font-size: 13px; font-weight: 600;
  max-width: 0; opacity: 0; overflow: hidden;
  transition: max-width 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease, padding 0.4s ease;
  padding: 0;
}
.float-cta.expanded .float-cta-text {
  max-width: 400px; opacity: 1;
  padding: 0 10px;
}
.float-cta-arrow {
  width: 14px; height: 14px; flex-shrink: 0;
  opacity: 0; max-width: 0; overflow: hidden;
  transition: max-width 0.4s ease, opacity 0.3s ease;
}
.float-cta.expanded .float-cta-arrow {
  max-width: 20px; opacity: 0.6;
}
@media (max-width: 768px) { .float-cta { display: none; } }


/* ── Reviews Grid (legacy, kept for compat) ── */

/* ── Pricing Table ── */
.pricing-toggle { display: inline-flex; gap: 4px; border: 1px solid var(--border); border-radius: var(--radius-full); padding: 4px; background: var(--bg-card); }
.pricing-toggle-btn { padding: 8px 20px; border-radius: var(--radius-full); font-size: 13px; font-weight: 500; color: var(--text-muted); transition: all 0.2s; cursor: pointer; }
.pricing-toggle-btn.active { background: var(--inverted-bg); color: var(--inverted-text); }
.pricing-table {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--bg-card);
}
.pt-row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.pt-row:last-child { border-bottom: none; }
.pt-cell { padding: 12px 16px; font-size: 13px; text-align: center; }
.pt-feature-label { text-align: left; color: var(--text); font-weight: 500; }
.pt-header .pt-cell { padding: 24px 16px; }
.pt-plan-head {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  position: relative;
}
.pt-plan-name { font-size: 14px; font-weight: 700; color: var(--text); }
.pt-plan-original { font-size: 14px; color: var(--text-muted); text-decoration: line-through; margin-top: 4px; display: none; }
.pt-plan-original.show { display: block; }
.pt-plan-price { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-top: 4px; }
.pt-plan-per { font-size: 12px; color: var(--text-muted); }
.pt-plan-gst { font-size: 10px; color: var(--text-muted); margin-top: 4px; }
.pt-plan-popular { background: var(--primary-light); }
.pt-popular-tag {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  background: var(--primary); color: #fff; padding: 3px 10px; border-radius: 0 0 8px 8px;
}
.pt-col-pop { background: var(--primary-light); }
.pt-check { color: var(--success); font-size: 15px; font-weight: 600; }
.pt-dash { color: var(--border); font-size: 14px; }
.pt-soon { color: var(--text-muted); font-size: 11px; font-weight: 500; }
@media (max-width: 768px) {
  .pt-row { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .pt-cell { padding: 10px 4px; font-size: 10px; text-align: center; }
  .pt-feature-label { text-align: left; font-size: 10px; padding-left: 8px; }
  .pt-plan-name { font-size: 11px; }
  .pt-plan-price { font-size: 16px; }
  .pt-plan-per { font-size: 9px; }
  .pt-plan-gst { font-size: 7px; line-height: 1.3; }
  .pt-plan-original { font-size: 10px; }
  .pt-header .pt-cell { padding: 16px 4px; }
  .pt-popular-tag { font-size: 7px; padding: 2px 6px; }
}

/* ── Scroll to Top ── */
.scroll-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 80;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: all 0.3s ease;
}
.scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { border-color: var(--primary); }
.scroll-top svg { width: 16px; height: 16px; color: var(--text-muted); }


/* ── Dark mode overrides ── */
html.dark .nav-logo img { filter: brightness(1) !important; }
html.dark .hero-mockup { box-shadow: 0 8px 40px rgba(0,0,0,0.4); }
html.dark .footer { background: #111113; }
html.dark .modal { background: var(--bg-card); }
html.dark .exit-modal-card { background: var(--bg-card); }
html.dark .form-input, html.dark .form-select, html.dark .form-textarea { color-scheme: dark; }

/* ── Focus ── */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
