/* ============================================================
   «В ЭФИРЕ» — лендинг. Стиль синхронизирован с продуктом
   (frontend/app/globals.css, tailwind.config.ts, lib/theme.ts)
   ============================================================ */

:root {
  --page: #0a0a0b;
  --brand: #ff7a30;
  --brand-hover: #f66f14;
  --brand-light: #ffad75;
  --brand-deep: #e06024;
  --surface-elevated: #141416;
  --surface-raised: #0d0d0d;
  --border: #2b2b2b;
  --border-subtle: #414142;
  --text-muted: #9ca3af;
  --text-muted-secondary: #7d7d7d;
  --text-muted-tertiary: #bdbdbd;
  --text-button: #cac4da;
  --brand-rgb: 255, 122, 48;
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #ea384c;

  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;

  --font-heading: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-brand-glow: 0 4px 28px rgba(var(--brand-rgb), 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  --shadow-card-glow: 0 0 40px rgba(var(--brand-rgb), 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.45);

  --maxw: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--page);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
}

.text-muted { color: var(--text-muted); }
.text-brand { color: var(--brand); }
.text-brand-light { color: var(--brand-light); }
.center { text-align: center; }

/* ——— Typography ——— */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-light);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.heading-hero {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.heading-section {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.heading-sub {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.65;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.section-head .lead { margin-top: 16px; }

/* ——— Badges ——— */
.section-badge {
  display: inline-flex;
  align-items: stretch;
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid var(--border);
  font-size: 14px;
}

.section-badge-accent {
  background: var(--brand);
  padding: 6px 16px;
  font-weight: 600;
  white-space: nowrap;
}

.section-badge-text {
  padding: 6px 16px;
  color: var(--text-muted);
  background: color-mix(in srgb, var(--surface-elevated) 90%, transparent);
  white-space: nowrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 9999px;
  color: var(--brand-light);
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
}

.pill-live {
  color: #fff;
  background: color-mix(in srgb, var(--danger) 85%, transparent);
  border-color: transparent;
}

.pill-live .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: livePulse 1.6s infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
  70% { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-glow {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-light) 0%, var(--brand) 45%, var(--brand-hover) 100%);
  box-shadow: var(--shadow-brand-glow);
}

.btn-glow:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 36px rgba(var(--brand-rgb), 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* ——— Cards ——— */
.card {
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
  background: color-mix(in srgb, var(--surface-elevated) 60%, transparent);
  box-shadow: var(--shadow-card-glow);
  backdrop-filter: blur(6px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, transparent);
  box-shadow: 0 0 48px rgba(var(--brand-rgb), 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.card-flat {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface-raised);
}

.card-featured {
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
  box-shadow: 0 0 56px rgba(var(--brand-rgb), 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.card-pad { padding: 28px; }

@media (max-width: 768px) {
  .card-pad { padding: 20px; }
}

/* ——— Navbar ——— */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--page) 72%, transparent);
}

.navbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  color: var(--text-muted-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-elevated) 80%, transparent);
  color: #fff;
  cursor: pointer;
}

.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: color-mix(in srgb, var(--page) 96%, transparent);
  padding: 16px 20px 22px;
}

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

.mobile-nav a {
  display: block;
  padding: 13px 16px;
  border-radius: var(--radius-lg);
  color: var(--text-muted-tertiary);
  font-weight: 500;
}

.mobile-nav a:hover { color: #fff; background: rgba(255,255,255,0.04); }

.mobile-nav .btn { margin-top: 12px; }

@media (max-width: 900px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: visible;
  padding: 72px 0 40px;
  text-align: center;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero .heading-hero { max-width: 16ch; }

.hero .lead { max-width: 620px; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 6px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
  justify-content: center;
  margin-top: 18px;
  color: var(--text-muted-secondary);
  font-size: 14px;
}

.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--brand); }

/* Hero media + sun */
.hero-media-wrap {
  position: relative;
  margin-top: 48px;
  padding-bottom: 72px;
}

.hero-sun {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -40px;
  width: min(1000px, 118vw);
  height: 380px;
  background: radial-gradient(
    ellipse 50% 50% at 50% 50%,
    rgba(var(--brand-rgb), 0.4) 0%,
    rgba(var(--brand-rgb), 0.14) 44%,
    transparent 72%
  );
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

/* ——— Browser / device frames (product mockups) ——— */
.browser-frame {
  position: relative;
  z-index: 3;
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  background: var(--surface-raised);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(var(--brand-rgb), 0.1), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  margin: 0 auto;
  max-width: 940px;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-elevated) 90%, transparent);
}

.browser-dots { display: flex; gap: 7px; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; background: #3a3a3a; }
.browser-dots i:nth-child(1) { background: #ff5f57; }
.browser-dots i:nth-child(2) { background: #febc2e; }
.browser-dots i:nth-child(3) { background: #28c840; }

.browser-url {
  flex: 1;
  font-size: 12px;
  color: var(--text-muted-secondary);
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 5px 14px;
  text-align: center;
  max-width: 340px;
  margin: 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-body { background: var(--page); }
.browser-body img { width: 100%; display: block; }

/* Live hall grid mockup */
.mock-hall {
  padding: 22px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 120%, rgba(var(--brand-rgb),0.12), transparent 70%),
    var(--page);
}

.mock-hall-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mock-hall-head h4 { font-size: 15px; }
.mock-hall-head .text-muted { font-size: 12px; }

.mock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mock-tile {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #16181d, #0c0d10);
}

.mock-tile .court {
  position: absolute;
  inset: 14% 10%;
  border-radius: 8px;
  background: linear-gradient(160deg, #1d5fa8, #0f3a6b);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.12), inset 0 0 40px rgba(0,0,0,0.4);
}

.mock-tile .court::after {
  content: '';
  position: absolute;
  left: 50%; top: 8%;
  width: 2px; height: 84%;
  background: rgba(255,255,255,0.5);
  transform: translateX(-50%);
}

.mock-tile.padel .court { background: linear-gradient(160deg, #1f7a4d, #0d3d27); }
.mock-tile.billiard .court { background: linear-gradient(160deg, #146a3a, #093f22); }
.mock-tile.tennis .court { background: linear-gradient(160deg, #b4652a, #6d3a17); }

.mock-tile .label {
  position: absolute;
  left: 10px; bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.mock-tile .live {
  position: absolute;
  right: 10px; top: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--danger) 88%, transparent);
}

.mock-tile .live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }

/* Score banner (tournament) — mirrors product broadcast banner */
.mock-broadcast {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(var(--brand-rgb),0.16), transparent 70%),
    linear-gradient(160deg, #14171d, #0a0b0d);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-broadcast .court-wide {
  position: absolute;
  inset: 18% 14% 26%;
  border-radius: 10px;
  background: linear-gradient(160deg, #1d5fa8, #0f3a6b);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.12), inset 0 0 60px rgba(0,0,0,0.45);
}

.mock-broadcast .court-wide::after {
  content: '';
  position: absolute; left: 50%; top: 10%;
  width: 3px; height: 80%;
  background: rgba(255,255,255,0.5);
  transform: translateX(-50%);
}

.mock-broadcast .live-top {
  position: absolute; top: 16px; right: 16px; z-index: 3;
}

.mock-score {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  border-top: 2px solid color-mix(in srgb, var(--brand) 70%, transparent);
  background: linear-gradient(to top,
    color-mix(in srgb, var(--page) 94%, transparent) 0%,
    color-mix(in srgb, var(--page) 72%, transparent) 55%,
    transparent 100%);
}

.mock-score-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 18px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--brand) 18%, transparent) 0%,
    color-mix(in srgb, var(--page) 55%, transparent) 50%,
    color-mix(in srgb, var(--brand) 18%, transparent) 100%);
  backdrop-filter: blur(8px);
}

.mock-score-name {
  flex: 1;
  font-weight: 700;
  font-size: clamp(13px, 2.4vw, 18px);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.65);
}

.mock-score-name.l { text-align: right; }
.mock-score-name.r { text-align: left; }

.mock-score-vs {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 6px 14px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  box-shadow: 0 0 20px color-mix(in srgb, var(--brand) 45%, transparent);
}

/* ——— Feature (benefit) rows ——— */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-row + .feature-row { margin-top: 96px; }

.feature-row.reverse .feature-visual { order: -1; }

@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: 30px; }
  .feature-row + .feature-row { margin-top: 56px; }
  .feature-row.reverse .feature-visual { order: 0; }
}

.feature-copy h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted-tertiary);
}

.check-box {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.check-box svg { width: 13px; height: 13px; color: #fff; }

.feature-visual { position: relative; }

/* Phone frame */
.phone-frame {
  width: 270px;
  margin: 0 auto;
  border-radius: 34px;
  border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  background: #0b0c0e;
  padding: 12px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6), 0 0 60px rgba(var(--brand-rgb),0.1);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 6px;
  border-radius: 9999px;
  background: #1c1d20;
  z-index: 3;
}

.phone-screen {
  border-radius: 24px;
  overflow: hidden;
  background: var(--page);
  aspect-ratio: 9 / 19;
  display: flex;
  flex-direction: column;
}

.phone-topbar {
  padding: 26px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-topbar .t { font-family: var(--font-heading); font-weight: 700; font-size: 15px; }
.phone-topbar .avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-light), var(--brand-deep)); }

/* QR scan mockup */
.phone-scan {
  flex: 1;
  padding: 8px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scan-box {
  flex: 1;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(var(--brand-rgb),0.12), transparent 70%),
    linear-gradient(160deg, #131519, #0a0b0d);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scan-reticle {
  width: 130px; height: 130px;
  position: relative;
}

.scan-reticle span {
  position: absolute;
  width: 26px; height: 26px;
  border: 3px solid var(--brand);
}
.scan-reticle span:nth-child(1){ top:0; left:0; border-right:0; border-bottom:0; border-top-left-radius:8px;}
.scan-reticle span:nth-child(2){ top:0; right:0; border-left:0; border-bottom:0; border-top-right-radius:8px;}
.scan-reticle span:nth-child(3){ bottom:0; left:0; border-right:0; border-top:0; border-bottom-left-radius:8px;}
.scan-reticle span:nth-child(4){ bottom:0; right:0; border-left:0; border-top:0; border-bottom-right-radius:8px;}

.scan-qr {
  width: 74px; height: 74px;
  border-radius: 8px;
  background:
    conic-gradient(from 0deg, #fff 0 25%, #0a0b0d 0 50%, #fff 0 75%, #0a0b0d 0) 0 0/18px 18px;
  opacity: 0.9;
}

.scan-line {
  position: absolute;
  left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  box-shadow: 0 0 12px var(--brand);
  animation: scanMove 2.4s ease-in-out infinite;
}

@keyframes scanMove {
  0%,100% { top: 22%; }
  50% { top: 74%; }
}

.scan-hint { text-align: center; color: var(--text-muted); font-size: 12px; }

/* Recordings list (cabinet) mockup */
.phone-list {
  flex: 1;
  padding: 4px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.rec-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-elevated) 60%, transparent);
}

.rec-thumb {
  width: 56px; height: 38px;
  border-radius: 8px;
  flex-shrink: 0;
  background: linear-gradient(150deg, #1d5fa8, #0f3a6b);
  position: relative;
}

.rec-thumb::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 0; height: 0;
  border-left: 9px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.rec-thumb.padel { background: linear-gradient(150deg, #1f7a4d, #0d3d27); }
.rec-thumb.tennis { background: linear-gradient(150deg, #b4652a, #6d3a17); }

.rec-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rec-meta .t { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-meta .s { display: block; font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* Operator console mockup */
.mock-operator {
  padding: 18px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  background: var(--page);
}

.op-previews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.op-cam {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border);
  background: linear-gradient(135deg, #16181d, #0c0d10);
}

.op-cam.active { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 0 22px rgba(var(--brand-rgb),0.35); }

.op-cam .court {
  position: absolute; inset: 16% 12%;
  border-radius: 6px;
  background: linear-gradient(160deg, #1d5fa8, #0f3a6b);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.12);
}
.op-cam.padel .court { background: linear-gradient(160deg, #1f7a4d, #0d3d27); }
.op-cam.tennis .court { background: linear-gradient(160deg, #b4652a, #6d3a17); }

.op-cam .tag {
  position: absolute; left: 7px; bottom: 7px;
  font-size: 9px; font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(0,0,0,0.6);
}

.op-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-elevated) 70%, transparent);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.op-panel h5 { font-size: 13px; color: var(--text-muted-tertiary); font-weight: 600; }

.op-toggle-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }

.op-toggle {
  width: 46px; height: 26px;
  border-radius: 9999px;
  background: var(--brand);
  position: relative;
  flex-shrink: 0;
}
.op-toggle i {
  position: absolute; top: 3px; left: 23px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
}

.op-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
  background: var(--surface-raised);
  color: var(--text-muted-tertiary);
}

.op-btn.brand {
  background: linear-gradient(180deg, var(--brand-light), var(--brand-hover));
  color: #fff; border-color: transparent;
  box-shadow: var(--shadow-brand-glow);
}

@media (max-width: 560px) {
  .mock-operator { grid-template-columns: 1fr; }
}

/* ——— Problem cards ——— */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .problem-grid { grid-template-columns: 1fr; } }

.problem-card { padding: 24px; }
.problem-card .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--danger) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent);
  margin-bottom: 16px;
}
.problem-card .ico svg { width: 22px; height: 22px; color: #ff6b7a; }
.problem-card h4 { font-size: 16px; margin-bottom: 8px; }
.problem-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ——— Solution modules grid ——— */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) { .modules-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .modules-grid { grid-template-columns: 1fr; } }

.module-card { padding: 26px; height: 100%; }
.module-card .ico {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  margin-bottom: 18px;
}
.module-card .ico svg { width: 24px; height: 24px; color: var(--brand-light); }
.module-card h4 { font-size: 17px; margin-bottom: 10px; }
.module-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ——— Roles ——— */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1000px){ .roles-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px){ .roles-grid { grid-template-columns: 1fr;} }

.role-card { padding: 24px; height: 100%; }
.role-card .role-name { font-size: 15px; color: var(--brand-light); font-weight: 700; margin-bottom: 12px; }
.role-card blockquote {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted-tertiary);
  font-style: italic;
}

/* ——— Monetization ——— */
.money-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 760px){ .money-grid { grid-template-columns: 1fr;} }

.money-card { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.money-card .top { display: flex; align-items: center; gap: 14px; }
.money-card .ico {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
}
.money-card .ico svg { width: 23px; height: 23px; color: var(--brand-light); }
.money-card h4 { font-size: 16px; }
.money-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.money-card .metric {
  margin-top: auto;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--brand-light);
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* ——— Scenarios (use cases) ——— */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px){ .scenario-grid { grid-template-columns: 1fr; } }

.scenario-card { padding: 26px; height: 100%; }
.scenario-num {
  font-family: var(--font-heading);
  font-size: 13px; font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.scenario-card h4 { font-size: 17px; margin-bottom: 14px; }
.scenario-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.scenario-steps li { display: flex; gap: 10px; font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.scenario-steps li::before {
  content: '';
  flex-shrink: 0;
  width: 7px; height: 7px; margin-top: 7px;
  border-radius: 50%;
  background: var(--brand);
}

/* ——— Pricing ——— */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 760px){ .pricing-grid { grid-template-columns: 1fr; } }

.price-card { padding: 34px; display: flex; flex-direction: column; }
.price-card .plan-name { font-size: 15px; font-weight: 700; color: var(--brand-light); }
.price-card .plan-desc { font-size: 13.5px; color: var(--text-muted); margin-top: 8px; min-height: 40px; }
.price-value { font-family: var(--font-heading); font-weight: 800; margin: 20px 0 4px; line-height: 1; }
.price-value .num { font-size: clamp(2rem, 5vw, 2.8rem); }
.price-value .per { font-size: 15px; color: var(--text-muted); font-weight: 500; }
.price-addon {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--brand-light);
  margin: 2px 0 4px;
}
.price-note { font-size: 12.5px; color: var(--text-muted-secondary); margin-bottom: 20px; }
.price-features { list-style: none; margin: 0 0 26px; padding: 20px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.price-features li { display: flex; gap: 11px; font-size: 14px; color: var(--text-muted-tertiary); line-height: 1.5; }
.price-features .check-box { width: 20px; height: 20px; }
.price-features .check-box svg { width: 12px; height: 12px; }
.price-card .btn { margin-top: auto; }

.price-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 9999px;
  background: var(--brand);
  color: #fff;
  margin-bottom: 14px;
}

.price-hint {
  max-width: 640px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

/* ——— Deliverables table ——— */
.deliver-table {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  background: color-mix(in srgb, var(--surface-elevated) 50%, transparent);
}

.deliver-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border-top: 1px solid var(--border);
}
.deliver-row:first-child { border-top: 0; }

.deliver-row .c {
  padding: 16px 22px;
  font-size: 14.5px;
}
.deliver-row .c.head {
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}
.deliver-row .c.head .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex-shrink: 0;
}
.deliver-row .c.val { color: var(--text-muted); border-left: 1px solid var(--border); }
.deliver-row.is-header .c { background: color-mix(in srgb, var(--surface-elevated) 90%, transparent); font-weight: 700; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.deliver-row.is-header .c.val { color: #fff; }

@media (max-width: 600px) {
  .deliver-row { grid-template-columns: 1fr; }
  .deliver-row .c.val { border-left: 0; border-top: 1px dashed var(--border); padding-top: 8px; }
  .deliver-row .c.head { padding-bottom: 6px; }
  .deliver-row.is-header { display: none; }
}

/* ——— FAQ ——— */
.faq-wrap { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface-elevated) 55%, transparent);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.open { border-color: color-mix(in srgb, var(--brand) 40%, transparent); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15.5px;
  text-align: left;
  cursor: pointer;
}

.faq-q .chev {
  flex-shrink: 0;
  width: 22px; height: 22px;
  transition: transform 0.25s ease;
  color: var(--brand);
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner { padding: 0 22px 20px; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

/* ——— CTA band ——— */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
  background:
    radial-gradient(ellipse 60% 120% at 50% 0%, rgba(var(--brand-rgb),0.22), transparent 70%),
    color-mix(in srgb, var(--surface-elevated) 70%, transparent);
  padding: 60px 32px;
  text-align: center;
  box-shadow: 0 0 60px rgba(var(--brand-rgb),0.14);
}

.cta-band .heading-section { max-width: 20ch; margin: 0 auto 16px; }
.cta-band .lead { max-width: 560px; margin: 0 auto 28px; }
.cta-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}
.cta-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted-tertiary);
}
.cta-step .n {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
  color: var(--brand-light);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ——— Footer ——— */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0 40px;
  margin-top: 24px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}
.footer-logo img { height: 42px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); max-width: 300px; line-height: 1.6; }
.footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-contacts a, .footer-contacts span {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-muted-tertiary);
}
.footer-contacts svg { width: 17px; height: 17px; color: var(--brand); }
.footer-contacts a:hover { color: var(--brand-light); }
.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  color: var(--text-muted-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}
.footer-slogan { color: var(--brand-light); font-style: italic; }

/* ——— Scroll reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scan-line, .pill-live .dot { animation: none; }
}

/* ——— Back to top ——— */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  background: color-mix(in srgb, var(--surface-elevated) 85%, transparent);
  backdrop-filter: blur(8px);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 40;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { border-color: var(--brand); }
.to-top svg { width: 20px; height: 20px; }
.notoffer {
    display: flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brand-light);
    margin-top: 18px;
    gap: 8px;
    justify-content: center;
}
