:root {
  --bg: #030712;
  --card: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f7f7fb;
  --muted: #9ca6c8;
  --accent: #a855f7;
  --accent-2: #3b82f6;
  --gradient: radial-gradient(circle at 20% 20%, rgba(168, 85, 247, 0.25), transparent 50%),
    radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.2), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(14, 165, 233, 0.15), transparent 55%),
    linear-gradient(135deg, #050816 0%, #050915 45%, #070c16 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--gradient);
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 3vw, 2.5rem) 3.5rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0 2.5rem;
}

.logo {
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
}

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

.nav-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.cta-group {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.link {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 500;
}

.btn {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border: none;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--muted);
}

.btn:hover {
  transform: translateY(-2px);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-content .eyebrow,
.feature-section .eyebrow,
.infrastructure .eyebrow,
.cta .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--accent-2);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.metrics {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.metrics span {
  font-size: 2rem;
  font-weight: 600;
}

.metrics p {
  color: var(--muted);
}

.hero-card {
  padding: 1.75rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(12px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

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

.status-grid article {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.label {
  color: var(--muted);
  font-size: 0.8rem;
}

.value {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.35rem 0;
}

.value.success {
  color: #22d3ee;
}

.value.pending {
  color: #fde68a;
}

.feature-section {
  margin-top: 4rem;
}

.feature-section header h2,
.infrastructure h2,
.cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
}

.feature-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-grid article {
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(6px);
}

.icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.infrastructure {
  margin-top: 4rem;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(12, 16, 32, 0.65);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.infrastructure ul {
  list-style: none;
  margin-top: 1.25rem;
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
}

.diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.diagram .node {
  width: min(260px, 100%);
  text-align: center;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.diagram .arrow {
  color: var(--muted);
}

.cta {
  margin-top: 4rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(59, 130, 246, 0.1));
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lead-form {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(7, 13, 24, 0.85);
  display: grid;
  gap: 1.5rem;
}

.lead-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(5, 8, 20, 0.9);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  font-family: inherit;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.lead-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-group {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .metrics {
    flex-direction: column;
  }
}
