/* ============================================================
   ОКХ: Умный буфер — Core Design System
   Version 2.4.1 | © 2013–2026 ООО «ОКХ»
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --bg-void:        #050507;
  --bg-base:        #080810;
  --bg-elevated:    #0d0d18;
  --bg-card:        rgba(255,255,255,0.028);
  --bg-card-hover:  rgba(255,255,255,0.048);
  --bg-glass:       rgba(13,13,24,0.75);

  --border-subtle:  rgba(255,255,255,0.06);
  --border-default: rgba(255,255,255,0.10);
  --border-strong:  rgba(255,255,255,0.18);

  --accent-blue:    #6366f1;
  --accent-violet:  #8b5cf6;
  --accent-cyan:    #22d3ee;
  --accent-emerald: #10b981;
  --accent-amber:   #f59e0b;
  --accent-rose:    #f43f5e;

  --glow-blue:   rgba(99,102,241,0.25);
  --glow-violet: rgba(139,92,246,0.20);
  --glow-cyan:   rgba(34,211,238,0.15);

  --text-primary:   #f0f2ff;
  --text-secondary: #94a3b8;
  --text-muted:     #4a5568;
  --text-faint:     #2d3748;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  --shadow-card:  0 1px 3px rgba(0,0,0,.5), 0 8px 32px rgba(0,0,0,.4);
  --shadow-glow:  0 0 40px var(--glow-blue);
  --shadow-float: 0 24px 80px rgba(0,0,0,.7);

  --transition-fast:   150ms cubic-bezier(.4,0,.2,1);
  --transition-normal: 250ms cubic-bezier(.4,0,.2,1);
  --transition-slow:   400ms cubic-bezier(.4,0,.2,1);

  --nav-height: 64px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Animated Background Grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: 20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: driftGlow 20s ease-in-out infinite alternate;
}

@keyframes driftGlow {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(-10%,5%) scale(1.1); }
  100% { transform: translate(5%,-8%) scale(0.95); }
}

/* Content above bg layers */
#app, nav, main, footer, .modal-overlay { position: relative; z-index: 1; }

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: rgba(99,102,241,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-blue); }

/* ── Selection ─────────────────────────────────────────────── */
::selection { background: rgba(99,102,241,0.35); color: #fff; }

/* ── Typography Scale ──────────────────────────────────────── */
.text-display {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.text-headline {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.text-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.text-body-lg { font-size: 1.125rem; line-height: 1.7; }
.text-body    { font-size: 1rem;     line-height: 1.7; }
.text-sm      { font-size: 0.875rem; line-height: 1.6; }
.text-xs      { font-size: 0.75rem;  line-height: 1.5; }

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #a78bfa 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-warm {
  background: linear-gradient(135deg, #f8a4c8 0%, #a78bfa 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-cool {
  background: linear-gradient(135deg, #22d3ee 0%, #818cf8 60%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1024px) { .container { padding: 0 64px; } }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 32px;
  max-width: 1440px;
  margin: 0 auto;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-normal);
}

.nav.scrolled .nav-inner {
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border-subtle);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: white;
  letter-spacing: -0.05em;
  box-shadow: 0 4px 12px rgba(99,102,241,0.4);
}

.nav-logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.nav-logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  display: block;
  letter-spacing: 0;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  background: none;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-link svg { transition: transform var(--transition-fast); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(13,13,24,0.98);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 520px;
  box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 100;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 4px;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--transition-fast);
}
.mega-item:hover { background: rgba(255,255,255,0.06); }

.mega-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.mega-text-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.mega-text-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Mega Menu — single column variant */
.mega-menu-sm { min-width: 280px; }
.mega-menu-sm .mega-menu-grid { grid-template-columns: 1fr; }

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

/* Mobile menu toggle */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  letter-spacing: -0.01em;
  line-height: 1;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
  color: white;
  box-shadow: 0 2px 12px rgba(99,102,241,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(99,102,241,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-strong);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
}

.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-xl { padding: 18px 36px; font-size: 17px; border-radius: var(--radius-lg); }

.btn-install {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
  color: white;
  padding: 14px 32px;
  font-size: 15px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(99,102,241,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}
.btn-install::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn-install:hover::after { opacity: 1; }
.btn-install:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(99,102,241,0.55); }

/* ── Cards & Glass ─────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(99,102,241,0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.card:hover {
  border-color: var(--border-default);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.card:hover::before { opacity: 1; }

.card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,0.05);
}

.card-glow {
  box-shadow: 0 0 0 1px rgba(99,102,241,0.3), 0 8px 40px rgba(99,102,241,0.15);
}

/* Feature Card Icon */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* ── Bento Grid ────────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.bento-1 { grid-column: span 4; }
.bento-2 { grid-column: span 8; }
.bento-3 { grid-column: span 6; }
.bento-4 { grid-column: span 12; }
.bento-5 { grid-column: span 3; }

@media (max-width: 1024px) {
  .bento-1, .bento-2, .bento-3, .bento-5 { grid-column: span 6; }
  .bento-4 { grid-column: span 12; }
}
@media (max-width: 768px) {
  .bento-1, .bento-2, .bento-3, .bento-4, .bento-5 { grid-column: span 12; }
}

/* ── Badge ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge-blue {
  background: rgba(99,102,241,0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99,102,241,0.25);
}
.badge-green {
  background: rgba(16,185,129,0.12);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,0.2);
}
.badge-violet {
  background: rgba(139,92,246,0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139,92,246,0.25);
}
.badge-cyan {
  background: rgba(34,211,238,0.12);
  color: #67e8f9;
  border: 1px solid rgba(34,211,238,0.2);
}
.badge-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

/* ── Section Header ────────────────────────────────────────── */
.section-header {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-header .badge { margin-bottom: 16px; }
.section-header .text-headline { margin-bottom: 16px; }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; }

/* ── Stat Cards ────────────────────────────────────────────── */
.stat-card {
  text-align: center;
  padding: 32px 24px;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #f0f2ff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Code Block ────────────────────────────────────────────── */
.code-block {
  background: #0d0d18;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.7;
}
.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.025);
}
.code-dots { display: flex; gap: 6px; }
.code-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.code-dot:nth-child(1) { background: #ff5f57; }
.code-dot:nth-child(2) { background: #febc2e; }
.code-dot:nth-child(3) { background: #28c840; }
.code-lang {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.code-body { padding: 20px; overflow-x: auto; }
.code-body pre { margin: 0; }

/* Syntax highlighting */
.tok-keyword  { color: #c792ea; }
.tok-string   { color: #c3e88d; }
.tok-number   { color: #f78c6c; }
.tok-comment  { color: #546e7a; font-style: italic; }
.tok-fn       { color: #82aaff; }
.tok-var      { color: #eeffff; }
.tok-prop     { color: #f07178; }
.tok-type     { color: #ffcb6b; }
.tok-punct    { color: #89ddff; }

/* ── Step/Process ──────────────────────────────────────────── */
.step-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.step-item:last-child { border-bottom: none; }
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.step-content p  { font-size: 14px; color: var(--text-secondary); }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  gap: 16px;
  user-select: none;
  list-style: none;
}
.faq-question::marker, .faq-question::-webkit-details-marker { display: none; }
.faq-icon {
  width: 22px;
  height: 22px;
  border: 1px solid var(--border-default);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 14px;
  transition: all var(--transition-fast);
}
details[open] .faq-icon {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: white;
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 0 20px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ── Partners Strip ────────────────────────────────────────── */
.partners-strip {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.partner-logo {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}
.partner-logo:hover { color: var(--text-secondary); }
.partner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

/* ── Security Metrics ──────────────────────────────────────── */
.security-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(16,185,129,0.05);
  border: 1px solid rgba(16,185,129,0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.security-bar-label { font-size: 13px; color: var(--text-secondary); }
.security-bar-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-emerald);
}

/* ── Blog Card ─────────────────────────────────────────────── */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-default);
  box-shadow: var(--shadow-card);
}
.blog-card-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-elevated), #161630);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}
.blog-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-card) 100%);
}
.blog-card-body { padding: 24px; flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.blog-card-date { font-size: 12px; color: var(--text-muted); }
.blog-card-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Team Card ─────────────────────────────────────────────── */
.team-card {
  text-align: center;
  padding: 32px 24px;
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, var(--bg-elevated), #1a1a2e);
  border: 2px solid var(--border-default);
}
.team-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--text-muted); }

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--nav-height) 0 0;
  position: relative;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.15), transparent 70%);
  top: -100px; right: -100px;
  animation: orbFloat1 15s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.12), transparent 70%);
  bottom: 0; left: 10%;
  animation: orbFloat2 18s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0,0); }
  50%       { transform: translate(-30px, 40px); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0,0); }
  50%       { transform: translate(20px,-30px); }
}

/* ── Compatibility Modal ───────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: 40px;
  width: min(480px, calc(100vw - 32px));
  box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255,255,255,0.05);
  transform: scale(0.95) translateY(16px);
  transition: transform var(--transition-normal);
}
.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}
.modal-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.modal-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  font-size: 14px;
  transition: all 0.3s;
}
.check-item.pass  { border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.05); }
.check-item.fail  { border-color: rgba(244,63,94,0.3);  background: rgba(244,63,94,0.05); }
.check-item.loading { border-color: rgba(99,102,241,0.3); }
.check-indicator {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-default);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.3s;
}
.check-item.pass .check-indicator {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: white;
}
.check-item.loading .check-indicator {
  border-color: var(--accent-blue);
  border-top-color: transparent;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.check-text { flex: 1; font-weight: 500; }
.check-result { font-size: 12px; font-weight: 600; opacity: 0.7; }

.modal-progress {
  margin: 24px 0;
  height: 4px;
  background: var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
}
.modal-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-violet));
  width: 0%;
  transition: width 0.5s ease;
  border-radius: 2px;
}
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 12px 0 20px;
  max-width: 280px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: gap;
  gap: 16px;
}
.footer-legal {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
  animation: statusPulse 3s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(16,185,129,0.6); }
  50%       { opacity: 0.8; box-shadow: 0 0 16px rgba(16,185,129,0.4); }
}

/* ── Divider ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-default), transparent);
  margin: 0;
}

/* ── Pill Tag ──────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ── Page Header (Inner Pages) ─────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  text-align: center;
  position: relative;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(99,102,241,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Timeline ──────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent-blue), transparent);
}
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px; top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 12px rgba(99,102,241,0.5);
}
.timeline-year { font-size: 12px; color: var(--accent-blue); font-weight: 600; margin-bottom: 4px; }
.timeline-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.timeline-text { font-size: 14px; color: var(--text-secondary); }

/* ── Legal Pages ───────────────────────────────────────────── */
.legal-doc h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text-primary);
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}
.legal-doc h2:first-child { margin-top: 0; border-top: none; }
.legal-doc h3 { font-size: 15px; font-weight: 600; margin: 24px 0 10px; color: var(--text-primary); }
.legal-doc p  { font-size: 14.5px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
.legal-doc ul { padding-left: 20px; margin-bottom: 14px; }
.legal-doc li { font-size: 14.5px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 6px; }
.legal-doc strong { color: var(--text-primary); }

/* ── Animations ────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.fade-in.visible { opacity: 1; }

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ── Responsive Nav ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
}
.mobile-menu {
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  background: rgba(8,8,16,0.97);
  backdrop-filter: blur(20px);
  z-index: 900;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-links { list-style: none; }
.mobile-menu-links li + li { border-top: 1px solid var(--border-subtle); }
.mobile-menu-links a {
  display: block;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}
.mobile-menu-links a:hover { color: var(--accent-blue); }

/* ── Highlight Box ─────────────────────────────────────────── */
.highlight-box {
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.highlight-box.green {
  background: rgba(16,185,129,0.05);
  border-color: rgba(16,185,129,0.2);
}

/* ── Table ─────────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-secondary);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Tabs ──────────────────────────────────────────────────── */
.tabs-nav {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  width: fit-content;
  margin-bottom: 32px;
}
.tab-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.tab-btn.active {
  background: var(--bg-elevated);
  color: var(--text-primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Utility ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px)  {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-lg { padding: 80px 0; }
}
