:root {
  --background: #08124a;
  --foreground: #eef1fb;
  --muted-foreground: #a8b2d8;
  --primary: #5b8cff;
  --primary-foreground: #ffffff;
  --card: #0c1a5e;
  --border: rgba(168, 178, 216, 0.22);
  --accent: #12226e;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}

h1, h2, h3 { font-family: "Space Grotesk", "Manrope", sans-serif; }

a { color: inherit; text-decoration: none; }

.container { max-width: 80rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 18, 74, 0.85);
  backdrop-filter: blur(12px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { height: 2.75rem; width: auto; object-fit: contain; }
.brand .name { font-size: 1.75rem; font-weight: 700; color: #ff8800; }
.brand .byline { display: none; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: #97b4ff; }
@media (min-width: 1024px) { .brand .byline { display: inline; } }

.main-nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .main-nav { display: flex; } }
.main-nav a { font-size: 0.875rem; color: var(--muted-foreground); transition: color .2s; }
.main-nav a:hover { color: var(--foreground); }

.btn {
  display: inline-block; border-radius: 0.375rem;
  padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600;
  transition: opacity .2s, background .2s;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { opacity: 0.9; }
.btn-outline { border: 1px solid var(--border); background: rgba(12, 26, 94, 0.7); }
.btn-outline:hover { background: var(--accent); }
.btn-lg { padding: 0.75rem 1.5rem; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero img.bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero .overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(8,18,74,0.95) 25%, rgba(8,18,74,0.55) 60%, rgba(8,18,74,0.25));
}
.hero .container { padding-top: 8rem; padding-bottom: 8rem; }
@media (min-width: 768px) { .hero .container { padding-top: 11rem; padding-bottom: 11rem; } }
.hero-inner { max-width: 48rem; }
.eyebrow {
  display: inline-block; margin-bottom: 1.5rem;
  border: 1px solid rgba(91, 140, 255, 0.4); border-radius: 9999px;
  padding: 0.25rem 1rem; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.25em; color: var(--primary);
}
.hero h1 { font-size: 2.25rem; font-weight: 700; line-height: 1.05; }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
.hero p.lead { margin-top: 1.5rem; max-width: 42rem; font-size: 1.125rem; color: var(--muted-foreground); }
.hero .actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* Sections */
section { padding-top: 6rem; padding-bottom: 6rem; }
.section-alt { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(12, 26, 94, 0.4); }
.section-head { max-width: 42rem; }
h2 { font-size: 1.875rem; font-weight: 700; }
@media (min-width: 768px) { h2 { font-size: 2.25rem; } }
.section-head p, .lead-muted { margin-top: 1rem; color: var(--muted-foreground); }

/* Pillars */
.pillars { padding: 0; }
.pillars-grid { display: grid; gap: 1px; background: var(--border); }
@media (min-width: 640px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(4, 1fr); } }
.pillar { background: var(--background); padding: 2rem; }
.pillar h3 { font-size: 1.125rem; font-weight: 600; color: var(--primary); }
.pillar p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

/* Why now */
.why-grid { margin-top: 3.5rem; display: grid; gap: 2rem; }
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-item { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.why-item .no { font-size: 0.875rem; font-family: ui-monospace, monospace; color: #ff8800; }
.why-item h3 { margin-top: 0.75rem; font-size: 1.25rem; font-weight: 600; }
.why-item p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

/* Split */
.split { display: grid; align-items: center; gap: 3.5rem; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.check-list { margin-top: 2rem; list-style: none; }
.check-list li { display: flex; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.75rem; }
.check-list li::before {
  content: ""; flex-shrink: 0; margin-top: 0.5rem;
  width: 0.375rem; height: 0.375rem; border-radius: 9999px; background: var(--primary);
}
.glow-ring { overflow: hidden; border-radius: 0.75rem; border: 1px solid rgba(91,140,255,0.35); box-shadow: 0 0 60px rgba(91,140,255,0.15); }
.glow-ring img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Capabilities */
.cap-grid { margin-top: 3.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cap-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  border: 1px solid var(--border); border-radius: 0.75rem;
  background: var(--card); padding: 1.5rem; transition: border-color .2s;
}
.card:hover { border-color: rgba(91, 140, 255, 0.5); }
.card h3 { font-size: 1.125rem; font-weight: 600; }
.card p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

/* Integrations */
.chips { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.chip {
  border: 1px solid var(--border); border-radius: 9999px;
  background: var(--background); padding: 0.5rem 1.25rem;
  font-size: 0.875rem; color: var(--muted-foreground);
}
.runs-on { margin-top: 3.5rem; border-top: 1px solid var(--border); padding-top: 2.5rem; }
.runs-on h3 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--primary); }
.runs-on .list { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem; color: var(--muted-foreground); font-size: 1.125rem; }

/* Menu showcase */
.menu-card { border: 1px solid var(--border); border-radius: 0.75rem; background: var(--card); padding: 1.5rem; }
.menu-card .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--primary); }
.menu-card ul { margin-top: 1.25rem; list-style: none; display: grid; gap: 0.75rem 2rem; }
@media (min-width: 640px) { .menu-card ul { grid-template-columns: 1fr 1fr; } }
.menu-card li { border-bottom: 1px solid rgba(168,178,216,0.15); padding-bottom: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* Comparison table */
.table-wrap { margin-top: 3rem; overflow-x: auto; border: 1px solid var(--border); border-radius: 0.75rem; }
table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; font-size: 0.875rem; }
th, td { padding: 1rem; }
thead tr { background: var(--background); }
thead th { font-weight: 600; }
thead th.muted { color: var(--muted-foreground); }
thead th.hl { color: var(--primary); }
tbody tr { border-top: 1px solid var(--border); background: var(--card); }
td.muted { color: var(--muted-foreground); }
td.hl { font-weight: 500; color: var(--primary); }
td.cap { font-weight: 500; }

/* ROI */
.roi-grid { margin-top: 3rem; display: grid; gap: 2rem; }
@media (min-width: 768px) { .roi-grid { grid-template-columns: repeat(3, 1fr); } }
.roi-grid .card { padding: 2rem; }
.roi-grid h3 { font-size: 1.25rem; color: var(--primary); }
.roi-note { margin-top: 3rem; max-width: 48rem; font-size: 1.125rem; color: var(--muted-foreground); }

/* Contact */
.contact-grid { margin-top: 3rem; display: grid; gap: 2rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { border: 1px solid var(--border); border-radius: 0.75rem; background: var(--background); padding: 2rem; }
.contact-card h3 { font-size: 1.125rem; font-weight: 600; }
.contact-card p { margin-top: 1rem; font-size: 0.875rem; line-height: 1.8; color: var(--muted-foreground); }
.contact-card a { color: var(--primary); }
.contact-card a:hover { text-decoration: underline; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 2.5rem 0; }
footer .container {
  display: flex; flex-direction: column; gap: 1rem;
  font-size: 0.875rem; color: var(--muted-foreground);
}
@media (min-width: 640px) {
  footer .container { flex-direction: row; align-items: center; justify-content: space-between; }
}
footer .brand-name { font-weight: 600; color: var(--primary); }

/* Animation */
.fade-up { animation: fadeUp 0.8s ease-out both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
