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

:root {
  --bg: #050814;
  --bg-elevated: #0c1020;
  --bg-muted: #090d1a;
  --accent: #4f8cff;
  --accent-soft: rgba(79, 140, 255, 0.15);
  --accent-strong: rgba(79, 140, 255, 0.5);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --text: #f5f7ff;
  --text-muted: #a3add6;
  --pill-bg: rgba(255, 255, 255, 0.04);
  --danger: #ff6b81;
  --success: #5ed28b;
  --beta: #ffd66b;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.45);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  background: radial-gradient(circle at top, #1b2440 0, #050814 42%, #02030a 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 20, 0.96),
    rgba(5, 8, 20, 0.86),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #9fb6ff, #4f8cff 45%, #192a6a 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 18px rgba(79, 140, 255, 0.75);
}

.logo-text {
  font-size: 0.98rem;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.25rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f8cff, #9f6bff);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #dbe2ff;
  margin: 4px 0;
}

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.75rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  line-height: 1.12;
  margin: 0 0 0.9rem;
}

.hero-copy p {
  margin: 0 0 1.3rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-tags span {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

/* Hero side panel */
.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-card {
  padding: 1.3rem 1.25rem;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 0 0, rgba(93, 132, 255, 0.4), transparent 52%),
    radial-gradient(circle at 112% 0, rgba(194, 140, 255, 0.38), transparent 56%),
    var(--bg-elevated);
  border: 1px solid rgba(117, 152, 255, 0.45);
  box-shadow: var(--shadow-soft);
}

.hero-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--beta);
  margin: 0 0 0.3rem;
}

.hero-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

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

.hero-link {
  font-size: 0.86rem;
  text-decoration: none;
  color: #dbe2ff;
}

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

.hero-stats {
  display: flex;
  gap: 0.75rem;
}

.stat {
  flex: 1;
  padding: 0.9rem 0.85rem;
  border-radius: 18px;
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

.stat-number {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    border-color 0.12s ease;
}

.btn.primary {
  background: radial-gradient(circle at 0 0, #9fb6ff, #4f8cff 55%, #3851e4 100%);
  color: #050814;
  box-shadow: 0 12px 35px rgba(79, 140, 255, 0.5);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(79, 140, 255, 0.7);
}

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

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

.btn.small {
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
}

.btn.disabled {
  opacity: 0.6;
  cursor: default;
}

/* Sections */
.section {
  padding: 2.8rem 0;
}

.section.muted {
  background: radial-gradient(circle at top, rgba(90, 122, 255, 0.15), transparent 52%),
    linear-gradient(to bottom, rgba(7, 11, 28, 0.98), rgba(4, 6, 18, 1));
}

.section-header {
  margin-bottom: 1.8rem;
}

.section-header.tight {
  margin-bottom: 1.1rem;
}

.section-header h2 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.product-card {
  padding: 1.15rem 1.1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(
      140deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02)
    ),
    var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

.product-card.placeholder {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.15);
  background: linear-gradient(
      135deg,
      rgba(79, 140, 255, 0.1),
      rgba(79, 140, 255, 0.02)
    ),
    var(--bg-elevated);
}

.product-pill {
  display: inline-flex;
  font-size: 0.7rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: var(--pill-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.product-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.product-tagline {
  margin: 0 0 0.55rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.product-body {
  margin: 0 0 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.product-meta {
  margin: 0 0 0.8rem;
  padding-left: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-meta li + li {
  margin-top: 0.2rem;
}

.product-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

/* Status chips */
.status-chip {
  font-size: 0.72rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.status-chip.live {
  background: rgba(94, 210, 139, 0.12);
  border-color: rgba(94, 210, 139, 0.6);
  color: #b6f7cf;
}

.status-chip.beta {
  background: rgba(255, 214, 107, 0.12);
  border-color: rgba(255, 214, 107, 0.6);
  color: #ffe9ab;
}

.status-chip.building {
  background: rgba(159, 182, 255, 0.14);
  border-color: rgba(159, 182, 255, 0.7);
  color: #d1dcff;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.8fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.about-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.pill-card {
  padding: 0.9rem 0.9rem;
  border-radius: 18px;
  background: rgba(2, 4, 15, 0.9);
  border: 1px solid var(--border-subtle);
}

.pill-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
}

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

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-list {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.contact-list li + li {
  margin-top: 0.25rem;
}

.contact-card {
  padding: 1.1rem 1.05rem;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  font-size: 0.9rem;
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

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

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 0.7rem;
}

.contact-details li {
  margin-bottom: 0.3rem;
}

.contact-details span {
  font-weight: 500;
  margin-right: 0.25rem;
}

.contact-details a {
  color: #dbe2ff;
  text-decoration: none;
  font-size: 0.9rem;
}

.contact-details a:hover {
  text-decoration: underline;
}

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

/* Footer */
.site-footer {
  padding: 1.6rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(to bottom, rgba(5, 8, 20, 0.98), #00010a);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-note {
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

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

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

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

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0.7rem 0;
  }

  .nav-links {
    position: absolute;
    right: 1.5rem;
    top: 60px;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(5, 8, 20, 0.97);
    border-radius: 16px;
    padding: 0.7rem 1rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-subtle);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 2.4rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.1rem;
  }

  .hero-copy h1 {
    font-size: 1.9rem;
  }
}
