/* ═══════════════════════════════════════════════════════════════════
   RELIA — Landing Page Styles
   Brand: Poppins · Navy #1B2B6B · iOS Blue #007AFF · Green #34C759
   ══════════════════════════════════════════════════════════════════ */

/* ─── Custom Properties ───────────────────────────────────────────── */
:root {
  --navy:         #1B2B6B;
  --navy-deep:    #0D1A47;
  --navy-mid:     #253a8a;
  --blue:         #007AFF;
  --blue-hover:   #0063CC;
  --green:        #34C759;
  --orange:       #FF9500;
  --bg:           #F2F2F7;
  --white:        #FFFFFF;
  --label:        #1C1C1E;
  --secondary:    #6e6e80;
  --separator:    #D1D1D6;
  --card-shadow:  0 2px 20px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.13), 0 0 1px rgba(0,0,0,0.06);

  --font: 'Poppins', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --container: 1120px;
  --section-v: 96px;
}

/* ─── Reset & Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--label);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
video { display: block; }
a { text-decoration: none; }
ul, ol { list-style: none; }
button, input { font-family: var(--font); }

/* ─── Utility ─────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: var(--section-v); }
.section--light { background: var(--white); }
.section--mid   { background: var(--bg); }
.section--dark  { background: var(--navy-deep); }


/* ─── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  padding: 14px 28px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-hover); box-shadow: 0 4px 20px rgba(0,122,255,0.35); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  padding: 14px 4px;
}
.btn-ghost:hover { color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--separator);
}
.btn-outline:hover { border-color: var(--navy); background: rgba(27,43,107,0.04); }

.btn-sm  { font-size: 14px; padding: 10px 20px; }
.btn-lg  { font-size: 17px; padding: 17px 36px; }
.btn-full { width: 100%; }


/* ─── Section Headers ─────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-eyebrow--light { color: rgba(255,255,255,0.55); }

.section-title {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--label);
  letter-spacing: -0.02em;
}
.section-title--light { color: var(--white); }

.section-sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--secondary);
  max-width: 480px;
  margin-inline: auto;
}

.section-header--light .section-title { color: var(--white); }
.section-header--light .section-sub   { color: rgba(255,255,255,0.6); }


/* ─── Reveal Animation ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════════════════
   GATE
   ══════════════════════════════════════════════════════════════════ */
.gate {
  position: fixed;
  inset: 0;
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
  transition: opacity 0.4s ease;
}
.gate.fade-out { opacity: 0; pointer-events: none; }

.gate-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  padding: 48px 40px 40px;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.gate-logo {
  height: 36px;
  width: auto;
  margin-inline: auto;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}

.gate-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
  line-height: 1.5;
}

.gate-input-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.gate-input-wrap:focus-within { border-color: rgba(255,255,255,0.45); }

.gate-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-size: 16px;
  color: var(--white);
  letter-spacing: 0.08em;
}
.gate-input::placeholder { color: rgba(255,255,255,0.35); letter-spacing: 0; }

.gate-btn {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.12);
  padding: 0 18px;
  height: 52px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.18s;
}
.gate-btn:hover { color: var(--white); }

.gate-error {
  margin-top: 12px;
  font-size: 13px;
  color: #FF6B6B;
}


/* ═══════════════════════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 16px;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--separator);
  padding-block: 12px;
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-link { display: flex; align-items: center; }

.nav-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}
.nav.scrolled .nav-logo { filter: none; }

.nav.scrolled .btn-primary { /* stays blue, no change needed */ }


/* ═══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #1f3480 100%);
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero-glow-top {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,122,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(13,26,71,0.6));
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Text */
.badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0,122,255,0.18);
  border: 1px solid rgba(0,122,255,0.35);
  color: #7EB8FF;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Video */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-video-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 32px 80px rgba(0,0,0,0.5),
    0 8px 24px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 540px;
  aspect-ratio: 16/9;
  background: #000;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-reflection {
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, transparent 50%);
  pointer-events: none;
}


/* ═══════════════════════════════════════════════════════════════════
   TRADES STRIP
   ══════════════════════════════════════════════════════════════════ */
.trades-strip {
  background: var(--white);
  border-bottom: 1px solid var(--separator);
  padding-block: 20px;
  overflow: hidden;
}

.trades-strip-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trades-strip-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.trades-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.trades-pills span {
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
  background: var(--bg);
  border: 1px solid var(--separator);
  border-radius: 50px;
  padding: 5px 14px;
  white-space: nowrap;
}

.trades-pill-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue) !important;
  background: transparent !important;
  border: none !important;
  padding: 5px 0 !important;
}


/* ═══════════════════════════════════════════════════════════════════
   HOW IT WORKS — STEPS
   ══════════════════════════════════════════════════════════════════ */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step {
  text-align: center;
  padding: 0 16px;
}

.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  opacity: 0.7;
  margin-bottom: 16px;
}

.step-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon {
  width: 72px;
  height: 72px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--label);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 15px;
  color: var(--secondary);
  line-height: 1.65;
}

.step-connector {
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, var(--separator), var(--blue), var(--separator));
  margin-top: 64px;
  opacity: 0.5;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════════
   DEMO VIDEO
   ══════════════════════════════════════════════════════════════════ */
.video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 32px 80px rgba(0,0,0,0.5);
  aspect-ratio: 16/9;
  background: #000;
  max-width: 900px;
  margin-inline: auto;
}

.video-wrap--portrait {
  aspect-ratio: auto;
  max-width: 340px;
  border-radius: 36px;
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.08),
    0 32px 80px rgba(0,0,0,0.5),
    0 8px 24px rgba(0,0,0,0.3);
}

.demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ═══════════════════════════════════════════════════════════════════
   FEATURES GRID
   ══════════════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-icon--blue   { background: rgba(0,122,255,0.1);  color: var(--blue); }
.feature-icon--green  { background: rgba(52,199,89,0.1);  color: var(--green); }
.feature-icon--orange { background: rgba(255,149,0,0.1);  color: var(--orange); }
.feature-icon--navy   { background: rgba(27,43,107,0.08); color: var(--navy); }

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--label);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.feature-desc {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════════════
   COMPLIANCE
   ══════════════════════════════════════════════════════════════════ */
.compliance-section { padding-block: var(--section-v); }

.compliance-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  box-shadow: var(--card-shadow);
}

.compliance-icon-wrap { flex-shrink: 0; }
.compliance-icon { width: 80px; height: 80px; }

.compliance-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--label);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.compliance-desc {
  font-size: 16px;
  color: var(--secondary);
  line-height: 1.75;
}


/* ═══════════════════════════════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin-inline: auto;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--separator);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }

.pricing-card--featured {
  border-color: var(--blue);
  background: linear-gradient(160deg, #EEF4FF 0%, var(--white) 100%);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}

.pricing-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--label);
  margin-top: 6px;
}

.pricing-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--label);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 16px;
  color: var(--secondary);
  font-weight: 500;
}

.pricing-billed {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 24px;
}

.pricing-features {
  margin-block: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--secondary);
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.pricing-features li strong { color: var(--label); }


/* ═══════════════════════════════════════════════════════════════════
   WAITLIST
   ══════════════════════════════════════════════════════════════════ */
.waitlist-section { padding-block: var(--section-v); }

.waitlist-inner {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.waitlist-title {
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.waitlist-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 40px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.waitlist-fields {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 560px;
}

.waitlist-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  min-width: 0;
}
.waitlist-input::placeholder { color: rgba(255,255,255,0.4); }
.waitlist-input:focus {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.12);
}

.waitlist-success {
  font-size: 16px;
  color: var(--green);
  font-weight: 600;
  margin-top: 4px;
}

.waitlist-note {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
}


/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-block: 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  margin-inline: auto;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color 0.18s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}


/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */

/* ─── Tablet (≤1024px) ─ */
@media (max-width: 1024px) {
  :root { --section-v: 72px; }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-subtitle  { margin-inline: auto; }
  .hero-actions   { justify-content: center; }
  .hero-visual    { max-width: 600px; margin-inline: auto; }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .step-connector {
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, var(--separator), var(--blue), var(--separator));
    margin: 0 auto;
  }

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

  .compliance-card { padding: 40px 40px; }
}

/* ─── Mobile (≤768px) ─ */
@media (max-width: 768px) {
  :root { --section-v: 56px; }

  .hero { min-height: auto; padding-top: 100px; padding-bottom: 48px; }
  .hero-title { font-size: 44px; }

  .section-title { font-size: 28px; }

  .trades-strip-inner { flex-direction: column; align-items: flex-start; gap: 12px; }

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

  .compliance-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }

  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }

  .waitlist-fields { flex-direction: column; }

  .waitlist-input { width: 100%; }

  .section-header { margin-bottom: 40px; }
}

/* ─── Small mobile (≤480px) ─ */
@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .gate-card { padding: 36px 24px 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-ghost { text-align: center; }
}
