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

:root {
  --navy:   #1a1a2e;
  --navy2:  #16213e;
  --gold:   #c8a84b;
  --gold2:  #e6c76a;
  --bg:     #f7f8fc;
  --white:  #ffffff;
  --text:   #2d2d3e;
  --muted:  #7a7a94;
  --border: #e2e4f0;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(26,26,46,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26,26,46,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}
.nav-brand span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--white); text-decoration: none; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 60%, #0f3460 100%);
  color: var(--white);
  text-align: center;
  padding: 96px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(200,168,75,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(15,52,96,0.5) 0%, transparent 50%);
  pointer-events: none;
}
.hero-emoji {
  font-size: 80px;
  display: block;
  margin-bottom: 24px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin: 0 auto 40px;
  font-weight: 400;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(200,168,75,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,168,75,0.45);
  text-decoration: none;
}
.hero-note {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* wave divider */
.wave {
  display: block;
  width: 100%;
  height: 56px;
  background: var(--navy2);
  clip-path: ellipse(55% 100% at 50% 100%);
  margin-top: -1px;
}
.wave-light {
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
  display: block;
  width: 100%;
  height: 56px;
  margin-top: -1px;
}

/* ── Features ─────────────────────────────────────────────── */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,26,46,0.13);
}
.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Islands / Scenes strip ───────────────────────────────── */
.islands-bg {
  background: linear-gradient(160deg, var(--navy) 0%, #0f3460 100%);
  padding: 80px 24px;
}
.islands-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.islands-inner .section-label { text-align: center; }
.islands-inner .section-title { color: var(--white); text-align: center; }
.islands-inner .section-desc  { color: rgba(255,255,255,0.6); text-align: center; margin: 0 auto 48px; }

.islands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
}
.island-chip {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 18px 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.island-chip .isle { font-size: 26px; display: block; margin-bottom: 8px; }

/* ── How it works ─────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
}
.step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow);
}
.step h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p  { font-size: 13px; color: var(--muted); margin: 0; }

/* ── CTA band ─────────────────────────────────────────────── */
.cta-band {
  background: var(--gold);
  padding: 64px 24px;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.cta-band p {
  font-size: 16px;
  color: rgba(26,26,46,0.7);
  margin-bottom: 32px;
}
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(26,26,46,0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,26,46,0.35);
  text-decoration: none;
  color: var(--white);
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
}
.footer-brand span { color: var(--gold); }
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); width: 100%; }

/* ── Legal pages ──────────────────────────────────────────── */
.legal-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 64px 24px 48px;
  text-align: center;
}
.legal-hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.legal-hero .meta {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.legal-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.legal-body p  { color: #444; margin-bottom: 14px; line-height: 1.75; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin-bottom: 14px; color: #444; }
.legal-body li { margin-bottom: 6px; }
.legal-body strong { color: var(--navy); }
.legal-body a { color: var(--gold); }

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.legal-body th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
}
.legal-body td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: #444; }
.legal-body tr:last-child td { border-bottom: none; }
.legal-body tr:nth-child(even) td { background: #f4f4f8; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .steps::before { display: none; }
  .islands-grid  { grid-template-columns: repeat(3, 1fr); }
  .nav-links     { display: none; }
  .footer-inner  { flex-direction: column; align-items: flex-start; }
}
