/* ═══════════════════════════════════════════════════
   Genlink MOOBAN — Professional Design System v2
   Brand: #2463EB (blue) · #02A9C7 (cyan/teal)
   Font: Inter + Sarabun (Thai)
═══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Sarabun:wght@400;500;600;700;800&display=swap');

:root {
  /* ── Brand (from mooban-mark.svg) ── */
  --blue:        #2463EB;   /* primary */
  --blue-dark:   #1A4FD6;
  --blue-light:  #EBF2FF;
  --cyan:        #02A9C7;   /* accent */
  --cyan-light:  #E0F7FB;
  --navy:        #0B1E3D;   /* darkest text / headings */
  --navy2:       #152D54;

  /* ── Gradient shortcuts ── */
  --grad-brand:  linear-gradient(135deg, #2463EB 0%, #02A9C7 100%);
  --grad-hero:   linear-gradient(135deg, #1A4FD6 0%, #0E86A8 100%);
  --grad-dark:   linear-gradient(135deg, #0B1E3D 0%, #152D54 60%, #0A637A 100%);

  /* ── Teal alias (keep compat) ── */
  --teal:        #02A9C7;
  --indigo:      #3B5BDB;

  /* ── UI Colors ── */
  --green:  #059669;
  --amber:  #D97706;
  --red:    #DC2626;
  --violet: #7C3AED;

  /* ── Neutral ── */
  --ink:    #0B1E3D;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* Spacing & Shape */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 40px;
  --max:   1200px;

  /* ── Shadows ── */
  --shadow-sm:   0 1px 3px rgba(11,30,61,.08), 0 1px 2px rgba(11,30,61,.05);
  --shadow-md:   0 4px 16px rgba(11,30,61,.10), 0 2px 6px rgba(11,30,61,.06);
  --shadow-lg:   0 12px 40px rgba(11,30,61,.13), 0 4px 12px rgba(11,30,61,.07);
  --shadow-xl:   0 24px 64px rgba(11,30,61,.17), 0 8px 24px rgba(11,30,61,.09);
  --shadow-blue: 0 8px 32px rgba(36,99,235,.28);
  --shadow-cyan: 0 8px 32px rgba(2,169,199,.22);
  --shadow-card: 0 2px 8px rgba(11,30,61,.06), 0 1px 3px rgba(11,30,61,.04);

  /* Transitions */
  --t-fast:   150ms ease;
  --t-normal: 250ms ease;
  --t-slow:   400ms ease;
}

/* ─── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: 'Inter', 'Sarabun', -apple-system, sans-serif;
  color: var(--gray-800);
  background: #F7FAFF;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
p { margin: 0; }
h1,h2,h3,h4,h5 { margin: 0; line-height: 1.2; }
ul { margin: 0; padding: 0; }

/* ─── Layout ───────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; }
.section.tight { padding: 60px 0; }
.section.xl { padding: 120px 0; }

/* ─── Typography ───────────────────────────────── */
.section-title {
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.2;
  margin: 10px 0 14px;
}
.section-title span { color: var(--blue); }
.section-title .teal { color: var(--cyan); }
.section-title .cyan { color: var(--cyan); }
.lead {
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--gray-600);
  line-height: 1.85;
  max-width: 640px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(36,99,235,.07);
  border: 1px solid rgba(2,169,199,.25);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Product Logo (mooban-logo.png) ─────────────── */
.product-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.product-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(36,99,235,.2));
}
.product-logo-lg img {
  width: 88px;
  height: 88px;
}
.product-logo-sm img {
  width: 44px;
  height: 44px;
}

/* Hero logo badge */
.hero-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  background: white;
  border: 1px solid rgba(36,99,235,.15);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.hero-logo-badge img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.hero-logo-badge span {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .04em;
}

/* Floating logo watermark in page-hero */
.page-hero-logo {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .07;
  pointer-events: none;
}
.page-hero-logo img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}
@media(max-width:740px){
  .page-hero-logo { display: none; }
  .product-logo img { width: 48px; height: 48px; }
  .product-logo-lg img { width: 64px; height: 64px; }
}


.muted { color: var(--gray-500); }
.blue { color: var(--blue); }
.teal-text { color: var(--teal); }

/* ─── Navigation ───────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(226,232,240,.8);
  transition: box-shadow var(--t-normal);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img { height: 40px; width: auto; }
.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  transition: all var(--t-fast);
  white-space: nowrap;
}
.nav-links a:hover { background: linear-gradient(135deg, var(--blue-light), var(--cyan-light)); color: var(--blue); }
.nav-links a.active { background: linear-gradient(135deg, var(--blue-light), var(--cyan-light)); color: var(--blue); font-weight: 700; }
.nav-links .nav-divider {
  width: 1px; height: 24px;
  background: var(--gray-200);
  margin: 0 6px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--gray-700);
}
.nav-dropdown-menu a:hover { background: var(--blue-light); color: var(--blue); }
.nav-dropdown-menu a .dm-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--blue-light);
  border-radius: var(--r-md);
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ─── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-normal);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn.sm { padding: 9px 18px; font-size: 13px; }
.btn.lg { padding: 16px 32px; font-size: 16px; }

.btn.primary {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--teal) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(37,99,235,.35);
  border-color: transparent;
}
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,99,235,.45);
}
.btn.primary:active { transform: translateY(0); }

.btn.ghost {
  background: white;
  border-color: var(--gray-300);
  color: var(--gray-700);
}
.btn.ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.btn.outline-white {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.4);
  color: white;
}
.btn.outline-white:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.6);
}

.btn.dark {
  background: var(--navy);
  color: white;
  border-color: transparent;
}
.btn.dark:hover {
  background: var(--navy2);
  transform: translateY(-1px);
}

/* ─── Cards ─────────────────────────────────────── */
.card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--t-normal);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,.18);
}
.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.35;
}
.card p { color: var(--gray-600); font-size: 15px; line-height: 1.65; }

/* Card accent top-border */
.card.accent-blue { border-top: 3px solid var(--blue); }
.card.accent-teal { border-top: 3px solid var(--teal); }
.card.accent-green { border-top: 3px solid var(--green); }
.card.accent-violet { border-top: 3px solid var(--violet); }

/* ─── Icon Box ──────────────────────────────────── */
.icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--blue-light);
  flex-shrink: 0;
  margin-bottom: 16px;
}
.icon.teal-bg { background: rgba(8,145,178,.1); }
.icon.green-bg { background: rgba(16,185,129,.1); }
.icon.violet-bg { background: rgba(124,58,237,.1); }
.icon.amber-bg { background: rgba(245,158,11,.1); }
.icon.red-bg { background: rgba(239,68,68,.1); }

/* ─── Tags / Badges ─────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--gray-200);
  background: white;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-700);
  box-shadow: var(--shadow-sm);
}
.tag.blue { border-color: rgba(37,99,235,.2); background: var(--blue-light); color: var(--blue); }
.tag.green { border-color: rgba(16,185,129,.2); background: rgba(16,185,129,.07); color: #065F46; }

/* ─── Grid ──────────────────────────────────────── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ─── Split layout ──────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.wide { gap: 80px; }
.split.rev > *:first-child { order: 2; }
.split.rev > *:last-child { order: 1; }

/* ─── List Items ────────────────────────────────── */
.list { display: grid; gap: 14px; }
.list-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-normal);
}
.list-item:hover {
  border-color: rgba(37,99,235,.2);
  box-shadow: var(--shadow-md);
  transform: translateX(3px);
}
.list-item .icon { margin-bottom: 0; }
.list-item h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.list-item p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* Timeline variant */
.timeline { position: relative; display: grid; gap: 16px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 26px; top: 26px; bottom: 26px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--teal));
  opacity: .3;
}
.timeline .list-item { position: relative; }
.timeline .list-item .icon {
  background: white;
  border: 2px solid var(--blue);
  color: var(--blue);
  z-index: 1;
}

/* ─── Stats Row ─────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.stat {
  padding: 20px 16px;
  border-radius: var(--r-lg);
  background: white;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 500;
}
.stat strong {
  display: block;
  font-size: 30px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.04em;
}

/* ─── Hero ──────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
  background: linear-gradient(160deg, #EBF4FF 0%, #F7FAFF 50%, #E8F8FB 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2,169,199,.16) 0%, rgba(36,99,235,.07) 40%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero .gate-bg {
  position: absolute;
  right: -80px; top: 60px;
  width: 680px;
  opacity: .6;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.06em;
  color: var(--blue);
  margin: 10px 0 6px;
}
.hero h2 {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--navy2);
  line-height: 1.25;
  margin: 0 0 12px;
}
.hero-desc {
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--gray-600);
  max-width: 580px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.logo-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Phone Mockup Stack */
.hero-visual { position: relative; min-height: 580px; }
.phone-stack { position: absolute; inset: 0; }
.phone {
  position: absolute;
  border-radius: 44px;
  border: 8px solid #111827;
  background: #111827;
  box-shadow: 0 32px 80px rgba(15,23,42,.32), 0 8px 24px rgba(15,23,42,.2);
  overflow: hidden;
}
.phone::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 22px;
  background: #070A12;
  border-radius: 999px;
  z-index: 2;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }

.phone.main { width: 256px; height: 536px; right: 190px; top: 0; transform: rotate(-3deg); }
.phone.side { width: 240px; height: 500px; right: 0; top: 56px; transform: rotate(5deg); opacity: .97; }
.phone.small { width: 220px; height: 460px; right: 370px; top: 110px; transform: rotate(-9deg); opacity: .9; }

.floating-panel {
  position: absolute;
  left: 0; bottom: 0;
  width: 480px;
  padding: 16px 20px;
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.9);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.mini-feature {
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 12px;
}
.mini-feature b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--blue-light);
  margin: 0 auto 8px;
  font-size: 22px;
  font-weight: 400;
}

/* ─── Feature Strip ─────────────────────────────── */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.feature-strip .item {
  padding: 20px 12px;
  text-align: center;
  border-right: 1px solid var(--gray-100);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  transition: background var(--t-fast);
}
.feature-strip .item:last-child { border-right: 0; }
.feature-strip .item:hover { background: linear-gradient(135deg, var(--blue-light), var(--cyan-light)); color: var(--blue); }
.feature-strip .item span { display: block; font-size: 26px; margin-bottom: 8px; }

/* ─── Mock Window ───────────────────────────────── */
.mock-window {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xl);
  background: white;
}
.mock-window img { width: 100%; height: auto; display: block; }

/* Phone showcase (vertical) */
.phone-showcase {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-end;
}
.phone-showcase .ph {
  border-radius: 36px;
  border: 7px solid var(--gray-900);
  background: var(--gray-900);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  flex-shrink: 0;
}
.phone-showcase .ph img { display: block; }
.phone-showcase .ph.lg { width: 200px; }
.phone-showcase .ph.md { width: 180px; margin-bottom: 20px; }
.phone-showcase .ph.sm { width: 160px; margin-bottom: 40px; }

/* ─── Page Hero ─────────────────────────────────── */
.page-hero {
  padding: 80px 0 64px;
  background: linear-gradient(160deg, #F0F7FF 0%, white 60%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -150px; top: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2,169,199,.12) 0%, rgba(36,99,235,.06) 50%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--navy);
  line-height: 1.15;
  margin: 12px 0 14px;
  max-width: 860px;
}

/* ─── Pricing ───────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.price-card { position: relative; overflow: hidden; }
.price-card.featured {
  border: 2px solid var(--blue);
  transform: translateY(-10px);
  box-shadow: var(--shadow-blue);
}
.price-card .badge {
  position: absolute;
  top: 20px; right: 20px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: white;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.price-card h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.price-tag {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.04em;
  margin: 16px 0 8px;
}
.price-tag span { font-size: 14px; font-weight: 500; color: var(--gray-500); }
.checklist { display: grid; gap: 10px; margin: 20px 0 24px; list-style: none; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
}
.checklist li::before {
  content: '';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(16,185,129,.12);
  border: 1.5px solid rgba(16,185,129,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6L5 9L10 3' stroke='%2310B981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ─── Compare Table ─────────────────────────────── */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.compare th, .compare td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
  text-align: left;
  font-size: 14px;
}
.compare thead tr { background: var(--navy); }
.compare th { color: white; font-weight: 700; }
.compare tbody tr:hover { background: var(--blue-light); }
.compare td { color: var(--gray-700); }
.compare td:first-child { font-weight: 600; color: var(--navy); }

/* ─── CTA Banner ────────────────────────────────── */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #0E3060 50%, #0A7DA3 100%);
  color: white;
  border-radius: var(--r-2xl);
  padding: 64px 56px;
  box-shadow: 0 24px 80px rgba(15,35,66,.3);
}
.cta::before {
  content: '';
  position: absolute;
  top: -100px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.15) 0%, transparent 70%);
}
.cta h2 {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.cta p { color: rgba(255,255,255,.75); font-size: 15px; max-width: 580px; }
.cta .hero-actions { margin-top: 28px; }

/* ─── Contact ───────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; }
.form { display: grid; gap: 14px; }
.form input, .form textarea, .form select {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  outline: none;
  background: white;
  color: var(--gray-800);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.form input::placeholder, .form textarea::placeholder { color: var(--gray-400); }

/* Contact info */
.contact-info { display: grid; gap: 14px; margin-top: 20px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
}
.contact-row .c-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-row h4 { font-size: 13px; color: var(--gray-500); font-weight: 600; margin-bottom: 2px; }
.contact-row p { font-size: 15px; color: var(--navy); font-weight: 700; }

/* ─── Footer ────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand img { height: 44px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  max-width: 320px;
}
.footer h4 {
  color: white;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: white; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background var(--t-fast);
}
.footer-social a:hover { background: rgba(255,255,255,.2); }

/* ─── Animations ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.show { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-left.show { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-right.show { opacity: 1; transform: translateX(0); }

/* ─── Toast ─────────────────────────────────────── */
.toast {
  position: fixed;
  right: 24px; bottom: 24px;
  background: var(--navy);
  color: white;
  border-radius: var(--r-lg);
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  transform: translateY(120%);
  opacity: 0;
  transition: all .35s cubic-bezier(.34,1.56,.64,1);
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.toast::before { content: '✓'; font-size: 18px; color: var(--green); }
.toast.show { transform: translateY(0); opacity: 1; }

/* ─── Pill tabs ─────────────────────────────────── */
.pill-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.pill-tabs a {
  padding: 8px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  background: white;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 700;
  transition: all var(--t-fast);
}
.pill-tabs a:hover, .pill-tabs a.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

/* ─── Section label (center) ────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-title { margin: 10px auto 16px; }
.section-header .lead { margin: 0 auto; }

/* ─── Process Steps ─────────────────────────────── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  opacity: .25;
}
.step-card {
  text-align: center;
  padding: 28px 20px;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: white;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-blue);
}
.step-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid > *:last-child { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-strip { grid-template-columns: repeat(4, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .steps-row::before { display: none; }
  .cta { padding: 48px 36px; }
}
@media (max-width: 740px) {
  :root { --max: 100%; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .section.tight { padding: 44px 0; }
  .hero { padding: 64px 0 56px; }
  .hero-grid { gap: 32px; }
  .split { gap: 40px; }
  .split.rev > * { order: unset; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 36px 24px; border-radius: var(--r-xl); }
  .contact-grid { grid-template-columns: 1fr; }
  .compare { font-size: 13px; }
  .compare th, .compare td { padding: 12px 14px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 16px; right: 16px;
    top: 80px;
    flex-direction: column;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-xl);
    padding: 12px;
    z-index: 200;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; text-align: center; justify-content: center; }
  .nav-links .nav-divider { display: none; }
  .nav-dropdown-menu { left: 0; transform: none; position: static; box-shadow: none; border: none; padding: 4px 8px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .pricing { max-width: 100%; }
  .section-header { margin-bottom: 36px; }
  .phone-showcase { gap: 12px; }
  .phone-showcase .ph.lg { width: 160px; }
  .phone-showcase .ph.md { width: 145px; }
  .phone-showcase .ph.sm { display: none; }
  .steps-row { grid-template-columns: 1fr; }
  .cta h2 { font-size: 28px; }
}
