:root {
  --bg: #0f1419;
  --bg-deep: #0a0e14;
  --panel: #1a2332;
  --border: #2d3a4d;
  --text: #e7ecf3;
  --muted: #8b9cb3;
  --accent: #4f8cff;
  --accent-hover: #3a6fd6;
  --spotlight: #f0c878;
  --spotlight-soft: rgba(240, 200, 120, 0.18);
  --radius: 12px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Sora", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--spotlight);
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 70% 15%, rgba(79, 140, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 45% at 20% 0%, var(--spotlight-soft), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 55%, #080b10 100%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.wordmark-immersive {
  color: var(--text);
}

.wordmark-page {
  color: var(--spotlight);
}

.nav a {
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text) !important;
  background: rgba(26, 35, 50, 0.7);
}

.nav-cta:hover {
  border-color: var(--accent);
  color: var(--spotlight) !important;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  min-height: min(78vh, 720px);
  padding: 2rem 0 3.5rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--spotlight);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease,
    transform 160ms ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--spotlight);
  color: var(--spotlight);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, #121820 0%, #0f1419 55%, #0a0e14 100%);
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.spotlight {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 70%;
  height: 90%;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(240, 200, 120, 0.45) 0%,
    rgba(79, 140, 255, 0.12) 45%,
    transparent 75%
  );
  clip-path: polygon(42% 0, 58% 0, 92% 100%, 8% 100%);
  opacity: 0.85;
  pointer-events: none;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(88%, 420px);
  height: auto;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.55));
}

.product {
  padding: 1rem 0 3rem;
}

.product-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(26, 35, 50, 0.95), rgba(15, 20, 25, 0.9));
  border: 1px solid var(--border);
}

.product-badge {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.product-badge img {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.product-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card h2 {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}

.product-sub {
  margin: 0.2rem 0 0;
  color: var(--spotlight);
  font-size: 0.95rem;
  font-weight: 500;
}

.product-card > p {
  margin: 0 0 1.25rem;
  max-width: 42rem;
  color: var(--muted);
}

.feature-list {
  margin: 0 0 1.5rem;
  padding-left: 1.15rem;
  color: var(--text);
}

.feature-list li {
  margin-bottom: 0.45rem;
}

.about,
.contact {
  padding: 1.5rem 0 2rem;
  max-width: 40rem;
}

.about h2,
.contact h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
}

.about p,
.contact p {
  margin: 0;
  color: var(--muted);
}

.about strong {
  color: var(--text);
  font-weight: 600;
}

.site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
  max-width: 48rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.motion-ok .hero-copy {
  animation: rise 700ms ease both;
}

.motion-ok .hero-visual {
  animation: rise 900ms 120ms ease both;
}

.motion-ok .spotlight {
  animation: glow 4.5s ease-in-out infinite alternate;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes glow {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 0.95;
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-visual {
    order: -1;
    min-height: 260px;
  }

  .site-header {
    justify-content: center;
  }

  .nav {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
