:root {
  --ink: #07080b;
  --ink-2: #0c0e14;
  --panel: rgba(18, 20, 27, 0.88);
  --edge: rgba(255, 255, 255, 0.08);
  --text: #f2f3f7;
  --muted: #969caf;
  --red: #ff3b3b;
  --gold: #ffd166;
  --violet: #6f7cff;
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.045;
  background-image: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 14px 40px;
  background: linear-gradient(180deg, rgba(7, 8, 11, 0.92), rgba(7, 8, 11, 0.35) 70%, transparent);
  backdrop-filter: blur(8px);
}

.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.04em; }
.nav-brand img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(255, 60, 60, 0.35)); }

.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  color: #0a0b0f;
  background: linear-gradient(180deg, #fff, #ffd8d8);
  box-shadow: 0 10px 30px rgba(255, 60, 60, 0.22);
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 420px;
  align-items: center;
  gap: 40px;
  padding: 140px 60px 90px;
  perspective: 1400px;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: -6% -4% -10% -4%;
  background-image: url("./assets/hero.jpg");
  background-size: cover;
  background-position: 74% 42%;
  transform: translateZ(-120px) scale(1.06);
  filter: saturate(1.05) contrast(1.03);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 25% 40%, rgba(7, 8, 11, 0.25), rgba(7, 8, 11, 0.92) 70%),
    linear-gradient(180deg, rgba(7, 8, 11, 0.7) 0%, rgba(7, 8, 11, 0.35) 35%, var(--ink) 96%);
}

.hero-copy { position: relative; z-index: 2; max-width: 720px; }

.eyebrow {
  margin: 0 0 18px;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffb3b3;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 .line { display: block; }
.hero h1 .accent {
  background: linear-gradient(92deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateZ(60px);
}

.lede {
  margin: 26px 0 0;
  max-width: 540px;
  color: #c9ced9;
  font-size: 16.5px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 110ms ease, filter 140ms ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  color: #0a0b0f;
  background: linear-gradient(180deg, #fff 0%, #ffd0d0 100%);
  box-shadow: 0 18px 40px rgba(255, 60, 60, 0.22);
}
.btn-primary:hover { filter: brightness(1.05); }

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--edge);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-full { width: 100%; }

.hero-stats {
  display: flex;
  gap: 42px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 26px; letter-spacing: -0.02em; }
.hero-stats span { font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* floating 3d card */
.hero-card {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  animation: float 7s ease-in-out infinite;
}

.hero-card-inner {
  transform: rotateY(-14deg) rotateX(6deg);
  background: linear-gradient(160deg, rgba(24, 26, 35, 0.92), rgba(12, 13, 18, 0.95));
  border: 1px solid var(--edge);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-card-logo img { width: 100%; max-width: 260px; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55)); }

.hero-card-meta { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 12.5px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 12px #4ade80; }

.hero-card-bar { margin: 16px 0 8px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.hero-card-bar i { display: block; height: 100%; width: 82%; border-radius: 99px; background: linear-gradient(90deg, var(--red), var(--gold)); }

.hero-card-foot { display: flex; justify-content: space-between; font-size: 12px; color: #7f8598; }

@keyframes float {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(10px); }
}

/* ---------------------------------------------------------------- sections */
section { position: relative; padding: 110px 60px; }
.section-title { margin: 0; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.03em; line-height: 1.1; }
.section-sub { margin: 16px 0 0; max-width: 640px; color: var(--muted); }

.world { background: linear-gradient(180deg, var(--ink) 0%, #0b0d13 100%); }

.world-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.tile {
  position: relative;
  background: linear-gradient(165deg, rgba(24, 26, 35, 0.9), rgba(12, 13, 18, 0.9));
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 210px;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}
.tile::after {
  content: "";
  position: absolute;
  inset: -40% 40% 60% -20%;
  background: radial-gradient(closest-side, rgba(255, 60, 60, 0.22), transparent);
  opacity: 0;
  transition: opacity 240ms ease;
}
.tile:hover { transform: translateY(-4px); border-color: rgba(255, 120, 120, 0.35); }
.tile:hover::after { opacity: 1; }

.tile-wide { grid-column: span 2; }
.tile-tall { min-height: 260px; }

.tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffb3b3;
  border: 1px solid rgba(255, 95, 109, 0.35);
  background: rgba(255, 95, 109, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
}

.tile h3 { margin: 16px 0 8px; font-size: 21px; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* how */
.how { background: #0b0d13; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  border-top: 1px solid var(--edge);
  padding-top: 22px;
  position: relative;
}

.step-num {
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.steps h3 { margin: 12px 0 8px; font-size: 20px; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* join */
.join {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 60px;
  align-items: start;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(111, 124, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #0b0d13, var(--ink));
}

.join-points { margin: 26px 0 0; padding-left: 18px; color: #c3c8d4; }
.join-points li { margin-bottom: 8px; }

.card {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
}

.form-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: rgba(255, 255, 255, 0.04); padding: 5px; border-radius: 12px; margin-bottom: 18px; }

.form-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  padding: 9px;
  border-radius: 9px;
  cursor: pointer;
}
.form-tab.is-active { background: rgba(255, 95, 109, 0.14); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 95, 109, 0.35); }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 13px; }
.field span { font-size: 12.5px; color: var(--muted); }
.field input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--edge);
  border-radius: 11px;
  color: var(--text);
  font: inherit;
  padding: 11px 13px;
  outline: none;
}
.field input:focus { border-color: rgba(255, 95, 109, 0.6); background: rgba(255, 95, 109, 0.07); }

.hint { min-height: 18px; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.hint.is-error { color: #ff8a94; }
.hint.is-ok { color: #7ee2a8; }

.linkish {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  padding: 0;
  margin-top: 6px;
  cursor: pointer;
  text-decoration: underline dotted;
}
.linkish:hover { color: var(--text); }

/* foot */
.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 60px 40px 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.foot img { width: 60px; opacity: 0.9; }
.foot p { margin: 0; }
.foot-meta { font-size: 12px; opacity: 0.7; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: 130px 28px 70px; }
  .hero-card { display: none; }
  section { padding: 80px 28px; }
  .world-grid, .steps { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .join { grid-template-columns: 1fr; gap: 34px; }
  .nav { padding: 12px 20px; }
  .nav-links { display: none; }
}

.step-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0a0b0f;
  background: linear-gradient(180deg, #fff, #ffd8d8);
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: 0 12px 28px rgba(255, 60, 60, 0.18);
}
.step-dl:hover { filter: brightness(1.05); }
.step-dl [data-download-note] { font-weight: 500; color: #6b5560; }