:root {
  --bg: #09090f;
  --surface: #12121b;
  --surface-2: #191927;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f8fafc;
  --muted: #a1a1aa;
  --purple: #7c3aed;
  --purple-soft: #a78bfa;
  --green: #22c55e;
  --green-soft: #4ade80;
  --shadow-purple: 0 0 60px rgba(124, 58, 237, 0.24);
  --shadow-green: 0 0 45px rgba(34, 197, 94, 0.18);
  --radius: 24px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Montserrat", "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.glow {
  position: fixed;
  z-index: -2;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  pointer-events: none;
}

.glow-purple {
  top: -180px;
  right: -120px;
  background: var(--purple);
}

.glow-green {
  left: -190px;
  top: 300px;
  background: rgba(34, 197, 94, 0.45);
}

.container {
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
}

.hero .container {
  width: min(100% - 32px, 1500px);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 max(16px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid var(--border);
  background: rgba(9, 9, 15, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand span {
  color: var(--purple-soft);
}

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

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: white;
}

.nav-cta {
  color: white !important;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--purple-soft));
  box-shadow: var(--shadow-purple);
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: white;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section {
  padding: clamp(72px, 8vw, 112px) 0;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
  padding-top: 38px;
}

.hero-grid,
.contact-grid,
.founder {
  display: grid;
  grid-template-columns: minmax(520px, 690px) minmax(390px, 520px);
  justify-content: center;
  gap: clamp(60px, 7vw, 120px);
  align-items: center;
}

.contact-grid,
.founder {
  grid-template-columns: 1.05fr 0.95fr;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--green-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

h1,
h2,
h3 {
  font-family: var(--display);
  margin: 0;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 690px;
  font-size: clamp(46px, 4.3vw, 64px);
  line-height: 0.98;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-copy {
  max-width: 690px;
  position: relative;
  z-index: 2;
}

.hero-visual {
  width: 100%;
  justify-self: end;
  position: relative;
  z-index: 1;
}

h1 span,
.contact-section h2 span {
  background: linear-gradient(135deg, var(--purple-soft), white 50%, var(--green-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
}

.lead {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: 800 14px var(--font);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.primary {
  color: #06110a;
  background: linear-gradient(135deg, var(--green), var(--green-soft));
  box-shadow: var(--shadow-green);
}

.secondary {
  color: white;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
}

.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  color: var(--muted);
}

.proof-line strong {
  color: var(--green-soft);
}

.competitor-strip {
  padding-top: 32px;
}

.model-card {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 520px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 42px;
  background:
    radial-gradient(circle at 70% 20%, rgba(124,58,237,0.26), transparent 35%),
    radial-gradient(circle at 20% 90%, rgba(34,197,94,0.16), transparent 35%),
    rgba(18,18,27,0.76);
  box-shadow: var(--shadow-purple);
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(167,139,250,0.35);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.orbit-a {
  inset: 10%;
}

.orbit-b {
  inset: 24%;
  border-color: rgba(74,222,128,0.28);
  animation-duration: 20s;
  animation-direction: reverse;
}

.orbit::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple-soft);
  box-shadow: 0 0 18px var(--purple-soft);
}

.code-lines {
  position: absolute;
  top: clamp(30px, 5vw, 56px);
  left: clamp(26px, 5vw, 54px);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  color: rgba(167,139,250,0.8);
  font-size: clamp(12px, 1.2vw, 16px);
  z-index: 2;
}

.code-lines p {
  margin: 0 0 10px;
}

.chart {
  position: absolute;
  left: clamp(34px, 6vw, 78px);
  right: clamp(34px, 6vw, 78px);
  bottom: clamp(42px, 6vw, 78px);
  height: clamp(190px, 20vw, 275px);
  display: flex;
  align-items: end;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 18px);
  z-index: 1;
}

.chart span {
  width: clamp(34px, 4.5vw, 60px);
  height: var(--h);
  border-radius: 14px 14px 0 0;
  background: linear-gradient(to top, var(--purple), var(--green-soft));
  animation: grow 1.2s ease both;
  box-shadow: 0 -12px 38px rgba(34,197,94,0.14);
}

.metric-chip {
  position: absolute;
  right: clamp(26px, 5vw, 48px);
  top: clamp(34px, 5vw, 62px);
  padding: 11px 16px;
  border: 1px solid rgba(167,139,250,0.28);
  border-radius: 999px;
  color: var(--purple-soft);
  background: rgba(255,255,255,0.06);
  font-weight: 800;
  font-size: clamp(12px, 1.1vw, 15px);
  animation: float 5s ease-in-out infinite;
  z-index: 3;
}

.chip-green {
  top: auto;
  right: auto;
  left: clamp(26px, 5vw, 52px);
  bottom: clamp(28px, 5vw, 54px);
  color: var(--green-soft);
  animation-delay: -2s;
}

.section-muted {
  border-block: 1px solid var(--border);
  background: rgba(18,18,27,0.48);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.compare-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(25,25,39,0.86), rgba(18,18,27,0.94));
}

.compare-card-strong {
  border-color: rgba(34,197,94,0.45);
  box-shadow: var(--shadow-green);
}

.compare-card h3 {
  margin-bottom: 18px;
}

.compare-card ul,
.guarantee-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.compare-card li,
.guarantee-card li {
  position: relative;
  margin-top: 12px;
  padding-left: 24px;
  line-height: 1.6;
}

.compare-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--purple-soft);
}

.compare-card-strong li::before,
.guarantee-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-soft);
  font-weight: 800;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head p:not(.eyebrow),
.social-proof p,
.founder-copy p,
.contact-grid p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 18px;
}

.cards {
  display: grid;
  gap: 20px;
}

.three {
  grid-template-columns: repeat(3, 1fr);
}

.method-grid {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  align-items: stretch;
}

.card,
.case-card,
.price-card,
.social-proof {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(25,25,39,0.95), rgba(18,18,27,0.94));
  box-shadow: 0 18px 60px rgba(0,0,0,0.22);
}

.card {
  min-height: 245px;
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.case-card:hover,
.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167,139,250,0.4);
}

.card small,
.case-card p {
  color: var(--green-soft);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.card h3 {
  margin-top: 18px;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

.method-card {
  min-height: 260px;
}

.ops-section {
  border-top: 1px solid var(--border);
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ops-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(34,197,94,0.12), transparent 36%),
    linear-gradient(180deg, rgba(25,25,39,0.95), rgba(18,18,27,0.94));
  box-shadow: 0 18px 60px rgba(0,0,0,0.22);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ops-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34,197,94,0.38);
}

.ops-card small {
  color: var(--green-soft);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
}

.ops-card h3 {
  margin-top: 18px;
}

.ops-card p {
  color: var(--muted);
  line-height: 1.7;
}

.ops-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.ops-flow span {
  position: relative;
  padding: 10px 15px;
  border: 1px solid rgba(167,139,250,0.22);
  border-radius: 999px;
  color: var(--purple-soft);
  background: rgba(255,255,255,0.04);
  font-size: 13px;
  font-weight: 800;
}

.ops-flow span:not(:last-child)::after {
  content: "→";
  margin-left: 10px;
  color: var(--green-soft);
}

.founder {
  grid-template-columns: 320px 1fr;
}

.founder-photo {
  position: relative;
}

.founder-photo::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--green));
  filter: blur(18px);
  opacity: 0.48;
}

.founder-photo img {
  position: relative;
  width: 320px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 15%;
  border: 4px solid var(--surface);
  border-radius: 50%;
}

blockquote {
  margin: 28px 0 0;
  padding-left: 22px;
  border-left: 4px solid var(--green);
  color: white;
  line-height: 1.7;
  font-size: 18px;
}

.case-card {
  min-height: 230px;
  padding: 30px;
}

.case-card h3 {
  margin: 28px 0 12px;
  color: white;
  font-size: clamp(28px, 3vw, 44px);
}

.case-card span {
  color: var(--muted);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.result-card {
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 0%, rgba(124,58,237,0.18), transparent 35%),
    linear-gradient(180deg, rgba(25,25,39,0.95), rgba(18,18,27,0.94));
  box-shadow: 0 18px 60px rgba(0,0,0,0.22);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.result-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167,139,250,0.42);
}

.result-card.featured {
  border-color: rgba(34,197,94,0.45);
  box-shadow: var(--shadow-green);
}

.result-card small {
  color: var(--green-soft);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
}

.result-card h3 {
  margin-top: 18px;
  color: white;
  font-size: clamp(28px, 3vw, 42px);
}

.result-card p {
  min-height: 48px;
  color: var(--muted);
  line-height: 1.6;
}

.mini-bars {
  height: 86px;
  display: flex;
  align-items: end;
  gap: 7px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.mini-bars span {
  flex: 1;
  min-width: 8px;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(to top, var(--purple), var(--green-soft));
  opacity: 0.92;
}

.mini-bars span:nth-child(1) { height: 46%; }
.mini-bars span:nth-child(2) { height: 70%; }
.mini-bars span:nth-child(3) { height: 58%; }
.mini-bars span:nth-child(4) { height: 82%; }
.mini-bars span:nth-child(5) { height: 62%; }
.mini-bars span:nth-child(6) { height: 100%; }
.mini-bars span:nth-child(7) { height: 74%; }
.mini-bars span:nth-child(8) { height: 88%; }

.guarantee-section {
  border-block: 1px solid var(--border);
  background:
    radial-gradient(circle at 18% 50%, rgba(34,197,94,0.12), transparent 32%),
    rgba(18,18,27,0.46);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.guarantee-grid p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.guarantee-card {
  padding: 30px;
  border: 1px solid rgba(34,197,94,0.36);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(34,197,94,0.11), rgba(18,18,27,0.96));
  box-shadow: var(--shadow-green);
}

.guarantee-card h3 {
  margin-bottom: 18px;
}

.case-card.featured,
.price-card.featured {
  border-color: rgba(34,197,94,0.45);
  box-shadow: var(--shadow-green);
}

.pricing {
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 30px;
}

.badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34,197,94,0.16);
  color: var(--green-soft);
  font-size: 12px;
  font-weight: 800;
}

.price-card p {
  color: var(--muted);
}

.price-card strong {
  display: block;
  margin-top: 24px;
  color: var(--green-soft);
  font-size: 34px;
  font-family: var(--display);
}

.price-card strong span {
  color: var(--muted);
  font-size: 16px;
}

.price-card ul {
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  color: var(--muted);
}

.price-card li {
  margin-top: 12px;
}

.price-card li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--green);
}

.social-proof {
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0;
}

.logos span {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--purple-soft);
  background: rgba(255,255,255,0.04);
  font-weight: 800;
}

.social-proof h2 {
  color: var(--green-soft);
}

.contact-section {
  padding-top: 40px;
}

.telegram-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--purple-soft);
  font-weight: 800;
}

.telegram-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.telegram-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(124,58,237,0.22), transparent 36%),
    linear-gradient(180deg, rgba(25,25,39,0.95), rgba(18,18,27,0.94));
  box-shadow: var(--shadow-purple);
}

.telegram-card small {
  color: var(--green-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.telegram-card h3 {
  margin-top: 18px;
  font-size: clamp(24px, 3vw, 34px);
}

.telegram-card p {
  margin-top: 18px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(16px, calc((100vw - 1120px) / 2));
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer div {
  display: flex;
  gap: 18px;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes grow {
  from { height: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

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

@media (max-width: 1180px) {
  .method-grid {
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x proximity;
  }

  .method-card {
    scroll-snap-align: start;
  }
}

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

  .hero-visual {
    display: none;
  }

  .hero-copy {
    max-width: 780px;
  }
}

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 68px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: rgba(9,9,15,0.96);
    border-bottom: 1px solid var(--border);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px;
  }

  .hero-grid,
  .contact-grid,
  .founder,
  .compare-grid,
  .results-grid,
  .guarantee-grid,
  .ops-grid,
  .three {
    grid-template-columns: 1fr;
  }

  .method-grid {
    grid-template-columns: repeat(4, minmax(260px, 78vw));
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .hero-visual {
    display: none;
  }

  .model-card {
    width: min(100%, 500px);
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero {
    min-height: auto;
  }

  .founder-photo img {
    width: min(300px, 78vw);
    margin: 0 auto;
  }

  .founder-copy {
    text-align: center;
  }

  .compare-card,
  .guarantee-card {
    padding: 24px;
  }

  blockquote {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1280px);
  }

  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(36px, 11vw, 42px);
  }

  .hero-actions,
  .footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .model-card {
    border-radius: 24px;
    width: min(100%, 380px);
  }

  .result-card,
  .ops-card,
  .case-card,
  .price-card,
  .card {
    min-height: auto;
    padding: 24px;
  }

  .ops-flow {
    justify-content: flex-start;
  }

  .code-lines,
  .metric-chip {
    font-size: 11px;
  }

  .chart {
    left: 22px;
    right: 22px;
    gap: 8px;
  }

  .ops-flow {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ops-flow span:not(:last-child)::after {
    content: "";
    display: block;
    margin: 8px auto -2px;
    width: 1px;
    height: 12px;
    background: var(--green-soft);
  }
}
