/* ============================================================================
   AIPA Suite — Premium SaaS Landing Page
   Inspired by Surfe, HubSpot, Pipedrive, Monday.com, Salesforce
   ============================================================================ */


/* ============================================================================
   1. CSS VARIABLES — Design Tokens
   ============================================================================ */

:root {
  /* ── Color Palette ── */
  --navy-900:      #0A1628;
  --navy-800:      #0F2035;
  --navy-700:      #152C48;
  --navy-600:      #1E3A5F;
  --navy-500:      #2A4A73;
  --navy-400:      #3D6390;
  --navy-300:      #5A84B0;
  --navy-200:      #8BAACA;
  --navy-100:      #C0D4E8;
  --navy-50:       #E8EFF7;

  --blue-600:      #106EBE;
  --blue-500:      #0078D4;
  --blue-400:      #2B88D8;
  --blue-300:      #60A5FA;
  --blue-200:      #93C5FD;
  --blue-100:      #DBEAFE;
  --blue-50:       #EFF6FF;

  --cyan-500:      #0078D4;
  --cyan-400:      #22D3EE;
  --cyan-100:      #CFFAFE;

  --green-600:     #16A34A;
  --green-500:     #22C55E;
  --green-100:     #DCFCE7;
  --green-50:      #F0FDF4;

  --red-600:       #DC2626;
  --red-500:       #EF4444;
  --red-100:       #FEE2E2;
  --red-50:        #FEF2F2;

  --amber-500:     #F59E0B;
  --amber-100:     #FEF3C7;

  --gray-900:      #111827;
  --gray-800:      #1F2937;
  --gray-700:      #374151;
  --gray-600:      #4B5563;
  --gray-500:      #6B7280;
  --gray-400:      #9CA3AF;
  --gray-300:      #D1D5DB;
  --gray-200:      #E5E7EB;
  --gray-100:      #F3F4F6;
  --gray-50:       #F9FAFB;
  --white:         #FFFFFF;

  /* ── Semantic Tokens ── */
  --primary:       var(--blue-500);
  --primary-hover: var(--blue-600);
  --primary-light: var(--blue-50);
  --primary-ring:  rgba(0, 120, 212, 0.25);

  --accent:        var(--navy-900);
  --accent-hover:  var(--navy-700);
  --accent-soft:   rgba(10, 22, 40, 0.06);

  --success:       var(--green-500);
  --success-light: var(--green-50);
  --danger:        var(--red-500);
  --danger-light:  var(--red-50);
  --warning:       var(--amber-500);
  --warning-light: var(--amber-100);

  --text:          var(--gray-900);
  --text-secondary:var(--gray-600);
  --text-muted:    var(--gray-500);
  --text-light:    var(--gray-400);

  --bg:            var(--white);
  --bg-subtle:     var(--gray-50);
  --bg-muted:      var(--gray-100);

  --surface:       var(--white);
  --border:        var(--gray-200);
  --border-hover:  var(--gray-300);
  --border-strong: var(--gray-400);

  /* ── Typography Scale ── */
  --font:          'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-xs:       0.75rem;
  --text-sm:       0.875rem;
  --text-base:     1rem;
  --text-lg:       1.125rem;
  --text-xl:       1.25rem;
  --text-2xl:      1.5rem;
  --text-3xl:      1.875rem;
  --text-4xl:      2.25rem;
  --text-5xl:      3rem;
  --text-6xl:      3.75rem;
  --leading-tight: 1.15;
  --leading-snug:  1.3;
  --leading-normal:1.5;
  --leading-relaxed:1.65;

  /* ── Spacing Scale ── */
  --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;

  /* ── Border Radius ── */
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  20px;
  --radius-pill: 9999px;

  /* ── Box Shadows ── */
  --shadow-xs:  0 1px 2px rgba(10, 22, 40, 0.04);
  --shadow-sm:  0 1px 3px rgba(10, 22, 40, 0.06), 0 1px 2px rgba(10, 22, 40, 0.04);
  --shadow-md:  0 4px 6px -1px rgba(10, 22, 40, 0.07), 0 2px 4px -2px rgba(10, 22, 40, 0.05);
  --shadow-lg:  0 10px 15px -3px rgba(10, 22, 40, 0.08), 0 4px 6px -4px rgba(10, 22, 40, 0.05);
  --shadow-xl:  0 20px 25px -5px rgba(10, 22, 40, 0.08), 0 8px 10px -6px rgba(10, 22, 40, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(10, 22, 40, 0.18);
  --shadow-blue:0 4px 14px rgba(0, 120, 212, 0.25);
  --shadow-glow:0 0 20px rgba(0, 120, 212, 0.15), 0 0 60px rgba(0, 120, 212, 0.08);

  /* ── Transitions ── */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
  --duration-slower: 600ms;

  /* ── Layout ── */
  --container-sm:  640px;
  --container-md:  768px;
  --container-lg:  1024px;
  --container-xl:  1200px;
  --container-2xl: 1360px;
  --header-h:      64px;
  --header-h-mobile: 56px;
}


/* ============================================================================
   2. GLOBAL RESET & BASE
   ============================================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  background: var(--bg);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; display: block; }
input, select, textarea { font: inherit; }

::selection {
  background: var(--blue-100);
  color: var(--navy-900);
}


/* ============================================================================
   3. LAYOUT & CONTAINERS
   ============================================================================ */

.container {
  width: min(calc(100% - 48px), var(--container-xl));
  margin-inline: auto;
}

.container--narrow {
  width: min(calc(100% - 48px), var(--container-md));
  margin-inline: auto;
}

.section {
  padding: var(--sp-20) 0;
  position: relative;
}

.section-sm {
  padding: var(--sp-12) 0;
}

.section-lg {
  padding: var(--sp-24) 0;
}

.section-alt {
  background: var(--bg-subtle);
}

.section:nth-child(even):not(.section-alt):not(.section-security):not(.final-cta):not(.hero) {
  background: var(--bg-subtle);
}


/* ============================================================================
   4. TYPOGRAPHY — Section Headings
   ============================================================================ */

.section-heading {
  max-width: 680px;
  margin: 0 auto var(--sp-12);
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: var(--leading-tight);
  margin-bottom: var(--sp-4);
}

.section-heading p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  max-width: 540px;
  margin-inline: auto;
}

.section-kicker,
.mini-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-pill);
  padding: var(--sp-1) var(--sp-4);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--accent-soft);
  color: var(--navy-900);
  border-radius: var(--radius-pill);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}


/* ============================================================================
   5. BUTTONS
   ============================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 40px;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1;
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

/* Primary / ghost: hover & active micro-interactions */
.btn-primary {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--border-hover);
  border-radius: var(--radius-pill);
}
.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--bg-subtle);
}

.btn-ghost {
  color: var(--text-secondary);
  background: transparent;
  border: none;
  padding: var(--sp-2) var(--sp-3);
  font-weight: 500;
  font-size: var(--text-sm);
  transition: all 0.2s ease;
}
.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  transform: translateY(-1px);
}

.btn-cta {
  color: var(--white);
  background: var(--navy-900);
  border-color: var(--navy-900);
  border-radius: var(--radius-pill);
  padding: var(--sp-3) var(--sp-6);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all var(--duration-base) var(--ease-out);
}
.btn-cta:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
}

.btn-cta--primary {
  background: var(--primary);
  border-color: var(--primary);
  position: relative;
  overflow: hidden;
}
.btn-cta--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn-cta--primary:hover::after {
  transform: translateX(100%);
}
.btn-cta--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-blue);
}

.btn-full { width: 100%; }

.btn-lg {
  min-height: 48px;
  padding: var(--sp-3) var(--sp-8);
  font-size: var(--text-base);
  border-radius: var(--radius-pill);
}

.btn-sm {
  min-height: 32px;
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--text-xs);
}


/* ============================================================================
   6. HEADER / NAVBAR
   ============================================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
  transition: background var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
  height: var(--header-h);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border-bottom-color: rgba(229, 231, 235, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding: 0 clamp(16px, 3vw, 40px);
  height: 100%;
  max-width: var(--container-xl);
  margin-inline: auto;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  text-decoration: none;
}
.brand-logo {
  height: 28px;
  width: auto;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  flex-shrink: 0;
  display: none;
}
.brand-copy {
  display: flex;
  flex-direction: column;
}
.brand strong {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.brand small {
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-header .brand small { display: none; }

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 48px;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast), background var(--duration-fast);
}
.nav-links a:hover {
  color: var(--text);
  background: var(--bg-muted);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  margin-left: auto;
}

.site-header .btn-ghost {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}
.site-header .btn-ghost:hover {
  color: var(--text);
  background: var(--bg-muted);
}
.site-header .btn-cta {
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--text-sm);
  min-height: 36px;
}
.site-header .btn-cta:hover {
  transform: none;
}

.nav-contact-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary, #0078D4);
  text-decoration: none;
  padding: 6px 14px;
  border: 1.5px solid var(--primary, #0078D4);
  border-radius: 6px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-contact-link:hover {
  background: var(--primary, #0078D4);
  color: #fff;
}

.nav-login-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #01224A;
  text-decoration: none;
  padding: 6px 2px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-login-link:hover {
  color: #0078D4;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast);
}
.hamburger:hover {
  background: var(--bg-muted);
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-fast);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 22, 40, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}
.mobile-drawer.open {
  display: block;
  opacity: 1;
}
.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--white);
  box-shadow: var(--shadow-2xl);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
}
.mobile-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}


/* ============================================================================
   7. LANGUAGE DROPDOWN
   ============================================================================ */

.lang-dropdown {
  position: relative;
  z-index: 200;
}
.lang-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--duration-fast);
}
.lang-trigger:hover {
  background: var(--bg-muted);
}
.lang-flag {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang-flag-svg {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 170px;
  padding: var(--sp-2);
  overflow: hidden;
}
.lang-dropdown.open .lang-menu {
  display: block;
  animation: dropdownFadeIn var(--duration-fast) var(--ease-out);
}
@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.lang-option {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-3) var(--sp-3);
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-align: left;
  transition: all var(--duration-fast);
}
.lang-option:hover {
  background: rgba(0,0,0,.04);
  color: var(--text);
}
.lang-option.active {
  color: var(--text);
  font-weight: 600;
}
.lang-label { font-size: var(--text-sm); }


/* ============================================================================
   8. HERO SECTION
   ============================================================================ */

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 35%, var(--navy-700) 70%, var(--navy-600) 100%);
  color: var(--white);
  padding: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(0, 120, 212, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(0, 120, 212, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--sp-12);
  align-items: center;
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-8);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  width: 100%;
  max-width: 640px;
}

.hero-mockup-svg {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35), 0 0 40px rgba(0, 120, 212, 0.15);
  animation: heroFadeUp 0.8s 0.4s var(--ease-out) both;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
  width: 100%;
}

.hero-copy {
  text-align: left;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: var(--sp-5);
  animation: heroFadeUp 0.8s var(--ease-out) both;
}

.hero-title span {
  background: linear-gradient(135deg, var(--blue-300) 0%, var(--cyan-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: rgba(255, 255, 255, 0.88);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-8);
  max-width: 520px;
  animation: heroFadeUp 0.8s 0.1s var(--ease-out) both;
}

.hero-lead {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.78);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-8);
  max-width: 520px;
  animation: heroFadeUp 0.8s 0.15s var(--ease-out) both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  animation: heroFadeUp 0.8s 0.25s var(--ease-out) both;
}
.hero-actions .btn-cta--primary {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--text-base);
  min-height: 50px;
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 120, 212, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.hero-actions .btn-cta--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 8px 28px rgba(0, 120, 212, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transform: translateY(-2px);
}
.hero-actions .btn-ghost {
  font-size: var(--text-sm);
  padding: var(--sp-3) var(--sp-6);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
}
.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.hero-trial-note {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--sp-3);
  animation: heroFadeUp 0.8s 0.35s var(--ease-out) both;
}

/* Hero Pricing (right column) */
.hero-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  animation: heroFadeUp 0.8s 0.2s var(--ease-out) both;
}
.hero-pricing-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--navy-300);
  margin-top: var(--sp-1);
  line-height: var(--leading-snug);
}
.hero .hero-pricing-note {
  color: rgba(255, 255, 255, 0.65);
}

/* Hero Metrics */
.hero-metrics {
  display: flex;
  justify-content: center;
  gap: var(--sp-12);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: heroFadeUp 0.8s 0.4s var(--ease-out) both;
}
.metric-card { text-align: center; }
.metric-card strong {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--sp-1);
}
.metric-card span {
  color: var(--navy-300);
  font-size: var(--text-sm);
}
.hero .metric-card span {
  color: rgba(255, 255, 255, 0.72);
}


/* ============================================================================
   9. TRUST BAR (inside hero)
   ============================================================================ */

.hero-trust {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 22, 40, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--sp-5) 0;
  margin-top: auto;
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 24px;
  padding: 0 24px 32px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  padding: 0 24px var(--sp-8);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.trust-badge svg {
  color: var(--blue-400);
  flex-shrink: 0;
}


/* ============================================================================
   10. PRICING CARDS
   ============================================================================ */

.pricing-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  max-width: 720px;
  margin: 0 auto;
}

/* ── Pricing Toggle ── */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 50px;
  padding: 5px;
  margin: 0 auto var(--sp-8);
  position: relative;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.pricing-toggle__btn {
  position: relative;
  padding: 10px 28px;
  border: 1px solid transparent;
  border-radius: 50px;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  z-index: 1;
}
.pricing-toggle__btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #01224A;
}
.pricing-toggle__btn[aria-pressed="true"] {
  background: #01224A;
  border-color: #01224A;
  color: #fff;
  box-shadow: 0 2px 8px rgba(1, 34, 74, 0.25);
}
.pricing-toggle__save {
  display: inline-block;
  background: #0078D4;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* ── Pricing Two-Column Layout ── */
.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  max-width: 960px;
  margin: 0 auto;
  align-items: center;
}
.pricing-left {
  text-align: left;
}
.pricing-left h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-heading, #01224A);
  margin: 0 0 var(--sp-3);
  line-height: 1.15;
}
.pricing-left .section-sub {
  text-align: left;
  margin: 0 0 var(--sp-5);
}
.pricing-left .pricing-toggle {
  justify-content: flex-start;
  margin-bottom: var(--sp-5);
}
.pricing-left .pricing-note {
  margin: 0;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.pricing-right {
  display: flex;
  justify-content: center;
}

/* ── Price Card Base ── */
.price-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: visible;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 16px rgba(1, 34, 74, 0.06);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(1, 34, 74, 0.10);
}

/* "Most popular" badge */
.price-card-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #0078D4;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
}

.price-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 40px 32px 32px;
}

.price-card-label {
  font-size: 1.35rem;
  font-weight: 700;
  color: #01224A;
  margin-bottom: 4px;
}

.price-card-for {
  font-size: 0.90rem;
  color: #64748b;
  margin-bottom: var(--sp-5);
  line-height: 1.4;
}

/* ── Price Display ── */
.price-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 2px;
}

.price-old {
  font-size: 1.1rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
}

.price-card-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: #64748b;
  vertical-align: super;
  margin-right: 2px;
}

.price-card .price-amount,
.price-card .price-card-num {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #01224A;
}

.price-card-meta {
  font-size: 0.90rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.3;
  margin-bottom: 8px;
}

.price-card-annual-total {
  font-size: 0.75rem;
  color: #0078D4;
  font-weight: 500;
  margin: 0 0 var(--sp-4);
}

.price-card-billed-note {
  font-size: 0.75rem;
  font-weight: 500;
  color: #0078D4;
  margin: 4px 0 0;
}

/* ── CTA Button ── */
.price-card-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 0;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #01224A;
  color: #fff;
  border: none;
  margin-bottom: var(--sp-5);
  text-decoration: none;
}
.price-card-btn:hover {
  background: #0078D4;
  box-shadow: 0 4px 16px rgba(0, 120, 212, 0.3);
  transform: translateY(-1px);
}

/* ── Trial badge inside price card ── */
.price-card-trial {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  margin-bottom: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #0078D4;
  background: rgba(0, 120, 212, 0.06);
  border: 1px dashed rgba(0, 120, 212, 0.25);
  border-radius: 6px;
}
.price-card-trial svg {
  width: 12px;
  height: 12px;
}

/* ── Features List ── */
.price-card-features {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  flex: 1 1 auto;
}
.price-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.90rem;
  line-height: 1.5;
  color: #475569;
}
.price-card-features li:last-child {
  margin-bottom: 0;
}
.price-card-feature-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #0078D4;
}


.pricing-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--sp-5);
}
.pricing-note a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Pricing section light background */
[data-landing-page="pricing"] {
  background: linear-gradient(180deg, #f8fafc 0%, #edf5f8 50%, #dff0f5 100%);
  color: #01224A;
  position: relative;
  overflow: hidden;
}

[data-landing-page="pricing"] .section-alt {
  background: transparent;
}

[data-landing-page="pricing"] .section-heading h2 {
  color: #01224A;
}

[data-landing-page="pricing"] .section-heading p,
[data-landing-page="pricing"] .section-sub {
  color: #475569;
}

[data-landing-page="pricing"] .pricing-note {
  color: #64748b;
}

/* Decorative background elements */
.pricing-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.pricing-decor-el { position: absolute; }
.pricing-decor-el--1 { top: 10%; left: -80px; opacity: 0.7; }
.pricing-decor-el--2 { bottom: 5%; right: -60px; opacity: 0.6; }

[data-landing-page="pricing"] .container {
  position: relative;
  z-index: 1;
  text-align: center;
}


/* Pricing page card overrides */
[data-landing-page="pricing"] .price-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(1, 34, 74, 0.06);
}
[data-landing-page="pricing"] .price-card:hover {
  box-shadow: 0 16px 48px rgba(1, 34, 74, 0.10);
}
/* Preserve dark security section on pricing page (base has !important) */
[data-landing-page="pricing"] .section-security .section-heading h2 {
  color: var(--white);
}
[data-landing-page="pricing"] .section-security .section-heading p,
[data-landing-page="pricing"] .section-security .section-sub {
  color: rgba(255, 255, 255, 0.6);
}
[data-landing-page="pricing"] .section-security .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}


/* ============================================================================
   11. PRICING SECTION (Standalone)
   ============================================================================ */

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color var(--duration-base) var(--ease-out);
}
.plan-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
}
.plan-popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-sm);
}
.plan-popular:hover {
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: var(--sp-5);
  background: linear-gradient(135deg, var(--primary) 0%, var(--blue-400) 100%);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.plan-head { margin-bottom: var(--sp-5); }
.plan-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-1);
}
.plan-tagline {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.plan-price-wrap {
  display: flex;
  align-items: flex-end;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.plan-price { display: flex; align-items: flex-end; gap: 2px; }
.price-currency { font-size: var(--text-lg); font-weight: 700; color: var(--text); line-height: 1.3; }
.price-num {
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.04em;
}
.plan-price-meta { display: flex; flex-direction: column; gap: 2px; padding-bottom: var(--sp-2); }
.price-period { color: var(--text-muted); font-size: var(--text-sm); }
.price-billed { color: var(--text-muted); font-size: var(--text-xs); }

.btn-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--sp-5);
  transition: all var(--duration-base) var(--ease-out);
}
.btn-plan:hover { background: var(--bg-muted); }
.btn-plan-primary {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}
.btn-plan-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.plan-features { display: grid; gap: var(--sp-3); flex: 1; }
.plan-product { display: grid; gap: var(--sp-2); }
.plan-prod-name {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-1);
}
.plan-feat {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}
.plan-feat svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 3px;
}


/* ============================================================================
   12. SOCIAL PROOF
   ============================================================================ */

.social-proof {
  padding: var(--sp-16) 0;
  background: var(--bg-subtle);
}

.social-proof .counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  text-align: center;
  margin-bottom: var(--sp-12);
}

.social-proof .counter-item .counter-value {
  font-size: var(--text-5xl);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-2);
}
.social-proof .counter-item .counter-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.logo-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  flex-wrap: wrap;
  opacity: 0.5;
  transition: opacity var(--duration-slow);
}
.logo-grid:hover { opacity: 0.7; }
.logo-grid img {
  height: 28px;
  width: auto;
  filter: grayscale(100%);
  transition: filter var(--duration-base);
}
.logo-grid img:hover {
  filter: grayscale(0%);
}


/* ============================================================================
   13. CREDIBILITY BAR
   ============================================================================ */

.credibility-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding: var(--sp-5) 0;
}
.credibility-title {
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.credibility-tags {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.credibility-tags span {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
}


/* ============================================================================
   14. STATS BAR
   ============================================================================ */

.stats-bar {
  background: var(--white);
  width: 100%;
  padding: var(--sp-12) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-bar .trusted-title {
  margin-bottom: var(--sp-8);
}

.stats-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--sp-8);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}
.stats-intro strong {
  color: var(--navy-900);
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
}

.stat-item {
  text-align: center;
  position: relative;
}
.stat-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border);
}
.stat-item:last-child::after { display: none; }

.stat-value {
  display: block;
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.04em;
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-snug);
}
.stat-icon {
  margin: 0 auto var(--sp-2);
  color: var(--primary);
}


#products .section-heading {
  margin-bottom: var(--sp-4);
}

/* ============================================================================
   15. PRODUCT SHOWCASE
   ============================================================================ */

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.product-showcase:last-of-type {
  border-bottom: none;
}

.product-showcase--reversed {
  direction: rtl;
}
.product-showcase--reversed > * {
  direction: ltr;
}

.product-showcase-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.product-showcase-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin: 12px 0 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.product-showcase-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: 8px;
}
.product-showcase-desc strong,
.product-showcase-features strong,
.home-teaser-card p strong {
  color: var(--text);
  font-weight: 750;
}

.product-showcase-features {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-showcase-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.product-showcase-features li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.product-showcase-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-showcase-svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.suite-common-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  text-align: center;
  margin-top: var(--sp-8);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-secondary);
}
.suite-common-note a {
  text-decoration: none;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-pill);
  padding: var(--sp-1) var(--sp-3);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}


/* ============================================================================
   16. FEATURE CHECK LIST
   ============================================================================ */

.feature-check-list {
  display: grid;
  gap: var(--sp-1);
}
.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  padding: var(--sp-2) 0;
}
.feature-check-list li svg,
.check-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  color: var(--green-500);
}


/* ============================================================================
   17. FEATURE GRID
   ============================================================================ */

.feature-grid {
  display: grid;
  gap: var(--sp-6);
}
.feature-grid.three-up { grid-template-columns: repeat(3, 1fr); }
.feature-grid.four-up  { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color var(--duration-base) var(--ease-out);
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  display: grid;
  place-items: center;
  color: var(--primary);
  margin: 0 auto var(--sp-5);
  transition: all var(--duration-base) var(--ease-out);
}
.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}
.feature-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-2);
}
.feature-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}


/* ============================================================================
   18. WHY BUY / VALUE PROP
   ============================================================================ */

.why-buy-headers {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-bottom: var(--sp-5);
  width: 100%;
}
.why-hdr-left  { grid-column: 1; }
.why-hdr-right { grid-column: 3; }
.why-buy-headers h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-1);
}
.why-buy-headers p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.why-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  margin-bottom: var(--sp-3);
  width: 100%;
}

.why-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: var(--text-xl);
}
.why-arrow svg {
  width: 20px;
  height: 20px;
  opacity: 0.5;
}

.problem-card,
.solution-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-5);
  position: relative;
  transition: all var(--duration-base) var(--ease-out);
}

.problem-card {
  border: 1px solid var(--red-100);
  border-left: 3px solid var(--red-500);
  box-shadow: var(--shadow-xs);
}
.solution-card {
  border: 1px solid var(--green-100);
  border-left: 3px solid var(--green-500);
  box-shadow: var(--shadow-xs);
}

.problem-card:hover {
  border-color: var(--red-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.solution-card:hover {
  border-color: var(--green-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.problem-card .card-icon,
.solution-card .card-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.problem-card .card-icon {
  background: var(--red-50);
  color: var(--red-600);
}
.solution-card .card-icon {
  background: var(--green-50);
  color: var(--green-600);
}

.problem-card .card-body,
.solution-card .card-body {
  flex: 1;
  min-width: 0;
}
.problem-card h4,
.solution-card h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-1);
}
.problem-card p,
.solution-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.solution-badge {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 86px;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}


/* ============================================================================
   19. PHASES / HOW IT WORKS
   ============================================================================ */

.phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  width: 100%;
}

.phase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.phase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--blue-400));
  opacity: 0;
  transition: opacity var(--duration-base);
}
.phase-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.phase-card:hover::before { opacity: 1; }

.phase-badge {
  display: inline-flex;
  align-items: center;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.phase-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-2);
}
.phase-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* Timeline (legacy / alternate approach) */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.timeline-card { padding-top: var(--sp-5); }
.timeline-step {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}


/* ============================================================================
   20. SECTOR TABS
   ============================================================================ */

.sector-tabs {
  display: flex;
  overflow: hidden;
  position: relative;
  margin-bottom: var(--sp-8);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  padding: 8px 0;
}

.sector-tabs-inner {
  display: flex;
  gap: var(--sp-2);
  animation: scrollTabs 40s linear infinite;
  width: max-content;
  white-space: nowrap;
}

.sector-tabs-inner:hover {
  animation-play-state: paused;
}

@keyframes scrollTabs {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.sector-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
  flex-shrink: 0;
}
.sector-tab:hover {
  border-color: var(--border-hover);
  background: var(--bg-subtle);
}
.sector-tab.active,
.sector-tab--active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
  box-shadow: var(--shadow-md);
}

.sector-panel {
  display: none;
}
.sector-panel.active {
  display: block;
  animation: sectorFadeIn var(--duration-slow) var(--ease-out);
}
@keyframes sectorFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.sector-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  box-shadow: var(--shadow-md);
}
.sector-content h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-3);
}
.sector-content p,
.sector-desc {
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-4);
}

.sector-bullets {
  display: grid;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.sector-bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}
.sector-bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 7px;
}
.sector-content ul {
  display: grid;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.sector-content ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}
.sector-content ul li svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 3px;
}

.sector-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--navy-900);
  background: transparent;
  color: var(--navy-900);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
}
.sector-cta:hover {
  background: var(--navy-900);
  color: var(--white);
}


/* ============================================================================
   21. SECURITY SECTION
   ============================================================================ */

.section-security {
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 100%) !important;
  color: var(--white);
  padding: var(--sp-20) 0;
  position: relative;
  overflow: hidden;
}
.section-security::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(0, 120, 212, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.section-security .section-heading h2 { color: var(--white); }
.section-security .section-heading p,
.section-security .section-sub {
  color: rgba(255, 255, 255, 0.6);
}
.section-security .section-kicker,
.section-security .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.security-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  transition: all var(--duration-base) var(--ease-out);
}
.security-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.security-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(0, 120, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400);
  margin: 0 auto var(--sp-5);
  transition: all var(--duration-base) var(--ease-out);
}
.security-card:hover .security-icon {
  background: rgba(0, 120, 212, 0.25);
  transform: scale(1.05);
}
.security-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-2);
}
.security-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}


/* ============================================================================
   22. TESTIMONIALS
   ============================================================================ */

.testimonials {
  padding: var(--sp-20) 0;
}

.testimonial-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  padding: var(--sp-4) 0;
}

.testimonial-track {
  display: flex;
  gap: var(--sp-6);
  width: max-content;
  animation: scrollTestimonials 60s linear infinite;
}
.testimonial-track:hover {
  animation-play-state: paused;
}

@keyframes scrollTestimonials {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color var(--duration-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  min-width: 340px;
  max-width: 380px;
  flex-shrink: 0;
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.testimonial-quote-icon {
  flex-shrink: 0;
  margin-bottom: var(--sp-3);
  color: var(--primary);
  opacity: 0.85;
}
.testimonial-quote-icon svg {
  display: block;
  width: 36px;
  height: 28px;
}

.testimonial-card blockquote {
  flex: 1;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin: 0 0 var(--sp-5);
  padding: 0;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-1);
  margin-top: auto;
}
.testimonial-author__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.testimonial-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
}
.testimonial-role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--sp-3);
  color: var(--amber-500);
}
.testimonial-star {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.testimonial-company {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}


/* ============================================================================
   24. FAQ
   ============================================================================ */

.faq-list {
  display: grid;
  gap: var(--sp-3);
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: all var(--duration-base) var(--ease-out);
}
.faq-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}
.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-md);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  text-align: left;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  gap: var(--sp-4);
  cursor: pointer;
  transition: background var(--duration-fast);
}
.faq-q:hover { background: var(--bg-subtle); }

.faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text-muted);
  font-size: var(--text-xl);
  font-weight: 300;
  transition: transform 0.3s ease, background var(--duration-base) var(--ease-out),
    color var(--duration-base) var(--ease-out);
}
.faq-icon::after { content: "+"; }
.faq-item.active .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-item.active .faq-icon::after { content: "+"; }

.faq-toggle {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all var(--duration-base) var(--ease-out);
  color: var(--text-muted);
  font-size: var(--text-base);
}
.faq-item.active .faq-toggle {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

/* FAQ answer panel: smooth expand/collapse (max-height + padding) */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.active .faq-a {
  max-height: 300px;
  padding: 16px 24px;
  overflow-y: auto;
}
.faq-a p {
  margin: 0;
  padding: 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

#sectors .section-heading,
#value .section-heading,
#approach .section-heading {
  text-align: left;
  max-width: none;
}

#faq { background: var(--white); }


/* ============================================================================
   25. FINAL CTA
   ============================================================================ */

.final-cta {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-800) 100%);
  padding: var(--sp-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 30%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(0, 120, 212, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.final-cta-inner h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 800;
  color: var(--white);
  line-height: var(--leading-tight);
  margin-bottom: var(--sp-4);
  letter-spacing: -0.03em;
}
.final-cta-inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-8);
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.final-cta-actions .btn-cta--primary {
  background: var(--primary);
  border-color: var(--primary);
  padding: var(--sp-4) var(--sp-10);
  font-size: var(--text-base);
  min-height: 52px;
  box-shadow: var(--shadow-blue);
}
.final-cta-actions .btn-cta--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 8px 25px rgba(0, 120, 212, 0.4);
  transform: translateY(-2px);
}
.final-cta-trial {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--sp-3);
  font-weight: 500;
}

.btn-ghost--light {
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: var(--radius-pill);
  padding: var(--sp-4) var(--sp-6);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all var(--duration-base) var(--ease-out);
}
.btn-ghost--light:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: var(--white) !important;
}

/* Final CTA legacy grid */
.final-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-6);
  align-items: center;
}
.final-cta-copy { padding-right: var(--sp-5); }
.cta-points { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.cta-points span {
  display: inline-flex;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
}
.form-card { padding: var(--sp-8) var(--sp-6); }
.form-lead { color: var(--text-muted); font-size: var(--text-sm); line-height: var(--leading-relaxed); margin-top: var(--sp-2); }
.cta-btn-group { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }


/* ============================================================================
   26. FOOTER
   ============================================================================ */

.site-footer {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--sp-16) 0 var(--sp-8);
  position: relative;
}

.footer-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-10);
}

.footer-brand-col,
.footer-inner > div:first-child {
  display: flex;
  flex-direction: column;
}
.footer-inner > div > p {
  color: var(--navy-300);
  font-size: var(--text-sm);
  margin-top: var(--sp-3);
  line-height: var(--leading-relaxed);
}

.footer-email {
  display: inline-block;
  margin-top: var(--sp-3);
  color: var(--navy-400);
  font-size: var(--text-xs);
  word-break: break-all;
  transition: color var(--duration-fast);
}
.footer-email:hover {
  color: var(--white);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer-col h5 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-200);
  margin-bottom: var(--sp-2);
  font-weight: 700;
}
.footer-col a {
  color: var(--navy-300);
  font-size: var(--text-sm);
  transition: color var(--duration-fast);
  word-break: break-word;
  overflow-wrap: break-word;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--sp-6);
  color: var(--navy-400);
  font-size: var(--text-xs);
  text-align: center;
}
.footer-bottom a {
  color: var(--navy-300);
  transition: color var(--duration-fast);
}
.footer-bottom a:hover { color: var(--white); }


/* ============================================================================
   27. NEWSLETTER FORM
   ============================================================================ */

.newsletter-form {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: var(--text-sm);
  transition: border-color var(--duration-fast), background var(--duration-fast);
}
.newsletter-form input[type="email"]::placeholder {
  color: var(--navy-400);
}
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}
.newsletter-form button {
  padding: var(--sp-3) var(--sp-5);
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-out);
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--primary-hover);
}


/* ============================================================================
   28. BACK TO TOP
   ============================================================================ */

.back-to-top {
  position: fixed;
  bottom: var(--sp-8);
  right: var(--sp-8);
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--duration-base) var(--ease-out);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}


/* ============================================================================
   29. REVEAL ANIMATIONS
   ============================================================================ */

/* Reveal on scroll — enhanced Surfe-style easing */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up reveal (for cards) */
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease,
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay utilities */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Stagger children — parent toggles visibility, children animate in sequence */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.6s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.7s; }

/* Floating animation for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.float-anim {
  animation: float 3s ease-in-out infinite;
}

/* Counter number reveal */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.count-anim {
  animation: countUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}


/* ============================================================================
   30. GLASS CARD
   ============================================================================ */

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-base) var(--ease-out);
}
.glass-card:hover,
.lift:hover {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.lift {
  transition: all var(--duration-base) var(--ease-out);
}

.number-chip {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: var(--sp-4);
  font-weight: 700;
  font-size: var(--text-sm);
}
.glass-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-2);
}
.glass-card p {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-sm);
}


/* ============================================================================
   31. TWO-COLUMN LAYOUTS
   ============================================================================ */

.two-column,
.roi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-6);
}
.value-panels { align-items: stretch; }

.clean-list { margin: var(--sp-4) 0 0; display: grid; gap: var(--sp-3); }
.clean-list li {
  position: relative;
  padding-left: var(--sp-8);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-sm);
}
.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.clean-list.compact li { font-size: var(--text-sm); }

.section-sub {
  color: var(--text-muted);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.section-note {
  font-size: 0.85rem;
  color: #0078D4;
  font-weight: 600;
  margin-top: 4px;
}


/* ============================================================================
   32. AGENTS GRID
   ============================================================================ */

.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-5);
}
.agent-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-base) var(--ease-out);
}
.agent-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.agent-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  display: grid;
  place-items: center;
  color: var(--primary);
  margin: 0 auto var(--sp-4);
}
.agent-card h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-2);
}
.agent-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}
.agents-more {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-top: var(--sp-2);
}


/* ============================================================================
   33. ROI COMPARISON
   ============================================================================ */

.roi-grid { align-items: stretch; }
.comparison-card.accent {
  border-color: var(--primary);
  background: var(--primary-light);
}
.roi-metric-list { display: grid; gap: var(--sp-4); margin-top: var(--sp-4); }
.roi-item { padding: var(--sp-3) 0; border-top: 1px solid var(--border); }
.roi-item:first-child { border-top: 0; padding-top: 0; }
.roi-item strong {
  display: block;
  font-size: var(--text-2xl);
  color: var(--primary);
  margin-bottom: var(--sp-1);
  font-weight: 800;
}
.roi-item p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}


/* ============================================================================
   34. PRICE PILLS (hero)
   ============================================================================ */

.price-pills {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}
.price-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-5);
  min-width: 140px;
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
}
.price-pill:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}
.price-pill-featured {
  border-color: var(--blue-400);
  background: rgba(0, 120, 212, 0.08);
}
.price-pill-badge {
  position: absolute;
  top: -8px;
  left: var(--sp-3);
  background: var(--primary);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px var(--sp-2);
  border-radius: var(--radius-pill);
}
.price-pill-amount {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-pill-amount span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--navy-300);
}
.price-pill-label {
  font-size: var(--text-xs);
  color: var(--navy-300);
  margin-top: var(--sp-1);
}
.price-pill-note {
  align-self: center;
  font-size: var(--text-sm);
  color: var(--navy-300);
  max-width: 20ch;
  line-height: var(--leading-snug);
}


/* ============================================================================
   35. CARD KICKER (legacy)
   ============================================================================ */

.card-kicker {
  display: inline-block;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-4);
  font-weight: 700;
}

.hero-panel { display: none; }
.showcase-card { display: none; }


/* ============================================================================
   36. PHONE PREFIX DROPDOWN
   ============================================================================ */

.phone-input-row {
  display: flex !important;
  flex-direction: row !important;
  gap: var(--sp-2);
  align-items: stretch;
}
.phone-input-row input[type="tel"] {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
}

.ppd-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
}
.ppd-wrap > select.phone-prefix-select { display: none !important; }
.ppd-trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-900);
  font-size: var(--text-sm);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.4;
  height: 100%;
  width: auto !important;
  transition: border-color var(--duration-fast);
}
.ppd-trigger:hover { border-color: var(--primary); }
.ppd-trigger .ppd-flag { border-radius: 2px; vertical-align: middle; flex-shrink: 0; }
.ppd-list {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  margin-top: 2px;
  max-height: 240px;
  overflow-y: auto;
  min-width: 120px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-xl);
  scrollbar-width: thin;
}
.ppd-list::-webkit-scrollbar { width: 5px; }
.ppd-list::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
.ppd-wrap.ppd-open .ppd-list { display: block !important; }
.ppd-option {
  display: flex !important;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  cursor: pointer;
  font-size: var(--text-sm);
  white-space: nowrap;
  color: var(--text);
  transition: background var(--duration-fast);
}
.ppd-option:hover { background: var(--bg-subtle); }
.ppd-option.ppd-selected { background: var(--primary-light); font-weight: 600; color: var(--primary); }
.ppd-option .ppd-flag { border-radius: 2px; vertical-align: middle; flex-shrink: 0; }


/* ============================================================================
   37. RESPONSIVE — Large tablets (<=1024px)
   ============================================================================ */

@media (max-width: 1024px) {
  .feature-grid.four-up,
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .phases-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-wrap { gap: var(--sp-4); }
  .nav-links { gap: 20px; margin-left: 32px; }
  .hide-tablet { display: none; }

  .why-buy-headers,
  .why-row {
    grid-template-columns: 1fr auto 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
  }
  .stat-item:nth-child(2)::after { display: none; }

  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
  .footer-links { grid-template-columns: repeat(4, 1fr); }

  /* Hero stacks to single column on tablets */
  .hero > .container { grid-template-columns: 1fr; text-align: center; }
  .hero-text { align-items: center; }
  .hero-mockup { max-width: 480px; margin: 0 auto; }
  .trust-badges { justify-content: center; }
  .product-showcase { grid-template-columns: 1fr; text-align: center; }
  .pricing-layout { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-left { text-align: center; }
  .pricing-left .section-sub { text-align: center; }
  .pricing-left .pricing-toggle { justify-content: center; }
  .pricing-left .pricing-note { text-align: center; margin-bottom: var(--sp-4); }
}


/* ============================================================================
   38. RESPONSIVE — Tablets (<=820px)
   ============================================================================ */

@media (max-width: 820px) {
  :root {
    --header-h: var(--header-h-mobile);
  }

  .section { padding: var(--sp-12) 0; }
  .section-lg { padding: var(--sp-16) 0; }

  .hero { min-height: auto; }
  .hero > .container {
    gap: var(--sp-8);
    padding-top: var(--sp-10);
    padding-bottom: var(--sp-6);
  }
  .hero-visual {
    display: flex;
    order: 2;
  }
  .hero-mockup {
    max-width: min(480px, 100%);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    text-align: center;
  }
  .hero-copy { text-align: center; }
  .hero-title { font-size: clamp(1.8rem, 5vw, 2.5rem); }
  .hero-subtitle { margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-pricing {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3);
    max-width: 420px;
    margin-inline: auto;
  }
  .hero-pricing-note { grid-column: 1 / -1; }
  .hero-metrics { gap: var(--sp-6); flex-wrap: wrap; }

  .product-showcase {
    gap: 40px;
    padding: 48px 0;
  }
  .product-showcase--reversed {
    direction: ltr;
  }
  .product-showcase-text {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .product-showcase-badge {
    justify-content: center;
  }
  .product-showcase-features {
    text-align: left;
    max-width: 420px;
  }

  .two-column,
  .roi-grid,
  .final-cta-grid { grid-template-columns: 1fr; }

  .why-buy-headers,
  .why-row { grid-template-columns: 1fr; }
  .why-arrow { display: none; }
  .why-hdr-right { grid-column: 1; margin-top: var(--sp-3); }

  .phases-grid { grid-template-columns: 1fr; }
  .timeline-grid { grid-template-columns: 1fr; }

  .security-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mobile nav */
  .nav-links { display: none; }
  /* Mobile menu: hamburger toggles #headerNav.open (same links as desktop; no separate drawer) */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: var(--sp-2);
    z-index: 999;
    box-shadow: var(--shadow-xl);
  }
  .nav-links.open a {
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
  }
  .nav-links.open a:hover {
    background: var(--bg-muted);
    color: var(--text);
  }
  .nav-wrap { position: relative; }
  .hamburger { display: flex; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
  .footer-brand { max-width: 100%; }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
  }
  .final-cta-copy { padding-right: 0; }

  .sector-tabs-inner { gap: var(--sp-2); }
  .trust-badges { gap: var(--sp-5); }
  .final-cta { padding: var(--sp-16) 0; }
}


/* ============================================================================
   38b. RESPONSIVE — Small tablets / large phones (<=768px)
   ============================================================================ */

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 2rem; }
  .trust-badges { gap: 12px 20px; flex-direction: column; align-items: center; }
  .home-teaser-grid { grid-template-columns: 1fr; }
}


/* ============================================================================
   39. RESPONSIVE — Mobile (<=640px)
   ============================================================================ */

@media (max-width: 640px) {
  .container { width: min(calc(100% - 32px), var(--container-xl)); }

  .hero > .container { grid-template-columns: 1fr; padding-top: var(--sp-8); padding-bottom: var(--sp-4); }
  .hero-visual {
    display: flex;
    margin-top: var(--sp-2);
  }
  .hero-mockup {
    max-width: min(360px, 100%);
  }
  .hero-mockup-svg {
    border-radius: 10px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28), 0 0 28px rgba(0, 120, 212, 0.12);
  }
  .hero-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .hero-subtitle { font-size: var(--text-sm); }
  .hero-lead { font-size: var(--text-sm); }

  .hero-pricing {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
  .pricing-layout {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: var(--sp-6);
  }
  .pricing-left { text-align: center; }
  .pricing-left .section-sub { text-align: center; }
  .pricing-left .pricing-toggle { justify-content: center; }
  .pricing-left .pricing-note { text-align: center; margin-bottom: var(--sp-4); }
  /* Pricing decor hidden on mobile (they overflow the viewport) */
  .pricing-decor { display: none; }
  /* Allow toggle to wrap if too wide and tighten button padding */
  .pricing-toggle { flex-wrap: wrap; max-width: 100%; }
  .pricing-toggle__btn { padding: 9px 18px; font-size: 0.82rem; }
  .pricing-toggle__save { font-size: 0.6rem; padding: 2px 6px; }
  /* Compact price card on small screens */
  .price-card-body { padding: 32px 22px 26px; }
  .price-card .price-amount,
  .price-card .price-card-num { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .price-card-label { font-size: 1.2rem; }
  .price-card-popular { font-size: 0.62rem; padding: 4px 14px; top: -11px; }

  .hero-metrics { flex-direction: column; gap: var(--sp-4); }

  .feature-grid.four-up,
  .feature-grid.three-up,
  .agents-grid,
  .timeline-grid,
  .phases-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn,
  .hero-actions .btn-cta--primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }

  .credibility-inner { flex-direction: column; text-align: center; }

  .product-showcase-title {
    font-size: 1.6rem;
  }
  .product-showcase-features li {
    font-size: 14px;
  }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
  .stat-item::after { display: none; }
  .stat-value { font-size: var(--text-3xl); }

  .security-grid { grid-template-columns: 1fr; }

  .why-buy-headers,
  .why-row { grid-template-columns: 1fr; }
  .why-arrow { display: none; }
  .why-hdr-right { grid-column: 1; margin-top: var(--sp-3); }

  .section-heading h2 { font-size: var(--text-2xl); }

  .sector-tabs-inner { gap: var(--sp-2); }
  .sector-tab { padding: var(--sp-2) var(--sp-4); font-size: var(--text-sm); }
  .sector-content { padding: var(--sp-6); }

  .final-cta-actions { flex-direction: column; width: 100%; }
  .final-cta-actions .btn { width: 100%; }

  .trust-badges { gap: var(--sp-4); justify-content: center; }
  .trust-badge { font-size: var(--text-xs); }

  .social-proof .counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
  }

  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type="email"],
  .newsletter-form button { width: 100%; }

  .faq-list { max-width: 100%; }
  .faq-q { padding: var(--sp-4) var(--sp-5); font-size: var(--text-sm); }
  .faq-a p { padding: 0; }
}


/* ============================================================================
   40. RESPONSIVE — Small phones (<=480px)
   ============================================================================ */

@media (max-width: 480px) {
  .container { width: min(calc(100% - 24px), var(--container-xl)); }

  .plan-card { padding: var(--sp-6) var(--sp-5); }
  .btn-plan { min-height: 44px; }
  .nav-links.open a { min-height: 44px; display: flex; align-items: center; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-value { font-size: var(--text-3xl); }

  .phase-card { padding: var(--sp-6) var(--sp-5); }
  .price-card-body { padding: 26px 18px 22px; }
  /* Stack pricing toggle vertically at very small widths */
  .pricing-toggle { border-radius: 14px; padding: 4px; gap: 2px; }
  .pricing-toggle__btn { padding: 8px 14px; font-size: 0.78rem; gap: 6px; }
  .pricing-left h2 { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .price-card-for { font-size: 0.78rem; }
  .price-card-features li { font-size: 0.78rem; }

  .testimonial-card { min-width: 280px; max-width: 300px; padding: var(--sp-6) var(--sp-5); }

  .hero > .container { padding-top: var(--sp-6); padding-bottom: var(--sp-3); }
  .hero-title { font-size: 1.6rem; }
  .hero-actions { flex-direction: column; gap: 12px; }

  .security-card { padding: var(--sp-6) var(--sp-5); }
  .final-cta { padding: var(--sp-12) 0; }

  .social-proof .counter-grid { grid-template-columns: 1fr; }

  .faq-q { min-height: 44px; }
  .faq-list { max-width: 100%; }

  .footer-links { grid-template-columns: 1fr; gap: var(--sp-4); }
  .footer-col { min-width: 0; }

  .sector-tab { min-height: 44px; }
}


/* ============================================================================
   41. PRINT STYLES
   ============================================================================ */

@media print {
  .site-header,
  .site-footer,
  .hero-canvas,
  .hero-visual,
  .back-to-top,
  .hamburger,
  .mobile-drawer,
  .hero-trust,
  .nav-toggle,
  .trust-badges,
  .final-cta { display: none !important; }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  * { box-shadow: none !important; text-shadow: none !important; }

  .hero {
    background: none !important;
    color: #000 !important;
    min-height: auto !important;
    padding: 20pt 0 !important;
  }
  .hero-title,
  .hero-subtitle,
  .hero-lead {
    color: #000 !important;
  }

  .section,
  .section-alt,
  .section-security {
    background: none !important;
    color: #000 !important;
    padding: 16pt 0 !important;
  }
  .section-security h2,
  .section-security h3,
  .section-security p,
  .security-card h3,
  .security-card p {
    color: #000 !important;
  }

  .container { width: 100% !important; max-width: none !important; }

  a { text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
  .nav-links a[href]::after { content: none; }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .nav-toggle,
  .trust-badges { display: none !important; }

  * { box-shadow: none !important; text-shadow: none !important; }

  .price-card,
  .plan-card,
  .feature-card,
  .glass-card,
  .security-card,
  .testimonial-card,
  .phase-card {
    break-inside: avoid;
    border: 1px solid #ccc !important;
    background: #fff !important;
  }
}


/* ============================================================================
   42. ACCESSIBILITY
   ============================================================================ */

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

.btn:focus-visible,
.price-card-btn:focus-visible,
.btn-plan:focus-visible,
.sector-tab:focus-visible,
.faq-q:focus-visible,
.sector-cta:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--primary-ring);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  background: var(--primary);
  color: var(--white);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 10000;
  transition: top var(--duration-fast);
}
.skip-link:focus {
  top: var(--sp-4);
}

@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;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .float-anim,
  .count-anim {
    animation: none !important;
  }

  .hero-title,
  .hero-subtitle,
  .hero-lead,
  .hero-actions,
  .hero-pricing,
  .hero-metrics {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-contrast: high) {
  :root {
    --border: var(--gray-400);
    --border-hover: var(--gray-500);
    --text-muted: var(--gray-700);
    --text-secondary: var(--gray-800);
  }

  .price-card,
  .plan-card,
  .feature-card,
  .glass-card,
  .phase-card,
  .testimonial-card {
    border-width: 2px;
  }
}


/* ============================================================================
   43. UTILITY HELPERS
   ============================================================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================================================
   44. LEARNING HUB / HELP CENTER
   ============================================================================ */

/* ── Hero banner ── */
.lhub-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  padding: var(--sp-16) 0 var(--sp-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lhub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,.12) 0%, transparent 70%);
  pointer-events: none;
}
.lhub-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--sp-3);
  position: relative;
}
.lhub-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.7);
  max-width: 540px;
  margin: 0 auto var(--sp-8);
  position: relative;
}

/* ── Search bar ── */
.lhub-search {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.lhub-search__box {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  padding: var(--sp-3) var(--sp-5);
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
  transition: border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}
.lhub-search__box:focus-within {
  border-color: var(--blue-400);
  box-shadow: 0 4px 24px rgba(59,130,246,.18);
}
.lhub-search__box svg {
  color: var(--text-muted);
  flex-shrink: 0;
}
.lhub-search__input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--text);
  width: 100%;
}
.lhub-search__input::placeholder {
  color: var(--text-light);
}

/* ── Video tutorials grid ── */
.lhub-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.lhub-vcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
  cursor: pointer;
}
.lhub-vcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}

.lhub-vcard__thumb {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Subtle grid placeholder over video thumbnails */
.lhub-vcard__thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}
.lhub-vcard__thumb > * {
  position: relative;
  z-index: 1;
}
.lhub-vcard__play {
  width: 56px;
  height: 56px;
  opacity: .85;
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}
.lhub-vcard:hover .lhub-vcard__play {
  opacity: 1;
  transform: scale(1.1);
}
.lhub-vcard__duration {
  position: absolute;
  bottom: var(--sp-2);
  right: var(--sp-2);
  background: rgba(0,0,0,.75);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: .02em;
}

.lhub-vcard__body {
  padding: var(--sp-5);
}
.lhub-vcard__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: var(--sp-2);
}
.lhub-vcard__tag--start      { background: var(--blue-100);   color: var(--blue-600); }
.lhub-vcard__tag--advanced   { background: #E0F4F8;           color: #106EBE; }
.lhub-vcard__tag--enterprise { background: var(--amber-100);  color: #B45309; }

.lhub-vcard__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-1);
  line-height: 1.35;
}
.lhub-vcard__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ── Documentation cards ── */
.lhub-docs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
.lhub-dcard {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  text-decoration: none;
  color: inherit;
  transition: all var(--duration-base) var(--ease-out);
}
.lhub-dcard:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(0,120,212,.08);
}
.lhub-dcard__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-out);
}
.lhub-dcard:hover .lhub-dcard__icon {
  transform: scale(1.08);
}
.lhub-dcard__icon--install      { background: var(--blue-100);   color: var(--blue-600); }
.lhub-dcard__icon--api          { background: #E0F4F8;           color: #106EBE; }
.lhub-dcard__icon--keyboard     { background: var(--green-100);  color: var(--green-600); }
.lhub-dcard__icon--troubleshoot { background: var(--amber-100);  color: #B45309; }

.lhub-dcard__body {
  flex: 1;
  min-width: 0;
}
.lhub-dcard__body h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.lhub-dcard__body p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}
.lhub-dcard__arrow {
  font-size: var(--text-lg);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-out),
              color var(--duration-base) var(--ease-out);
}
.lhub-dcard:hover .lhub-dcard__arrow {
  color: var(--primary);
  transform: translateX(4px);
}

.lhub-training-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  background: linear-gradient(135deg, var(--navy-900) 0%, #1E3A5F 100%);
  border-radius: var(--radius-xl);
  padding: var(--sp-6) var(--sp-8);
  color: var(--white);
}
.lhub-training-banner__content {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: var(--text-lg);
  font-weight: 600;
}
.lhub-training-banner__content svg {
  flex-shrink: 0;
  color: var(--blue-300);
}

/* ── Training preview cards (Surfe insights style) ── */
.lhub-training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.lhub-tcard {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex;
  flex-direction: column;
}
.lhub-tcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 34, 74, 0.08);
  border-color: #cbd5e1;
}
.lhub-tcard__header {
  background: linear-gradient(135deg, #f0f9fc 0%, #e8f4f8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 20px;
  border-bottom: 1px solid #e8ecf1;
}
.lhub-tcard__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.lhub-tcard:hover .lhub-tcard__header {
  background: linear-gradient(135deg, #e4f5fa 0%, #daeef5 100%);
}
.lhub-tcard__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lhub-tcard__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  width: fit-content;
  border: 1px solid;
}
.lhub-tcard__tag--start {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}
.lhub-tcard__tag--advanced {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.lhub-tcard__tag--enterprise {
  background: #fefce8;
  color: #a16207;
  border-color: #fde68a;
}

.lhub-tcard__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.4;
}
.lhub-tcard__desc {
  font-size: 0.90rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 auto;
}

.lhub-tcard__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.lhub-tcard__date {
  font-size: 0.75rem;
  color: #94a3b8;
}
.lhub-tcard__author {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ── No results ── */
.lhub-no-results {
  padding: var(--sp-8) 0;
}

/* ── Hidden cards during search ── */
[data-lhub-card].lhub-hidden {
  display: none !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .lhub-videos {
    grid-template-columns: repeat(2, 1fr);
  }
  .lhub-training-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lhub-training-banner {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 640px) {
  .lhub-hero {
    padding: var(--sp-10) 0 var(--sp-8);
  }
  .lhub-videos {
    grid-template-columns: 1fr;
  }
  .lhub-training-grid {
    grid-template-columns: 1fr;
  }
  .lhub-docs {
    grid-template-columns: 1fr;
  }
  .lhub-dcard {
    flex-direction: column;
    text-align: center;
  }
  .lhub-dcard__arrow {
    display: none;
  }
  .lhub-training-banner {
    padding: var(--sp-5) var(--sp-5);
  }
  .lhub-training-banner__content {
    font-size: var(--text-base);
  }
}


/* ============================================================================
   45. SPA PAGE TRANSITIONS
   ============================================================================ */

[data-landing-page] {
  animation: lpFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-landing-page].lp-hidden {
  display: none !important;
}

@keyframes lpFadeIn {
  from { opacity: 0; transform: translateY(18px) scale(0.99); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Active nav link in SPA mode */
#headerNav a[data-nav-route].active {
  color: var(--accent, #0078D4);
  font-weight: 600;
}
#headerNav a[data-nav-route].active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent, #0078D4);
  border-radius: 2px;
}
#headerNav a[data-nav-route] {
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  [data-landing-page] {
    animation: none;
  }
}


/* ============================================================================
   SVG ILLUSTRATIONS — Product mockups & section visuals
   ============================================================================ */

/* Section visual containers */
.section-visual {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-8);
}

.section-illustration {
  width: 100%;
  height: auto;
  display: block;
}

.sectors-svg {
  max-width: 480px;
}

/* How it works: spacing between heading, flow diagram, and phase cards */
#approach .section-heading {
  margin-bottom: var(--sp-6);
}
#approach .section-visual {
  margin-bottom: var(--sp-10);
}

.how-it-works-svg {
  max-width: 640px;
  overflow: visible;
}

@media (min-width: 900px) {
  .phases-grid {
    position: relative;
  }
  /* Subtle horizontal link behind cards (complements SVG connectors above) */
  .phases-grid::before {
    content: "";
    position: absolute;
    top: 3.25rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #cbd5e1 12%, #cbd5e1 88%, transparent 100%);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    border-radius: 1px;
  }
  .phases-grid .phase-card {
    position: relative;
    z-index: 1;
  }
}

.faq-svg {
  max-width: 300px;
}

.faq-visual {
  margin-bottom: var(--sp-6);
}

/* Stat icons */
.stat-icon {
  display: block;
  margin: 0 auto var(--sp-2);
  opacity: 0.85;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-visual {
    margin-bottom: var(--sp-5);
  }

  .sectors-svg {
    max-width: 320px;
  }

  .how-it-works-svg {
    max-width: 100%;
  }

  .faq-svg {
    max-width: 220px;
  }

  .stat-icon {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .sectors-svg {
    max-width: 260px;
  }
}

/* ==========================================================================
   Home — Product teaser cards
   ========================================================================== */

.home-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  max-width: 880px;
  margin: 0 auto;
}

.home-teaser-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border: 1.5px solid rgba(0, 120, 212, 0.18);
  border-radius: var(--radius-lg, 16px);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(1, 34, 74, 0.06);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s, background 0.25s;
}

.home-teaser-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(0, 120, 212, 0.1), transparent 55%);
  opacity: 0.75;
  pointer-events: none;
}

.home-teaser-card:hover {
  border-color: var(--primary, #0078D4);
  box-shadow: 0 18px 48px rgba(0, 120, 212, 0.16);
  transform: translateY(-4px);
}

.home-teaser-card:focus-visible {
  outline: 3px solid rgba(0, 120, 212, 0.3);
  outline-offset: 3px;
}

.home-teaser-card .product-icon {
  margin-bottom: var(--sp-4);
}

.home-teaser-card h3 {
  font-size: var(--text-lg, 1.125rem);
  font-weight: 700;
  margin: 0 0 var(--sp-2);
}

.home-teaser-card p {
  font-size: var(--text-sm, 0.875rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 var(--sp-4);
  flex: 1;
}

.home-teaser-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm, 0.875rem);
  font-weight: 750;
  color: #fff;
  background: var(--primary, #0078D4);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  gap: 6px;
  box-shadow: 0 6px 16px rgba(0, 120, 212, 0.22);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.home-teaser-link::after {
  content: "\2192";
  transition: transform 0.2s;
}

.home-teaser-card:hover .home-teaser-link::after {
  transform: translateX(4px);
}
.home-teaser-card:hover .home-teaser-link {
  background: #01224A;
  box-shadow: 0 8px 20px rgba(1, 34, 74, 0.24);
}

.home-pricing-cta {
  text-align: center;
  margin-top: var(--sp-8);
}

@media (max-width: 600px) {
  .home-teaser-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   SECURITY PAGE
   ============================================================================ */

.secpage-updated {
  font-size: var(--text-sm) !important;
  color: var(--text-muted) !important;
  margin-top: var(--sp-2);
}

.secpage-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

.secpage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.secpage-card:hover {
  box-shadow: 0 8px 32px rgba(1, 34, 74, 0.08);
  transform: translateY(-2px);
}
.secpage-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 120, 212, 0.08);
  border-radius: 50%;
}
.secpage-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-2);
}
.secpage-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.secpage-content {
  max-width: 780px;
  margin: 0 auto;
}

.secpage-section {
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid var(--border);
}
.secpage-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.secpage-section h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--sp-3);
}
.secpage-section p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-4);
}
.secpage-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.secpage-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: var(--sp-3);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.6;
}
.secpage-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%230B92B5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center/contain;
}
.secpage-contact {
  font-weight: 600;
  color: var(--text);
}
.secpage-contact a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .secpage-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .secpage-pillars {
    grid-template-columns: 1fr;
  }
}
