:root {
  --bg: #0a0b0e;
  --panel: #111319;
  --panel-2: #181b22;
  --ink: #f4f2eb;
  --muted: #9da1aa;
  --line: #2b2f38;
  --acid: #d9ff57;
  --violet: #7657ff;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.section-shell { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 12px 32px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: .72rem; line-height: 1.08; letter-spacing: .12em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; background: var(--acid); color: #090a0c; border-radius: 50%; font-weight: 900; letter-spacing: -.08em; }
.nav { display: flex; gap: 28px; color: #d6d5d1; font-size: .88rem; }
.nav a:hover { color: var(--acid); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.language { display: flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
.lang-btn { border: 0; background: transparent; color: var(--muted); border-radius: 99px; padding: 7px 9px; font-size: .72rem; cursor: pointer; }
.lang-btn.active { background: var(--ink); color: var(--bg); }
.telegram { display: inline-flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 800; transition: transform .18s ease, background .18s ease; }
.telegram:hover { transform: translateY(-2px); }
.telegram-small { padding: 11px 18px; background: var(--acid); color: #0b0c0e; border-radius: 99px; font-size: .82rem; }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 7vw; padding-block: 92px 76px; }
.eyebrow, .section-index { color: var(--acid); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 7px rgba(217,255,87,.08); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 820px; margin: 26px 0 30px; font-size: clamp(3.4rem, 7.2vw, 7.6rem); line-height: .87; letter-spacing: -.075em; }
h1 em { color: var(--acid); font-style: normal; }
.hero-lead { max-width: 690px; color: #c8c9ce; font-size: clamp(1.05rem, 1.5vw, 1.32rem); }
.hero-cta { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.telegram-main { min-width: 250px; padding: 18px 22px; background: var(--acid); color: #090a0c; border-radius: 4px; }
.text-link { display: inline-flex; gap: 14px; border-bottom: 1px solid #626873; padding-bottom: 6px; font-weight: 700; }
.microcopy { margin: 17px 0 0; color: #70757f; font-size: .76rem; }

.hero-visual { position: relative; min-height: 530px; border: 1px solid var(--line); overflow: hidden; background: radial-gradient(circle at 70% 20%, rgba(118,87,255,.28), transparent 30%), linear-gradient(145deg,#141720,#0c0d11); }
.visual-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg,var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .48; }
.terminal-card { position: absolute; left: 9%; right: 9%; top: 17%; padding: 24px; border: 1px solid #545966; background: rgba(9,10,13,.92); box-shadow: 24px 24px 0 rgba(118,87,255,.4); }
.terminal-head, .terminal-row, .terminal-foot { display: flex; justify-content: space-between; gap: 20px; }
.terminal-head { padding-bottom: 19px; border-bottom: 1px solid var(--line); font: 700 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #aeb3be; }
.online { color: var(--acid); }
.terminal-row { padding: 21px 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
.terminal-row span { color: #787d87; }
.terminal-row b { font: 700 .78rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: right; }
.progress { height: 7px; margin: 28px 0 16px; background: #242832; overflow: hidden; }
.progress span { display: block; width: 87%; height: 100%; background: var(--acid); }
.terminal-foot { font: 600 .72rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; color: #727783; }
.terminal-foot strong { color: var(--ink); }
.floating-label { position: absolute; padding: 13px 16px; color: #0b0c0e; font: 900 1.5rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.floating-label span { display: block; margin-top: 5px; font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; }
.label-one { left: 3%; bottom: 4%; background: var(--acid); transform: rotate(-3deg); }
.label-two { right: 2%; top: 4%; background: var(--ink); transform: rotate(4deg); }

.stats { display: grid; grid-template-columns: repeat(4,1fr); border-block: 1px solid var(--line); }
.stats div { min-height: 170px; display: flex; flex-direction: column; justify-content: center; padding: 30px 3.2vw; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats strong { font-size: clamp(2.4rem,4vw,4.6rem); line-height: 1; letter-spacing: -.06em; }
.stats span { max-width: 190px; margin-top: 12px; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }

.product-section, .process-section, .reviews-section, .faq-section { padding-block: 120px; }
.section-heading { display: grid; grid-template-columns: .34fr 1.3fr .7fr; gap: 40px; align-items: start; margin-bottom: 64px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(2.8rem,5.7vw,6.3rem); line-height: .93; letter-spacing: -.06em; }
.section-heading > p { color: var(--muted); font-size: 1rem; }
.section-heading.compact { grid-template-columns: .34fr 1.3fr .7fr; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { min-height: 300px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.feature > span { color: #606570; font: 700 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.feature h3 { margin: 92px 0 14px; font-size: 1.45rem; letter-spacing: -.03em; }
.feature p { color: var(--muted); }
.feature-accent { background: var(--acid); color: #090a0c; }
.feature-accent > span, .feature-accent p { color: #34372d; }

.samples-section { padding-block: 120px; background: #ecebe5; color: #101114; overflow: hidden; }
.samples-heading .section-index { color: #5840d9; }
.samples-heading > p { color: #595b61; }
.sample-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(340px, 40vw); gap: 18px; overflow-x: auto; padding: 0 max(32px, calc((100vw - var(--max))/2)) 22px; scroll-snap-type: x mandatory; scrollbar-color: #7a61ff transparent; }
.sample-card { position: relative; display: block; aspect-ratio: 16/10; padding: 0; border: 1px solid #bbbcb8; background: #fff; overflow: hidden; cursor: zoom-in; scroll-snap-align: start; }
.sample-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .35s ease; }
.sample-card:hover img { transform: scale(1.025); }
.sample-card span { position: absolute; left: 14px; bottom: 14px; padding: 8px 11px; background: #0c0d10; color: #f6f4eb; font: 700 .67rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }

.process-list { list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin: 0; padding: 0; border: 1px solid var(--line); }
.process-list li { min-height: 220px; padding: 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.process-list li:last-child { border-right: 0; }
.process-list li > span { color: var(--acid); font: 700 .75rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.process-list h3 { margin-bottom: 8px; font-size: 1.35rem; }
.process-list p { margin-bottom: 0; color: var(--muted); }
.capacity-note { display: flex; justify-content: space-between; gap: 20px; padding: 22px 28px; background: var(--violet); font-size: .85rem; }
.capacity-note span { font-weight: 800; letter-spacing: .12em; }

.pricing-section { padding-block: 120px; background: var(--acid); color: #0a0b0e; }
.pricing-heading .section-index { color: #5840d9; }
.pricing-heading > p { color: #3d422d; }
.pricing-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; }
.price-card { position: relative; min-height: 340px; padding: 24px; border: 1px solid rgba(10,11,14,.32); background: rgba(255,255,255,.28); display: flex; flex-direction: column; }
.price-card.popular { background: #0c0d10; color: #fff; transform: translateY(-16px); }
.popular-tag { position: absolute; right: 14px; top: -13px; padding: 6px 9px; background: var(--violet); color: #fff; font-size: .63rem; font-weight: 900; letter-spacing: .08em; }
.price-top { display: flex; justify-content: space-between; font: 700 .7rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.price-top b { color: #6b6e60; }
.price-card h3 { margin: 80px 0 4px; font-size: 1.1rem; }
.price { font-size: 3.4rem; font-weight: 900; letter-spacing: -.07em; }
.price-card p { color: #626655; font: 700 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.price-card.popular p { color: #9da1aa; }
.price-card a { margin-top: auto; border-top: 1px solid currentColor; padding-top: 14px; font-weight: 800; font-size: .82rem; }
.price-card a:hover { color: var(--violet); }
.price-card.scale { background: var(--violet); color: #fff; border-color: var(--violet); }
.price-card.scale p { color: #ddd8ff; }
.custom-volume { margin: 32px 0 0; text-align: center; font-weight: 800; }

.reviews-section .section-heading > p { color: #757a84; }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.review { min-height: 280px; padding: 28px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }
.review.featured { grid-column: span 2; background: var(--ink); color: var(--bg); }
.quote { color: var(--acid); font: 900 4rem/.8 Georgia, serif; }
.review.featured .quote { color: var(--violet); }
.review blockquote { margin: 20px 0 34px; font-size: 1.1rem; }
.review.featured blockquote { max-width: 800px; font-size: 1.5rem; }
.review footer { margin-top: auto; color: var(--muted); font: 700 .72rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.review.featured footer { color: #62656d; }

.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; }
.faq-section .section-heading { display: block; margin-bottom: 0; }
.faq-section .section-heading h2 { margin-top: 22px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 1.05rem; padding-right: 40px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; font-size: 1.35rem; color: var(--acid); }
details[open] summary::after { content: '−'; }
details p { max-width: 720px; margin: 16px 0 0; color: var(--muted); }

.final-cta { padding-block: 88px; background: var(--violet); }
.final-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.final-inner .section-index { color: #dcd5ff; }
.final-inner h2 { max-width: 900px; margin: 20px 0 12px; font-size: clamp(3rem,6.4vw,7rem); line-height: .9; letter-spacing: -.07em; }
.final-inner p { margin: 0; color: #dcd8ef; font-size: 1.1rem; }
.telegram-final { min-width: 260px; padding: 20px; background: var(--acid); color: #0a0b0e; flex-shrink: 0; }
.footer { min-height: 210px; display: grid; grid-template-columns: .5fr 1fr auto; align-items: center; gap: 60px; color: #737883; font-size: .75rem; }
.footer p { margin: 0; }
.footer-brand { color: var(--ink); }

.sample-dialog { width: min(92vw, 1500px); max-height: 92vh; padding: 0; border: 1px solid #565b66; background: #0a0b0e; overflow: auto; }
.sample-dialog::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(8px); }
.sample-dialog img { width: 100%; height: auto; }
.dialog-close { position: fixed; right: 3vw; top: 3vh; z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--acid); color: #0a0b0e; font-size: 1.8rem; cursor: pointer; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: .25fr 1fr; }
  .section-heading > p { grid-column: 2; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .price-card.popular { transform: none; }
  .price-card.scale { grid-column: span 2; min-height: 250px; }
  .faq-section { grid-template-columns: 1fr; }
  .final-inner { align-items: start; flex-direction: column; }
  .footer { grid-template-columns: 1fr; padding-block: 60px; gap: 28px; }
}

@media (max-width: 700px) {
  .section-shell { width: min(100% - 34px, var(--max)); }
  .topbar { min-height: 72px; padding: 10px 16px; }
  .brand { font-size: .62rem; }
  .brand-mark { width: 36px; height: 36px; }
  .header-actions { gap: 8px; }
  .telegram-small { display: none; }
  .lang-btn { padding: 7px 8px; }
  .hero { min-height: auto; padding-block: 68px 60px; gap: 50px; }
  h1 { font-size: clamp(3.25rem, 17vw, 5.4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-cta { align-items: stretch; flex-direction: column; }
  .telegram-main { min-width: 0; }
  .text-link { align-self: flex-start; }
  .hero-visual { min-height: 430px; }
  .terminal-card { left: 5%; right: 5%; top: 13%; padding: 18px; box-shadow: 12px 12px 0 rgba(118,87,255,.4); }
  .terminal-row { flex-direction: column; gap: 6px; }
  .terminal-row b { text-align: left; }
  .floating-label { font-size: 1.15rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { min-height: 145px; padding: 22px 17px; }
  .stats strong { font-size: 2.5rem; }
  .product-section, .process-section, .reviews-section, .faq-section { padding-block: 82px; }
  .section-heading, .section-heading.compact { display: block; margin-bottom: 42px; }
  .section-heading h2 { margin: 20px 0; font-size: clamp(2.7rem,13vw,4.4rem); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 245px; }
  .feature h3 { margin-top: 60px; }
  .samples-section, .pricing-section { padding-block: 82px; }
  .sample-track { grid-auto-columns: 86vw; padding-inline: 17px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-list li:last-child { border-bottom: 0; }
  .capacity-note { flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.scale { grid-column: auto; }
  .price-card { min-height: 300px; }
  .review-grid { grid-template-columns: 1fr; }
  .review.featured { grid-column: auto; }
  .review.featured blockquote { font-size: 1.15rem; }
  .final-cta { padding-block: 70px; }
  .final-inner h2 { font-size: clamp(3.2rem,15vw,5rem); }
  .telegram-final { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
