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

/* ---------- tokens ---------- */
:root {
  --bg:           #0d1220;
  --bg-card:      #141928;
  --border:       #232b42;
  --accent:       #f0a828;
  --accent-glow:  rgba(240, 168, 40, 0.35);
  --text:         #e4dfd0;
  --text-muted:   #7a8099;
  --radius:       10px;
  --font:         -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- nav ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(13, 18, 32, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.topnav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.topnav-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.topnav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topnav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}

.topnav-links a:hover { color: var(--text); }

.topnav-beta {
  color: var(--accent) !important;
  border: 1px solid rgba(240, 168, 40, 0.5);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.875rem !important;
  transition: background 0.15s, box-shadow 0.15s !important;
}

.topnav-beta:hover {
  background: rgba(240, 168, 40, 0.1);
  box-shadow: 0 0 14px var(--accent-glow);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 540px;
  background-image: url('./og-image.png');
  background-size: cover;
  background-position: center 35%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 18, 32, 0.15) 0%,
    rgba(13, 18, 32, 0.45) 45%,
    rgba(13, 18, 32, 0.92) 80%,
    var(--bg) 100%
  );
}

.hero-body {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

/* ---------- buttons ---------- */
.btn-beta {
  display: inline-block;
  background: var(--accent);
  color: #0a0e1a;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 2.1rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 0 28px var(--accent-glow);
  transition: box-shadow 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}

.btn-beta:hover {
  box-shadow: 0 0 44px rgba(240, 168, 40, 0.55);
  transform: translateY(-1px);
}

.platform-chips {
  margin-top: 1.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* ---------- sections ---------- */
section {
  padding: 5rem 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  color: var(--text);
}

/* ---------- what is ---------- */
.what-is {
  border-top: 1px solid var(--border);
}

.what-is-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.78;
  color: var(--text);
}

.what-is-inner p + p { margin-top: 1.25rem; }

.what-is-inner strong {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- features ---------- */
.features {
  border-top: 1px solid var(--border);
}

.features h2 { text-align: center; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.feature-card h3 {
  font-size: 0.975rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- platforms ---------- */
.platforms {
  border-top: 1px solid var(--border);
  text-align: center;
}

.platform-list {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.platform-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 140px;
}

.platform-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.platform-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ---------- footer ---------- */
.sitefooter {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- responsive ---------- */
@media (max-width: 600px) {
  .topnav-links a:not(.topnav-beta) { display: none; }
  .hero { min-height: 420px; padding-bottom: 3rem; }
  .hero-title br, .hero-tagline br { display: none; }
  section { padding: 3.5rem 1.25rem; }
}
