:root {
  --bg: #050814;
  --bg-alt: #0b1020;
  --card-bg: #101524;
  --accent: #3fb2ff;
  --accent-soft: rgba(63, 178, 255, 0.2);
  --text: #f7f9ff;
  --muted: #a3acc4;
  --border-subtle: #1b2236;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.5);
  --max-width: 980px;
  --transition-fast: 0.15s ease-out;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #111936 0, #050814 52%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5, 8, 20, 0.96), rgba(5, 8, 20, 0.7));
  border-bottom: 1px solid var(--border-subtle);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.5rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

.nav a {
  margin-left: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

/* Hero */

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-content {
  text-align: left;
}

.hero h1 {
  font-size: clamp(2.0rem, 3vw + 1rem, 2.6rem);
  margin-bottom: 0.8rem;
}

.subtitle {
  max-width: 640px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn.primary {
  background: var(--accent);
  color: #020309;
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--accent-soft), var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(63, 178, 255, 0.5), 0 22px 55px rgba(0, 0, 0, 0.65);
}

.btn.secondary {
  background: rgba(4, 7, 18, 0.9);
  color: var(--muted);
  border-color: var(--border-subtle);
}

.btn.secondary:hover {
  border-color: var(--accent);
  color: var(--text);
}

.tiny-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Sections */

.section {
  padding: 2.75rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #121932 0, #050814 70%);
}

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}

.card {
  background: radial-gradient(circle at top left, #181e34 0, #101524 65%);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.card-link {
  display: inline-flex;
  margin-top: 0.7rem;
  font-size: 0.86rem;
  color: var(--accent);
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.card-pill {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

/* Lists */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  margin-top: 1.5rem;
  padding: 1.25rem 0 1.75rem;
  background: radial-gradient(circle at bottom, #050814 0, #020309 70%);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-sub {
  opacity: 0.8;
}

/* Responsive */

@media (max-width: 640px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding-bottom: 0.2rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
