:root {
  --bg: #070b15;
  --bg-soft: #0d1424;
  --surface: #121a2c;
  --surface-strong: #1a2439;
  --text: #edf2ff;
  --text-muted: #b4bfd9;
  --border: #2b3550;
  --navy: #1a2f5f;
  --navy-strong: #101f43;
  --gold: #c8a34d;
  --gold-strong: #a87c2b;
  --gold-soft: rgba(200, 163, 77, 0.15);
  --shadow: 0 28px 60px rgba(2, 5, 13, 0.55);
  --radius-lg: 20px;
  --radius-md: 14px;
  --font-heading: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Avenir", "Helvetica Neue", sans-serif;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 8% 6%, rgba(26, 47, 95, 0.42), transparent 40%),
    radial-gradient(circle at 88% 14%, rgba(200, 163, 77, 0.22), transparent 30%),
    linear-gradient(180deg, #0a1120 0%, var(--bg) 100%);
  min-height: 100vh;
}

main,
.site-header,
.site-footer {
  width: min(var(--max-width), calc(100% - 2.5rem));
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(68px);
  pointer-events: none;
}

.bg-orb-1 {
  width: 260px;
  height: 260px;
  top: 14%;
  left: -80px;
  background: rgba(26, 47, 95, 0.55);
}

.bg-orb-2 {
  width: 320px;
  height: 320px;
  right: -110px;
  top: 40%;
  background: rgba(200, 163, 77, 0.34);
}

.site-header {
  position: sticky;
  top: 0.8rem;
  z-index: 30;
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: rgba(9, 14, 27, 0.85);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(200, 163, 77, 0.35);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.06rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  gap: 0.55rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0.62rem 0.95rem;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #0b111f;
  box-shadow: 0 12px 28px rgba(200, 163, 77, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 16px 32px rgba(200, 163, 77, 0.4);
}

.btn-secondary {
  border-color: var(--border);
  color: var(--text);
  background: rgba(18, 26, 44, 0.88);
}

.btn-secondary:hover {
  background: var(--surface-strong);
  border-color: #404b66;
}

.btn-lg {
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
}

.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: 11px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 16px;
  height: 2px;
  background: #d8e2f7;
  border-radius: 999px;
}

.hero {
  padding: 3rem 0 3.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--gold);
}

.hero h1 {
  margin: 1rem 0 1.1rem;
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 1.04;
  max-width: 16ch;
}

.hero h1 span {
  color: var(--gold);
}

.hero-copy {
  margin: 0;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--text-muted);
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section-product-shot {
  margin-top: -0.8rem;
}

.product-shot-frame {
  margin: 1.1rem 0 0;
  padding: 0.45rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 163, 77, 0.3);
  background: linear-gradient(150deg, rgba(200, 163, 77, 0.12), rgba(15, 24, 42, 0.92));
  box-shadow: 0 22px 48px rgba(2, 7, 18, 0.5);
}

.product-shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(129, 149, 184, 0.26);
}

.product-shot-actions {
  margin-top: 1.05rem;
  display: flex;
  justify-content: center;
}

.btn-demo {
  border-color: rgba(200, 163, 77, 0.55);
  color: #fff9ea;
  background: linear-gradient(135deg, #765312, #b6862e 45%, #d9b464 100%);
  box-shadow: 0 16px 34px rgba(200, 163, 77, 0.34), 0 0 0 1px rgba(255, 236, 189, 0.15) inset;
}

.btn-demo:hover {
  box-shadow: 0 20px 38px rgba(200, 163, 77, 0.44), 0 0 0 1px rgba(255, 236, 189, 0.24) inset;
}

.signal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 4rem;
}

.signal article {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.signal-value {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}

.signal-label {
  margin: 0.4rem 0 0;
  color: var(--text-muted);
  line-height: 1.4;
}

.section {
  margin: 0 0 5rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(14, 22, 39, 0.95), rgba(18, 27, 47, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}

.section-head h2 {
  margin: 0.5rem 0 0.7rem;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3.4vw, 2.45rem);
  line-height: 1.1;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 60ch;
  font-size: 1.03rem;
}

.feature-grid,
.security-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.3rem;
}

.card {
  padding: 1rem 1rem 1.08rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
}

.card p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  line-height: 1.45;
}

.api-layout {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
}

.api-points ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.api-points li {
  margin-bottom: 0.54rem;
  padding-left: 1.15rem;
  position: relative;
  color: var(--text-muted);
}

.api-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  position: absolute;
  left: 0;
  top: 0.44rem;
  background: var(--gold);
}

.code-block {
  margin: 0;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #080f1e;
  color: #d7e0f6;
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow-x: hidden;
  border: 1px solid rgba(200, 163, 77, 0.45);
  box-shadow: 0 16px 36px rgba(1, 4, 11, 0.55);
}

.pricing-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.price-card h3 {
  color: var(--gold);
}

.price-card.featured {
  border-color: #806331;
  box-shadow: 0 20px 42px rgba(200, 163, 77, 0.24);
  position: relative;
}

.price-card.featured > .badge:first-child {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  transform: translate(-50%, -50%);
}

.price-card.spotlight {
  border-color: rgba(200, 163, 77, 0.58);
  background: linear-gradient(180deg, rgba(200, 163, 77, 0.1), rgba(18, 26, 44, 0.95));
  box-shadow: 0 18px 38px rgba(200, 163, 77, 0.18);
}

.badge {
  display: inline-block;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0b111f;
  background: var(--gold);
}

.badge-soft {
  color: #f4d48b;
  background: rgba(200, 163, 77, 0.16);
  border: 1px solid rgba(200, 163, 77, 0.46);
  text-transform: none;
}

.price {
  margin: 0.42rem 0 0.6rem;
  font-family: var(--font-heading);
  font-size: 2rem;
}

.price span {
  font-size: 0.96rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.price-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: -0.3rem 0 0.4rem;
}

.price-original {
  text-decoration: none;
  opacity: 0.7;
}

.cta {
  text-align: center;
  background: linear-gradient(145deg, #1a2f5f, #0f1d41);
  color: #edf2ff;
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.25rem;
  box-shadow: 0 24px 54px rgba(2, 7, 18, 0.55);
}

.cta h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.cta p {
  margin: 0.7rem auto 0;
  max-width: 60ch;
  color: rgba(237, 242, 255, 0.9);
}

.cta .hero-actions {
  justify-content: center;
}

.cta .btn-secondary {
  color: #edf2ff;
  border-color: rgba(237, 242, 255, 0.4);
  background: rgba(237, 242, 255, 0.1);
}

.cta .btn-secondary:hover {
  background: rgba(237, 242, 255, 0.18);
}

.site-footer {
  margin-bottom: 2rem;
  padding: 0 0 1rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-footer p {
  margin: 0;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--gold);
  font-weight: 600;
}

.reveal {
  opacity: 1;
  transform: none;
  animation: fade-up 0.45s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  .site-nav,
  .header-actions .btn-secondary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav.open {
    display: flex;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.45rem);
    background: #0e1526;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }

  .signal,
  .feature-grid,
  .security-list,
  .pricing-grid,
  .api-layout {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 700px) {
  main,
  .site-header,
  .site-footer {
    width: min(var(--max-width), calc(100% - 1.3rem));
  }

  .signal,
  .feature-grid,
  .security-list,
  .pricing-grid,
  .api-layout {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
