/* ── Variables ──────────────────────────────────────────── */
:root {
  --bg: #080808;
  --bg-card: #0e0e0e;
  --bg-subtle: #0c0c0c;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --red: #cc1111;
  --red-glow: rgba(204, 17, 17, 0.3);
  --red-subtle: rgba(204, 17, 17, 0.06);
  --red-mid: rgba(204, 17, 17, 0.15);
  --white: #ffffff;
  --grey: #a8a8a8;
  --grey-light: #d0d0d0;
  --dim: #444444;
  --border: rgba(255, 255, 255, 0.07);
  --border-red: rgba(204, 17, 17, 0.25);

  --font-display: 'Metal Mania', serif;
  --font-body: 'Syne', sans-serif;

  --max-w: 1200px;
  --section-pad: clamp(72px, 10vw, 120px) clamp(20px, 5vw, 80px);
  --header-h: 68px;
}

/* ── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ── Utility ────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.overline {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  color: var(--white);
  line-height: 1.05;
}

.section-title span {
  color: var(--red);
}

.body-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--grey);
  line-height: 1.8;
}

.red-line {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
  margin: 20px 0;
}

/* ── Scroll-hidden ──────────────────────────────────────── */
.reveal {
  opacity: 0;
}

/* ════════════════════════════════════════════════════════
   HEADER / NAV
════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(8, 8, 8, 0.95);
  box-shadow: 0 1px 32px rgba(0, 0, 0, 0.5);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 160px;
  height: 44px;
  overflow: hidden;
  transition: opacity 0.2s;
}

.header-logo:hover {
  opacity: 0.8;
}

.header-logo-img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.2) contrast(1.1);
  mask-image: linear-gradient(to bottom, transparent 0%, black 38%, black 78%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 38%, black 78%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-composite: source-in;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
  margin-left: 8px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.25s;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  margin-left: auto;
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.25s, box-shadow 0.25s;
  flex-shrink: 0;
}

.header-cta:hover {
  background: var(--red);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.burger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 10px 0 30px;
  overflow: hidden;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  pointer-events: none;
}

.mobile-nav.open {
  max-height: 500px;
  opacity: 1;
  pointer-events: all;
}



.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  /* Темніший колір для кращої видимості меню */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 95;
  /* Нижче за хедер (100), але вище за решту контенту */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mob-link {
  padding: 14px clamp(20px, 4vw, 60px);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.2s, padding-left 0.2s;
}

.mob-link:hover {
  color: var(--white);
  padding-left: calc(clamp(20px, 4vw, 60px) + 8px);
}

.mob-cta {
  margin: 12px clamp(20px, 4vw, 60px) 0;
  padding: 14px 20px;
  border: 1px solid var(--red);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.25s;
}

.mob-cta:hover {
  background: var(--red);
}

/* ════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
.section-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 20px) 20px 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: transparent;
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: transparent;
  bottom: -80px;
  right: -60px;
}

@keyframes orbDrift1 {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(60px, 40px) scale(1.1);
  }
}

@keyframes orbDrift2 {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(-40px, -50px) scale(1.15);
  }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 580px;
}

.hero-overline {
  animation: fadeSlideUp 0.7s ease 0.1s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7.5vw, 100px);
  line-height: 0.93;
  color: var(--white);
  margin-top: 12px;
  animation: fadeSlideUp 0.7s ease 0.25s both;
}

.hero-title span {
  color: var(--white);
}

.hero-title .red-line {
  animation: fadeSlideUp 0.7s ease 0.4s both;
}

.hero-tagline {
  font-size: 16px;
  color: var(--grey-light);
  max-width: 420px;
  line-height: 1.6;
  animation: fadeSlideUp 0.7s ease 0.45s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.7s ease 0.6s both;
}

.btn-primary {
  display: inline-block;
  padding: 15px 36px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  background: #e01212;
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  display: inline-block;
  padding: 15px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--grey-light);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  animation: fadeSlideUp 0.7s ease 0.75s both;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dim);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* Hero visual — real logo */
.hero-visual {
  flex-shrink: 0;
  position: relative;
  width: clamp(300px, 46vw, 620px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  animation: fadeIn 1s ease 0.5s both;
}

#implosion-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180%;
  height: 180%;
  pointer-events: none;
  z-index: 0;
  /* Fade out edges and exact center */
  mask-image: radial-gradient(circle, transparent 8%, black 30%, black 80%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, transparent 8%, black 30%, black 80%, transparent 100%);
}


.hero-logo-visual {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(320px, 40vw, 580px);
  animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-15px) scale(1.02);
  }
}

.hero-logo-img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 28px rgba(204, 17, 17, 0.25)) brightness(1.15) contrast(1.2);
  transition: filter 0.4s;
  mask-image: linear-gradient(to bottom, transparent 0%, black 40%, black 80%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 40%, black 80%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  transform: scale(1.4);
  /* scale up to make the word larger within the radial mask */
}

.hero-logo-img:hover {
  filter: drop-shadow(0 0 42px rgba(204, 17, 17, 0.45)) brightness(1.2) contrast(1.2);
}



@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ── Sidebar layout (quote → after) ────────────────────── */
.sidebar-layout {
  display: flex;
  align-items: flex-start;
}

.sidebar-logo {
  width: 480px;
  flex-shrink: 0;
  position: sticky;
  top: var(--header-h);
  align-self: flex-start;
  padding: clamp(20px, 3vw, 48px) clamp(16px, 2vw, 28px) clamp(20px, 3vw, 48px) clamp(20px, 3vw, 60px);
  will-change: transform;
}

.sidebar-logo .hero-logo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.hero-logo-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-sections {
  flex: 1;
  min-width: 0;
}

@media (max-width: 1100px) {
  .sidebar-logo {
    width: 320px;
  }
}

@media (max-width: 767px) {
  .sidebar-layout {
    display: block;
  }

  .sidebar-logo {
    display: none;
  }

  .hero-video {
    width: auto;
    height: 140%;
    object-fit: cover;
    object-position: center;
  }
}

/* ── Quote ──────────────────────────────────────────────── */
.section-quote {
  padding: var(--section-pad);
  text-align: center;
}

.quote-block {
  position: relative;
  display: inline-block;
  max-width: 800px;
  padding-left: 28px;
  text-align: left;
}

.quote-border {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), transparent);
}

.quote-text {
  font-family: var(--font-body);
  font-size: clamp(17px, 2.2vw, 22px);
  font-style: italic;
  color: #d8d8d8;
  line-height: 1.8;
}

/* ── Ticker ─────────────────────────────────────────────── */
.section-ticker {
  padding: 60px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.image-ticker {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ticker-track {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.ticker-track img {
  height: clamp(80px, 12vw, 160px);
  width: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1), border-color 0.4s;
  filter: grayscale(20%) brightness(0.9);
}

.ticker-track img:hover {
  transform: scale(1.08) translateY(-5px);
  border-color: var(--red);
  filter: grayscale(0%) brightness(1.1);
  z-index: 2;
}

/* Scroll Animations */
.track-ltr {
  animation: scroll-ltr 30s linear infinite;
  animation-play-state: paused;
}

.track-rtl {
  animation: scroll-rtl 30s linear infinite;
  animation-play-state: paused;
}

.ticker-ready .track-ltr,
.ticker-ready .track-rtl {
  animation-play-state: running;
}

@keyframes scroll-ltr {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes scroll-rtl {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.image-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-center-text {
  text-align: left;
  padding: 0 20px;
}

.ticker-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-light);
}

@media (max-width: 767px) {
  .section-ticker {
    padding: 40px 0;
    gap: 30px;
  }

  .ticker-track {
    gap: 1px;
  }

  .ticker-track img {
    height: clamp(120px, 18vw, 240px);
  }
}


/* ── For Whom ───────────────────────────────────────────── */
.section-for-whom {
  padding: var(--section-pad);
}

.bullet-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--grey);
  max-width: 680px;
  padding: 14px 18px;
  border: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}

.bullet-item:hover {
  border-color: var(--border-red);
  background: var(--red-subtle);
}

.bullet-arrow {
  color: var(--red);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Difference ─────────────────────────────────────────── */
.section-difference {
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}


.diff-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.diff-card {
  padding: 36px 28px;
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  border-bottom: 1px solid var(--border);
}

.diff-card:not(:last-child) {
  border-right: 1px solid var(--border);
}

.diff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.diff-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
}

.diff-card:hover::after {
  opacity: 0;
}

.diff-card:hover {
  background: transparent;
}

.diff-num {
  font-family: var(--font-display);
  font-size: 52px;
  color: rgba(204, 17, 17, 0.45);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.4s ease, transform 0.4s ease;
  text-shadow: 0 0 15px rgba(204, 17, 17, 0.2);
}

.diff-card:hover .diff-num {
  color: rgba(204, 17, 17, 0.9);
  transform: scale(1.05);
}

.diff-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.1;
}

.diff-title span {
  color: var(--red);
}

@media (max-width: 900px) {
  .diff-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Get ────────────────────────────────────────────────── */
.section-get {
  padding: var(--section-pad);
}

/* ── After ──────────────────────────────────────────────── */
.section-after {
  padding: var(--section-pad);
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.after-watermark {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(160px, 20vw, 280px);
  color: rgba(204, 17, 17, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Ranks grid */
.ranks-grid {
  display: flex;
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.rank-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 12px;
  border-right: 1px solid var(--border);
  text-align: center;
  transition: background 0.3s;
  position: relative;
}

.rank-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-mid), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.rank-item:hover::before {
  opacity: 1;
}

.rank-item:hover {
  background: var(--red-subtle);
}

.rank-item:last-child {
  border-right: none;
}

.rank-icon {
  font-size: 14px;
  color: var(--red);
  opacity: 0.6;
  margin-bottom: 4px;
}

.rank-name {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--white);
  letter-spacing: 1px;
}

.rank-desc {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--dim);
  text-align: center;
}

@media (max-width: 600px) {
  .ranks-grid {
    flex-direction: column;
  }

  .rank-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .rank-item:last-child {
    border-bottom: none;
  }
}

/* ── FAQ ────────────────────────────────────────────────── */
.section-faq {
  padding: var(--section-pad);
}

.section-faq .red-line {
  margin-top: 15px;
}

.faq-list {
  margin-top: 32px;
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--red);
}

.faq-toggle {
  flex-shrink: 0;
  font-size: 22px;
  color: var(--red);
  line-height: 1;
  transition: transform 0.3s;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--red-subtle);
}

.faq-answer {
  overflow: hidden;
  height: 0;
}

.faq-answer p {
  padding-bottom: 22px;
}

/* ── Support ────────────────────────────────────────────── */
.section-closing-quote {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 80px);
  text-align: center;
  border-top: 1px solid var(--border);
}

.closing-quote-text {
  max-width: 100%;
  margin: 0;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.5;
  color: var(--white);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-support {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 80px);
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.support-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tg-icon {
  width: 28px;
  height: 28px;
  color: var(--red);
  flex-shrink: 0;
}

.support-text {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-top: 36px !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.support-text svg {
  width: 22px;
  height: 22px;
  color: var(--red);
  flex-shrink: 0;
}

.btn-ghost {
  display: inline-block;
  padding: 11px 28px;
  border: 1px solid var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.25s, box-shadow 0.25s;
}

.btn-ghost:hover {
  background: var(--red);
}

/* ── Register ───────────────────────────────────────────── */
.section-register {
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}

.register-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.reg-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: transparent;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.register-title {
  text-align: center;
  margin-top: 10px;
}

.register-sub {
  text-align: center;
  max-width: 420px;
  margin: 0 auto 20px;
  font-size: 14px;
}

.register-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey);
}

.form-optional {
  color: var(--dim);
  text-transform: none;
  letter-spacing: 0;
}

.form-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 15px 18px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  width: 100%;
}

.form-input::placeholder {
  color: var(--dim);
}

.form-input:focus {
  background: rgba(204, 17, 17, 0.04);
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}

.btn-submit {
  margin-top: 8px;
  padding: 18px;
  background: var(--red);
  border: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  cursor: pointer;
  width: 100%;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 60%);
}

.btn-submit:hover {
  background: #e01212;
  transform: translateY(-1px);
}

/* ── Price Block ────────────────────────────────────────── */
.price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  margin-bottom: 4px;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.price-old {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--dim);
  text-decoration: line-through;
}

.price-now {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 72px);
  color: var(--white);
  line-height: 1;
}

.price-discount {
  align-self: flex-start;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 9px;
  border-radius: 4px;
  line-height: 1;
  margin-top: 4px;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.price-secure {
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--dim);
  margin-top: 12px;
  letter-spacing: 0.5px;
}

/* ── Final Quote ────────────────────────────────────────── */
.section-final-quote {
  padding: var(--section-pad);
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  position: relative;
  overflow: hidden;
}

.section-final-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
}

.final-quote-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 44px);
  color: var(--white);
  line-height: 1.2;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.btn-final-cta {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 48px;
  border: 1px solid var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
  position: relative;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
}

.btn-final-cta:hover {
  background: var(--red);
  transform: translateY(-2px);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  padding: 40px clamp(20px, 5vw, 80px) 28px;
  border-top: 1px solid var(--border);
}

.footer-contacts {
  max-width: var(--max-w);
  margin: 0 auto 20px;
  text-align: center;
}

.footer-contact-line {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.footer-contact-link {
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-link:hover {
  color: var(--red);
}

.footer-legal-links {
  max-width: var(--max-w);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.5px;
  padding: 0;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.footer-link-btn:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

.footer-sep {
  font-size: 11px;
  color: var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.footer-logo-img {
  width: 120px;
  height: 28px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-logo-img:hover {
  opacity: 1;
}

.footer-text {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 1px;
}

.footer-tg {
  color: var(--dim);
  transition: color 0.2s;
}

.footer-tg:hover {
  color: var(--red);
}

/* ── Legal modals ── */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.legal-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.legal-modal-content {
  position: relative;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 4px;
  width: min(700px, calc(100vw - 40px));
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 40px 36px 36px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.legal-modal.is-open .legal-modal-content {
  transform: translateY(0);
}

.legal-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dim);
  font-size: 24px;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.legal-modal-close:hover {
  color: var(--red);
}

.legal-modal-title {
  font-family: var(--font-head);
  font-size: clamp(18px, 3vw, 24px);
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.legal-modal-body h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 24px 0 8px;
}

.legal-modal-body h3:first-child {
  margin-top: 0;
}

.legal-modal-body p,
.legal-modal-body li {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-modal-body ul {
  padding-left: 20px;
  margin-bottom: 8px;
}

.legal-modal-body a {
  color: var(--red);
  text-decoration: none;
}

.legal-modal-body a:hover {
  text-decoration: underline;
}

/* ── Section background photos ──────────────────────────── */
.section-for-whom,
.section-difference,
.section-get {
  position: relative;
}

.section-for-whom>.container,
.section-difference>.container,
.section-get>.container {
  position: relative;
  z-index: 1;
}

.section-for-whom::before,
.section-difference::before,
.section-get::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 25%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 25%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.section-for-whom::before {
  background-image: url('images/178.webp');
}

.section-difference::before {
  background-image: url('images/IMG_1774.webp');
}

.section-get::before {
  background-image: url('images/%D0%B3%D0%B3%D0%B3.webp');
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .sidebar-logo {
    width: 320px;
  }
}

@media (max-width: 900px) {
  .header-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    align-items: center;
    max-width: 100%;
  }

  .hero-tagline {
    margin: 0 auto;
  }

  .hero-stats {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 450px;
    height: clamp(300px, 50vw, 450px);
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .support-inner {
    flex-direction: column;
    text-align: center;
  }

  .faq-question {
    font-size: 14px;
  }

  .register-form {
    max-width: 100%;
  }

  .hero-stats {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
  }

  .stat-divider {
    display: none;
  }

  .stat {
    min-width: 80px;
  }

  .footer-contacts {
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 24px;
  }

  .footer-logo-img {
    margin: 0 auto;
  }

  .legal-modal-content {
    padding: 32px 20px 24px;
  }
}

@media (max-width: 480px) {

  .hero-overline,
  .hero-title,
  .section-hero .red-line {
    display: none;
  }

  .hero-visual {
    height: 280px;
    margin-bottom: 0;
    display: flex;
    margin-top: 0;
  }

  .hero-logo-visual {
    width: 270px;
  }


  #implosion-canvas {
    width: 180%;
    height: 180%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 16px;
  }

  .final-quote-text {
    font-size: 24px;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .section-final-quote {
    padding-left: 20px;
    padding-right: 20px;
  }

  .diff-num {
    font-size: 32px;
  }

  .btn-submit {
    font-size: 18px;
  }

  .section-title {
    font-size: 32px;
  }

  .overline {
    letter-spacing: 3px;
    font-size: 9px;
  }

  .container {
    padding: 0 20px;
  }

  .section-pad {
    --section-pad: 60px 20px;
  }
}

@media (max-width: 360px) {
  .hero-stats {
    gap: 10px;
  }

  .stat-num {
    font-size: 20px;
  }

  .section-title {
    font-size: 26px;
  }

  .btn-submit {
    font-size: 16px;
  }
}

@media (max-height: 700px) and (orientation: landscape) {
  .section-hero {
    height: auto;
    min-height: 100vh;
  }
}

/* ── Success Payment Modal ───────────────────────────────── */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.success-modal.active {
  opacity: 1;
  pointer-events: all;
}

.success-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.success-modal-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 480px;
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid rgba(204, 17, 17, 0.3);
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(204, 17, 17, 0.15);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.success-modal.active .success-modal-content {
  transform: scale(1);
}

.success-modal-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(204, 17, 17, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.success-icon-wrap {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.success-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(204, 17, 17, 0.1);
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(204, 17, 17, 0.4);
}

.success-check {
  width: 48px;
  height: 48px;
  stroke: var(--red);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-check-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: var(--red);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-check-kick {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.success-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.success-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--grey);
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.success-details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 20px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.detail-label {
  color: var(--dim);
}

.detail-value {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
}

.btn-success-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  padding: 15px 32px;
  width: 100%;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(204, 17, 17, 0.3);
}

.btn-success-cta:hover {
  background: #e01212;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(204, 17, 17, 0.5);
}

.success-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: var(--dim);
  font-size: 32px;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.success-modal-close:hover {
  color: var(--white);
}

/* Spinner for Submit Button Loading state */
.btn-submit.loading {
  pointer-events: none;
  color: transparent !important;
}

.btn-submit.loading::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  top: 50%;
  left: 50%;
  margin-top: -12px;
  margin-left: -12px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}