:root {
  --bg: #0b0f14;
  --surface: #121820;
  --surface-2: #1a2230;
  --text: #e8edf4;
  --muted: #8b9bb0;
  --accent: #3d8bfd;
  --accent-2: #2dd4bf;
  --border: #243044;
  --radius: 12px;
  --max: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 20, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--accent-2);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2563eb);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  background: #2563eb;
  top: -120px;
  right: 10%;
}

.hero-orb-2 {
  width: 320px;
  height: 320px;
  background: #0d9488;
  bottom: 0;
  left: -80px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0 3rem;
}

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.25);
  color: var(--accent-2);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 48ch;
  margin-bottom: 0.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* Hero visual mockup */
.hero-visual {
  position: relative;
  min-height: 380px;
}

.hero-card {
  background: rgba(18, 24, 32, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.hero-card-main {
  position: relative;
  z-index: 2;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-green { background: #22c55e; }
.dot-yellow { background: #eab308; }
.dot-red { background: #ef4444; }

.hero-card-title {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-module {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: 10px;
  background: var(--surface-2);
  margin-bottom: 0.65rem;
}

.hero-module:last-child {
  margin-bottom: 0;
}

.hero-module-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero-module strong {
  display: block;
  font-size: 0.95rem;
}

.hero-module span:not(.hero-pill) {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-pill {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.hero-pill-live {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.35);
}

.hero-float {
  position: absolute;
  background: rgba(18, 24, 32, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  z-index: 3;
}

.hero-float strong {
  display: block;
  font-size: 1.25rem;
  color: var(--accent-2);
}

.hero-float span {
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-float-1 {
  top: -12px;
  right: -16px;
  animation: float 4s ease-in-out infinite;
}

.hero-float-2 {
  bottom: 24px;
  left: -24px;
  animation: float 4s ease-in-out infinite 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-stats-bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
  padding: 1.25rem;
  background: rgba(18, 24, 32, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-card {
  text-align: center;
  padding: 0.5rem;
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent-2);
}

.stat-card span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Sections */
section {
  padding: 4rem 0;
}

section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.card .icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Problem / Solution */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.panel h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.panel.problem {
  border-left: 3px solid #f59e0b;
}

.panel.solution {
  border-left: 3px solid var(--accent-2);
}

.panel ul {
  margin-left: 1.25rem;
  color: var(--muted);
}

.panel li {
  margin-bottom: 0.5rem;
}

/* Traction */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.metric {
  text-align: center;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.metric .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-2);
}

.metric .label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* CTA */
.cta {
  text-align: center;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  margin: 2rem 0 0;
}

.cta h2 {
  margin-bottom: 0.75rem;
}

.cta p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.cta-link {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.footer-left {
  justify-self: start;
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

.footer-right {
  justify-self: end;
  text-align: right;
  margin: 0;
}

.footer-logo {
  justify-self: center;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    justify-self: center;
    text-align: center;
  }

  .footer-logo {
    order: -1;
  }
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2.5rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 340px;
    max-width: 400px;
    margin-inline: auto;
  }

  .hero-float-1 {
    right: 0;
  }

  .hero-float-2 {
    left: 0;
  }

  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .site-header .nav {
    position: relative;
    flex-wrap: wrap;
  }
}
