/* Filin VPN — стили лендинга
   Base · Header · Hero · Advantages · Pricing · Steps · Footer · Responsive · Reduced motion */

/* ============================================================
   Base
   ============================================================ */

:root {
  --bg: #04060e;
  --bg-deep: #020308;
  --surface: rgba(146, 178, 255, 0.05);
  --surface-strong: rgba(146, 178, 255, 0.09);
  --border: rgba(125, 165, 255, 0.15);
  --border-strong: rgba(125, 165, 255, 0.32);

  --text: #eaf0ff;
  --text-muted: #93a2c6;

  --blue: #2f6bff;
  --blue-deep: #1a3fc4;
  --cyan: #4fd2ff;
  --violet: #8b5cf6;

  --glow-blue: rgba(47, 107, 255, 0.5);
  --glow-cyan: rgba(79, 210, 255, 0.35);
  --glow-violet: rgba(139, 92, 246, 0.35);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  --container: 1180px;
  --header-h: 72px;
  --section-pad: clamp(56px, 8vw, 100px);

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(58rem 40rem at 80% -12%, rgba(47, 107, 255, 0.24), transparent 62%),
    radial-gradient(40rem 30rem at 6% 4%, rgba(79, 210, 255, 0.11), transparent 64%),
    radial-gradient(46rem 34rem at 50% 108%, rgba(139, 92, 246, 0.14), transparent 66%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

/* живой фон */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
}

.site-header,
main,
.site-footer { position: relative; z-index: 1; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--blue);
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* --- Общая раскладка секций --- */

.section { padding: var(--section-pad) 0; }

.section--alt {
  background-image: linear-gradient(
    180deg,
    rgba(146, 178, 255, 0) 0%,
    rgba(146, 178, 255, 0.045) 14%,
    rgba(146, 178, 255, 0.045) 86%,
    rgba(146, 178, 255, 0) 100%
  );
}

.section__head {
  max-width: 660px;
  margin: 0 auto clamp(32px, 4vw, 52px);
  text-align: center;
}

.section__title {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section__lead {
  margin: 0;
  font-size: clamp(0.98rem, 1.4vw, 1.07rem);
  color: var(--text-muted);
}

/* --- Кнопки --- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              background-color 0.22s var(--ease), border-color 0.22s var(--ease);
}

/* верхний блик */
.btn::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 50%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  opacity: 0.8;
  pointer-events: none;
}

.btn--primary {
  background: linear-gradient(135deg, #4f8bff 0%, var(--blue) 45%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 10px 26px -12px var(--glow-blue),
    0 2px 8px rgba(4, 6, 14, 0.6);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.34) inset,
    0 18px 38px -14px var(--glow-blue),
    0 0 26px -8px var(--glow-cyan);
}
.btn--primary:active { transform: translateY(0); }

.btn--secondary {
  background: rgba(146, 178, 255, 0.07);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--secondary::before { opacity: 0.35; }
.btn--secondary:hover {
  transform: translateY(-2px);
  background: rgba(146, 178, 255, 0.13);
  border-color: rgba(125, 165, 255, 0.5);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.9);
}
.btn--secondary:active { transform: translateY(0); }

.btn--ghost {
  padding: 10px 18px;
  background: rgba(146, 178, 255, 0.08);
  border-color: var(--border);
  color: var(--text);
  font-size: 0.9rem;
}
.btn--ghost::before { opacity: 0.3; }
.btn--ghost:hover { border-color: var(--border-strong); background: rgba(146, 178, 255, 0.14); }

.btn--block { width: 100%; }

.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(4, 6, 14, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(125, 165, 255, 0.09);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }

.brand__glyph {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: linear-gradient(140deg, var(--cyan), var(--blue) 60%, var(--violet));
  box-shadow: 0 0 16px var(--glow-cyan);
}

.brand__name {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  display: block;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  color: var(--text-muted);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__link:hover { color: var(--text); background: var(--surface); }

.nav__cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */

.hero { padding: clamp(24px, 4vw, 52px) 0 clamp(20px, 3vw, 40px); }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 6px 14px 6px 11px;
  border: 1px solid rgba(79, 210, 255, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(79, 210, 255, 0.07);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #a9e6ff;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.hero__title {
  margin: 0 0 18px;
  font-size: clamp(2.05rem, 5vw, 3.65rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 30%, #b9cdf5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not (background-clip: text) {
  .hero__title { color: #fff; }
}

.hero__subtitle {
  margin: 0 0 30px;
  max-width: 32em;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.perk__dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

/* --- Иллюстрация и демонстрационная карточка --- */

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__owl {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  filter: drop-shadow(0 30px 70px rgba(47, 107, 255, 0.3));
}

.hero__owl img { width: min(100%, 520px); }

.hero__aura {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(96%, 500px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.3) 0%, rgba(139, 92, 246, 0.12) 45%, transparent 68%);
  filter: blur(28px);
  pointer-events: none;
}

.demo {
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: min(272px, 68%);
  margin: 0;
}

.demo__card {
  padding: 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(24, 36, 74, 0.94), rgba(7, 11, 24, 0.95));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 28px 60px -26px rgba(0, 0, 0, 0.95);
}

.demo__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}

.demo__plan {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--cyan);
}

.demo__status {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--text);
}

.demo__pulse {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.75);
}

.demo__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 16px;
}

.demo__stat {
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(146, 178, 255, 0.06);
}

.demo__stat dt { font-size: 0.7rem; color: var(--text-muted); }

.demo__stat dd {
  margin: 2px 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.demo .btn { padding: 11px 18px; font-size: 0.9rem; }

/* ============================================================
   Advantages
   ============================================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(79, 210, 255, 0.09), transparent 55%),
    linear-gradient(168deg, rgba(146, 178, 255, 0.075), rgba(146, 178, 255, 0.02));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -30px rgba(0, 0, 0, 0.9);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

/* градиентная рамка */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(125, 165, 255, 0.4), rgba(125, 165, 255, 0.08) 45%, rgba(139, 92, 246, 0.22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.95), 0 0 30px -18px var(--glow-blue);
}
.card:hover::after {
  background: linear-gradient(160deg, rgba(79, 210, 255, 0.7), rgba(125, 165, 255, 0.15) 50%, rgba(139, 92, 246, 0.4));
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border: 1px solid rgba(125, 165, 255, 0.22);
  border-radius: 15px;
  background: linear-gradient(150deg, rgba(47, 107, 255, 0.28), rgba(79, 210, 255, 0.1));
  color: #9ee7ff;
  box-shadow: 0 0 24px -10px var(--glow-cyan), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.card__icon svg { width: 24px; height: 24px; }

.card__title {
  margin: 0 0 8px;
  font-size: 1.07rem;
  font-weight: 600;
}

.card__text {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* ============================================================
   Pricing
   ============================================================ */

.plan {
  position: relative;
  max-width: 486px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(47, 107, 255, 0.24), transparent 60%),
    linear-gradient(168deg, rgba(24, 36, 76, 0.95), rgba(6, 10, 22, 0.96));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 40px 90px -40px rgba(0, 0, 0, 0.98),
    0 0 70px -32px var(--glow-blue);
}

.plan::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(79, 210, 255, 0.65), rgba(125, 165, 255, 0.15) 48%, rgba(139, 92, 246, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.plan::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 16%;
  right: 16%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  filter: blur(0.4px);
}

.plan__name {
  margin: 0 0 16px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.plan__trial {
  display: inline-block;
  margin: 0 0 22px;
  padding: 9px 22px;
  border: 1px solid rgba(79, 210, 255, 0.45);
  border-radius: var(--radius-pill);
  background: linear-gradient(140deg, rgba(79, 210, 255, 0.18), rgba(47, 107, 255, 0.1));
  font-size: 0.96rem;
  font-weight: 600;
  color: #d3f2ff;
  box-shadow: 0 0 30px -10px var(--glow-cyan), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.plan__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.plan__amount {
  font-size: clamp(2.6rem, 6.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: 0 0 46px rgba(79, 210, 255, 0.3);
}

.plan__period { font-size: 1rem; color: var(--text-muted); }

.plan__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.plan__or::before,
.plan__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.plan__alt { margin: 0; font-size: 0.97rem; color: var(--text-muted); }

.plan__alt-amount {
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--text);
}

.plan__list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.plan__list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.94rem;
  color: #b9c6e4;
}

.plan__list li::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.3em;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
}

.plan__note {
  margin: 14px 0 0;
  font-size: 0.81rem;
  color: var(--text-muted);
}

/* ============================================================
   Steps
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(168deg, rgba(146, 178, 255, 0.07), rgba(146, 178, 255, 0.02));
  box-shadow: 0 16px 40px -32px rgba(0, 0, 0, 0.9);
  transition: transform 0.28s var(--ease);
}

.step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(125, 165, 255, 0.34), rgba(125, 165, 255, 0.06) 50%, rgba(139, 92, 246, 0.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.step:hover { transform: translateY(-4px); }

/* соединительная линия между шагами */
.step::after {
  content: "";
  position: absolute;
  top: 54px;
  right: -20px;
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, rgba(79, 210, 255, 0.55), transparent);
}
.step:last-child::after { content: none; }

.step__num {
  display: block;
  margin-bottom: 12px;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--cyan);
  text-shadow: 0 0 26px var(--glow-cyan);
}

.step__title {
  margin: 0 0 8px;
  font-size: 1.07rem;
  font-weight: 600;
}

.step__text {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.steps__cta { margin: 0; text-align: center; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  border-top: 1px solid rgba(125, 165, 255, 0.09);
  padding: 24px 0 32px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer p { margin: 0; }

.site-footer__note a { transition: color 0.2s var(--ease); }
.site-footer__note a:hover { color: var(--cyan); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1020px) {
  .hero__owl img { width: min(100%, 440px); }
  .demo { width: min(250px, 74%); right: 0; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(var(--header-h) - 6px);
    display: none;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(6, 9, 20, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.95);
  }
  .nav.is-open { display: block; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 12px 14px; font-size: 1rem; }
  .nav__cta { margin: 6px 0 0; width: 100%; padding: 12px 16px; }

  /* Без JavaScript меню остаётся раскрытым списком в потоке страницы */
  .no-js .nav-toggle { display: none; }
  .no-js .nav {
    position: static;
    display: block;
    width: 100%;
    padding: 0 0 10px;
    border: 0;
    background: none;
    box-shadow: none;
  }
  .no-js .site-header__inner { flex-wrap: wrap; }
  .no-js .nav__list { flex-direction: row; flex-wrap: wrap; }
  .no-js .nav__cta { width: auto; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero__content { order: 1; }
  .hero__visual { order: 2; flex-direction: column; align-items: center; }

  .hero__owl { margin-bottom: 6px; }
  .hero__owl img { width: min(84%, 360px); }
  .hero__aura { width: min(88%, 380px); }

  /* карточка встаёт под филином и не перекрывает его */
  .demo {
    position: static;
    width: min(330px, 100%);
    margin: 0 auto;
  }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .step::after {
    top: auto;
    right: auto;
    left: 40px;
    bottom: -22px;
    width: 1px;
    height: 22px;
    background: linear-gradient(180deg, rgba(79, 210, 255, 0.55), transparent);
  }
}

@media (max-width: 560px) {
  .hero { padding-top: 22px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .perks { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero__owl img { width: min(78%, 290px); }

  .cards { grid-template-columns: minmax(0, 1fr); }
  .card, .step { padding: 24px 20px; }
  .steps__cta .btn { width: 100%; }
}

@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .brand__name { font-size: 0.98rem; }
  .plan { padding: 24px 18px; }
}

body.menu-open { overflow: hidden; }

/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover,
  .card:hover,
  .step:hover { transform: none; }
}
