/* ==========================================================================
   ATOM PARTNERS LIMITED — CORE STYLES (v1.3.0)
   Complete unified styling for templates, forms, custom selects, and intl-tel-input.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg-main: #030806;
  --bg-deep: #010302;
  --bg-card: rgba(5, 11, 8, 0.72);
  --bg-hover: rgba(14, 30, 22, 0.85);
  --bg-glass: rgba(2, 8, 5, 0.55);

  --accent-green: #00ff66;
  --accent-emerald: #10b981;
  --accent-mint: #6ee7b7;
  --accent-gradient: linear-gradient(135deg, #10b981 0%, #00ff66 100%);

  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dark: #334155;
  --border-color: rgba(16, 185, 129, 0.12);

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    sans-serif;
  --font-mono: "Fira Code", monospace;

  --radius: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;

  --navbar-height: 72px;
  --tap-target: 44px;
  --section-pad-y: clamp(48px, 8vw, 90px);
  --page-pad-x: clamp(16px, 5vw, 6%);
}

/* ===== Базовые глобальные стили ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

body.site-body {
  background-color: var(--bg-main);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cdefs%3E%3Cpattern id='g' width='48' height='48' patternUnits='userSpaceOnUse'%3E%3Cpath d='M48 0H0V48' fill='none' stroke='rgba(16,185,129,0.05)' stroke-width='0.5'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23g)'/%3E%3C/svg%3E"),
    radial-gradient(
      ellipse 80% 50% at 20% 0%,
      rgba(0, 255, 102, 0.09) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 40% at 85% 90%,
      rgba(16, 185, 129, 0.07) 0%,
      transparent 70%
    ),
    linear-gradient(
      180deg,
      rgba(4, 13, 8, 0.82) 0%,
      rgba(2, 4, 3, 0.88) 55%,
      rgba(1, 3, 2, 0.92) 100%
    ),
    url("../images/bg/site-texture.webp");
  background-size: 48px 48px, auto, auto, auto, cover;
  background-position: center, center, center, center, center;
  background-attachment: fixed;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}

body.site-body::before {
  content: "";
  position: fixed;
  top: -15%;
  left: 10%;
  width: 55vw;
  max-width: 720px;
  height: 45vh;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 255, 102, 0.14) 0%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
  animation: site-bg-glow 16s ease-in-out infinite alternate;
}

body.site-body > *:not(.terminal-drawer-root):not(.navbar-panel):not(#site-nav-overlay) {
  position: relative;
  z-index: 1;
}

@keyframes site-bg-glow {
  0% {
    opacity: 0.35;
  }
  100% {
    opacity: 0.75;
  }
}

@media (max-width: 768px) {
  body.site-body {
    background-attachment: scroll;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cdefs%3E%3Cpattern id='g' width='48' height='48' patternUnits='userSpaceOnUse'%3E%3Cpath d='M48 0H0V48' fill='none' stroke='rgba(16,185,129,0.04)' stroke-width='0.5'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23g)'/%3E%3C/svg%3E"),
      radial-gradient(
        ellipse 80% 50% at 20% 0%,
        rgba(0, 255, 102, 0.07) 0%,
        transparent 70%
      ),
      radial-gradient(
        ellipse 60% 40% at 85% 90%,
        rgba(16, 185, 129, 0.05) 0%,
        transparent 70%
      ),
      linear-gradient(
        180deg,
        rgba(4, 13, 8, 0.9) 0%,
        rgba(2, 4, 3, 0.93) 55%,
        rgba(1, 3, 2, 0.96) 100%
      ),
      url("../images/bg/site-texture.webp");
  }

  body.site-body::before {
    position: absolute;
    width: 100%;
    max-width: none;
    left: 0;
    height: 40vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.site-body::before {
    animation: none;
    opacity: 0.55;
  }
}
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
button,
input,
select,
textarea {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
}

/* ===== Навигация ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 6%;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  z-index: 1000;
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}
.logo__img {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent-green);
  text-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary {
  background: var(--accent-gradient);
  color: #020403;
  box-shadow: 0 4px 20px rgba(0, 255, 102, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 255, 102, 0.35);
}
.btn-secondary {
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.01);
}
.btn-secondary:hover {
  background: rgba(0, 255, 102, 0.06);
  border-color: var(--accent-green);
}

/* ===== Главная страница (Hero, Сетки, Метрики) ===== */
.hero {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 6%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.hero-title {
  font-size: clamp(28px, 8vw, 60px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.hero-title span {
  background: linear-gradient(90deg, var(--accent-mint), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-actions .btn {
  min-height: var(--tap-target);
}

.dashboard-preview {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 102, 0.15);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.dashboard-preview::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: var(--radius) var(--radius) 0 0;
}
.preview-badge {
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}
.preview-value {
  font-size: clamp(32px, 8vw, 54px);
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--accent-green);
  text-shadow: 0 0 30px rgba(0, 255, 102, 0.25);
  margin-bottom: 32px;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(0, 255, 102, 0.03);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(0, 255, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 102, 0);
  }
}

.metrics-strip {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(5, 11, 8, 0.4);
  padding: 40px 6%;
}
.strip-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.strip-num {
  font-family: var(--font-mono);
  font-size: clamp(24px, 5vw, 32px);
  color: var(--accent-green);
  margin-bottom: 6px;
}
.strip-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Short value centered over its label (e.g. 9+ / Years of Trusted Results) */
.strip-grid > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  width: max-content;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .metrics-strip {
    padding: 32px var(--page-pad-x);
  }

  .strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    justify-items: center;
    text-align: center;
  }

  .strip-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .strip-grid > div:last-child {
    justify-self: center;
    width: 100%;
  }
}

.about-preview-section {
  max-width: 1300px;
  margin: 120px auto;
  padding: 0 6%;
}
.preview-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.preview-meta p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-green);
  font-weight: 600;
}
.inline-link:hover i {
  transform: translateX(6px);
}
.preview-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mini-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px 24px;
  border-radius: var(--radius);
  transition: border-color 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.mini-card:hover {
  border-color: rgba(0, 255, 102, 0.22);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 255, 102, 0.06);
}
.mini-card:hover .card-icon {
  transform: scale(1.08);
}
.card-icon {
  color: var(--accent-green);
  margin-bottom: 20px;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.card-icon i {
  width: 26px;
  height: 26px;
}
.mini-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.mini-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.features-section {
  max-width: 1300px;
  margin: 140px auto;
  padding: 0 6%;
}
.section-center-header {
  text-align: center;
  margin-bottom: 64px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px 32px;
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.feature-box h4 {
  font-size: 19px;
  margin-bottom: 12px;
}
.feature-box p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.box-icon {
  color: var(--accent-mint);
  margin-bottom: 24px;
}

.section-tag {
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  display: block;
  animation: tag-pulse 3.2s ease-in-out infinite;
}
.section-heading {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

/* ===== Страница О Фонде (About Page) ===== */
/* .about-container {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 6%;
} */
.manifesto {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 64px;
  margin-bottom: 64px;
  background: linear-gradient(180deg, #fff 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grid-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px 32px;
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}
.metric-card:hover {
  border-color: rgba(0, 255, 102, 0.3);
  transform: translateY(-4px);
}
.metric-num {
  font-family: var(--font-mono);
  font-size: 38px;
  color: var(--text-main);
  margin-bottom: 12px;
}
.metric-label {
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
}
.strategy-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  border-top: 1px solid var(--border-color);
  padding-top: 64px;
}
.strategy-title {
  font-size: 13px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--accent-emerald);
}
.strategy-text p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ===== Разделенный Сплит-Макет (Регистрация) ===== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 89px);
}
.info-side {
  border-right: 1px solid var(--border-color);
  padding: 80px 12%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, #010201 0%, #030805 100%);
}
.protocol-list {
  list-style: none;
  margin-top: 60px;
}
.protocol-item {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
}
.protocol-item span:last-child {
  color: var(--accent-green);
  font-weight: 500;
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
}
.form-side {
  padding: 80px 16%;
  display: flex;
  align-items: center;
}
.register-form-container {
  width: 100%;
  max-width: 440px;
}
.form-header {
  margin-bottom: 48px;
}
.form-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}
.form-header p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Секция с Лид-Формой на Главной */
.cta-form-section {
  border-top: 1px solid var(--border-color);
  padding: var(--section-pad-y) var(--page-pad-x);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(16, 185, 129, 0.02) 100%
  );
}
.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.cta-heading {
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}
.cta-desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}
.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
}
.cta-form-wrapper {
  width: 100%;
}

/* ===== ЛИД-ФОРМА И ПРАВИЛА ВВОДА (.lead-form) ===== */
.form-box-node {
  background: #030604;
  border: 1px solid rgba(0, 255, 102, 0.18);
  padding: clamp(20px, 5vw, 40px);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.form-box-header {
  margin-bottom: 28px;
}
.form-box-header h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-box-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.form-group {
  margin-bottom: 22px;
  position: relative;
}
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-input-control {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 15px 16px;
  font-size: 16px;
  border-radius: var(--radius);
  outline: none;
  transition: var(--transition);
}
.form-input-control:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.form-input-control::placeholder {
  color: var(--text-dark);
  opacity: 1;
}

.form-input-control:-webkit-autofill,
.form-input-control:-webkit-autofill:hover,
.form-input-control:-webkit-autofill:focus,
.form-input-control:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-card) inset !important;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
  transition: background-color 5000s ease-in-out 0s;
}

.form-input-control.valid {
  border-color: var(--accent-emerald);
}

.form-input-control.invalid {
  border-color: #f43f5e;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.15);
}

.iti.iti--valid .form-input-control {
  border-color: var(--accent-emerald);
}

.iti.iti--invalid .form-input-control {
  border-color: #f43f5e;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.15);
}

/* Ошибки валидации от скрипта */
.form-group__err,
.lf-select__err {
  color: #f43f5e;
  font-size: 12px;
  margin-top: 6px;
  font-weight: 500;
}
.req-note {
  color: var(--text-dark);
  font-size: 11px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}
.form-disclaimer,
.consent-text {
  color: var(--text-dark);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 20px;
  text-align: center;
}
.consent-text a {
  color: var(--text-muted);
  text-decoration: underline;
}
.form-msg {
  text-align: center;
  font-size: 14px;
  margin-top: 12px;
  font-weight: 500;
}
.form-msg.is-error {
  color: #f43f5e;
}
.form-msg.is-success {
  color: var(--accent-green);
}

/* ===== Terminal drawer (glass lead form) ===== */
body.terminal-drawer-open {
  overflow: hidden;
}

.terminal-drawer-root {
  position: fixed;
  inset: 0;
  z-index: 3000;
  pointer-events: none;
}

.terminal-drawer-root.is-open {
  pointer-events: auto;
}

.terminal-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 3, 2, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.terminal-drawer-root.is-open .terminal-drawer-overlay {
  opacity: 1;
  visibility: visible;
}

.terminal-drawer {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: min(100%, 520px);
  height: 100%;
  max-height: 100dvh;
  background: rgba(2, 8, 5, 0.78);
  border-left: 1px solid rgba(16, 185, 129, 0.22);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.terminal-drawer-root.is-open .terminal-drawer {
  transform: translateX(0);
  visibility: visible;
}

.terminal-drawer__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: var(--radius);
  background: rgba(4, 12, 8, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  color: var(--text-main);
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.terminal-drawer__close-icon {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.25s ease;
}

.terminal-drawer__close:hover {
  border-color: rgba(0, 255, 102, 0.55);
  background: rgba(0, 255, 102, 0.1);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.15);
  transform: scale(1.06);
}

.terminal-drawer__close:hover .terminal-drawer__close-icon {
  color: var(--accent-green);
  transform: rotate(90deg);
}

.terminal-drawer__close:active {
  transform: scale(0.97);
}

.terminal-drawer__inner {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 72px 28px 32px;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, 0.35) transparent;
}

.terminal-drawer__inner::-webkit-scrollbar {
  width: 6px;
}

.terminal-drawer__inner::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.35);
  border-radius: 3px;
}

.terminal-drawer__logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  margin-bottom: 28px;
}
.terminal-drawer__logo .logo__img {
  height: 32px;
}

.terminal-drawer__title {
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.terminal-drawer__lead {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.terminal-drawer__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
}

.terminal-drawer__form .form-group {
  margin-bottom: 18px;
}

.terminal-drawer__form .form-group--full,
.terminal-drawer__form > .req-note,
.terminal-drawer__form > .btn-submit-action,
.terminal-drawer__form > .consent-text,
.terminal-drawer__form > .form-msg {
  grid-column: 1 / -1;
}

.terminal-drawer__form .form-group--full {
  margin-bottom: 14px;
}

.terminal-drawer__form .btn-submit-action {
  width: 100%;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.terminal-drawer .form-group:has(.lf-select.is-open) {
  position: relative;
  z-index: 5;
  overflow: visible;
}

@media (max-width: 768px) {
  .terminal-drawer {
    width: 100%;
  }

  .terminal-drawer__inner {
    padding: 68px 20px 28px;
  }

  .terminal-drawer__form {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .terminal-drawer,
  .terminal-drawer-overlay {
    transition: none;
  }

  .terminal-drawer__close,
  .terminal-drawer__close-icon {
    transition: none;
    transform: none;
  }
}

.terminal-drawer-root .iti {
  width: 100%;
}

/* ===== УНИКАЛЬНЫЙ СЕЛЕКТ (.lf-select) С РАЗВОРОТОМ ВВЕРХ ===== */
.lf-select {
  position: relative;
  width: 100%;
}
.lf-select__trigger {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 15px 16px;
  font-size: 16px;
  text-align: left;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.lf-select__trigger:focus,
.lf-select.is-open .lf-select__trigger {
  border-color: var(--accent-green);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.15);
}
.lf-select__arrow {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}
.lf-select.is-open .lf-select__arrow {
  transform: rotate(180deg);
  color: var(--accent-green);
}

/* Фиксация списка строго вверх */
.lf-select__list {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px) !important;
  top: auto !important;
  background: #040906;
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: var(--radius);
  list-style: none;
  z-index: 1100;
  display: none;
  box-shadow: 0 -12px 32px rgba(0, 255, 102, 0.12),
    0 -4px 10px rgba(0, 0, 0, 0.7);
  max-height: 220px;
  overflow-y: auto;
}
.lf-select.is-open .lf-select__list {
  display: block;
}
.lf-select__opt {
  padding: 14px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}
.lf-select__opt:hover,
.lf-select__opt.is-active {
  background: var(--accent-gradient);
  color: #020403;
  font-weight: 600;
}

.btn-submit-action {
  width: 100%;
  background: var(--accent-gradient);
  color: #020403;
  padding: 16px;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  min-height: var(--tap-target);
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(0, 255, 102, 0.15);
  transition: var(--transition);
}
.btn-submit-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 255, 102, 0.3);
}
.btn-submit-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== ТЕМНАЯ СТИЛИЗАЦИЯ ДЛЯ INTL-TEL-INPUT (.iti) ===== */
.iti {
  width: 100%;
}
.iti__country-list {
  background-color: #050b08 !important;
  border: 1px solid rgba(0, 255, 102, 0.25) !important;
  border-radius: var(--radius) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
  max-width: 380px;
}
.iti__country {
  padding: 10px 14px !important;
  font-size: 14px !important;
  transition: var(--transition);
}
.iti__country:hover,
.iti__country.iti__highlight {
  background-color: var(--bg-hover) !important;
  color: var(--accent-green) !important;
}
.iti__country-name {
  color: #ffffff !important;
}
.iti__dial-code {
  color: var(--text-muted) !important;
}
.iti__divider {
  border-bottom: 1px solid var(--border-color) !important;
}

/* Подвал */
.main-footer {
  border-top: 1px solid var(--border-color);
  padding: 48px 6% 32px;
  background: #010201;
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 40px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}
.footer-brand__img {
  display: block;
  height: 22px;
  width: auto;
  object-fit: contain;
}
.footer-address {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 220px;
}
.footer-nav--center {
  justify-self: center;
}
.footer-nav--center .footer-nav-col {
  align-items: stretch;
}
.footer-nav--center .footer-nav-heading {
  text-align: center;
}
.footer-nav--center .footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 48px;
}
.footer-nav-col--legal {
  justify-self: end;
}
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav-heading {
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-links a:hover,
.footer-links a.footer-link--active {
  color: var(--accent-green);
  text-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dark);
}
.footer-status {
  font-family: var(--font-mono);
  color: var(--accent-emerald);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "nav legal";
    gap: 28px 20px;
    align-items: start;
  }

  .footer-brand-col {
    grid-area: brand;
  }

  .footer-nav--center {
    grid-area: nav;
    justify-self: stretch;
  }

  .footer-nav-col--legal {
    grid-area: legal;
    justify-self: stretch;
  }

  .footer-nav--center .footer-nav-col,
  .footer-nav-col--legal {
    align-items: flex-start;
    width: 100%;
  }

  .footer-nav--center .footer-nav-heading,
  .footer-nav-col--legal .footer-nav-heading {
    text-align: left;
  }

  .footer-nav--center .footer-links {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ===== Адаптивность ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    margin: 40px auto;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 40px auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual-wrap {
    transform: none;
  }
  .preview-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .cta-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .split-layout {
    grid-template-columns: 1fr;
  }
  .info-side {
    display: none;
  }
  .form-side {
    padding: 60px 6%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .preview-cards {
    grid-template-columns: 1fr;
  }
  .manifesto {
    font-size: 26px;
  }
  .grid-metrics {
    grid-template-columns: 1fr;
  }
  .strategy-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   ATOM PARTNERS LIMITED — About Page Integrated Extension (Brutalist Dark Theme)
   ========================================================================== */

/* Привязка темы и создание фонового свечения (как на главной и регистрации) */
.about-page {
  position: relative;
  overflow-x: hidden;
}

.about-container {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 4%;
  position: relative;
  z-index: 1;
}

/* Навигация: Активная ссылка под цвет вашего бренда */
.nav-link.active-page {
  color: var(--accent-green) !important;
  font-weight: 600;
}

/* Верхний блок манифеста */
.manifesto {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 48px;
  margin-bottom: 60px;
  color: var(--text-main);
}

.manifesto .highlight {
  color: var(--accent-green);
  background: linear-gradient(
    135deg,
    var(--accent-mint) 0%,
    var(--accent-green) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Сетка числовых метрик (В стиле карточек главной страницы) */
.grid-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; /* Перешли с 1px на отступы как в основном шаблоне */
  margin-bottom: 60px;
}

.about-page .metric-card {
  text-align: center;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px 24px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.metric-card:hover {
  border-color: rgba(0, 255, 102, 0.3);
  background: var(--bg-hover);
}

.metric-num {
  font-family: var(--font-mono), monospace;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--accent-green);
}

.metric-label {
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Двухколоночные секции */
.strategy-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 48px;
  margin-bottom: 60px;
}

.strategy-title {
  font-size: 14px;
  font-family: var(--font-mono), monospace;
  text-transform: uppercase;
  color: var(--accent-emerald);
  letter-spacing: 0.05em;
  font-weight: 500;
}

.strategy-text p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 24px;
}

.strategy-text p:last-child {
  margin-bottom: 0;
}

.strategy-lead {
  font-size: 16px !important;
  color: var(--text-muted) !important;
  margin-bottom: 32px !important;
  border-left: 2px solid var(--accent-green);
  padding-left: 16px;
}

/* Трехколоночная модульная сетка слоев исполнения */
.protocols-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.protocol-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px 24px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.protocol-card:hover {
  border-color: rgba(0, 255, 102, 0.25);
  background: var(--bg-hover);
}

.protocol-card .num {
  font-family: var(--font-mono), monospace;
  color: var(--accent-mint);
  font-size: 12px;
  margin-bottom: 20px;
  display: block;
}

.protocol-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

.protocol-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Техническая таблица спецификаций параметров */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-family: var(--font-sans), sans-serif;
}

.spec-table tr {
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease;
}

.spec-table tbody tr:hover {
  background-color: rgba(14, 30, 22, 0.4);
}

.spec-table thead tr {
  border-bottom: 2px solid var(--accent-green);
}

.spec-table th {
  text-align: left;
  padding-bottom: 16px;
  font-size: 13px;
  font-family: var(--font-mono), monospace;
  letter-spacing: 0.05em;
}

.spec-table th:first-child {
  color: var(--text-main);
  font-weight: 500;
}

.spec-table th:last-child {
  color: var(--text-muted);
  font-weight: 400;
}

.spec-table td {
  padding: 20px 12px;
  vertical-align: top;
  line-height: 1.6;
  font-size: 14px;
}

.spec-table td:first-child {
  color: var(--accent-mint);
  font-family: var(--font-mono), monospace;
  font-weight: 500;
  width: 35%;
}

.spec-table td:last-child {
  color: var(--text-main);
}

/* Дисклеймер фонда */
.institutional-disclaimer {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  margin-top: 80px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-dark);
  font-family: var(--font-mono), monospace;
  letter-spacing: 0.02em;
}

/* Институциональный футер страницы */
.about-footer {
  border-top: 1px solid var(--border-color);
  margin-top: 60px;
  padding: 32px 0 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  color: var(--text-dark);
}

.about-footer .system-status {
  color: var(--accent-emerald);
  font-weight: 500;
}

/* ===== Адаптивность для компонентов About ===== */
@media (max-width: 1024px) {
  .manifesto {
    font-size: 28px;
    margin-bottom: 40px;
    padding-bottom: 32px;
  }
  .grid-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .protocols-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .strategy-section {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 32px;
  }
  .grid-metrics {
    grid-template-columns: 1fr;
  }

  .spec-table td {
    display: block;
    padding: 12px 4px;
  }
  .spec-table td:first-child {
    width: 100%;
    padding-bottom: 4px;
  }
  .about-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ==========================================================================
   ATOM PARTNERS LIMITED — Extended Technology Components (v2.0)
   ========================================================================== */

.tech-page {
  position: relative;
  overflow-x: hidden;
}

.tech-container {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 4%;
  position: relative;
  z-index: 1;
}

.nav-link.active-page {
  color: var(--accent-green) !important;
  font-weight: 600;
}

/* Блок Hero */
.tech-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px 64px;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 54px;
  margin-bottom: 60px;
}

.tech-hero-main {
  min-width: 0;
}

.tech-hero-title {
  font-size: clamp(28px, 6vw, 46px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 24px 0 20px;
  color: var(--text-main);
}

.tech-hero-title span {
  color: var(--accent-green);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tech-hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 16px;
}

.tech-hero-lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 32px;
}

.tech-hero-aside {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 102, 0.12);
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(24px, 4vw, 32px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.tech-hero-aside__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 20px;
}

.tech-hero-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tech-hero-highlights li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tech-hero-highlights i,
.tech-hero-highlights svg {
  width: 20px;
  height: 20px;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.tech-hero-highlights strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.tech-hero-highlights span {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Секционные заголовки */
.tech-section {
  margin-bottom: 80px;
}

.tech-section-header {
  margin-bottom: 40px;
}

.tech-section-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin: 8px 0;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
}

.tech-tag {
  font-family: var(--font-mono), monospace;
  font-size: 13px;
  color: var(--accent-emerald);
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Сетка карточек софта (Блок 1) */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tech-card:hover {
  border-color: rgba(0, 255, 102, 0.3);
  background: var(--bg-hover);
  transform: translateY(-2px);
}

.image-placeholder {
  height: 220px;
  background-color: rgba(4, 9, 6, 0.8);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
}

.placeholder-icon {
  width: 40px;
  height: 40px;
  color: rgba(0, 255, 102, 0.35);
}

.placeholder-spec {
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  color: var(--text-dark);
  letter-spacing: 0.06em;
}

.tech-card-content {
  padding: 28px;
}

.tech-card-content h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

.tech-card-content p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Трехколоночный блок (Блок 2) */
.tech-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 36px 28px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.feature-box:hover {
  border-color: rgba(0, 255, 102, 0.25);
  background: var(--bg-hover);
}

.feature-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon-wrap i {
  width: 22px;
  height: 22px;
  color: var(--accent-green);
}

.feature-box h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* СЕТКА ДЕВАЙСОВ И ЖЕЛЕЗА (Блок 3 — NEW) */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.device-card:hover {
  border-color: rgba(0, 255, 102, 0.3);
  background: var(--bg-hover);
}

.device-placeholder {
  height: 150px;
  background: linear-gradient(
    180deg,
    rgba(6, 14, 10, 0.6) 0%,
    rgba(2, 4, 3, 0.9) 100%
  );
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 16px;
}

.device-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-emerald);
  opacity: 0.7;
  margin-bottom: 12px;
}

.device-badge {
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  color: var(--accent-green);
  background: rgba(0, 255, 102, 0.05);
  border: 1px solid rgba(0, 255, 102, 0.15);
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.device-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.device-meta {
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.device-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.device-info p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Таблица спецификаций (Блок 4) */
.tech-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.tech-spec-table tr {
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease;
}

.tech-spec-table tbody tr:hover {
  background-color: rgba(14, 30, 22, 0.25);
}

.tech-spec-table thead tr {
  border-bottom: 2px solid var(--accent-green);
}

.tech-spec-table th {
  text-align: left;
  padding-bottom: 16px;
  font-size: 13px;
  font-family: var(--font-mono), monospace;
  letter-spacing: 0.05em;
}

.tech-spec-table th:first-child {
  color: var(--text-main);
  font-weight: 500;
}
.tech-spec-table th:last-child {
  color: var(--text-muted);
  font-weight: 400;
}

.tech-spec-table td {
  padding: 22px 12px;
  vertical-align: top;
  line-height: 1.6;
  font-size: 14px;
}

.tech-spec-table td:first-child {
  color: var(--accent-mint);
  font-family: var(--font-mono), monospace;
  font-weight: 500;
  width: 30%;
}

.tech-spec-table td:last-child {
  color: var(--text-main);
}

/* Дисклеймер и подвал */
.tech-disclaimer {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  margin-top: 80px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-dark);
  font-family: var(--font-mono), monospace;
  letter-spacing: 0.02em;
}

.tech-footer {
  border-top: 1px solid var(--border-color);
  margin-top: 60px;
  padding: 32px 0 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  color: var(--text-dark);
}

.tech-footer .system-status {
  color: var(--accent-emerald);
  font-weight: 500;
}

/* ===== Расширенная адаптивность ===== */
@media (max-width: 1024px) {
  .devices-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 1024px) {
  .tech-hero-title {
    font-size: clamp(28px, 6vw, 36px);
  }

  .tech-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
    padding-bottom: 40px;
    margin-bottom: 48px;
  }

  .tech-hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .tech-hero-subtitle,
  .tech-hero-lead {
    max-width: 100%;
  }

  .tech-hero-aside {
    width: 100%;
    text-align: left;
  }

  .tech-container {
    margin-top: 40px;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tech-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .tech-features {
    grid-template-columns: 1fr;
  }
  .devices-grid {
    grid-template-columns: 1fr;
  }
  .tech-spec-table td {
    display: block;
    padding: 12px 4px;
  }
  .tech-spec-table td:first-child {
    width: 100%;
    padding-bottom: 4px;
  }
  .tech-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
/* ==========================================================================
   ATOM PARTNERS LIMITED — EXTENDED GRAPHIC INJECTIONS (v2.4.0)
   ========================================================================== */

/* Общие стили для контентных блоков на главной */
.home-extended-section {
  padding: var(--section-pad-y) 0;
  border-bottom: 1px solid var(--border-color);
}
.home-extended-section.bg-darker {
  background: rgba(1, 3, 2, 0.65);
  border-top: 1px solid rgba(16, 185, 129, 0.06);
  box-shadow: inset 0 1px 0 rgba(0, 255, 102, 0.04);
}
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
}
.extended-title {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 700;
  color: var(--text-main);
  margin: 12px 0;
  letter-spacing: -0.02em;
}
.extended-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 48px;
  line-height: 1.6;
}

.home-extended-section .tech-grid {
  margin-top: 0;
}

.home-extended-section .allocation-grid {
  margin-top: 0;
}

.home-tech-cta {
  margin-top: 40px;
  text-align: center;
}

.faq-more-link {
  text-align: center;
  margin-top: 32px;
}

.preview-meta .highlight {
  color: var(--accent-green);
}

.preview-meta .extended-title {
  margin-bottom: 20px;
}

/* Сетка биржевых подключений */
.venues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.venue-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.venue-card:hover {
  border-color: rgba(0, 255, 102, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0, 255, 102, 0.07);
}
.venue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.venue-header i {
  color: var(--accent-green);
  width: 24px;
  height: 24px;
}
.venue-status {
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.06);
  padding: 2px 8px;
  border-radius: 3px;
  animation: venue-status-glow 2.8s ease-in-out infinite;
}
.venue-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}
.venue-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Линейка Жизненного Цикла (Roadmap) */
.lifecycle-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.timeline-step {
  border-top: 2px solid var(--text-dark);
  padding-top: 24px;
  position: relative;
  transition: transform 0.35s ease;
}
.timeline-step:hover {
  transform: translateY(-3px);
}
.timeline-step.passed {
  border-color: var(--accent-emerald);
}
.timeline-step.active {
  border-color: var(--accent-green);
}
.step-num {
  font-family: var(--font-mono), monospace;
  font-size: 14px;
  color: var(--accent-green);
  margin-bottom: 16px;
}
.timeline-step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}
.timeline-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Аккордеоны FAQ */
.faq-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.faq-section-header .extended-subtitle {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(0, 255, 102, 0.22);
  box-shadow: 0 4px 24px rgba(0, 255, 102, 0.06);
}

.faq-trigger {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: background 0.25s ease;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
}

.faq-trigger:hover {
  background: rgba(0, 255, 102, 0.03);
}

.faq-trigger h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

.faq-trigger .faq-chevron,
.faq-trigger i,
.faq-trigger svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1), color 0.25s ease, opacity 0.25s ease;
}

.faq-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0, 1, 0, 1);
}

.faq-content p {
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.is-open {
  border-color: rgba(0, 255, 102, 0.28);
  box-shadow: 0 6px 28px rgba(0, 255, 102, 0.08);
}

.faq-item.is-open .faq-trigger {
  background: rgba(0, 255, 102, 0.04);
}

.faq-item:not(.is-open) .faq-trigger:hover .faq-chevron,
.faq-item:not(.is-open) .faq-trigger:hover i,
.faq-item:not(.is-open) .faq-trigger:hover svg {
  transform: translateY(3px);
  color: var(--accent-green);
  opacity: 1;
}

.faq-item.is-open .faq-trigger .faq-chevron,
.faq-item.is-open .faq-trigger i,
.faq-item.is-open .faq-trigger svg {
  transform: rotate(180deg);
  color: var(--accent-green);
  opacity: 1;
}

.faq-item.is-open.chevron-just-opened .faq-chevron,
.faq-item.is-open.chevron-just-opened .faq-trigger i,
.faq-item.is-open.chevron-just-opened .faq-trigger svg {
  animation: faq-chevron-pop 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.faq-item.is-open .faq-content {
  max-height: 500px;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

/* FAQ page — group navigation */
.faq-group-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 850px;
  width: 100%;
  margin: 0 auto 48px;
  padding: 14px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: var(--navbar-height);
  z-index: 50;
}

.faq-group-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid rgba(16, 185, 129, 0.12);
  border-radius: 4px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.faq-group-link:hover {
  color: var(--accent-green);
  border-color: rgba(0, 255, 102, 0.35);
  background: rgba(0, 255, 102, 0.04);
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.1);
}

.faq-group-link.is-active {
  color: var(--accent-green);
  border-color: rgba(0, 255, 102, 0.45);
  background: rgba(0, 255, 102, 0.08);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.12);
}

.faq-category-block {
  margin-top: 56px;
  scroll-margin-top: 100px;
}

.faq-category-block:first-of-type {
  margin-top: 40px;
}

.faq-category-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin: 12px 0 28px;
  letter-spacing: -0.02em;
}

/* FAQ page layout */
.faq-page .section-container > .section-tag,
.faq-page .section-container > .extended-title,
.faq-page .section-container > .extended-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.faq-page .section-container > .extended-subtitle {
  max-width: 720px;
}

.faq-page .faq-category-block {
  text-align: center;
}

.faq-page .faq-category-title {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes faq-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-page .faq-category-block {
  animation: faq-fade-in 0.5s ease both;
}

.faq-page .faq-category-block:nth-of-type(1) {
  animation-delay: 0.05s;
}

.faq-page .faq-category-block:nth-of-type(2) {
  animation-delay: 0.15s;
}

.faq-page .faq-category-block:nth-of-type(3) {
  animation-delay: 0.25s;
}

@media (prefers-reduced-motion: reduce) {
  .faq-page .faq-category-block {
    animation: none;
  }
}

@media (max-width: 768px) {
  .faq-group-nav {
    top: 0;
    position: relative;
    padding: 12px;
    gap: 8px;
  }

  .faq-group-link {
    font-size: 11px;
    padding: 8px 12px;
  }
}

/* Секция About: Блоки Распределения Капитала */
.about-extended-block {
  margin: 80px 0;
}
.about-extended-block h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  margin: 8px 0 16px 0;
}
.block-lead-text {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 750px;
  margin-bottom: 40px;
}
.allocation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.allocation-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 28px;
  border-radius: 6px;
  transition: border-color 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.allocation-card:hover {
  border-color: rgba(0, 255, 102, 0.22);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 255, 102, 0.06);
}
.alloc-index {
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  color: var(--accent-green);
  margin-bottom: 12px;
}
.allocation-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 16px;
}
.alloc-bar {
  height: 4px;
  background: var(--text-dark);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}
.alloc-progress {
  height: 100%;
  background: var(--accent-gradient);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
.alloc-progress::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%);
  animation: alloc-bar-shimmer 2.4s ease-in-out infinite;
}
.allocation-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Строки Директив */
.directives-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.directive-row {
  display: flex;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: 6px;
  transition: border-color 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.directive-row:hover {
  border-color: rgba(0, 255, 102, 0.2);
  transform: translateX(4px);
  box-shadow: -4px 0 24px rgba(0, 255, 102, 0.05);
}
.dir-num {
  font-family: var(--font-mono), monospace;
  font-size: 18px;
  color: var(--accent-emerald);
  font-weight: 600;
}
.dir-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}
.dir-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Страница Технологий: Дополнительный Хаб Телеметрии */
.telemetry-bar-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: rgba(14, 30, 22, 0.2);
  border: 1px dashed var(--border-color);
  padding: 32px;
  border-radius: 6px;
}
.tel-node {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.tel-node i {
  color: var(--accent-green);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.tel-node h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}
.tel-node p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Ограничитель контейнера таблиц для адаптивности */
.table-container {
  width: 100%;
  overflow-x: auto;
}

/* ===== МЕДИА-ЗАПРОСЫ ДЛЯ НОВЫХ ЭЛЕМЕНТОВ ===== */
@media (max-width: 1024px) {
  .venues-grid,
  .lifecycle-timeline,
  .allocation-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .timeline-step {
    border-top: none;
    border-left: 2px solid var(--text-dark);
    padding-top: 0;
    padding-left: 20px;
  }
  .timeline-step.passed {
    border-left-color: var(--accent-emerald);
  }
  .timeline-step.active {
    border-left-color: var(--accent-green);
  }
  .telemetry-bar-box {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   ATOM PARTNERS LIMITED — MISSING COMPONENTS (Terminal, Onboarding, Buttons)
   ========================================================================== */

/* Кнопка Ghost (Прозрачная с ховером) */
.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 1px solid transparent;
}
.btn-ghost:hover {
  color: var(--accent-green);
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
}

/* Мокап Терминала на главной странице (Hero Right) */
.terminal-mock {
  background: #000000;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--font-mono), monospace;
  font-size: 13px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.term-header {
  background: var(--bg-card);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.term-dot:nth-child(1) {
  background: #ff5f56;
}
.term-dot:nth-child(2) {
  background: #ffbd2e;
}
.term-dot:nth-child(3) {
  background: #27c93f;
}

.term-title {
  margin-left: 12px;
  color: var(--text-muted);
  font-size: 12px;
}

.term-body {
  padding: 24px;
  line-height: 1.7;
  color: var(--text-main);
}

.term-green {
  color: var(--accent-green);
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.3);
}

.term-muted {
  color: var(--text-muted);
  margin-top: 16px;
}

.term-stats {
  margin: 20px 0;
  padding-left: 16px;
  border-left: 2px solid var(--accent-green);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Новая секция Онбординга (Захват формы на главной) */
.onboarding-section {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(16, 185, 129, 0.02) 100%
  );
}

.onboarding-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
}

.onboarding-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.onboarding-info h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--text-main);
  margin: 12px 0 24px 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.onboarding-info p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.requirement-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-card);
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
}

.req-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-size: 14px;
}

.req-item i {
  color: var(--accent-emerald);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.onboarding-form-wrapper {
  background: #030604;
  border: 1px solid rgba(0, 255, 102, 0.18);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  width: 100%;
}

/* Карточка формы для страницы Register */
.form-card {
  width: 100%;
  max-width: 440px;
}

/* Плашка статуса системы (System Badge) */
.system-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

/* Адаптивность для новых сеток */
@media (max-width: 1024px) {
  .onboarding-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 480px) {
  .onboarding-info h2 {
    font-size: 32px;
  }
  .onboarding-form-wrapper {
    padding: 24px;
  }
}


/* ==========================================================================
   ДОПОЛНИТЕЛЬНЫЕ КОМПОНЕНТЫ ПРОЕКТА
   Все новые блоки и улучшения собраны ниже
   ========================================================================== */

/* ===== Блок факта перед футером ===== */
.quick-fact {
  max-width: 1300px;
  margin: 100px auto 40px;
  padding: 0 6%;
}

.quick-fact-card {
  border: 1px solid rgba(0,255,102,0.12);
  background: var(--bg-glass);
  border-radius: 18px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.quick-fact-label {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-mint);
  margin-bottom: 16px;
}

.quick-fact-text {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  max-width: 900px;
}

/* ===== Сетка девайсов для трейдинга ===== */
.trading-devices {
  max-width: 1300px;
  margin: 120px auto;
  padding: 0 6%;
}

.devices-header {
  margin-bottom: 50px;
}

.devices-title {
  font-size: 42px;
  margin-bottom: 18px;
}

.devices-subtitle {
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
}

.devices-grid {
  display: grid;
  gap: 22px;
}

.trading-devices .device-card {
  background: var(--bg-card);
  border: 1px solid rgba(0,255,102,0.08);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

.trading-devices .device-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,255,102,0.25);
  background: var(--bg-hover);
}

.trading-devices .device-card-body {
  padding: 20px 28px 28px;
}

.device-number {
  font-size: 13px;
  color: var(--accent-green);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.device-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.device-description {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

/* ===== Рекомендации по изображениям ===== */
/*
Главная:
- Futuristic trading desk
- Dark fintech dashboard
- Abstract liquidity visualization

About:
- Institutional trading floor
- Team collaboration / analytics wall

Technology:
- Multi-monitor trading setup
- AI datacenter / GPU racks
- Quantitative analysis interface

Register:
- Minimal premium office
- Investor onboarding interface
*/

@media (max-width: 768px) {
  .quick-fact-text {
    font-size: 18px;
  }

  .devices-title {
    font-size: 32px;
  }
}


/* ==========================================================================
   FAQ БЛОКИ ПО СТРАНИЦАМ
   ========================================================================== */

.page-faq {
  max-width: 1300px;
  margin: 120px auto 60px;
  padding: 0 6%;
}

.page-faq-header {
  margin-bottom: 40px;
}

.page-faq-label {
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  margin-bottom: 14px;
}

.page-faq-title {
  font-size: 42px;
  margin-bottom: 14px;
}

.page-faq-subtitle {
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.7;
}

.page-faq-grid {
  display: grid;
  gap: 18px;
}

.page-faq-item {
  border: 1px solid rgba(0,255,102,0.08);
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
  padding: 26px;
  transition: var(--transition);
}

.page-faq-item:hover {
  border-color: rgba(0,255,102,0.25);
  background: rgba(0,255,102,0.03);
}

.page-faq-question {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-faq-answer {
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-faq-title {
    font-size: 32px;
  }
}


/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.page-faq {
  max-width: 1300px;
  margin: 120px auto 60px;
  padding: 0 6%;
}

.page-faq-header {
  margin-bottom: 50px;
}

.page-faq-label {
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  margin-bottom: 14px;
}

.page-faq-title {
  font-size: 46px;
  margin-bottom: 16px;
}

.page-faq-subtitle {
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.7;
}

.page-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-accordion-item {
  border: 1px solid rgba(0,255,102,0.08);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: var(--transition);
}

.faq-accordion-item:hover {
  border-color: rgba(0,255,102,0.22);
  background: rgba(0,255,102,0.03);
}

.faq-accordion-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 28px 30px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-accordion-icon {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.faq-accordion-item.active .faq-accordion-icon {
  transform: rotate(180deg);
}

.faq-accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-accordion-content {
  padding: 0 30px 28px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 16px;
}

@media (max-width: 768px) {
  .page-faq-title {
    font-size: 34px;
  }

  .faq-accordion-question {
    font-size: 18px;
    padding: 22px;
  }
}


/* =====================================================
   SVG VISUAL UPGRADES — image-placeholder & device-placeholder
   ===================================================== */

/* ── image-placeholder overrides ─────────────────── */
.image-placeholder.ip-terminal,
.image-placeholder.ip-routing {
  height: 220px;
  padding: 0;
  overflow: hidden;
  background: rgba(2, 4, 3, 0.95);
  position: relative;
  display: block;
}

.ip-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ip-spec-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: rgba(2, 4, 3, 0.88);
  border-top: 1px solid rgba(0, 255, 102, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.ip-spec-tag {
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  color: rgba(0, 255, 102, 0.55);
  letter-spacing: 0.06em;
}

.ip-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  color: rgba(0, 255, 102, 0.7);
  letter-spacing: 0.08em;
}

.ip-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 255, 102, 0.9);
  animation: led-blink 1.4s ease-in-out infinite;
}

/* ── device-placeholder overrides ───────────────── */
.device-placeholder.dp-monitor,
.device-placeholder.dp-hsm,
.device-placeholder.dp-server,
.device-placeholder.dp-power {
  height: 150px;
  padding: 0;
  overflow: hidden;
  background: rgba(2, 4, 3, 0.9);
  display: block;
  position: relative;
}

.dp-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Site-wide photo wraps (index, about, faq) ───── */
.hero-visual-wrap,
.venue-img-wrap,
.step-img-wrap,
.faq-visual-wrap,
.faq-page-visual,
.dir-img-wrap {
  overflow: hidden;
  background: rgba(2, 4, 3, 0.9);
}

.hero-visual-wrap img,
.venue-img-wrap img,
.step-img-wrap img,
.faq-visual-wrap img,
.faq-page-visual img,
.dir-img-wrap img,
.about-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.8) brightness(0.72);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.hero-visual-wrap {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: none;
  transform-origin: center center;
}

.hero-right {
  overflow: visible;
}

.venue-img-wrap {
  width: 100%;
  aspect-ratio: 10 / 3;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 102, 0.08);
  margin-bottom: 16px;
}

.venue-card:hover .venue-img-wrap img {
  filter: saturate(0.95) brightness(0.85);
  transform: scale(1.03);
}

.step-img-wrap {
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 102, 0.08);
  aspect-ratio: 10 / 3;
  margin-top: 4px;
}

.timeline-step:hover .step-img-wrap img {
  filter: saturate(0.95) brightness(0.85);
  transform: scale(1.03);
}

.faq-visual-wrap,
.faq-page-visual {
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 102, 0.08);
  aspect-ratio: 24 / 7;
  margin-bottom: 28px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.dir-img-wrap {
  margin-top: 18px;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 102, 0.1);
  aspect-ratio: 21 / 5;
}

/* ── trading-devices card photo wrap ─────────────── */
.tech-img-wrap,
.device-img-wrap {
  width: 100%;
  aspect-ratio: 10 / 6;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 255, 102, 0.08);
  background: rgba(2, 4, 3, 0.9);
}

.tech-img-wrap {
  aspect-ratio: 26 / 10;
}

.tech-img-wrap img,
.device-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.8) brightness(0.72);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.tech-card:hover .tech-img-wrap img,
.trading-devices .device-card:hover .device-img-wrap img,
.devices-grid .device-card:hover .device-img-wrap img {
  filter: saturate(0.95) brightness(0.85);
  transform: scale(1.04);
}

/* ── trading-devices card SVG wrap ───────────────── */
.device-svg-wrap {
  width: 100%;
  aspect-ratio: 10 / 6;
  padding: 14px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 102, 0.02);
  border-bottom: 1px solid rgba(0, 255, 102, 0.08);
}

.td-svg {
  width: 100%;
  height: 100%;
  color: rgba(0, 255, 102, 0.45);
}

.td-stroke { color: rgba(0, 255, 102, 0.45); }

/* ── LED blink animation ─────────────────────────── */
@keyframes led-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

.ip-led {
  animation: led-blink 1.4s ease-in-out infinite;
}

/* ── Keyboard LED stagger ────────────────────────── */
.td-led {
  animation: led-blink 1.8s ease-in-out infinite;
}

/* ── HSM pulse ring ─────────────────────────────── */
@keyframes dp-pulse-anim {
  0%   { opacity: 0.5; r: 18; }
  50%  { opacity: 0.15; r: 24; }
  100% { opacity: 0.5; r: 18; }
}

.dp-pulse {
  animation: dp-pulse-anim 2.4s ease-in-out infinite;
}

/* ── Routing flow line dash animation ──────────── */
@keyframes flow-dash-1 {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -36; }
}
@keyframes flow-dash-2 {
  from { stroke-dashoffset: -36; }
  to   { stroke-dashoffset: 0; }
}

.ip-flow-1 { animation: flow-dash-1 1.8s linear infinite; }
.ip-flow-2 { animation: flow-dash-2 1.8s linear infinite; }

/* ── Responsive tweaks ──────────────────────────── */
@media (max-width: 768px) {
  .device-svg-wrap {
    aspect-ratio: 10 / 5;
  }
}

@media (max-width: 768px) {
  .image-placeholder.ip-terminal,
  .image-placeholder.ip-routing {
    height: 180px;
  }
  .device-placeholder.dp-monitor,
  .device-placeholder.dp-hsm,
  .device-placeholder.dp-server,
  .device-placeholder.dp-power {
    height: 130px;
  }
}


/* =====================================================
   ABOUT PAGE SVG VISUAL UPGRADES
   ===================================================== */

/* ── Hero trading floor visual ───────────────────── */
.about-hero-visual {
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 102, 0.1);
  margin-bottom: 48px;
  background: rgba(2, 4, 3, 0.9);
  position: relative;
}

.about-hero-visual img {
  max-height: 280px;
}

/* ── Metric sparklines ───────────────────────────── */
.metric-spark {
  margin-top: 14px;
  width: 100%;
  height: 28px;
  overflow: hidden;
}

.spark-svg {
  width: 100%;
  height: 28px;
  display: block;
}

/* ── Allocation donuts ───────────────────────────── */
.alloc-donut-wrap {
  width: 80px;
  height: 80px;
  margin: 0 0 16px 0;
}

.alloc-donut {
  width: 80px;
  height: 80px;
  display: block;
}

/* ── Allocation card header icons ────────────────── */
.allocation-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.alloc-h-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Directive icons & visual strips ─────────────── */
.dir-body h3 {
  display: flex;
  align-items: center;
  gap: 9px;
}

.dir-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.dir-visual {
  margin-top: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 4px;
  background: rgba(2, 4, 3, 0.6);
  border: 1px solid rgba(0, 255, 102, 0.1);
  padding: 10px 14px 8px;
}

.dir-svg {
  width: 100%;
  min-width: 320px;
  height: auto;
  display: block;
}

/* ── Spec table check icons ───────────────────────── */
.spec-check {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  vertical-align: middle;
  flex-shrink: 0;
}

.spec-table td:first-child {
  display: flex;
  align-items: center;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .about-hero-visual img {
    max-height: 220px;
  }
  .alloc-donut-wrap {
    width: 64px;
    height: 64px;
  }
  .alloc-donut {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 768px) {
  .metric-spark {
    height: 22px;
  }
  .dir-img-wrap {
    aspect-ratio: 16 / 7;
  }
}


/* =====================================================
   INDEX PAGE SVG VISUAL UPGRADES
   ===================================================== */

/* ── Terminal: live chart strip ───────────────────── */
.term-chart {
  border-bottom: 1px solid rgba(0, 255, 102, 0.1);
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
  height: 80px;
}

.term-chart-svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ── Terminal: stat rows with sparklines ─────────── */
.term-stat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
}

.term-spark {
  width: 60px;
  height: 16px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  opacity: 0.9;
}

/* ── Venue cards: visual strip ───────────────────── */
.venue-visual {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(2, 4, 3, 0.7);
  border: 1px solid rgba(0, 255, 102, 0.08);
  margin-bottom: 16px;
  padding: 10px 12px 8px;
}

.venue-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Timeline: step header row ───────────────────── */
.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

/* step-num already styled in existing CSS — keep it */

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  padding: 3px 9px;
  border-radius: 20px;
}

.step-badge--done {
  background: rgba(16, 185, 129, 0.1);
  color: rgba(16, 185, 129, 0.8);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.step-badge--active {
  background: rgba(0, 255, 102, 0.1);
  color: rgba(0, 255, 102, 0.9);
  border: 1px solid rgba(0, 255, 102, 0.35);
}

.step-badge--upcoming {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 255, 102, 0.9);
  animation: led-blink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

/* ── Timeline: progress bar ──────────────────────── */
.step-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 14px;
}

.step-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(0, 255, 102, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.step-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: rgba(16, 185, 129, 0.7);
  transition: width 1.2s ease;
}

.step-progress-fill--active {
  background: linear-gradient(90deg, rgba(0,255,102,0.5), rgba(0,255,102,0.9));
}

.step-progress-fill--upcoming {
  background: rgba(255, 255, 255, 0.1);
}

.step-progress-label {
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  color: rgba(0, 255, 102, 0.55);
  flex-shrink: 0;
  min-width: 36px;
  text-align: right;
}

/* ── Timeline: milestone pills ───────────────────── */
.step-milestones {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.step-milestone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono), monospace;
  font-size: 11px;
}

.step-milestone.done {
  color: rgba(16, 185, 129, 0.75);
}

.step-milestone.pending {
  color: rgba(255, 255, 255, 0.25);
}

/* ── Timeline: mini SVG strip ────────────────────── */
.step-visual {
  overflow: hidden;
  border-radius: 4px;
  background: rgba(2, 4, 3, 0.7);
  border: 1px solid rgba(0, 255, 102, 0.08);
  padding: 8px 10px 6px;
  margin-top: 4px;
}

.step-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Onboarding: trust venue badges ──────────────── */
.trust-venues {
  margin: 22px 0 20px;
}

.trust-venues__label {
  display: block;
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  color: rgba(0, 255, 102, 0.4);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.trust-venues__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.trust-venue-badge {
  display: flex;
  align-items: center;
  background: rgba(0, 255, 102, 0.04);
  border: 1px solid rgba(0, 255, 102, 0.15);
  border-radius: 5px;
  padding: 5px 10px;
  height: 28px;
}

.tvb-svg {
  height: 18px;
  width: auto;
  display: block;
}

.trust-venue-badge--more {
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  color: rgba(0, 255, 102, 0.35);
  letter-spacing: 0.04em;
}

/* ── Onboarding: security seals ──────────────────── */
.security-seals {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 14px 16px;
  background: rgba(0, 255, 102, 0.03);
  border: 1px solid rgba(0, 255, 102, 0.1);
  border-radius: 6px;
}

.seal-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 120px;
}

.seal-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.seal-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seal-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono), monospace;
  letter-spacing: 0.03em;
}

.seal-sub {
  font-size: 11px;
  color: rgba(0, 255, 102, 0.45);
  font-family: var(--font-mono), monospace;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .venue-visual {
    padding: 8px 10px 6px;
  }
  .security-seals {
    gap: 12px;
  }
  .seal-svg {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 768px) {
  .term-chart {
    height: 60px;
  }
  .term-chart-svg {
    height: 60px;
  }
  .trust-venues__row {
    gap: 6px;
  }
  .security-seals {
    flex-direction: column;
    gap: 12px;
  }
  .step-milestones {
    display: none;
  }
  .step-img-wrap {
    aspect-ratio: 10 / 4;
  }
}

/* =====================================================
   SECTION REVEAL & MICRO-ANIMATIONS
   ===================================================== */

@keyframes faq-chevron-pop {
  0%, 100% { transform: rotate(180deg) scale(1); }
  45% { transform: rotate(180deg) scale(1.18); }
}

@keyframes faq-chevron-hint {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 0.9; transform: translateY(2px); }
}

.faq-item:not(.is-open) .faq-chevron,
.faq-item:not(.is-open) .faq-trigger > i,
.faq-item:not(.is-open) .faq-trigger > svg {
  animation: faq-chevron-hint 2.6s ease-in-out infinite;
}

.faq-item:not(.is-open):hover .faq-chevron,
.faq-item:not(.is-open):hover .faq-trigger > i,
.faq-item:not(.is-open):hover .faq-trigger > svg,
.faq-item.is-open .faq-chevron,
.faq-item.is-open .faq-trigger > i,
.faq-item.is-open .faq-trigger > svg {
  animation: none;
}

@keyframes tag-pulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

.tech-tag {
  animation: tag-pulse 3.2s ease-in-out infinite;
}

@keyframes venue-status-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(16, 185, 129, 0); }
  50% { box-shadow: 0 0 10px rgba(16, 185, 129, 0.18); }
}

@keyframes alloc-bar-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.sec-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.sec-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sec-reveal-d1 { transition-delay: 0.06s; }
.sec-reveal-d2 { transition-delay: 0.12s; }
.sec-reveal-d3 { transition-delay: 0.18s; }
.sec-reveal-d4 { transition-delay: 0.24s; }
.sec-reveal-d5 { transition-delay: 0.3s; }
.sec-reveal-d6 { transition-delay: 0.36s; }

.faq-content p {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease 0.05s, transform 0.35s ease 0.05s;
}

.faq-item.is-open .faq-content p {
  opacity: 1;
  transform: translateY(0);
}

.alloc-donut-wrap {
  transition: transform 0.4s ease;
}

.allocation-card:hover .alloc-donut-wrap {
  transform: scale(1.05);
}

.metric-card,
.feature-box,
.tel-node,
.device-card {
  transition: border-color 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.metric-card:hover,
.feature-box:hover,
.tel-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 255, 102, 0.06);
}

.tel-node i,
.feature-icon-wrap i,
.dir-icon,
.alloc-h-icon {
  transition: transform 0.35s ease, color 0.25s ease;
}

.tel-node:hover i,
.feature-box:hover .feature-icon-wrap i,
.directive-row:hover .dir-icon,
.allocation-card:hover .alloc-h-icon {
  transform: scale(1.1);
  color: var(--accent-green);
}

.faq-group-link {
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.25s ease;
}

.faq-group-link:hover {
  transform: translateY(-2px);
}

.faq-group-link.is-active {
  animation: faq-nav-active-pulse 2.5s ease-in-out infinite;
}

@keyframes faq-nav-active-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 102, 0.12); }
  50% { box-shadow: 0 0 28px rgba(0, 255, 102, 0.2); }
}

@media (prefers-reduced-motion: reduce) {
  .sec-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .faq-item:not(.is-open) .faq-chevron,
  .faq-item:not(.is-open) .faq-trigger > i,
  .faq-item:not(.is-open) .faq-trigger > svg,
  .section-tag,
  .tech-tag,
  .venue-status,
  .faq-group-link.is-active,
  .alloc-progress::after {
    animation: none;
  }

  .faq-content p {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .venue-card:hover,
  .allocation-card:hover,
  .mini-card:hover,
  .directive-row:hover,
  .timeline-step:hover,
  .metric-card:hover,
  .feature-box:hover,
  .tel-node:hover {
    transform: none;
  }
}

/* ==========================================================================
   RESPONSIVE SYSTEM — Mobile navigation, touch UX, layout guards
   ========================================================================== */

body.nav-open {
  overflow: hidden;
}

/* ----- Mobile navbar ----- */

.navbar-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: var(--tap-target);
  height: var(--tap-target);
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  flex-shrink: 0;
  z-index: 1002;
  transition: var(--transition);
}

.navbar-toggle:hover {
  border-color: rgba(0, 255, 102, 0.35);
  background: rgba(0, 255, 102, 0.06);
}

.navbar-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar.is-open .navbar-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar.is-open .navbar-toggle__bar:nth-child(2) {
  opacity: 0;
}

.navbar.is-open .navbar-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(1, 3, 2, 0.88);
  z-index: 3499;
}

.navbar.is-open .navbar-backdrop {
  display: block;
}

.navbar-panel__logo {
  display: none;
  text-decoration: none;
  line-height: 0;
}

.navbar-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 320px);
  height: 100dvh;
  max-height: 100dvh;
  padding: calc(var(--navbar-height) + 16px) 24px 32px;
  background: #010302;
  border-left: 1px solid var(--border-color);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease;
  z-index: 3502;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  isolation: isolate;
}

.navbar.is-open .navbar-panel,
body.nav-open .navbar-panel {
  transform: translateX(0);
  visibility: visible;
}

.navbar-panel .nav-links {
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.navbar-panel .nav-link {
  display: flex;
  align-items: center;
  min-height: var(--tap-target);
  padding: 10px 0;
  font-size: 16px;
}

.navbar-panel .btn {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}

@media (max-width: 1023px) {
  .navbar {
    padding: 16px var(--page-pad-x);
    gap: 12px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #020805;
    z-index: 3500;
  }

  .logo__img {
    height: 36px;
  }

  .navbar-backdrop {
    display: none !important;
  }

  .navbar-panel {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    bottom: 0;
    width: min(100%, 300px);
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    padding: 24px 28px 32px;
    background: #010302;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-left: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: -24px 0 80px rgba(0, 0, 0, 0.85);
    transform: translateX(100%);
    visibility: hidden;
    z-index: 3502;
    isolation: isolate;
    gap: 16px;
  }

  .navbar-panel__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.12);
    flex-shrink: 0;
  }

  .navbar-panel__logo-img {
    display: block;
    height: 42px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .navbar.is-open .navbar-panel,
  body.nav-open .navbar-panel {
    transform: translateX(0);
    visibility: visible;
  }

  .navbar-panel .nav-links {
    border-top: none;
  }

  .navbar-panel .nav-link {
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 0;
  }

  .navbar-panel .nav-link.active,
  .navbar-panel .nav-link.active-page {
    color: var(--accent-green);
  }

  .navbar-panel .btn {
    margin-top: 8px;
    background: rgba(0, 255, 102, 0.08);
    border-color: rgba(16, 185, 129, 0.35);
  }
}

@media (min-width: 1024px) {
  .navbar-toggle,
  .navbar-backdrop {
    display: none !important;
  }

  .navbar-panel__logo {
    display: none !important;
  }

  .navbar-panel {
    position: static;
    width: auto;
    height: auto;
    max-height: none;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
    visibility: visible;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    overflow: visible;
    margin-left: auto;
  }

  .navbar-panel .nav-links {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex-direction: row;
    gap: 40px;
    width: auto;
  }

  .navbar-panel .nav-link {
    display: inline;
    min-height: auto;
    padding: 0;
    font-size: 14px;
  }

  .navbar-panel .btn {
    width: auto;
    min-height: auto;
  }
}

/* ----- Hero & layout guards ----- */

@media (max-width: 1024px) {
  .hero {
    margin: 24px auto;
  }

  .hero-right {
    display: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (min-width: 1025px) {
  .hero-visual-wrap {
    transform: scale(1.2);
  }
}

/* ----- Register page ----- */

.register-info-title {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 700;
  margin-top: 16px;
}

.register-info-lead {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.register-security-note {
  font-size: 13px;
  color: var(--text-dark);
  font-family: var(--font-mono);
}

/* ----- Footer touch targets ----- */

.footer-links a {
  display: inline-block;
  padding: 8px 0;
  min-height: var(--tap-target);
  line-height: 1.4;
}

@media (max-width: 480px) {
  .footer-inner {
    padding-left: var(--page-pad-x);
    padding-right: var(--page-pad-x);
  }

  .main-footer {
    padding-top: 48px;
    padding-bottom: 32px;
  }
}

/* ----- Forms on small screens ----- */

@media (max-width: 480px) {
  .btn-submit-action {
    width: 100%;
  }

  .form-side {
    padding: 40px var(--page-pad-x);
  }
}

@media (max-width: 768px) {
  .lf-select__list {
    bottom: auto !important;
    top: calc(100% + 8px) !important;
    box-shadow: 0 12px 32px rgba(0, 255, 102, 0.12),
      0 4px 10px rgba(0, 0, 0, 0.7);
  }
}

/* ----- Hover effects: desktop only ----- */

@media (hover: hover) and (pointer: fine) {
  .venue-card:hover,
  .allocation-card:hover,
  .mini-card:hover,
  .directive-row:hover,
  .timeline-step:hover,
  .metric-card:hover,
  .feature-box:hover,
  .tel-node:hover,
  .device-card:hover,
  .trading-devices .device-card:hover {
    transform: translateY(-3px);
  }

  .venue-card:hover .venue-img-wrap img,
  .timeline-step:hover .step-img-wrap img {
    transform: scale(1.03);
  }

  .allocation-card:hover .alloc-donut-wrap {
    transform: scale(1.05);
  }

  .trading-devices .device-card:hover {
    transform: translateY(-4px);
  }
}

@media (hover: none), (pointer: coarse) {
  .venue-card:hover,
  .allocation-card:hover,
  .mini-card:hover,
  .directive-row:hover,
  .timeline-step:hover,
  .metric-card:hover,
  .feature-box:hover,
  .tel-node:hover,
  .device-card:hover,
  .trading-devices .device-card:hover,
  .faq-group-link:hover {
    transform: none;
  }
}

/* ===== Mobile grid overrides (must follow late base grid rules) ===== */

html {
  overflow-x: hidden;
}

/* body.site-body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
} */

main,
.about-container,
.tech-container,
.section-container,
.home-extended-section,
.trading-devices,
.quick-fact {
  width: 100%;
  min-width: 0;
}

body > .navbar-panel {
  position: fixed;
  z-index: 3502;
}

.site-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(1, 3, 2, 0.92);
  z-index: 3501;
}

body > #site-nav-overlay {
  z-index: 3501;
}

body.nav-open .site-nav-overlay {
  display: block;
}

img,
video,
svg,
.hero-visual-wrap,
.about-hero-visual,
.tech-img-wrap,
.device-img-wrap,
.venue-img-wrap {
  max-width: 100%;
}

@media (max-width: 1024px) {
  .devices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .tech-grid,
  .venues-grid,
  .lifecycle-timeline,
  .allocation-grid,
  .preview-cards,
  .onboarding-grid,
  .cta-container,
  .preview-layout {
    grid-template-columns: 1fr;
  }

  .tech-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-metrics,
  .protocols-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trading-devices,
  .tech-section {
    padding-left: var(--page-pad-x);
    padding-right: var(--page-pad-x);
  }

  .devices-title {
    font-size: clamp(26px, 6vw, 36px);
  }
}

@media (max-width: 768px) {
  .devices-grid,
  .tech-features,
  .grid-metrics,
  .protocols-grid {
    grid-template-columns: 1fr;
  }

  .device-card,
  .trading-devices .device-card {
    min-width: 0;
  }

  .device-info,
  .trading-devices .device-card-body,
  .tech-card-content {
    padding: 20px 16px;
  }

  .device-name {
    font-size: clamp(18px, 5vw, 22px);
  }

  .device-info p,
  .device-description {
    font-size: 14px;
    line-height: 1.65;
  }

  .tech-section-header h2,
  .devices-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .manifesto {
    font-size: clamp(24px, 6vw, 32px);
  }
}
