/* ==========================================================================
   INSURIO — HIGH-END B2B SAAS DESIGN SYSTEM (SHORT & STREAMLINED HOMEPAGE)
   Aesthetic: Stripe / Linear / Vercel / Modern Fintech
   Balance: Clean (9/10), Visual Presence (8/10), Strong Typography, Fast Scan
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Palette */
  --brand-navy-950: #050B14;
  --brand-navy-900: #0B192C;
  --brand-navy-850: #0F223D;
  --brand-navy-800: #142A4A;
  --brand-navy-700: #1E3A5F;

  --brand-gold-500: #C59B27;
  --brand-gold-400: #D8AF38;
  --brand-gold-300: #EAD074;
  --brand-gold-100: #FEF9E7;
  --brand-gold-glow: rgba(197, 155, 39, 0.15);

  --brand-emerald-500: #10B981;
  --brand-emerald-100: #ECFDF5;

  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-subtle-alt: #F1F5F9;
  --bg-dark: #0B192C;

  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --border-hairline: #E2E8F0;
  --border-subtle: #EDF2F7;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-latin: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'IBM Plex Sans Arabic', 'Tajawal', -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --font-current: var(--font-latin);

  /* Spacing & Layout */
  --container-max: 1280px;
  --header-height: 76px;
  --section-padding: 7rem;
  --section-padding-mobile: 4.5rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"], body.rtl-mode {
  --font-current: var(--font-arabic);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-current);
  color: var(--text-secondary);
  background-color: var(--bg-page);
  line-height: 1.75;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ==========================================================================
   Accessibility & Focus System
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--brand-gold-500) !important;
  outline-offset: 3px !important;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1.5rem;
  background: var(--brand-navy-900);
  color: #FFFFFF !important;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top var(--transition-fast);
  border: 1px solid var(--brand-gold-500);
}

[dir="rtl"] .skip-link, body.rtl-mode .skip-link {
  left: auto;
  right: 1.5rem;
}

.skip-link:focus {
  top: 1rem;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.25rem;
  padding-right: 2.25rem;
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.corp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-hairline);
  z-index: 1000;
  transition: height var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.corp-header.scrolled {
  height: 66px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-crest-svg {
  width: 34px;
  height: 34px;
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--brand-navy-900);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-gold-500);
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .nav-menu {
    gap: 1rem;
  }
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--brand-navy-900);
  background: rgba(11, 25, 44, 0.04);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  line-height: 1;
  transition: all var(--transition-fast);
}

.lang-link.active {
  background: #FFFFFF;
  color: var(--brand-navy-900);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-nav {
  padding: 0.6rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  cursor: pointer;
  gap: 4px;
}

@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: flex;
  }
}

.mobile-menu-btn .bar {
  width: 20px;
  height: 2px;
  background: var(--brand-navy-900);
}

.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 25, 44, 0.4);
  backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-content {
  background: #FFFFFF;
  padding: 2.25rem 1.75rem;
  border-bottom: 1px solid var(--border-hairline);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 0.5rem 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-navy-900);
  color: #FFFFFF;
  border: 1px solid var(--brand-navy-900);
}

.btn-primary:hover {
  background: var(--brand-navy-800);
  border-color: var(--brand-navy-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -4px rgba(11, 25, 44, 0.25);
}

.btn-gold {
  background: var(--brand-gold-500);
  color: #FFFFFF;
  border: 1px solid var(--brand-gold-500);
}

.btn-gold:hover {
  background: var(--brand-gold-400);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -4px rgba(197, 155, 39, 0.35);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: #CBD5E1;
  transform: translateY(-2px);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Typography & Section Eyebrows
   ========================================================================== */
.editorial-badge {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-gold-500);
  margin-bottom: 1.25rem;
}

.editorial-badge.dark {
  color: var(--brand-gold-300);
}

.editorial-header {
  margin-bottom: 4.5rem;
}

.editorial-header.centered {
  text-align: center;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.editorial-title {
  font-size: clamp(2.3rem, 4.2vw, 3.3rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.15rem;
}

.editorial-title.dark {
  color: #FFFFFF;
}

.editorial-subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.7;
}

.editorial-subtitle.dark {
  color: #94A3B8;
}

.text-accent {
  color: var(--brand-gold-500);
}

/* ==========================================================================
   01 — HERO (Dominant H1, Wide Composition, 4-Module Abstract Visual)
   ========================================================================== */
.hero-minimal-section {
  padding-top: calc(var(--header-height) + 4.5rem);
  padding-bottom: 6rem;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-hairline);
}

.hero-editorial-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 4.5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .hero-editorial-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

.hero-editorial-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-main-h1 {
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: var(--brand-navy-900);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero-lead-text {
  font-size: clamp(1.15rem, 1.8vw, 1.28rem);
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 620px;
}

.hero-buttons-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.hero-trust-note {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Hero Abstract Visual — Minimal 4 Modules */
.hero-abstract-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-node-container {
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 10px 30px -10px rgba(11, 25, 44, 0.06);
  position: relative;
}

.hero-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-hairline);
}

.hero-node-brand {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--brand-navy-900);
  letter-spacing: 0.04em;
}

.hero-node-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-emerald-500);
  background: var(--brand-emerald-100);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.hero-data-pills-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-data-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: transform var(--transition-fast);
}

.hero-data-pill:hover {
  transform: translateX(4px);
}

[dir="rtl"] .hero-data-pill:hover {
  transform: translateX(-4px);
}

.hero-data-pill span.sub {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-gold-500);
}

/* ==========================================================================
   02 — COMPLIANCE & INDUSTRY STANDARDS (Clean Enterprise Cards)
   ========================================================================== */
.ecosystem-minimal-strip {
  padding: 4rem 0 3.5rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-hairline);
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.standard-pill-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1.1rem 0.85rem;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all var(--transition-base);
  text-align: left;
}

.standard-pill-card:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 195, 101, 0.4);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.standard-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
}

.standard-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.standard-pill-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.standard-pill-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.standard-pill-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.38;
}

@media (max-width: 1100px) {
  .standards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .ecosystem-minimal-strip {
    padding: 3rem 0;
  }

  .standards-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

/* ==========================================================================
   03 — ONE AGENCY OR MULTIPLE AGENCIES (Split Architecture)
   ========================================================================== */
.scale-split-section {
  padding: var(--section-padding) 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-hairline);
}

@media (max-width: 768px) {
  .scale-split-section {
    padding: var(--section-padding-mobile) 0;
  }
}

.scale-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

@media (max-width: 991px) {
  .scale-split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.scale-split-card {
  padding: 3.25rem 2.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  background: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.scale-split-card:hover {
  border-color: var(--brand-gold-500);
}

.scale-split-card.dark-theme {
  background: var(--brand-navy-900);
  border-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.scale-split-card.dark-theme:hover {
  border-color: var(--brand-gold-500);
}

.scale-card-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-gold-500);
  margin-bottom: 1rem;
}

.scale-card-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-navy-900);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.scale-split-card.dark-theme .scale-card-title {
  color: #FFFFFF;
}

.scale-card-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.scale-split-card.dark-theme .scale-card-subtitle {
  color: #94A3B8;
}

.scale-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.scale-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.scale-check-icon {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: var(--brand-emerald-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.scale-split-card.dark-theme .scale-check-icon {
  background: rgba(197, 155, 39, 0.18);
  color: var(--brand-gold-400);
}

.scale-feature-text strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--brand-navy-900);
  margin-bottom: 0.2rem;
}

.scale-split-card.dark-theme .scale-feature-text strong {
  color: #FFFFFF;
}

.scale-feature-text p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.scale-split-card.dark-theme .scale-feature-text p {
  color: #94A3B8;
}

/* ==========================================================================
   04 — CORE FEATURES (Asymmetric 6-Item Clean Grid)
   ========================================================================== */
.features-asymmetric-section {
  padding: var(--section-padding) 0;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-hairline);
}

@media (max-width: 768px) {
  .features-asymmetric-section {
    padding: var(--section-padding-mobile) 0;
  }
}

.features-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-top: 3.5rem;
}

@media (max-width: 991px) {
  .features-clean-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-clean-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.feature-clean-cell {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.feature-clean-cell:hover {
  border-color: var(--brand-gold-500);
  transform: translateY(-2px);
}

.feature-cell-num {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand-gold-500);
  margin-bottom: 1rem;
}

.feature-cell-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy-900);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.feature-cell-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   05 — HOW IT WORKS (4-Step Horizontal Timeline on Desktop)
   ========================================================================== */
.how-it-works-section {
  padding: var(--section-padding) 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-hairline);
}

@media (max-width: 768px) {
  .how-it-works-section {
    padding: var(--section-padding-mobile) 0;
  }
}

.timeline-horizontal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}

@media (max-width: 991px) {
  .timeline-horizontal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 576px) {
  .timeline-horizontal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.timeline-step-item {
  display: flex;
  flex-direction: column;
  position: relative;
}

.timeline-step-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--brand-navy-900);
  margin-bottom: 0.75rem;
  line-height: 1;
  opacity: 0.25;
}

.timeline-step-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy-900);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.timeline-step-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   06 — WHY INSURIO (Large Typography, 4 Core Benefits)
   ========================================================================== */
.why-insurio-section {
  padding: var(--section-padding) 0;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-hairline);
}

@media (max-width: 768px) {
  .why-insurio-section {
    padding: var(--section-padding-mobile) 0;
  }
}

.why-flat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem 4.5rem;
  margin-top: 3.5rem;
}

@media (max-width: 768px) {
  .why-flat-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.why-point-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.why-point-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.why-point-num {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--brand-gold-500);
}

.why-point-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-navy-900);
}

.why-point-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   07 — FINAL CTA & DEMO FORM (High-Converting Dark Section)
   ========================================================================== */
.cta-form-section {
  padding: var(--section-padding) 0;
  background: var(--brand-navy-950);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .cta-form-section {
    padding: var(--section-padding-mobile) 0;
  }
}

.cta-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4.5rem;
  align-items: flex-start;
}

@media (max-width: 991px) {
  .cta-form-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

.cta-pitch-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-pitch-h2 {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.cta-pitch-sub {
  font-size: 1.15rem;
  color: #94A3B8;
  line-height: 1.7;
}

.cta-pitch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.form-embedded-card {
  background: var(--brand-navy-900);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.4);
}

@media (max-width: 576px) {
  .form-embedded-card {
    padding: 2rem 1.5rem;
  }
}

.form-embedded-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.form-embedded-sub {
  font-size: 0.95rem;
  color: #94A3B8;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.form-grid-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 576px) {
  .form-grid-pair {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #CBD5E1;
}

.clean-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.96rem;
  color: #FFFFFF;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.clean-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-gold-500);
  box-shadow: 0 0 0 3px var(--brand-gold-glow);
}

.clean-input::placeholder {
  color: #64748B;
  opacity: 0.85;
}

input[type="tel"] {
  direction: ltr;
  unicode-bidi: plaintext;
}

[dir="rtl"] input[type="tel"], body.rtl-mode input[type="tel"] {
  text-align: right;
  direction: ltr;
  unicode-bidi: plaintext;
}

.form-alert {
  padding: 1.15rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.form-alert.success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.form-alert.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.form-privacy-note {
  font-size: 0.82rem;
  color: #64748B;
  text-align: center;
  margin-top: 1rem;
}

/* ==========================================================================
   FOOTER (Clean, Compact Layout)
   ========================================================================== */
.footer-clean-section {
  background: var(--brand-navy-950);
  color: #94A3B8;
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 991px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 575px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col-head {
  font-size: 0.96rem;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.35rem;
}

.footer-links-clean {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-clean a {
  font-size: 0.94rem;
  color: #94A3B8;
}

.footer-links-clean a:hover {
  color: #FFFFFF;
}

.footer-bottom-line {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

.footer-bottom-copy {
  color: var(--text-muted);
  white-space: nowrap;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.footer-bottom-badges {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  color: var(--text-muted);
  font-size: 0.78rem;
  flex-shrink: 0;
}

.footer-cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #E5C365;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.76rem;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  background: rgba(197, 155, 39, 0.12);
  border: 1px solid rgba(197, 155, 39, 0.35);
  transition: all 0.2s;
  white-space: nowrap;
}

.footer-cert-pill:hover {
  background: rgba(197, 155, 39, 0.25);
  border-color: rgba(197, 155, 39, 0.6);
}

@media (max-width: 900px) {
  .footer-bottom-line {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    white-space: normal;
  }
  .footer-bottom-badges {
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
  }
}

/* ==========================================================================
   INTERACTIVE HERO SAAS COCKPIT MOCKUP (Fintech Glassmorphism)
   ========================================================================== */
.hero-cockpit-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  perspective: 1200px;
}

.hero-cockpit-glow {
  position: absolute;
  top: -25px;
  left: -25px;
  right: -25px;
  bottom: -25px;
  background: radial-gradient(circle at 60% 40%, rgba(197, 155, 39, 0.2) 0%, rgba(16, 185, 129, 0.1) 45%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.hero-cockpit-window {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, #070F1D 0%, #0D1B33 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 30px 60px -15px rgba(5, 11, 20, 0.7), 0 0 0 1px rgba(197, 155, 39, 0.2);
  overflow: hidden;
  color: #E2E8F0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-cockpit-window:hover {
  transform: translateY(-4px) rotateX(1deg);
  box-shadow: 0 38px 75px -15px rgba(5, 11, 20, 0.8), 0 0 0 1px rgba(197, 155, 39, 0.35);
}

.cockpit-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(5, 11, 20, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mac-window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mac-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mac-dot.close { background: #FF5F56; }
.mac-dot.min { background: #FFBD2E; }
.mac-dot.max { background: #27C93F; }

.cockpit-agency-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.02em;
}

.cockpit-live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.cockpit-pulse-dot {
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.cockpit-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cockpit-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.cockpit-kpi-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
}

.cockpit-kpi-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #94A3B8;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cockpit-kpi-val {
  font-size: 1.12rem;
  font-weight: 900;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

.cockpit-kpi-badge {
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.25rem;
}
.cockpit-kpi-badge.up { color: #10B981; }
.cockpit-kpi-badge.gold { color: #E5C365; }

.cockpit-table-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
}

.cockpit-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  font-weight: 700;
  color: #CBD5E1;
}

.cockpit-table-list {
  display: flex;
  flex-direction: column;
}

.cockpit-table-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr 0.8fr;
  align-items: center;
  padding: 0.75rem 1rem;
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  transition: background 0.2s;
}
.cockpit-table-row:last-child {
  border-bottom: none;
}
.cockpit-table-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.tag-carrier {
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.tag-carrier span.code {
  font-size: 0.68rem;
  color: #94A3B8;
  font-family: monospace;
}

.tag-status-pill {
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
  display: inline-block;
}
.tag-status-pill.success {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.tag-status-pill.warning {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.tag-status-pill.info {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.cockpit-floating-alert {
  position: absolute;
  bottom: -16px;
  right: -12px;
  background: rgba(7, 15, 29, 0.95);
  border: 1px solid rgba(197, 155, 39, 0.45);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #FFFFFF;
  backdrop-filter: blur(12px);
  z-index: 5;
  animation: floatSubtle 4s ease-in-out infinite;
}

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

/* ==========================================================================
   MODULE TABS COMPONENT
   ========================================================================== */
.module-tabs-wrapper {
  margin-top: 3.5rem;
}

.module-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.module-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border-radius: 9999px;
  background: #F8FAFC;
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.module-tab-btn:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: var(--brand-navy-900);
}

.module-tab-btn.active {
  background: var(--brand-navy-900);
  border-color: var(--brand-navy-900);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.18);
}

.module-tab-btn.active .tab-icon-badge {
  background: var(--brand-gold-500);
  color: #050B14;
}

.tab-icon-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.module-tab-pane {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  animation: fadeInPane 0.3s ease;
}

.module-tab-pane.active {
  display: block;
}

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

.tab-pane-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

@media (max-width: 991px) {
  .tab-pane-grid {
    grid-template-columns: 1fr;
  }
}

.tab-pane-info {
  padding: 3.5rem;
}

@media (max-width: 768px) {
  .tab-pane-info {
    padding: 2rem 1.5rem;
  }
}

.tab-pane-tag {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-gold-500);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  display: block;
}

.tab-pane-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--brand-navy-900);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.tab-pane-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.tab-features-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.tab-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}

.tab-check-bullet {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.tab-pane-preview {
  background: #091222;
  padding: 2.5rem;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--border-hairline);
}

@media (max-width: 991px) {
  .tab-pane-preview {
    border-left: none;
    border-top: 1px solid var(--border-hairline);
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   ROI PRODUCTIVITY SIMULATOR (Interactive Calculator)
   ========================================================================== */
.roi-section-wrapper {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border-hairline);
}

.roi-card-shell {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: 24px;
  box-shadow: 0 20px 40px -10px rgba(11, 25, 44, 0.08);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 991px) {
  .roi-card-shell {
    grid-template-columns: 1fr;
    padding: 2.25rem 1.5rem;
    gap: 2.5rem;
  }
}

.roi-inputs-col {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.roi-slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.roi-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.roi-slider-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.roi-slider-bubble {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--brand-navy-900);
  background: #F1F5F9;
  padding: 0.25rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border-hairline);
}

.roi-range-input {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.roi-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-gold-500);
  box-shadow: 0 2px 8px rgba(197, 155, 39, 0.4);
  cursor: pointer;
  border: 2px solid #FFFFFF;
  transition: transform 0.15s;
}

.roi-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.roi-display-col {
  background: linear-gradient(145deg, #091222 0%, #0F1C34 100%);
  border-radius: 20px;
  padding: 2.75rem 2.25rem;
  color: #FFFFFF;
  box-shadow: 0 16px 36px -10px rgba(5, 11, 20, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.roi-stat-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.roi-stat-box:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.roi-stat-label {
  font-size: 0.9rem;
  color: #94A3B8;
  font-weight: 600;
}

.roi-stat-number {
  font-size: 1.75rem;
  font-weight: 900;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

.roi-stat-number.highlight-gold {
  color: #E5C365;
}

.roi-stat-number.highlight-emerald {
  color: #34D399;
}

/* ==========================================================================
   COMPARISON MATRIX (Insurio vs Legacy & Excel)
   ========================================================================== */
.comparison-section-wrapper {
  padding: 6.5rem 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-hairline);
}

.comparison-table-wrapper {
  margin-top: 3.5rem;
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 1.25rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  background: #F8FAFC;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-hairline);
}

.comparison-table th.insurio-col-head {
  background: var(--brand-navy-900);
  color: #FFFFFF;
  border-bottom: 1px solid var(--brand-navy-900);
}

.comparison-table td {
  padding: 1.15rem 1.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-hairline);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.insurio-col-cell {
  background: rgba(197, 155, 39, 0.04);
  font-weight: 700;
  color: var(--brand-navy-900);
}

.check-green {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #10B981;
  font-weight: 800;
}

.cross-red {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #EF4444;
  font-weight: 600;
}

/* ==========================================================================
   CYBERSECURITY & CNDP COMPLIANCE CARD
   ========================================================================== */
.security-showcase-section {
  padding: 6.5rem 0;
  background: #050B14;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.security-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 991px) {
  .security-showcase-grid {
    grid-template-columns: 1fr;
  }
}

.security-shield-card {
  background: linear-gradient(145deg, #091426 0%, #0E1F3D 100%);
  border: 1px solid rgba(197, 155, 39, 0.35);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(197, 155, 39, 0.1);
  position: relative;
}

.shield-badge-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.shield-gold-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(197, 155, 39, 0.15);
  border: 1px solid rgba(197, 155, 39, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E5C365;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 6.5rem 0;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-hairline);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

@media (max-width: 991px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.testimonial-stars {
  color: #F59E0B;
  display: flex;
  gap: 3px;
  font-size: 0.9rem;
}

.testimonial-quote {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-hairline);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-navy-900);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.testimonial-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
}

.testimonial-agency {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 6.5rem 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-hairline);
}

.faq-accordion-wrapper {
  max-width: 820px;
  margin: 3.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-accordion-item {
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  background: #F8FAFC;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-accordion-item:hover {
  border-color: #CBD5E1;
}

.faq-accordion-item.open {
  background: #FFFFFF;
  border-color: var(--brand-gold-500);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-accordion-btn {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  gap: 1rem;
}

[dir="rtl"] .faq-accordion-btn {
  text-align: right;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-accordion-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--brand-gold-500);
}

.faq-accordion-content {
  display: none;
  padding: 0 1.75rem 1.5rem;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.faq-accordion-item.open .faq-accordion-content {
  display: block;
}

/* ==========================================================================
   SECTION: PRICING PACKS (3 Tiers in 1 Row on Desktop)
   ========================================================================== */
.pricing-section-wrapper {
  padding: 6.5rem 0;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
}

.pricing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: 9999px;
  padding: 0.4rem 0.95rem;
  margin-top: 1.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pricing-toggle-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-toggle-label.active {
  color: var(--brand-navy-900);
}

.pricing-discount-pill {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
}

.pricing-switch {
  width: 48px;
  height: 26px;
  background: #CBD5E1;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.25s ease;
  padding: 2px;
}

.pricing-switch.active {
  background: var(--brand-gold-500);
}

.pricing-switch-thumb {
  display: block;
  width: 22px;
  height: 22px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(0);
}

.pricing-switch.active .pricing-switch-thumb {
  transform: translateX(22px);
}

/* 3 Cards Grid (Desktop 1 Single Row) */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  align-items: stretch;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: 24px;
  padding: 2.75rem 2.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(11, 25, 44, 0.08);
}

.pricing-card.featured {
  border: 2px solid var(--brand-gold-500);
  box-shadow: 0 20px 45px -10px rgba(197, 155, 39, 0.22);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-5px);
}

.pricing-popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #F8E79B 0%, #D4AF37 50%, #A47810 100%);
  color: #070D18;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.35rem 1.15rem;
  border-radius: 9999px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.35);
}

.pricing-card-header {
  margin-bottom: 1.75rem;
}

.pricing-tier-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.pricing-tier-tag.highlight {
  color: #B45309;
}

.pricing-tier-name {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--brand-navy-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.pricing-tier-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-price-box {
  background: #F8FAFC;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-hairline);
}

.price-val-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-currency {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-navy-900);
}

.price-amount {
  font-size: 2.85rem;
  font-weight: 900;
  color: var(--brand-navy-900);
  line-height: 1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-subnote {
  font-size: 0.75rem;
  color: #047857;
  font-weight: 700;
  margin-top: 0.4rem;
}

.pricing-features-wrap {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.pricing-features-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.feat-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #047857;
  font-weight: 900;
  font-size: 0.72rem;
  margin-top: 2px;
}

.feat-check.gold {
  background: rgba(197, 155, 39, 0.15);
  color: #926E12;
}

.pricing-card-footer {
  margin-top: auto;
}

.btn-outline-navy {
  background: #FFFFFF;
  color: var(--brand-navy-900);
  border: 1.5px solid var(--brand-navy-900);
  font-weight: 700;
}

.btn-outline-navy:hover {
  background: var(--brand-navy-900);
  color: #FFFFFF;
}

/* Guarantee Bar */
.pricing-guarantee-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.guarantee-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.guarantee-icon-box.icon-domain {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #DBEAFE;
}

.guarantee-icon-box.icon-trial {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.guarantee-icon-box.icon-migration {
  background: #F5F3FF;
  color: #7C3AED;
  border: 1px solid #DDD6FE;
}

.guarantee-icon-box.icon-support {
  background: #FFFBEB;
  color: #D97706;
  border: 1px solid #FDE68A;
}

.guarantee-icon-box.icon-security {
  background: #F0FDF4;
  color: #16A34A;
  border: 1px solid #BBF7D0;
}

.guarantee-item:hover .guarantee-icon-box {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.guarantee-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--brand-navy-900);
  font-weight: 800;
  line-height: 1.3;
}

.guarantee-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0.15rem 0 0;
  line-height: 1.35;
}

@media (max-width: 991px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
  .pricing-guarantee-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .pricing-guarantee-bar {
    grid-template-columns: 1fr;
  }
  .pricing-toggle-wrap {
    flex-direction: column;
    border-radius: 16px;
    gap: 0.5rem;
  }
}

