/* ============================================
   Luma — Neon AI Creation Landing
   ============================================ */

:root {
  --bg: #010001;
  --text: #fffffe;
  --muted: #a3a3a3;
  --red: #ff0901;
  --purple: #6700cd;
  --magenta: #cd00fe;
  --pink: #fe00ab;
  --font: "Space Grotesk", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: 24px;
  --max: 1100px;
  --radius: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

@media (min-width: 768px) {
  :root { --pad: 32px; }
}

.text-gradient {
  background: linear-gradient(120deg, #ff0901 0%, #cd00fe 45%, #6700cd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.section-lead {
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.65;
}

.section-head { margin-bottom: clamp(40px, 6vw, 64px); }

.section {
  padding: clamp(80px, 12vw, 120px) 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn--block { width: 100%; }

.btn--red {
  background: var(--red);
  color: #fffffe;
  padding: 14px 28px;
  box-shadow: 0 0 24px rgba(255, 9, 1, 0.25);
}

.btn--red:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 36px rgba(255, 9, 1, 0.4);
}

.btn--ghost {
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  background: transparent;
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.btn--cta {
  width: 240px;
  height: 50px;
  background: #fff;
  color: #0d0d0d;
  border: 1px solid #dddddc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.btn--cta:hover {
  background: var(--red);
  color: #fffffe;
  border-color: var(--red);
  transform: scale(1.05);
}

.link-quiet {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.link-quiet:hover { color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(1, 0, 1, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 9, 1, 0.12);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.14em;
}

.nav-desktop {
  display: none;
  gap: 28px;
}

.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

.nav-desktop a:hover { color: #fff; }

.header__actions {
  display: none;
  align-items: center;
  gap: 14px;
}

@media (min-width: 860px) {
  .nav-desktop,
  .header__actions { display: flex; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px var(--pad) 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mobile[hidden] { display: none; }

.nav-mobile a {
  padding: 10px 4px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 860px) {
  .nav-mobile { display: none !important; }
}

/* Hero — full-bleed neon composition */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  min-height: calc(100svh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__mesh {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 55% 45% at 50% 35%, rgba(255, 9, 1, 0.28), transparent 58%),
    radial-gradient(ellipse 50% 50% at 78% 55%, rgba(103, 0, 205, 0.38), transparent 55%),
    radial-gradient(ellipse 40% 40% at 18% 70%, rgba(254, 0, 171, 0.22), transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(1, 0, 1, 0.95), transparent 50%),
    #010001;
  animation: aurora-drift 16s ease-in-out infinite alternate;
}

.hero__beam {
  position: absolute;
  width: 140%;
  height: 2px;
  left: -20%;
  filter: blur(1px);
  opacity: 0.55;
  background: linear-gradient(90deg, transparent, #ff0901, #cd00fe, #6700cd, transparent);
  transform-origin: center;
}

.hero__beam--a {
  top: 28%;
  animation: beam-slide-a 9s ease-in-out infinite;
}

.hero__beam--b {
  top: 48%;
  opacity: 0.35;
  animation: beam-slide-b 12s ease-in-out infinite;
}

.hero__beam--c {
  top: 68%;
  opacity: 0.25;
  height: 1px;
  animation: beam-slide-c 14s ease-in-out infinite;
}

.hero__trails {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.95;
}

.hero-trail {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  opacity: 0;
  animation: hero-trail-sweep 11s ease-in-out infinite;
}

.hero-trail.t1 { animation-duration: 10s; animation-delay: 0s; }
.hero-trail.t2 { animation-duration: 12s; animation-delay: 0.6s; }
.hero-trail.t3 { animation-duration: 14s; animation-delay: 1.2s; }
.hero-trail.t4 { animation-duration: 16s; animation-delay: 1.8s; }

.hero-trail--core {
  stroke-dasharray: 500;
  animation: hero-core-flow 7s linear infinite;
  opacity: 0.25;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 0, 1, 0.35) 0%, transparent 28%, transparent 55%, rgba(1, 0, 1, 0.88) 100%),
    radial-gradient(ellipse 70% 60% at 50% 45%, transparent 20%, rgba(1, 0, 1, 0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
  padding: 72px var(--pad) 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__brand {
  font-size: clamp(64px, 14vw, 160px);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 0.9;
  margin-bottom: clamp(20px, 4vw, 36px);
  color: #fffffe;
  text-shadow:
    0 0 40px rgba(255, 9, 1, 0.45),
    0 0 80px rgba(205, 0, 254, 0.35),
    0 0 120px rgba(103, 0, 205, 0.25);
  animation: brand-breathe 5s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(36px, 6.5vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  max-width: 14ch;
}

.hero__lead {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 254, 254, 0.78);
  max-width: 38ch;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.btn--hero {
  min-width: 180px;
  padding: 16px 28px;
  font-size: 15px;
}

.btn--red.btn--hero {
  box-shadow:
    0 0 0 1px rgba(255, 9, 1, 0.5),
    0 0 40px rgba(255, 9, 1, 0.35),
    0 16px 40px rgba(0, 0, 0, 0.45);
}

.hero__line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  max-width: 100%;
}

.hero__cursor {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px var(--red);
  flex-shrink: 0;
  animation: pulse-dot 1.4s ease-in-out infinite;
}

/* Bento */
.bento {
  display: grid;
  gap: 16px;
}

@media (min-width: 800px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento__item--wide { grid-column: span 2; }
}

.bento__item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.bento__item:hover {
  border-color: rgba(255, 9, 1, 0.35);
  transform: translateY(-4px);
  background: rgba(255, 9, 1, 0.04);
}

.bento__item--accent {
  background: linear-gradient(145deg, rgba(103, 0, 205, 0.18), rgba(255, 9, 1, 0.08));
  border-color: rgba(205, 0, 254, 0.25);
}

.bento__tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 14px;
}

.bento__item h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.bento__item p {
  font-size: 15px;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.6;
}

/* Studio */
.section--studio {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(103, 0, 205, 0.12), transparent 60%),
    var(--bg);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.studio {
  border: 1px solid rgba(255, 9, 1, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  background: #050505;
}

.studio__rail {
  display: flex;
  gap: 4px;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  overflow-x: auto;
}

.studio-tab {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.studio-tab.is-active {
  color: #fff;
  background: rgba(255, 9, 1, 0.2);
  box-shadow: 0 0 20px rgba(255, 9, 1, 0.15);
}

.studio__stage {
  position: relative;
  min-height: 320px;
  padding: 28px;
}

@media (min-width: 768px) {
  .studio__stage { min-height: 400px; padding: 40px; }
}

.studio-frame {
  display: none;
  height: 100%;
}

.studio-frame.is-active {
  display: block;
  animation: frame-in 0.45s var(--ease);
}

.mock {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.mock__nav {
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 9, 1, 0.35), rgba(103, 0, 205, 0.2));
}

.mock__hero {
  flex: 1;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 9, 1, 0.35), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(103, 0, 205, 0.4), transparent 55%),
    #121212;
}

.mock__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock__row i {
  display: block;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.mock--dash {
  flex-direction: row;
}

.mock__side {
  width: 22%;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.mock__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mock__cards i {
  display: block;
  height: 64px;
  border-radius: 10px;
  background: rgba(205, 0, 254, 0.15);
  border: 1px solid rgba(205, 0, 254, 0.2);
}

.mock__chart {
  flex: 1;
  border-radius: 12px;
  background:
    linear-gradient(180deg, transparent 40%, rgba(255, 9, 1, 0.15)),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(255, 255, 255, 0.04) 18px, rgba(255, 255, 255, 0.04) 19px),
    #141414;
}

.mock--checkout {
  flex-direction: row;
  gap: 16px;
}

.mock__form,
.mock__summary {
  flex: 1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.mock__summary {
  background: linear-gradient(160deg, rgba(255, 9, 1, 0.2), rgba(103, 0, 205, 0.15));
}

/* Timeline */
.timeline {
  display: grid;
  gap: 0;
}

@media (min-width: 900px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
  }
}

.timeline li {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 900px) {
  .timeline li {
    padding: 0 20px 0 0;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 24px;
  }
  .timeline li:first-child {
    border-left: none;
    padding-left: 0;
  }
}

.timeline span {
  display: block;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.timeline h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.timeline p {
  font-size: 14px;
  color: var(--muted);
  max-width: 28ch;
  line-height: 1.6;
}

/* Neon CTA */
.cta-wrap {
  width: 100%;
  background: var(--bg);
  padding: 140px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .cta-wrap { padding-inline: 32px; }
}

.cta-card {
  max-width: 1100px;
  width: 100%;
  min-height: 420px;
  position: relative;
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  border: 1px solid rgba(255, 9, 1, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 32px;
}

.cta-card__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.trail {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  opacity: 0;
  animation: trail-sweep 12s ease-in-out infinite;
}

.trail-0 { animation-duration: 10s; animation-delay: 0s; }
.trail-1 { animation-duration: 12s; animation-delay: 0.5s; }
.trail-2 { animation-duration: 14s; animation-delay: 1s; }
.trail-3 { animation-duration: 16s; animation-delay: 1.5s; }
.trail-4 { animation-duration: 18s; animation-delay: 2s; }
.trail-5 { animation-duration: 20s; animation-delay: 2.5s; }

.trail-core {
  stroke-dasharray: 400;
  animation: core-flow 8s linear infinite;
  opacity: 0.2;
}

.cta-glow {
  position: absolute;
  inset: 0;
}

.cta-glow--a {
  background: radial-gradient(circle at 30% 40%, rgba(255, 9, 0, 0.2) 0%, transparent 60%);
  animation: glow-pulse-a 12s ease-in-out infinite;
}

.cta-glow--b {
  background: radial-gradient(circle at 70% 80%, rgba(102, 0, 204, 0.1) 0%, transparent 60%);
  animation: glow-pulse-b 15s ease-in-out infinite;
}

.cta-particles {
  position: absolute;
  inset: 0;
}

.cta-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0;
  animation: particle-float linear infinite;
}

.cta-card__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-card__title {
  color: #fff;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 800px;
}

.cta-card__lead {
  color: #d1d5db;
  font-size: clamp(15px, 2vw, 16px);
  margin-bottom: 40px;
  max-width: 600px;
}

/* Pricing */
.price-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .price-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.price {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.price--hot {
  border-color: rgba(255, 9, 1, 0.45);
  background: linear-gradient(160deg, rgba(255, 9, 1, 0.1), rgba(103, 0, 205, 0.08));
  box-shadow: 0 0 40px rgba(255, 9, 1, 0.08);
}

.price__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}

.price h3 { font-size: 18px; font-weight: 600; }

.price__amount {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.price__amount span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.price__desc {
  font-size: 14px;
  color: var(--muted);
}

.price ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 16px;
  flex: 1;
}

.price li {
  font-size: 14px;
  padding-left: 18px;
  position: relative;
  color: rgba(255, 255, 255, 0.85);
}

.price li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.price .btn { margin-top: auto; }

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 0;
}

.footer__inner {
  display: grid;
  gap: 20px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer nav a {
  font-size: 14px;
  color: var(--muted);
}

.footer nav a:hover { color: #fff; }

.footer p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .footer nav { justify-content: center; }
}
