/* ─── Outfit font (same files used by the React Native app) ────────────────── */

@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ─── Reset & Base ──────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #0A0A0F;
  --surface:      #12121A;
  --surface-el:   #1A1A28;
  --border:       #2A2A40;
  --primary:      #6C63FF;
  --primary-dark: #4A43CC;
  --accent:       #FF6B6B;
  --text:         #FFFFFF;
  --text-sec:     #9090B0;
  --text-muted:   #505068;
  --radius:       12px;
  --radius-sm:    6px;
  --radius-lg:    20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity .15s;
}
a:hover { opacity: .8; }

/* ─── Nav ───────────────────────────────────────────────────────────────────── */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
.nav-logo:hover { opacity: .85; }

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--text-sec);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

/* ─── Hero ──────────────────────────────────────────────────────────────────── */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px 64px;
}

.hero-logo {
  margin-bottom: 24px;
  filter: drop-shadow(0 8px 24px rgba(108, 99, 255, 0.4));
}

.hero-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 30%, #9090B0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-sec);
  font-weight: 500;
  letter-spacing: .5px;
  margin-bottom: 20px;
}

.hero-desc {
  max-width: 520px;
  font-size: 16px;
  color: var(--text-sec);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.badge:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  opacity: 1;
}
.badge-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
}
.badge-outline:hover {
  border-color: var(--primary);
  background: rgba(108, 99, 255, .08);
}

/* ─── Sections ──────────────────────────────────────────────────────────────── */

.section {
  padding: 64px 40px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.section-alt {
  background: var(--surface);
  max-width: 100%;
  padding: 64px 0;
}
.section-alt > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
}

/* ─── Features ──────────────────────────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.6;
}

/* ─── Steps ─────────────────────────────────────────────────────────────────── */

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 680px;
  margin: 0 auto;
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface-el);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li div {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.6;
}
.steps li div strong { color: var(--text); }

/* ─── Disclaimer ────────────────────────────────────────────────────────────── */

.disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 193, 7, .07);
  border: 1px solid rgba(255, 193, 7, .25);
  border-left: 4px solid #FFC107;
  border-radius: var(--radius);
  padding: 20px 24px;
  max-width: 780px;
  margin: 0 auto;
}

.disclaimer-icon { font-size: 22px; }

.disclaimer p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.6;
}
.disclaimer p strong { color: var(--text); }

/* ─── Footer ────────────────────────────────────────────────────────────────── */

.footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--text-sec);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── Legal pages ───────────────────────────────────────────────────────────── */

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 40px 80px;
  flex: 1;
}

.legal-page h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -.5px;
}

.legal-date {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.legal-page h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-page p,
.legal-page li {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.75;
  margin-bottom: 10px;
}

.legal-page ul,
.legal-page ol {
  padding-left: 24px;
  margin-bottom: 10px;
}

.legal-page strong { color: var(--text); }

.legal-page a {
  color: var(--primary);
  text-decoration: underline;
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .nav { padding: 14px 20px; }
  .nav-links { gap: 16px; }
  .section { padding: 48px 20px; }
  .section-alt > * { padding-left: 20px; padding-right: 20px; }
  .hero { padding: 56px 20px 48px; }
  .legal-page { padding: 40px 20px 60px; }
  .legal-page h1 { font-size: 28px; }
}
