:root {
  color-scheme: dark;
  --bg: #05070a;
  --ink: #f7fbff;
  --muted: #a9b4c2;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(9, 16, 26, 0.76);
  --green: #2bf7a1;
  --red: #ff5c7a;
  --blue: #35a7ff;
  --gold: #ffd166;
  --cyan: #34e8ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22vh;
  background: linear-gradient(to bottom, rgba(5, 7, 10, 0), var(--bg));
  z-index: -1;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 32%, rgba(43, 247, 161, 0.1), transparent 28%),
    linear-gradient(90deg, rgba(5, 7, 10, 0.97) 0%, rgba(5, 7, 10, 0.86) 52%, rgba(5, 7, 10, 0.72) 100%),
    url("https://images.unsplash.com/photo-1642790106117-e829e14a795f?auto=format&fit=crop&w=2200&q=80")
      center / cover;
}

.market-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 90%);
}

.topbar {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand,
.topbar__link {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--green);
}

.topbar__link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero__content {
  width: min(1120px, calc(100% - 32px));
  margin: auto auto 7vh;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(330px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 6.4vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(247, 251, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: rgba(247, 251, 255, 0.72);
  font-size: 0.92rem;
}

.social-links span {
  color: var(--muted);
  font-weight: 700;
}

.social-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 247, 161, 0.55);
  background: rgba(43, 247, 161, 0.1);
}

.social-links svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

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

.button--primary {
  background: var(--green);
  color: #06120d;
  box-shadow: 0 18px 44px rgba(43, 247, 161, 0.22);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.portrait-showcase {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.portrait-showcase::before {
  content: "";
  position: absolute;
  inset: 16% -3% 13% 18%;
  border: 1px solid rgba(43, 247, 161, 0.24);
  border-radius: 8px;
  background: rgba(43, 247, 161, 0.03);
  transform: rotate(-2deg);
}

.portrait-showcase::after {
  content: "";
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 74%;
  height: 34%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(43, 247, 161, 0.18), transparent 68%);
  filter: blur(18px);
  opacity: 0.65;
}

.portrait-card {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  height: 560px;
  margin-right: -18px;
}

.portrait-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.56));
}

.portrait-badge {
  position: absolute;
  left: 34px;
  bottom: 58px;
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  background: rgba(4, 7, 12, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.portrait-badge span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portrait-badge strong {
  font-size: 1.05rem;
}

.channels {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 84px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-heading h2,
.trust-band h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.channel-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
}

.channel-card--binary {
  border-top-color: var(--gold);
}

.channel-card--crypto {
  border-top-color: var(--cyan);
}

.channel-card--forex {
  border-top-color: var(--green);
}

.channel-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.channel-card__icon svg {
  width: 25px;
  height: 25px;
}

.channel-card__label {
  margin: 24px 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.channel-card h3 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 0;
}

.channel-card p:not(.channel-card__label) {
  margin: 16px 0 26px;
  color: var(--muted);
  line-height: 1.65;
}

.button--card {
  width: 100%;
  margin-top: auto;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.channel-card--binary .button--card:hover {
  border-color: var(--gold);
}

.channel-card--crypto .button--card:hover {
  border-color: var(--cyan);
}

.channel-card--forex .button--card:hover {
  border-color: var(--green);
}

.final-cta {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 30px;
  border: 1px solid rgba(43, 247, 161, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(43, 247, 161, 0.11), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
}

.final-cta .button {
  flex: 0 0 auto;
}

.trust-band {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.trust-band p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(43, 247, 161, 0.12), transparent 34%),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
}

.video-modal__panel {
  position: relative;
  width: min(920px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(6, 10, 16, 0.96);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.64);
  overflow: hidden;
  transform: translateY(14px) scale(0.98);
  transition: transform 220ms ease;
}

.video-modal.is-open .video-modal__panel {
  transform: translateY(0) scale(1);
}

.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 7, 10, 0.78);
  color: var(--ink);
  cursor: pointer;
}

.video-modal__close svg {
  width: 20px;
  height: 20px;
}

.video-modal__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(43, 247, 161, 0.1), rgba(255, 255, 255, 0.03)),
    #030507;
}

.video-modal__frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-modal__sound {
  position: absolute;
  left: 18px;
  bottom: 18px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(43, 247, 161, 0.4);
  border-radius: 8px;
  background: rgba(5, 7, 10, 0.78);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.video-modal__sound.is-hidden {
  display: none;
}

.video-modal__sound svg {
  width: 18px;
  height: 18px;
}

.video-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.video-modal__footer p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(7, 12, 20, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes lift {
  from {
    transform: scaleY(0.9);
  }

  to {
    transform: scaleY(1);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .channel-card {
    min-height: auto;
  }

  .trust-band {
    grid-template-columns: 1fr;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .hero__content {
    grid-template-columns: 1fr;
    margin: 64px auto 72px;
  }

  .portrait-showcase {
    min-height: auto;
    max-width: 560px;
  }

  .portrait-card {
    height: 520px;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: flex-start;
  }

  .brand {
    max-width: 180px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .portrait-showcase {
    min-height: auto;
  }

  .portrait-card {
    width: 100%;
    height: 430px;
  }

  .portrait-card img {
    object-position: bottom center;
  }

  .portrait-badge {
    left: 16px;
    bottom: 26px;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .channels {
    padding-top: 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta .button {
    width: 100%;
  }

  .site-footer .social-links {
    width: 100%;
  }

  .site-footer .social-links a {
    flex: 1 1 140px;
    justify-content: center;
  }

  .video-modal {
    padding: 12px;
  }

  .video-modal__frame {
    aspect-ratio: 16 / 9;
  }

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

  .video-modal__footer .button {
    width: 100%;
  }
}

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