/* ═══════════════════════════════════════════════════════════
   ABSplitLab — "Dark Luxe Data" Design System
   Aesthetic: Bloomberg Terminal × High-Fashion Editorial
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Core palette */
  --black: #07080a;
  --black-rich: #0c0d10;
  --surface: #111318;
  --surface-raised: #181a20;
  --surface-overlay: #1e2028;
  --border: rgba(255,255,255,.06);
  --border-hover: rgba(255,255,255,.12);
  --text: #e8e9ed;
  --text-secondary: #8b8d98;
  --text-tertiary: #5c5e6a;
  --white: #ffffff;

  /* Accent — electric lime-green for data/conversion feel */
  --accent: #a3e635;
  --accent-dim: rgba(163,230,53,.15);
  --accent-glow: rgba(163,230,53,.25);

  /* Secondary accent — cool violet */
  --violet: #8b5cf6;
  --violet-dim: rgba(139,92,246,.12);

  /* Tertiary — warm coral for urgency/CTA */
  --coral: #fb7185;
  --coral-dim: rgba(251,113,133,.12);

  /* Status */
  --green: #34d399;
  --green-dim: rgba(52,211,153,.12);

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Layout */
  --max-width: 1280px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,.5);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.6);
  --shadow-glow: 0 0 60px rgba(163,230,53,.08);

  /* Transitions */
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ── 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(--text);
  background: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color .25s var(--ease-out); }
a:hover { color: var(--white); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

::selection { background: var(--accent); color: var(--black); }

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

/* ── Typography ────────────────────────────────────────── */

h1, h2, h3, h4 { line-height: 1.1; color: var(--white); }

h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -.02em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -.01em;
}

h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
}

p { color: var(--text-secondary); line-height: 1.7; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: 1px solid;
}
.badge--primary {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(163,230,53,.2);
}
.badge--green {
  background: var(--green-dim);
  color: var(--green);
  border-color: rgba(52,211,153,.2);
}
.badge--violet {
  background: var(--violet-dim);
  color: var(--violet);
  border-color: rgba(139,92,246,.2);
}

/* ── Buttons ───────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .35s var(--ease-out);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: var(--black);
  box-shadow: 0 0 0 0 var(--accent-glow), var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--accent-glow), var(--shadow-md);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--black);
}
.btn--white:hover {
  background: var(--accent);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--accent-glow);
}

.btn--large { padding: 18px 40px; font-size: 1rem; }
.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
}
.btn--ghost:hover { color: var(--white); }

/* ── Header / Nav ──────────────────────────────────────── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all .4s var(--ease-out);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7,8,10,.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}

.header.scrolled::before { opacity: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
  z-index: 1;
}

.nav__logo {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0;
  letter-spacing: -.02em;
}
.nav__logo span {
  color: var(--accent);
}
.nav__logo:hover { color: var(--white); }

.nav__links {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
  align-items: center;
}
.nav__links a {
  color: var(--text-secondary);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .25s var(--ease-out);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .3s var(--ease-out);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }

.nav__right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__cta { display: flex; gap: 12px; align-items: center; }

.nav__mobile {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  transition: all .25s;
}
.nav__mobile svg { width: 24px; height: 24px; color: var(--text); }
.nav__mobile:hover { border-color: var(--accent); }
.nav__mobile:hover svg { color: var(--accent); }

/* Language Switcher */
.lang-switcher {
  position: relative;
}
.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: .75rem;
  cursor: pointer;
  transition: all .25s;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.lang-switcher__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.lang-switcher__btn svg {
  width: 14px;
  height: 14px;
  transition: transform .25s;
}
.lang-switcher.open .lang-switcher__btn svg {
  transform: rotate(180deg);
}
.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface-raised);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .25s var(--ease-out);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  max-height: 320px;
  overflow-y: auto;
}
.lang-switcher.open .lang-switcher__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: .85rem;
  color: var(--text-secondary);
  transition: all .2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}
.lang-switcher__option:hover {
  background: var(--accent-dim);
  color: var(--accent);
}
.lang-switcher__option.active {
  color: var(--accent);
  background: var(--accent-dim);
}
.lang-switcher__option span.flag {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

/* Mobile nav overlay */
.nav__links--open {
  display: flex !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7,8,10,.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  z-index: 999;
  animation: fadeIn .3s var(--ease-out);
}
.nav__links--open a {
  font-size: 1.5rem;
  color: var(--white);
}

/* ── Hero ──────────────────────────────────────────────── */

.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Gradient mesh background */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(163,230,53,.08) 0%, transparent 70%);
  animation: floatBlob 20s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,.06) 0%, transparent 70%);
  animation: floatBlob 25s ease-in-out infinite reverse;
  pointer-events: none;
}

/* Grid pattern overlay */
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content { position: relative; }

.hero__badge {
  margin-bottom: var(--space-lg);
}

.hero__title {
  margin-bottom: var(--space-lg);
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
  position: relative;
}
.hero__title em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: .3;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 520px;
  line-height: 1.8;
}

.hero__ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.hero__proof {
  display: flex;
  gap: var(--space-3xl);
}
.hero__proof-item {
  position: relative;
}
.hero__proof-item::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--border);
}
.hero__proof-item:first-child::before { display: none; }
.hero__proof-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -.02em;
}
.hero__proof-item span {
  font-size: .8rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
}

/* Hero mockup — terminal style */
.hero__visual { position: relative; }

.hero__mockup {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
}

.hero__mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-raised);
}
.hero__mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-tertiary);
}
.hero__mockup-dot:first-child { background: #ef4444; }
.hero__mockup-dot:nth-child(2) { background: #f59e0b; }
.hero__mockup-dot:nth-child(3) { background: #22c55e; }

.hero__mockup-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px;
}

.hero__mockup-card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  transition: all .3s var(--ease-out);
}
.hero__mockup-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.hero__mockup-card h4 {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
  font-weight: 500;
}
.hero__mockup-card .value {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
}
.hero__mockup-card .value--green { color: var(--accent); }
.hero__mockup-card .value--primary { color: var(--violet); }

.hero__mockup-bar {
  grid-column: 1 / -1;
  height: 6px;
  background: var(--surface-overlay);
  border-radius: 100px;
  overflow: hidden;
}
.hero__mockup-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  width: 0%;
  animation: barFill 2s var(--ease-out) 1s forwards;
}

/* ── Sections ──────────────────────────────────────────── */

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section--surface { background: var(--surface); }
.section--gray { background: var(--surface); }
.section--raised { background: var(--surface-raised); }

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}
.section__header .badge { margin-bottom: var(--space-md); }
.section__header h2 { margin-bottom: var(--space-md); }
.section__header p {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Decorative line */
.section__divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto var(--space-xl);
}

/* ── Stats Bar ─────────────────────────────────────────── */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  padding: var(--space-3xl) 0;
}
.stats-bar__item {
  text-align: center;
  padding: var(--space-xl);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all .4s var(--ease-out);
}
.stats-bar__item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.stats-bar__item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.02em;
  margin-bottom: var(--space-sm);
}
.stats-bar__item span {
  font-size: .85rem;
  color: var(--text-tertiary);
}

/* ── Features Grid ─────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: var(--space-xl);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all .4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .4s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(163,230,53,.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
  transition: all .3s var(--ease-out);
}
.feature-card:hover .feature-card__icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--accent-glow);
}
.feature-card:hover .feature-card__icon { filter: grayscale(1) brightness(0); }

.feature-card h3 { margin-bottom: var(--space-sm); font-size: 1.1rem; }
.feature-card p { font-size: .9rem; line-height: 1.7; }

/* ── How It Works ──────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover) 20%, var(--border-hover) 80%, transparent);
}

.step {
  text-align: center;
  position: relative;
  padding-top: var(--space-3xl);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  z-index: 1;
  box-shadow: 0 0 20px var(--accent-dim);
  transition: all .3s var(--ease-out);
}
.step:hover::before {
  background: var(--accent);
  color: var(--black);
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 0 30px var(--accent-glow);
}
.step h3 { margin-bottom: var(--space-sm); }
.step p { font-size: .9rem; }

/* ── Pricing ───────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-grid--five {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.pricing-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .4s var(--ease-out);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}
.pricing-card--featured::before {
  content: attr(data-label);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--accent), #d4fc79);
  color: var(--black);
  text-align: center;
  padding: 8px;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.pricing-card--featured .pricing-card__header {
  padding-top: 52px;
}

.pricing-card__header {
  padding: var(--space-xl) var(--space-xl) var(--space-md);
}
.pricing-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}
.pricing-card__price {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.03em;
}
.pricing-card__price span {
  font-size: .9rem;
  font-weight: 400;
  color: var(--text-tertiary);
}

.pricing-card__features {
  padding: 0 var(--space-xl) var(--space-xl);
  list-style: none;
}
.pricing-card__features li {
  padding: 8px 0;
  font-size: .85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: start;
  gap: 10px;
  line-height: 1.5;
}
.pricing-card__features li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  font-size: .85rem;
}

.pricing-card__cta {
  padding: 0 var(--space-xl) var(--space-xl);
}
.pricing-card__cta .btn { width: 100%; justify-content: center; }

/* ── Testimonials ──────────────────────────────────────── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  background: var(--surface);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all .4s var(--ease-out);
  position: relative;
}
.testimonial:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--accent-dim);
  line-height: 1;
}

.testimonial__stars {
  color: var(--accent);
  font-size: .9rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testimonial__text {
  font-size: .95rem;
  margin-bottom: var(--space-md);
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}
.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(163,230,53,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
  font-size: .8rem;
}
.testimonial__name { font-weight: 600; font-size: .9rem; color: var(--white); }
.testimonial__role { font-size: .8rem; color: var(--text-tertiary); }

/* ── FAQ ───────────────────────────────────────────────── */

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg) 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color .25s;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .3s var(--ease-out);
}
.faq-item[open] summary::after {
  content: '\2212';
  transform: rotate(180deg);
}
.faq-item p {
  margin-top: var(--space-md);
  font-size: .95rem;
  line-height: 1.8;
}

/* ── CTA Section ───────────────────────────────────────── */

.cta-section {
  padding: var(--space-5xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(163,230,53,.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
  position: relative;
}
.cta-section p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  font-size: 1.15rem;
  position: relative;
}

/* ── Footer ────────────────────────────────────────────── */

.footer {
  background: var(--black-rich);
  color: var(--text-tertiary);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}
.footer__brand {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.footer__brand span { color: var(--accent); }
.footer__desc {
  font-size: .9rem;
  line-height: 1.6;
  max-width: 280px;
}
.footer h4 {
  color: var(--text);
  margin-bottom: var(--space-md);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: var(--font-mono);
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: var(--text-tertiary);
  font-size: .9rem;
  transition: color .25s;
}
.footer ul a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--text-tertiary);
}

/* ── Blog ──────────────────────────────────────────────── */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .4s var(--ease-out);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}
.blog-card__img {
  height: 200px;
  background: linear-gradient(135deg, var(--surface-raised), var(--surface-overlay));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border);
}
.blog-card__body { padding: var(--space-xl); }
.blog-card__tag {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.blog-card__body h3 { margin-bottom: var(--space-sm); }
.blog-card__body p { font-size: .9rem; }

/* ── Article ───────────────────────────────────────────── */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}
.article h1 { margin-bottom: var(--space-md); font-size: clamp(2rem, 4vw, 2.8rem); }
.article .meta { color: var(--text-tertiary); margin-bottom: var(--space-3xl); font-size: .9rem; }
.article h2 { margin: var(--space-3xl) 0 var(--space-md); }
.article h3 { margin: var(--space-xl) 0 var(--space-md); }
.article p { margin-bottom: var(--space-lg); font-size: 1.05rem; line-height: 1.8; }
.article ul, .article ol { margin: 0 0 var(--space-lg) var(--space-lg); }
.article li { margin-bottom: 8px; font-size: 1.05rem; line-height: 1.7; color: var(--text-secondary); }
.article blockquote {
  border-left: 3px solid var(--accent);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-xl) 0;
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article blockquote p { margin: 0; font-style: italic; color: var(--text); }
.article code {
  font-family: var(--font-mono);
  font-size: .85em;
  background: var(--surface-raised);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--accent);
  border: 1px solid var(--border);
}

/* ── Comparison Table ──────────────────────────────────── */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-xl);
}
.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-secondary);
}
.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 500;
}
.comparison-table thead th {
  background: var(--surface-raised);
  color: var(--text);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  position: sticky;
  top: 80px;
  z-index: 10;
}
.comparison-table tbody tr {
  transition: background .2s;
}
.comparison-table tbody tr:hover {
  background: var(--surface);
}
.comparison-table .check {
  color: var(--accent);
  font-weight: bold;
  font-size: 1.1rem;
}
.comparison-table .dash { color: var(--text-tertiary); }
.comparison-table .highlight-col { background: rgba(163,230,53,.03); }
.comparison-table .section-row td {
  font-weight: 700;
  color: var(--white);
  background: var(--surface-raised);
  padding-top: 18px;
  border-bottom: 2px solid var(--border-hover);
  font-family: var(--font-mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── About page ────────────────────────────────────────── */

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: var(--space-3xl);
}
.about-value {
  text-align: center;
  padding: var(--space-xl);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all .4s var(--ease-out);
}
.about-value:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.about-value__icon { font-size: 2.5rem; margin-bottom: var(--space-md); }
.about-value h3 { margin-bottom: var(--space-sm); }
.about-value p { line-height: 1.7; }

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.about-story__content h2 { margin-bottom: var(--space-lg); }
.about-story__content p { line-height: 1.8; margin-bottom: var(--space-md); }

.about-story__highlight {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
}
.about-story__highlight h3 { margin-bottom: var(--space-lg); }
.about-story__stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}
.about-story__stat:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.about-story__stat strong {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.about-story__stat span { color: var(--text-secondary); line-height: 1.5; }

.about-tech {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: var(--space-3xl);
}
.about-tech__item {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: var(--space-xl);
  text-align: center;
  transition: all .3s var(--ease-out);
}
.about-tech__item:hover { border-color: var(--border-hover); }
.about-tech__item h4 { margin-bottom: var(--space-sm); }
.about-tech__item p { font-size: .85rem; line-height: 1.6; }

/* ── Scroll Animations ─────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.stagger.revealed > *:nth-child(1) { transition-delay: .05s; opacity: 1; transform: none; }
.stagger.revealed > *:nth-child(2) { transition-delay: .1s; opacity: 1; transform: none; }
.stagger.revealed > *:nth-child(3) { transition-delay: .15s; opacity: 1; transform: none; }
.stagger.revealed > *:nth-child(4) { transition-delay: .2s; opacity: 1; transform: none; }
.stagger.revealed > *:nth-child(5) { transition-delay: .25s; opacity: 1; transform: none; }
.stagger.revealed > *:nth-child(6) { transition-delay: .3s; opacity: 1; transform: none; }
.stagger.revealed > *:nth-child(7) { transition-delay: .35s; opacity: 1; transform: none; }
.stagger.revealed > *:nth-child(8) { transition-delay: .4s; opacity: 1; transform: none; }
.stagger.revealed > *:nth-child(9) { transition-delay: .45s; opacity: 1; transform: none; }

/* ── Keyframes ─────────────────────────────────────────── */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes barFill {
  from { width: 0%; }
  to { width: 73%; }
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(.95); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Typing cursor for hero */
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ── Noise texture overlay (subtle) ────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ── RTL Support (Arabic) ──────────────────────────────── */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .nav__links { flex-direction: row-reverse; }
[dir="rtl"] .hero__proof-item::before {
  left: auto;
  right: -16px;
}
[dir="rtl"] .hero__proof-item:first-child::before { display: none; }
[dir="rtl"] .pricing-card__features li { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .testimonial__author { flex-direction: row-reverse; }
[dir="rtl"] .testimonial::before { right: auto; left: 24px; }
[dir="rtl"] .faq-item summary { flex-direction: row-reverse; }
[dir="rtl"] .feature-card__icon { margin-left: auto; margin-right: 0; }
[dir="rtl"] .footer__grid { direction: rtl; }
[dir="rtl"] .lang-switcher__dropdown { right: auto; left: 0; }
[dir="rtl"] .about-story__stat { flex-direction: row-reverse; }
[dir="rtl"] .section__header { text-align: center; }
[dir="rtl"] .comparison-table th:first-child,
[dir="rtl"] .comparison-table td:first-child { text-align: right; }

/* ── Responsive ────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: var(--space-3xl); }
  .hero__subtitle { margin: 0 auto var(--space-xl); }
  .hero__ctas { justify-content: center; }
  .hero__proof { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__mobile { display: block; }
}

@media (max-width: 640px) {
  .hero { padding: 130px 0 60px; min-height: auto; }
  h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero__proof { flex-direction: column; gap: var(--space-md); }
  .hero__proof-item::before { display: none; }
  .hero__visual { display: none; }
  .section { padding: var(--space-3xl) 0; }
  .pricing-grid--five { grid-template-columns: 1fr; }
  .comparison-table {
    font-size: .75rem;
    display: block;
    overflow-x: auto;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 8px 10px;
    white-space: nowrap;
  }
  .btn--large { padding: 16px 28px; font-size: .95rem; }
}
