:root {
  --ink: #e8e0f5;
  --muted: #9a8bb8;
  --bg: #000000;
  --bg-elevated: #0a0612;
  --card: #12081c;
  --line: rgba(160, 32, 240, 0.22);
  --accent: #a020f0;
  --accent-bright: #c44dff;
  --accent-deep: #6b12b0;
  --violet-dark: #300050;
  --video-white: #ffffff;
  --glow: 0 0 28px rgba(160, 32, 240, 0.35);
  --font: "Outfit", system-ui, sans-serif;
  --display: "Orbitron", "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(160, 32, 240, 0.22), transparent 55%),
    radial-gradient(700px 420px at 10% 40%, rgba(48, 0, 80, 0.45), transparent 50%),
    linear-gradient(180deg, #050208 0%, var(--bg) 35%, #08040e 100%);
  min-height: 100vh;
}

a { color: var(--accent-bright); text-decoration: none; }
a:hover { text-decoration: underline; color: #e0b0ff; }

.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 5vw;
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}
.logo:hover { text-decoration: none; opacity: 0.95; }
.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  background: #000;
  border-radius: 8px;
}
.logo-text {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
}
.logo-ai,
.logo-warlock {
  background: linear-gradient(180deg, #d070ff 0%, #7a18c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-video { color: var(--video-white); }
.site-nav nav { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
.site-nav nav a { color: var(--muted); font-weight: 500; text-decoration: none; font-size: 0.95rem; }
.site-nav nav a:hover, .site-nav nav a[aria-current="page"] { color: var(--video-white); }
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 600 !important;
  box-shadow: var(--glow);
}
.nav-cta:hover { background: var(--accent-bright) !important; text-decoration: none !important; }

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3vh 5vw 7vh;
}
.hero.hero-brand {
  display: block;
  padding: 0;
  min-height: calc(100vh - 72px);
  background: #000;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero.hero-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 50% 42%, rgba(160, 32, 240, 0.32), transparent 68%),
    radial-gradient(ellipse 40% 35% at 20% 80%, rgba(48, 0, 80, 0.55), transparent 60%),
    radial-gradient(ellipse 35% 30% at 85% 20%, rgba(107, 18, 176, 0.25), transparent 55%);
  pointer-events: none;
  animation: hero-aura 8s ease-in-out infinite;
}
@keyframes hero-aura {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}
.hero-stage {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3vh 5vw 6vh;
  gap: 1.25rem;
}
.hero-copy { max-width: 34rem; }
.brand-hero {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  margin: 0 0 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.brand-hero .logo-ai,
.brand-hero .logo-warlock {
  background: linear-gradient(180deg, #d070ff 0%, #7a18c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-hero .logo-video { color: var(--video-white); }
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--video-white);
  letter-spacing: 0.02em;
  max-width: 18ch;
}
.hero-line {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.55;
}
.lede, .band-lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 38rem;
}
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.6rem; }
.btn-solid, .btn-line {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.2rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: none; cursor: pointer; font: inherit;
}
.btn-solid {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  color: #fff;
  box-shadow: var(--glow);
}
.btn-solid:hover { filter: brightness(1.08); text-decoration: none; }
.btn-line {
  background: transparent;
  color: var(--video-white);
  border: 1px solid rgba(196, 77, 255, 0.55);
}
.btn-line:hover {
  background: rgba(160, 32, 240, 0.12);
  text-decoration: none;
  border-color: var(--accent-bright);
}

.hero-visual {
  border-radius: 0;
  min-height: 480px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(160, 32, 240, 0.28), transparent 62%),
    radial-gradient(ellipse at 30% 70%, rgba(48, 0, 80, 0.5), transparent 55%),
    #000;
  box-shadow: 0 0 60px rgba(160, 32, 240, 0.18);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.hero-visual::after { display: none; }
.hero-logo {
  width: min(92vw, 640px);
  height: auto;
  display: block;
  background: #000;
  border-radius: 12px;
  filter: drop-shadow(0 0 36px rgba(160, 32, 240, 0.5));
  animation: logo-glow 4.5s ease-in-out infinite, logo-rise 1.1s ease-out both;
}
@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 28px rgba(160, 32, 240, 0.4)); }
  50% { filter: drop-shadow(0 0 48px rgba(196, 77, 255, 0.6)); }
}
@keyframes logo-rise {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-brand .hero-cta {
  justify-content: center;
  margin-top: 0.4rem;
  animation: logo-rise 1.1s ease-out 0.2s both;
}
.hero-brand .hero-line {
  animation: logo-rise 1.1s ease-out 0.12s both;
}

.band { padding: 5rem 5vw; }
.band.alt {
  background: rgba(18, 8, 28, 0.65);
  border-block: 1px solid var(--line);
}
.band h2, .pricing-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  margin: 0 0 0.7rem;
  color: var(--video-white);
  letter-spacing: 0.02em;
}
.tri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.tri article,
.feature-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tri article:hover,
.feature-grid article:hover {
  border-color: rgba(196, 77, 255, 0.45);
  box-shadow: 0 0 24px rgba(160, 32, 240, 0.12);
}
.tri h3, .feature-grid h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  color: var(--video-white);
}
.tri p, .feature-grid p { margin: 0; color: var(--muted); line-height: 1.5; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.compare-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 720px;
}
table.compare th,
table.compare td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.4;
}
table.compare th {
  background: rgba(160, 32, 240, 0.14);
  font-weight: 600;
  white-space: nowrap;
  color: var(--video-white);
}
table.compare td.win { color: #d070ff; font-weight: 600; }
table.compare td.miss { color: #7a5a6a; }

.roadmap-list {
  max-width: 44rem;
  margin: 1.2rem 0 1.6rem;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.65;
}
.roadmap-list li { margin-bottom: 0.65rem; }
.roadmap-list strong { color: var(--video-white); }

.feature-list {
  list-style: none; padding: 0; margin: 1.2rem 0 1.6rem;
  display: grid; gap: 0.55rem; max-width: 40rem;
}
.feature-list li {
  padding: 0.7rem 0.9rem;
  background: var(--card);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
}

.cta-band {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(160, 32, 240, 0.35), transparent 55%),
    linear-gradient(135deg, #1a0530, #000);
  color: var(--ink);
  border-block: 1px solid var(--line);
}
.cta-band .band-lede, .cta-band p { color: rgba(232, 224, 245, 0.75); margin: 0 auto 1.2rem; }
.cta-band h2 { color: #fff; }
.cta-band .btn-solid {
  background: #fff;
  color: #2a0848;
  box-shadow: var(--glow);
}
.cta-band .btn-solid:hover { background: #f0e6ff; filter: none; }

.pricing-hero { text-align: center; padding-bottom: 1rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0 5vw 4rem;
  max-width: 1100px;
  margin: 0 auto;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem 1.3rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(160, 32, 240, 0.25);
  transform: translateY(-6px);
}
.price-card h2 { color: var(--video-white); margin: 0; }
.badge {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price { font-family: var(--display); font-size: 2rem; margin: 0; color: var(--video-white); }
.price span { font-size: 2.6rem; }
.price-card ul { margin: 0 0 1rem; padding-left: 1.1rem; color: var(--muted); line-height: 1.6; flex: 1; }

.site-foot {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 2rem 5vw; border-top: 1px solid var(--line); color: var(--muted);
  align-items: center;
  background: #000;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.foot-brand img {
  height: 48px;
  width: auto;
  display: block;
  background: #000;
  border-radius: 6px;
}
.site-foot strong { color: var(--video-white); }
.site-foot .logo-ai,
.site-foot .logo-warlock {
  background: linear-gradient(180deg, #d070ff 0%, #7a18c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-foot .logo-video { color: var(--video-white); }
.foot-links { display: flex; gap: 1rem; }

.auth-page { display: flex; flex-direction: column; min-height: 100vh; }
.auth-card {
  width: min(420px, 92vw);
  margin: 8vh auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.6rem 1.5rem 1.8rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), var(--glow);
}
.auth-card h1 {
  font-family: var(--display);
  margin: 0 0 0.4rem;
  color: var(--video-white);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
}
.auth-card form { display: grid; gap: 0.85rem; margin-top: 1.2rem; }
.auth-card label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.auth-card input {
  font: inherit; padding: 0.7rem 0.8rem; border-radius: 10px;
  border: 1px solid var(--line); background: #08040e; color: var(--ink);
}
.auth-card input:focus {
  outline: 2px solid rgba(160, 32, 240, 0.45);
  border-color: var(--accent);
}
.auth-card button { width: 100%; margin-top: 0.3rem; }
.form-msg { min-height: 1.2em; color: #ff7a9a; font-size: 0.88rem; margin: 0; }
.auth-switch { color: var(--muted); font-size: 0.92rem; }
.account-box { color: var(--muted); line-height: 1.6; }

.btn-google {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font: inherit;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #12081c;
  color: var(--video-white);
  cursor: pointer;
  margin-top: 1.2rem;
}
.btn-google:hover { background: rgba(160, 32, 240, 0.15); border-color: var(--accent); }
.btn-google:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-google .google-icon { flex-shrink: 0; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0.2rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

@media (max-width: 900px) {
  .hero, .tri, .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .hero.hero-brand { min-height: auto; }
  .hero-stage { min-height: auto; padding: 4vh 5vw 5vh; }
  .hero-logo { width: min(94vw, 420px); }
  .hero-visual { min-height: 280px; order: -1; }
  .logo-text { display: none; }
  .price-card.featured { transform: none; }
  .site-nav nav a:not(.nav-cta) { display: none; }
}
