@import "https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700&display=swap";

/* ── VARIABLES ── */
:root {
  --bg-base: #020001;
  --glass: rgba(15, 2, 4, .45);
  --site: #bb84fa;
  --site-light: #d9a2ff;
  --site-bright: #f4d3ff;
  --text-main: #ffd5da;
  --text-soft: #b98d92;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Unbounded, "SF Pro Display", sans-serif;
  background: var(--bg-base);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── BACKGROUND (КАК НА ФОТО) ── */
/* В файле style.css */

#shader-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 50% 0%, rgba(187, 132, 250, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse at 50% 45%, #0e0e10 0%, #020001 100%);
}

#hero-canvas {
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px); 
}

/* Шум оставляем как был, он дает текстуру */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ── HEADER ── */
.header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 20px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #0c0c1057;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, .07);
  z-index: 20;
}
.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--site), var(--site-bright));
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-icon svg {
  width: 16px;
  height: 16px;
  stroke: #1a0a2e;
  fill: none;
}
.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.brand-name {
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 3px;
}
.nav a {
  color: color-mix(in srgb, var(--site-bright) 72%, white 28%);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: 7px;
  transition: color .2s, background .2s;
}
.nav a:hover {
  color: #fff;
  background: color-mix(in srgb, var(--site) 22%, transparent);
}
.nav a.is-active {
  color: #fff;
  background: color-mix(in srgb, var(--site) 22%, transparent);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: .22s;
  text-decoration: none;
  line-height: 1;
}
.btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; flex-shrink: 0; }
.btn-sm  { font-size: .76rem; padding: 8px 15px; }
.btn-lg  { font-size: .86rem; padding: 14px 28px; border-radius: 9px; }
.btn-ghost {
  background: color-mix(in srgb, var(--site) 18%, transparent);
  color: color-mix(in srgb, var(--site-bright) 72%, white 28%);
}
.btn-ghost:hover {
  background: color-mix(in srgb, var(--site) 30%, transparent);
  color: #fff;
  transform: scale(1.04);
}
.btn-solid {
  background: color-mix(in srgb, var(--site) 34%, white 66%);
  color: color-mix(in srgb, var(--site) 72%, black 28%);
}
.btn-solid:hover {
  background: color-mix(in srgb, var(--site) 44%, white 56%);
  transform: scale(1.04);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 20px 90px;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.hero > * {
  position: relative;
  z-index: 1;
}
.hero-glow {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--site) 20%, transparent), transparent 70%);
  pointer-events: none;
  filter: blur(50px);
  z-index: 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--site) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--site) 30%, transparent);
  border-radius: 999px;
  padding: 5px 16px 5px 10px;
  font-size: .66rem;
  font-weight: 600;
  color: var(--site-light);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--site-light);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}
.hero h1 {
  font-size: clamp(3rem, 8.5vw, 6rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.035em;
  color: #fff;
  max-width: 820px;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--site-bright) 10%, var(--site) 55%, var(--site-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: .84rem;
  color: color-mix(in srgb, var(--site-bright) 58%, white 42%);
  max-width: 500px;
  line-height: 1.65;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}
.hero-img-wrap {
  margin-top: 10px;
  width: min(820px, 100%);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
  background: color-mix(in srgb, var(--site) 6%, #0e0a14);
  aspect-ratio: 16 / 7;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-img-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: .5;
}
.hero-img-inner svg {
  width: 52px;
  height: 52px;
  stroke: var(--site-light);
  fill: none;
  stroke-width: 1.4;
}
.hero-img-inner span {
  font-size: .68rem;
  color: var(--site-light);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-img-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,.07) 3px, rgba(0,0,0,.07) 4px);
  pointer-events: none;
}

/* ── STATS ── */
.stats {
  width: min(980px, calc(100% - 20px));
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat-card {
  border-radius: 12px;
  background: color-mix(in srgb, var(--site) 5%, #ffffff08);
  border: 1px solid rgba(255, 255, 255, .07);
  padding: 22px 18px;
  text-align: center;
  transition: border-color .25s, background .25s;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: -55px;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 140px;
  background: 
    radial-gradient(ellipse 48% 32% at 50% 0%, rgba(255, 255, 255, 0.028), transparent 50%),
    radial-gradient(ellipse 32% 22% at 35% 6%, rgba(187, 132, 250, 0.038), transparent 45%);
  pointer-events: none;
  z-index: 0;
  filter: blur(24px);
  opacity: 0.68;
}
.stat-card > * {
  position: relative;
  z-index: 1;
}
.stat-card:hover {
  background: color-mix(in srgb, var(--site) 8%, #ffffff0e);
  border-color: color-mix(in srgb, var(--site) 24%, transparent);
}
.stat-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
  color: var(--site-light);
}
.stat-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}
.stat-card h3 {
  font-size: 2rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--site-bright) 58%, white 42%);
  letter-spacing: -.025em;
}
.stat-card p {
  font-size: .7rem;
  color: var(--text-soft);
  margin-top: 5px;
  font-weight: 500;
}

/* ── DIVIDER ── */
.divider {
  width: min(980px, calc(100% - 20px));
  margin: 0 auto 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
}

/* ── SECTION ── */
.section {
  width: min(980px, calc(100% - 20px));
  margin: 0 auto 90px;
  position: relative;
}
.section::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 500px;
  background: 
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 255, 255, 0.09), transparent 55%),
    radial-gradient(ellipse 50% 38% at 30% 15%, rgba(187, 132, 250, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 38% at 70% 15%, rgba(217, 162, 255, 0.09), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(50px);
  opacity: 0.95;
  animation: lightRays 10s ease-in-out infinite;
}

@keyframes lightRays {
  0%, 100% { 
    opacity: 0.95;
    transform: translateX(-50%) translateY(0);
  }
  50% { 
    opacity: 1;
    transform: translateX(-50%) translateY(-15px);
  }
}
.s-label {
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--site-light);
  margin-bottom: 10px;
}
.s-title {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 9px;
}
.s-sub {
  font-size: .8rem;
  color: color-mix(in srgb, var(--site-bright) 62%, white 38%);
  line-height: 1.6;
  max-width: 460px;
}

/* ── FEATURES ── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 30px;
}
.feat-card {
  border-radius: 12px;
  background: #ffffff08;
  border: 1px solid rgba(255, 255, 255, .07);
  padding: 20px 18px;
  transition: transform .25s, background .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 180px;
  background: 
    radial-gradient(ellipse 55% 38% at 50% 0%, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 38% 28% at 30% 8%, rgba(187, 132, 250, 0.1), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
  opacity: 0.8;
  animation: lightRays 7s ease-in-out infinite;
}
.feat-card > * {
  position: relative;
  z-index: 1;
}
.feat-card:hover {
  transform: translateY(-5px);
  background: #ffffff0f;
  border-color: color-mix(in srgb, var(--site) 28%, transparent);
}
.feat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--site) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--site) 28%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 13px;
  color: var(--site-light);
}
.feat-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feat-card h3 {
  font-size: .83rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--site-bright) 52%, white 48%);
  margin-bottom: 7px;
}
.feat-card p {
  font-size: .72rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.feat-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--site) 22%, transparent);
  color: var(--site-light);
}
.feat-tag.pro-only {
  background: color-mix(in srgb, var(--site) 28%, transparent);
  color: var(--site-bright);
}

/* ── COMPARE TABLE ── */
.compare-wrap {
  margin-top: 28px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
}
.compare-head {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  background: #ffffff06;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.compare-head div {
  padding: 12px 16px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.compare-head div:last-child { color: var(--site-light); }
.compare-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  transition: background .2s;
}
.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: #ffffff05; }
.compare-row div {
  padding: 11px 16px;
  font-size: .73rem;
  color: color-mix(in srgb, var(--site-bright) 68%, white 32%);
  display: flex;
  align-items: center;
  gap: 7px;
}
.compare-row div:first-child { color: var(--text-soft); }
.compare-row svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  flex-shrink: 0;
}
.c-yes { color: #8bf5b0 !important; }
.c-no  { color: #ffffff28 !important; }

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 30px;
  max-width: 680px;
}
.plan {
  border-radius: 14px;
  background: #ffffff08;
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: transform .25s;
}
.plan::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 250px;
  background: 
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 255, 255, 0.09), transparent 55%),
    radial-gradient(ellipse 42% 30% at 32% 12%, rgba(187, 132, 250, 0.11), transparent 50%),
    radial-gradient(ellipse 42% 30% at 68% 12%, rgba(217, 162, 255, 0.09), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(35px);
  opacity: 0.85;
  animation: lightRays 9s ease-in-out infinite;
}
.plan > * {
  position: relative;
  z-index: 1;
}
.plan:hover { transform: translateY(-3px); }
.plan.pro {
  background: color-mix(in srgb, var(--site) 10%, #0a050f);
  border-color: color-mix(in srgb, var(--site) 38%, transparent);
}
.plan.pro::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--site-light), transparent);
}
.plan-best {
  position: absolute;
  top: 14px; right: 14px;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--site) 32%, white 68%);
  color: color-mix(in srgb, var(--site) 72%, black 28%);
  border-radius: 999px;
  padding: 3px 10px;
}
.plan-name {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 9px;
}
.plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1;
}
.plan-price sub {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-soft);
  vertical-align: baseline;
}
.plan-note {
  font-size: .7rem;
  color: var(--text-soft);
  margin: 7px 0 18px;
  line-height: 1.5;
}
.plan-list {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-bottom: 22px;
}
.plan-list li {
  font-size: .72rem;
  color: color-mix(in srgb, var(--site-bright) 65%, white 35%);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.45;
}
.plan-list li svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan-list li.has { color: color-mix(in srgb, var(--site-bright) 65%, white 35%); }
.plan-list li.has svg { color: var(--site-light); }
.plan-list li.dim { color: var(--text-soft); }
.plan-list li.dim svg { color: #ffffff25; }
.plan-btn { width: 100%; border-radius: 8px; padding: 12px; font-size: .78rem; }

/* ── FAQ ── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 30px;
}
.faq-card {
  border-radius: 10px;
  background: #ffffff0f;
  backdrop-filter: blur(10px);
  padding: 18px;
  transition: transform .25s, background .25s;
  position: relative;
  overflow: hidden;
}
.faq-card::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 130px;
  background: 
    radial-gradient(ellipse 42% 28% at 50% 0%, rgba(255, 255, 255, 0.022), transparent 50%),
    radial-gradient(ellipse 28% 20% at 28% 5%, rgba(187, 132, 250, 0.03), transparent 45%);
  pointer-events: none;
  z-index: 0;
  filter: blur(22px);
  opacity: 0.65;
}
.faq-card > * {
  position: relative;
  z-index: 1;
}
.faq-card:hover { transform: scale(1.02); background: #ffffff1a; }
.faq-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
}
.faq-card-head svg {
  width: 15px;
  height: 15px;
  stroke: var(--site-light);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.faq-card h3 {
  font-size: .82rem;
  color: color-mix(in srgb, var(--site-bright) 52%, white 48%);
  font-weight: 600;
}
.faq-card p {
  font-size: .74rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--site-bright) 70%, white 30%);
}

/* ── FOOTER ── */
.footer {
  width: min(980px, calc(100% - 20px));
  margin: 80px auto 56px;
  padding: 22px 26px 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: #ffffff0a;
  backdrop-filter: blur(12px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.footer-brand strong {
  font-size: .95rem;
  color: color-mix(in srgb, var(--site-bright) 52%, white 48%);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand strong svg {
  width: 16px;
  height: 16px;
  stroke: var(--site-light);
  fill: none;
}
.footer-brand p {
  margin: 9px 0 0;
  font-size: .74rem;
  color: color-mix(in srgb, var(--site-bright) 70%, white 30%);
  line-height: 1.55;
}
.footer-col h4 {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 13px;
  font-weight: 700;
}
.footer-links { display: grid; gap: 9px; }
.footer-links a {
  color: color-mix(in srgb, var(--site-bright) 65%, white 35%);
  text-decoration: none;
  font-size: .77rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-links a svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  flex-shrink: 0;
}
.footer-bottom {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: .7rem;
  color: color-mix(in srgb, var(--site-bright) 78%, white 22%);
  opacity: .8;
}
.footer-mark {
  font-size: .64rem;
  color: #fff;
  opacity: .28;
  letter-spacing: .07em;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .plan.pro { order: -1; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .compare-head, .compare-row { font-size: .65rem; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
}