/* 9777BDT — design system */
:root {
  --bg-deep: #05060a;
  --bg: #0a0c14;
  --bg-elevated: #111322;
  --bg-card: #14182a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0f2f8;
  --text-muted: #9aa3b8;
  --accent: #00c3ff;
  --accent-deep: #0066ff;
  --accent-glow: rgba(0, 195, 255, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --font-sans: "Outfit", system-ui, -apple-system, sans-serif;
  --font-display: "Syne", var(--font-sans);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.55);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --header-offset: 72px;
  --tap-min: 44px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset, 72px) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  min-height: 100dvh;
  min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom, 0);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

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

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--accent-deep);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: min(94%, 1180px);
  margin-inline: auto;
  padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
}

.container--narrow {
  max-width: 720px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0);
  background: rgba(5, 6, 10, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--text);
}

.logo {
  height: 40px;
  width: auto;
}

.brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  position: relative;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transition: width 0.3s var(--ease-out);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  width: 100%;
}

.nav__register {
  display: none;
  margin-top: 0.5rem;
  padding-top: 1rem !important;
  border-top: 1px solid var(--border) !important;
  font-weight: 600 !important;
  color: var(--accent) !important;
}

.nav__register::after {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: var(--tap-min);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 195, 255, 0.15);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
  box-shadow: 0 8px 32px var(--accent-glow);
}

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--accent-glow);
    color: #fff;
  }
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(0, 195, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(0, 195, 255, 0.08);
  color: var(--text);
}

.btn--header {
  flex-shrink: 0;
}

.btn--large {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 102, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0, 195, 255, 0.1), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.lead {
  font-size: clamp(1rem, 2.8vw, 1.1rem);
  color: var(--text-muted);
  max-width: 34ch;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1.75rem;
}

.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero__trust li {
  position: relative;
  padding-left: 1.1rem;
}

.hero__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.hero__visual {
  position: relative;
}

.hero__frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-elevated);
}

.hero__frame img {
  width: 100%;
  vertical-align: middle;
}

/* Stats */
.stats {
  padding: 2.5rem 0;
  border-block: 1px solid var(--border);
  background: rgba(17, 19, 34, 0.5);
}

.stats__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat {
  padding: 0.5rem;
}

.stat__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__suffix {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  margin-left: 0.1em;
}

.stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.section-head {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.section-head__sub {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.bonus {
  padding: clamp(4rem, 10vw, 6rem) 0;
  background: var(--bg);
}

.bonus__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 195, 255, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  }
}

.card--bonus h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.card--bonus p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card__icon {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.features {
  padding: clamp(4rem, 10vw, 6rem) 0;
  background: var(--bg-deep);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem;
  transition: border-color 0.3s;
}

@media (hover: hover) and (pointer: fine) {
  .feature:hover {
    border-color: rgba(0, 195, 255, 0.2);
  }
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* How */
.how {
  padding: clamp(4rem, 10vw, 6rem) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

.how__steps {
  list-style: none;
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.how__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.how__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
}

.how__step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.how__step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FAQ */
.faq {
  padding: clamp(4rem, 10vw, 6rem) 0;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq__item summary {
  display: flex;
  align-items: center;
  min-height: var(--tap-min);
  padding: 0.85rem 1.25rem;
  padding-right: 2.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 195, 255, 0.12);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.25s var(--ease-out);
}

.faq__item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq__item p {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0;
}

/* CTA */
.cta {
  padding: clamp(4rem, 10vw, 5.5rem) 0;
}

.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 195, 255, 0.08)),
    var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.cta__content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.35rem;
}

.cta__content p {
  color: var(--text-muted);
  max-width: 34ch;
}

/* Footer */
.footer {
  padding: 3rem 0 max(2.5rem, env(safe-area-inset-bottom, 0px));
  background: #03040a;
  border-top: 1px solid var(--border);
}

.footer__inner {
  text-align: center;
}

.footer__logo {
  height: 30px;
  width: auto;
  margin-inline: auto;
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

.footer__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  padding: 0.25rem 0.5rem;
  margin: -0.25rem -0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  touch-action: manipulation;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .bonus__grid,
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hero__visual {
    order: -1;
  }

  .brand__text {
    display: none;
  }
}

@media (max-width: 768px) {
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(5, 6, 10, 0.97);
  }

  .nav-toggle {
    display: flex;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .nav {
    position: fixed;
    top: var(--header-offset, 72px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1.25rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    max-height: min(70vh, calc(100dvh - var(--header-offset, 72px) - 8px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: rgba(10, 12, 20, 0.99);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--border);
    transform: translate3d(0, -120%, 0);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.3s, visibility 0.3s;
  }

  .nav.is-open {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: var(--tap-min);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-of-type {
    border-bottom: none;
  }

  .nav__register {
    display: flex;
  }

  .nav a::after {
    display: none;
  }

  .btn--header {
    display: none;
  }

  .lead {
    max-width: none;
  }

  .cta__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta__content p {
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .bonus__grid,
  .features__grid {
    grid-template-columns: 1fr;
  }

  .stats__row {
    gap: 1rem 0.75rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .stats__row {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 0.5rem;
  }

  .stat__label {
    font-size: 0.8rem;
  }
}
