/* ═══════════════════════════════════════════
   Battery Passport — Main Styles
   Dark theme + Light theme support
   ═══════════════════════════════════════════ */

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

/* ── FONTS ── */

/* inter */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/inter-v20-latin-300.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin-700.woff2') format('woff2');
}

/* rajdhani */
@font-face {
  font-display: swap;
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/rajdhani-v17-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/rajdhani-v17-latin-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/rajdhani-v17-latin-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/rajdhani-v17-latin-700.woff2') format('woff2');
}

/* ── VARIABLES ── */
:root {
  /* Light theme (default) */
  --bg: #f5f7fa;
  --bg-2: #eef0f5;
  --bg-3: #e2e6ee;
  --surface: #ffffff;
  --surface-2: #f0f2f8;
  --border: rgba(0, 20, 40, 0.10);
  --blue: #0066cc;
  --blue-dim: #004b99;
  --magenta: #c530c5;
  --magenta-dim: #8f2a8f;
  --logo-accent: rgb(56 189 248);
  --text: #1a1a2e;
  --svg-path: #1a1a2e;
  --text-dim: #3d3d5c;
  --text-muted: #6b6b8a;
  --gradient: linear-gradient(135deg, #0066cc 0%, #c530c5 100%);
  --gradient-r: linear-gradient(135deg, #c530c5 0%, #0066cc 100%);
  --shadow-glow: 0 0 40px rgba(0, 102, 204, 0.15);
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --cyan: #0066cc;
  --pink: #c530c5;
  --cyan-dim: rgba(0, 102, 204, 0.12);
  --pink-dim: rgba(197, 48, 197, 0.08);
  --border2: rgba(197, 48, 197, 0.15);
  --font-head: 'Exo 2', sans-serif;
  --donut-bg-stroke: rgba(142, 142, 142, 0.158);
}

[data-theme="dark"] {
  --bg: #0a0a12;
  --bg-2: #0e0e1a;
  --bg-3: #141425;
  --surface: #16162a;
  --surface-2: #1e1e35;
  --border: rgba(77, 184, 255, 0.12);
  --blue: #4db8ff;
  --blue-dim: #2a7fba;
  --magenta: #ee44ff;
  --magenta-dim: #9922bb;
  --text: #e8e8f0;
  --text-dim: #8888aa;
  --text-muted: #55556a;
  --svg-path: #e8e8f0;
  --gradient: linear-gradient(135deg, #4db8ff 0%, #ee44ff 100%);
  --gradient-r: linear-gradient(135deg, #ee44ff 0%, #4db8ff 100%);
  --shadow-glow: 0 0 40px rgba(77, 184, 255, 0.15);
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.45);
  --cyan: #4db8ff;
  --pink: #ee44ff;
  --cyan-dim: rgba(77, 184, 255, 0.12);
  --pink-dim: rgba(238, 68, 255, 0.08);
  --border2: rgba(238, 68, 255, 0.15);
  --donut-bg-stroke: rgba(255, 255, 255, 0.08);
}

/* ── BASE ── */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
  margin-top: 16px;
  margin-bottom: 16px;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--blue-dim);
  border-radius: 10px;
}

/* ── TYPOGRAPHY ── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text--tag-label {
  display: flex;
  justify-content: center;
  width: 100%;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(77, 184, 255, 0.3);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2.5rem;
}

.section-desc {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-desc {
  margin: 0 auto;
}

.section--dark {
  background: var(--bg-2);
}

.pink-title {
  color: var(--pink);
  font-family: var(--font-head, 'Exo 2', sans-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.2rem;
  background: var(--cyan-dim);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 24px rgba(77, 184, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(77, 184, 255, 0.5);
}

.btn-ghost {
  background: rgba(128, 128, 128, 0.08);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(128, 128, 128, 0.15);
  border-color: rgba(77, 184, 255, 0.4);
  color: var(--text);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  background: var(--bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}
[data-theme="dark"] .navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.logo-accent {
  color: var(--logo-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 auto;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(128, 128, 128, 0.08);
}
[data-theme="dark"] .nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  background: var(--gradient) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 8px;
}
.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--blue);
  background: var(--surface-2);
}
.theme-icon-light {
  display: none;
}
[data-theme="dark"] .theme-icon-dark {
  display: none;
}
[data-theme="dark"] .theme-icon-light {
  display: block;
}

/* ── SECTIONS ── */
.section {
  position: relative;
  padding: clamp(50px, 8vw, 80px) 0;
  overflow: hidden;
}

.section-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, var(--blue) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, var(--magenta) 0%, transparent 50%);
  opacity: 0.04;
  pointer-events: none;
}

.section-bg-img {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  opacity: 0.1;
  pointer-events: none;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--bg) 0%, var(--bg) 45%, transparent 100%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(77, 184, 255, 0.08);
  border: 1px solid rgba(77, 184, 255, 0.25);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  color: var(--magenta);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  justify-content: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
}

.stat-suffix {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ── VIDEO GRID ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.video-card:hover {
  border-color: rgba(77, 184, 255, 0.3);
  transform: translateY(-3px);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 16px 20px 8px;
  line-height: 1.2;
}

.video-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 20px 20px;
}

.video-document__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.video-document {
  display: flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.video-document:hover {
  border-color: rgba(77, 184, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.video-document svg {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  padding-left: 20px;
}
.video-document svg path {
  fill: var(--blue);
}
.video-document a {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  padding: 20px;
  padding-left: 0;
}

/* ── FORM REQUEST METHODOLOGY ── */
.form-request-methodology {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.request-methodology-document {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.scan-img {
  width: 100%;
  max-width: 350px;
  border-radius: 20px;
  box-shadow: 0 0 60px rgba(77, 184, 255, 0.25), 0 0 120px rgba(197, 48, 197, 0.15);
}

/* ── PROBLEM SECTION ── */
.problem-section {
  background: var(--bg-2);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.problem-stat {
  text-align: center;
}
.problem-stat h3 {
  font-family: var(--font-head, 'Exo 2', sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0.8rem 0 0.4rem;
  color: var(--cyan);
}
.problem-stat p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.donut-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
}
.donut {
  width: 140px;
  height: 140px;
  transform: rotate(-90deg);
  transform-origin: center;
}
.donut-bg {
  fill: none;
  stroke: var(--donut-bg-stroke);
  stroke-width: 10;
}
.donut-fill {
  fill: none;
  stroke: var(--pink);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 0 251;
  transition: stroke-dasharray 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.donut-fill--alt {
  stroke: var(--cyan);
}
.donut-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-head, 'Exo 2', sans-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
}

.problem-list {
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  background: var(--pink-dim);
}
.problem-list ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 2rem;
  margin-top: 0.8rem;
}
.problem-list li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 1.3rem;
  position: relative;
}
.problem-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
}

/* ── FULLBLEED ── */
.fullbleed-img {
  position: relative;
  width: 80%;
  margin: 50px auto;
}
.fullbleed-img img {
  width: 80%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 45px;
  margin: 0 auto;
}

.fullbleed-caption {
  padding: 2.5rem;
  text-align: center;
  color: var(--text);
}
.fullbleed-caption strong {
  color: var(--blue);
}
.fullbleed-caption > span {
  font-size: clamp(0.9rem, 2vw, 1.6rem);
}

.fullbleed-img--overlay::after {
  content: '';
  position: absolute;
  inset: 0;
}
.fullbleed-center-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
}
.fullbleed-center-content h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.fullbleed-center-content p {
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
}

/* ── SOLUTION ── */
.solution-section {
  background: var(--bg);
}

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

.solution-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.sol-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}
.sol-card:hover {
  border-color: rgba(77, 184, 255, 0.3);
  background: var(--surface-2);
}

.sol-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.sol-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.sol-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.solution-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.app-img {
  width: 50%;
  max-width: 340px;
  border-radius: 40px;
  box-shadow: 0 0 60px rgba(77, 184, 255, 0.25), 0 0 120px rgba(197, 48, 197, 0.15);
}

.app-float-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid rgba(77, 184, 255, 0.3);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--bg-2);
}

.workflow-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.1);
}
.workflow-img {
  width: 100%;
  display: block;
}

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

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: var(--transition);
}
.step:hover {
  border-color: rgba(77, 184, 255, 0.25);
  background: var(--surface-2);
}

.step-full {
  grid-column: 2 / 3;
}

.step-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.step-body p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── EQUIPMENT ── */
.equipment-section {
  background: var(--bg);
}

.equipment-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.equipment-grid__content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.eq-list {
  width: 80%;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.eq-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.eq-item:hover {
  border-color: rgba(77, 184, 255, 0.3);
  background: var(--surface-2);
}

.eq-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(77, 184, 255, 0.1);
  border: 1px solid rgba(77, 184, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.eq-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}
.eq-item span {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.equipment-visual {
  width: 45%;
  position: relative;
}
.equipment-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.1);
}

.cert-badge {
  position: absolute;
  top: 20px;
  right: -10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid rgba(77, 184, 255, 0.35);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ── APP SECTION (CONBAT) ── */
.app-section {
  background: var(--bg);
}

.app-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.app-mockup-wrap {
  max-width: 280px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(77, 184, 255, 0.25), 0 0 120px rgba(197, 48, 197, 0.15);
  border: 1px solid var(--border);
}
.app-mockup-wrap img {
  width: 100%;
  display: block;
}

.app-info p {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.app-info .check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.app-info .check-list li {
  font-size: 0.9rem;
  color: var(--text-dim);
  padding-left: 1.6rem;
  position: relative;
}
.app-info .check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.app-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  text-decoration: none;
  transition: all var(--transition);
  background: var(--surface);
}
.app-badge:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ── ADVANTAGES ── */
.adv-section {
  background: var(--bg-2);
}

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

.adv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.adv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}
.adv-card:hover {
  border-color: rgba(77, 184, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.adv-card:hover::before {
  opacity: 0.04;
}

.adv-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(77, 184, 255, 0.1);
  border: 1px solid rgba(77, 184, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 20px;
  transition: var(--transition);
}
.adv-card:hover .adv-icon {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 20px rgba(77, 184, 255, 0.3);
}

.adv-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.adv-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── CLIENTS ── */
.clients-section {
  background: var(--bg);
}

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

.client-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.client-card:hover {
  border-color: rgba(77, 184, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.client-card--featured {
  background: linear-gradient(160deg, rgba(77, 184, 255, 0.08) 0%, rgba(238, 68, 255, 0.06) 100%);
  border-color: rgba(238, 68, 255, 0.25);
  position: relative;
}
.client-card--featured::after {
  content: 'Популярно';
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
}

.client-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.client-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.client-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.client-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.client-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}
.client-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ── MARKET (стартерные АКБ) ── */
.market-section {
  background: var(--bg-2);
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.mstat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.mstat:hover {
  border-color: rgba(77, 184, 255, 0.3);
  transform: translateY(-3px);
}

.mstat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.mstat-label {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
.mstat-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.infra-block {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.infra-item {
  flex: 1;
  text-align: center;
}

.infra-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 42px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.infra-label {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.infra-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.infra-arrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

/* ── PASSPORT ── */
.passport-section {
  background: var(--bg);
}

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

.pf-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pf-item:hover {
  border-color: rgba(77, 184, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.pf-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: rgb(77 184 255 / 45%);
  position: absolute;
  top: 16px;
  right: 20px;
}

.pf-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
}
.pf-item p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── START CTA ── */
.start-cta-section {
  background: var(--bg-2);
}

.cta-block {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.cta-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  height: 200px;
  transition: all var(--transition);
}
.cta-step:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
}

.cta-step__num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-step h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.cta-step p {
  font-size: 0.83rem;
  color: var(--text-dim);
}

.cta-step__arrow {
  font-size: 1.4rem;
  color: var(--magenta);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* ── CONTACT / CTA ── */
.cta-section {
  background: var(--bg);
}

.contact-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.contact-info .section-tag {
  margin-bottom: 1rem;
}
.contact-sub {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin: 1.5rem 0;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: auto;
  max-width: fit-content;
  color: var(--blue);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition), gap var(--transition);
}
.contact-link:hover {
  color: var(--magenta);
  gap: 1rem;
}

.contact-form-wrap {
  max-width: 500px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.cta-form h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b8a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
[data-theme="dark"] .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355556a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.form-group textarea {
  resize: vertical;
  min-height: 90px;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(77, 184, 255, 0.1);
}

.checkbox-group {
  margin: 20px 0;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
  flex-shrink: 0;
  cursor: pointer;
  appearance: auto !important;
  -webkit-appearance: auto !important;
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
  gap: 1rem;
}
.form-success h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
}
.form-success p {
  color: var(--text-dim);
}

/* ── CUSTOM PROJECTS (логотипы сайтов) ── */
.custom-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  width: 100%;
  box-sizing: border-box;
}

a.custom-projects-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 120px;
  box-sizing: border-box;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}
a.custom-projects-item:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.custom-projects-item img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.custom-projects-item .logo-dark {
  display: none;
}
[data-theme="dark"] .custom-projects-item .logo-light {
  display: none;
}
[data-theme="dark"] .custom-projects-item .logo-dark {
  display: block;
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── AUTOFILL ── */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-3) inset !important;
  -webkit-text-fill-color: var(--text) !important;
  background-color: var(--bg-3) !important;
  transition: background-color 5000s ease-in-out 0s;
}
input:autofill {
  background-color: var(--bg-3) !important;
  color: var(--text) !important;
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}
.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px 32px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: var(--transition);
  line-height: 1;
}
.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.modal-body .cta-form h3 {
  margin-top: 0;
}
.modal-body .form-success {
  padding: 20px 0;
}
.modal-body .form-success h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.body-no-scroll {
  overflow: hidden;
}

/* ── MODAL RESPONSIVE ── */
@media (max-width: 600px) {
  .modal-window {
    padding: 28px 18px 24px;
    max-height: 95vh;
  }
  .modal-close {
    top: 10px;
    right: 10px;
  }
}

/* ── LEGAL DOCUMENTS ── */
.documents {
  padding: 120px 20px 80px;
  background: var(--bg);
  min-height: 100vh;
}

.legal-document {
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 16px);
  padding: 50px 60px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.legal-document h2 {
  font-family: var(--font-head, sans-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}
.legal-document h3 {
  font-family: var(--font-head, sans-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.4;
}
.legal-document .meta-date {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal-document .meta-date strong {
  color: var(--text-dim);
}
.legal-document p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.legal-document strong {
  color: var(--text);
  font-weight: 600;
}
.legal-document a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.legal-document a:hover {
  border-bottom-color: var(--cyan);
  opacity: 0.8;
}
.legal-document ul {
  margin-bottom: 24px;
  padding-left: 24px;
}
.legal-document li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.legal-document .browser-list {
  list-style: none;
  padding-left: 0;
}
.legal-document .browser-list li {
  position: relative;
  padding-left: 24px;
}
.legal-document .browser-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: bold;
}
.legal-document .contact-box {
  margin-top: 48px;
}
.legal-document .contact-box p:last-child {
  margin-bottom: 0;
}

/* ── DOCUMENTS RESPONSIVE ── */
@media (max-width: 768px) {
  .documents {
    padding: 100px 16px 40px;
  }
  .legal-document {
    padding: 32px 24px;
  }
  .legal-document h2 {
    font-size: 26px;
  }
  .legal-document h3 {
    font-size: 18px;
  }
}
@media (max-width: 425px) {
  .documents .container {
    padding: 0;
  }
}

/* ── COOKIE WIDGET ── */
.cookie-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}
.cookie-widget > * {
  pointer-events: auto;
}

.cookie-tab {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  position: absolute;
  bottom: 0;
  right: 0;
}
.cookie-tab:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--shadow-glow);
}

.cookie-popup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 16px);
  padding: 24px;
  width: 360px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: var(--transition);
  transform-origin: bottom right;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cookie-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.cookie-close:hover {
  color: var(--text);
  background: var(--surface-2);
}

.cookie-title {
  font-family: var(--font-head, sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-top: 0;
  margin-bottom: 8px;
  padding-right: 24px;
  line-height: 1.3;
}

.cookie-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.cookie-text a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.cookie-text a:hover {
  border-bottom-color: var(--cyan);
}

.cookie-btn {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  background: var(--cyan);
  color: #fff;
  border: none;
  border-radius: var(--radius, 12px);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cookie-btn:hover {
  background: var(--blue-dim);
  box-shadow: var(--shadow-glow);
}

.cookie-widget.is-minimized .cookie-popup {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
}
.cookie-widget.is-minimized .cookie-tab {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ── COOKIE RESPONSIVE ── */
@media (max-width: 480px) {
  .cookie-widget {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }
  .cookie-popup {
    width: 100%;
  }
}

/* ── FOOTER ── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 48px;
}

.footer-top .nav-logo {
  width: auto;
  max-width: fit-content;
}
.footer-top .nav-logo .logo-text {
  font-size: 14px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 12px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-company {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  width: auto;
  max-width: fit-content;
}
.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — все общие медиа-запросы
   ═══════════════════════════════════════════ */

/* ── 1200px ── */
@media (max-width: 1200px) {
  .nav-links a {
    font-size: clamp(0.5rem, 1.2vw, 1.2rem);
    padding: 0 1px;
  }
}

/* ── 1024px ── */
@media (max-width: 1024px) {
  .solution-visual,
  .equipment-visual {
    order: -1;
  }
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .problem-grid > :nth-child(3):last-child {
    grid-column: 1 / -1;
    justify-self: center;
  }
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-grid > :nth-child(3):last-child {
    grid-column: 1 / -1;
    justify-self: center;
  }
  .business-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .passport-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-full {
    grid-column: auto;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .infra-grid {
    grid-template-columns: 1fr;
  }
  .logo-text {
    font-size: 12px;
  }
  .nav-container {
    height: 84px;
  }
  .nav-container .nav-logo {
    flex-direction: column;
    gap: 10px;
  }
  .equipment-grid__content {
    flex-direction: column;
  }
  .equipment-visual {
    width: 65%;
    margin: 0 auto;
  }
  .fullbleed-img img {
    width: 100%;
  }
  .equipment-grid {
    align-items: self-start;
  }
}

/* ── 860px ── */
@media (max-width: 860px) {
  .app-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .app-left {
    order: -1;
  }
}

/* ── 768px ── */
@media (max-width: 768px) {
  .nav-logo {
    flex-direction: row !important;
  }
  .nav-logo svg {
    width: 45px;
    height: 45px;
  }
  .nav-logo .logo-text {
    font-size: 16px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 8px;
    z-index: 99;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    display: block;
    padding: 10px 16px;
    text-align: center;
    font-size: 16px;
    border-radius: 8px;
    box-shadow: 0 0 10px 0 #39237324;
  }
  .nav-links .nav-cta {
    margin-top: 8px;
  }
  .nav-toggle {
    display: flex;
  }

  .section-title {
    text-align: center;
  }

  .hero-content {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .stat-divider {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    justify-content: center;
  }

  .fullbleed-img {
    width: 100%;
    margin: 20px 0;
    border-radius: 0;
  }
  .fullbleed-img img {
    width: 95%;
    border-radius: 25px;
  }
  .fullbleed-caption {
    padding: 1.5rem 1rem;
  }
  .fullbleed-caption > span {
    font-size: 1.2rem;
  }

  .app-float-badge {
    bottom: -20px;
  }
  .app-img {
    width: 70%;
  }

  .equipment-grid {
    display: flex;
    flex-direction: column;
  }
  .equipment-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .clients-grid > :nth-child(3):last-child {
    justify-self: auto;
  }

  .contact-links {
    align-items: center;
  }

  .app-info .pink-title {
    text-align: center;
  }
  .app-info {
    padding: 20px;
    box-shadow: 0 0 10px 0 #00000017;
    border-radius: 25px;
  }

  .contact-info,
  .contact-form-wrap {
    width: 100%;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }
  .problem-list ul {
    grid-template-columns: 1fr;
  }

  .adv-grid {
    grid-template-columns: 1fr;
  }
  .clients-grid {
    grid-template-columns: 1fr;
  }
  .passport-features {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cta-steps {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-step {
    max-width: 100%;
    flex-direction: row;
    height: auto;
    min-height: 120px;
  }
  .cta-step__arrow {
    display: none;
  }

  .market-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .infra-block {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }
  .infra-arrow {
    transform: rotate(90deg);
  }
  .infra-item {
    width: 100%;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .video-title {
    font-size: 18px;
    margin: 12px 16px 6px;
  }
  .video-description {
    font-size: 13px;
    margin: 0 16px 16px;
  }

  .form-request-methodology {
    gap: 48px;
    margin-top: -30px;
  }
  .request-methodology-document {
    margin: 0 auto;
  }
  .contact-form-wrap {
    order: 2;
  }
  .request-methodology-document h3,
  .cta-form h3 {
    text-align: center;
  }
  .scan-img {
    max-width: 380px;
    margin: 0 auto;
  }

  .custom-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .video-card {
    max-width: 80%;
    margin: 0 auto;
  }
}

/* ── 720px ── */
@media (max-width: 720px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 650px ── */
@media (max-width: 650px) {
  .solution-grid {
    display: flex;
    flex-direction: column;
  }
}

/* ── 640px ── */
@media (max-width: 640px) {
  .problem-list ul {
    grid-template-columns: 1fr;
  }
}

/* ── 550px ── */
@media (max-width: 550px) {
  .nav-links li {
    width: 70%;
  }
}

/* ── 480px ── */
@media (max-width: 480px) {
  .nav-container .nav-logo {
    gap: 5px;
  }
  .nav-container .logo-text {
    font-size: 16px;
  }

  .section-title {
    font-size: 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

  .market-stats {
    grid-template-columns: 1fr;
  }

  .stat-num {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 10px;
  }

  .cta-step {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 1.2rem;
  }
  .cta-step__num {
    margin-bottom: 0.5rem;
  }

  .equipment-visual {
    width: 100%;
  }

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

  .video-card {
    max-width: 100%;
  }
  .video-document a {
    font-size: 14px;
  }

  .form-request-methodology {
    gap: 36px;
  }
  .request-methodology-document h3,
  .cta-form h3 {
    font-size: 1.35rem;
  }
  .scan-img {
    max-width: 230px;
    border-radius: 16px;
  }
}