/* ============================================================
   OVYRA — бранд система „ПРИЗМА" · v2 (кинематографична)
   Светлина, преминаваща през призма: знание → яснота → резултат
   ============================================================ */

:root {
  --bg: #090a0f;
  --bg-2: #0d0f16;
  --panel: rgba(22, 25, 34, 0.72);
  --panel-solid: #141722;
  --panel-2: rgba(30, 34, 47, 0.8);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);

  --text: #f0f2f9;
  --muted: #9aa3bd;
  --faint: #6b7596;

  --violet: #a78bfa;
  --indigo: #6366f1;
  --blue: #2e6bff;
  --cyan: #22d3ee;
  --white: #ffffff;
  --spectrum: linear-gradient(90deg, #a78bfa, #6366f1, #2e6bff, #22d3ee);
  --spectrum-soft: linear-gradient(120deg, rgba(167,139,250,.18), rgba(46,107,255,.14), rgba(34,211,238,.16));

  --radius: 16px;
  --radius-lg: 26px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.1, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, .display {
  font-family: 'Sora', 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; line-height: 1.06; letter-spacing: -0.025em;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.section { padding: 130px 0; position: relative; z-index: 1; }
.spectrum-text {
  background: var(--spectrum); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: hue 8s linear infinite;
}

/* ---------- Фон: канвас + ambient ---------- */
#bg-canvas { position: fixed; top: 0; left: 0; z-index: 0; pointer-events: none; opacity: 0.9; }
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.42; animation: drift 22s ease-in-out infinite; }
.ambient .b1 { width: 520px; height: 520px; background: rgba(99,102,241,.5); top: -160px; left: -120px; }
.ambient .b2 { width: 460px; height: 460px; background: rgba(34,211,238,.34); bottom: -180px; right: -100px; animation-delay: -8s; }
.ambient .b3 { width: 420px; height: 420px; background: rgba(167,139,250,.32); top: 42%; left: 55%; animation-delay: -14s; }
.vignette { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, transparent 40%, rgba(9,10,15,.6) 100%); }

/* ---------- Скрол прогрес ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--spectrum); box-shadow: 0 0 14px rgba(46,107,255,.7); transition: width 0.1s linear; }

/* ---------- Етикети ---------- */
.kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 20px; }
.kicker::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: var(--spectrum); }
.section-head { max-width: 700px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { }
.section-head h2 { font-size: clamp(30px, 4.4vw, 50px); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: clamp(16px, 2vw, 18.5px); }

/* ---------- Бутони ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: inherit; font-size: 15px; font-weight: 600; padding: 15px 28px; border-radius: 999px; border: none; cursor: pointer; position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .35s var(--ease), background .3s; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 34px rgba(46,107,255,.4); }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(-130%); transition: transform .6s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 46px rgba(46,107,255,.58); }
.btn-primary:hover::after { transform: translateX(130%); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 16px; }

/* ---------- Хедър ---------- */
header.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
header.nav.scrolled { background: rgba(9,10,15,.72); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: 'Sora',sans-serif; font-weight: 700; font-size: 21px; letter-spacing: 3px; }
.brand .logo-mark { width: 40px; height: 40px; display: block; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 14.5px; color: var(--muted); transition: color .2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--spectrum); transition: width .3s var(--ease); }
.nav-links a:hover { color: var(--text); } .nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 4px; }
.nav-toggle .ic-close { display: none; }
.nav-toggle.is-open .ic-burger { display: none; }
.nav-toggle.is-open .ic-close { display: block; }

/* Мобилно меню */
.mobile-menu { display: none; flex-direction: column; position: fixed; top: 76px; left: 0; right: 0; z-index: 99;
  background: rgba(9, 10, 15, 0.96); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border-bottom: 1px solid var(--line);
  padding: 14px 26px 24px; transform: translateY(-14px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.mobile-menu a { padding: 16px 4px; font-size: 16.5px; color: var(--text); border-bottom: 1px solid var(--line); }
.mobile-menu a:nth-last-child(2) { border-bottom: none; }
.mobile-menu .mm-cta { margin-top: 14px; justify-content: center; border-bottom: none; }
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.lx-dot { filter: drop-shadow(0 0 6px #fff); }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 184px 0 120px; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 38%, #000 28%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 38%, #000 28%, transparent 74%); opacity: .45; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); margin-bottom: 26px; }
.hero .lead { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 560px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2s ease-in-out infinite; }

/* Логото-сцена (анимиран лъч → спектър) */
.logo-stage { display: flex; align-items: center; justify-content: center; min-height: 380px; }
.logo-stage svg { width: 100%; max-width: 480px; overflow: visible; filter: drop-shadow(0 20px 60px rgba(46,107,255,.28)); }
#infinityCanvas { width: 100%; height: 500px; display: block; }
.lx-in { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 20 240; filter: drop-shadow(0 0 4px rgba(255,255,255,.85)); animation: lxflow 2.6s linear infinite; }
.lx-out { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 20 240; filter: drop-shadow(0 0 4px currentColor); animation: lxflow 2.6s linear infinite; }
.lx-glow { animation: lxbreath 4.6s ease-in-out infinite; }
.lx-ring { fill: none; stroke: url(#pr); stroke-width: 4; opacity: .85; }
.lx-sheen { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 26 1000; transform-origin: 230px 150px; filter: drop-shadow(0 0 5px #fff); opacity: .75; animation: lxspin 6s linear infinite; }

/* ---------- Лента доверие / статистики ---------- */
.trust { position: relative; z-index: 1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(13,15,22,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.trust .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 34px; padding: 40px 26px; }
.trust .lead-line { font-family: 'Sora',sans-serif; font-size: 19px; font-weight: 600; }
.stats { display: flex; gap: 50px; flex-wrap: wrap; }
.stat .num { font-family: 'Sora',sans-serif; font-size: 34px; font-weight: 800; line-height: 1; }
.stat .lbl { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- Карти ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; overflow: hidden; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .4s var(--ease), border-color .4s, background .4s; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--spectrum); opacity: 0; transition: opacity .4s; }
.card::after { content: ''; position: absolute; width: 320px; height: 320px; background: radial-gradient(circle, rgba(46,107,255,.18), transparent 60%); top: var(--my, 50%); left: var(--mx, 50%); transform: translate(-50%,-50%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { transform: translateY(-7px); border-color: var(--line-strong); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card .ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; font-size: 24px; background: var(--spectrum-soft); border: 1px solid rgba(46,107,255,.28); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Интерактивен селектор (решения по бранш) ---------- */
.solutions { position: relative; }
.tabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px; }
.tab { display: inline-flex; align-items: center; gap: 9px; font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px; cursor: pointer; transition: color .25s, border-color .25s, background .25s, transform .25s; }
.tab:hover { color: var(--text); transform: translateY(-2px); }
.tab.active { color: #fff; border-color: transparent; background: var(--blue); box-shadow: 0 8px 26px rgba(46,107,255,.4); }
.tab .e { font-size: 18px; }

.solution-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.sol-text { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sol-text .tier { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin-bottom: 12px; }
.sol-text h3 { font-size: 26px; margin-bottom: 18px; }
.sol-block { margin-bottom: 20px; }
.sol-block .lab { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.sol-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.sol-list li { display: flex; gap: 11px; font-size: 15px; color: var(--text); align-items: flex-start; }
.sol-list li .mk { flex: 0 0 auto; margin-top: 3px; width: 16px; height: 16px; border-radius: 5px; background: var(--spectrum); }
.sol-list.pain li .mk { background: rgba(255,255,255,.12); }

/* Визуализация: хаос → призма → ред */
.sol-viz { background: linear-gradient(160deg, rgba(20,23,34,.9), rgba(9,10,15,.7)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.viz-head { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.viz-stage { flex: 1; position: relative; min-height: 280px; }
.viz-metrics { display: flex; gap: 14px; margin-top: 18px; }
.viz-metric { flex: 1; text-align: center; padding: 14px 8px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 14px; }
.viz-metric .v { font-family: 'Sora',sans-serif; font-size: 21px; font-weight: 800; }
.viz-metric .k { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.fade-swap { animation: fadeSwap .5s var(--ease); }

/* Визуализация: вътрешност (хаос → призма → ред) */
.viz-stage { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; position: relative; }
.viz-beam { position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(167,139,250,.5), rgba(46,107,255,.6), rgba(34,211,238,.5), transparent);
  background-size: 220% 100%; animation: flow 3.4s linear infinite; opacity: .6; }
.viz-col { display: flex; flex-direction: column; gap: 11px; z-index: 1; }
.viz-col.after { align-items: flex-end; text-align: right; }
.chip { font-size: 13px; padding: 9px 13px; border-radius: 11px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--muted); animation: chipIn .5s var(--ease) both; }
.chip.ok { background: var(--spectrum-soft); border-color: rgba(46,107,255,.3); color: var(--text); font-weight: 600; box-shadow: 0 6px 20px rgba(46,107,255,.14); }
.viz-core { width: 72px; height: 72px; display: grid; place-items: center; z-index: 1; filter: drop-shadow(0 0 18px rgba(46,107,255,.45)); animation: floatNode 4s ease-in-out infinite; }
.viz-core svg { width: 100%; height: 100%; }

@keyframes flow { to { background-position: 220% 0; } }
@keyframes chipIn { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Процес ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.step { position: relative; padding: 28px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .35s var(--ease), border-color .35s; }
.step:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.step .n { font-family: 'Sora',sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--blue); margin-bottom: 14px; display: inline-block; }
.step h4 { font-size: 16.5px; margin-bottom: 7px; }
.step p { font-size: 13.5px; color: var(--muted); }
.payoff { margin-top: 40px; text-align: center; padding: 30px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--spectrum-soft); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.payoff strong { font-family: 'Sora',sans-serif; font-size: clamp(21px, 3vw, 30px); }

/* ---------- Защо ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why-item { display: flex; gap: 18px; padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .35s var(--ease), border-color .35s; }
.why-item:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.why-item .badge { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--spectrum); color: #fff; font-weight: 700; font-size: 20px; }
.why-item h4 { font-size: 17.5px; margin-bottom: 7px; }
.why-item p { font-size: 14.5px; color: var(--muted); }

/* ---------- За кого (размер) ---------- */
.aud-band { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.aud { padding: 32px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--panel); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .35s var(--ease), border-color .35s; }
.aud:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.aud .tier { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin-bottom: 12px; }
.aud h3 { font-size: 21px; margin-bottom: 11px; }
.aud p { color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta-card { position: relative; border-radius: var(--radius-lg); padding: 70px 48px; text-align: center; border: 1px solid var(--line-strong); overflow: hidden; background: radial-gradient(130% 150% at 50% 0%, rgba(99,102,241,.26), rgba(9,10,15,.5)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cta-card h2 { font-size: clamp(30px, 4.6vw, 50px); margin-bottom: 16px; max-width: 780px; margin-inline: auto; }
.cta-card p { color: var(--muted); font-size: 18px; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta-phone { font-family: 'Sora',sans-serif; font-size: 21px; font-weight: 800; }
.todo { color: var(--faint); font-size: 12px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 640px; margin: 36px auto 0; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, background .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); background: rgba(46,107,255,.06); }
.contact-form .full { grid-column: 1 / -1; }
.form-note { font-size: 12.5px; color: var(--faint); margin-top: 12px; text-align: center; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); background: rgba(13,15,22,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 60px 0 36px; position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; max-width: 330px; margin-top: 15px; }
.foot-col h5 { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--faint); margin-bottom: 15px; }
.foot-col a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 10px; transition: color .2s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s; } .reveal[data-d="2"] { transition-delay: .2s; }
.reveal[data-d="3"] { transition-delay: .3s; } .reveal[data-d="4"] { transition-delay: .4s; }

/* ---------- Keyframes ---------- */
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(46px,-34px) scale(1.14); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes hue { to { background-position: 200% center; } }
@keyframes halo { 0%,100% { opacity: .15; stroke-width: 9; } 50% { opacity: .4; stroke-width: 12; } }
@keyframes beamTravel { from { stroke-dashoffset: 482; } to { stroke-dashoffset: 0; } }
@keyframes lxflow { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
@keyframes lxbreath { 0%,100% { opacity: .3; } 50% { opacity: .62; } }
@keyframes lxspin { to { transform: rotate(360deg); } }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes floatNode { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero { padding: 124px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { max-width: 620px; }
  .logo-stage { min-height: 240px; order: -1; }
  .logo-stage svg { max-width: 360px; }
  .nav-links { display: none; } .nav-toggle { display: block; }
  .mobile-menu { display: flex; }
  .cards { grid-template-columns: 1fr 1fr; }
  .solution-panel { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why-grid, .aud-band { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .section { padding: 90px 0; }
  .section-head { margin-bottom: 44px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .nav-inner { height: 64px; }
  .mobile-menu { top: 64px; }
  .nav-cta .btn-primary { display: none; }
  .hero { padding: 104px 0 60px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .logo-stage { min-height: 210px; }
  .logo-stage svg { max-width: 300px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .stats { gap: 22px 30px; }
  .stat .num { font-size: 28px; }
  .viz-metrics { flex-wrap: wrap; gap: 10px; }
  .viz-metric { min-width: 84px; padding: 12px 6px; }
  .viz-metric .v { font-size: 16px; }
  .viz-metric .k { font-size: 11px; }
  .viz-stage { gap: 8px; }
  .viz-core { width: 54px; height: 54px; }
  .chip { font-size: 11.5px; padding: 8px 10px; }
  .tab { font-size: 14px; padding: 11px 16px; }
  .sol-text { padding: 28px 22px; }
  .cta-card { padding: 44px 20px; }
  .section { padding: 74px 0; }
}

/* ---------- Мобилна оптимизация (lite) ---------- */
@media (max-width: 940px) {
  /* Канвасът ("падащите звезди") остава, но олекотен (виж app.js).
     Спираме само тежките размазани слоеве — те бяха причината за забиването. */
  .ambient, .vignette { display: none; }
  /* Махаме изцяло призмата-лого от мобилния hero */
  .logo-stage { display: none; }

  /* Без backdrop blur (много тежко на телефон) + по-плътни панели за четимост */
  :root { --panel: rgba(20, 23, 33, 0.94); --panel-2: rgba(28, 32, 45, 0.96); }
  .btn-ghost, header.nav.scrolled, .mobile-menu, .hero-badge, .trust, .card,
  .sol-text, .sol-viz, .step, .payoff, .why-item, .aud, .cta-card, footer.site {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  header.nav.scrolled { background: rgba(9, 10, 15, 0.96); }
  .trust, footer.site { background: rgba(13, 15, 22, 0.96); }

  /* Спираме непрекъснатите анимации */
  .spectrum-text { animation: none; }
  .btn-primary::after { display: none; }
  .hero-badge .dot, .lx-glow, .lx-sheen, .viz-beam, .viz-core, .chip { animation: none !important; }

  /* Hero лого: махаме анимираните лъчи — остава чист статичен знак */
  .lx-in, .lx-dot, .lx-out, .lx-sheen { display: none; }
  .lx-ring { opacity: .78; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
  #bg-canvas { display: none; }
  .reveal { opacity: 1; transform: none; }
}
