:root {
  --bg: #0a0c12;
  --bg-alt: #10131b;
  --card: #151922;
  --border: rgba(255,255,255,0.09);
  --text: #f2f3f5;
  --text-dim: #9aa1ae;
  --red: #ff3b3b;
  --red-dark: #cc1f1f;
  --blue: #3b9eff;
  --blue-dark: #1c6fd1;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,12,18,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px;
}
.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.logo span { color: var(--blue); }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 19px 32px;
  border-radius: 10px;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 5px 0 var(--blue-dark);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--blue-dark); }
.btn-full { display: block; text-align: center; width: 100%; }

/* HERO */
.hero {
  position: relative;
  padding: 120px 0 30px;
  text-align: center;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(52px, 9vw, 104px);
  line-height: 1;
  margin-bottom: 26px;
}
.subheadline {
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 700;
  color: var(--text-dim);
}
@media (max-width: 480px) {
  .subhead-break { display: none; }
}

/* SECTIONS */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(32px, 5vw, 50px);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
  color: var(--text);
}

/* VIDEO */
#video { padding-top: 20px; overflow: visible; }
#video .container { position: relative; }
.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  background: var(--card);
  position: relative;
  z-index: 2;
}

/* SHARED DECORATIVE BLEED IMAGE (sticks out below a block, fades into the next section) */
.section-deco {
  position: absolute;
  left: 50%;
  width: 100vw;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 45%, transparent 85%);
  mask-image: linear-gradient(to bottom, black 0%, black 45%, transparent 85%);
}
.section-deco.visible { opacity: 0.2; transform: translate(-50%, 0); }
#video .section-deco { bottom: -130px; }
#pricing .section-deco { bottom: -110px; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-caption {
  text-align: center;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--blue);
}

/* GALLERY */
.container-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
/* WORKFLOW ROWS */
.workflow-rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.workflow-row {
  display: flex;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
}
.workflow-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  flex: 0 0 320px;
  padding: 28px;
  overflow: hidden;
}
.workflow-info .card-icon {
  width: 72px;
  height: 72px;
  font-size: 36px;
  margin-bottom: 4px;
  background: rgba(59,158,255,0.14);
}
.workflow-info h3 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.workflow-info p { color: var(--text-dim); font-size: 15px; font-weight: 500; }
.workflow-img {
  flex: 1;
  min-width: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--bg-alt);
  display: block;
}
.workflow-img-zoom { transform: scale(1.08); }

.card-icon {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin-bottom: 20px;
  background: rgba(59,158,255,0.14);
}

/* WHY NOW */
.why-lead {
  text-align: center;
  font-weight: 700;
  font-size: 19px;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
  align-items: stretch;
}
.chart-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1a2030 0%, #131722 55%, #0e1119 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.chart-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(59,158,255,0.22), transparent 70%);
  pointer-events: none;
}
.chart-card.visible { opacity: 1; transform: translateY(0); }

.chart-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(59,158,255,0.14);
  color: var(--blue);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  position: relative;
}
.chart-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15;
  margin-bottom: 22px;
  position: relative;
}
.chart-title span { color: var(--blue); }

.chart-stat { margin-bottom: 18px; position: relative; }
.chart-stat-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.chart-stat-row { display: flex; align-items: center; gap: 12px; }
.chart-stat-num {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 42px;
  color: var(--text);
}
.growth-badge {
  background: rgba(255,59,59,0.16);
  color: var(--red);
  font-weight: 800;
  font-size: 14px;
  padding: 5px 12px;
  border-radius: 6px;
}

.trend-chart { position: relative; height: 150px; }
.trend-chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.trend-line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trend-dot { fill: var(--bg); stroke: var(--blue); stroke-width: 3; }
.trend-dot-end { fill: var(--blue); stroke: #fff; stroke-width: 2; }
.trend-years {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-dim);
  position: relative;
}

.tier-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; position: relative; }
.tier-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 14px 18px;
}
.tier-bar { width: 5px; height: 22px; border-radius: 3px; background: var(--blue); }
.tier-row-best .tier-bar { background: var(--red); }
.tier-label {
  flex: 1;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text);
}
.tier-value { font-weight: 800; font-size: 19px; color: var(--blue); }
.tier-row-best .tier-value { color: var(--red); }
.tier-note { font-size: 13px; color: var(--text-dim); font-weight: 600; position: relative; }

.badges-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.badge-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text-dim);
  font-size: 16px;
}
.badge-num {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: var(--blue);
}

.callout {
  border: 1px solid rgba(59,158,255,0.4);
  background: rgba(59,158,255,0.08);
  padding: 22px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.source { font-size: 13px; color: var(--text-dim); text-align: center; }
.source a { color: var(--blue); text-decoration: underline; }

/* PRICING */
#pricing { overflow: visible; }
#pricing .container { position: relative; }
.price-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  z-index: 2;
}
.price-top { text-align: center; margin-bottom: 18px; }
.price-top h3 {
  font-size: 21px;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.1;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 62px;
  color: #fff;
  margin-bottom: 16px;
}
.price span {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: none;
}
.price-list { margin-bottom: 20px; }
.price-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-dim);
  padding-left: 32px;
  position: relative;
}
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}
.price-list li:last-child { border-bottom: none; }

/* REVIEW FEATURE (full-length reviews) */
.review-features {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-bottom: 0;
}
.made-in-blender {
  text-align: center;
  margin-top: 48px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.01em;
  color: #fff;
}
.blender-word { color: #f5792a; }
.review-feature {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.review-feature-text {
  flex: 0 0 400px;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  overflow: hidden;
  box-sizing: border-box;
}
.review-feature.open .review-feature-text { height: auto !important; }
.review-feature-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.review-feature-body p {
  color: var(--text-dim);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 14px;
}
.review-feature-body::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--card));
  transition: opacity 0.3s ease;
}
.review-feature.open .review-feature-body::after { opacity: 0; }
.review-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  color: var(--blue);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.review-toggle-arrow { font-size: 16px; transition: transform 0.2s ease; }
.review-feature.open .review-toggle-arrow { transform: rotate(180deg); }
.review-feature-name {
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text);
}
.review-feature-img-wrap {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  line-height: 0;
}
.review-feature-img-wrap-stacked {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-feature-img {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ */
.faq-container { max-width: 780px; }
.faq-container .section-title { font-size: clamp(40px, 7vw, 64px); }
html:lang(ru) .faq-container .section-title { font-size: clamp(26px, 4.5vw, 42px); }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 700;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}
.faq-q span { color: var(--blue); font-size: 24px; font-weight: 800; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a p { color: var(--text-dim); font-size: 16px; font-weight: 500; padding-bottom: 22px; }
.faq-item.open .faq-a { max-height: 280px; }
.faq-item-lessons.open .faq-a { max-height: 2600px; }
.faq-lessons { padding-bottom: 22px; }
.faq-lessons-module {
  color: var(--text);
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-top: 18px;
  margin-bottom: 10px;
  padding-bottom: 0;
}
.faq-lessons-module:first-child { margin-top: 0; }
.faq-lessons ol {
  list-style: decimal;
  padding-left: 34px;
  margin-bottom: 8px;
}
.faq-lessons ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 8px;
}
.faq-lessons ul li {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  padding-bottom: 6px;
}
.faq-lessons > .faq-lessons-note {
  color: var(--text-dim);
  font-size: 14px;
  font-style: italic;
  padding-bottom: 0;
  margin: 2px 0 8px;
}
.faq-lessons ol li {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  padding-bottom: 6px;
}
.faq-lessons > p { padding-bottom: 0; margin-top: 16px; }

.tg-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding: 22px 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.tg-logo { width: 56px; height: 56px; flex-shrink: 0; }
.tg-text { flex: 1; min-width: 0; }
.tg-title { color: var(--text); font-weight: 800; font-size: 18px; line-height: 1.35; }
.tg-sub { color: var(--text-dim); font-weight: 600; font-size: 14px; margin-top: 2px; }
.tg-btn { padding: 13px 30px; font-size: 16px; white-space: nowrap; }
@media (max-width: 600px) {
  .tg-block { flex-direction: column; text-align: center; }
}

.faq-overview-link {
  display: block;
  text-align: center;
  margin-top: 36px;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.25);
  text-underline-offset: 5px;
}

/* FOOTER */
.footer {
  padding: 32px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  border-top: 1px solid var(--border);
}
.footer-link { color: var(--text-dim); text-decoration: none; }
.footer-link:hover { color: var(--blue); }

html:lang(ru) .subheadline { font-size: clamp(16px, 2.3vw, 24px); max-width: 760px; }

/* Anton has no Cyrillic glyphs — use Oswald for Russian display text */
html:lang(ru) .hero h1,
html:lang(ru) .chart-stat-num {
  font-family: 'Oswald', 'Anton', sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

/* LEGAL PAGE */
.legal-container { max-width: 760px; padding-top: 40px; padding-bottom: 20px; }
.legal-title { margin-bottom: 8px; }
.legal-updated { text-align: center; color: var(--text-dim); font-size: 14px; font-weight: 600; margin-bottom: 48px; }
.legal-container h2 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.legal-container p {
  color: var(--text-dim);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-back {
  display: inline-block;
  margin-top: 32px;
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
}

/* RESPONSIVE */
@media (max-width: 800px) {
  .charts-row { grid-template-columns: 1fr; }
  .workflow-row { flex-direction: column; align-items: stretch; height: auto; }
  .workflow-info { flex: none; padding: 24px; }
  .workflow-img { height: 200px; width: 100%; }
  .review-feature { flex-direction: column; }
  .review-feature-text { flex: none; width: 100%; padding: 24px; }
  .review-feature:not(.open) .review-feature-body { max-height: 230px; }
  .review-feature-img-wrap { flex: none; width: 100%; }
}
@media (max-width: 480px) {
  .badges-row { flex-direction: column; align-items: center; }
}

/* Mobile-only tweaks (RU + EN; desktop untouched) */
.h1-mob { display: none; }
.workflow-head { display: contents; }
.cb { display: none; }
@media (max-width: 600px) {
  .hero { padding-top: 84px; }
  html:lang(en) .hero h1 { font-size: 11vw; white-space: nowrap; margin-bottom: 16px; }
  html:lang(ru) .hero h1 { font-size: clamp(20px, 7.2vw, 40px); white-space: nowrap; margin-bottom: 16px; }
  .video-caption { font-size: 4.4vw; white-space: nowrap; margin-bottom: 18px; }
  .h1-full { display: none; }
  .h1-mob { display: inline; }
  .title-sm { font-size: 4.8vw; line-height: 1.2; margin-bottom: 28px; white-space: nowrap; }
  html:lang(en) .title-sm { font-size: 6.4vw; }
  .workflow-head { display: flex; align-items: center; gap: 10px; }
  .workflow-info .card-icon { width: 36px; height: 36px; font-size: 18px; margin-bottom: 0; flex-shrink: 0; border-radius: 10px; }
  .workflow-info h3 { font-size: 3.6vw; line-height: 1.2; white-space: nowrap; letter-spacing: 0; }
  .workflow-info { padding: 18px; }
  .callout { font-size: clamp(13px, 3.7vw, 16px); line-height: 1.5; padding: 20px 16px; }
  .cb { display: inline; }
  .section-deco {
    width: 320vw;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 55%, transparent 90%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 55%, transparent 90%);
  }
}
