/* ── index.css ─────────────────────────────────────────────────────────
   Homepage-only visual layer. Loaded after styles.css.
   Adds: Sora typography, radial color glows, ambient section lighting,
   enhanced card depth. No layout changes — purely decorative depth.
─────────────────────────────────────────────────────────────────────── */

/* ── Typography ────────────────────────────────────────────────────────── */
body {
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ── Hero: richer multi-color glow background ─────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  /* Override the single blue gradient with a layered violet+cyan+blue combo */
  background:
    radial-gradient(ellipse 60% 55% at 20% 80%,  rgba(94,234,212,0.07)  0%, transparent 65%),
    radial-gradient(ellipse 55% 50% at 80% 85%,  rgba(124,114,245,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% -5%,  rgba(124,114,245,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 15%,  rgba(59,130,246,0.10)  0%, transparent 55%),
    var(--bg);
}

/* Subtle animated radial pulse behind the hero title */
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 420px;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(124,114,245,0.18) 0%,
    rgba(94,234,212,0.06) 45%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: hero-pulse 6s ease-in-out infinite alternate;
  z-index: 0;
}

.hero-inner { position: relative; z-index: 1; }

@keyframes hero-pulse {
  from { transform: translateX(-50%) scale(1);    opacity: 0.7; }
  to   { transform: translateX(-50%) scale(1.08); opacity: 1;   }
}

/* Richer gradient for the hero title text */
.hero-title {
  background: linear-gradient(140deg,
    #5eead4 0%,
    #a8b8fc 35%,
    #c084fc 60%,
    #f472b6 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero em text matches the new palette */
.hero-sub em {
  background: linear-gradient(120deg, #5eead4 0%, #a8b8fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
  font-weight: 600;
}

/* Video placeholder: enhanced violet+cyan ambient glow */
.video-placeholder {
  border-color: rgba(124,114,245,0.45);
  box-shadow:
    0 0 0 1px rgba(124,114,245,0.15),
    0 0 50px rgba(124,114,245,0.30),
    0 0 100px rgba(94,234,212,0.10),
    0 0 160px rgba(124,114,245,0.10),
    0 28px 72px rgba(0,0,0,0.55);
  animation: placeholder-glow 5s ease-in-out infinite alternate;
}

@keyframes placeholder-glow {
  from {
    box-shadow:
      0 0 0 1px rgba(124,114,245,0.15),
      0 0 40px rgba(124,114,245,0.25),
      0 0 80px rgba(94,234,212,0.08),
      0 28px 72px rgba(0,0,0,0.55);
  }
  to {
    box-shadow:
      0 0 0 1px rgba(168,184,252,0.25),
      0 0 65px rgba(124,114,245,0.38),
      0 0 120px rgba(94,234,212,0.14),
      0 28px 72px rgba(0,0,0,0.55);
  }
}

/* ── Strip: gradient text tint ─────────────────────────────────────────── */
.strip {
  border-color: rgba(124,114,245,0.15);
  background: linear-gradient(90deg,
    rgba(10,12,16,0) 0%,
    rgba(124,114,245,0.04) 50%,
    rgba(10,12,16,0) 100%
  ), var(--bg2);
}

.strip-inner {
  color: #b0bfd4;
}

/* ── AI Threat section: deepen the red ambience ──────────────────────── */
.ai-threat {
  position: relative;
  overflow: hidden;
}

.ai-threat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 65% 50% at 80% 50%, rgba(239,68,68,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 50%, rgba(239,68,68,0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* ── Golden Question: violet accent glow ──────────────────────────────── */
.golden-q {
  position: relative;
  overflow: hidden;
}

.golden-q::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(167,139,250,0.10) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.golden-q-label {
  background: linear-gradient(120deg, #a8b8fc 0%, #5eead4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Features section: ambient violet glow from top ──────────────────── */
.features {
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 260px;
  background: radial-gradient(ellipse at 50% 0%,
    rgba(124,114,245,0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Feature cards: richer hover glow with violet tint */
.feature-card {
  border-color: rgba(124,114,245,0.22);
  box-shadow: 0 0 0 0 transparent, 0 2px 8px rgba(0,0,0,0.25);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(124,114,245,0.50);
  box-shadow:
    0 0 22px rgba(124,114,245,0.18),
    0 0 50px rgba(94,234,212,0.07),
    0 4px 24px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

/* ── How It Works: cyan side glow ─────────────────────────────────────── */
.how-it-works {
  position: relative;
  overflow: hidden;
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; top: 0;
  background:
    radial-gradient(ellipse 45% 70% at 0% 50%, rgba(94,234,212,0.05) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 100% 50%, rgba(124,114,245,0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* HIW cards: violet badge gradient tint */
.hiw-badge {
  background: linear-gradient(120deg, rgba(124,114,245,0.18) 0%, rgba(94,234,212,0.12) 100%);
  border: 1px solid rgba(124,114,245,0.30);
  color: #a8b8fc;
}

/* ── Pricing section: deeper glow on featured card ────────────────────── */
.pricing {
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%,
    rgba(124,114,245,0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Stronger glow on the featured pricing card */
.pricing-card--featured {
  border-color: rgba(124,114,245,0.45) !important;
  box-shadow:
    0 0 30px rgba(124,114,245,0.22),
    0 0 70px rgba(94,234,212,0.08),
    0 8px 40px rgba(0,0,0,0.4) !important;
  animation: featured-pulse 5s ease-in-out infinite alternate;
}

@keyframes featured-pulse {
  from {
    box-shadow:
      0 0 22px rgba(124,114,245,0.18),
      0 0 50px rgba(94,234,212,0.06),
      0 8px 40px rgba(0,0,0,0.4);
  }
  to {
    box-shadow:
      0 0 38px rgba(124,114,245,0.30),
      0 0 80px rgba(94,234,212,0.12),
      0 8px 40px rgba(0,0,0,0.4);
  }
}
