:root {
  --bg: #070b14;
  --bg-elevated: #0d1424;
  --bg-card: rgba(15, 23, 42, 0.72);
  --border: rgba(148, 163, 184, 0.14);
  --border-accent: rgba(45, 212, 191, 0.35);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --gold: #f5b942;
  --gold-soft: rgba(245, 185, 66, 0.14);
  --teal: #2dd4bf;
  --teal-soft: rgba(45, 212, 191, 0.12);
  --blue: #38bdf8;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 15% -5%, rgba(45, 212, 191, 0.11), transparent 60%),
    radial-gradient(700px 420px at 88% 4%, rgba(245, 185, 66, 0.1), transparent 60%),
    linear-gradient(180deg, #070b14 0%, #090f1d 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 20, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.brand-sub {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 1px;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.18s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.35rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.94rem;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #f59e0b 100%);
  color: #0b1120;
  box-shadow: 0 10px 30px rgba(245, 185, 66, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(245, 185, 66, 0.36);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.85);
  border-color: var(--border-accent);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(45, 212, 191, 0.1);
}

.btn-sm {
  padding: 0.58rem 1rem;
  font-size: 0.86rem;
}

/* Hero */
.hero {
  padding: clamp(4rem, 8vw, 6.75rem) 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: var(--teal-soft);
  border: 1px solid rgba(45, 212, 191, 0.28);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.hero h1 {
  font-size: clamp(2.25rem, 4.7vw, 3.85rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(95deg, #ffffff 10%, var(--teal) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  max-width: 60ch;
  color: #cbd5e1;
  margin-bottom: 1.85rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}

.hero-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--gold), transparent);
}

.brand-showcase {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1.15rem;
  background: #070b14;
}

.brand-showcase img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.stat-box {
  background: rgba(7, 11, 20, 0.72);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.stat-val {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.stat-val.gold {
  color: var(--gold);
}

.stat-val.teal {
  color: var(--teal);
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Proof Strip */
.proof-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(13, 20, 36, 0.55);
  padding: 1.35rem 0;
}

.proof-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 500;
}

.proof-items span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.proof-items strong {
  color: var(--teal);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.75rem) 0;
  scroll-margin-top: 84px;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.75rem;
}

.section-tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
}

/* Cards & Grids */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.card.featured {
  border-color: rgba(245, 185, 66, 0.45);
  background: linear-gradient(180deg, rgba(245, 185, 66, 0.08) 0%, rgba(15, 23, 42, 0.85) 45%);
}

.badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
}

.badge-live {
  background: rgba(45, 212, 191, 0.16);
  color: var(--teal);
  border: 1px solid rgba(45, 212, 191, 0.35);
}

.badge-gold {
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(245, 185, 66, 0.35);
}

.badge-muted {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

.card h3 {
  font-size: 1.24rem;
  color: var(--text);
}

.price-line {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0.25rem 0 0.5rem;
}

.price-line span {
  font-family: "Inter", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 1rem;
  display: grid;
  gap: 0.55rem;
}

.feature-list li {
  font-size: 0.9rem;
  color: #cbd5e1;
  padding-left: 1.35rem;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  font-size: 0.86rem;
}

.text-link {
  color: var(--teal);
  font-weight: 600;
  white-space: nowrap;
}

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

/* Interactive ROI Calculator */
.roi-box {
  background: linear-gradient(135deg, rgba(13, 20, 36, 0.95), rgba(15, 29, 54, 0.85));
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.slider-group {
  margin-bottom: 1.25rem;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.slider-label output {
  color: var(--teal);
  font-family: "JetBrains Mono", monospace;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
}

.roi-result {
  background: rgba(7, 11, 20, 0.8);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.65rem;
}

.roi-big {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--gold);
  margin: 0.25rem 0 0.5rem;
}

.roi-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

.roi-meta strong {
  display: block;
  color: var(--teal);
  font-size: 1.05rem;
}

/* Architecture Pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.pillar {
  background: rgba(13, 20, 36, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.pillar-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  color: var(--teal);
  margin-bottom: 0.4rem;
}

.pillar h3 {
  font-size: 1.02rem;
}

.pillar p {
  font-size: 0.88rem;
  margin: 0;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 860px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 1.35rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Contact & CTA */
.contact-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(7, 11, 20, 0.95));
  border: 1px solid rgba(245, 185, 66, 0.35);
  border-radius: 22px;
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: start;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(7, 11, 20, 0.85);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  color: var(--text);
  font: inherit;
  font-size: 0.93rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(45, 212, 191, 0.45);
  border-color: var(--teal);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 2rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.footer-links a:hover {
  color: var(--teal);
}

/* Responsive */
@media (max-width: 1120px) {
  .nav-actions .btn-secondary {
    display: none;
  }

  .nav-links {
    gap: 1.1rem;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .roi-box,
  .contact-card,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(7, 11, 20, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem;
    gap: 1rem;
  }
}

@media (max-width: 760px) {
  .cards-2,
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn:hover,
  .card:hover {
    transform: none;
  }
}
