:root {
  --red: #FF1E40;
  --red-glow: #FF0055;
  --black: #030305;
  --ivory: #fffff0; /* Neon Ivory Spotlight */
  --card: rgba(15, 15, 18, 0.4);
  --hint: #a6a6b5;
  --border: rgba(255, 30, 64, 0.2);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--ivory); font-family: 'DM Sans', sans-serif; overflow-x: hidden; cursor: default; }

/* ── BACKGROUND ANIMATED GLOW ORBS ── */
.glow-orb { position: fixed; border-radius: 50%; filter: blur(140px); opacity: 0.4; z-index: 0; animation: floatOrb 15s infinite alternate ease-in-out; pointer-events: none; mix-blend-mode: screen; }
.orb-1 { width: 50vw; height: 50vw; background: #FF0055; top: -10vw; left: -10vw; animation-delay: 0s; }
.orb-2 { width: 40vw; height: 40vw; background: #FF5500; bottom: -10vw; right: -10vw; animation-delay: -5s; }
.orb-3 { width: 35vw; height: 35vw; background: #6600FF; top: 50%; left: 50%; animation-delay: -10s; transform: translate(-50%, -50%); }

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(15vw, -5vw) scale(1.3); }
}

body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 20px 48px; background: rgba(3, 3, 5, 0.4); backdrop-filter: blur(25px); border-bottom: 1px solid var(--border); }
.nav-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 24px; color: var(--ivory); text-decoration: none; text-shadow: 0 0 15px rgba(255, 30, 64, 0.6); }
.nav-logo span { color: var(--red); }
.nav-links { display: flex; gap: 36px; list-style: none; z-index: 2; position: relative; }
.nav-links a { color: var(--hint); text-decoration: none; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; transition: color 0.3s, text-shadow 0.3s; }
.nav-links a:hover { color: var(--ivory); text-shadow: 0 0 10px rgba(255,255,255,0.6); }
.nav-cta { background: linear-gradient(45deg, var(--red), var(--red-glow)); color: var(--ivory) !important; padding: 10px 24px; border-radius: 4px; box-shadow: 0 0 20px rgba(255, 0, 85, 0.5); transition: transform 0.3s, box-shadow 0.3s !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(255, 0, 85, 0.9); }

/* ── 3D SCROLL BACKGROUND EQUALIZER ── */
.bg-eq-wrapper { position: fixed; bottom: 0; left: 0; right: 0; height: 60vh; z-index: 0; pointer-events: none; opacity: 0.12; perspective: 1000px; transform-style: preserve-3d; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 2vw; gap: 1vw; }
.bg-eq-band { flex: 1; width: 100%; max-width: 6vw; height: 10vh; background: linear-gradient(180deg, var(--red-glow) 0%, var(--red) 100%); border-radius: 4px 4px 0 0; transform-origin: bottom; box-shadow: 0 -10px 40px rgba(255, 0, 85, 0.8), inset 0 0 15px rgba(255, 255, 255, 0.4); display: flex; justify-content: center; align-items: flex-start; overflow: hidden; transform: rotateX(25deg) translateZ(0px); transition: filter 0.2s; border: 1px solid rgba(255, 255, 255, 0.1); }
.bg-eq-val { margin-top: 15px; font-family: 'Syne', sans-serif; font-size: 1.5vw; font-weight: 800; color: rgba(255,255,255,0.7); writing-mode: vertical-rl; transform: rotate(180deg); text-shadow: 0 0 5px rgba(0,0,0,0.8); }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 140px 48px 80px; position: relative; z-index: 10; }
.hero-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red); margin-bottom: 24px; text-shadow: 0 0 15px rgba(255,30,64,0.7); animation: fadeUp 0.8s ease forwards 0.2s; opacity: 0; }
.hero-title { font-family: 'Syne', sans-serif; font-size: clamp(64px, 10vw, 130px); font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; margin-bottom: 32px; animation: fadeUp 0.8s ease forwards 0.4s; opacity: 0; }
.hero-title span { color: transparent; -webkit-text-stroke: 2px var(--red); text-shadow: 0 0 25px rgba(255,30,64,0.5); }
.hero-sub { font-size: clamp(16px, 2vw, 22px); font-weight: 300; color: var(--ivory); opacity: 0.9; max-width: 550px; line-height: 1.6; margin-bottom: 48px; animation: fadeUp 0.8s ease forwards 0.6s; }
.hero-actions { display: flex; gap: 20px; align-items: center; animation: fadeUp 0.8s ease forwards 0.8s; opacity: 0; }
.hero-tagline { position: absolute; bottom: 48px; left: 48px; font-family: 'DM Sans', sans-serif; font-style: italic; font-size: 13px; color: var(--hint); letter-spacing: 0.05em; opacity: 0; animation: fadeUp 0.8s ease forwards 1s; }

.btn-primary { background: linear-gradient(45deg, var(--red), var(--red-glow)); color: var(--ivory); padding: 18px 40px; border-radius: 4px; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 0 25px rgba(255, 0, 85, 0.6); display: inline-block; position: relative; overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transform: skewX(-20deg); transition: 0.5s; }
.btn-primary:hover::after { left: 150%; }
.btn-primary:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 0 40px rgba(255, 0, 85, 1); }

.btn-secondary { color: var(--ivory); padding: 18px 40px; border-radius: 4px; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--border); transition: all 0.3s; display: inline-block; backdrop-filter: blur(10px); background: rgba(255,255,255,0.02); }
.btn-secondary:hover { border-color: var(--red); box-shadow: 0 0 20px rgba(255,30,64,0.4), inset 0 0 10px rgba(255,30,64,0.2); transform: translateY(-4px); }

/* ── MARQUEE ── */
.marquee-strip { background: linear-gradient(90deg, #110000, var(--red), #110000); padding: 16px 0; overflow: hidden; white-space: nowrap; position: relative; z-index: 10; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); box-shadow: 0 0 20px rgba(255,30,64,0.3); }
.marquee-inner { display: inline-flex; animation: marquee 20s linear infinite; }
.marquee-inner span { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ivory); padding: 0 32px; text-shadow: 0 0 10px rgba(0,0,0,0.8); }
.marquee-inner span::after { content: '⚡'; margin-left: 32px; filter: drop-shadow(0 0 5px rgba(255,255,255,0.6)); }

/* ── SECTIONS ── */
section { padding: 120px 48px; position: relative; z-index: 10; }
.section-label { font-size: 12px; font-weight: 800; letter-spacing: 0.4em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; text-shadow: 0 0 12px rgba(255,30,64,0.6); }
.section-title { font-family: 'Syne', sans-serif; font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 24px; text-shadow: 0 0 20px rgba(0,0,0,0.8); }
.section-sub { font-size: 18px; font-weight: 300; color: var(--hint); max-width: 550px; line-height: 1.7; margin-bottom: 60px; text-shadow: 0 0 5px rgba(0,0,0,0.5); }
.red-line { width: 60px; height: 4px; background: linear-gradient(90deg, var(--red), var(--red-glow)); margin-bottom: 32px; box-shadow: 0 0 15px rgba(255,30,64,0.7); border-radius: 2px; }

/* ── CRAZY GLASSMORPHISM CARDS (IVORY MOUSE SPOTLIGHT + RED BASE HOVER) ── */
.mode-card, .preset-card, .enhancement-card, .ai-scene {
  background: var(--card); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden;
}

/* Base Red glow border and box shadow */
.mode-card:hover, .preset-card:hover, .enhancement-card:hover, .ai-scene:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 30, 64, 0.6);
  box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 35px rgba(255,30,64,0.35); z-index: 5;
}

/* IVORY SPOTLIGHT TRACKING THE MOUSE INSIDE THE BOX */
.mode-card::before, .preset-card::before, .ai-scene::before, .enhancement-card::before {
  content: ''; position: absolute; inset: 0;
  /* Uses JS-injected coordinates (--mouse-x and --mouse-y) to render spotlight */
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 240, 0.12),
    transparent 50%
  );
  opacity: 0; transition: opacity 0.3s; z-index: 1; pointer-events: none;
}
.mode-card:hover::before, .preset-card:hover::before, .ai-scene:hover::before, .enhancement-card:hover::before { opacity: 1; }

.mode-card *, .preset-card *, .enhancement-card *, .ai-scene * { position: relative; z-index: 2; }

/* ── MODES SECTION ── */
.modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; perspective: 1000px; }
.mode-card { padding: 48px 40px; }
.mode-number { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 800; letter-spacing: 0.2em; color: var(--red); margin-bottom: 24px; text-shadow: 0 0 12px rgba(255,30,64,0.6); }
.mode-name { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; color: var(--ivory); transition: color 0.3s; }
.mode-card:hover .mode-name { color: var(--ivory); text-shadow: 0 0 15px rgba(255, 30, 64, 0.8); }
.mode-desc { font-size: 15px; font-weight: 400; color: var(--hint); line-height: 1.7; margin-bottom: 32px; }
.mode-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); border: 1px solid rgba(255,30,64,0.5); padding: 8px 14px; border-radius: 4px; box-shadow: inset 0 0 12px rgba(255,30,64,0.15); background: rgba(255,30,64,0.05); }

/* ── PRESETS ── */
.presets-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 60px; }
/* Wrapping layout for smaller screens */
@media (max-width: 1200px) { .presets-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .presets-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .presets-grid { grid-template-columns: repeat(2, 1fr); } }

.preset-card { padding: 36px 24px; text-align: center; }
.preset-card:hover .preset-name { color: var(--red); text-shadow: 0 0 15px rgba(255, 30, 64, 0.7); transform: scale(1.05); }
.preset-name { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 12px; color: var(--ivory); transition: all 0.3s; }
.preset-desc { font-size: 14px; font-weight: 400; color: var(--hint); line-height: 1.6; }

/* ── AI SECTION ── */
.ai-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ai-scenes { display: flex; flex-direction: column; gap: 16px; }
.ai-scene { padding: 28px 32px; display: flex; align-items: center; gap: 24px; cursor: pointer; }
.ai-scene-dot { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,0.2); flex-shrink: 0; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 0 0 rgba(255, 30, 64, 0); }
.ai-scene:hover .ai-scene-dot { background: var(--red); box-shadow: 0 0 20px var(--red); transform: scale(1.6); }
.ai-scene-name { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800; color: var(--ivory); width: 180px; flex-shrink: 0; transition: color 0.3s, text-shadow 0.3s; }
.ai-scene:hover .ai-scene-name { color: var(--red); text-shadow: 0 0 15px rgba(255, 30, 64, 0.5); }
.ai-scene-desc { font-size: 15px; font-weight: 400; color: var(--hint); line-height: 1.6; }

/* ── ENHANCEMENTS ── */
.enhancements-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.enhancement-card { padding: 48px 40px; }
.enhancement-title { font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 800; margin-bottom: 20px; color: var(--ivory); transition: text-shadow 0.3s; }
.enhancement-card:hover .enhancement-title { text-shadow: 0 0 15px rgba(255, 30, 64, 0.6); }
.enhancement-desc { font-size: 15px; font-weight: 400; color: var(--hint); line-height: 1.7; }
.enhancement-status { display: inline-block; margin-top: 28px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); padding: 8px 16px; background: rgba(255,30,64,0.1); border-radius: 4px; box-shadow: inset 0 0 10px rgba(255,30,64,0.1); transition: color 0.3s, border-color 0.3s, box-shadow 0.3s; border: 1px solid transparent; }
.enhancement-card:hover .enhancement-status { color: var(--ivory); background: rgba(255, 30, 64, 0.6); box-shadow: 0 0 15px rgba(255, 30, 64, 0.8); border-color: rgba(255, 30, 64, 0.8); }

/* ── FOOTER ── */
footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 80px 48px; display: flex; justify-content: space-between; align-items: center; background: rgba(3,3,5,0.8); position: relative; z-index: 10; backdrop-filter: blur(20px); }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 36px; letter-spacing: -0.03em; color: var(--ivory); text-shadow: 0 0 20px rgba(0,0,0,0.8); }
.footer-logo span { color: var(--red); text-shadow: 0 0 15px rgba(255,30,64,0.6); }
.footer-tagline { font-style: italic; font-size: 15px; color: var(--hint); margin-top: 8px; font-weight: 600; }
.footer-right { text-align: right; font-size: 14px; color: var(--hint); line-height: 1.8; font-weight: 500; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.reveal { opacity: 0; transform: translateY(50px) scale(0.98); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

@media (max-width: 900px) {
  .modes-grid, .ai-section, .enhancements-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(48px, 10vw, 80px); }
  .ai-scene { flex-direction: column; align-items: flex-start; gap: 12px; }
  .bg-eq-wrapper { gap: 0.5vw; height: 40vh; }
  .bg-eq-val { font-size: 2vw; }
}
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 120px 24px 60px; }
  section { padding: 80px 24px; }
  footer { flex-direction: column; gap: 32px; text-align: center; }
  .footer-right { text-align: center; }
}
