:root {
  --primary: #7c5cfc;
  --primary-dark: #6240fa;
  --primary-light: #9b7ffe;
  --secondary: #e84cff;
  --gradient: linear-gradient(135deg, #7c5cfc 0%, #e84cff 100%);
  --gradient-soft: linear-gradient(135deg, rgba(124,92,252,0.12) 0%, rgba(232,76,255,0.08) 100%);
  --bg: #ffffff;
  --bg-tint: #f8f5ff;
  --bg-card: #ffffff;
  --text: #0d0b1a;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: rgba(124,92,252,0.15);
  --border-strong: rgba(124,92,252,0.3);
  --shadow: 0 4px 24px rgba(124,92,252,0.12);
  --shadow-lg: 0 16px 48px rgba(124,92,252,0.18);
  --radius: 16px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Evolventa', 'Inter', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; cursor: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* CURSOR */
#cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  mix-blend-mode: multiply;
  opacity: 0.7;
}
#cursor.hover { width: 44px; height: 44px; opacity: 0.4; }
@media (hover: none) { #cursor { display: none; } body { cursor: auto; } }

/* NAVBAR */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 24px rgba(124,92,252,0.1);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Evolventa', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.nav-logo-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.nav-logo-icon svg { width: 100%; height: 100%; display: block; }
.nav-logo-icon .logo-orbit-spin { transform-origin: 32px 32px; animation: logo-orbit-spin 18s linear infinite; }
@keyframes logo-orbit-spin { to { transform: rotate(360deg); } }
.nav-logo .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  font-family: 'Evolventa', 'Inter', sans-serif;
}
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border-strong); }
.btn-ghost:hover { background: var(--bg-tint); border-color: var(--primary); }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(124,92,252,0.35);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(124,92,252,0.5); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--bg-tint); }
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: 50px; }
.btn-xl { padding: 18px 42px; font-size: 1.05rem; border-radius: 50px; }

/* SECTIONS */
section { padding: 100px 40px; max-width: 1200px; margin: 0 auto; }
.section-wide { max-width: 100%; padding-left: 0; padding-right: 0; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
h1, h2, h3 { font-family: 'Evolventa', sans-serif; letter-spacing: -0.03em; line-height: 1.1; }
h1 { font-size: clamp(1.75rem, 7vw, 5rem); font-weight: 700; word-break: break-word; overflow-wrap: anywhere; hyphens: auto; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 700; }
.tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid rgba(124,92,252,0.35);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.text-center { text-align: center; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* HERO */
.hero-section {
  padding-top: 160px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f4f0ff 0%, #ffffff 100%);
  max-width: 100%;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(124,92,252,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.hero-platforms { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 32px auto 4px; }
.platform-logo {
  width: 55px; height: 55px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.platform-logo:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.10); }
.platform-logo svg { width: 29px; height: 29px; display: block; }
.hero-cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 0.82rem; color: var(--text-light); }
.hero-note span { margin: 0 8px; opacity: 0.5; }

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,92,252,0.10) 0%, rgba(232,76,255,0.10) 100%);
  border: 1px solid rgba(124,92,252,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 14px -6px rgba(124,92,252,0.25);
}
.card-icon svg { width: 26px; height: 26px; display: block; }

/* PIE CHART */
.pie-chart-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin: 48px 0;
}
.pie-svg { width: 240px; height: 240px; filter: drop-shadow(0 8px 24px rgba(124,92,252,0.2)); }
.pie-legend { display: flex; flex-direction: column; gap: 16px; }
.legend-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.legend-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }

/* HERO STATEMENT — карточка под главным заголовком в "Как работает" */
.hero-statement {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 760px;
  margin: 40px auto 0;
  padding: 0;
  background: linear-gradient(135deg, rgba(124,92,252,0.04) 0%, rgba(232,76,255,0.04) 100%);
  border: 1px solid rgba(124,92,252,0.18);
  border-radius: 20px;
  box-shadow: 0 12px 40px -12px rgba(124,92,252,0.18), 0 2px 8px rgba(0,0,0,0.02);
  overflow: hidden;
  text-align: left;
  position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-statement::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(232,76,255,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-statement-bar {
  flex-shrink: 0;
  width: 5px;
  background: linear-gradient(180deg, #7c5cfc 0%, #e84cff 100%);
  box-shadow: 0 0 20px rgba(124,92,252,0.4);
}
.hero-statement-content {
  flex: 1;
  padding: 28px 36px;
  position: relative;
  z-index: 1;
}
.hero-statement-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.hero-statement-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e84cff;
  box-shadow: 0 0 0 3px rgba(232,76,255,0.2);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(232,76,255,0.15); }
  50% { box-shadow: 0 0 0 6px rgba(232,76,255,0.05); }
}
.hero-statement-lead {
  font-family: 'Evolventa', 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.3px;
  color: var(--text);
  margin: 0 0 20px 0;
}
.hero-statement-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(124,92,252,0.12);
}
.hero-statement-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #7c5cfc 0%, #e84cff 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(124,92,252,0.3);
}
.hero-statement-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
@media (max-width: 720px) {
  .hero-statement { max-width: 100%; margin: 32px 0 0; }
  .hero-statement-content { padding: 22px 22px; }
  .hero-statement-lead { font-size: 1.1rem; }
}

/* STEPS/HOW IT WORKS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}
.step-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 12px 32px -12px rgba(124,92,252,0.25); }
.step-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 24px 0;
  font-family: 'Evolventa', sans-serif;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 18px -4px rgba(124,92,252,0.55);
}

/* GLOBE */
.globe-wrap { display: flex; justify-content: center; margin: 48px 0 24px; }
.globe-container { position: relative; width: 280px; height: 280px; }
.globe {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(124,92,252,0.4), rgba(78,43,180,0.8) 60%, rgba(40,20,100,0.95));
  position: relative;
  animation: globe-rotate 12s linear infinite;
  box-shadow: 0 0 60px rgba(124,92,252,0.4), inset -20px -20px 40px rgba(0,0,0,0.3);
  overflow: hidden;
}
.globe::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
}
.globe-grid {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(255,255,255,0.07) 18px, rgba(255,255,255,0.07) 19px),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(255,255,255,0.07) 18px, rgba(255,255,255,0.07) 19px);
}
.globe-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 12px var(--secondary);
}
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(124,92,252,0.7);
  box-shadow: 0 0 24px -6px rgba(124,92,252,0.25), inset 0 0 24px -6px rgba(124,92,252,0.15);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.orbit-1 { width: 340px; height: 340px; animation: orbit-spin 8s linear infinite; }
.orbit-2 { width: 420px; height: 420px; animation: orbit-spin 12s linear infinite reverse; }

/* Universal Pictures style — горизонтальное кольцо с надписью OptiAi охватывает все орбиты */
.universal-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 640px;
  height: 320px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: visible;
  z-index: 5;
}
.universal-ring .ring-text {
  filter: drop-shadow(0 2px 8px rgba(124,92,252,0.35));
}
@media (max-width: 720px) {
  .universal-ring { width: 460px; height: 240px; }
}
.orbit-icon {
  position: absolute;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow);
}
@keyframes globe-rotate { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes orbit-spin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to { transform: translate(-50%,-50%) rotate(360deg); }
}

/* CASES */
.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.case-result {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: 'Evolventa', sans-serif;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 16px 0 4px;
}
.mini-chart { width: 100%; height: 80px; margin: 20px 0 0; position: relative; }
.mini-chart svg { width: 100%; height: 100%; }
.chart-line {
  stroke: var(--primary);
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.5s ease;
}
.chart-fill {
  fill: url(#chartGrad);
  opacity: 0;
  transition: opacity 0.8s ease 0.5s;
}
.case-card.animated .chart-line { stroke-dashoffset: 0; }
.case-card.animated .chart-fill { opacity: 1; }

/* TABLES */
.comparison-wrap { margin-top: 48px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}
td { padding: 16px 20px; border-bottom: 1px solid var(--border); }
tr:hover td { background: var(--bg-tint); }
.col-optiai { background: linear-gradient(180deg, rgba(124,92,252,0.04) 0%, transparent 100%); }
.col-optiai th { color: var(--primary); }
.check { color: var(--primary); font-weight: 600; }
.cross { color: #9ca3af; }
.badge-popular { display: inline-block; padding: 3px 10px; border-radius: 50px; background: var(--gradient); color: #fff; font-size: 0.72rem; font-weight: 700; margin-left: 8px; }

/* SCALES */
.scales-wrap { display: flex; justify-content: center; margin-bottom: 48px; }
.scales-svg { width: 300px; height: 180px; }

/* PRICING */
.pricing-section { background: var(--bg-tint); max-width: 100%; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.pricing-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.3s;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
}
.pricing-card.animated { opacity: 1; transform: translateY(0); }
.pricing-card.popular {
  border-color: var(--primary);
  overflow: hidden;
}
.pricing-card.popular::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 2px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.popular-tag {
  position: absolute;
  top: 16px; right: 16px;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.price-main {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Evolventa', sans-serif;
  color: var(--text);
  margin: 16px 0 4px;
}
.price-sub { font-size: 0.85rem; color: var(--text-muted); }
.price-economy {
  font-size: 0.82rem;
  color: #10b981;
  font-weight: 600;
  margin: 8px 0 24px;
  padding: 6px 12px;
  background: rgba(16,185,129,0.08);
  border-radius: 6px;
  display: inline-block;
}
.features-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.features-list li { font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: flex-start; gap: 10px; }
.features-list li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* OPPORTUNITY */
.opportunity-section {
  background: linear-gradient(135deg, #0d0b1a 0%, #1a0f3c 100%);
  max-width: 100%;
  color: #fff;
}
.opportunity-section h2 { color: #fff; }
.opportunity-section p { color: rgba(255,255,255,0.75); max-width: 680px; font-size: 1.05rem; line-height: 1.7; margin: 24px auto; }
.opportunity-tag { background: rgba(124,92,252,0.2); border-color: rgba(124,92,252,0.4); color: #b99fff; }
.timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 48px 0;
  position: relative;
}
.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  flex: 1;
}
.timeline-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 20px var(--primary);
  position: relative;
  z-index: 1;
  animation: pulse-dot 2s infinite;
}
.timeline-dot.future { background: #374151; box-shadow: none; animation: none; }
.timeline-line {
  position: absolute;
  top: 8px;
  left: 50%; right: -50%;
  height: 2px;
  background: var(--gradient);
  z-index: 0;
}
.timeline-line.future { background: #374151; }
.timeline-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-align: center; max-width: 100px; }
.timeline-label strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 4px; }
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 20px var(--primary); }
  50% { box-shadow: 0 0 40px var(--primary), 0 0 60px rgba(124,92,252,0.4); }
}

/* DASHBOARD / LAPTOP */
/* ── MacBook Illustration ─────────────────────── */
.nb-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 52px auto 0;
  max-width: 760px;
  perspective: 1400px;
}
/* LID — silver aluminium MacBook */
.nb-lid {
  width: 680px;
  max-width: 100%;
  background: linear-gradient(175deg,#d4d4d4 0%,#b8b8b8 40%,#c0c0c0 100%);
  border-radius: 16px 16px 2px 2px;
  border: 1.5px solid #a0a0a0;
  border-bottom: 2px solid #888;
  position: relative;
  box-shadow:
    0 -2px 0 rgba(255,255,255,0.6) inset,
    0 1px 0 rgba(0,0,0,0.15) inset,
    0 20px 60px rgba(0,0,0,0.4),
    0 4px 12px rgba(0,0,0,0.2);
  transform: none;
}
.nb-notch {
  width: 8px; height: 8px;
  background: #2d2d2d;
  border-radius: 50%;
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.15);
}
.nb-screen-area {
  display: flex;
  margin: 22px 14px 12px;
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid #d1d1d1;
  box-shadow: 0 0 0 6px #1a1a1a, 0 0 0 7px #2a2a2a;
}
/* Sidebar */
.nb-sidebar {
  width: 34px;
  background: #f3f4f6;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 10px;
  flex-shrink: 0;
}
.nb-logo-dot {
  width: 16px; height: 16px;
  border-radius: 5px;
  background: linear-gradient(135deg,#7c5cfc,#e84cff);
  margin-bottom: 6px;
}
.nb-nav-item {
  width: 18px; height: 5px;
  border-radius: 3px;
  background: #d1d5db;
}
.nb-nav-active {
  background: linear-gradient(90deg,#7c3aed,#a855f7);
  width: 22px;
}
/* Main dashboard area */
.nb-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  overflow: hidden;
}
.nb-light { background: #f9fafb; }
.nb-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.nb-topbar-title {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.5);
  flex: 1;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.nb-topbar-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: inline-block;
}
/* KPI Row */
.nb-kpi-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 7px;
}
.nb-kpi {
  background: #151228;
  border-radius: 6px;
  padding: 8px 9px;
  border: 1px solid rgba(124,92,252,0.18);
  position: relative;
  overflow: hidden;
}
.nb-kpi-light {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.nb-kpi::before {
  content:'';
  position: absolute;
  top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg,#7c3aed,#a855f7);
  opacity: 0.7;
}
.nb-kpi-val {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  font-family: 'Evolventa', sans-serif;
}
.nb-kpi-label {
  font-size: 0.52rem;
  color: rgba(255,255,255,0.38);
  margin-top: 2px;
  line-height: 1.2;
}
.nb-kpi-badge {
  font-size: 0.5rem;
  font-weight: 700;
  margin-top: 4px;
  display: inline-block;
  padding: 1px 5px;
  border-radius: 99px;
}
.nb-kpi-up { background: rgba(16,185,129,0.15); color: #10b981; }
/* Charts row */
.nb-charts-row {
  display: flex;
  gap: 7px;
  flex: 1;
}
.nb-chart-card {
  background: #151228;
  border-radius: 6px;
  border: 1px solid rgba(124,92,252,0.14);
  padding: 8px;
  flex: 1;
  overflow: hidden;
}
.nb-chart-light {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.nb-donut-card { flex: 0 0 80px; display: flex; flex-direction: column; align-items: center; }
.nb-chart-title {
  font-size: 0.5rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
/* KW mini table */
.nb-kw-mini {
  background: #151228;
  border-radius: 6px;
  border: 1px solid rgba(124,92,252,0.14);
  overflow: hidden;
}
.nb-kw-light {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.nb-kw-head, .nb-kw-line {
  display: grid;
  grid-template-columns: 1fr 28px 28px;
  gap: 4px;
  padding: 4px 8px;
  font-size: 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nb-kw-head { color: #9ca3af; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.nb-kw-line { color: #374151; }
.nb-pos-g { color: #059669; font-weight: 700; text-align: center; }

.nb-body-empty {
  width: 31% !important;
  height: 18px;
  padding: 0 !important;
  gap: 0 !important;
  border-radius: 0 0 4px 4px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

/* HINGE */
.nb-hinge {
  width: 31%;
  height: 6px;
  background: linear-gradient(180deg,#b0b0b0 0%,#989898 100%);
  border-radius: 0 0 3px 3px;
  position: relative;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
}

/* BODY — silver aluminium */
.nb-body {
  width: 680px;
  max-width: 100%;
  background: linear-gradient(180deg,#c8c8c8 0%,#b4b4b4 50%,#c2c2c2 100%);
  border-radius: 0 0 16px 16px;
  border: 1.5px solid #a0a0a0;
  border-top: none;
  padding: 16px 22px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 8px 20px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.5);
  transform: rotateX(-2deg);
  transform-origin: top center;
}
.nb-speaker {
  position: absolute;
  top: 20px;
  display: flex;
  gap: 3px;
}
.nb-speaker-l { left: 22px; }
.nb-speaker-r { right: 22px; }
.nb-speaker span {
  display: block;
  width: 2px; height: 14px;
  background: rgba(0,0,0,0.18);
  border-radius: 1px;
}

/* Keyboard */
.nb-keyboard {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  width: 100%;
  max-width: 520px;
}
.nb-kb-fn, .nb-kb-row, .nb-kb-bottom {
  display: flex;
  gap: 2.5px;
  justify-content: center;
}
.nb-kb-fn span, .nb-kb-row span, .nb-kb-bottom span {
  display: inline-block;
  height: 16px;
  width: 32px;
  background: linear-gradient(180deg,#3a3a3a 0%,#2d2d2d 100%);
  border-radius: 3.5px;
  border: 1px solid #1a1a1a;
  box-shadow: 0 2px 0 rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.nb-kb-fn span { height: 10px; width: 30px; }
.nb-kb-bsp  { width: 54px !important; }
.nb-kb-tab  { width: 48px !important; }
.nb-kb-caps { width: 52px !important; }
.nb-kb-enter { width: 62px !important; }
.nb-kb-shift { width: 78px !important; }
.nb-kb-ctrl { width: 40px !important; }
.nb-kb-opt  { width: 36px !important; }
.nb-kb-cmd  { width: 46px !important; }
.nb-kb-space { width: 180px !important; }
.nb-kb-arr  { width: 28px !important; }

/* Trackpad */
.nb-trackpad {
  width: 160px;
  height: 30px;
  background: linear-gradient(180deg,#b8b8b8 0%,#a8a8a8 100%);
  border-radius: 8px;
  border: 1px solid #909090;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 2px 5px rgba(0,0,0,0.3);
}

/* Ground shadow */
.nb-ground-shadow {
  width: 70%;
  height: 24px;
  background: radial-gradient(ellipse,rgba(0,0,0,0.22) 0%,transparent 70%);
  margin-top: 0;
  border-radius: 50%;
}

@media (max-width: 720px) {
  .nb-lid, .nb-body { width: 100%; }
  .nb-scene { max-width: 100%; padding: 0 12px; }
  .nb-kb-space { width: 100px !important; }
}

/* LOCAL SEO MAP */
.map-wrap { display: flex; justify-content: center; margin-top: 48px; }
.map-container {
  position: relative;
  width: 500px; height: 380px;
  background: linear-gradient(135deg, #e8f4fd 0%, #f0e8ff 100%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,92,252,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,92,252,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-marker { position: absolute; top: 45%; left: 45%; transform: translate(-50%,-50%); }
.marker-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 20px var(--primary); }
.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--primary);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: radar 2.5s ease-out infinite;
  opacity: 0;
}
.radar-ring:nth-child(2) { animation-delay: 0.8s; }
.radar-ring:nth-child(3) { animation-delay: 1.6s; }
@keyframes radar {
  0% { width: 0; height: 0; opacity: 0.8; }
  100% { width: 300px; height: 300px; opacity: 0; }
}
.map-popup {
  position: absolute;
  top: 18%; right: 8%;
  background: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid var(--primary);
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: popup-in 0.5s ease 1s both;
}
.map-popup .map-rank { color: var(--primary); font-size: 0.75rem; margin-top: 2px; }
@keyframes popup-in {
  from { opacity: 0; transform: scale(0.8) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.map-icons { position: absolute; display: flex; gap: 8px; }
.map-icon-badge {
  padding: 5px 10px;
  border-radius: 50px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  animation: fade-in 0.4s ease both;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* INTEGRATIONS */
.scroll-track {
  overflow: hidden;
  margin-top: 40px;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.scroll-row {
  display: flex;
  gap: 16px;
  animation: infinite-scroll 25s linear infinite;
  width: max-content;
}
.scroll-row:hover { animation-play-state: paused; }
.platform-pill {
  padding: 12px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
@keyframes infinite-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* FOOTER */
footer {
  background: #0d0b1a;
  color: rgba(255,255,255,0.7);
  padding: 48px 40px;
  text-align: center;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-logo { font-family: 'Evolventa', sans-serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.footer-logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin: 16px 0; font-size: 0.85rem; }
.footer-links a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contacts { display: flex; gap: 16px; justify-content: center; margin: 16px 0; }
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  transition: all 0.2s;
}
.contact-btn:hover { background: rgba(124,92,252,0.2); border-color: var(--primary); }

/* SCROLL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* BACKGROUNDS */
.bg-tint { background: var(--bg-tint); }
.bg-dark { background: linear-gradient(135deg, #0d0b1a 0%, #1a0f3c 100%); }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 70px 20px; }
  .hero-inner { padding: 0 20px; }
  .hero-section { padding-top: 120px; padding-bottom: 70px; }
  .cards-grid, .steps-grid, .cases-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pie-chart-wrap { flex-direction: column; gap: 24px; }
  table { font-size: 0.8rem; }
  th, td { padding: 10px 12px; }
  .laptop { width: 100%; transform: none; }
  .section-inner { padding: 0 20px; }
  footer { padding: 40px 20px; }
  .map-container { width: 100%; height: 300px; }
  .timeline { flex-wrap: wrap; gap: 24px; }
  .timeline-line { display: none; }
}

/* === Value callout: «1 месяц агентства = 12 месяцев OptiAi» === */
.value-callout {
  position: relative;
  margin: 48px auto 0;
  max-width: 720px;
  padding: 36px 40px 32px;
  border-radius: 28px;
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(124,92,252,0.10) 0%, rgba(124,92,252,0) 55%),
    radial-gradient(120% 180% at 100% 100%, rgba(232,76,255,0.10) 0%, rgba(232,76,255,0) 55%),
    #ffffff;
  border: 1px solid rgba(124,92,252,0.18);
  box-shadow:
    0 24px 60px -28px rgba(124,92,252,0.45),
    0 6px 18px -8px rgba(232,76,255,0.20),
    inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
}
.value-callout-glow {
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124,92,252,0.55), rgba(232,76,255,0.0) 35%, rgba(232,76,255,0) 65%, rgba(124,92,252,0.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: .9;
}
.value-callout-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.value-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.value-num {
  font-size: 5.2rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum" 1;
}
.value-side-agency .value-num {
  color: #b8bccd;
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
}
.value-side-optiai .value-num {
  background: linear-gradient(135deg, #7c5cfc 0%, #e84cff 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.value-label {
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: 0.01em;
}
.value-label span {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #6b6f86;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.value-equals {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--primary);
  font-size: 3.5rem;
  font-weight: 900;
  padding: 0 12px;
}
.value-callout-caption {
  position: relative;
  margin-top: 26px;
  padding-top: 22px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  color: #4a4e63;
  font-weight: 500;
  border-top: 1px dashed rgba(124,92,252,0.22);
}
.value-callout-caption strong {
  color: #1a1a2e;
  font-weight: 700;
}
@media (max-width: 640px) {
  .value-callout { padding: 28px 22px 24px; border-radius: 22px; }
  .value-callout-grid { gap: 14px; }
  .value-num { font-size: 3.8rem; }
  .value-equals { width: auto; height: auto; font-size: 2.6rem; }
  .value-label { font-size: 0.85rem; }
  .value-label span { font-size: 0.7rem; }
  .value-callout-caption { font-size: 0.92rem; margin-top: 20px; padding-top: 18px; }
}

/* === Mobile overflow safety === */
html, body { overflow-x: clip; max-width: 100%; }

@media (max-width: 720px) {
  .globe-container { width: 200px; height: 200px; }
  .orbit-1 { width: 240px; height: 240px; }
  .orbit-2 { width: 290px; height: 290px; }
  .universal-ring { width: 340px !important; height: 170px !important; }
  .scales-svg { width: 100%; height: auto; max-width: 280px; }
  .scales-wrap { padding: 0 16px; }
}

@media (max-width: 420px) {
  .globe-container { width: 180px; height: 180px; }
  .orbit-1 { width: 220px; height: 220px; }
  .orbit-2 { width: 260px; height: 260px; }
  .universal-ring { width: 300px !important; height: 150px !important; }
  section { padding: 60px 16px; }
  .hero-inner, .section-inner { padding: 0 16px; }
  nav { padding: 0 16px; }
}

/* === Mobile nav: keep only primary CTA, compact it === */
@media (max-width: 560px) {
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn-primary { padding: 9px 16px; font-size: 0.82rem; }
  .nav-logo { font-size: 1.15rem; gap: 8px; }
  .nav-logo-icon { width: 30px; height: 30px; }
  nav { padding: 0 14px; height: 64px; }
}
@media (max-width: 380px) {
  .nav-cta .btn-primary { padding: 8px 12px; font-size: 0.78rem; letter-spacing: -0.01em; }
  .nav-logo { font-size: 1.05rem; }
  nav { padding: 0 12px; }
}

/* ============= HOW IT WORKS — premium orbital ============= */
.how-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 56px;
  align-items: center;
  margin-top: 24px;
}
.how-header h2 { margin-top: 8px; }
.how-lead {
  max-width: 480px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 20px;
}
.how-cta { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; }
.how-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
  position: relative;
}

.orb-stage {
  position: relative;
  width: 460px;
  height: 460px;
  max-width: 100%;
}
.orb-glow {
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(124,92,252,0.18), rgba(232,76,255,0.08) 45%, transparent 70%);
  filter: blur(14px);
  pointer-events: none;
  animation: orb-glow-pulse 6s ease-in-out infinite alternate;
}
@keyframes orb-glow-pulse {
  from { opacity: 0.7; transform: scale(0.97); }
  to   { opacity: 1;   transform: scale(1.03); }
}

.orb-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: none;
  box-shadow: none;
}
.orb-ring-1 {
  width: 280px; height: 280px;
  margin: -140px;
  animation: orb-spin 20s linear infinite;
}
.orb-ring-2 {
  width: 420px; height: 420px;
  margin: -210px;
  animation: orb-spin 32s linear infinite reverse;
}

.orb-card {
  position: absolute;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(124,92,252,0.18);
  box-shadow: 0 10px 24px -8px rgba(124,92,252,0.45), inset 0 1px 0 rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -27px 0 0 -27px;
}
.orb-card svg { width: 28px; height: 28px; display: block; }
/* counter rotation keeps logos upright */
.orb-ring-1 .orb-card { animation: orb-counter 20s linear infinite; }
.orb-ring-2 .orb-card { animation: orb-counter 32s linear infinite reverse; }

/* positions on each ring (top/left % within the ring) */
.orb-ring-1 .orb-card-a { top: 0%;   left: 50%; }
.orb-ring-1 .orb-card-b { top: 100%; left: 50%; }
.orb-ring-2 .orb-card-a { top: 0%;     left: 50%;    }
.orb-ring-2 .orb-card-b { top: 34.55%; left: 97.55%; }
.orb-ring-2 .orb-card-c { top: 90.45%; left: 79.4%;  }
.orb-ring-2 .orb-card-d { top: 90.45%; left: 20.6%;  }
.orb-ring-2 .orb-card-e { top: 34.55%; left: 2.45%;  }

.orb-sphere {
  position: absolute;
  top: 50%; left: 50%;
  width: 152px; height: 152px;
  margin: -76px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.98), rgba(244,240,255,0.92) 40%, rgba(224,213,255,0.85) 70%, rgba(199,180,250,0.65));
  border: 1px solid rgba(124,92,252,0.28);
  box-shadow:
    0 32px 64px -22px rgba(124,92,252,0.5),
    inset -10px -14px 32px rgba(124,92,252,0.18),
    inset 10px 10px 24px rgba(255,255,255,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 4;
  isolation: isolate;
}
.orb-sphere::before {
  content: '';
  position: absolute;
  top: 12%; left: 18%;
  width: 42%; height: 30%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.92), transparent 70%);
  filter: blur(5px);
  pointer-events: none;
}
.orb-sphere-logo {
  width: 74px; height: 74px;
  color: var(--primary);
  filter: drop-shadow(0 4px 10px rgba(124,92,252,0.35));
}
.orb-sphere-brand {
  margin-top: 2px;
  font-family: 'Evolventa', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--primary);
}

@keyframes orb-spin    { to { transform: rotate(360deg); } }
@keyframes orb-counter { to { transform: rotate(-360deg); } }

@media (max-width: 1024px) {
  .how-grid { grid-template-columns: 1fr; gap: 32px; }
  .how-visual { min-height: 400px; }
  .orb-stage { width: 380px; height: 380px; }
  .orb-ring-1 { width: 230px; height: 230px; margin: -115px; }
  .orb-ring-2 { width: 350px; height: 350px; margin: -175px; }
  .orb-sphere { width: 128px; height: 128px; margin: -64px; }
  .orb-sphere-logo { width: 61px; height: 61px; }
}
@media (max-width: 540px) {
  .how-visual { min-height: 340px; }
  .orb-stage { width: 320px; height: 320px; }
  .orb-ring-1 { width: 200px; height: 200px; margin: -100px; }
  .orb-ring-2 { width: 300px; height: 300px; margin: -150px; }
  .orb-sphere { width: 112px; height: 112px; margin: -56px; }
  .orb-sphere-logo { width: 53px; height: 53px; }
  .orb-sphere-brand { font-size: 0.9rem; }
  .orb-card { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .orb-card svg { width: 24px; height: 24px; }
}


/* === CASES section: site-style icons, before/after rows, position table === */
.case-ba { margin-top:16px; display:flex; flex-direction:column; gap:8px; }
.case-ba-row { display:flex; gap:10px; align-items:flex-start; font-size:0.85rem; color:var(--text-muted); line-height:1.55; }
.case-ba-row strong { color:var(--text); font-weight:600; }
.case-ba-icon { flex-shrink:0; width:22px; height:22px; display:inline-flex; align-items:center; justify-content:center; border-radius:6px; }
.case-ba-icon svg { width:14px; height:14px; }
.case-ba-before { background: rgba(124,92,252,0.08); color:#9ca3af; }
.case-ba-after  { background: rgba(124,92,252,0.14); color:var(--primary); }

.case-positions { display:flex; flex-direction:column; gap:6px; padding:10px 12px; background:rgba(124,92,252,0.04); border-radius:10px; }
.case-pos-head, .case-pos-row {
  display:grid; grid-template-columns: 1fr 38px 14px 38px; align-items:center; gap:8px;
  font-size:0.74rem; line-height:1.3;
}
.case-pos-head { color:var(--text-muted); font-weight:500; padding-bottom:4px; border-bottom:1px solid rgba(124,92,252,0.1); }
.case-pos-head span { text-align:center; }
.case-pos-head span:first-child { text-align:left; }
.case-pos-q { color:var(--text); font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.case-pos-old { color:#9ca3af; text-align:center; font-variant-numeric:tabular-nums; }
.case-pos-new { color:var(--primary); font-weight:700; text-align:center; font-variant-numeric:tabular-nums; }
.case-pos-arrow { color:var(--primary); text-align:center; opacity:0.6; }

/* === GLOBAL TEXT CENTERING (all sections except #how-it-works) === */
.section-inner { text-align: center; }
#how-it-works .section-inner { text-align: left; }
.case-card { text-align: center; }
.case-ba-row { justify-content: center; }
.case-ba-row > div { text-align: left; }

/* Tables & pricing: keep left-aligned for readability */
table, table th, table td { text-align: left; }
.pricing-grid, .pricing-card, .pricing-card * { text-align: left; }
.pricing-card .btn { text-align: center; }

/* Center <section> elements (badge + heading) except how-it-works */
section { text-align: center; }
section#how-it-works { text-align: left; }
