/* ============================================================
   FINTALE.IO — Design System v3.0
   "Midnight Precision" — Stripe/Mercury-class fintech design
   ============================================================ */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* === DESIGN TOKENS === */
:root {
  /* ── Brand ── */
  --brand:            #4338CA;
  --brand-hover:      #3730A3;
  --brand-light:      #EEF2FF;
  --brand-glow:       rgba(67, 56, 202, 0.20);
  --brand-surface:    rgba(67, 56, 202, 0.04);

  /* ── Accent (Premium Amber) ── */
  --accent:           #D97706;
  --accent-hover:     #B45309;
  --accent-light:     #FEF3C7;
  --accent-glow:      rgba(217, 119, 6, 0.15);

  /* ── Service Colors ── */
  --color-ai:         #7C3AED;
  --color-ai-bg:      #F5F3FF;
  --color-outsource:  #059669;
  --color-outsource-bg:#ECFDF5;
  --color-vcfo:       #D97706;
  --color-vcfo-bg:    #FFFBEB;

  /* ── Neutrals (11-stop) ── */
  --gray-950:         #0B1120;
  --gray-900:         #0F172A;
  --gray-800:         #1E293B;
  --gray-700:         #334155;
  --gray-600:         #475569;
  --gray-500:         #64748B;
  --gray-400:         #94A3B8;
  --gray-300:         #CBD5E1;
  --gray-200:         #E2E8F0;
  --gray-100:         #F1F5F9;
  --gray-50:          #F8FAFC;
  --white:            #FFFFFF;

  /* ── Typography ── */
  --font-heading:     'Space Grotesk', -apple-system, sans-serif;
  --font-body:        'Inter', -apple-system, sans-serif;
  --font-mono:        'JetBrains Mono', 'Fira Code', monospace;

  /* ── Spacing (4px base) ── */
  --sp-1: 0.25rem;   --sp-2: 0.5rem;    --sp-3: 0.75rem;
  --sp-4: 1rem;      --sp-5: 1.25rem;    --sp-6: 1.5rem;
  --sp-8: 2rem;      --sp-10: 2.5rem;    --sp-12: 3rem;
  --sp-16: 4rem;     --sp-20: 5rem;      --sp-24: 6rem;
  --sp-32: 8rem;

  /* ── Layout ── */
  --container-sm:     680px;
  --container:        1200px;
  --container-lg:     1400px;
  --section-py:       clamp(4rem, 8vw, 7.5rem);
  --header-h:         72px;

  /* ── Radius ── */
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius:      8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-xs:     0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:     0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg:     0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl:     0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-brand:  0 4px 14px rgba(67, 56, 202, 0.25);

  /* ── Transitions ── */
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
  --duration:      200ms;
  --duration-slow: 400ms;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--gray-600);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--duration) var(--ease); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* FOUC prevention */
html:not(.js-ready) .fade-in { opacity: 0; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.15;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -0.025em; line-height: 1.12; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); letter-spacing: -0.02em; font-weight: 600; line-height: 1.2; }
h4 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
h5 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
p  { font-size: 1rem; line-height: 1.75; }

.text-xl  { font-size: 1.25rem; line-height: 1.65; }
.text-lg  { font-size: 1.125rem; line-height: 1.7; }
.text-base{ font-size: 1rem; line-height: 1.75; }
.text-sm  { font-size: 0.875rem; line-height: 1.65; }
.text-xs  { font-size: 0.75rem; line-height: 1.5; }
.font-mono { font-family: var(--font-mono); }

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

/* === LAYOUT === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 var(--sp-6); }
.container-lg { max-width: var(--container-lg); margin: 0 auto; padding: 0 var(--sp-6); }

section { padding: var(--section-py) 0; }

/* Section variants */
.section-surface { background: var(--gray-50); }
.section-dark {
  background: var(--gray-950);
  color: var(--gray-400);
}
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5, .section-dark h6 { color: var(--white); }
.section-dark p { color: var(--gray-400); }
.section-dark .label { color: var(--accent); }

.section-brand {
  background: var(--brand);
  color: rgba(255,255,255,0.85);
}
.section-brand h1, .section-brand h2, .section-brand h3 { color: var(--white); }

/* Section header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-16);
}
.section-header .label { margin-bottom: var(--sp-3); display: block; }
.section-header h2 { margin-bottom: var(--sp-4); }
.section-header p { color: var(--gray-500); font-size: 1.125rem; }
.section-dark .section-header p { color: var(--gray-400); }

/* Grid system */
.grid { display: grid; gap: var(--sp-8); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Flexbox utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }

/* Text utilities */
.text-center { text-align: center; }
.text-brand { color: var(--brand); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--gray-500); }
.text-white { color: var(--white); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Sizes */
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; height: 36px; }
.btn-md, .btn { padding: 0.75rem 1.75rem; font-size: 0.9375rem; height: 44px; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; height: 52px; }

/* Primary */
.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: var(--shadow-brand);
  transform: translateY(-1px);
}

/* Secondary */
.btn-secondary {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn-secondary:hover {
  background: var(--brand);
  color: var(--white);
  transform: translateY(-1px);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  color: var(--gray-800);
}

/* White variant (on dark backgrounds) */
.btn-white {
  background: var(--white);
  color: var(--brand);
}
.btn-white:hover {
  background: var(--gray-50);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

/* Arrow animation on buttons */
.btn .arrow {
  transition: transform var(--duration) var(--ease);
}
.btn:hover .arrow {
  transform: translateX(3px);
}

/* === NAVIGATION === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: all var(--duration-slow) var(--ease);
  background: transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
}

/* Dark hero header variant */
.site-header--dark .nav-link { color: rgba(255,255,255,0.8); }
.site-header--dark .nav-link:hover { color: var(--white); }
.site-header--dark.scrolled .nav-link { color: var(--gray-600); }
.site-header--dark.scrolled .nav-link:hover { color: var(--gray-800); }

.header-inner {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gray-800);
}
.logo img { height: 32px; width: auto; }
.site-header--dark .logo { color: var(--white); }
.site-header--dark.scrolled .logo { color: var(--gray-800); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav-link {
  position: relative;
  padding: var(--sp-2) var(--sp-3);
  font-size: 0.9375rem;
  font-weight: 450;
  color: var(--gray-600);
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
}
.nav-link:hover {
  color: var(--gray-800);
  background: var(--gray-50);
}
.nav-link.active {
  color: var(--brand);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > .nav-link {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.nav-dropdown > .nav-link::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.5;
  transition: transform var(--duration) var(--ease);
}
.nav-dropdown:hover > .nav-link::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-2);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration) var(--ease);
  pointer-events: none;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius);
  transition: background var(--duration) var(--ease);
}
.dropdown-item:hover {
  background: var(--gray-50);
}
.dropdown-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.dropdown-item-text { display: flex; flex-direction: column; gap: 2px; }
.dropdown-item-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gray-800);
}
.dropdown-item-desc {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.4;
}

.nav-cta {
  margin-left: var(--sp-4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 1px;
  transition: all var(--duration) var(--ease);
}
.site-header--dark .hamburger span { background: var(--white); }
.site-header--dark.scrolled .hamburger span { background: var(--gray-800); }

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

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: var(--white);
  z-index: 2000;
  padding: var(--sp-8) var(--sp-6);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease);
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(0,0,0,0.15);
}
.mobile-nav.open {
  transform: translateX(0);
}
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-slow) var(--ease);
}
.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-close {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-600);
  transition: all var(--duration) var(--ease);
}
.mobile-nav-close:hover { background: var(--gray-200); }

.mobile-nav-group {
  margin-bottom: var(--sp-6);
}
.mobile-nav-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: var(--sp-2);
  padding: 0 var(--sp-3);
}
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--gray-700);
  font-weight: 450;
  transition: all var(--duration) var(--ease);
}
.mobile-nav a:hover { background: var(--gray-50); color: var(--brand); }
.mobile-nav a.active { color: var(--brand); background: var(--brand-surface); }

.mobile-nav-cta {
  margin-top: var(--sp-8);
}
.mobile-nav-cta .btn {
  width: 100%;
  justify-content: center;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-dark {
  background: var(--gray-950);
  color: var(--gray-400);
}
.hero-dark h1, .hero-dark h2 { color: var(--white); }
.hero-dark p { color: var(--gray-400); }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-dark .hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
  pointer-events: none;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: var(--sp-16) var(--sp-6);
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(67, 56, 202, 0.08);
  border: 1px solid rgba(67, 56, 202, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand);
  margin-bottom: var(--sp-6);
}
.hero-dark .hero-badge {
  background: rgba(67, 56, 202, 0.15);
  border-color: rgba(67, 56, 202, 0.25);
  color: #A5B4FC;
}

.hero h1 { margin-bottom: var(--sp-6); }

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 520px;
  margin-bottom: var(--sp-8);
}
.hero-dark .hero-subtitle { color: var(--gray-400); }

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
}
.hero-check {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  color: var(--gray-500);
}
.hero-check svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex-shrink: 0;
}
.hero-dark .hero-check { color: var(--gray-400); }
.hero-dark .hero-check svg { color: #A5B4FC; }

.hero-visual {
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--sp-12) var(--sp-6);
  }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-checks { justify-content: center; }
  .hero-visual { order: -1; max-width: 500px; margin: 0 auto; }
  .hero { min-height: auto; }
}
@media (max-width: 640px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* Hero centered variant */
.hero-centered {
  text-align: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-20) var(--sp-6);
}
.hero-centered .hero-subtitle { margin-left: auto; margin-right: auto; }
.hero-centered .hero-actions { justify-content: center; }
.hero-centered .hero-checks { justify-content: center; }

/* Hero mini (inner pages) */
.hero-mini {
  padding: calc(var(--header-h) + var(--sp-16)) 0 var(--sp-12);
  text-align: center;
}
.hero-mini .container { max-width: 680px; }
.hero-mini .label { margin-bottom: var(--sp-3); }
.hero-mini h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: var(--sp-4); }
.hero-mini p { font-size: 1.125rem; color: var(--gray-500); }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
  font-size: 0.875rem;
  color: var(--gray-500);
}
.breadcrumb a { color: var(--brand); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: 0.4; }

/* === STATS BAR === */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  padding: var(--sp-10) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: var(--sp-10);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-top: var(--sp-1);
}

@media (max-width: 640px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
}

/* === TRUST BAR === */
.trust-bar {
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--gray-200);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  flex-wrap: wrap;
}
.trust-bar-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.trust-bar img {
  height: 28px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(1);
  transition: all var(--duration) var(--ease);
}
.trust-bar img:hover { opacity: 0.7; filter: grayscale(0); }

/* === CARDS === */
/* Feature card */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: all var(--duration) var(--ease);
}
.card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  font-size: 1.25rem;
}
.card-icon--brand { background: var(--brand-light); color: var(--brand); }
.card-icon--ai { background: var(--color-ai-bg); color: var(--color-ai); }
.card-icon--outsource { background: var(--color-outsource-bg); color: var(--color-outsource); }
.card-icon--vcfo { background: var(--color-vcfo-bg); color: var(--color-vcfo); }

.card h3, .card h4 {
  margin-bottom: var(--sp-3);
}
.card p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.card-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-bottom: var(--sp-4);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}
.tag {
  display: inline-flex;
  padding: var(--sp-1) var(--sp-3);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-600);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
}
.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration) var(--ease);
}
.card:hover .card-link svg { transform: translateX(3px); }

/* Product card (dark bg) */
.product-card {
  background: var(--gray-900);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--brand));
}
.product-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.product-card-badge {
  display: inline-flex;
  padding: var(--sp-1) var(--sp-3);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: var(--gray-400);
  margin-bottom: var(--sp-4);
}

.product-card h3 {
  color: var(--white);
  margin-bottom: var(--sp-2);
}
.product-card p {
  color: var(--gray-400);
  font-size: 0.9375rem;
  margin-bottom: var(--sp-5);
}

.product-card-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.product-card-features li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--gray-400);
}
.product-card-features li svg {
  width: 16px;
  height: 16px;
  color: var(--card-accent, var(--brand));
  flex-shrink: 0;
}

.product-card .card-link {
  color: var(--card-accent, #A5B4FC);
}

/* Testimonial card */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--sp-4);
  color: var(--accent);
}
.testimonial-stars svg { width: 16px; height: 16px; }

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: var(--sp-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand);
}
.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gray-800);
}
.testimonial-role {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* Stat card */
.stat-card {
  text-align: center;
  padding: var(--sp-8);
}
.stat-card-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.stat-card-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: var(--sp-2);
}

/* === PROCESS / STEPS === */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0.2;
}

.step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--brand-light);
  color: var(--brand);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
  position: relative;
  z-index: 1;
}
.step h4 { margin-bottom: var(--sp-2); }
.step p { font-size: 0.875rem; color: var(--gray-500); }

@media (max-width: 768px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* === SPLIT CONTENT === */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: var(--sp-8); }
  .split--reverse { direction: ltr; }
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  padding: var(--sp-20) 0;
}
.cta-section h2 {
  margin-bottom: var(--sp-4);
}
.cta-section p {
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto var(--sp-8);
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
}
@media (max-width: 480px) {
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}

/* === FOOTER === */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: var(--sp-16) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-top: var(--sp-4);
  max-width: 280px;
  line-height: 1.7;
}
.footer-brand .logo {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--duration) var(--ease);
}
.footer-social a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-5);
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-400);
  padding: var(--sp-1) 0;
  transition: color var(--duration) var(--ease);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-6) 0;
  font-size: 0.8125rem;
  color: var(--gray-500);
}
.footer-bottom-links {
  display: flex;
  gap: var(--sp-6);
}
.footer-bottom-links a { color: var(--gray-500); }
.footer-bottom-links a:hover { color: var(--gray-300); }

.footer-disclaimer {
  padding: var(--sp-4) 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: var(--sp-4); text-align: center; }
}

/* === ACCORDION === */
.accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-3);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-800);
  background: var(--white);
  cursor: pointer;
  text-align: left;
}
.accordion-trigger svg {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  transition: transform var(--duration) var(--ease);
  flex-shrink: 0;
}
.accordion-item.active .accordion-trigger svg {
  transform: rotate(180deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease);
}
.accordion-body-inner {
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.accordion-item.active .accordion-body {
  max-height: 500px;
}

/* === FORMS === */
.form-group {
  margin-bottom: var(--sp-5);
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: var(--sp-2);
}
.form-input {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.9375rem;
  color: var(--gray-800);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
  outline: none;
}
.form-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}
.form-input::placeholder { color: var(--gray-400); }

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748B' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6l3.5 4 3.5-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--sp-10);
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger grid handled by JS */
.stagger-grid > * {
  opacity: 0;
  transform: translateY(20px);
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
  pointer-events: none;
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: var(--sp-8);
  right: var(--sp-8);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

/* === COOKIE CONSENT === */
.cookie-banner {
  position: fixed;
  bottom: var(--sp-6);
  left: var(--sp-6);
  right: var(--sp-6);
  max-width: 480px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-xl);
  z-index: 5000;
  display: none;
}
.cookie-banner p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: var(--sp-4);
  line-height: 1.6;
}
.cookie-banner-actions {
  display: flex;
  gap: var(--sp-3);
}

/* === BLOG === */
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}
.blog-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.blog-card-img {
  aspect-ratio: 16/9;
  background: var(--gray-100);
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.03);
}
.blog-card-body {
  padding: var(--sp-6);
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: var(--sp-3);
}
.blog-card-body h3 {
  font-size: 1.125rem;
  margin-bottom: var(--sp-3);
  line-height: 1.35;
}
.blog-card-body h3 a { color: var(--gray-800); }
.blog-card-body h3 a:hover { color: var(--brand); }
.blog-card-body p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* Blog article */
.article-content {
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: var(--sp-12) var(--sp-6);
}
.article-content h2 { margin: var(--sp-10) 0 var(--sp-4); }
.article-content h3 { margin: var(--sp-8) 0 var(--sp-3); }
.article-content p { margin-bottom: var(--sp-5); }
.article-content ul, .article-content ol {
  margin-bottom: var(--sp-5);
  padding-left: var(--sp-6);
}
.article-content li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: var(--sp-2);
  list-style: disc;
}
.article-content ol li { list-style: decimal; }
.article-content blockquote {
  border-left: 3px solid var(--brand);
  padding: var(--sp-4) var(--sp-6);
  margin: var(--sp-6) 0;
  background: var(--brand-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-content blockquote p { color: var(--gray-700); margin-bottom: 0; }
.article-content code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  color: var(--brand);
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-6) 0;
}
.article-content th, .article-content td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9375rem;
}
.article-content th {
  font-weight: 600;
  color: var(--gray-800);
  background: var(--gray-50);
}
.article-content td { color: var(--gray-600); }

/* === PRICING === */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  text-align: center;
  transition: all var(--duration) var(--ease);
}
.pricing-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-lg);
}
.pricing-card--featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-brand);
  position: relative;
}
.pricing-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--sp-1) var(--sp-4);
  background: var(--brand);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.pricing-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--gray-800);
  margin-bottom: var(--sp-2);
}
.pricing-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: var(--sp-6);
}
.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: var(--sp-6);
}
.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-500);
}
.pricing-features {
  text-align: left;
  margin-bottom: var(--sp-8);
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  font-size: 0.9375rem;
  color: var(--gray-600);
}
.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex-shrink: 0;
}

/* === CALCULATOR WIDGETS === */
.calculator-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  box-shadow: var(--shadow-sm);
}
.calc-input-group {
  margin-bottom: var(--sp-6);
}
.calc-input-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}
.calc-input-group label span {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--brand);
}
.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--gray-200);
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  cursor: pointer;
  box-shadow: var(--shadow-brand);
}
.calc-result {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  text-align: center;
}
.calc-result-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
}
.calc-result-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: var(--sp-1);
}

/* === 404 PAGE === */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-8);
}
.error-code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: var(--gray-200);
  line-height: 1;
}
.error-page h2 { margin: var(--sp-4) 0; }
.error-page p { max-width: 400px; margin: 0 auto var(--sp-8); }

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
  .stagger-grid > * { opacity: 1; transform: none; }
}

/* === SKIP TO CONTENT (Accessibility) === */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  padding: var(--sp-2) var(--sp-4);
  background: var(--brand);
  color: var(--white);
  font-size: 0.875rem;
  z-index: 10000;
  transition: top var(--duration) var(--ease);
}
.skip-link:focus {
  top: 0;
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: var(--sp-8);
  left: var(--sp-8);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: all var(--duration) var(--ease);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg { width: 26px; height: 26px; }

/* === MISC === */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Country flags */
.country-card {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
}
.country-flag { font-size: 1.5rem; }
.country-name {
  font-weight: 500;
  color: var(--white);
  font-size: 0.9375rem;
}
.country-desc { font-size: 0.8125rem; color: var(--gray-400); }

/* Platform badges */
.platform-badges {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* === LOADING STATE === */
.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}
.btn.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   HOMEPAGE v4 — World-class redesign
   Light-dominant, real product visuals, bento layout
   ============================================================ */

/* ── Hero Home ── */
.hero-home {
  padding: calc(var(--header-h) + var(--sp-12)) 0 0;
  background: var(--white);
  overflow: hidden;
}
.hero-home-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--sp-12);
  align-items: center;
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: var(--sp-12) var(--sp-6) var(--sp-16);
}
.hero-home-eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.01em;
  margin-bottom: var(--sp-5);
}
.hero-home h1 {
  font-size: clamp(2.75rem, 4.5vw, 4.25rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--gray-900);
  margin-bottom: var(--sp-6);
}
.hero-home-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 480px;
  margin-bottom: var(--sp-8);
}
.hero-home-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}
.hero-home-proof {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  font-size: 0.875rem;
  color: var(--gray-500);
}
.hero-home-proof strong {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-800);
  font-size: 1rem;
}
.hero-proof-sep {
  width: 1px;
  height: 20px;
  background: var(--gray-200);
}
.hero-home-visual {
  position: relative;
}

@media (max-width: 1024px) {
  .hero-home-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: var(--sp-12);
  }
  .hero-home-desc { margin-left: auto; margin-right: auto; }
  .hero-home-actions { justify-content: center; }
  .hero-home-proof { justify-content: center; }
  .hero-home-visual { order: -1; max-width: 600px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .hero-home-actions { flex-direction: column; }
  .hero-home-actions .btn { width: 100%; }
  .hero-home-proof { flex-direction: column; gap: var(--sp-2); }
  .hero-proof-sep { display: none; }
}

/* ── Browser Frame ── */
.browser-frame {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.03);
}
.browser-frame-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: 10px 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.browser-dots {
  display: flex;
  gap: 6px;
}
.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #28C840; }
.browser-url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--gray-400);
  background: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}
.browser-frame-body {
  padding: 20px;
  background: #FAFBFC;
  min-height: 200px;
}
.browser-frame--sm { box-shadow: var(--shadow-lg); }
.browser-frame--sm .browser-frame-body { padding: 16px; min-height: 160px; }

/* ── Dashboard Mockup (hero) ── */
.dash-mock { font-size: 0.75rem; }
.dash-mock-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.dash-mock-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
}
.dash-mock-sub { color: var(--gray-400); font-size: 0.75rem; margin-top: 2px; }
.dash-mock-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.dash-metric {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px;
}
.dash-metric-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 6px;
}
.dash-metric-value {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-900);
}
.dash-mock-table {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.dash-table-head {
  display: grid;
  grid-template-columns: 2fr 0.5fr 1fr 0.7fr 0.5fr;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.dash-table-row {
  display: grid;
  grid-template-columns: 2fr 0.5fr 1fr 0.7fr 0.5fr;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.6875rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
}
.dash-table-row:last-child { border-bottom: none; }
.health-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.health-dot.health-red { background: #EF4444; }
.health-dot.health-yellow { background: #F59E0B; }
.health-dot.health-orange { background: #F97316; }
.health-dot.health-green { background: #22C55E; }
.alert-badge {
  font-size: 0.5625rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  background: #FEE2E2;
  color: #DC2626;
}
.alert-badge.alert-warn { background: #FEF3C7; color: #D97706; }
.alert-badge.alert-ok { background: #ECFDF5; color: #059669; }

@media (max-width: 768px) {
  .dash-mock-metrics { grid-template-columns: repeat(3, 1fr); }
}

/* ── Dashboard Mini (product section) ── */
.dash-mini { font-size: 0.75rem; }
.dash-mini-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.dash-mini-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px;
}
.dash-mini-label {
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 4px;
}
.dash-mini-val {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-900);
}
.dash-mini-bar {
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}
.dash-mini-bar-fill {
  height: 100%;
  border-radius: 3px;
}
.dash-mini-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-mini-list > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  color: var(--gray-600);
  padding: 6px 8px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
}

/* ── Section Lead (left-aligned headers) ── */
.section-lead {
  max-width: 560px;
  margin-bottom: var(--sp-12);
}
.section-lead .label {
  margin-bottom: var(--sp-3);
  display: block;
}
.section-lead h2 {
  line-height: 1.15;
}

/* ── Bento Grid ── */
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--sp-5);
}
.bento-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-8);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  text-decoration: none;
  color: inherit;
}
.bento-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
}
.bento-card--lg {
  grid-row: 1 / 3;
  overflow: hidden;
}
.bento-card--lg .bento-card-content { flex: 1; }
.bento-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray-300);
  margin-bottom: var(--sp-4);
  display: block;
}
.bento-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--sp-3);
  color: var(--gray-900);
}
.bento-card p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--sp-5);
}
.bento-tags span {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--gray-100);
  color: var(--gray-600);
}
.bento-flags {
  display: flex;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-6);
  font-size: 1.75rem;
}
.bento-metric { margin-top: auto; padding-top: var(--sp-6); }
.bento-metric-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
.bento-metric-label {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 2px;
}

/* Bento AI visual */
.bento-card-visual {
  margin: var(--sp-6) calc(-1 * var(--sp-8)) calc(-1 * var(--sp-8));
  padding: var(--sp-5) var(--sp-6);
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}
.bento-visual-ai {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray-600);
}
.bento-ai-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
}
.bento-ai-row.dim { opacity: 0.5; }
.bento-ai-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Bento service card accents */
.bento-card--ai { border-left: 3px solid var(--color-ai); }
.bento-card--outsource { border-left: 3px solid var(--color-outsource); }
.bento-card--vcfo { border-left: 3px solid var(--color-vcfo); }

@media (max-width: 768px) {
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .bento-card--lg { grid-row: auto; }
}

/* ── Product Showcase ── */
.product-showcase { }
.product-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-12);
  align-items: center;
  margin-bottom: var(--sp-16);
}
.product-info { }
.product-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--sp-4);
}
.product-info h3 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  margin-bottom: var(--sp-4);
  color: var(--gray-900);
}
.product-info p {
  color: var(--gray-500);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}
.product-checks {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.product-checks li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  color: var(--gray-600);
}
.product-checks li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: var(--brand-light);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%234338CA' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--brand);
  transition: gap var(--duration) var(--ease);
}
.product-cta:hover { gap: var(--sp-3); }
.product-cta svg { transition: transform var(--duration) var(--ease); }
.product-cta:hover svg { transform: translateX(3px); }

.product-visual { }

.product-grid-sm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.product-card-sm {
  padding: var(--sp-6);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.product-card-sm:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
}
.product-card-sm h3 {
  font-size: 1.25rem;
  margin-bottom: var(--sp-2);
  color: var(--gray-900);
}
.product-card-sm p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
  flex: 1;
}
.product-card-sm .product-cta {
  font-size: 0.8125rem;
}

@media (max-width: 1024px) {
  .product-row { grid-template-columns: 1fr; }
  .product-visual { order: -1; max-width: 500px; }
}
@media (max-width: 768px) {
  .product-grid-sm { grid-template-columns: 1fr; }
}

/* ── Numbers Strip ── */
.numbers-strip {
  padding: var(--sp-16) 0;
  background: var(--gray-950);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
}
.number-item { text-align: center; }
.number-val {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
}
.number-label {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-top: var(--sp-2);
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 640px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-10); }
}

/* ── Featured Testimonial ── */
.testimonial-featured {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: var(--sp-8) 0;
}
.testimonial-featured blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 500;
  color: var(--gray-800);
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.testimonial-featured-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}
.testimonial-more {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  margin-top: var(--sp-8);
}
.testimonial-more:hover .arrow { transform: translateX(3px); }

/* ── CTA Final ── */
.cta-final {
  padding: var(--sp-20) 0;
  background: var(--gray-50);
}
.cta-final-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.cta-final h2 {
  margin-bottom: var(--sp-4);
}
.cta-final p {
  font-size: 1.125rem;
  color: var(--gray-500);
  margin-bottom: var(--sp-8);
}
.cta-final-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
}
@media (max-width: 640px) {
  .cta-final-actions { flex-direction: column; }
  .cta-final-actions .btn { width: 100%; }
}
