/* ═══════════════════════════════════════════════
   RPG CAPITAL — Landing Page
   Fonts: Bebas Neue (display) + Plus Jakarta Sans
   ═══════════════════════════════════════════════ */

:root {
  --blue:   #1755ff;
  --blue2:  #4d8aff;
  --blue3:  #a8c8ff;
  --dark:   #04091a;
  --ink:    #0d1f3c;
  --ink2:   #2a3d5e;
  --muted:  #6b7a99;
  --faint:  #9aa5bf;
  --border: #e0e8f5;
  --bg:     #f4f6fc;
  --fb: 'Plus Jakarta Sans', sans-serif;
  --fd: 'Bebas Neue', sans-serif;
}

/* ── Reset ───────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0 }
html { scroll-behavior:smooth }
body {
  font-family:var(--fb);
  background:#fff;
  color:var(--ink);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
img,video { display:block; max-width:100% }
a { text-decoration:none; color:inherit }
button { cursor:pointer; border:none; background:none; font-family:inherit }
input { font-family:inherit }

/* ══════════════════════════════════════════════
   SPLASH
   ══════════════════════════════════════════════ */
#splash {
  position:fixed;
  inset:0;
  z-index:9999;
  background:#000;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
#splash video {
  position:absolute;
  inset:0;
  width:100%; height:100%;
  object-fit:cover;
}
.splash-veil {
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.28);
}
.splash-body {
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.splash-body img {
  width:120px;
  height:auto;
  filter: drop-shadow(0 0 28px rgba(77,138,255,.8))
          drop-shadow(0 0 60px rgba(23,85,255,.4));
  animation: logoReveal 1.1s cubic-bezier(.22,1,.36,1) .2s both;
}
.splash-bar {
  position:absolute;
  bottom:0; left:0;
  height:3px;
  width:0;
  background:linear-gradient(90deg,var(--blue),var(--blue2),var(--blue3));
  box-shadow:0 0 12px rgba(23,85,255,.6);
  animation:barFill 3.4s linear .2s forwards;
}

@keyframes logoReveal {
  from { opacity:0; transform:scale(.85) }
  to   { opacity:1; transform:scale(1) }
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(14px) }
  to   { opacity:1; transform:translateY(0) }
}
@keyframes barFill { to { width:100% } }

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
  position:relative;
  min-height:calc(100svh - 24px);
  overflow:hidden;
  /* Rounded hero with glass edge */
  margin:12px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 8px 48px rgba(0,0,0,.35);
}

/* City video — crystal clear, full bleed */
.hero-video {
  position:absolute;
  inset:0;
  width:100%; height:100%;
  object-fit:cover;
  z-index:0;
}

/* Left-side scrim only so left text reads, right video stays clear */
.hero-overlay {
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(
    to right,
    rgba(4,9,26,.68) 0%,
    rgba(4,9,26,.42) 32%,
    rgba(4,9,26,.08) 55%,
    transparent 68%
  );
}

/* Inner layout: text left | card right */
.hero-inner {
  position:relative;
  z-index:3;
  min-height:100svh;
  display:flex;
  align-items:center;
  max-width:1300px;
  margin:0 auto;
  padding:0 56px;
  gap:0;
}

/* ── Hero left ──────────────────────────────── */
.hero-left {
  flex:1;
  color:#fff;
  padding:80px 0 120px;
}

.hero-logo {
  height:40px;
  width:auto;
  margin-bottom:36px;
  filter:drop-shadow(0 0 14px rgba(77,138,255,.5));
}

.hero-hl {
  font-family:var(--fd);
  font-size:clamp(80px,10vw,132px);
  line-height:.9;
  letter-spacing:.02em;
  margin-bottom:24px;
  text-transform:uppercase;
}
.hero-hl span { color:var(--blue2) }

.hero-tagline {
  font-size:clamp(14px,1.4vw,17px);
  color:rgba(255,255,255,.65);
  line-height:1.7;
  margin-bottom:36px;
  max-width:380px;
}

.hero-pills {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.pill {
  display:flex;
  align-items:center;
  gap:7px;
  padding:9px 16px;
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.2);
  border-radius:50px;
  font-size:13px;
  font-weight:600;
  color:#fff;
}
.pill svg {
  width:13px; height:13px;
  stroke:var(--blue2);
  fill:none;
  stroke-width:2.2;
  flex-shrink:0;
}

/* ── Hero right (form card) ─────────────────── */
.hero-right {
  width:430px;
  flex-shrink:0;
  padding:40px 0 80px;
  align-self:stretch;
  display:flex;
  align-items:center;
}

/* ── THE CARD ───────────────────────────────── */
.form-card {
  width:100%;
  background:#fff;
  border-radius:24px;
  box-shadow:
    0 40px 100px rgba(0,0,0,.3),
    0 8px 30px rgba(0,0,0,.12);
  overflow:hidden;
}

.card-logo {
  display:block;
  height:38px;
  width:auto;
  margin:32px auto 18px;
}

.card-title {
  font-size:26px;
  font-weight:800;
  color:var(--ink);
  letter-spacing:-.022em;
  line-height:1.18;
  text-align:center;
  padding:0 32px;
  margin-bottom:6px;
}
.card-sub {
  font-size:12.5px;
  color:var(--muted);
  text-align:center;
  padding:0 32px;
  margin-bottom:20px;
  letter-spacing:.015em;
}

/* Founder bubble */
.founder-row {
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:0 28px;
  margin-bottom:22px;
}
.founder-av {
  width:48px; height:48px;
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--fd);
  font-size:17px;
  letter-spacing:.06em;
  color:#fff;
  flex-shrink:0;
  box-shadow:0 4px 16px rgba(23,85,255,.3);
  border:2px solid rgba(255,255,255,.6);
}
.founder-bubble {
  position:relative;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:10px 10px 10px 4px;
  padding:10px 12px;
  flex:1;
}
.founder-bubble::before {
  content:'';
  position:absolute;
  left:-7px; top:14px;
  border:5px solid transparent;
  border-right-color:var(--border);
}
.founder-bubble::after {
  content:'';
  position:absolute;
  left:-5px; top:15px;
  border:4px solid transparent;
  border-right-color:var(--bg);
}
.founder-bubble p {
  font-size:11.5px;
  color:var(--ink2);
  line-height:1.55;
  margin-bottom:4px;
  font-style:italic;
}
.founder-bubble small {
  font-size:10px;
  color:var(--blue);
  font-weight:700;
  letter-spacing:.04em;
}

/* Form fields — underline style */
form { padding:0 28px 32px }

.f-field {
  border-bottom:1.5px solid var(--border);
  margin-bottom:18px;
  padding-bottom:4px;
  transition:border-color .22s;
}
.f-field:focus-within { border-bottom-color:var(--blue) }

.f-field label {
  display:block;
  font-size:10px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--faint);
  margin-bottom:4px;
}
.f-field input {
  width:100%;
  border:none;
  background:transparent;
  padding:6px 0;
  font-size:14.5px;
  font-weight:500;
  color:var(--ink);
  outline:none;
}
.f-field input::placeholder { color:#c0cde4 }

.card-btn {
  width:100%;
  padding:15px;
  background:linear-gradient(130deg,var(--blue) 0%,var(--blue2) 100%);
  color:#fff;
  border-radius:10px;
  font-family:var(--fb);
  font-size:15px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  box-shadow:0 6px 28px rgba(23,85,255,.38);
  transition:all .25s cubic-bezier(.22,1,.36,1);
  letter-spacing:.02em;
  margin-bottom:12px;
}
.card-btn svg { width:15px; height:15px; stroke:#fff; fill:none; stroke-width:2.2; flex-shrink:0 }
.card-btn:hover { transform:translateY(-2px); box-shadow:0 12px 40px rgba(23,85,255,.5) }
.card-btn:active { transform:translateY(0) }

.card-fine {
  font-size:11px;
  color:var(--faint);
  text-align:center;
  line-height:1.5;
}

/* Form success */
.form-success {
  text-align:center;
  padding:32px 24px 36px;
  animation:fadeUp .5s ease;
}
.success-icon {
  width:56px; height:56px;
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  margin:0 auto 14px;
  box-shadow:0 0 28px rgba(23,85,255,.3);
}
.form-success h3 { font-size:20px; font-weight:800; color:var(--ink); margin-bottom:6px }
.form-success p { font-size:13.5px; color:var(--muted) }


/* ══════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════ */
.steps {
  background:#fff;
  padding:80px 24px;
  border-top:1px solid var(--border);
}
.steps-wrap {
  max-width:660px;
  margin:0 auto;
}

.section-label {
  display:block;
  font-size:11px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--blue);
  margin-bottom:10px;
}
.section-title {
  font-size:clamp(24px,3vw,32px);
  font-weight:800;
  color:var(--ink);
  letter-spacing:-.025em;
  line-height:1.15;
  margin-bottom:10px;
}
.section-sub {
  font-size:14.5px;
  color:var(--muted);
  line-height:1.7;
  margin-bottom:40px;
  max-width:500px;
}

.steps-list {
  display:flex;
  flex-direction:column;
  gap:14px;
}

.step-card {
  display:flex;
  align-items:flex-start;
  gap:18px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:22px 20px;
  box-shadow:0 2px 16px rgba(0,0,0,.06);
  transition:box-shadow .25s, border-color .25s;
}
.step-card:hover {
  box-shadow:0 8px 32px rgba(23,85,255,.1);
  border-color:rgba(23,85,255,.22);
}

.step-badge {
  width:38px; height:38px;
  background:var(--blue);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:14px; font-weight:800;
  color:#fff; flex-shrink:0;
  box-shadow:0 4px 14px rgba(23,85,255,.32);
}

.step-icon-wrap {
  width:46px; height:46px;
  background:rgba(23,85,255,.07);
  border:1px solid rgba(23,85,255,.15);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.step-icon-wrap svg {
  width:20px; height:20px;
  stroke:var(--blue); fill:none; stroke-width:1.8;
}

.step-text h3 { font-size:15.5px; font-weight:700; color:var(--ink); margin-bottom:5px; line-height:1.3 }
.step-text p  { font-size:13px; color:var(--muted); line-height:1.65 }

/* ══════════════════════════════════════════════
   CTA SECTION — animated video background
   ══════════════════════════════════════════════ */
.cta-section {
  background:linear-gradient(135deg,#060f28 0%,#0c1e58 60%,#1755ff 100%);
}
.cta-inner {
  padding:72px 24px;
  text-align:center;
}
.cta-inner h2 {
  font-size:clamp(22px,3vw,32px);
  font-weight:800;
  color:#fff;
  letter-spacing:-.022em;
  line-height:1.2;
  margin-bottom:12px;
}
.cta-inner > p {
  font-size:15px;
  color:rgba(255,255,255,.62);
  line-height:1.65;
}
.cta-fine {
  font-size:12px;
  color:rgba(255,255,255,.32);
  margin-top:10px;
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
footer {
  background:#fff;
  border-top:1px solid var(--border);
  padding:32px 24px 36px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.footer-logo { height:26px; width:auto; opacity:.7 }

.footer-links {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
.footer-btn {
  display:inline-block;
  padding:8px 20px;
  border:1px solid var(--border);
  border-radius:50px;
  font-size:12px;
  font-weight:500;
  color:var(--ink2);
  background:#fff;
  transition:border-color .2s, color .2s, box-shadow .2s;
}
.footer-btn:hover {
  border-color:var(--blue);
  color:var(--blue);
  box-shadow:0 2px 12px rgba(23,85,255,.1);
}
footer > p { font-size:11px; color:var(--faint) }

/* ══════════════════════════════════════════════
   STICKY MOBILE CTA
   ══════════════════════════════════════════════ */
.sticky-cta {
  position:fixed;
  bottom:0; left:0; right:0;
  z-index:500;
  padding:12px 16px 18px;
  background:rgba(255,255,255,.97);
  border-top:1px solid var(--border);
  backdrop-filter:blur(12px);
  transform:translateY(100%);
  transition:transform .35s cubic-bezier(.22,1,.36,1);
}
.sticky-cta.on { transform:translateY(0) }
.sticky-cta a {
  display:flex; align-items:center; justify-content:center;
  width:100%; padding:15px;
  background:linear-gradient(130deg,var(--blue),var(--blue2));
  color:#fff; font-family:var(--fb);
  font-size:15px; font-weight:700;
  border-radius:10px;
  box-shadow:0 4px 22px rgba(23,85,255,.35);
  letter-spacing:.02em;
}

/* ══════════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════════ */
.reveal {
  opacity:0;
  transform:translateY(24px);
  transition:opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal.on { opacity:1; transform:translateY(0) }
.delay-1 { transition-delay:.1s }
.delay-2 { transition-delay:.2s }
.delay-3 { transition-delay:.3s }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width:960px) {
  .hero-inner {
    flex-direction:column;
    padding:80px 20px 40px;
    gap:32px;
    align-items:stretch;
    min-height:unset;
  }
  .hero-left { padding:0 }
  .hero-right { width:100%; padding:0 0 80px }
  .hero-hl { font-size:clamp(64px,16vw,96px) }
  .hero-tagline { max-width:100% }
  .hero-btm { height:180px }
}
@media (max-width:540px) {
  .hero-inner { padding:70px 16px 32px }
  .hero-hl { font-size:64px }
  .pill { font-size:12px; padding:8px 13px }
  .card-title { font-size:22px }
  form, .founder-row { padding-left:20px; padding-right:20px }
}

/* ══════════════════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════════════════ */
.legal-nav {
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  padding:0 24px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:sticky; top:0; z-index:100;
}
.legal-nav img { height:24px; opacity:.8 }
.legal-nav .back {
  display:flex; align-items:center; gap:6px;
  font-size:13px; font-weight:500;
  color:var(--muted); transition:color .2s;
}
.legal-nav .back:hover { color:var(--ink) }
.legal-nav .back svg { width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:2 }

.legal-body {
  max-width:680px; margin:0 auto;
  padding:44px 24px 80px;
}
.legal-body h1 {
  font-size:32px; font-weight:800;
  color:var(--ink); letter-spacing:-.02em;
  margin-bottom:6px;
}
.legal-meta {
  font-size:11px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--faint); margin-bottom:36px;
  padding-bottom:22px; border-bottom:1px solid var(--border);
  display:block;
}
.legal-body h2 { font-size:17px; font-weight:700; color:var(--ink2); margin:32px 0 8px }
.legal-body p  { font-size:14px; color:var(--muted); line-height:1.8; margin-bottom:10px }
.legal-body ul { list-style:none; display:flex; flex-direction:column; gap:7px; margin-bottom:12px }
.legal-body ul li {
  font-size:14px; color:var(--muted);
  padding-left:16px; position:relative; line-height:1.7;
}
.legal-body ul li::before { content:'—'; position:absolute; left:0; color:var(--blue2); font-size:11px }
.legal-body a { color:var(--blue); text-decoration:underline }
