/* =====================================================
   theme.css — Luxury Gothic design tokens + base styles.
   Ported from sinfulgrams.replit.app aesthetic.
   ===================================================== */

:root {
  /* Background */
  --bg: #0a0a0a;
  --bg-dark: #0a0003;
  --bg-elevated: #0f0508;
  --bg-card: #0F0508;

  /* Foreground */
  --fg: #f0e8e0;
  --fg-muted: #9a8e85;

  /* Primary — neon crimson */
  --primary-red: #ff3131;
  --neon-red: #ff003c;
  --dark-red: #8b0000;
  --deep-red: #7A0C2E;
  --velvet: #4A0E1B;

  /* Accent — luxury gold */
  --gold: #D4AF37;
  --gold-light: #E8D5A3;
  --gold-dim: #a68438;

  /* Legacy aliases for backward compat */
  --accent: #7A0C2E;
  --accent-light: #ff3131;
  --crimson: #8b0000;

  /* Radius */
  --radius: 16px;
  --radius-sm: 10px;

  /* Fonts */
  --font-display: 'Great Vibes', cursive;
  --font-serif: 'Playfair Display', serif;
  --font-body: 'Montserrat', 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  animation: fadeInSite 1.5s ease forwards;
}

@keyframes fadeInSite {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ======= NEON GLOW ANIMATIONS ======= */
@keyframes brandPulse {
  0%, 100% {
    text-shadow:
      0 0 7px #fff,
      0 0 10px #fff,
      0 0 21px var(--neon-red),
      0 0 42px var(--neon-red),
      0 0 82px var(--neon-red);
  }
  50% {
    text-shadow:
      0 0 4px #fff,
      0 0 7px rgba(255,255,255,0.8),
      0 0 15px rgba(255,0,60,0.6),
      0 0 30px rgba(255,0,60,0.4),
      0 0 60px rgba(255,0,60,0.2);
  }
}

@keyframes neonPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 15px rgba(255,49,49,0.8); }
  50% { opacity: 0.92; box-shadow: 0 0 8px rgba(255,49,49,0.4); }
}

@keyframes shimmerSlide {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes logoPulse {
  from { filter: drop-shadow(0 0 5px var(--neon-red)); }
  to { filter: drop-shadow(0 0 25px var(--neon-red)); }
}

@keyframes reviewGlow {
  from { box-shadow: 0 0 5px rgba(139,0,0,0.2); }
  to { box-shadow: 0 0 20px rgba(212,175,55,0.15); }
}

/* ======= HERO ======= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 80px 24px;
  gap: 60px;
  background:
    radial-gradient(ellipse at center top, rgba(139,0,0,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at center bottom, rgba(212,175,55,0.08) 0%, transparent 50%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,49,49,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 28px;
  color: var(--fg);
  animation: brandPulse 3s infinite ease-in-out;
}

.hero h1 em {
  color: var(--primary-red);
  font-style: italic;
}

.hero-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 480px;
  letter-spacing: 0.5px;
}

/* floating card mockup */
.hero-card-float {
  position: relative;
  z-index: 1;
}

.card-mock {
  width: 260px;
  height: 360px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #0F0508, #050205);
  border: 1px solid rgba(122,12,46,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(255,49,49,0.08),
    inset 0 0 30px rgba(255,49,49,0.05);
  transform: rotate(3deg);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card-mock::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.08), transparent);
  animation: shimmerSlide 3s infinite;
  pointer-events: none;
}

.card-mock:hover {
  transform: rotate(0deg) translateY(-8px);
  border-color: rgba(212,175,55,0.3);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 0 80px rgba(212,175,55,0.12),
    0 8px 40px rgba(212,175,55,0.1);
}

.card-front {
  text-align: center;
  padding: 32px;
  position: relative;
  z-index: 1;
}

.card-label {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--fg);
}

.card-action {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-dim);
  border-top: 1px solid rgba(212,175,55,0.15);
  padding-top: 16px;
}

/* ======= SECTION DIVIDER ======= */
.section-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

/* ======= HOW IT WORKS ======= */
.how {
  padding: 120px 24px;
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--bg) 0%, #050205 100%);
}

.how h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 72px;
  color: var(--fg);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.step {
  position: relative;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--deep-red);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.6;
  text-shadow: 0 0 15px rgba(122,12,46,0.3);
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}

.step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ======= FEATURES ======= */
.features {
  padding: 80px 24px 120px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(212,175,55,0.35);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(212,175,55,0.1);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.feature-consent .feature-icon { color: var(--gold); }
.feature-destruct .feature-icon { color: var(--primary-red); }
.feature-themed .feature-icon { color: var(--gold); }
.feature-interactive .feature-icon { color: var(--primary-red); }

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}

.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ======= CLOSING ======= */
.closing {
  padding: 120px 24px;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.closing-content {
  max-width: 640px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--fg);
}

.closing p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ======= FOOTER ======= */
.site-footer {
  padding: 48px 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--fg);
  text-shadow: 0 0 10px rgba(255,49,49,0.3);
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  font-style: italic;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 48px;
    padding-top: 100px;
  }
  .hero-sub {
    margin: 0 auto;
  }
  .how-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero { padding-top: 72px; min-height: auto; }
  .hero h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  .how-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .card-mock {
    width: 220px;
    height: 300px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
