:root {
  --bg: #06111b;
  --bg2: #0a1924;
  --panel: #0e202d;
  --line: rgba(125, 211, 252, .22);
  --line-strong: rgba(125, 211, 252, .48);
  --text: #f3f8fb;
  --muted: #9eb0bc;
  --blue: #2b8ee8;
  --cyan: #62d3ff;
  --amber: #ffbe67;
  --radius: 18px;
  --shadow: 0 26px 70px rgba(0,0,0,.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(850px, calc(100% - 40px)); }
.skip-link { position: fixed; left: 12px; top: -70px; z-index: 1000; background: white; color: black; padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(4, 12, 19, .9);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
}
.topbar-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 9px;
  color: var(--cyan); font-weight: 900; background: rgba(98,211,255,.07);
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: .72rem; }

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background-image: url("assets/hero-f8c.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3,10,16,.98) 0%, rgba(3,10,16,.90) 28%, rgba(3,10,16,.55) 52%, rgba(3,10,16,.08) 76%),
    linear-gradient(0deg, rgba(3,10,16,.35), transparent 48%);
}
.hero:after {
  content: ""; position: absolute; inset: 18px;
  border: 1px solid rgba(120,197,239,.19);
  clip-path: polygon(0 0, 18% 0, 20% 3%, 46% 3%, 48% 0, 100% 0, 100% 100%, 84% 100%, 82% 97%, 20% 97%, 18% 100%, 0 100%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 85px 0; }
.hero-copy { max-width: 670px; }
.system-line { color: #8296a3; letter-spacing: .12em; font-size: .72rem; margin: 0 0 26px; }
.system-line span { color: var(--cyan); }
h1, h2, h3 { line-height: 1.05; margin-top: 0; }
h1 { margin-bottom: 24px; }
h1 span { display: block; font-size: clamp(3.6rem, 7vw, 6.8rem); letter-spacing: -.055em; font-weight: 950; }
h1 .white { color: #fff; }
h1 .blue { color: #2f8ee8; }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -.045em; }
h3 { font-size: 1.28rem; }
.hero-tagline { font-size: clamp(1.15rem, 2vw, 1.55rem); color: #e8eef2; margin: 0; }
.hero-disclosure { margin: 12px 0 0; color: #9abbd2; }
.hero-disclosure b { color: #fff; margin: 0 7px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.micro-disclosure { max-width: 660px; color: #8ea2ae; font-size: .82rem; }
.micro-disclosure strong { color: #c4d1d8; }
.community-badge { width: 110px; margin-top: 28px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); }

.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  text-decoration: none; font-weight: 850; cursor: pointer; transition: .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #031019; background: linear-gradient(135deg, #8ce8ff, #2e94ea); box-shadow: 0 12px 35px rgba(46,148,234,.24); }
.button-secondary, .button-ghost { background: rgba(255,255,255,.045); border-color: var(--line-strong); color: white; }
.button-small { min-height: 41px; padding-inline: 15px; font-size: .88rem; }
.button-large { min-height: 60px; padding-inline: 28px; }

.trust-strip { background: #081722; border-bottom: 1px solid rgba(255,255,255,.06); }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.trust-grid > div { padding: 22px 28px; border-right: 1px solid rgba(255,255,255,.07); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid span { color: var(--muted); font-size: .84rem; }

.section { padding: 100px 0; }
.section-dark { background: linear-gradient(180deg, #0a1924, #07131c); border-block: 1px solid rgba(255,255,255,.06); }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.eyebrow { color: var(--cyan); font-size: .75rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 850; margin: 0 0 14px; }

.feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.feature {
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--shadow);
}
.feature-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr .85fr; }
.feature img { width: 100%; height: 290px; object-fit: cover; }
.feature-wide img { height: 100%; min-height: 390px; }
.feature-copy { padding: 28px; }
.feature-copy span { color: var(--cyan); font-size: .7rem; letter-spacing: .16em; font-weight: 850; }
.feature-copy h3 { margin: 10px 0 12px; }
.feature-copy p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.large-copy { color: #d8e3e9; font-size: 1.17rem; }
.split p:not(.eyebrow) { color: var(--muted); }
.image-panel { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.image-panel img { width: 100%; min-height: 390px; object-fit: cover; }

.referral-box {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px;
  padding: 34px; border: 1px solid var(--line-strong); border-radius: 22px;
  background: linear-gradient(135deg, rgba(17,42,57,.92), rgba(7,20,29,.94)); box-shadow: var(--shadow);
}
.referral-label { display: block; color: var(--muted); font-size: .72rem; letter-spacing: .16em; font-weight: 850; }
.bonus { display: block; color: var(--cyan); margin: 8px 0 14px; font-size: clamp(2.4rem, 5vw, 4.4rem); letter-spacing: -.04em; }
.referral-box p { margin: 0; color: var(--muted); }
.referral-code-panel { padding: 24px; background: rgba(0,0,0,.23); border: 1px solid var(--line); border-radius: 15px; display: flex; flex-direction: column; justify-content: center; }
.referral-code-panel span { color: var(--muted); font-size: .78rem; }
.referral-code-panel code { padding: 14px 0; font-size: 1.25rem; color: #fff; font-weight: 900; }
.copy-button { min-height: 42px; border-radius: 9px; border: 1px solid var(--line-strong); background: rgba(98,211,255,.07); color: white; font-weight: 800; cursor: pointer; }

.cards { display: grid; gap: 20px; }
.cards.two { grid-template-columns: repeat(2,1fr); }
.cards.compact { margin-top: 20px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13,31,43,.75); }
.card p { color: var(--muted); margin-bottom: 0; }

details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 22px 4px; font-weight: 850; }
details p { margin: 0; padding: 0 4px 22px; color: var(--muted); }

.cta-section { padding: 78px 0; background: radial-gradient(circle at 80%, rgba(46,148,234,.15), transparent 30%); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 38px; }
.cta-inner p:last-child { color: var(--muted); }

footer { padding: 44px 0 100px; background: #040a0f; border-top: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 38px; max-height: 48px; object-fit: contain; }
.footer-brand p { margin: 3px 0; color: var(--muted); font-size: .8rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: #bccbd4; text-decoration: none; font-size: .88rem; }
.legal { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.06); }
.legal p { color: #6f828e; font-size: .73rem; max-width: 980px; }

.mobile-cta { display: none; }

@media (max-width: 900px) {
  .hero { min-height: 620px; background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,10,16,.97), rgba(3,10,16,.80) 60%, rgba(3,10,16,.35)); }
  .feature-wide, .split, .referral-box { grid-template-columns: 1fr; }
  .feature-wide img { min-height: 280px; }
  .trust-grid { grid-template-columns: 1fr; padding: 10px 0; }
  .trust-grid > div { padding: 14px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .shell, .narrow { width: min(100% - 28px, 1160px); }
  .topbar .button { display: none; }
  .hero { min-height: 700px; background-position: 63% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,10,16,.97), rgba(3,10,16,.78)), linear-gradient(0deg, rgba(3,10,16,.55), transparent); }
  .hero-content { padding: 62px 0 90px; }
  h1 span { font-size: clamp(3rem, 16vw, 4.5rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .feature-grid, .cards.two { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .footer-grid { flex-direction: column; }
  .mobile-cta {
    display: block; position: fixed; z-index: 35; left: 0; right: 0; bottom: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(4,10,15,.93); border-top: 1px solid var(--line); backdrop-filter: blur(12px);
  }
  .mobile-cta .button { width: 100%; }
}
