﻿:root {
  --bg: #050712;
  --bg-soft: #11162a;
  --panel: #161d36;
  --panel-2: #1f294c;
  --text: #ecf1ff;
  --muted: #a9b5d6;
  --accent: #13d7b8;
  --accent-2: #ffa845;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(19, 215, 184, 0.15), transparent 34%),
    radial-gradient(circle at 82% 24%, rgba(255, 168, 69, 0.2), transparent 35%),
    linear-gradient(160deg, var(--bg), #0b1024 55%, #0b1122);
  line-height: 1.5;
}

h1,
h2,
h3,
.brand,
.eyebrow {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 0.7px, transparent 0.7px);
  background-size: 3px 3px;
  opacity: 0.18;
}

.container {
  width: min(1100px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0 0.4rem;
}

.brand {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.links {
  display: flex;
  gap: 0.9rem;
}

.links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 180ms ease;
}

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

.hero-content {
  padding: 4rem 0 4.8rem;
  animation: heroRise 560ms ease both;
}

.eyebrow {
  display: inline-block;
  margin: 0;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.78rem;
}

h1 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
  margin: 0.6rem 0 1rem;
  max-width: 18ch;
}

.subtitle {
  color: var(--muted);
  max-width: 58ch;
  margin: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #02231d;
  background: linear-gradient(120deg, var(--accent), #8ff0de);
  box-shadow: 0 10px 30px rgba(19, 215, 184, 0.32);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
}

.btn-block {
  width: 100%;
}

.app-entry-badge {
  margin-top: 0.9rem;
  background: rgba(19, 215, 184, 0.16);
  border: 1px solid rgba(19, 215, 184, 0.5);
  width: fit-content;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.84rem;
}

.hidden {
  display: none;
}

.section {
  padding: 1rem 0 4rem;
}

.section-accent {
  background: linear-gradient(180deg, rgba(19, 215, 184, 0.06), rgba(19, 215, 184, 0));
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.3vw, 2.3rem);
}

.section-subtitle {
  margin: 0.5rem 0 1.4rem;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.card p {
  color: var(--muted);
  margin: 0.45rem 0 0;
}

.card-download {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.card-download p {
  margin-top: 0;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.2rem;
}

.inline-links a {
  color: #8fe9ff;
}

.db-table-wrapper {
  margin-top: 1.2rem;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.db-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.db-table th,
.db-table td {
  text-align: left;
  padding: 0.82rem;
  border-bottom: 1px solid var(--border);
}

.db-table th {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.db-table td {
  color: var(--muted);
}

.footer {
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: revealUp 420ms ease forwards;
  animation-delay: 120ms;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .grid.three {
    grid-template-columns: 1fr;
  }

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

  .links {
    gap: 0.6rem;
    font-size: 0.95rem;
  }

  .hero-content {
    padding-top: 2.8rem;
  }
}
