﻿
:root {
  /* Background motion: lower = faster (10 slow → 3 faster) */
  --bg-motion: 3;
  --bg-orb-dur-a: calc(24s * var(--bg-motion) / 10);
  --bg-orb-dur-b: calc(28s * var(--bg-motion) / 10);
  --bg-orb-dur-c: calc(32s * var(--bg-motion) / 10);

  --bg: #060a10;
  --bg-2: #090e17;
  --bg-3: #0c1320;
  --surface: #0d1524;
  --surface-2: #111929;
  --accent: #ff7a1a;
  --accent-2: #ffb36a;
  --text: #f0f3f8;
  --muted: #b4bdc9;
  --muted-2: #8490a4;
  --border: rgba(255, 255, 255, 0.09);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.42);
  --maxw: 1280px;
  --nav-bg: rgba(6, 10, 16, 0.84);
  --badge-bg: rgba(255, 255, 255, 0.04);
  --btn-secondary-bg: rgba(255, 255, 255, 0.05);
  --bg-grad-1: radial-gradient(900px 600px at 70% -20%, rgba(255, 122, 26, 0.15), transparent 60%);
  --bg-grad-2: radial-gradient(700px 500px at 20% 10%, rgba(96, 165, 250, 0.09), transparent 60%);
  --bg-grad-3: linear-gradient(180deg, var(--bg), var(--bg-2) 45%, var(--bg-3));
  --ambient-1: radial-gradient(760px 560px at 12% 18%, rgba(255, 122, 26, 0.13), transparent 76%);
  --ambient-2: radial-gradient(700px 520px at 78% 12%, rgba(56, 189, 248, 0.10), transparent 78%);
  --ambient-3: radial-gradient(820px 680px at 52% 88%, rgba(124, 58, 237, 0.08), transparent 80%);
  --hero-glow: radial-gradient(640px 300px at 18% 28%, rgba(255, 122, 26, 0.13), transparent 78%);
  --visual-glow: radial-gradient(360px 220px at 80% 0%, rgba(255, 122, 26, 0.15), transparent 78%);
  --shot-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

html[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-2: #eef1f6;
  --bg-3: #e7ecf4;
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --text: #0d1117;
  --muted: #475468;
  --muted-2: #6b7688;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.06);
  --nav-bg: rgba(255, 255, 255, 0.72);
  --badge-bg: rgba(15, 23, 42, 0.06);
  --btn-secondary-bg: rgba(15, 23, 42, 0.06);
  --bg-grad-1: radial-gradient(900px 600px at 70% -20%, rgba(255, 122, 26, 0.12), transparent 60%);
  --bg-grad-2: radial-gradient(700px 500px at 20% 10%, rgba(59, 130, 246, 0.08), transparent 60%);
  --bg-grad-3: linear-gradient(180deg, var(--bg), var(--bg-2) 45%, var(--bg-3));
  --ambient-1: radial-gradient(820px 600px at 14% 18%, rgba(255, 140, 60, 0.2), transparent 78%);
  --ambient-2: radial-gradient(820px 620px at 86% 16%, rgba(59, 130, 246, 0.18), transparent 80%);
  --ambient-3: radial-gradient(900px 700px at 52% 88%, rgba(99, 102, 241, 0.14), transparent 82%);
  --hero-glow: radial-gradient(700px 340px at 18% 26%, rgba(255, 140, 60, 0.18), transparent 78%);
  --visual-glow: radial-gradient(420px 260px at 80% 0%, rgba(255, 140, 60, 0.18), transparent 78%);
  --shot-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Sora", "Manrope", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg-grad-1), var(--bg-grad-2), var(--bg-grad-3);
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
  max-width: 100%;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
  transition: background 0.4s ease, color 0.3s ease;
}

/* ── Dynamic background (CSS orbs + optional canvas particles) ── */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-bg__orbs {
  position: absolute;
  inset: 0;
}

.site-bg__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(96px);
  opacity: 0.22;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.site-bg__orb--a {
  width: min(78vw, 720px);
  height: min(78vw, 720px);
  left: -4%;
  top: 0%;
  background: radial-gradient(circle, rgba(180, 98, 48, 0.22) 0%, rgba(180, 98, 48, 0.06) 38%, transparent 72%);
  animation: orb-drift-a var(--bg-orb-dur-a) ease-in-out infinite alternate;
}

.site-bg__orb--b {
  width: min(72vw, 680px);
  height: min(72vw, 680px);
  right: -6%;
  top: -2%;
  background: radial-gradient(circle, rgba(72, 118, 148, 0.18) 0%, rgba(72, 118, 148, 0.05) 40%, transparent 74%);
  animation: orb-drift-b var(--bg-orb-dur-b) ease-in-out infinite alternate;
}

.site-bg__orb--c {
  width: min(80vw, 760px);
  height: min(80vw, 760px);
  left: 22%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(88, 78, 128, 0.14) 0%, rgba(88, 78, 128, 0.04) 42%, transparent 76%);
  animation: orb-drift-c var(--bg-orb-dur-c) ease-in-out infinite alternate;
}

.site-bg__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
}

html[data-theme="light"] .site-bg__orb {
  filter: blur(44px);
  opacity: 0.38;
}

html[data-theme="light"] .site-bg__orb--a {
  background: radial-gradient(circle, rgba(255, 140, 60, 0.35) 0%, transparent 68%);
}

html[data-theme="light"] .site-bg__orb--b {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.28) 0%, transparent 70%);
}

@keyframes orb-drift-a {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(5vw, 4vh, 0) scale(1.06);
  }
}

@keyframes orb-drift-b {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-4vw, 6vh, 0) scale(1.08);
  }
}

@keyframes orb-drift-c {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-3vw, -5vh, 0) scale(1.05);
  }
}

main,
header,
footer {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

main {
  overflow-x: clip;
}

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

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

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  min-width: 0;
  gap: 8px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.logo-mark {
  height: 72px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

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

.theme-toggle {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--btn-secondary-bg);
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  color: var(--text);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.lang-switch a {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.section {
  padding: 88px 0;
}

.section:has(.hero) {
  overflow: visible;
  padding: 52px 0 80px;
}

.section-sm {
  padding: 64px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  margin: 0 0 18px;
}

h2 {
  font-size: clamp(26px, 3vw, 40px);
  margin: 0 0 16px;
}

h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.muted {
  color: var(--muted-2);
  font-size: 13px;
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 48px;
  align-items: center;
  position: relative;
  min-width: 0;
  overflow: visible;
}

/* Glow on copy column — outside overflow clip so no hard square edge */
.container.hero::before {
  content: "";
  position: absolute;
  top: 0%;
  left: -18%;
  width: min(920px, 110vw);
  height: min(620px, 85vh);
  background: radial-gradient(
    ellipse 90% 80% at 42% 44%,
    rgba(170, 95, 50, 0.1) 0%,
    rgba(170, 95, 50, 0.035) 48%,
    transparent 78%
  );
  pointer-events: none;
  z-index: 0;
  filter: blur(64px);
  opacity: 0.55;
}

.hero::before {
  display: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 18px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 20px;
}

.badge {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  background: var(--badge-bg);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ff7a1a, #ff9a4a);
  color: #17120c;
  box-shadow: 0 12px 30px rgba(255, 122, 26, 0.3);
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  border-color: var(--border);
  color: var(--text);
}

.btn,
.badge,
.card,
.hero-visual {
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-visual {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 180px;
  background: var(--visual-glow);
  pointer-events: none;
  filter: blur(22px);
}

.screenshot-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shot-shadow);
}

.screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.ui-mode {
  display: grid;
  gap: 14px;
}

.ui-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--btn-secondary-bg);
  width: max-content;
}

.ui-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ui-toggle button.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .ui-toggle button.active {
  background: rgba(15, 23, 42, 0.08);
}

.ui-swap {
  position: relative;
}

.ui-swap .ui-img {
  transition: opacity 0.35s ease;
}

.ui-swap .ui-night {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}


.screenshot-frame-hero {
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.hero {
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
}

.container.hero {
  position: relative;
  overflow: visible;
}

.hero-visual {
  width: 100%;
  max-width: 860px;
  justify-self: end;
}

.screenshot-frame-hero [data-hero-shot] {
  cursor: zoom-in;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.screenshot-frame-hero [data-hero-shot].is-switching {
  opacity: 0.32;
}

.screenshot-frame-hero .shot-nav-btn {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.92);
}

.screenshot-frame-hero:hover .shot-nav-btn,
.screenshot-frame-hero:focus-within .shot-nav-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.shot-nav-btn {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(10, 14, 20, 0.68);
  color: var(--text);
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.shot-nav-btn:hover {
  background: rgba(255, 122, 26, 0.2);
}

.shot-nav-btn[data-shot-prev] {
  left: 12px;
}

.shot-nav-btn[data-shot-next] {
  right: 12px;
}

.shot-dots {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.shot-thumb {
  border: 1px solid var(--border);
  background: var(--btn-secondary-bg);
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.shot-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  opacity: 0.6;
}

.shot-thumb.active {
  border-color: rgba(255, 122, 26, 0.56);
  background: rgba(255, 122, 26, 0.75);
  opacity: 1;
  transform: scale(1.1);
}

.shot-lightbox[hidden] {
  display: none;
}

.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(2, 5, 10, 0.9);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: shotFadeIn 0.2s ease;
}

@keyframes shotFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.shot-lightbox-frame {
  width: min(92vw, 1500px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0a0f16;
  box-shadow: var(--shot-shadow);
}

.shot-lightbox-frame img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  display: block;
  transition: opacity 0.25s ease;
}

.shot-lightbox-frame img.is-switching {
  opacity: 0.25;
}

.shot-lightbox-nav,
.shot-lightbox-close {
  border: 1px solid var(--border);
  background: rgba(8, 12, 20, 0.82);
  color: var(--text);
  border-radius: 999px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.shot-lightbox-nav:hover,
.shot-lightbox-close:hover {
  transform: scale(1.06);
  background: rgba(255, 122, 26, 0.22);
}

.shot-lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.shot-lightbox-nav[data-shot-prev] {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.shot-lightbox-nav[data-shot-next] {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

body.lightbox-open {
  overflow: hidden;
}

[data-mode="night"] .ui-swap .ui-night {
  opacity: 1;
}

[data-mode="night"] .ui-swap .ui-day {
  opacity: 0;
}

.browser-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0d12;
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #0c1016;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.05);
  pointer-events: none;
  opacity: 0.6;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 26, 0.40);
  box-shadow: 0 8px 40px rgba(255, 122, 26, 0.10), var(--shadow-soft);
}

.card p {
  font-size: 15px;
}

.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: var(--radius);
}

.step span {
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.split {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

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

.list li::before {
  content: "•";
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

ol.list {
  counter-reset: step;
}

ol.list li::before {
  content: counter(step) ".";
  counter-increment: step;
}

.metrics-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.metric {
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.metric code {
  color: var(--accent-2);
}

.price-card {
  display: grid;
  gap: 22px;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 122, 26, 0.30);
  background: linear-gradient(140deg, rgba(255, 122, 26, 0.09), rgba(6, 10, 16, 0.96));
  box-shadow: 0 0 100px rgba(255, 122, 26, 0.05);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.10), transparent 70%);
  pointer-events: none;
}

.price-card .muted {
  display: block;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(2px);
}

.faq p {
  margin-top: 8px;
}

.cta {
  background: linear-gradient(150deg, rgba(255, 122, 26, 0.10), rgba(6, 10, 16, 0.96));
  border-radius: 24px;
  padding: 56px 48px;
  border: 1px solid rgba(255, 122, 26, 0.25);
  display: grid;
  gap: 14px;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 280px at 50% -5%, rgba(255, 122, 26, 0.09), transparent 70%);
  pointer-events: none;
}

.cta > * {
  position: relative;
}

.cta .btn-row {
  justify-content: center;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 60px;
  color: var(--muted-2);
  font-size: 13px;
}

.footer .footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer a {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Lighter effects on touch / narrow viewports (perf + no horizontal bleed) */
@media (max-width: 900px), (hover: none) {
  .site-bg__orb {
    animation: none;
    opacity: 0.2;
    filter: blur(72px);
  }

  .container.hero::before,
  .hero-visual::after {
    display: none;
  }

  .nav,
  .nav-mobile,
  .shot-lightbox {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav {
    background: var(--bg);
  }

  .nav-mobile {
    background: var(--bg);
  }

  .card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

html[data-perf="low"] .site-bg__orb {
  animation: none;
  filter: blur(72px);
  opacity: 0.18;
}

html[data-perf="low"] .site-bg__canvas {
  display: none;
}

html[data-perf="low"] .container.hero::before,
html[data-perf="low"] .hero-visual::after {
  display: none;
}

html[data-perf="low"] .nav,
html[data-perf="low"] .nav-mobile,
html[data-perf="low"] .shot-lightbox {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-visual {
    max-width: 100%;
  }

  .shot-dots {
    justify-content: center;
  }

  .shot-lightbox {
    padding: 14px;
  }

  .shot-lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .nav-links {
    display: none;
  }

  .nav-inner {
    height: 72px;
  }

  .logo-mark {
    height: 56px;
    width: auto;
  }
}

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

  .container {
    padding: 0 16px;
  }

  .logo span {
    display: none;
  }

  .stat-strip,
  .tech-strip {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 8px;
  }

  .stat-item,
  .tech-item {
    white-space: normal;
  }

  .stat-sep,
  .tech-sep {
    display: none;
  }

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

  .shot-nav-btn {
    width: 34px;
    height: 34px;
  }

  .shot-dots {
    margin-top: 10px;
  }

  .shot-dot {
    width: 8px;
    height: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }

  .site-bg__orb {
    animation: none !important;
  }

  .site-bg__canvas {
    display: none !important;
  }

  .container.hero::before,
  .hero-visual::after {
    opacity: 0 !important;
  }

  .ui-swap .ui-img {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: none;
  }
}

@media (hover: none) {
  .screenshot-frame-hero .shot-nav-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
  }
}



.direct-email {
  margin: 10px 0 6px;
}

.copy-email {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 8px;
  border: 1px dashed var(--border);
  background: var(--badge-bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  user-select: all;
}




/* Fix transparent edges on screenshots by matching frame tone to current slide. */
[data-hero-gallery][data-shot-tone="light"] .screenshot-frame-hero,
[data-hero-gallery][data-shot-tone="light"] .shot-lightbox-frame {
  background: #f2efea;
  border-color: rgba(255, 255, 255, 0.24);
}

[data-hero-gallery][data-shot-tone="dark"] .screenshot-frame-hero,
[data-hero-gallery][data-shot-tone="dark"] .shot-lightbox-frame {
  background: #0b1220;
  border-color: rgba(255, 255, 255, 0.12);
}

.screenshot-frame-hero img,
.shot-lightbox-frame img {
  background: transparent;
}

/* Crop tiny dark artifact edges from source PNGs. */
.screenshot-frame-hero img,
.shot-lightbox-frame img {
  clip-path: inset(1px 2px 18px 0);
}

/* ── Stat strip ───────────────────────────────────────────── */
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 18px 0 0;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  width: fit-content;
  max-width: 100%;
}

.stat-item {
  font-size: 13px;
  color: var(--muted-2);
  padding: 0 14px;
  white-space: nowrap;
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-item strong {
  color: var(--text);
  font-weight: 700;
}

.stat-sep {
  width: 1px;
  height: 16px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Card icon ────────────────────────────────────────────── */
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 122, 26, 0.08);
  border: 1px solid rgba(255, 122, 26, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.card:hover .card-icon {
  background: rgba(255, 122, 26, 0.14);
  border-color: rgba(255, 122, 26, 0.32);
}

/* ── Telegram button ──────────────────────────────────────── */
.btn-tg {
  background: linear-gradient(135deg, #2aabee, #1e96d5);
  color: #fff;
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.22);
}

.btn-tg:hover {
  box-shadow: 0 14px 36px rgba(34, 158, 217, 0.32);
}

/* ── Footer logo / brand ──────────────────────────────────── */
.footer-brand strong {
  font-size: 15px;
  letter-spacing: 0.2px;
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  color: var(--muted-2);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

/* ── Tech strip ───────────────────────────────────────────── */
.tech-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 28px;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  width: fit-content;
  max-width: 100%;
}

.tech-item {
  font-size: 12px;
  color: var(--muted-2);
  padding: 0 14px;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.02em;
}

.tech-item:first-child {
  padding-left: 0;
}

.tech-sep {
  width: 1px;
  height: 14px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Schedule section cards ───────────────────────────────── */
.schedule-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.schedule-card .card-icon {
  margin-bottom: 4px;
}

/* ── Responsive stat-strip ────────────────────────────────── */
@media (max-width: 540px) {
  .stat-strip {
    gap: 8px;
    padding: 12px 14px;
    width: 100%;
  }

  .stat-item {
    padding: 0 8px;
    font-size: 12px;
    white-space: normal;
  }

  .stat-sep {
    height: 14px;
  }

  .tech-strip {
    width: 100%;
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .tech-item {
    white-space: normal;
  }
}

/* ── Mobile burger ────────────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-burger {
    display: flex;
  }
}

.nav-mobile {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 20px;
  display: flex;
  flex-direction: column;
  z-index: 19;
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile a {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}

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

.nav-mobile a:hover {
  color: var(--text);
}

/* ── Trust badges ─────────────────────────────────────────── */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted-2);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}

.trust-badge svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Pricing tiers */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.pricing-tier {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.02);
}

.pricing-tier--featured {
  border-color: var(--accent);
  background: rgba(255, 122, 26, 0.06);
}

.tier-popular {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.tier-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.tier-pcs {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 2px;
}

.tier-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-top: 14px;
  letter-spacing: -0.02em;
}

.tier-sub {
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 3px;
}

.trial-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 18px;
}

.trial-note svg {
  color: var(--accent);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Below-fold sections: skip layout/paint until near viewport (weak devices) */
html[data-perf="low"] .section:nth-of-type(n + 2) {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

@media (hover: none) {
  html,
  body {
    touch-action: pan-y pinch-zoom;
  }
}


/* ── Compare table («не слежка») ──────────────────────────── */
.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 10px 18px;
  overflow-x: auto;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare th,
.compare td {
  text-align: left;
  padding: 12px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare tbody tr:last-child td {
  border-bottom: none;
}

.compare thead th {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.compare thead th.compare-delta {
  color: var(--accent);
}

.compare td:first-child {
  color: var(--text);
  font-weight: 600;
  min-width: 130px;
}

.compare-bad {
  color: var(--muted-2);
}

.compare-bad::before {
  content: "✕ ";
  color: #d06a5a;
}

.compare-good {
  color: var(--text);
  font-weight: 600;
}

.compare-good::before {
  content: "✓ ";
  color: #3aa981;
}

@media (max-width: 640px) {
  .compare th,
  .compare td {
    padding: 10px 8px;
  }
  .compare {
    font-size: 13px;
  }
}


/* ── Price anchor block (B2) ──────────────────────────────── */
.price-anchor {
  margin-bottom: 6px;
}

.price-lead {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
  color: var(--text);
  font-weight: 600;
}

.price-lead strong {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.price-sub {
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted-2);
}

.price-included {
  margin: 16px 0 22px;
  max-width: 560px;
}

.price-pilot {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted-2);
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}

/* ── Why local solution (B7) ──────────────────────────────── */
.local-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.local-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.local-item svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.local-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}
