/* ============================================================
   SPEECHIO — CYBER-BRUTALIST DESIGN SYSTEM
   Background: #0a0a0a | Text: #f5f5f0 | Accent: Liquid Glass | Lime: #C8FF00
   Fonts: Satoshi 900 / General Sans 400-500 / JetBrains Mono
   ============================================================ */

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

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --text: #f5f5f0;
  --text-muted: rgba(255,255,255,0.35);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-hover: rgba(255, 255, 255, 0.25);
  --glass-shimmer: rgba(255, 255, 255, 0.6);
  --glass-glow: rgba(255, 255, 255, 0.15);
  --accent: rgba(255, 255, 255, 0.85);
  --lime: #C8FF00;
  --border: rgba(255,255,255,0.12);
  --border-strong: rgba(255,255,255,0.25);
  --font-head: 'Satoshi', sans-serif;
  --font-body: 'General Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --sidebar-width: 20.8%;
  --main-width: 79.2%;
  --gutter: clamp(16px, 2vw, 32px);
  --section-pad: clamp(60px, 8vw, 120px);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  background: var(--bg);
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; color: inherit; background: transparent; border: none; outline: none; }

::selection {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text);
}

/* --- PAGE LAYOUT: 79.2% / 20.8% GRID --- */
.page-wrap {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.main-content {
  width: var(--main-width);
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

/* --- SIDEBAR --- */
.vh-wrap {
  width: var(--sidebar-width);
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  z-index: 100;
  background: var(--bg);
  border-left: 1px solid var(--border);
}

.sidebar-widget {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}

.widget-sphere {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.widget-sphere canvas {
  width: 100% !important;
  height: 100% !important;
}

.widget-buttons {
  padding: 16px;
  border-top: 1px solid var(--border);
}

.widget-btn {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.widget-btn:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  color: var(--text);
  box-shadow: 0 0 20px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* --- SCROLL PROGRESS --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.5), rgba(255,255,255,0.1));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* --- CURSOR --- */
.cursor-dot, .cursor-ring { display: none; }

/* --- PAGE LOADER --- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--glass-shimmer);
  letter-spacing: 0.15em;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0.7), rgba(255,255,255,0.2));
  animation: loaderFill 1.2s ease-out forwards;
}

@keyframes loaderFill {
  to { width: 100%; }
}

/* --- NAV / HEADER --- */
.top-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--gutter);
  height: 56px;
  display: flex;
  align-items: center;
}

.main-menu-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.logo-brackets {
  color: var(--glass-shimmer);
}

.nav-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.header-menu-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-menu-list li {
  position: relative;
}

.header-menu-list li::after {
  content: '|';
  color: var(--border-strong);
  margin: 0 12px;
  font-size: 12px;
  font-family: var(--font-mono);
}

.header-menu-list li:last-child::after {
  display: none;
}

.header-menu-list a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.header-menu-list a:hover,
.header-menu-list .current-menu-item a {
  color: var(--text);
}

.header-menu-list a:hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: -16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  min-width: 220px;
  z-index: 600;
  padding: 8px 0;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}

.has-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: block;
}

.dropdown-menu li::after {
  display: none !important;
}

.dropdown-menu a {
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
  gap: 2px;
}

.dropdown-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.dropdown-desc {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.dropdown-menu a:hover {
  background: var(--glass-bg-hover);
}

.dropdown-menu a:hover .dropdown-name {
  color: var(--text);
}

/* --- SECTION FOUNDATIONS --- */
.component-section {
  position: relative;
  border-bottom: 1px solid var(--border);
}

.component-area {
  padding: var(--section-pad) var(--gutter);
}

.section-label {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1vw, 13px);
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label .num {
  color: var(--accent);
  font-weight: 700;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 32px;
  text-transform: uppercase;
}

/* --- HERO --- */
.hero-section {
  padding: 0;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
}

.hero-area {
  padding: var(--section-pad) var(--gutter) clamp(40px, 6vw, 80px);
  width: 100%;
}

.hero-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(36px, 7.2vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.hero-title .line {
  display: block;
  position: relative;
}

/* Asymmetric offsets — кибербрутализм */
.hero-title .line-split {
  padding-left: 0;
}

.hero-title .line-offset {
  padding-left: clamp(24px, 5vw, 80px);
}

/* АВТОМАТИЗАЦИЯ — solid white fill, максимальный вес */
.hero-title .word-fill {
  color: var(--text);
  display: inline-block;
  position: relative;
}

/* КОММУНИКАЦИЙ — outline stroke only, пустота внутри */
.hero-title .word-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.7);
  display: inline-block;
  position: relative;
}

/* РЕЗУЛЬТАТ. — glass gradient fill + glow */
.hero-title .word-glass {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.4);
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.3) 60%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  display: inline-block;
  position: relative;
  filter: drop-shadow(0 0 30px rgba(255,255,255,0.08));
}

/* Декоративные маркеры рядом со строками */
.hero-title .line-offset::before {
  content: '//';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.2vw, 16px);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  -webkit-text-stroke: 0;
}

.hero-glass-band {
  display: inline-block;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid var(--glass-border);
  color: var(--text);
  padding: 4px 16px;
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.5vw, 18px);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 24px 0;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 40px rgba(255,255,255,0.02);
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.2vw, 16px);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-top: 24px;
}

.hero-subtitle::before {
  content: '// ';
  color: rgba(255,255,255,0.5);
}

.hero-cta {
  margin-top: 40px;
}

/* --- BRUTALIST BUTTON --- */
.brutal-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.brutal-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(12px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 0;
}

.brutal-btn:hover::before {
  transform: scaleX(1);
}

.brutal-btn:hover {
  border-color: var(--glass-border-hover);
  color: var(--text);
  box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

.brutal-btn span,
.brutal-btn svg {
  position: relative;
  z-index: 1;
}

.brutal-btn.filled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--glass-border-hover);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.brutal-btn.filled::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
}

.brutal-btn.filled:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 30px rgba(255,255,255,0.06), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* --- MARQUEE --- */
.marquee-section {
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.marquee-area {
  padding: 20px 0;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
}

.wrapper-logos {
  display: flex;
  gap: 0;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}

.wrap-logo {
  padding: 0 clamp(20px, 3vw, 48px);
  white-space: nowrap;
  position: relative;
}

.wrap-logo::after {
  content: '|';
  position: absolute;
  right: 0;
  color: var(--border-strong);
  font-family: var(--font-mono);
  font-size: 14px;
}

.logo-text {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- PRODUCTS GRID --- */
.products-grid-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 40px;
}

.grid-product {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.5vw, 40px);
  background: var(--bg);
  position: relative;
  overflow: hidden;
  min-height: 240px;
  transition: background 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.grid-product::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.4), rgba(255,255,255,0.05));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.grid-product:hover::before {
  transform: scaleX(1);
}

.grid-product:hover {
  background: var(--bg-elevated);
}

.grid-product-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.grid-product-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(24px, 2.5vw, 40px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 8px;
  position: relative;
}

.grid-product-desc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.grid-product-details {
  margin-top: auto;
}

.grid-product-details p {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.products-cta-row {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* --- ABOUT --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  margin-top: 40px;
}

.about-text p {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

.traffic-counter {
  text-align: right;
}

.counter-number {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 96px);
  letter-spacing: -0.04em;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.traffic-counter p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 12px;
}

/* --- TECH SLIDER --- */
.tech-slider {
  overflow: hidden;
  margin-top: 40px;
}

.tech-slider-track {
  display: flex;
  gap: 1px;
}

.tech-slide {
  flex: 0 0 calc(33.333% - 1px);
  padding: clamp(24px, 3vw, 48px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  transition: border-color 0.3s;
}

.tech-slide:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 0 20px rgba(255,255,255,0.03);
}

.slide-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(16px, 1.8vw, 24px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.slide-description {
  font-family: var(--font-body);
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.5;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.tech-slide::before {
  content: attr(data-num);
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.tech-pagination,
.slider-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dot {
  width: 8px;
  height: 2px;
  background: var(--border-strong);
  transition: all 0.3s;
}

.slider-dot.active {
  width: 24px;
  background: rgba(255,255,255,0.6);
}

/* --- STEPS (HOW WE WORK) --- */
.steps-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}

.step-holder {
  border-bottom: 1px solid var(--border);
}

.step-holder:first-child {
  border-top: 1px solid var(--border);
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 2vw, 32px);
  padding: clamp(24px, 3vw, 40px) 0;
  align-items: start;
}

.step-number {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.step-timeline { display: none; }

.step h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(20px, 2.2vw, 32px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.step p {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.1vw, 16px);
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 500px;
}

/* --- STATS --- */
.pros-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pros-card {
  padding: clamp(24px, 3vw, 48px) clamp(12px, 1.5vw, 24px);
  border-right: 1px solid var(--border);
  text-align: center;
}

.pros-card:last-child {
  border-right: none;
}

.pros-indicator {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 64px);
  letter-spacing: -0.04em;
  color: var(--text);
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}

.pros-description {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pros-desc-short {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.pros-desc-full {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- INDUSTRIES / AREAS --- */
.areas-tabs {
  display: flex;
  gap: 0;
  margin-top: 32px;
  border-bottom: 1px solid var(--border);
}

.area-tab {
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s;
}

.area-tab.active {
  color: var(--text);
}

.area-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.5);
}

.areas-wrap {
  margin-top: 24px;
}

.areas-selectors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.areas-selectors.hidden {
  display: none;
}

.area-selector {
  padding: 8px 16px;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}

.area-selector.active,
.area-selector:hover {
  border-color: var(--glass-border-hover);
  color: var(--text);
  background: var(--glass-bg-hover);
}

.area-list {
  display: none;
}

.area-list.active {
  display: flex;
  flex-direction: column;
}

.area-element {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s;
}

.area-element:hover {
  padding-left: 12px;
}

.area-element-text {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.2vw, 18px);
  color: var(--text);
}

.area-element svg {
  width: 12px;
  height: 12px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.area-element:hover svg {
  color: var(--text);
}

/* --- ADVANTAGES --- */
.advantages-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 40px;
}

.advantage-card {
  padding: clamp(24px, 2.5vw, 40px);
  background: var(--bg);
  position: relative;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0.05));
  transition: height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.advantage-card:hover::before {
  height: 100%;
}

.advantage-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.advantage-card h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(16px, 1.5vw, 24px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.advantage-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- CASE STUDIES --- */
.cases-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}

.case-holder {
  border-bottom: 1px solid var(--border);
}

.case-holder:first-child {
  border-top: 1px solid var(--border);
}

.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 280px;
}

.case-image-wrap {
  position: relative;
  overflow: hidden;
}

.case-image {
  width: 100%;
  height: 100%;
  min-height: 200px;
}

.case-info-wrap {
  padding: clamp(24px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-label {
  display: inline-block;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  color: var(--text);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.case-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(20px, 2.2vw, 32px);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.case-description {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.case-index-wrap {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
}

.case-index-value {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 48px);
  letter-spacing: -0.04em;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.case-index-desc {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 4px;
  display: block;
}

/* --- CONTACT FORM --- */
.contact-header {
  margin-bottom: 48px;
}

.contact-heading {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 80px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.contact-heading .slash {
  color: var(--glass-shimmer);
  font-family: var(--font-mono);
}

.contact-form-wrap {
  margin-top: 40px;
}

.contact-form {
  max-width: 600px;
}

.form-text-inputs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-text-input {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: relative;
}

.form-input-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  padding: 4px 0;
}

.form-input::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-input:focus {
  border-color: var(--glass-border-hover);
}

.form-checkbox {
  margin-top: 24px;
}

.form-checkbox label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: rgba(255,255,255,0.7);
}

.checkbox-text {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

.checkmark { display: none; }

.form-submit-row {
  margin-top: 32px;
}

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--gutter);
}

.footer-socials {
  padding: 24px 0;
}

.footer-social-links {
  display: flex;
  gap: 8px;
}

.footer-social-links a {
  padding: 8px 16px;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: all 0.3s;
}

.footer-social-links a:hover {
  border-color: var(--glass-border-hover);
  color: var(--text);
  box-shadow: 0 0 15px rgba(255,255,255,0.04);
}

.footer-divider {
  height: 1px;
  background: var(--border);
}

.footer-info {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  gap: 32px;
}

.footer-legal p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.footer-legal-links .footer-link {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-legal-links .footer-link:hover {
  color: var(--text);
  text-shadow: none;
}

.footer-contacts-wrap {
  text-align: right;
}

.footer-contacts {
  display: flex;
  gap: 32px;
  justify-content: flex-end;
}

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text);
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--text);
  text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.footer-address {
  margin-top: 12px;
}

.footer-address p {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.copyright {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.pplx-link {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* --- GRAIN OVERLAY --- */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .page-wrap {
    flex-direction: column;
  }
  .main-content {
    width: 100%;
  }
  .vh-wrap {
    display: none;
  }
  .hero-title {
    font-size: clamp(36px, 8vw, 80px);
  }
  .hero-title .line-offset {
    padding-left: clamp(16px, 3vw, 40px);
  }
  .products-grid-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .pros-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .advantages-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .case {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .products-grid-wrap {
    grid-template-columns: 1fr;
  }
  .pros-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantages-cards {
    grid-template-columns: 1fr;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .footer-info {
    flex-direction: column;
  }
  .footer-contacts-wrap {
    text-align: left;
  }
  .footer-contacts {
    justify-content: flex-start;
  }
  .header-menu-list {
    display: none;
  }
  .nav-meta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 480px) {
  .pros-row {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: clamp(28px, 8vw, 48px);
  }
  .section-title {
    font-size: clamp(24px, 7vw, 40px);
  }
  .contact-heading {
    font-size: clamp(28px, 8vw, 48px);
  }
  .hero-subtitle {
    font-size: 13px;
  }
  .hero-glass-band {
    font-size: 11px;
  }
  .grid-product-name {
    font-size: clamp(18px, 4vw, 24px);
  }
  .footer-social-links {
    flex-wrap: wrap;
  }
  .brutal-btn {
    font-size: 11px;
    padding: 12px 18px;
  }
  .about-stat-value {
    font-size: clamp(28px, 7vw, 48px);
  }
}

/* ============================================================
   MOBILE NAV — HAMBURGER
   ============================================================ */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 600;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.2s;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 490;
  overflow-y: auto;
  flex-direction: column;
  border-top: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-inner {
  padding: 8px var(--gutter) calc(var(--gutter) * 2);
  flex: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: var(--text);
}

.mobile-nav-section {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-section-label {
  padding: 16px 0 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
}

.mobile-nav-product {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}

.mobile-nav-product:last-child {
  border-bottom: none;
}

.mobile-nav-product:hover,
.mobile-nav-product:active {
  background: var(--glass-bg);
}

.mobile-nav-product-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.mobile-nav-product-desc {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.mobile-nav-cta {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

/* ============================================================
   CHAT BOT
   ============================================================ */

.chat-widget-btn {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,111,55,0.06);
  border: 1px solid rgba(255,111,55,0.2);
  color: #FF6F37;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 8px;
  position: relative;
  overflow: visible;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.chat-widget-btn:hover {
  background: rgba(255,111,55,0.12);
  border-color: rgba(255,111,55,0.4);
  box-shadow: 0 0 20px rgba(255,111,55,0.12);
}

.chat-btn-eye-mobile {
  display: none;
}

.chat-btn-label {
  white-space: nowrap;
}

.chat-btn-pulse {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF6F37;
  animation: chat-pulse 2s ease-in-out infinite;
}

.chat-btn-mobile {
  display: none;
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
  align-items: center;
  gap: 10px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 40px;
  padding: 8px 20px 8px 8px;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  overflow: visible;
}

.chat-btn-mobile:hover {
  border-color: rgba(255,111,55,0.5);
  box-shadow: 0 0 24px rgba(255,111,55,0.2);
  transform: translateY(-2px);
}

.chat-btn-mobile.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85) translateY(8px);
}

.chat-btn-eye {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255,111,55,0.25);
}

@keyframes chat-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,111,55,0.6); transform: scale(1); }
  50% { box-shadow: 0 0 0 8px rgba(255,111,55,0); transform: scale(1.1); }
}

.chat-panel {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9100;
  width: 360px;
  max-height: 560px;
  display: flex;
  flex-direction: column;
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 40px rgba(255,111,55,0.06);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.34,1.56,0.64,1), transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}

.chat-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: #0a0a0a;
  flex-shrink: 0;
}

.chat-eye-wrap {
  flex-shrink: 0;
}

.chat-eye-container {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,111,55,0.3);
}

.chat-header-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.chat-header-name {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  letter-spacing: 0.06em;
}

.chat-header-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: status-blink 3s ease-in-out infinite;
}

@keyframes status-blink {
  0%, 90%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chat-close-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s;
  flex-shrink: 0;
}

.chat-close-btn svg {
  width: 14px;
  height: 14px;
}

.chat-close-btn:hover {
  color: var(--text);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

.chat-msg {
  max-width: 85%;
  animation: msg-in 0.22s ease-out;
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg--user {
  align-self: flex-end;
}

.chat-msg--assistant {
  align-self: flex-start;
}

.chat-msg-text {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
}

.chat-msg--user .chat-msg-text {
  background: rgba(255,111,55,0.12);
  border: 1px solid rgba(255,111,55,0.2);
  border-bottom-right-radius: 4px;
}

.chat-msg--assistant .chat-msg-text {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom-left-radius: 4px;
}

.chat-msg--typing .chat-msg-text {
  padding: 12px 16px;
}

.chat-typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.chat-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  animation: typing-bounce 1.2s ease-in-out infinite;
}

.chat-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.3; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #0a0a0a;
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 9px 12px;
  transition: border-color 0.2s;
}

.chat-input::placeholder {
  color: var(--text-muted);
}

.chat-input:focus {
  border-color: rgba(255,111,55,0.35);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,111,55,0.1);
  border: 1px solid rgba(255,111,55,0.25);
  border-radius: 8px;
  color: #FF6F37;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.chat-send-btn svg {
  width: 16px;
  height: 16px;
}

.chat-send-btn:hover {
  background: rgba(255,111,55,0.2);
  border-color: rgba(255,111,55,0.5);
}

@media (max-width: 900px) {
  .chat-btn-mobile {
    display: flex;
  }

  .chat-btn-eye-mobile {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255,111,55,0.25);
  }
}

@media (max-width: 480px) {
  .chat-panel {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-height: 80dvh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .chat-btn-mobile {
    bottom: 20px;
    right: 20px;
  }
}

/* ============================================================
   ECHOLYTICS — DEMO CTA
   ============================================================ */

.demo-cta-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(40px, 5vw, 80px) 0;
  border: 1px solid var(--border);
  padding-left: clamp(24px, 3vw, 48px);
  padding-right: clamp(24px, 3vw, 48px);
}
.demo-cta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}
.demo-cta-btn {
  white-space: nowrap;
}
@media (max-width: 768px) {
  .demo-cta-wrap {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PHONEX — AI DIALOGUE SECTION
   ============================================================ */

.dialogue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border);
}

.dialogue-card {
  padding: clamp(24px, 3vw, 48px) clamp(20px, 2.5vw, 40px);
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.3s;
}

.dialogue-card:last-child {
  border-right: none;
}

.dialogue-card:hover {
  background: var(--glass-bg);
}

.dialogue-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.dialogue-card-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(16px, 1.8vw, 24px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.2;
}

.dialogue-card p {
  font-size: clamp(13px, 1.1vw, 15px);
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* ============================================================
   PHONEX — CASES SECTION
   ============================================================ */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: var(--border);
  border: 1px solid var(--border);
}

.case-card {
  background: var(--bg);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.3s;
}

.case-card:hover {
  background: var(--glass-bg);
}

.case-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--lime);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}

.case-desc {
  font-size: clamp(12px, 1vw, 14px);
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  flex: 1;
}

.case-metrics {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.case-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-metric-val {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.03em;
  color: var(--text);
}

.case-metric-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   PHONEX — INDUSTRIES SECTION
   ============================================================ */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border);
}

.industry-item {
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.industry-item:nth-child(3),
.industry-item:nth-child(6) {
  border-right: none;
}

.industry-item:nth-child(4),
.industry-item:nth-child(5),
.industry-item:nth-child(6) {
  border-bottom: none;
}

.industry-item:hover {
  background: var(--glass-bg);
}

.industry-icon {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.industry-item h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.industry-item p {
  font-size: clamp(12px, 1vw, 14px);
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* ============================================================
   PHONEX — FAQ SECTION
   ============================================================ */

.faq-list {
  margin-top: 48px;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(20px, 2.5vw, 32px) 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  transition: color 0.2s;
}

.faq-question > span:first-child {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(16px, 1.8vw, 22px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}

.faq-question:hover {
  color: rgba(255,255,255,0.7);
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  transition: transform 0.3s, color 0.3s;
}

.faq-item.faq-open .faq-icon {
  transform: rotate(45deg);
  color: var(--lime);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.3s;
  padding-bottom: 0;
}

.faq-item.faq-open .faq-answer {
  max-height: 400px;
  padding-bottom: clamp(20px, 2.5vw, 32px);
}

.faq-answer p {
  font-size: clamp(13px, 1.2vw, 16px);
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 700px;
}

/* ============================================================
   PHONEX — RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .dialogue-grid {
    grid-template-columns: 1fr;
  }
  .dialogue-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .dialogue-card:last-child {
    border-bottom: none;
  }
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-item:nth-child(3) { border-right: 1px solid var(--border); }
  .industry-item:nth-child(2),
  .industry-item:nth-child(4) { border-right: none; }
  .industry-item:nth-child(4),
  .industry-item:nth-child(5) { border-bottom: 1px solid var(--border); }
  .industry-item:nth-child(5),
  .industry-item:nth-child(6) { border-bottom: none; }
}

@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .industries-grid {
    grid-template-columns: 1fr;
  }
  .industry-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .industry-item:last-child {
    border-bottom: none !important;
  }
}

/* ============================================================
   AUTOMATION FLOW — Echolytics product page
   ============================================================ */

.automation-flow-wrap {
  background: var(--bg-2, #111);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow-x: auto;
}

.automation-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 680px;
}

.auto-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-3, #161616);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1.25rem 1.5rem;
  flex: 1;
  min-width: 140px;
}

.auto-step-trigger {
  border-color: #FF6F37;
  background: rgba(255, 111, 55, 0.04);
}

.auto-step-icon {
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  color: rgba(245,245,240,0.4);
  letter-spacing: 0.04em;
}

.auto-step-trigger .auto-step-icon {
  color: #FF6F37;
}

.auto-step-label {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(245,245,240,0.35);
  text-transform: uppercase;
}

.auto-step-title {
  font-family: var(--font-head, sans-serif);
  font-size: clamp(0.75rem, 1.1vw, 0.9rem);
  font-weight: 700;
  color: var(--text, #f5f5f0);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.auto-step-desc {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: rgba(245,245,240,0.45);
  line-height: 1.5;
}

.auto-step-score {
  font-family: var(--font-head, sans-serif);
  font-size: 1.4rem;
  font-weight: 900;
  color: #FF6F37;
  letter-spacing: -0.02em;
}

.auto-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  color: rgba(245,245,240,0.2);
  font-size: 1.1rem;
  flex-shrink: 0;
  align-self: center;
}

.auto-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1.6;
}

.auto-action {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-3, #161616);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  flex: 1;
}

.auto-action-email {
  border-left: 2px solid var(--cyan, #06b6d4);
}

.auto-action-sms {
  border-left: 2px solid #C8FF00;
}

.auto-action-icon {
  font-size: 1rem;
  color: rgba(245,245,240,0.35);
  margin-top: 2px;
  flex-shrink: 0;
}

.auto-action-email .auto-action-icon {
  color: var(--cyan, #06b6d4);
}

.auto-action-sms .auto-action-icon {
  color: #C8FF00;
}

.auto-action-type {
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(245,245,240,0.35);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.auto-action-email .auto-action-type { color: var(--cyan, #06b6d4); opacity: 0.8; }
.auto-action-sms .auto-action-type { color: #C8FF00; opacity: 0.8; }

.auto-action-title {
  font-family: var(--font-head, sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text, #f5f5f0);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.auto-action-desc {
  font-size: 11px;
  font-family: var(--font-mono, monospace);
  color: rgba(245,245,240,0.4);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .automation-flow-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
