/* ── Homepage cinematic experience ── */

body.page-landing { background: #020010; }

.global-stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 245, 255, 0.015) 2px,
    rgba(0, 245, 255, 0.015) 4px
  );
  opacity: 0.4;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(2, 0, 16, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(74, 47, 158, 0.35);
}
.nav-wrap { padding: 0 24px; }
.site-header .nav { border: none; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; }
.logo span {
  font-size: 1.15rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

main { position: relative; z-index: 2; padding-top: 72px; }

/* Hero cinema */
.hero-cinema {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-video.active { opacity: 0.45; }

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2,0,16,.3) 0%, rgba(2,0,16,.85) 70%, #020010 100%),
    radial-gradient(ellipse at 50% 0%, rgba(107,63,207,.25) 0%, transparent 60%);
  z-index: 1;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(0,245,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-1 { width: 400px; height: 400px; background: rgba(107,63,207,.35); top: 10%; left: 10%; }
.hero-orb-2 { width: 300px; height: 300px; background: rgba(0,245,255,.2); bottom: 20%; right: 15%; animation-delay: -4s; }
.hero-orb-3 { width: 250px; height: 250px; background: rgba(255,43,214,.2); top: 40%; right: 30%; animation-delay: -8s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-slider {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 100px;
  text-align: center;
}

.hero-slide {
  display: none;
  animation: slideUp 0.8s ease;
}
.hero-slide.active { display: block; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(15, 8, 40, 0.8);
  border: 1px solid rgba(0, 245, 255, 0.4);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-eyebrow .pulse-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,255,159,.6); }
  50% { box-shadow: 0 0 0 8px rgba(0,255,159,0); }
}

.hero-slide h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-slide h1 .line1 {
  display: block;
  background: linear-gradient(135deg, #fff 0%, var(--cyan) 45%, var(--magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-slide h1 .line2 {
  display: block;
  font-size: 0.55em;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  margin-top: 8px;
  font-weight: 700;
}

.hero-slide p {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--dim);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-preview {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  border: 2px solid rgba(0, 245, 255, 0.3);
  box-shadow: 0 0 60px rgba(0, 245, 255, 0.15), 0 24px 80px rgba(0,0,0,.5);
  overflow: hidden;
  background: var(--panel);
  transform: perspective(1200px) rotateX(4deg);
  transition: transform 0.5s ease;
}
.hero-preview:hover { transform: perspective(1200px) rotateX(0deg); }
.hero-preview img { width: 100%; display: block; }
.hero-preview-mock {
  padding: 0;
  font-family: Consolas, monospace;
  font-size: 0.75rem;
  text-align: left;
}
.mock-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--deep);
  border-bottom: 1px solid var(--border);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.r { background: #ff5f57; }
.mock-dot.y { background: #febc2e; }
.mock-dot.g { background: #28c840; }
.mock-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.8fr;
  gap: 0;
  min-height: 220px;
}
.mock-panel {
  padding: 14px;
  border-right: 1px solid var(--border);
  background: rgba(8, 4, 28, 0.9);
}
.mock-panel:last-child { border-right: none; }
.mock-panel h5 { font-size: 0.65rem; color: var(--gold); margin-bottom: 10px; }
.mock-card {
  background: var(--nebula);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 6px;
  font-size: 0.65rem;
  color: var(--dim);
}
.mock-console {
  color: var(--console-text);
  line-height: 1.6;
  padding: 14px;
}
.mock-stat { font-size: 1.2rem; font-weight: 800; color: var(--cyan); }

.hero-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-dots { display: flex; gap: 10px; }
.hero-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.hero-dot.active { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.hero-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(0,245,255,.4);
  background: rgba(15,8,40,.6);
  color: var(--cyan);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-arrow:hover { background: var(--glow); border-color: var(--cyan); }

/* Marquee */
.marquee-section {
  padding: 20px 0;
  border-top: 1px solid rgba(74,47,158,.3);
  border-bottom: 1px solid rgba(74,47,158,.3);
  background: rgba(8, 4, 28, 0.6);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.marquee-item span { color: var(--cyan); }

/* Stats */
.stats-section {
  padding: 80px 24px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  text-align: center;
  padding: 36px 20px;
  background: linear-gradient(145deg, var(--panel), var(--nebula));
  border: 2px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}
.stat-num {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { color: var(--dim); font-size: 0.9rem; margin-top: 8px; }

/* Section headers */
.section-hdr {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
  padding: 0 24px;
}
.section-hdr .eyebrow {
  color: var(--magenta);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-hdr h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-hdr p { color: var(--dim); font-size: 1.1rem; line-height: 1.6; }

/* How it works */
.how-section { padding: 100px 24px; }
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 800px) { .steps-row { grid-template-columns: 1fr; } }
.step-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: 24px;
  position: relative;
  transition: all 0.4s;
}
.step-card:hover {
  border-color: var(--cyan);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,245,255,.1);
}
.step-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--glow), var(--cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--void);
  font-size: 0.9rem;
}
.step-icon { font-size: 2.5rem; margin-bottom: 16px; }
.step-card h3 { color: var(--gold); margin-bottom: 12px; }
.step-card p { color: var(--dim); font-size: 0.95rem; line-height: 1.6; }

/* Feature showcase alternating */
.showcase-section { padding: 80px 24px 100px; }
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 100px;
}
.showcase-row.reverse { direction: rtl; }
.showcase-row.reverse > * { direction: ltr; }
@media (max-width: 900px) {
  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; direction: ltr; }
}
.showcase-visual {
  border-radius: 20px;
  border: 2px solid var(--border);
  overflow: hidden;
  position: relative;
  min-height: 280px;
  background: var(--deep);
}
.showcase-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  opacity: 0.7;
}
.showcase-visual .visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107,63,207,.3), rgba(0,245,255,.1));
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.visual-tag {
  background: rgba(2,0,16,.8);
  border: 1px solid var(--cyan);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 700;
}
.showcase-text h3 {
  font-size: 1.8rem;
  color: var(--cyan);
  margin-bottom: 16px;
}
.showcase-text p { color: var(--dim); line-height: 1.7; margin-bottom: 20px; }
.showcase-list { list-style: none; }
.showcase-list li {
  padding: 10px 0;
  color: var(--text);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(74,47,158,.3);
}
.showcase-list li::before { content: '▸ '; color: var(--success); }

/* Integrations */
.integrations-section {
  padding: 60px 24px 80px;
  text-align: center;
  background: rgba(8,4,28,.5);
}
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 40px auto 0;
}
.int-badge {
  padding: 14px 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  transition: all 0.3s;
}
.int-badge:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,245,255,.15);
  transform: translateY(-3px);
}

/* Features bento grid */
.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 100px;
}
@media (max-width: 900px) { .features-bento { grid-template-columns: 1fr; } }
.bento-card {
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.bento-card::after {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(0,245,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.bento-card:hover { border-color: var(--magenta); transform: scale(1.02); }
.bento-card.wide { grid-column: span 2; }
.bento-card .icon { font-size: 2rem; margin-bottom: 14px; }
.bento-card h3 { color: var(--gold); margin-bottom: 10px; font-size: 1.15rem; }
.bento-card p { color: var(--dim); font-size: 0.92rem; line-height: 1.6; }

/* Testimonials slider */
.testimonials-section { padding: 100px 24px; }
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  min-height: 200px;
}
.testimonial-slide {
  display: none;
  text-align: center;
  padding: 40px;
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: 24px;
  animation: slideUp 0.6s ease;
}
.testimonial-slide.active { display: block; }
.testimonial-slide blockquote {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-slide cite {
  color: var(--cyan);
  font-style: normal;
  font-weight: 700;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.t-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
}
.t-dot.active { background: var(--magenta); }

/* Video demo band */
.video-band {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
}
.video-band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.video-band-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.video-band-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.video-frame {
  margin-top: 40px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(0,245,255,.4);
  box-shadow: 0 0 80px rgba(0,245,255,.2);
  aspect-ratio: 16/9;
  background: var(--deep);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* CTA banner */
.cta-banner {
  margin: 0 24px 100px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 48px;
  border-radius: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--cyan);
  background: linear-gradient(135deg, rgba(107,63,207,.2), rgba(0,245,255,.08));
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none' stroke='rgba(0,245,255,0.06)'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  position: relative;
}
.cta-banner p { color: var(--dim); margin-bottom: 32px; font-size: 1.15rem; position: relative; }
.cta-banner .btn { position: relative; }

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(74,47,158,.4);
  background: rgba(2,0,16,.9);
  padding: 48px 0 32px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-tag { color: var(--dim); font-size: 0.9rem; max-width: 280px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--dim); font-size: 0.9rem; }
.footer-links a:hover { color: var(--cyan); text-decoration: none; }
.footer-copy { color: var(--dim); font-size: 0.8rem; opacity: 0.7; }