/* ==========================================================================
   ALTIOR — Redesign based on Desktop - 4.png Design System
   Palettes:
   - Dark Master: #0A0A0A / #0E0E0E / #141414
   - Contrast Light Section: #FFFFFF (Pitch black text #111111)
   - Neon Lime Accent: #B4F000 / #C8FF00 (Pill-buttons & Glowing Spine)
   - Card Surface: #161616 with 1px solid rgba(255, 255, 255, 0.08)
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-deep: #0A0A0A;
  --bg-surface: #111111;
  --bg-card: #1C1C1C;
  --bg-card-hover: #242424;
  --bg-contrast-light: #FFFFFF;

  --text-primary: #FFFFFF;
  --text-secondary: #9E9E9E;
  --text-muted: #555555;
  --text-dark: #111111;
  --text-dark-muted: #4A4A4A;

  /* Brand Accents */
  --accent-lime: #B4F000;
  --accent-lime-bright: #C8FF00;
  --accent-lime-glow: rgba(200, 255, 0, 0.16);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-lime: rgba(200, 255, 0, 0.35);

  --lock-gray: #8E8E93;

  /* Typography */
  --font-heading: 'Oswald', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  /* Geometry & Layout */
  --container-max-width: 1200px;
  --container-padding: 24px;
  --header-height: 72px;

  /* Motion */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 280ms var(--ease-smooth);
}

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

html {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
  background-color: var(--bg-deep);
  position: relative;
}

/* Subtle Technical Grid Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

img, canvas, svg, iframe {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   1. ХЕДЕР (HEADER — без контактов)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-header__logo-img {
  height: 15px;
  width: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: opacity var(--transition-normal);
}

.site-header__logo:hover .site-header__logo-img {
  opacity: 0.82;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
}

.site-header__nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #B5B5B5;
  transition: color var(--transition-normal);
  position: relative;
  padding: 6px 0;
}

.site-header__nav-link:hover {
  color: var(--text-primary);
}

.site-header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--accent-lime);
  transition: width var(--transition-normal);
}

.site-header__nav-link:hover::after {
  width: 100%;
}

.btn-telegram-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 24px;
  border-radius: 8px;
  background: #1C1C1C;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  transition: all var(--transition-normal);
}

.btn-telegram-header:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: #252525;
  transform: translateY(-1px);
}

/* ==========================================================================
   2. HERO SECTION (100VH Полная посадка всех элементов в один экран)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 12px);
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: transparent;
  box-sizing: border-box;
}

@media (min-width: 1025px) {
  .hero-section {
    height: 100vh;
    max-height: 100vh;
    padding-top: calc(var(--header-height) + clamp(4px, 1vh, 12px));
    padding-bottom: clamp(16px, 2.5vh, 26px);
    justify-content: space-between;
  }
}

.hero-section__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
  width: 100%;
}

@media (min-width: 1025px) {
  .hero-section__content {
    height: 100%;
    justify-content: space-between;
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-top: 0;
  margin-bottom: clamp(6px, 1.2vh, 14px);
  max-width: 1040px;
  text-shadow:
    1px 1px 0 #E4E4E7,
    1px 2px 0 #C4C4CA,
    2px 2px 0 #9E9EA6,
    2px 3px 0 #72727C,
    2px 4px 0 #464650,
    3px 5px 6px rgba(0, 0, 0, 0.65);
  will-change: transform;
  flex-shrink: 0;
}

.canvas-slot {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 960 / 500;
  isolation: isolate;
  user-select: none;
}

@media (min-width: 1025px) {
  .canvas-slot {
    flex: 1 1 auto;
    width: 100%;
    max-width: 860px;
    height: auto;
    max-height: calc(100vh - 320px);
    min-height: 260px;
    aspect-ratio: unset;
    margin: clamp(2px, 0.8vh, 8px) auto;
  }
}

.canvas-slot__wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Красивая светящаяся инженерная обводка-постамент под 3D-моделью */
.canvas-slot__wrapper::after {
  content: '';
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(84%, 720px);
  height: clamp(80px, 12vw, 120px);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 
    0 0 28px rgba(255, 255, 255, 0.12),
    inset 0 0 22px rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.canvas-slot__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.4s var(--ease-smooth);
}

.canvas-slot__mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 6;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.6s var(--ease-smooth);
}

.canvas-slot[data-3d-status="ready"] .canvas-slot__mount {
  opacity: 1;
}

.canvas-slot[data-3d-status="ready"] .canvas-slot__fallback {
  opacity: 0;
  pointer-events: none;
}

.canvas-slot__mount canvas {
  width: 100% !important;
  height: 100% !important;
  outline: none;
  cursor: grab;
}

.canvas-slot__mount canvas:active {
  cursor: grabbing;
}

/* Круглые металлические кнопки со стрелками (точная копия дизайна) */
.hero-slider-ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(48px, 4.5vw, 56px);
  height: clamp(48px, 4.5vw, 56px);
  border-radius: 50%;
  background: linear-gradient(180deg, #ECECEC 0%, #CFCFCF 45%, #9E9E9E 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    inset 0 1.5px 2px #FFFFFF,
    inset 0 -3px 5px rgba(0, 0, 0, 0.35),
    0 8px 20px rgba(0, 0, 0, 0.75),
    0 2px 4px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s ease, filter 0.2s ease;
  will-change: transform;
}

.hero-slider-ctrl:hover {
  transform: translateY(-50%) scale(1.07);
  filter: brightness(1.06);
  box-shadow: 
    inset 0 1.5px 2px #FFFFFF,
    inset 0 -3px 5px rgba(0, 0, 0, 0.3),
    0 12px 26px rgba(0, 0, 0, 0.85),
    0 3px 6px rgba(0, 0, 0, 0.5);
}

.hero-slider-ctrl:active {
  transform: translateY(-50%) scale(0.96);
  filter: brightness(0.97);
}

.hero-slider-ctrl--prev { left: clamp(-20px, -1.8vw, 0px); }
.hero-slider-ctrl--next { right: clamp(-20px, -1.8vw, 0px); }

@media (max-width: 1080px) {
  .hero-slider-ctrl--prev { left: 8px; }
  .hero-slider-ctrl--next { right: 8px; }
}

.hero-slider-ctrl svg {
  width: 28px;
  height: 28px;
  display: block;
}

.hero-subtitle {
  font-size: clamp(13.5px, 1.05vw, 15.5px);
  font-weight: 400;
  color: #C0C5CC;
  max-width: 680px;
  line-height: 1.5;
  margin: clamp(8px, 1.4vh, 16px) auto clamp(12px, 1.8vh, 20px);
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.btn-cta-lime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 40px;
  border-radius: 8px;
  background: linear-gradient(180deg, #EBEBEB 0%, #CACACA 100%);
  border-top: 1.5px solid #FFFFFF;
  border-bottom: 2.5px solid var(--accent-lime);
  border-left: 1px solid rgba(255, 255, 255, 0.6);
  border-right: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    inset 0 1px 2px #FFFFFF,
    inset 0 -1px 2px rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(200, 255, 0, 0.2),
    0 8px 20px rgba(0, 0, 0, 0.4);
  color: #121212;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-bottom-color var(--transition-normal);
  will-change: transform;
  flex-shrink: 0;
}

.btn-cta-lime::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-22deg);
  pointer-events: none;
  animation: btnSweep 5.5s infinite ease-in-out;
}

@keyframes btnSweep {
  0%, 75% { left: -100%; }
  85%, 100% { left: 180%; }
}

.btn-cta-lime:hover {
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 2px #FFFFFF,
    inset 0 -1px 2px rgba(0, 0, 0, 0.15),
    0 4px 14px rgba(200, 255, 0, 0.3),
    0 10px 24px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   3. ИНТЕРАКТИВНАЯ АРЕНА (LIVE 3D PLAYGROUND)
   ========================================================================== */
.playground-section {
  position: relative;
  padding: clamp(40px, 6vh, 70px) 0;
  background-color: transparent;
}

@media (min-width: 1025px) {
  .playground-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 3.5vh, 44px) 0;
    box-sizing: border-box;
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(18px, 2.5vh, 28px);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: clamp(13.5px, 1.05vw, 15.5px);
  color: var(--text-secondary);
}

.playground-arena {
  position: relative;
  width: 100%;
  max-width: clamp(520px, 55vw, 760px);
  margin: 0 auto;
  border-radius: 14px;
  background-color: #0E1013;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transition: border-color var(--transition-normal);
}

.playground-arena:hover {
  border-color: rgba(200, 255, 0, 0.25);
}

.playground-arena__topbar {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  background-color: #111215;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  user-select: none;
  position: relative;
  z-index: 5;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #C8FF00;
  box-shadow: 0 0 8px #C8FF00, 0 0 16px rgba(200, 255, 0, 0.7);
  animation: pulseLimeMicro 2.2s infinite ease-in-out;
}

@keyframes pulseLimeMicro {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.playground-viewport {
  position: relative;
  width: 100%;
  height: clamp(320px, 44vh, 440px);
  background-color: #0D0F12;
}

.playground-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: transparent;
}

/* ==========================================================================
   4. ТЕМНАЯ СЕКЦИЯ: БЛОК «ВОЗМОЖНОСТИ» (Единый сквозной темный CAD-фон сайта)
   ========================================================================== */
.possibilities-section {
  position: relative;
  background: transparent !important;
  color: var(--text-primary);
  padding: clamp(80px, 10vh, 130px) 0;
  overflow: hidden;
  z-index: 5;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.possibilities-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.possibilities-text {
  max-width: 520px;
}

.possibilities-heading {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.possibilities-subheading {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 600;
  color: var(--accent-lime-bright);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.possibilities-desc {
  font-size: clamp(14.5px, 1.15vw, 16px);
  line-height: 1.7;
  color: var(--text-secondary);
}

.possibilities-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 720 / 520;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.possibilities-slot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 85%;
  background: radial-gradient(circle, rgba(200, 255, 0, 0.04) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(0, 0, 0, 0) 75%);
  pointer-events: none;
  z-index: 0;
}

.possibilities-wireframe-item {
  position: absolute;
  object-fit: contain;
  transition: transform var(--transition-normal), filter var(--transition-normal);
  will-change: transform;
  z-index: 2;
}

.possibilities-wireframe-item:hover {
  transform: scale(1.05);
}

/* Расставлены свободно и просторно: ни одна модель не соприкасается */
.possibilities-wireframe-item--gear {
  top: 1%;
  left: 5%;
  width: clamp(190px, 20vw, 275px);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 25px rgba(200, 255, 0, 0.08));
  animation: floatGear 5s ease-in-out infinite alternate;
}

.possibilities-wireframe-item--pump {
  top: 0%;
  right: -6%;
  width: clamp(195px, 21vw, 285px);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 25px rgba(200, 255, 0, 0.08));
  animation: floatPump 5.4s ease-in-out infinite alternate;
}

.possibilities-wireframe-item--robot {
  bottom: -8%;
  left: 32%;
  width: clamp(180px, 19vw, 260px);
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 25px rgba(200, 255, 0, 0.1));
  animation: floatRobot 4.8s ease-in-out infinite alternate;
}

@keyframes floatGear {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes floatRobot {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(8px) rotate(-1deg); }
}

@keyframes floatPump {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-7px) rotate(-1.5deg); }
}

/* ==========================================================================
   5. БЛОК ЗАДАЧ И ФОРМАТОВ (Таймлайн с неоновой линией)
   ========================================================================== */
.tasks-timeline-section {
  position: relative;
  padding: clamp(70px, 10vh, 110px) 0;
  overflow: hidden;
  z-index: 10;
}

.tasks-timeline-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  row-gap: clamp(24px, 3.5vh, 42px);
  max-width: 980px;
  margin: 0 auto;
}

.tasks-timeline-spine {
  grid-column: 2;
  grid-row: 1 / 7;
  justify-self: center;
  width: 3px;
  height: 100%;
  min-height: 460px;
  background: linear-gradient(180deg, var(--accent-lime-bright) 0%, #B4F000 50%, #8CC800 100%);
  box-shadow: 0 0 8px rgba(200, 255, 0, 0.4);
  border-radius: 4px;
  will-change: transform, opacity;
}

.timeline-item {
  will-change: transform, opacity;
}

.timeline-item--left {
  grid-column: 1;
  text-align: right;
  padding-right: clamp(20px, 3.5vw, 44px);
}

.timeline-item--right {
  grid-column: 3;
  text-align: left;
  padding-left: clamp(20px, 3.5vw, 44px);
}

.timeline-item--1 { grid-row: 1; }
.timeline-item--2 { grid-row: 2; }
.timeline-item--3 { grid-row: 3; }
.timeline-item--4 { grid-row: 4; }
.timeline-item--5 { grid-row: 5; }
.timeline-item--6 { grid-row: 6; }

.timeline-item--left .timeline-item__metric {
  margin-left: auto;
}

.timeline-item--right .timeline-item__metric {
  margin-right: auto;
}

.timeline-item__title {
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.25;
}

.timeline-item__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.timeline-item__metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-lime-bright);
  background: rgba(200, 255, 0, 0.08);
  border: 1px solid rgba(200, 255, 0, 0.22);
  border-radius: 4px;
  line-height: 1.3;
}

.industries-section {
  position: relative;
  padding: clamp(70px, 10vh, 110px) 0;
  z-index: 10;
}

.tech-style-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.tech-card {
  position: relative;
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 38px 40px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  transition: all var(--transition-normal);
}

.tech-card:hover {
  transform: translateY(-2px);
  background-color: var(--bg-card-hover);
  border-color: var(--border-lime);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65), 0 0 12px rgba(200, 255, 0, 0.12);
}

.tech-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

/* Иконка в скругленном квадрате с чистой неоновой окантовкой */
.tech-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #141711;
  border: 1.8px solid var(--accent-lime);
  box-shadow: 0 0 10px rgba(200, 255, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-lime);
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.tech-icon-badge svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-lime);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tech-card:hover .tech-icon-badge {
  transform: scale(1.04);
  box-shadow: 0 0 14px rgba(200, 255, 0, 0.28);
}

.tech-card__number {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2A2D35;
  text-shadow: 
    0 1px 1px rgba(255, 255, 255, 0.18),
    0 -1px 2px rgba(0, 0, 0, 0.95);
  user-select: none;
}

.tech-card__title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.tech-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   7. ТАРИФНАЯ МАТРИЦА (PRICING)
   ========================================================================== */
.pricing-section {
  position: relative;
  padding: clamp(60px, 8vh, 100px) 0;
  background-color: transparent;
}

@media (min-width: 1025px) {
  .pricing-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(16px, 2.5vh, 32px) 0;
    box-sizing: border-box;
  }

  .pricing-section .section-header {
    margin-bottom: clamp(10px, 1.4vh, 16px);
  }

  .pricing-price-hint {
    margin: 6px auto 0;
    padding: 4px 14px;
    font-size: 12px;
  }

  .pricing-grid {
    gap: clamp(12px, 1.5vw, 20px);
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
  }

  .pricing-card {
    padding: clamp(16px, 1.8vh, 22px) clamp(16px, 1.5vw, 22px);
    border-radius: 14px;
  }

  .pricing-badge {
    top: -10px;
    padding: 3px 12px;
    font-size: 10px;
  }

  .pricing-card__title {
    font-size: clamp(20px, 1.5vw, 23px);
    margin-bottom: 2px;
  }

  .pricing-card__subtitle {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .pricing-card__timeline {
    font-size: 11.5px;
    gap: 5px;
    margin-bottom: clamp(10px, 1.2vh, 14px);
    padding-bottom: clamp(8px, 1vh, 12px);
  }

  .pricing-card__features {
    gap: clamp(5px, 0.75vh, 8px);
    margin-bottom: clamp(12px, 1.5vh, 18px);
  }

  .pricing-card__feature {
    font-size: clamp(12px, 0.88vw, 13px);
    line-height: 1.35;
    gap: 8px;
  }

  .btn-pricing {
    padding: clamp(8px, 1.1vh, 11px) 14px;
    font-size: 13.5px;
    border-radius: 8px;
  }
}

.pricing-price-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px auto 0;
  padding: 8px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: #DDE2EB;
  background: rgba(200, 255, 0, 0.05);
  border: 1px solid rgba(200, 255, 0, 0.2);
  border-radius: 8px;
  letter-spacing: 0.01em;
}

.pricing-price-hint svg {
  color: var(--accent-lime);
  flex-shrink: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 38px 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-3px);
  background-color: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.25);
}

.pricing-card--pro {
  background-color: var(--bg-card);
  border-color: var(--accent-lime);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65), 0 0 12px rgba(200, 255, 0, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-lime);
  color: #0A0A0A;
  padding: 4px 14px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card__title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-card__subtitle {
  font-size: 13.5px;
  color: var(--accent-lime);
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-card__timeline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #9BA3AF;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-card__timeline svg {
  color: var(--accent-lime);
  flex-shrink: 0;
}

.pricing-card__timeline b {
  color: #FFF;
  font-weight: 600;
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.pricing-card__feature::before {
  content: '✓';
  color: var(--accent-lime);
  font-weight: 700;
}

.btn-pricing {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-pricing:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.pricing-card--pro .btn-pricing {
  background: var(--accent-lime);
  color: #0A0A0A;
  border-color: var(--accent-lime);
  box-shadow: 0 4px 14px var(--accent-lime-glow);
}

.pricing-card--pro .btn-pricing:hover {
  background: var(--accent-lime-bright);
  box-shadow: 0 6px 22px rgba(180, 240, 0, 0.7);
}

/* ==========================================================================
   8. ИНЖЕНЕРНЫЙ ПОДХОД И СТЕК
   ========================================================================== */
.stack-section {
  position: relative;
  padding: clamp(80px, 10vh, 120px) 0;
  background-color: transparent;
}

.stack-box {
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: clamp(32px, 5vw, 54px);
  border: 1px solid var(--border-subtle);
}

.stack-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(32px, 4vw, 60px);
}

.stack-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.stack-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.cad-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cad-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--accent-lime);
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tool-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #141711;
  border: 1.8px solid var(--accent-lime);
  box-shadow: 0 0 12px rgba(180, 240, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-lime);
  font-size: 20px;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.tool-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-lime);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(180, 240, 0, 0.4));
}

.tool-item:hover .tool-icon {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(180, 240, 0, 0.5);
}

.tool-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.tool-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   9. ЧАСТО ЗАДАВАЕМЫЕ ВОПРОСЫ (FAQ АККОРДЕОН ИЗ 6 ВОПРОСОВ)
   В стиле карточек из блока «Направления и техника» с нумерацией 01-06
   ========================================================================== */
.faq-section {
  position: relative;
  padding: clamp(90px, 12vh, 140px) 0;
  background-color: transparent;
}

.faq-accordion-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-card {
  background-color: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  padding: 24px 32px;
  cursor: pointer;
  transition: all var(--transition-normal);
  overflow: hidden;
  position: relative;
}

.faq-card:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.faq-card.is-open {
  border-color: var(--border-lime);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-lime-glow);
}

.faq-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  user-select: none;
}

.faq-card__left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.faq-card__number {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2A2D35;
  text-shadow: 
    0 1px 1px rgba(255, 255, 255, 0.18),
    0 -1px 2px rgba(0, 0, 0, 0.95);
  user-select: none;
  min-width: 28px;
}

.faq-card__title {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.faq-card__toggle {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-lime);
  font-size: 20px;
  font-weight: 600;
  transition: transform var(--transition-normal), background var(--transition-normal);
  flex-shrink: 0;
}

.faq-card.is-open .faq-card__toggle {
  transform: rotate(45deg);
  background: rgba(180, 240, 0, 0.15);
  border-color: var(--accent-lime);
}

.faq-card__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-smooth), opacity 0.35s var(--ease-smooth), padding-top 0.35s var(--ease-smooth);
  opacity: 0;
}

.faq-card.is-open .faq-card__body {
  max-height: 240px;
  opacity: 1;
  padding-top: 14px;
}

.faq-card__answer {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

/* ==========================================================================
   10. ФУТЕР И ПРИЗЫВ К ДЕЙСТВИЮ (CTA)
   ========================================================================== */
.footer-cta-section {
  position: relative;
  padding: clamp(60px, 8vh, 100px) 0 40px;
  background-color: transparent;
}

@media (min-width: 1025px) {
  .footer-cta-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(16px, 2.4vh, 28px) 0 clamp(10px, 1.4vh, 18px);
    box-sizing: border-box;
  }

  .footer-cta-header {
    max-width: 860px;
    margin: 0 auto clamp(8px, 1.4vh, 14px);
    text-align: center;
  }

  .footer-cta-title {
    font-size: clamp(22px, 2.2vw, 30px);
    margin-bottom: 4px;
    line-height: 1.15;
  }

  .footer-cta-subtitle {
    font-size: clamp(12px, 0.88vw, 13px);
    line-height: 1.35;
  }

  .b2b-lead-grid {
    gap: clamp(14px, 1.6vw, 20px);
    max-width: 1040px;
    margin: 0 auto;
    align-items: stretch;
    width: 100%;
  }

  .b2b-direct-card,
  .b2b-form-card {
    padding: clamp(14px, 1.8vh, 20px) clamp(16px, 1.6vw, 22px);
    border-radius: 12px;
  }

  .b2b-direct-badge {
    margin-bottom: clamp(6px, 1vh, 10px);
    padding: 3px 8px;
    font-size: 10px;
  }

  .b2b-direct-title {
    font-size: clamp(17px, 1.3vw, 19px);
    margin-bottom: 6px;
  }

  .b2b-direct-desc {
    font-size: clamp(11.5px, 0.85vw, 12.5px);
    line-height: 1.4;
    margin-bottom: clamp(10px, 1.4vh, 14px);
  }

  .btn-cta-lime--tg {
    padding: clamp(9px, 1.1vh, 11px) 16px;
    font-size: 13px;
  }

  .b2b-direct-meta {
    margin-top: clamp(10px, 1.2vh, 14px);
    padding-top: clamp(8px, 1vh, 12px);
    gap: 5px;
    font-size: 11px;
  }

  .b2b-form-title {
    font-size: clamp(17px, 1.3vw, 19px);
    margin-bottom: 2px;
  }

  .b2b-form-desc {
    font-size: clamp(11px, 0.8vw, 12px);
    line-height: 1.3;
    margin-bottom: clamp(8px, 1vh, 12px);
  }

  .b2b-audit-form .form-group {
    margin-bottom: clamp(6px, 0.9vh, 9px);
  }

  .b2b-audit-form .form-label {
    font-size: 10px;
    margin-bottom: 2px;
  }

  .b2b-audit-form .form-input {
    padding: 7px 10px;
    font-size: 12.5px;
    border-radius: 6px;
  }

  .btn-file-select {
    padding: 7px 10px;
    font-size: 11.5px;
    border-radius: 6px;
  }

  .form-checkbox-label {
    margin-top: clamp(5px, 0.7vh, 8px);
    margin-bottom: clamp(8px, 1vh, 12px);
    font-size: 11px;
    gap: 7px;
  }

  .custom-checkbox {
    width: 15px;
    height: 15px;
  }

  .btn-submit-audit {
    padding: clamp(9px, 1.1vh, 12px) 18px;
    font-size: 13px;
  }

  .site-footer-bottom {
    margin-top: clamp(8px, 1.2vh, 14px);
    padding-top: clamp(6px, 0.8vh, 10px);
    font-size: 11px;
    gap: 10px;
  }
}

.footer-cta-header {
  max-width: 860px;
  margin: 0 auto clamp(36px, 5vh, 56px);
  text-align: center;
}

.footer-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.15;
}

.footer-cta-subtitle {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Two-column B2B Lead Grid */
.b2b-lead-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

/* Left Card: Direct Telegram Contact */
.b2b-direct-card {
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: clamp(30px, 3.5vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.b2b-direct-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-lime);
  background: rgba(200, 255, 0, 0.08);
  border: 1px solid rgba(200, 255, 0, 0.22);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  width: fit-content;
}

.b2b-direct-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.b2b-direct-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.btn-cta-lime--tg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  font-weight: 700;
  border-radius: 8px;
  box-sizing: border-box;
}

.btn-cta-lime--tg svg {
  flex-shrink: 0;
}

.b2b-direct-meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: #8C96A5;
}

.b2b-direct-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.b2b-direct-meta-item svg {
  color: var(--accent-lime);
}

/* Right Card: Corporate Audit Form */
.b2b-form-card {
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: clamp(30px, 3.5vw, 42px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  text-align: left;
}

.b2b-form-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.b2b-form-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #8C96A5;
  margin-bottom: 22px;
}

.b2b-form-desc b {
  color: var(--accent-lime-bright);
}

.b2b-audit-form .form-group {
  margin-bottom: 16px;
}

.b2b-audit-form .form-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #B4BCCB;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.b2b-audit-form .form-input {
  width: 100%;
  background: #0A0B0E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #FFF;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}

.b2b-audit-form .form-input:focus {
  border-color: var(--accent-lime);
  box-shadow: 0 0 12px rgba(200, 255, 0, 0.15);
}

.b2b-audit-form .form-cad-attach-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-file-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #1B1E26;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #DDE2EB;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-file-select:hover {
  background: #242A36;
  border-color: var(--accent-lime);
  color: var(--accent-lime);
}

.visually-hidden-file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.file-chosen-notice {
  font-size: 12px;
  color: var(--accent-lime);
  margin-top: 6px;
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  margin-top: 14px;
  margin-bottom: 22px;
  font-size: 13px;
  color: #B8C0D0;
}

.form-checkbox-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: #0A0B0E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.form-checkbox-input:checked + .custom-checkbox {
  background: var(--accent-lime);
  border-color: var(--accent-lime);
}

.form-checkbox-input:checked + .custom-checkbox::after {
  content: '';
  width: 4px;
  height: 8px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
  display: block;
}

.btn-submit-audit {
  width: 100%;
  padding: 16px 24px;
  background: var(--accent-lime);
  color: #0A0A0A;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 0 12px rgba(200, 255, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-submit-audit:hover {
  background: var(--accent-lime-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(200, 255, 0, 0.32);
}

.form-status-msg {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

.form-status-msg.is-success {
  background: rgba(200, 255, 0, 0.1);
  border: 1px solid rgba(200, 255, 0, 0.3);
  color: #FFF;
}

.site-footer-bottom {
  margin-top: clamp(60px, 8vh, 90px);
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   MICRO-ANIMATIONS & INTERACTION FX
   ========================================================================== */

/* Scroll Reveal Elements */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid items */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Subtle high-tech card hover glow */
.pricing-card,
.tech-card,
.faq-card,
.b2b-direct-card,
.b2b-form-card {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.pricing-card:hover,
.tech-card:hover,
.b2b-direct-card:hover,
.b2b-form-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 255, 0, 0.22);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(200, 255, 0, 0.06);
}

/* Pulsing badge micro-animation */
.tech-icon-badge {
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.tech-card:hover .tech-icon-badge {
  transform: scale(1.08);
  border-color: var(--accent-lime);
  color: var(--accent-lime);
}

/* ==========================================================================
   RESPONSIVENESS (CROSS-DEVICE & CROSS-BROWSER)
   ========================================================================== */

/* Tablet & Smaller Desktops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 40px;
  }

  .canvas-slot {
    max-width: 760px;
    height: 420px;
    aspect-ratio: unset;
  }

  .stack-layout {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .possibilities-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .possibilities-text {
    max-width: 680px;
    margin: 0 auto;
  }

  .possibilities-desc {
    text-align: left;
  }

  .possibilities-slot {
    height: 380px;
    min-height: 380px;
    aspect-ratio: unset;
    max-width: 600px;
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 24px;
  }

  .b2b-lead-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tasks-timeline-grid {
    grid-template-columns: 1fr 24px 1fr;
  }

  .faq-accordion-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }
}

/* Tablets & Mobile (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 56px;
    --container-padding: 16px;
  }

  /* Header */
  .site-header {
    height: 56px;
  }

  .site-header__nav,
  .site-header__descriptor {
    display: none !important;
  }

  .site-header__logo-img {
    height: 14px;
  }

  .btn-telegram-header {
    padding: 7px 16px;
    font-size: 13px;
  }

  /* Hero Section */
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 32px;
  }

  .hero-title {
    font-size: clamp(23px, 6.2vw, 34px);
    line-height: 1.15;
    margin-bottom: 8px;
  }

  .canvas-slot {
    max-width: 100%;
    height: clamp(230px, 36vh, 310px);
    margin: 8px auto 14px;
  }

  .hero-slider-ctrl {
    width: 42px;
    height: 42px;
  }

  .hero-slider-ctrl--prev {
    left: 4px;
  }

  .hero-slider-ctrl--next {
    right: 4px;
  }

  .hero-slider-ctrl svg {
    width: 22px;
    height: 22px;
  }

  .hero-subtitle {
    font-size: 13.5px;
    line-height: 1.48;
    margin: 6px auto 18px;
    padding: 0 8px;
  }

  .btn-cta-lime {
    width: 100%;
    max-width: 320px;
    padding: 14px 20px;
    font-size: 14.5px;
  }

  /* 3D Playground Section */
  .playground-section {
    padding: 44px 0;
  }

  .playground-arena {
    max-width: 100%;
    border-radius: 12px;
  }

  .playground-viewport {
    height: clamp(260px, 42vh, 350px);
  }

  /* Possibilities Section */
  .possibilities-section {
    padding: 50px 0;
  }

  .possibilities-heading {
    font-size: clamp(28px, 7.5vw, 40px);
  }

  .possibilities-subheading {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .possibilities-desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .possibilities-slot {
    height: 320px;
    min-height: 320px;
    width: 100%;
  }

  .possibilities-wireframe-item--gear {
    width: 130px;
    left: 4%;
    top: 1%;
  }

  .possibilities-wireframe-item--pump {
    width: 135px;
    right: -2%;
    top: 2%;
  }

  .possibilities-wireframe-item--robot {
    width: 125px;
    left: 30%;
    bottom: -6%;
  }

  /* Tasks Timeline */
  .tasks-timeline-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .tasks-timeline-spine {
    display: none !important;
  }

  .timeline-item {
    padding: 18px 20px !important;
    border-radius: 14px;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .timeline-item--left,
  .timeline-item--right {
    padding: 18px 20px !important;
    text-align: left !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .timeline-item--left .timeline-item__metric,
  .timeline-item--right .timeline-item__metric {
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .timeline-item__title {
    font-size: 17px;
  }

  .timeline-item__desc {
    font-size: 13.5px;
  }

  /* Industries */
  .tech-style-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tech-card {
    padding: 22px 20px;
    border-radius: 14px;
  }

  /* Pricing */
  .pricing-section {
    padding: 50px 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .pricing-card__title {
    font-size: 22px;
  }

  .pricing-card__price {
    font-size: 26px;
  }

  /* FAQ */
  .faq-section {
    padding: 50px 0;
  }

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

  .faq-card {
    padding: 16px 20px;
    border-radius: 12px;
  }

  .faq-card__number {
    font-size: 17px;
    min-width: 24px;
  }

  .faq-card__title {
    font-size: 15px;
    line-height: 1.35;
  }

  .faq-card__toggle {
    width: 32px;
    height: 32px;
    font-size: 18px;
    flex-shrink: 0;
  }

  .faq-card__answer {
    font-size: 13.5px;
    line-height: 1.55;
  }

  /* Engineering Tech Stack */
  .stack-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .stack-box {
    padding: 24px 18px !important;
  }

  .tools-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .tool-item {
    padding: 14px !important;
  }

  /* Contacts & Form */
  .footer-cta-section {
    padding: 50px 0;
  }

  .b2b-lead-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .b2b-direct-card,
  .b2b-form-card {
    padding: 24px 20px;
    border-radius: 14px;
  }

  /* iOS Safari No-Zoom Input Fix */
  .b2b-audit-form .form-input {
    font-size: 16px !important;
    padding: 11px 13px;
  }

  .btn-b2b-submit {
    width: 100%;
    padding: 15px;
    font-size: 14.5px;
  }

  /* Footer */
  .site-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* Compact Smartphones (<= 480px) */
@media (max-width: 480px) {
  :root {
    --container-padding: 14px;
  }

  .hero-title {
    font-size: 23px;
    letter-spacing: 0.01em;
  }

  .canvas-slot {
    height: 230px;
  }

  .possibilities-slot {
    height: 260px;
    min-height: 260px;
  }

  .possibilities-wireframe-item--gear {
    width: 125px;
  }

  .possibilities-wireframe-item--pump {
    width: 135px;
  }

  .possibilities-wireframe-item--robot {
    width: 120px;
    left: 24%;
  }

  .pricing-card__title {
    font-size: 20px;
  }

  .pricing-card__price {
    font-size: 24px;
  }

  .stack-box {
    padding: 18px 12px !important;
  }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
