:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --bg-muted: #0f172a;
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.18);
  --border: #1f2933;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.75);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Layout */

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.narrow {
  max-width: 720px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.86),
    transparent
  );
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  color: #f9fafb;
  text-decoration: none;
}

.nav a {
  margin-left: 1.2rem;
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.nav a:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.6);
}

.nav a.active {
  color: var(--accent);
  border-color: var(--accent);
}

/* Hero */

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

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.35rem;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-text p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.hero-note {
  font-size: 0.86rem;
  color: #9ca3af;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0.5rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.08s ease, box-shadow 0.08s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #38bdf8, #4f46e5);
  border-color: rgba(129, 140, 248, 0.9);
  color: #0b1120;
  font-weight: 600;
  box-shadow: 0 16px 35px rgba(56, 189, 248, 0.25);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(56, 189, 248, 0.3);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--text);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* Hero card */

.hero-card {
  background: radial-gradient(circle at top left, #1e293b, #020617);
  border-radius: 1.8rem;
  padding: 1.4rem;
  border: 1px solid rgba(51, 65, 85, 0.9);
  box-shadow: var(--shadow-card);
}

.hero-screenshot-placeholder {
  position: relative;
  border-radius: 1.4rem;
  padding: 1.4rem;
  background: radial-gradient(circle at 10% 0, #22d3ee33, #020617 55%);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-card-content h2 {
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
}

.hero-card-content p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.code-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.92rem;
  letter-spacing: 0.3em;
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
}

.hero-card-note {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.screenshot-caption {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: #6b7280;
}

/* Bubbles */

.bubble {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.8;
}

.bubble-1 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, #38bdf8, transparent);
  top: -40px;
  right: -40px;
}

.bubble-2 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #4f46e5, transparent);
  bottom: -40px;
  left: -30px;
}

.bubble-3 {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #22c55e, transparent);
  top: 40%;
  right: -20px;
}

/* Sections */

.section {
  padding: 2.75rem 0;
}

.section-muted {
  background: radial-gradient(circle at top, #020617, #020617 40%, #000 100%);
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Grid */

.grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.6rem;
}

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

/* Cards */

.card {
  background: radial-gradient(circle at top left, #111827, #020617);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.1rem 1.1rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.9);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* CTA */

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
  justify-content: space-between;
}

.cta-tag {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--accent);
  margin: 0 0 0.4rem;
}

.cta-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* About page specific */

.notice {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(248, 250, 252, 0.08);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.9rem;
}

/* Lists */

ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.4rem 0 1.6rem;
  background: radial-gradient(circle at bottom, #020617, #020617 40%, #000 100%);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #6b7280;
}

.site-footer a {
  color: #9ca3af;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

/* Responsive */

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 0.5rem;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .header-inner {
    padding: 0.8rem 0;
  }

  .hero-text h1 {
    font-size: 1.85rem;
  }

  .hero-card {
    margin-top: 0.25rem;
  }

  .cta {
    flex-direction: column;
  }
}
