/* ═══════════════════════════════════════════════════════════
   TRUST — Corporate Portal Stylesheet
   Palette: Deep Blue #0A1628 / Steel Gray #2C3E50 / Accent #2563EB
═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-950:  #05101f;
  --blue-900:  #0A1628;
  --blue-800:  #0D1F3C;
  --blue-700:  #1A3A6B;
  --blue-600:  #1e4d9b;
  --accent:    #2563EB;
  --accent-lt: #3b82f6;
  --steel-700: #2C3E50;
  --steel-600: #374151;
  --steel-500: #4A5568;
  --steel-400: #718096;
  --steel-300: #A0AEC0;
  --steel-200: #CBD5E0;
  --steel-100: #EDF2F7;
  --white:     #F7FAFC;
  --text:      #E2E8F0;
  --text-dim:  #94A3B8;
  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(0,0,0,0.35);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --font:      'Inter', system-ui, sans-serif;
  --mono:      'JetBrains Mono', monospace;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--blue-900);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

a { color: var(--accent-lt); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }
ul { list-style: none; }
img { max-width: 100%; }

/* ── UTILITIES ─────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.4);
  color: var(--accent-lt); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
}

.tag {
  display: inline-block; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); color: var(--steel-300);
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 4px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  color: var(--white); line-height: 1.2; margin-bottom: 16px;
}
.section-sub {
  font-size: 16px; color: var(--steel-300); max-width: 600px;
  line-height: 1.7; margin-bottom: 48px;
}

.divider { height: 1px; background: rgba(255,255,255,0.07); margin: 0; }

/* ── NAVBAR ─────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,22,40,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--white) !important; font-weight: 700;
  font-size: 18px; letter-spacing: 0.04em;
}
.logo-icon { font-size: 22px; }
.logo-text { color: var(--white); }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links li a {
  color: var(--steel-300); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--white); background: rgba(255,255,255,0.07); }

.nav-cta {
  background: var(--accent) !important; color: var(--white) !important;
  padding: 8px 18px !important; border-radius: var(--radius) !important;
  font-weight: 600 !important; margin-left: 8px;
}
.nav-cta:hover { background: var(--accent-lt) !important; }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span { width: 22px; height: 2px; background: var(--steel-300); border-radius: 2px; transition: 0.3s; }

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 4px;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--blue-800); border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 16px 24px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 10px 16px; }
  .nav-cta { margin-left: 0 !important; }
}

/* ── HERO ──────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-800) 60%, #0f2d5e 100%);
  position: relative; overflow: hidden; padding-top: 64px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; position: relative; z-index: 1;
}
.hero-eyebrow { margin-bottom: 20px; }
.hero-title {
  font-size: clamp(36px, 5vw, 60px); font-weight: 800;
  color: var(--white); line-height: 1.1; margin-bottom: 24px;
}
.hero-title .accent { color: var(--accent-lt); }
.hero-desc {
  font-size: 17px; color: var(--steel-300); line-height: 1.75;
  margin-bottom: 40px; max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; padding: 12px 24px;
  border-radius: var(--radius); cursor: pointer; border: none;
  transition: all var(--transition); text-decoration: none;
}
.btn-primary {
  background: var(--accent); color: var(--white);
}
.btn-primary:hover { background: var(--accent-lt); color: var(--white); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,0.4); }

.btn-outline {
  background: transparent; color: var(--steel-200);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { background: rgba(255,255,255,0.07); color: var(--white); }

.btn-ghost {
  background: transparent; color: var(--accent-lt);
  border: 1px solid rgba(37,99,235,0.4);
}
.btn-ghost:hover { background: rgba(37,99,235,0.12); color: var(--accent-lt); }

.hero-stats {
  display: flex; gap: 40px; margin-top: 48px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-value { font-size: 32px; font-weight: 800; color: var(--white); }
.stat-label { font-size: 13px; color: var(--steel-400); margin-top: 2px; }

/* HERO VISUAL */
.hero-visual { position: relative; }
.lock-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 32px;
  backdrop-filter: blur(8px); box-shadow: var(--shadow);
}
.lock-card-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.lock-icon { font-size: 36px; }
.lock-title { font-size: 18px; font-weight: 700; color: var(--white); }
.lock-sub { font-size: 12px; color: var(--steel-400); }

.progress-item { margin-bottom: 20px; }
.progress-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--steel-300); margin-bottom: 8px; }
.progress-bar { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--blue-700), var(--accent)); }

.encrypt-demo {
  background: var(--blue-950); border-radius: var(--radius);
  padding: 16px; font-family: var(--mono); font-size: 12px; margin-top: 20px;
}
.encrypt-label { color: var(--steel-400); font-size: 11px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.encrypt-text { color: #22d3ee; word-break: break-all; line-height: 1.5; }
.encrypt-arrow { color: var(--steel-500); margin: 8px 0; text-align: center; }
.encrypt-cipher { color: #a78bfa; word-break: break-all; line-height: 1.5; }

/* ── CARDS ─────────────────────────────────────── */
.card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 32px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.card:hover { border-color: rgba(37,99,235,0.4); background: rgba(37,99,235,0.05); transform: translateY(-2px); }
.card-icon { font-size: 32px; margin-bottom: 16px; }
.card-title { font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.card-text { font-size: 14px; color: var(--steel-300); line-height: 1.65; }

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

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
}

/* ── TECH PAGE ─────────────────────────────────── */
.tech-diagram {
  background: var(--blue-800); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 40px; margin: 48px 0;
  text-align: center;
}
.tech-flow {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.tech-step {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 20px 28px; text-align: center; min-width: 130px;
}
.tech-step-icon { font-size: 28px; margin-bottom: 8px; }
.tech-step-label { font-size: 13px; font-weight: 600; color: var(--white); }
.tech-step-sub { font-size: 11px; color: var(--steel-400); margin-top: 4px; }
.tech-arrow { font-size: 24px; color: var(--accent); }

.code-block {
  background: var(--blue-950); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 24px;
  font-family: var(--mono); font-size: 13px; line-height: 1.8;
  overflow-x: auto; margin: 24px 0;
}
.code-block .kw { color: #818cf8; }
.code-block .fn { color: #34d399; }
.code-block .str { color: #fbbf24; }
.code-block .cm { color: var(--steel-500); font-style: italic; }
.code-block .num { color: #f87171; }

.spec-table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
}
.spec-table th {
  background: rgba(255,255,255,0.05); padding: 12px 16px;
  text-align: left; font-size: 12px; font-weight: 600;
  color: var(--steel-400); text-transform: uppercase; letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.spec-table td {
  padding: 14px 16px; font-size: 14px; color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.spec-table tr:hover td { background: rgba(255,255,255,0.02); }
.spec-table td:first-child { color: var(--steel-300); font-weight: 500; }

/* ── ABOUT PAGE ──────────────────────────────────── */
.acronym-grid {
  display: grid; grid-template-columns: auto 1fr; gap: 0;
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg);
  overflow: hidden; margin: 40px 0;
}
.acronym-letter {
  font-size: clamp(48px, 8vw, 80px); font-weight: 900;
  color: var(--accent); padding: 32px 40px;
  background: rgba(37,99,235,0.08); border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  min-width: 120px; letter-spacing: -0.02em;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.acronym-content {
  padding: 32px 36px; border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; justify-content: center;
}
.acronym-word { font-size: 22px; font-weight: 700; color: var(--white); }
.acronym-word-ru { font-size: 14px; color: var(--steel-400); margin-top: 4px; }
.acronym-desc { font-size: 14px; color: var(--steel-300); margin-top: 8px; line-height: 1.6; }

.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: rgba(255,255,255,0.08);
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-dot {
  position: absolute; left: -28px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--blue-900);
}
.timeline-year { font-size: 12px; color: var(--accent-lt); font-weight: 600; margin-bottom: 4px; }
.timeline-text { font-size: 14px; color: var(--steel-300); }
.timeline-title { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 6px; }

/* ── CORPORATE PLANS ─────────────────────────────── */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 36px; position: relative;
  transition: all var(--transition);
}
.plan-card.featured {
  border-color: var(--accent); background: rgba(37,99,235,0.08);
}
.plan-card.featured::before {
  content: 'Популярный'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: white; font-size: 11px; font-weight: 700;
  padding: 4px 14px; border-radius: 100px; letter-spacing: 0.06em; text-transform: uppercase;
}
.plan-name { font-size: 14px; font-weight: 600; color: var(--steel-300); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.plan-tagline { font-size: 14px; color: var(--steel-400); margin-bottom: 24px; }
.plan-cta { width: 100%; justify-content: center; margin-top: 32px; }

.plan-features { margin-top: 24px; }
.plan-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--steel-300); padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.plan-feature:last-child { border-bottom: none; }
.plan-feature .check { color: #34d399; flex-shrink: 0; margin-top: 1px; }
.plan-feature .cross { color: var(--steel-600); flex-shrink: 0; }

@media (max-width: 900px) { .plans-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* ── API DOCS ─────────────────────────────────────── */
.api-sidebar-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.api-sidebar {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 80px;
}
.api-sidebar h4 { font-size: 12px; font-weight: 700; color: var(--steel-400); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; margin-top: 20px; }
.api-sidebar h4:first-child { margin-top: 0; }
.api-sidebar a {
  display: block; color: var(--steel-300); font-size: 14px; padding: 6px 10px;
  border-radius: 6px; margin-bottom: 2px;
}
.api-sidebar a:hover { background: rgba(255,255,255,0.06); color: var(--white); }

.endpoint {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); margin-bottom: 24px; overflow: hidden;
}
.endpoint-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
}
.method {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 4px; letter-spacing: 0.04em;
}
.method.post { background: rgba(52,211,153,0.15); color: #34d399; }
.method.get  { background: rgba(59,130,246,0.15); color: #60a5fa; }
.method.del  { background: rgba(248,113,113,0.15); color: #f87171; }

.endpoint-path { font-family: var(--mono); font-size: 14px; color: var(--white); }
.endpoint-body { padding: 24px; }
.endpoint-desc { font-size: 14px; color: var(--steel-300); margin-bottom: 20px; }

.param-table { width: 100%; border-collapse: collapse; }
.param-table th { font-size: 11px; color: var(--steel-400); text-transform: uppercase; letter-spacing: 0.08em; padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,0.06); text-align: left; }
.param-table td { padding: 10px 12px; font-size: 13px; color: var(--text); border-bottom: 1px solid rgba(255,255,255,0.04); }
.param-table td:first-child { font-family: var(--mono); color: var(--accent-lt); }
.param-type { font-family: var(--mono); font-size: 11px; color: #a78bfa; background: rgba(167,139,250,0.1); padding: 2px 6px; border-radius: 3px; }
.required-badge { font-size: 10px; font-weight: 700; color: #f87171; background: rgba(248,113,113,0.1); padding: 2px 6px; border-radius: 3px; letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 900px) { .api-sidebar-layout { grid-template-columns: 1fr; } .api-sidebar { display: none; } }

/* ── BLOG ─────────────────────────────────────────── */
.blog-featured {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; margin-bottom: 40px;
}
.blog-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  cursor: pointer;
}
.blog-card:hover { border-color: rgba(37,99,235,0.4); transform: translateY(-2px); }
.blog-img {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 64px; background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
}
.blog-img.large { height: 260px; }
.blog-content { padding: 24px; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.blog-date { font-size: 12px; color: var(--steel-400); }
.blog-title { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 10px; line-height: 1.35; }
.blog-excerpt { font-size: 14px; color: var(--steel-300); line-height: 1.65; }
.blog-card-sm .blog-title { font-size: 15px; }
.blog-read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--accent-lt); margin-top: 16px; font-weight: 500; }

@media (max-width: 900px) { .blog-featured { grid-template-columns: 1fr; } }

/* ── FAQ ──────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer; font-size: 16px; font-weight: 500;
  color: var(--white); transition: color var(--transition);
  background: none; border: none; width: 100%; text-align: left;
}
.faq-question:hover { color: var(--accent-lt); }
.faq-chevron { color: var(--steel-400); font-size: 18px; transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s;
  font-size: 14px; color: var(--steel-300); line-height: 1.75; padding-bottom: 0;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 20px; }

/* ── LEGAL ────────────────────────────────────────── */
.legal-nav {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
}
.legal-tab {
  padding: 8px 18px; border-radius: var(--radius);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: var(--steel-300); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
}
.legal-tab.active, .legal-tab:hover {
  background: var(--accent); border-color: var(--accent); color: white;
}
.legal-section { display: none; }
.legal-section.active { display: block; }

.legal-content h3 { font-size: 18px; font-weight: 700; color: var(--white); margin: 28px 0 10px; }
.legal-content h3:first-child { margin-top: 0; }
.legal-content p { font-size: 14px; color: var(--steel-300); line-height: 1.75; margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; }
.legal-content li { font-size: 14px; color: var(--steel-300); line-height: 1.65; margin-bottom: 6px; list-style: disc; }

.requisites-block {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 32px; margin-top: 24px;
}
.req-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 16px;
}
.req-row:last-child { border-bottom: none; }
.req-key { font-size: 13px; color: var(--steel-400); flex-shrink: 0; min-width: 180px; }
.req-val { font-size: 14px; color: var(--white); font-weight: 500; text-align: right; }

/* ── CONTACT STRIP ────────────────────────────────── */
.contact-strip {
  background: linear-gradient(135deg, var(--blue-800) 0%, #0f2d5e 100%);
  border-radius: var(--radius-lg); padding: 48px;
  border: 1px solid rgba(37,99,235,0.25);
  text-align: center; margin: 48px 0 0;
}
.contact-strip h2 { font-size: 32px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.contact-strip p { color: var(--steel-300); margin-bottom: 32px; }
.contact-strip .btn { margin: 0 8px; }
.contact-info { display: flex; justify-content: center; gap: 40px; margin-top: 28px; flex-wrap: wrap; }
.contact-item { text-align: center; }
.contact-label { font-size: 11px; color: var(--steel-400); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.contact-value { font-size: 15px; color: var(--white); font-weight: 500; }
.contact-value a { color: var(--accent-lt); }
.contact-value a:hover { color: var(--white); }

/* ── FOOTER ───────────────────────────────────────── */
.footer {
  background: var(--blue-950); border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--steel-400); line-height: 1.6; margin-bottom: 8px; }
.footer-legal-short { font-size: 11px !important; color: var(--steel-600) !important; }
.footer-col h4 { font-size: 12px; font-weight: 700; color: var(--steel-400); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--steel-400); }
.footer-col a:hover { color: var(--white); }
.footer-col li:not(:has(a)) { font-size: 14px; color: var(--steel-500); line-height: 1.5; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px; color: var(--steel-500); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--steel-400); }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ── PAGE TRANSITIONS ─────────────────────────────── */
.page { animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ── SECTION HIGHLIGHT ────────────────────────────── */
.highlight-box {
  background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.25);
  border-radius: var(--radius-lg); padding: 28px 32px;
}
.highlight-box p { font-size: 15px; color: var(--steel-200); line-height: 1.7; margin: 0; }

/* ── TRUST SEAL ───────────────────────────────────── */
.trust-seals { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.seal {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 10px 16px;
}
.seal-icon { font-size: 18px; }
.seal-text { font-size: 12px; color: var(--steel-300); font-weight: 500; }

/* ── MODAL ───────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--blue-800); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 36px; max-width: 560px; width: 100%;
  max-height: 90vh; overflow-y: auto; position: relative;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  color: var(--steel-300); font-size: 20px; line-height: 1;
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.13); color: var(--white); }

.modal-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.modal-icon { font-size: 40px; line-height: 1; }
.modal-title { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.modal-sub { font-size: 14px; color: var(--steel-400); }

/* Steps */
.modal-steps { display: flex; flex-direction: column; gap: 0; }

.mstep {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mstep:last-child { border-bottom: none; }
.mstep-done { padding-bottom: 0; }

.mstep-num {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: rgba(37,99,235,0.25); border: 1px solid rgba(37,99,235,0.5);
  color: var(--accent-lt); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

.mstep-body { flex: 1; }
.mstep-title { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.mstep-text  { font-size: 13px; color: var(--steel-300); line-height: 1.6; }

.mstep-code {
  display: inline-block; margin-top: 10px;
  background: var(--blue-950); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px; padding: 8px 14px;
  font-family: var(--mono); font-size: 13px; color: #34d399;
  letter-spacing: 0.02em; word-break: break-all;
}

.mstep-visual {
  display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap;
}
.mstep-pill {
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 100px;
}
.mstep-pill.inactive {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: var(--steel-400);
}
.mstep-pill.active {
  background: rgba(52,211,153,0.15); border: 1px solid rgba(52,211,153,0.4);
  color: #34d399;
}
.mstep-arrow { color: var(--steel-500); font-size: 16px; }

.modal-note {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 24px; padding: 14px 16px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; font-size: 12px; color: var(--steel-400); line-height: 1.6;
}
.modal-note a { color: var(--accent-lt); }

/* ── INSTALL BANNER ──────────────────────────────── */
.install-banner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.install-banner-left {
  display: flex; align-items: center; gap: 16px;
}
.install-icon { font-size: 36px; }
.install-title { font-size: 18px; font-weight: 700; color: var(--white); }
.install-sub { font-size: 13px; color: var(--steel-400); margin-top: 3px; }
.install-banner-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.install-note { font-size: 12px; color: var(--steel-500); }

/* ── BROWSER SUPPORT ─────────────────────────────── */
.browser-support {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px; flex-wrap: wrap;
}
.browser-support-label { font-size: 12px; color: var(--steel-500); }
.browser-list { display: flex; gap: 8px; flex-wrap: wrap; }
.browser-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px; padding: 4px 12px;
  font-size: 12px; color: var(--steel-300); font-weight: 500;
}

/* ── HERO CONTENT / API CONTENT ─────────────────── */
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
}

.api-content { min-width: 0; }

/* ── RESPONSIVE TWEAKS ────────────────────────────── */
main { padding-top: 64px; }
