/* ==========================================
   AI REALTY — STYLES
   Fintech: deep navy + neon green + electric blue
   ========================================== */

/* ── Variables ── */
:root {
  --bg:         #07071A;
  --bg-mid:     #0D0D24;
  --bg-card:    #111130;
  --bg-card2:   #161640;
  --green:      #00FF94;
  --green-dim:  rgba(0,255,148,0.15);
  --blue:       #00D4FF;
  --blue-dim:   rgba(0,212,255,0.15);
  --red:        #FF4466;
  --red-dim:    rgba(255,68,102,0.15);
  --text:       #E8E8F0;
  --text-muted: #7070A0;
  --text-dim:   #40406A;
  --border:     rgba(255,255,255,0.08);
  --border-g:   rgba(0,255,148,0.25);
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:  0 24px 80px rgba(0,0,0,0.6);
  --transition: 0.3s ease;
  --font-head:  'Montserrat', sans-serif;
  --font-body:  'Inter', sans-serif;
  --max-w:      1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
/* Remove 300ms tap delay on iOS */
a, button, input, [role="button"] { touch-action: manipulation; }

/* ── Utility ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; scroll-margin-top: 64px; }
.accent-green { color: var(--green); }
.accent-blue  { color: var(--blue); }

.green { color: var(--green) !important; }
.blue  { color: var(--blue) !important; }
.red   { color: var(--red) !important; }

/* ── Scroll progress ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transition: width 0.1s linear;
}

/* ── Fade-up animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease calc(var(--delay, 0s)), transform 0.7s ease calc(var(--delay, 0s));
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Section tags & titles ── */
.section-tag {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--border-g);
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700; line-height: 1.18;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; color: var(--text-muted);
  max-width: 600px; margin-bottom: 56px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 600;
  font-size: 15px; cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--green {
  background: var(--green); color: #07071A;
  box-shadow: 0 0 24px rgba(0,255,148,0.3);
}
.btn--green:hover { background: #00e080; box-shadow: 0 0 40px rgba(0,255,148,0.5); }

.btn--ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text); border: 1px solid var(--border);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--green); color: var(--green); }

.btn--outline {
  background: transparent; border: 2px solid var(--green); color: var(--green);
}
.btn--outline:hover { background: var(--green-dim); }

.btn--sm  { padding: 8px 18px; font-size: 13px; }
.btn--lg  { padding: 16px 36px; font-size: 16px; }
.btn--xl  { padding: 18px 44px; font-size: 17px; }

/* ── HEADER ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1300;
  padding: 16px 0;
  background: rgba(7,7,26,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.header.scrolled {
  padding: 12px 0;
  border-bottom-color: var(--border);
  background: rgba(7,7,26,0.95);
}
.header__inner {
  display: flex; align-items: center; gap: 32px;
}
.header__logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.logo-icon { color: var(--green); font-size: 18px; }
.logo-text {
  font-family: var(--font-head); font-weight: 700;
  font-size: 18px; color: var(--text);
}
.header__nav {
  display: flex; gap: 28px; margin: 0 auto;
}
.header__nav a {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: color var(--transition);
}
.header__nav a:hover { color: var(--green); }

.header__actions {
  display: flex; align-items: center; gap: 16px; flex-shrink: 0;
}
.lang-switch {
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 8px;
  transition: all var(--transition);
}
.lang-switch:hover { color: var(--blue); border-color: var(--blue); }
.header__phone { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.header__phone:hover { color: var(--green); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; padding: 8px 6px;
  align-items: center; justify-content: center;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav — hidden on desktop, shown via JS on mobile */
.mobile-nav { display: none; }

/* ── HERO ── */
.hero {
  min-height: 100vh; padding: 120px 0 60px;
  display: flex; align-items: center;
  background: radial-gradient(ellipse 80% 60% at 60% 30%, rgba(0,212,255,0.06) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 20% 70%, rgba(0,255,148,0.05) 0%, transparent 70%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Ccircle cx='30' cy='30' r='0.5' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__inner {
  max-width: 960px;
}
.hero__badge {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green); background: var(--green-dim);
  border: 1px solid var(--border-g);
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 16px;
}
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 14px;
}
.hero__sub {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.6; margin-bottom: 20px;
  max-width: 480px;
}

/* Hero mini calculator */
.hero__calc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 20px;
}
.hero__calc-label {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 10px;
}
.hero__calc-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.hero__calc-currency,
.hero__calc-period {
  font-size: 16px; color: var(--text-muted);
}
.hero__calc-input {
  flex: 1; background: var(--bg-mid);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-family: var(--font-head);
  font-size: 22px; font-weight: 700;
  padding: 10px 16px;
  outline: none; transition: border-color var(--transition);
}
.hero__calc-input:focus { border-color: var(--green); }
.hero__calc-input.input--error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,68,102,0.15); }

.hero__calc-hint {
  font-size: 12px; color: var(--text-dim);
  margin-top: 6px;
}
.hero__calc-hint.hint--error { color: var(--red); }
.hero__calc-result { display: flex; flex-direction: column; gap: 8px; }
.loss-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;
}
.loss-label { color: var(--text-muted); }
.loss-val { font-family: var(--font-head); font-weight: 700; font-size: 16px; }

.hero__cta {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
}
.hero__trust {
  font-size: 12px; color: var(--text-dim);
}

/* ── Dashboard card ── */
.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.dash-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}
.dash-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.dash-title {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: var(--text-muted); text-transform: uppercase;
}
.dash-live {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--green);
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,255,148,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0,255,148,0); }
}

.dash-metric-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 18px;
}
.dash-metric-val {
  font-family: var(--font-head); font-weight: 800;
  font-size: 22px; margin-bottom: 4px;
}
.dash-metric-label { font-size: 12px; color: var(--text-dim); }

.dash-chart-wrap { margin-bottom: 12px; }
.dash-chart { width: 100%; height: 70px; }
.dash-chart-label { font-size: 11px; color: var(--text-dim); margin-top: 4px; }

.dash-feed {
  background: var(--bg-mid); border-radius: 8px;
  padding: 10px 14px; margin-bottom: 16px;
  min-height: 40px;
}
.feed-item { display: flex; align-items: center; gap: 10px; }
.feed-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.feed-dot.green { background: var(--green); }
.feed-dot.blue  { background: var(--blue); }
.feed-text { font-size: 13px; color: var(--text-muted); }

.dash-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.dash-stat {
  text-align: center;
  background: var(--bg-mid); border-radius: 8px;
  padding: 10px 6px;
}
.dash-stat-val {
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  color: var(--green); margin-bottom: 4px;
}
.dash-stat-sub { font-size: 11px; color: var(--text-dim); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.stats-bar__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
}
.stat-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--green); line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--text-muted); }

/* ── PROBLEM ── */
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 40px;
}
.problem-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--border);
}
.problem-card--bad  { border-color: rgba(255,68,102,0.3); }
.problem-card--good { border-color: rgba(0,255,148,0.3); }
.problem-pct {
  font-family: var(--font-head); font-weight: 800;
  font-size: 56px; line-height: 1; margin-bottom: 8px;
}
.problem-name {
  font-weight: 600; font-size: 16px; margin-bottom: 16px;
  color: var(--text);
}
.problem-list li {
  font-size: 14px; color: var(--text-muted);
  padding: 6px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 8px;
}
.problem-list li::before { content: '—'; color: var(--text-dim); flex-shrink: 0; }

.problem-insight {
  background: var(--bg-card2); border-radius: var(--radius-lg);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 28px 32px;
  display: flex; gap: 20px; align-items: flex-start;
}
.insight-icon { font-size: 28px; flex-shrink: 0; }
.insight-text { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.insight-text strong { color: var(--text); }

/* ── SOLUTION INTRO ── */
.solution-intro { background: var(--bg-mid); }
.solution-split {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px;
  align-items: start;
}
.solution-arrow {
  font-size: 32px; color: var(--green);
  display: flex; align-items: center; padding-top: 48px;
}
.solution-col {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 28px; border: 1px solid var(--border);
}
.solution-col--before { border-color: rgba(255,68,102,0.25); }
.solution-col--after  { border-color: rgba(0,255,148,0.25); }
.sol-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 16px;
}
.sol-list li {
  font-size: 14px; color: var(--text-muted);
  padding: 10px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5;
}
.sol-list li:last-child { border-bottom: none; }
.sol-list--bad  li::before { content: '✕'; color: var(--red); flex-shrink: 0; }
.sol-list--good li::before { content: '✓'; color: var(--green); flex-shrink: 0; }

/* ── CASES ── */
.case-card--featured {
  margin-bottom: 28px;
  border-color: rgba(0,255,148,0.35);
  position: relative;
}
.case-featured-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #07071A; background: var(--green);
  padding: 4px 12px; border-radius: 6px;
  margin-bottom: 16px;
}
.case-results--wide {
  grid-template-columns: repeat(6, 1fr) !important;
}

.cases-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  margin-bottom: 40px;
}
.cases-grid--vertical {
  grid-template-columns: 1fr;
}
.case-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
}
.case-card:hover { border-color: var(--border-g); transform: translateY(-4px); }
.case-head { margin-bottom: 16px; }
.case-company { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.case-tag { font-size: 12px; color: var(--text-dim); }
.case-problem { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.case-results {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 20px;
}
.case-metric {
  background: var(--bg-mid); border-radius: 8px;
  padding: 12px; text-align: center;
}
.case-metric-val {
  font-family: var(--font-head); font-weight: 800; font-size: 22px;
  margin-bottom: 4px;
}
.case-metric-label { font-size: 11px; color: var(--text-dim); }
.case-solution { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.case-quote {
  font-size: 14px; font-style: italic; color: var(--text-muted);
  border-left: 3px solid var(--green); padding-left: 16px;
  line-height: 1.6;
}
.case-author {
  display: block; margin-top: 6px;
  font-size: 12px; font-style: normal; color: var(--text-dim);
}
.cases-cta { text-align: center; }

/* ── ROI CALCULATOR ── */
.calculator { background: var(--bg-mid); }

.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.calc-card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 32px; gap: 24px;
}
.calc-card-title {
  font-family: var(--font-head); font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800; margin-bottom: 6px;
}
.calc-card-sub { font-size: 14px; color: var(--text-muted); }

/* Sliders 2-column grid */
.calc-inputs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px;
  margin-bottom: 32px;
}
.calc-field--full { grid-column: 1 / -1; }

.calc-field-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px;
}
.calc-label {
  font-size: 13px; font-weight: 500; color: var(--text-muted);
}
.calc-range-val {
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  color: var(--text);
}
.calc-range {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 4px; border-radius: 2px;
  background: var(--bg-card2); outline: none; cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(0,255,148,0.5);
  cursor: pointer;
}
.calc-range::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); border: none; cursor: pointer;
}
.calc-range-limits {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--text-dim); margin-top: 5px;
}

/* Results summary row */
.calc-summary {
  display: flex; align-items: stretch;
  background: var(--bg-mid); border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 24px; overflow: hidden;
}
.sum-item {
  flex: 1; padding: 20px 16px; text-align: center;
}
.sum-item--red  { border-top: 2px solid var(--red); }
.sum-item--green { border-top: 2px solid var(--green); }
.sum-divider {
  width: 1px; background: var(--border); flex-shrink: 0;
}
.sum-label { font-size: 11px; color: var(--text-dim); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.sum-val   { font-family: var(--font-head); font-weight: 800; font-size: 20px; margin-bottom: 3px; }
.sum-sub   { font-size: 11px; color: var(--text-dim); }

.sum-total {
  flex: 1.4; padding: 20px 24px; text-align: center;
  background: linear-gradient(135deg, rgba(0,255,148,0.08), rgba(0,212,255,0.06));
  border-top: 2px solid var(--green); border-left: 1px solid var(--border-g);
}
.sum-total-label  { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.sum-total-val    { font-family: var(--font-head); font-weight: 800; font-size: 26px; margin-bottom: 4px; }
.sum-total-payback { font-size: 12px; color: var(--text-muted); }
.sum-total-payback strong { color: var(--text); }

.calc-methodology {
  margin-bottom: 24px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.calc-methodology__sources { display: flex; flex-direction: column; gap: 8px; }
.calc-methodology__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.calc-methodology__dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 5px;
}
.calc-methodology__dot.green { background: var(--green); }
.calc-methodology__dot.blue  { background: var(--blue); }
.calc-methodology__dot.muted { background: var(--text-muted); }

.calc-card-cta { text-align: center; }
.calc-card-note { font-size: 12px; color: var(--text-dim); margin-top: 12px; }

/* ── SOLUTIONS LIST ── */
.solutions-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.sol-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 28px; border: 1px solid var(--border);
  transition: all var(--transition);
}
.sol-card:hover { border-color: var(--border-g); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sol-card-icon { font-size: 32px; margin-bottom: 16px; }
.sol-card-title { font-family: var(--font-head); font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.sol-card-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.sol-card-result {
  font-size: 13px; font-weight: 600; color: var(--green);
  padding: 8px 14px; border-radius: 8px; background: var(--green-dim);
  display: inline-block;
}

/* ── PROCESS ── */
.process { background: var(--bg-mid); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.process-step {
  position: relative;
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 28px 24px; border: 1px solid var(--border);
}
.process-step::after {
  content: '→';
  position: absolute; right: -16px; top: 50%;
  transform: translateY(-50%);
  color: var(--green); font-size: 20px; z-index: 1;
}
.process-step:last-child::after { display: none; }
.step-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: 40px; color: var(--border-g);
  margin-bottom: 12px; line-height: 1;
}
.step-title { font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.step-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.step-duration {
  font-size: 12px; font-weight: 600; color: var(--blue);
  background: var(--blue-dim); padding: 4px 10px; border-radius: 6px;
  display: inline-block;
}

/* ── WHY US ── */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.why-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 28px; border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-card:hover { border-color: var(--border-g); }
.why-icon { font-size: 32px; margin-bottom: 16px; }
.why-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.why-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer;
  font-weight: 500; font-size: 16px;
  transition: background var(--transition);
  user-select: none;
}
.faq-question:hover { background: var(--bg-card2); }
.faq-icon {
  font-size: 20px; color: var(--green); flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-link { color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(0,212,255,0.3); }
.faq-link:hover { border-bottom-color: var(--blue); }

/* ── FINAL CTA ── */
.cta-final { background: var(--bg-mid); }
.cta-inner {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-g);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,255,148,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--green); background: var(--green-dim);
  border: 1px solid var(--border-g); padding: 6px 16px;
  border-radius: 100px; margin-bottom: 24px;
}
.cta-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(28px, 3.5vw, 44px); line-height: 1.2;
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 17px; color: var(--text-muted);
  margin-bottom: 36px; line-height: 1.7;
}
.cta-actions {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 24px;
}
.cta-trust {
  display: flex; gap: 24px; justify-content: center;
  font-size: 13px; color: var(--text-dim); flex-wrap: wrap;
}

/* ── FOOTER ── */
.footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; padding-bottom: 40px;
}
.footer__logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.footer__tagline { font-size: 14px; color: var(--text-dim); margin-bottom: 20px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-card2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--transition);
}
.footer__social a:hover { color: var(--green); border-color: var(--border-g); }
.footer__nav { display: flex; gap: 60px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col-title {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 4px;
}
.footer__col a, .footer__col span {
  font-size: 14px; color: var(--text-muted);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--green); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-dim);
}
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a { color: var(--text-dim); }
.footer__bottom-links a:hover { color: var(--green); }

/* ── Float Telegram ── */
.float-tg {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: #07071A;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,255,148,0.5);
  transition: all var(--transition);
}
.float-tg:hover { transform: scale(1.1); box-shadow: 0 6px 32px rgba(0,255,148,0.7); }

/* ── Cookie ── */
.cookie {
  position: fixed; bottom: 24px; left: 24px; z-index: 998;
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  max-width: 400px; box-shadow: var(--shadow);
  transform: translateY(120px); opacity: 0;
  transition: all 0.5s ease;
}
.cookie.show { transform: translateY(0); opacity: 1; }
.cookie p { font-size: 13px; color: var(--text-muted); }
.cookie a { color: var(--green); }

/* ── hero metrics ── */
.hero__metrics { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.hero__metric { display: flex; flex-direction: column; align-items: center; background: var(--bg-card); border: 1px solid var(--border-g); border-radius: var(--radius); padding: 12px 20px; min-width: 90px; }
.hero__metric-val { font-family: var(--font-head); font-weight: 800; font-size: 22px; line-height: 1; margin-bottom: 4px; }
.hero__metric-label { font-size: 11px; color: var(--text-muted); text-align: center; }
.hero__zoom-note { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }

/* ── Problem new grid ── */
.problem-grid--new { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.problem-item { background: var(--bg-card); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); border-left: 3px solid var(--red); }
.problem-item-icon { font-size: 20px; margin-bottom: 10px; }
.problem-item-title { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.problem-item-desc { font-size: 13px; color: var(--text-muted); }

/* ── Solution areas ── */
.sol-areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.sol-area { background: var(--bg-card); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); }
.sol-area-icon { font-size: 28px; margin-bottom: 16px; }
.sol-area-title { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.sol-area-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.sol-note { font-size: 15px; color: var(--text-muted); text-align: center; max-width: 680px; margin: 0 auto; }

/* ── Results ── */
.results-section { background: var(--bg); }
.results-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 24px; }
.result-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 28px 20px; text-align: center; border: 1px solid var(--border); }
.result-card-val { font-family: var(--font-head); font-weight: 800; font-size: 32px; color: var(--green); margin-bottom: 8px; }
.result-card-title { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.result-card-desc { font-size: 12px; color: var(--text-muted); }
.results-note { text-align: center; font-size: 15px; color: var(--text-muted); }

/* ── Why us 6 cards ── */
.why-grid--6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ── Offer section ── */
.offer-section { background: var(--bg-mid); }
.offer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.offer-title { font-family: var(--font-head); font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; margin-bottom: 20px; }
.offer-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.offer-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.offer-list li::before { content: '→'; color: var(--green); font-weight: 700; }
.offer-note { font-size: 14px; color: var(--text-muted); }
.offer-card { background: var(--bg-card); border: 1px solid var(--border-g); border-radius: var(--radius-lg); padding: 36px; text-align: center; }
.offer-card-trust { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.offer-card-trust span { font-size: 13px; color: var(--text-muted); }

/* ── Filter section ── */
.filter-section { background: var(--bg); }
.filter-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.filter-col { background: var(--bg-card); border-radius: var(--radius-lg); padding: 32px; }
.filter-col--yes { border: 1px solid rgba(0,255,148,0.3); }
.filter-col--no { border: 1px solid rgba(255,68,102,0.2); }
.filter-col-title { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 20px; }
.filter-list { display: flex; flex-direction: column; gap: 12px; }
.filter-item { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; }

/* ── Process 5 steps ── */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .calc-card { padding: 28px 24px; }
  .calc-card-header { flex-direction: column; gap: 12px; }
  .calc-hint-badge { white-space: normal; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid--6 { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(3, 1fr); }
  .sol-areas-grid { grid-template-columns: 1fr 1fr; }
  .offer-inner { grid-template-columns: 1fr; gap: 40px; }
  .problem-grid--new { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  /* Featured case: 6→3 cols on tablet */
  .case-results--wide { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .stats-bar { padding: 32px 0; }

  /* ── Desktop nav hidden on mobile ── */
  .header__nav { display: none !important; }

  /* ── Mobile nav overlay (sibling of header, not child) ── */
  /* header z-index: 1300 > mobile-nav z-index: 1200 → burger always clickable */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #07071A;
    background-image: radial-gradient(ellipse 60% 30% at 50% 0%, rgba(0,255,148,0.05) 0%, transparent 60%);
    flex-direction: column;
    padding: 72px 32px 48px;
    z-index: 1200;
    overflow-y: auto;
    animation: navFadeIn 0.25s ease;
  }
  @keyframes navFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .mobile-nav.open { display: flex; }

  .mobile-nav a {
    display: block;
    padding: 20px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 22px;
    font-weight: 600;
    color: #E8E8F0;
    letter-spacing: 0.01em;
  }
  .mobile-nav a:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
  .mobile-nav__cta {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding: 16px 28px !important;
    background: var(--green);
    color: #07071A !important;
    border-radius: var(--radius) !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    justify-content: center;
    width: 100%;
  }

  /* Burger → X (header z-index 1300 keeps it above nav) */
  .header__phone { display: none; }
  .burger { display: flex; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── Hero ── */
  .hero { padding: 96px 0 48px; }
  .hero__title { font-size: clamp(24px, 7vw, 36px); line-height: 1.15; }
  .hero__sub { font-size: 15px; max-width: 100%; }
  .hero__metrics { gap: 8px; }
  .hero__metric { flex: 1 1 calc(33% - 6px); min-width: 80px; padding: 10px 12px; }
  .hero__metric-val { font-size: 18px; }
  .hero__cta { flex-direction: column; gap: 10px; }
  .hero__cta .btn { width: 100%; text-align: center; justify-content: center; }
  .hero__zoom-note { font-size: 12px; }

  /* ── Calculator ── */
  .calc-card { padding: 20px 16px; }
  .calc-inputs-grid { grid-template-columns: 1fr; gap: 20px; }
  /* Bigger touch targets for sliders */
  .calc-range { height: 6px; cursor: pointer; }
  .calc-range::-webkit-slider-thumb { width: 26px; height: 26px; }
  .calc-range::-moz-range-thumb { width: 26px; height: 26px; }
  /* Results wrap */
  .calc-summary { flex-wrap: wrap; }
  .sum-item { flex: 1 1 45%; }
  .sum-total { flex: 1 1 100%; border-left: none; border-top: 2px solid var(--green); }
  .sum-divider { display: none; }
  .calc-card-cta .btn { width: 100%; justify-content: center; }

  /* ── Layouts ── */
  .problem-grid { grid-template-columns: 1fr; }
  .problem-grid--new { grid-template-columns: 1fr; }
  .problem-insight { flex-direction: column; gap: 12px; padding: 20px; }
  .solution-split { grid-template-columns: 1fr; }
  .solution-arrow { display: none; }
  .filter-split { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-label { font-size: 13px; }

  /* ── Featured case ── */
  .case-card--featured { padding: 20px; }
  .case-results--wide { grid-template-columns: repeat(2, 1fr) !important; }

  /* ── Cases: vertical stack on mobile ── */
  .cases-grid {
    display: flex;
    flex-direction: column;
    overflow-x: visible;
    gap: 16px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .cases-grid > * {
    flex: none;
    width: 100%;
    scroll-snap-align: none;
  }

  /* ── Swipe sliders for other card grids ── */
  .solutions-grid,
  .sol-areas-grid,
  .results-grid,
  .why-grid--6 {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: visible;
    align-items: stretch;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding-top: 8px;
    padding-bottom: 12px;
    margin-top: -8px;
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .solutions-grid::-webkit-scrollbar,
  .sol-areas-grid::-webkit-scrollbar,
  .results-grid::-webkit-scrollbar,
  .why-grid--6::-webkit-scrollbar { display: none; }

  .solutions-grid > *,
  .sol-areas-grid > *,
  .results-grid > *,
  .why-grid--6 > * {
    flex: 0 0 82%;
    scroll-snap-align: start;
    min-width: 0;
  }

  /* Swipe hint: right-edge fade */
  .solutions-grid,
  .sol-areas-grid,
  .results-grid,
  .why-grid--6 {
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
  }

  /* Swipe hint label */
  .swipe-hint { display: block; }

  /* ── Slider arrows ── */
  .slider-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; margin-bottom: 20px; }
  .slider-arrow {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text); font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition), border-color var(--transition);
  }
  .slider-arrow:hover { background: var(--green-dim); border-color: var(--green); color: var(--green); }

  /* ── FAQ ── */
  .faq-question { font-size: 15px; padding: 16px 18px; }
  .faq-item.open .faq-answer { max-height: 600px; }

  /* ── Offer ── */
  .offer-title { font-size: clamp(22px, 5vw, 30px); margin-bottom: 16px; }

  /* ── CTA ── */
  .cta-inner { padding: 40px 20px; }
  .cta-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .cta-trust { flex-direction: column; align-items: center; gap: 8px; }

  /* ── Footer ── */
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav { flex-direction: column; gap: 32px; }
  .footer__bottom .container { flex-direction: column; gap: 12px; text-align: center; }

  /* Float TG above cookie banner */
  .float-tg { bottom: 90px; right: 20px; width: 48px; height: 48px; }
  .cookie { left: 16px; bottom: 16px; right: 16px; max-width: none; flex-direction: column; gap: 10px; }
  .cookie p { font-size: 13px; }
  /* Cookie accepted → TG drops back */
  .cookie-hidden ~ .float-tg,
  body:not(:has(.cookie.show)) .float-tg { bottom: 24px; }
}

/* Swipe hint hidden by default, shown only on mobile */
.swipe-hint { display: none; font-size: 12px; color: var(--text-dim); text-align: right; margin-top: -8px; margin-bottom: 8px; }

@media (max-width: 480px) {
  .section { padding: 44px 0; }
  .container { padding: 0 16px; }
  .hero { padding: 84px 0 36px; }
  .hero__metrics { gap: 6px; }
  .hero__metric { padding: 8px 10px; }
  .hero__metric-val { font-size: 16px; }

  .stats-bar { padding: 24px 0; }
  .stats-bar__inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-num { font-size: clamp(26px, 8vw, 40px); }
  .stat-label { font-size: 11px; }

  .dash-metric-row { grid-template-columns: 1fr; }
  .case-results { grid-template-columns: 1fr 1fr; }
  .case-results--wide { grid-template-columns: repeat(2, 1fr) !important; }

  /* Sliders take more width on small screens */
  .solutions-grid,
  .sol-areas-grid,
  .results-grid,
  .why-grid--6 {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .solutions-grid > *,
  .sol-areas-grid > *,
  .results-grid > *,
  .why-grid--6 > * { flex: 0 0 88%; }

  .cta-inner { padding: 32px 16px; }
  .faq-question { font-size: 14px; padding: 14px 16px; }
}