:root {
  /* Palette — tricolor SaaS (white / blue / red) */
  --bg: #0a0b13;
  --bg-soft: #10121d;
  --surface: #181b28;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f8fc;
  --text-muted: #aeb1c4;
  --text-dim: #6d6d82;
  --primary: #e5484d;
  --primary-strong: #c0343c;
  --primary-soft: rgba(229, 72, 77, 0.14);
  --accent: #e8b64c;
  --sakura: #ff9ea8;
  --sakura-soft: rgba(255, 158, 168, 0.14);
  --warning: #fbbf24;
  --blue: #c1121f;
  --blue-strong: #9c0f18;
  --blue-soft: rgba(193, 18, 31, 0.15);
  --crimson: #b3111b;
  --crimson-soft: rgba(179, 17, 27, 0.16);
  --ru-blue: #0033a0;
  --ru-red: #d52b1e;
  --ru-tricolor: linear-gradient(90deg, #ffffff 0 33.3%, #0033a0 33.3% 66.6%, #d52b1e 66.6% 100%);
  --shadow-1: 0 4px 16px rgba(0,0,0,.35);

  --radius: 14px;
  --shadow-2: 0 12px 40px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.4);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --nav-h: 72px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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

/* ========= BUTTONS ========= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fff3e2;
  box-shadow: 0 8px 24px rgba(215, 38, 61, 0.32);
}
.btn--primary:hover { box-shadow: 0 10px 30px rgba(215, 38, 61, 0.48); transform: translateY(-1px); }
.btn--ghost {
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--primary-soft); border-color: rgba(215,38,61,.5); color: #ffe3e3; }
.btn--lg { padding: 14px 28px; font-size: 15px; border-radius: 14px; }

/* ========= NAV ========= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background .25s ease, padding .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(10,10,15,.75);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; }
.nav__logo {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: #fff;
  background: var(--blue-soft);
  border: 1px solid rgba(193, 18, 31, 0.4);
  border-radius: 11px;
}
.nav__logo svg { width: 30px; height: 30px; filter: drop-shadow(0 0 6px rgba(193, 18, 31,.5)); }
.nav__name { font-weight: 700; letter-spacing: .02em; font-size: 15px; }
.nav__dot { color: var(--accent); margin: 0 1px; }

.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .18s ease;
}
.nav__menu a:hover { color: var(--text); }

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

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav__burger span {
  width: 16px; height: 1.6px; background: var(--text);
  transition: transform .25s ease, opacity .25s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px 24px 24px;
  border-top: 1px solid var(--border);
  background: rgba(10,10,15,.95);
  backdrop-filter: blur(14px);
}
.nav__mobile a:not(.btn) { padding: 10px 4px; color: var(--text-muted); }
.nav__mobile a:not(.btn):hover { color: var(--text); }
.nav__mobile .btn { width: 100%; margin-top: 4px; }
.nav__mobile.is-open { display: flex; }
/* ========= HERO ========= */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 64px) 0 80px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  pointer-events: none;
}
.hero__glow--1 {
  top: -220px; left: -140px;
  background: radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(215,38,61,.5) 45%, transparent 65%);
}
.hero__glow--2 {
  bottom: -260px; right: -180px;
  background: radial-gradient(circle, rgba(213,43,30,.5), transparent 65%);
}
.hero .container { position: relative; text-align: center; z-index: 2; }

.hero__eyebrow {
  font-family: var(--mono);
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: lowercase;
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: "";
  width: 32px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong));
}
.hero__eyebrow::after { background: linear-gradient(90deg, var(--border-strong), transparent); }

.hero__title {
  font-size: clamp(48px, 9vw, 112px);
  line-height: 1.02;
  margin: 0 0 22px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.hero__word {
  display: inline-block;
  color: var(--primary);
  background: linear-gradient(90deg, var(--primary) 0%, #ff5a5e 35%, #d52b1e 70%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity .3s ease;
  filter: drop-shadow(0 0 16px rgba(215,38,61,.5));
}
.hero__accent {
  color: var(--text);
  background: linear-gradient(180deg, #fff 0%, var(--blue) 55%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(193, 18, 31,.45));
}
.hero__subtitle {
  font-size: clamp(17px, 2.4vw, 22px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 70px;
}

/* Mock UI */
.hero__mock {
  max-width: 880px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(20,20,30,.9), rgba(12,12,20,.9));
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
  text-align: left;
  backdrop-filter: blur(8px);
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}
.mock__dot { width: 11px; height: 11px; border-radius: 50%; }
.mock__dot--r { background: #ff5f57; }
.mock__dot--y { background: #febc2e; }
.mock__dot--g { background: #28c840; }
.mock__url {
  margin-left: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  background: rgba(255,255,255,.04);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.mock__body {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 280px;
}
.mock__side {
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255,255,255,.02);
}
.mock__side-item {
  height: 12px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
}
.mock__side-item:nth-child(1) { width: 70%; }
.mock__side-item:nth-child(2) { width: 55%; }
.mock__side-item:nth-child(3) { width: 80%; }
.mock__side-item:nth-child(4) { width: 60%; }
.mock__side-item--active {
  background: linear-gradient(90deg, var(--primary-soft), transparent);
  border: 1px solid rgba(215,38,61,.22);
}
.mock__main { padding: 20px; display: grid; gap: 16px; }
.mock__card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.mock__label { font-size: 12px; color: var(--text-dim); margin-bottom: 6px; }
.mock__value {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}
.mock__bar-fill {
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--primary-strong));
  border-radius: 4px;
  transition: width .6s ease;
}
.mock__card:nth-child(2) .mock__value { color: var(--accent); }
.mock__card:nth-child(2) .mock__bar-fill { background: linear-gradient(90deg, var(--crimson), var(--primary)); }
.mock__row:nth-child(2) .mock__row-dot--ok { background: var(--blue); box-shadow: 0 0 10px rgba(193, 18, 31,.75); }
.mock__list { display: grid; gap: 6px; }
.mock__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.mock__row em { font-style: normal; margin-left: auto; color: var(--text-dim); font-size: 12px; }
.mock__row-dot { width: 8px; height: 8px; border-radius: 50%; }
.mock__row-dot--ok { background: var(--primary); box-shadow: 0 0 10px rgba(215,38,61,.75); }

/* ========= SECTION ========= */
.section { padding: 96px 0; position: relative; }
.section--stats { background: linear-gradient(180deg, transparent, rgba(20,20,30,.5) 30%, transparent); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__title {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: -.015em;
  margin: 0 0 14px;
  line-height: 1.15;
}
.section__title--light { color: var(--text); }
.section__sub { color: var(--text-muted); font-size: 17px; margin: 0; }

/* ========= FEATURES ========= */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 200px at 50% -10%, rgba(255,255,255,.12), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.4);
}
.feature:hover::before { opacity: 1; }
.feature:nth-child(4n + 2) .feature__icon { color: var(--blue); background: var(--blue-soft); border-color: rgba(193, 18, 31,.25); }
.feature:nth-child(4n + 2):hover { border-color: rgba(193, 18, 31,.45); }
.feature:nth-child(4n + 2)::before { background: radial-gradient(500px 200px at 50% -10%, rgba(193, 18, 31,.18), transparent 60%); }
.feature:nth-child(4n + 3) .feature__icon { color: var(--primary); background: var(--primary-soft); border-color: rgba(215,38,61,.3); }
.feature:nth-child(4n + 3):hover { border-color: rgba(215,38,61,.45); }
.feature:nth-child(4n + 3)::before { background: radial-gradient(500px 200px at 50% -10%, rgba(215,38,61,.18), transparent 60%); }
.feature__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.22);
  margin-bottom: 16px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -.005em;
}
.feature p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ========= STATS ========= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 60px;
}
.stat {
  text-align: center;
  padding: 32px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stat__num {
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  font-family: var(--mono);
  line-height: 1;
}
.stat:nth-child(2) .stat__num { color: var(--crimson); }
.stat:nth-child(3) .stat__num { color: var(--primary); }
.stat__label {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 12px;
}

/* ========= REVIEWS ========= */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review {
  margin: 0;
  padding: 26px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.review__stars { color: var(--warning); letter-spacing: 4px; margin-bottom: 14px; font-size: 14px; }
.review blockquote {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  border-left: 3px solid rgba(215,38,61,.55);
  padding-left: 14px;
}
.review figcaption { color: var(--text-dim); font-size: 13px; }

/* ========= PROVIDERS ========= */
.section--dark {
  background:
    radial-gradient(600px 300px at 10% 50%, rgba(215,38,61,.16), transparent 60%),
    radial-gradient(600px 300px at 90% 50%, rgba(193, 18, 31,.2), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.provider {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 36px 40px;
  border-radius: 22px;
  background: rgba(10,10,15,.4);
  border: 1px solid var(--border);
}
.provider__text p { color: var(--text-muted); margin: 0 0 10px; font-size: 15px; }
.provider__text p:last-child { margin-bottom: 0; }
.provider__cta { display: flex; justify-content: flex-end; }

/* ========= CTA ========= */
.cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -30% 10% auto 10%;
  height: 320px;
  background:
    radial-gradient(500px 200px at 50% 50%, rgba(215,38,61,.26), transparent 65%),
    radial-gradient(400px 180px at 15% 85%, rgba(193, 18, 31,.2), transparent 65%),
    radial-gradient(400px 180px at 85% 85%, rgba(255,255,255,.06), transparent 65%);
  pointer-events: none;
}
.cta .container { position: relative; }
.cta__title { font-size: clamp(30px, 5vw, 52px); margin: 0 0 16px; letter-spacing: -.02em; }
.cta__title::after {
  content: "";
  display: block;
  width: 140px; height: 4px;
  margin: 18px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff, var(--blue) 55%, var(--primary));
  box-shadow: 0 0 18px rgba(193, 18, 31,.4);
}
.cta__sub { color: var(--text-muted); font-size: 17px; max-width: 560px; margin: 0 auto 32px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ========= FAQ ========= */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}
.faq__item[open] { border-color: rgba(215,38,61,.35); background: rgba(255,255,255,.04); }
.faq__item summary {
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -.005em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 18px;
  transition: transform .25s ease, background .2s ease, color .2s ease;
  flex: none;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
  background: var(--primary-soft);
  color: var(--primary);
  border-color: rgba(215,38,61,.35);
}
.faq__answer {
  padding: 0 22px 22px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.faq__answer ul { padding-left: 18px; margin: 0; }
.faq__answer li { margin-bottom: 6px; }
.faq__answer li::marker { color: var(--primary); }

/* ========= FOOTER ========= */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
  margin-top: 20px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.footer__brand p { color: var(--text-dim); margin: 14px 0 0; font-size: 14px; max-width: 260px; }
.footer__col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer__col a {
  display: block;
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 14px;
  transition: color .18s ease;
}
.footer__col a:hover { color: var(--blue); }
.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 13px;
}

/* ========= RESPONSIVE ========= */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
  .nav__actions .btn--ghost, .nav__actions .btn--primary { display: none; }
  .nav__actions { gap: 8px; }

  .features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .provider { grid-template-columns: 1fr; padding: 28px 24px; }
  .provider__cta { justify-content: flex-start; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { flex-direction: row; border-right: none; border-bottom: 1px solid var(--border); }
  .mock__side-item { height: 10px; flex: 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: span 2; }
}
@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero { padding: calc(var(--nav-h) + 40px) 0 56px; }
  .hero__cta .btn { width: 100%; }
  .cta__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
}

/* ========= BEAUTY ENHANCEMENTS ========= */
/* --- Button shine + glass --- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.32) 45%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.btn--primary::after { z-index: -1; }
.btn:hover::after { transform: translateX(130%); }
.btn--ghost { box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.btn--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(215,38,61,.4);
  box-shadow: 0 10px 30px rgba(215,38,61,.24);
}

/* --- Gradient display headings --- */
.hero__title, .section__title, .cta__title {
  background: linear-gradient(180deg, #ffffff 0%, #dbe4f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Cards: glass + gradient top line + hover glow --- */
.feature, .stat, .review {
  box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255,255,255,.04);
}
.feature::after, .stat::after, .review::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215,38,61,.6), rgba(212,161,60,.55), transparent);
  opacity: .5;
  transition: opacity .3s ease;
  pointer-events: none;
}
.feature::before { background: radial-gradient(500px 220px at 50% -15%, rgba(215,38,61,.2), transparent 60%); }
.feature:hover { box-shadow: var(--shadow-2), 0 16px 44px rgba(215,38,61,.18); }
.feature:hover::after { opacity: 1; }
.stat:hover, .review:hover {
  transform: translateY(-3px);
  border-color: rgba(215,38,61,.4);
  box-shadow: var(--shadow-2), 0 16px 40px rgba(215,38,61,.16);
}
.stat:hover::after, .review:hover::after { opacity: 1; }
.stat, .review { position: relative; overflow: hidden; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }

/* --- Feature icon ring + glow --- */
.feature__icon { box-shadow: 0 0 0 4px rgba(215,38,61,.05), inset 0 1px 0 rgba(255,255,255,.06); }
.feature:hover .feature__icon { box-shadow: 0 0 22px rgba(215,38,61,.45); }

/* --- Hero: dot-grid depth layer --- */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(215,38,61,.16) 1px, transparent 1.6px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 26%, #000 22%, transparent 72%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 26%, #000 22%, transparent 72%);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}

/* --- Mock UI: animated gradient border + float --- */
.hero__mock {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(20,20,30,.92), rgba(12,12,20,.92)) padding-box,
    linear-gradient(135deg, rgba(215,38,61,.5), rgba(215,38,61,.12) 45%, rgba(212,161,60,.5)) border-box;
  animation: heroFade .8s ease .3s both, floatY 7s ease-in-out 1s infinite;
}

/* --- Nav link underline --- */
.nav__menu a { position: relative; }
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, #fff, var(--blue) 55%, var(--primary));
  transition: right .28s ease;
}
.nav__menu a:hover::after { right: 0; }

/* --- Provider card gradient ring --- */
.provider {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(10,10,15,.55), rgba(10,10,15,.55)) padding-box,
    linear-gradient(135deg, rgba(215,38,61,.42), rgba(212,161,60,.24)) border-box;
  box-shadow: var(--shadow-2);
}

/* --- FAQ answer fade-in --- */
.faq__answer { animation: faqFade .32s ease; }
.faq__item { box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
.faq__item[open] { box-shadow: inset 0 1px 0 rgba(215,38,61,.08), 0 12px 30px rgba(215,38,61,.12); }

/* --- Footer top glow --- */
.footer { box-shadow: 0 -1px 0 rgba(215,38,61,.14) inset; }

/* --- Scroll reveal (paired with [data-reveal] in HTML) --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
/* Stagger: delay = position within its grid, so hover still stays snappy after reveal */
.features [data-reveal]:nth-child(1) { transition-delay: 0ms, 0ms; }
.features [data-reveal]:nth-child(2) { transition-delay: 70ms, 70ms; }
.features [data-reveal]:nth-child(3) { transition-delay: 140ms, 140ms; }
.features [data-reveal]:nth-child(4) { transition-delay: 210ms, 210ms; }
.features [data-reveal]:nth-child(5) { transition-delay: 280ms, 280ms; }
.features [data-reveal]:nth-child(6) { transition-delay: 350ms, 350ms; }
.stats [data-reveal]:nth-child(1) { transition-delay: 0ms, 0ms; }
.stats [data-reveal]:nth-child(2) { transition-delay: 80ms, 80ms; }
.stats [data-reveal]:nth-child(3) { transition-delay: 160ms, 160ms; }
.stats [data-reveal]:nth-child(4) { transition-delay: 240ms, 240ms; }
.reviews [data-reveal]:nth-child(1) { transition-delay: 0ms, 0ms; }
.reviews [data-reveal]:nth-child(2) { transition-delay: 90ms, 90ms; }
.reviews [data-reveal]:nth-child(3) { transition-delay: 180ms, 180ms; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* --- Extra keyframes --- */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes faqFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ========= ANIMATIONS ========= */
@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow, .hero__title, .hero__subtitle, .hero__cta, .hero__mock {
  animation: heroFade .8s ease both;
}
.hero__title { animation-delay: .05s; }
.hero__subtitle { animation-delay: .12s; }
.hero__cta { animation-delay: .2s; }
.hero__mock { animation-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ========= TOP RIBBON (red accent) ========= */
/* --- Top red-gold ribbon above the nav --- */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 5px;
  z-index: 60;
  background: linear-gradient(90deg, #ffffff 0 33.33%, #0033a0 33.33% 66.66%, var(--primary) 66.66% 100%);
  box-shadow: 0 1px 14px rgba(215,38,61,.5);
  pointer-events: none;
}

/* --- Micro-interactions: selection / scrollbar / focus --- */
::selection { background: rgba(215,38,61,.55); color: #fff; }
html {
  scrollbar-color: rgba(215,38,61,.6) transparent;
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #fff 0%, var(--blue) 55%, var(--primary) 100%);
  border-radius: 8px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--blue); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --- Slogan strip: scrolling marquee --- */
.slogan {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.28);
  border-bottom: 1px solid rgba(193, 18, 31,.28);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 14px, transparent 14px 28px),
    linear-gradient(90deg, rgba(255,255,255,.08), rgba(193, 18, 31,.08), rgba(215,38,61,.1));
  padding: 18px 0;
  white-space: nowrap;
}
.slogan__track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: sloganScroll 30s linear infinite;
  will-change: transform;
}
.slogan__item {
  font-family: var(--mono);
  font-size: clamp(15px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--text);
  text-shadow: 0 0 22px rgba(215,38,61,.35);
}
.slogan__star {
  color: #fff;
  font-size: clamp(12px, 1.6vw, 16px);
  filter: drop-shadow(0 0 8px rgba(255,255,255,.55));
}
.slogan__star:nth-child(8n + 1),
.slogan__star:nth-child(8n + 7) { color: #fff; filter: drop-shadow(0 0 8px rgba(255,255,255,.55)); }
.slogan__star:nth-child(8n + 3) { color: var(--blue); filter: drop-shadow(0 0 8px rgba(193, 18, 31,.65)); }
.slogan__star:nth-child(8n + 5) { color: var(--primary); filter: drop-shadow(0 0 8px rgba(215,38,61,.65)); }
@keyframes sloganScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}



/* ========= STAR SPIN ========= */
@keyframes starSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.nav__logo svg path:last-of-type { transform-origin: 24px 24px; }

/* ========= MADE IN RUSSIA badge (footer) ========= */
.made-in {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.04);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .01em;
}
.made-in__flag {
  width: 22px; height: 15px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ffffff 0 33.4%, #0033a0 33.4% 66.7%, #d52b1e 66.7% 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.28), 0 2px 6px rgba(0,0,0,.4);
}
