/* ============================================================
   BOXES VDR — Design System
   Palette: "Electric" — Black · Violet · Lime · White
   Roles: violet = brand accent (var --teal kept for compatibility),
          lime = primary action, black = surfaces/headings, white = light.
   ============================================================ */

:root {
  /* Brand palette */
  --navy: #000000;          /* black — dark surfaces & headings */
  --royal: #2A0F52;         /* deep violet — gradient depth */
  --teal: #7E3BED;          /* VIOLET — primary brand accent */
  --teal-dark: #6A2BD0;     /* darker violet — accent text on light */
  --teal-deep: #000000;     /* black — text on bright accents */
  --lime: #C6FF34;          /* LIME — primary action color */
  --lime-dark: #B2E92A;     /* lime hover */
  --slate: #6B6770;         /* neutral gray — body/secondary text */
  --cloud: #F4F3F8;         /* off-white (violet-tinted) light bg */
  --ink: #0A0A0A;           /* near-black body text */
  --white: #FFFFFF;
  --light-blue: #FFFFFF;

  /* Derived tints */
  --navy-800: #17131F;      /* very dark violet — cards on dark */
  --navy-900: #000000;
  --teal-soft: rgba(126, 59, 237, 0.12);
  --teal-glow: rgba(126, 59, 237, 0.35);
  --lime-soft: rgba(198, 255, 52, 0.16);
  --border-light: #E6E3EE;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.16);
  --shadow-teal: 0 10px 32px rgba(126, 59, 237, 0.28);
  --shadow-lime: 0 10px 32px rgba(198, 255, 52, 0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; font-weight: 600; letter-spacing: -0.02em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Utility ---------- */
.text-teal { color: var(--teal); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--teal); border-radius: 2px; }
.dark .eyebrow, .on-dark .eyebrow { color: var(--teal); }

.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); color: var(--navy); margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--slate); }
.dark .section-head h2, .on-dark .section-head h2 { color: var(--white); }
.dark .section-head p, .on-dark .section-head p { color: rgba(255, 255, 255, 0.75); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 10px;
  font-weight: 600; font-size: 15px; font-family: var(--font-body);
  transition: all 0.25s ease; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: var(--lime); color: #000000;
  box-shadow: var(--shadow-lime);
}
.btn-primary:hover { background: var(--lime-dark); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(198, 255, 52, 0.5); }
.btn-secondary {
  background: transparent; color: var(--navy);
  border: 1.5px solid rgba(0, 0, 0, 0.25);
}
.btn-secondary:hover { border-color: var(--navy); background: rgba(0, 0, 0, 0.04); transform: translateY(-2px); }
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08); color: var(--light-blue);
  border: 1.5px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); transform: translateY(-2px); }
.btn-lg { padding: 17px 36px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all 0.3s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
.site-header.solid {
  background: var(--navy);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 44px; width: auto; display: block; }
.site-footer .logo img { height: 48px; }
@media (max-width: 560px) { .logo img { height: 38px; } }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
}
.nav-link:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.nav-link .caret { width: 10px; height: 10px; transition: transform 0.25s ease; opacity: 0.6; }
.nav-item:hover .nav-link .caret { transform: rotate(180deg); }

/* Mega menu / dropdown */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border-light);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all 0.28s cubic-bezier(0.25, 0.8, 0.3, 1);
  padding: 28px;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown::before {
  content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 14px;
}
.mega { width: 880px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.mega-2col { width: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.dropdown-simple { width: 280px; display: flex; flex-direction: column; gap: 2px; }
.menu-group-title {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 12px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}
.menu-links { display: flex; flex-direction: column; gap: 1px; }
.menu-links a {
  display: block; padding: 8px 10px; margin: 0 -10px; border-radius: 8px;
  font-size: 14px; color: var(--navy); font-weight: 500;
  transition: all 0.18s ease;
}
.menu-links a:hover { background: var(--teal-soft); color: var(--teal-dark); padding-left: 14px; }
.menu-links a small { display: block; font-size: 12px; color: var(--slate); font-weight: 400; margin-top: 1px; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-switch {
  font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, 0.8);
  padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}
.lang-switch:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.login-link { font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, 0.85); padding: 8px 12px; }
.login-link:hover { color: var(--white); }

/* Mobile nav toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 45%, var(--royal) 100%);
  color: var(--white);
  padding: 200px 0 130px;
}
.hero-inner { position: relative; z-index: 2; max-width: 840px; }
.hero.center .hero-inner { margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(126, 59, 237, 0.12); border: 1px solid rgba(126, 59, 237, 0.35);
  color: var(--teal); font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: 100px; margin-bottom: 28px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--teal-glow); }
  50% { box-shadow: 0 0 0 7px rgba(126, 59, 237, 0); }
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px); font-weight: 700; color: var(--white);
  margin-bottom: 24px; letter-spacing: -0.025em;
}
.hero h1 .grad {
  background: linear-gradient(95deg, var(--teal) 10%, #C6FF34 60%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .sub {
  font-size: clamp(17px, 2vw, 20px); color: rgba(255, 255, 255, 0.78);
  max-width: 640px; margin-bottom: 40px; line-height: 1.7;
}
.hero.center .sub { margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero.center .hero-cta { justify-content: center; }

/* Decorative layers */
.hero-glow {
  position: absolute; pointer-events: none; border-radius: 50%; filter: blur(90px);
}
.hero-glow.g1 { width: 600px; height: 600px; background: rgba(126, 59, 237, 0.18); top: -180px; right: -140px; }
.hero-glow.g2 { width: 500px; height: 500px; background: rgba(198, 255, 52, 0.16); bottom: -220px; left: -120px; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
}

/* Reassurance bar */
.reassure {
  display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 56px;
  padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero.center .reassure { justify-content: center; }
.reassure li {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.75);
}
.reassure li svg { width: 17px; height: 17px; color: var(--teal); flex-shrink: 0; }

/* Hero visual mock */
.hero-visual { position: relative; z-index: 2; margin-top: 72px; }
.window-mock {
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl); padding: 14px;
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 4px 8px 14px; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.window-bar i:first-child { background: rgba(126, 59, 237, 0.8); }
.window-body {
  background: var(--navy-900); border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Logo / social proof bar ---------- */
.proof { background: var(--white); padding: 56px 0; border-bottom: 1px solid var(--border-light); }
.proof-label { text-align: center; font-size: 14px; color: var(--slate); margin-bottom: 30px; font-weight: 500; }
.proof-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px 56px; }
.proof-logo {
  font-family: var(--font-display); font-weight: 700; font-size: 19px; color: #B5B2C0;
  letter-spacing: 0.02em; transition: color 0.3s ease; user-select: none;
}
.proof-logo:hover { color: var(--slate); }
.proof-stats { display: flex; justify-content: center; gap: 18px 48px; flex-wrap: wrap; margin-top: 36px; }
.proof-stat { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--slate); }
.proof-stat strong { font-family: var(--font-display); color: var(--navy); font-size: 18px; }
.stars { color: #F2B824; letter-spacing: 2px; font-size: 15px; }

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 36px 30px;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.3, 1);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(126, 59, 237, 0.4); }
.card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), #C6FF34);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.card:hover::after { transform: scaleX(1); }
.card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--slate); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 22px;
  background: var(--teal-soft); color: var(--teal-dark);
  display: grid; place-items: center;
}
.card .icon svg { width: 25px; height: 25px; }
.card-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  font-size: 14px; font-weight: 600; color: var(--teal-dark);
}
.card-link svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.card:hover .card-link svg, .card-link:hover svg { transform: translateX(4px); }

/* Dark cards */
.card-dark {
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg); padding: 36px 30px;
  transition: all 0.35s ease; backdrop-filter: blur(8px);
}
.card-dark:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(126, 59, 237, 0.45); transform: translateY(-6px); }
.card-dark h3 { font-size: 19px; color: var(--white); margin-bottom: 10px; }
.card-dark p { font-size: 15px; color: rgba(255, 255, 255, 0.68); }
.card-dark .icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 22px;
  background: rgba(126, 59, 237, 0.14); color: var(--teal);
  display: grid; place-items: center;
}
.card-dark .icon svg { width: 25px; height: 25px; }

/* ---------- Journey (4 stages) ---------- */
.journey { counter-reset: stage; }
.stage-card {
  position: relative; background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 40px 32px;
  transition: all 0.35s ease;
}
.stage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stage-num {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-dark);
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.stage-num::before {
  counter-increment: stage; content: '0' counter(stage);
  font-size: 30px; color: rgba(126, 59, 237, 0.32); letter-spacing: 0;
}
.stage-card h3 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.stage-card > p { font-size: 15px; color: var(--slate); margin-bottom: 20px; }
.stage-feats { display: flex; flex-direction: column; gap: 9px; }
.stage-feats li {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--navy); font-weight: 500;
}
.stage-feats li svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; }

/* ---------- Dark section ---------- */
.dark {
  background: linear-gradient(170deg, var(--navy-900) 0%, var(--navy) 60%, #17131F 100%);
  color: var(--white); position: relative; overflow: hidden;
}
.dark .hero-grid { opacity: 0.35; }

/* Badges row */
.badges-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.badge-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, 0.85);
}
.badge-chip svg { width: 15px; height: 15px; color: var(--teal); }
.badge-chip.light { background: var(--cloud); border-color: var(--border-light); color: var(--navy); }

/* ---------- Stats / results ---------- */
.result-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 40px 32px; text-align: center;
  transition: all 0.35s ease;
}
.result-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.result-num {
  font-family: var(--font-display); font-size: clamp(42px, 5vw, 58px); font-weight: 700;
  color: var(--navy); line-height: 1; margin-bottom: 12px;
}
.result-num .unit { color: var(--teal); }
.result-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; }
.result-card p { font-size: 14px; color: var(--slate); }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 36px;
  display: flex; flex-direction: column; gap: 22px;
  transition: all 0.35s ease;
}
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.quote-mark { font-family: var(--font-display); font-size: 54px; line-height: 0.6; color: var(--teal); }
.quote-card blockquote { font-size: 16.5px; color: var(--navy); line-height: 1.7; font-weight: 450; flex: 1; }
.quote-author { display: flex; align-items: center; gap: 14px; }
.quote-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--royal), var(--teal));
  display: grid; place-items: center;
  color: var(--white); font-weight: 700; font-size: 15px; font-family: var(--font-display);
}
.quote-author strong { display: block; font-size: 14.5px; color: var(--navy); }
.quote-author span { font-size: 13px; color: var(--slate); }

/* ---------- Split feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse > .split-visual { order: -1; }
.split h2 { font-size: clamp(28px, 3.4vw, 38px); color: var(--navy); margin-bottom: 18px; }
.split > div > p { font-size: 17px; color: var(--slate); margin-bottom: 26px; }
.check-list { display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .ck {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; margin-top: 2px;
  background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center;
}
.check-list .ck svg { width: 14px; height: 14px; }
.check-list strong { display: block; font-size: 15.5px; color: var(--navy); margin-bottom: 2px; }
.check-list p { font-size: 14.5px; color: var(--slate); }

.split-visual {
  background: linear-gradient(150deg, var(--cloud), #ECEAF4);
  border: 1px solid var(--border-light); border-radius: var(--radius-xl);
  padding: 36px; min-height: 380px;
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.split-visual::before {
  content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(126, 59, 237, 0.14); filter: blur(60px); top: -80px; right: -80px;
}

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.plan {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: 40px 34px;
  display: flex; flex-direction: column;
  transition: all 0.35s ease; position: relative;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan.featured {
  background: linear-gradient(170deg, var(--navy-900), var(--navy) 70%);
  border-color: rgba(126, 59, 237, 0.5);
  box-shadow: var(--shadow-lg);
}
.plan-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--lime); color: #000000;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 100px; box-shadow: var(--shadow-lime); white-space: nowrap;
}
.plan h3 { font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.plan.featured h3 { color: var(--white); }
.plan .for { font-size: 14px; color: var(--slate); margin-bottom: 24px; }
.plan.featured .for { color: rgba(255, 255, 255, 0.65); }
.plan-price { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border-light); }
.plan.featured .plan-price { color: var(--teal); border-color: rgba(255, 255, 255, 0.14); }
.plan-feats { display: flex; flex-direction: column; gap: 13px; flex: 1; margin-bottom: 32px; }
.plan-feats li { display: flex; gap: 11px; font-size: 14.5px; color: var(--navy); align-items: flex-start; }
.plan.featured .plan-feats li { color: rgba(255, 255, 255, 0.85); }
.plan-feats svg { width: 17px; height: 17px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }

/* ---------- Tables ---------- */
.cmp-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.cmp-table th, .cmp-table td { padding: 16px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border-light); }
.cmp-table thead th { background: var(--navy); color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody tr:hover { background: var(--cloud); }
.cmp-table td:first-child { font-weight: 600; color: var(--navy); }
.cmp-table td { color: var(--slate); }
.tick { color: var(--teal-dark); font-weight: 700; }
.no-tick { color: #C6C2D0; }

/* ---------- Accordion / FAQ ---------- */
.accordion { display: flex; flex-direction: column; gap: 14px; }
.acc-item {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); overflow: hidden; transition: all 0.3s ease;
}
.acc-item.open { border-color: rgba(126, 59, 237, 0.45); box-shadow: var(--shadow-md); }
.acc-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; text-align: left;
  font-size: 16px; font-weight: 600; color: var(--navy); font-family: var(--font-body);
}
.acc-q .plus { width: 22px; height: 22px; color: var(--teal-dark); flex-shrink: 0; transition: transform 0.3s ease; }
.acc-item.open .acc-q .plus { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.acc-a p { padding: 0 24px 22px; font-size: 15px; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 50%, var(--royal) 100%);
  border-radius: var(--radius-xl);
  padding: 80px 60px; text-align: center; color: var(--white);
}
.cta-band::before {
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: rgba(126, 59, 237, 0.16); filter: blur(90px); top: -200px; right: -120px;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; position: relative; }
.cta-band p { font-size: 18px; color: rgba(255, 255, 255, 0.75); margin-bottom: 36px; position: relative; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .hero-cta { justify-content: center; position: relative; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 55%, var(--royal) 100%);
  color: var(--white); padding: 180px 0 96px;
}
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; margin-bottom: 20px; max-width: 760px; letter-spacing: -0.025em; }
.page-hero .sub { font-size: 18px; color: rgba(255, 255, 255, 0.75); max-width: 620px; line-height: 1.7; margin-bottom: 36px; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .sub { margin-left: auto; margin-right: auto; }
.page-hero.center .hero-cta { justify-content: center; }
.breadcrumb { display: flex; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, 0.55); margin-bottom: 24px; font-weight: 500; }
.page-hero.center .breadcrumb { justify-content: center; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--teal); }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; background: var(--cloud); border: 1px solid var(--border-light); padding: 5px; border-radius: 12px; gap: 4px; margin-bottom: 48px; }
.tab-btn {
  padding: 11px 26px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--slate);
  transition: all 0.25s ease;
}
.tab-btn.active { background: var(--navy); color: var(--white); box-shadow: var(--shadow-md); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.5s ease; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: 44px; box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 16px; border-radius: 10px;
  border: 1.5px solid var(--border-light); background: var(--cloud);
  transition: all 0.2s ease; width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--teal); background: var(--white);
  box-shadow: 0 0 0 4px var(--teal-soft);
}
.form-note { font-size: 13px; color: var(--slate); margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); padding: 80px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-brand p { font-size: 14.5px; margin: 20px 0 26px; max-width: 300px; line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; font-family: var(--font-body); }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--teal); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges span {
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 6px;
  padding: 5px 10px; color: rgba(255, 255, 255, 0.6);
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 32px; font-size: 13.5px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a:hover { color: var(--teal); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15); transition: all 0.25s ease;
}
.footer-social a:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }

.newsletter { display: flex; gap: 10px; margin-top: 8px; }
.newsletter input {
  flex: 1; font: inherit; font-size: 14px; color: var(--white);
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px; padding: 11px 14px;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.4); }
.newsletter input:focus { outline: none; border-color: var(--teal); }

/* ---------- Reveal animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.8, 0.3, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; position: relative; }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: scroll 32s linear infinite; align-items: center; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Bg helpers ---------- */
.bg-cloud { background: var(--cloud); }

/* ---------- Security layer table ---------- */
.layer-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px;
  padding: 26px 0; border-bottom: 1px solid var(--border-light); align-items: start;
}
.layer-row:last-child { border-bottom: none; }
.layer-row h3 { font-size: 17px; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.layer-row h3 svg { width: 20px; height: 20px; color: var(--teal-dark); flex-shrink: 0; }
.layer-row p { color: var(--slate); font-size: 15px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .mega { width: 720px; grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 920px) {
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
    background: var(--navy-900); flex-direction: column; align-items: stretch;
    padding: 96px 28px 40px; gap: 4px; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.3, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5); z-index: 999;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-link { justify-content: space-between; padding: 14px 12px; font-size: 16px; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    width: 100% !important; box-shadow: none; border: none; background: transparent;
    display: none; padding: 4px 12px 16px; grid-template-columns: 1fr; gap: 18px;
  }
  .nav-item.open .dropdown { display: grid; }
  .dropdown-simple.dropdown { display: none; }
  .nav-item.open .dropdown-simple.dropdown { display: flex; }
  .menu-group-title { color: var(--teal); border-color: rgba(255,255,255,0.12); }
  .menu-links a { color: rgba(255, 255, 255, 0.8); }
  .menu-links a:hover { background: rgba(255,255,255,0.06); color: var(--white); }
  .menu-links a small { color: rgba(255, 255, 255, 0.45); }
  .nav-toggle { display: flex; z-index: 1001; }
  .header-actions .login-link, .header-actions .btn-sm.btn-ghost-light { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse > .split-visual { order: 0; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section { padding: 76px 0; }
  .hero { padding: 150px 0 90px; }
  .page-hero { padding: 140px 0 72px; }
  .cta-band { padding: 60px 32px; }
  .layer-row { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .tabs { width: 100%; }
  .tab-btn { flex: 1; padding: 11px 10px; font-size: 13.5px; }
}

/* ============================================================
   RTL — Arabic
   ============================================================ */
html[lang="ar"] {
  --font-display: 'IBM Plex Sans Arabic', 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Segoe UI', sans-serif;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; }
[dir="rtl"] .hero h1, [dir="rtl"] .page-hero h1 { letter-spacing: 0; }
[dir="rtl"] .logo-text { letter-spacing: 0.01em; }
[dir="rtl"] .eyebrow { letter-spacing: 0; }
[dir="rtl"] .menu-group-title, [dir="rtl"] .stage-num, [dir="rtl"] .plan-tag, [dir="rtl"] .footer-col h4 { letter-spacing: 0; }

/* Flip directional arrows */
[dir="rtl"] .btn svg, [dir="rtl"] .card-link svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .card:hover .card-link svg, [dir="rtl"] .card-link:hover svg { transform: scaleX(-1) translateX(4px); }

/* Menu hover slide direction */
[dir="rtl"] .menu-links a:hover { padding-left: 10px; padding-right: 14px; }

/* Tables & accordions */
[dir="rtl"] .cmp-table th, [dir="rtl"] .cmp-table td { text-align: right; }
[dir="rtl"] .acc-q { text-align: right; }

/* Marquee direction */
[dir="rtl"] .marquee-track { animation-name: scroll-rtl; }
@keyframes scroll-rtl { to { transform: translateX(50%); } }

/* Mobile nav slides from the left in RTL */
@media (max-width: 920px) {
  [dir="rtl"] .main-nav {
    right: auto; left: 0;
    transform: translateX(-100%);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.5);
  }
  [dir="rtl"] .main-nav.open { transform: translateX(0); }
}

/* ---------- Coming soon badge ---------- */
.soon-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(242, 184, 36, 0.14); color: #8A6A00;
  border: 1px solid rgba(242, 184, 36, 0.45);
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
  padding: 4px 13px; border-radius: 100px; margin-bottom: 14px;
}
.card-dark .soon-chip, .dark .soon-chip {
  background: rgba(242, 184, 36, 0.12); color: #F2B824;
  border-color: rgba(242, 184, 36, 0.35);
}
.soon-inline {
  display: inline-block; vertical-align: middle;
  background: rgba(242, 184, 36, 0.14); color: #8A6A00;
  border: 1px solid rgba(242, 184, 36, 0.45);
  font-size: 11px; font-weight: 700; padding: 2px 10px;
  border-radius: 100px; margin-inline-start: 8px; line-height: 1.5;
}

/* ---------- Solution detail: challenge band ---------- */
.challenge-band {
  position: relative; background: var(--cloud);
  border: 1px solid var(--border-light); border-inline-start: 4px solid var(--teal);
  border-radius: var(--radius-lg); padding: 36px 40px;
}
.challenge-band .eyebrow { margin-bottom: 12px; }
.challenge-text { font-family: var(--font-display); font-weight: 500;
  font-size: clamp(19px, 2.4vw, 26px); line-height: 1.5; color: var(--navy); letter-spacing: -0.01em; }

/* ---------- Solution detail: document checklist grid ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.doc-chip {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 16px 18px;
  font-size: 14.5px; font-weight: 500; color: var(--navy);
  transition: all 0.3s ease;
}
.doc-chip:hover { border-color: rgba(126,59,237,0.45); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.doc-ico { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; }
.doc-ico svg { width: 17px; height: 17px; }

@media (max-width: 1080px) { .doc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .doc-grid { grid-template-columns: 1fr; }
  .challenge-band { padding: 28px 24px; }
}

/* ============================================================
   Page navigation feedback — smooth transitions
   ============================================================ */

/* Native cross-fade between pages where supported (Chrome/Edge/Safari) */
@view-transition { navigation: auto; }

/* Soft fade-in on every page load (universal fallback + feedback) */
@keyframes fadeInPage { from { opacity: 0; } to { opacity: 1; } }
body { animation: fadeInPage 0.3s ease both; }

/* Hero content rises on entry — the clear "new page" cue.
   Safe: .hero/.page-hero are NOT ancestors of the fixed header. */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero > .container, .page-hero > .container {
  animation: heroRise 0.55s cubic-bezier(0.25, 0.8, 0.3, 1) both;
}

/* Active section in the header nav */
.nav-link.active { color: var(--white); background: rgba(255, 255, 255, 0.10); }
.nav-link.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--teal); border-radius: 2px;
}
.nav-item { } /* keep position context for ::after */

@media (prefers-reduced-motion: reduce) {
  body, .hero > .container, .page-hero > .container { animation: none; }
}
