:root {
  --bg: #050816;
  --bg-alt: #070b1f;
  --surface: rgba(15, 23, 42, 0.96);
  --surface-soft: rgba(15, 23, 42, 0.85);
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.18);
  --accent-strong: #0ea5e9;
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
  --nav-height: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0f172a 0, #020617 45%, #020617 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  padding-top: var(--nav-height);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header / Nav */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.9), transparent);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 32px;
  height: 32px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 650;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
}

.nav a {
  position: relative;
  padding: 0.25rem 0;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  align-items: center;
  gap: 3rem;
}

.hero-text h1 {
  font-size: clamp(1.95rem, 2.35rem + 1vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 1.25rem;
}

.hero-text p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: radial-gradient(circle at 0 0, #38bdf8, #0ea5e9);
  color: #0b1120;
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(56, 189, 248, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: rgba(56, 189, 248, 0.7);
  background-image: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.1), transparent 50%);
}

.btn-outline:hover {
  background-color: rgba(15, 23, 42, 0.9);
}

.btn.disabled {
  opacity: 0.7;
  cursor: default;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--accent);
}

.hero-meta span {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.45);
}

.hero-visual {
  position: relative;
  min-height: 220px;
  border-radius: 32px;
  background: radial-gradient(circle at 20% 0, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(circle at 90% 90%, rgba(59, 130, 246, 0.16), transparent 55%), linear-gradient(145deg, #020617, #020617);
  border: 1px solid rgba(56, 189, 248, 0.26);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.5px);
  opacity: 0.9;
}

.orb-main {
  width: 130px;
  height: 130px;
  background: radial-gradient(circle at 30% 0, #38bdf8, #0f172a);
  top: 22%;
  left: 10%;
  box-shadow: 0 30px 80px rgba(56, 189, 248, 0.65);
}

.orb-alt {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at 70% 0, #4f46e5, #020617);
  bottom: 12%;
  right: 10%;
  opacity: 0.9;
}

.flight-path {
  position: absolute;
  inset: 20% 10%;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  transform: skewX(-12deg);
}

.waypoint {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25);
}

.wp-1 {
  top: 8%;
  left: 8%;
}

.wp-2 {
  top: 22%;
  right: 12%;
}

.wp-3 {
  bottom: 18%;
  left: 20%;
}

.wp-4 {
  bottom: 6%;
  right: 18%;
}

/* Sections */

.section {
  padding: 2.75rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(15, 23, 42, 0.95);
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.section h2 {
  font-size: 1.5rem;
  margin: 0;
}

.section-intro {
  max-width: 38rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.25rem;
  align-items: flex-start;
}

.card-grid.mini {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.1rem;
}

.card {
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1.1rem 1.1rem;
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.9);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.feature-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(30, 64, 175, 0.94));
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 1.2rem 1.15rem 1.2rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.9);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.feature-card p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
  color: var(--text);
}

.feature-card li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.25rem;
}

.feature-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent), var(--accent-strong));
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.highlight-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  padding: 1.1rem 1.1rem 1.1rem;
}

.highlight-item h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1rem;
}

.highlight-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.7);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(15, 23, 42, 0.96);
}

/* Roadmap */

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.roadmap-item {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.32);
  padding: 1.15rem 1.15rem 1.1rem;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.95);
}

.roadmap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.roadmap-header h3 {
  margin: 0;
  font-size: 1rem;
}

.roadmap-status {
  font-size: 0.75rem;
  padding: 0.1rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-muted);
  white-space: nowrap;
}

.roadmap-status.done {
  border-color: rgba(52, 211, 153, 0.8);
  color: #6ee7b7;
}

.roadmap-status.wip {
  border-color: rgba(251, 191, 36, 0.9);
  color: #facc15;
}

.roadmap-status.planned {
  border-color: rgba(148, 163, 184, 0.8);
  color: var(--text-muted);
}

.roadmap-desc {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.progress-track {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.progress-fill {
  position: absolute;
  inset: 0;
  width: calc(var(--progress, 0) * 100%);
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
}

.roadmap-points {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text);
}

.roadmap-points li {
  position: relative;
  padding-left: 0.85rem;
  margin-bottom: 0.2rem;
}

.roadmap-points li::before {
  content: "·";
  position: absolute;
  left: 0.15rem;
  top: 0;
  color: var(--accent);
}

.roadmap-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.download-card .btn {
  width: 100%;
  margin: 0.6rem 0 0.35rem;
}

.hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.docs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  gap: 1.6rem;
}

.docs-block {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  padding: 1.2rem 1.2rem 1.1rem;
}

.docs-block h3 {
  margin: 0 0 0.6rem;
}

.doc-list {
  margin: 0 0 0.7rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.doc-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 1);
  background: radial-gradient(circle at top, #020617, #020617 60%, #000 100%);
  padding-top: 1.4rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding-bottom: 0.9rem;
}

.footer-brand {
  margin: 0 0 0.1rem;
  font-size: 0.9rem;
}

.footer-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.85rem;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding: 0.9rem 0 1.4rem;
  text-align: center;
  font-size: 0.77rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .hero-visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto 0.5rem;
  }

  .two-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-grid,
  .highlight-grid,
  .roadmap-grid,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    gap: 0.75rem;
  }

  .brand-subtitle {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--nav-height) 0 auto 0;
    padding: 0.75rem 1.25rem 1.1rem;
    background: rgba(15, 23, 42, 0.97);
    border-bottom: 1px solid rgba(15, 23, 42, 1);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding-top: 3.6rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .feature-grid,
  .highlight-grid,
  .roadmap-grid,
  .download-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .card,
  .feature-card,
  .docs-block,
  .highlight-item {
    padding: 1rem 0.95rem 1rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.75rem;
  }

  .hero-visual {
    border-radius: 24px;
  }

  .section {
    padding: 2.2rem 0;
  }
}

