/* =========================================
   LANDING PAGE 5 – NEON GREEN GLASS THEME
   ========================================= */

:root {
  --bg1: #030a05;
  --bg2: #00110f;
  --bg3: #012b1f;
  --accent: #39ff14;
  --accent2: #00ff9d;
  --cta1: #00ff95;
  --cta2: #0affff;
  --glass: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.15);
}

/* ---------- BASE ---------- */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  color: #fff;
  overflow-x: hidden;
}

body {
  background: radial-gradient(circle at top right, var(--bg3) 0%, var(--bg1) 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../images/money.png");
  background-size: 120px;
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* ---------- ATTENTION BAR ---------- */
.attention-bar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: linear-gradient(90deg, var(--cta1), var(--cta2));
  color: #000;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 8px;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  letter-spacing: 0.3px;
  text-shadow: 0 0 8px rgba(255,255,255,0.4);
}

/* ---------- HERO SECTION ---------- */
.top-hero {
  padding: 110px 20px 40px;
  text-align: center;
  background: radial-gradient(circle at bottom, rgba(255,255,255,0.04) 0%, transparent 80%);
}

.hero-headline {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.5px;
  margin: 10px auto 20px;
  max-width: 1100px; /* slightly wider headline area */
  word-break: keep-all;
}

/* --- Wider layout for large screens only --- */
@media (min-width: 1200px) {
  .hero-headline {
    max-width: 1250px;
    font-size: 4.6rem;
    line-height: 1.08;
  }

  .top-hero {
    padding: 130px 40px 60px; /* more breathing space */
  }
}

/* Keep mobile as-is */
@media (max-width: 768px) {
  .hero-headline {
    font-size: clamp(2rem, 7vw, 3rem);
    max-width: 90%;
  }
}

.hero-headline .gradient {
  background: linear-gradient(90deg, var(--accent), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(0,255,140,0.45));
}

.subhead-lg {
  font-family: "Oswald", sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #c8ffda;
  margin: 0 auto 35px;
  max-width: 1000px;  /* widened for balance with headline */
  line-height: 1.55;
  text-align: center;
}

/* --- Wider layout for large screens --- */
@media (min-width: 1200px) {
  .subhead-lg {
    font-size: 1.9rem;
    max-width: 1150px;
    line-height: 1.5;
  }
}

/* --- Mobile remains exactly as before --- */
@media (max-width: 768px) {
  .subhead-lg {
    font-size: 1.4rem;
    max-width: 90%;
    line-height: 1.55;
  }
}

.subhead-box {
  display: inline-block;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 34px 24px;
  box-shadow: 0 0 25px rgba(0,255,100,0.2), inset 0 0 10px rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
}

.subhead-box .blue-tag {
  display: inline-block;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 0 25px rgba(0,255,140,0.5);
}

/* ---------- SPLIT SECTION ---------- */
.split {
  padding: 70px 20px 100px;
}

.split-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 980px) {
  .split-wrap { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- FIXED VIDEO FRAME (fills container fully) ---------- */
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(0,255,140,0.25);
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}


/* ---------- CLEAN ICON BULLET LISTS ---------- */
.bullet-list,
.mini-points {
  list-style: none;       /* removes browser bullets */
  margin: 24px 0 0;
  padding: 0;
  text-align: left;       /* ensures left alignment everywhere */
}

.bullet-list li,
.mini-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  font-family: "Oswald", sans-serif;
  color: #e6ffe9;
  font-size: 1.05rem;
  text-align: left;
}

.bullet-list i,
.mini-points i {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.1rem;
  text-shadow: 0 0 10px rgba(0,255,140,0.4);
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Subtle icon hover animation */
.bullet-list li:hover i,
.mini-points li:hover i {
  transform: scale(1.2);
  color: var(--accent2);
}


/* ---------- OFFER CARD ---------- */
.offer-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 0 35px rgba(0,255,100,0.2);
  backdrop-filter: blur(12px);
}

.badge {
  background: linear-gradient(90deg, var(--cta1), var(--cta2));
  color: #001;
  font-weight: 800;
  padding: 10px 0;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0,255,160,0.5);
  margin-bottom: 18px;
}

.offer-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  background: linear-gradient(90deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0,255,140,0.4);
}

.offer-copy {
  color: #ccffde;
  font-size: 1rem;
  margin-bottom: 20px;
}

.cta-btn.big {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(90deg, var(--cta1), var(--cta2));
  color: #000;
  padding: 16px 30px;
  font-weight: 800;
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(0,255,140,0.4);
  transition: 0.25s ease;
}
.cta-btn.big:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 60px rgba(0,255,140,0.8);
}

.share-line {
  color: #aaffc6;
  margin: 12px 0;
  font-size: 0.95rem;
}

/* ---------- FEATURES ---------- */
.features {
  padding: 90px 20px;
  background: rgba(0,255,140,0.04);
  text-align: center;
}
.features-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}
.feature {
  flex: 1 1 260px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 25px;
  box-shadow: 0 0 40px rgba(0,255,100,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(10px);
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 60px rgba(0,255,140,0.5);
}
.feature i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
}
.feature h3 {
  font-family: "Oswald", sans-serif;
  margin: 8px 0;
  color: #e0ffe9;
}
.feature p {
  color: #b7ffc5;
  font-size: 0.95rem;
}

/* ---------- FOOTER ---------- */
.footer {
  text-align: center;
  padding: 50px 20px;
  color: #aaffc6;
  font-size: 0.9rem;
}

/* ---------- ERROR BOX ---------- */
.error-box {
  max-width: 600px;
  margin: 180px auto;
  padding: 50px 30px;
  background: rgba(255, 60, 60, 0.08);
  border: 1px solid rgba(255, 120, 120, 0.4);
  border-radius: 22px;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 50px rgba(255, 80, 80, 0.3);
}

/* ---------- DEMO WATERMARK ---------- */
.demo-watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: clamp(2.4rem, 6.5vw, 4.5rem);
  font-weight: 800;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  z-index: 9999;
  text-align: center;
  pointer-events: none;
  user-select: none;
  line-height: 1.3;
  letter-spacing: 2px;
  text-shadow:
    0 0 8px rgba(0,255,140,0.5),
    0 0 18px rgba(0,255,255,0.4),
    0 0 28px rgba(255,255,255,0.2);
  mix-blend-mode: screen;
  opacity: 0.8;
  filter: blur(0.3px);
}

.demo-watermark small {
  display: block;
  font-size: 1rem;
  opacity: 0.85;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.85);
  text-shadow:
    0 0 6px rgba(0,255,140,0.4),
    0 0 10px rgba(255,255,255,0.3);
}

/* === STAGE 2: NEON GLOW & MOTION ENHANCEMENTS === */

/* ---------- 1. Animated gradient for .gradient text ---------- */
/* ---------- FIXED GRADIENT TEXT (no overlay block) ---------- */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-headline .gradient {
  background-image: linear-gradient(90deg, var(--accent), var(--accent2), #ffffff, var(--accent));
  background-size: 300% 300%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease-in-out infinite;
  filter: drop-shadow(0 0 25px rgba(0,255,140,0.45));
  position: relative;
  z-index: 1;
}

/* ---------- 2. Glow pulse for buttons ---------- */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(0,255,140,0.4); }
  50% { box-shadow: 0 0 60px rgba(0,255,140,0.8); }
}
.cta-btn.big {
  animation: glowPulse 3.5s ease-in-out infinite;
}

/* ---------- 3. Subtle hover float for cards & features ---------- */
@keyframes floatUp {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.feature, .offer-card {
  animation: floatUp 10s ease-in-out infinite;
}

/* ---------- 4. Neon border pulse for .offer-card ---------- */
@keyframes borderPulse {
  0%,100% { box-shadow: 0 0 30px rgba(0,255,140,0.25), inset 0 0 10px rgba(255,255,255,0.05); }
  50% { box-shadow: 0 0 60px rgba(0,255,200,0.45), inset 0 0 15px rgba(255,255,255,0.08); }
}
.offer-card {
  animation: borderPulse 6s ease-in-out infinite, floatUp 12s ease-in-out infinite;
}

/* ---------- 5. Icon shimmer pulse ---------- */
@keyframes iconGlow {
  0%,100% { text-shadow: 0 0 8px rgba(0,255,140,0.4); transform: scale(1); }
  50% { text-shadow: 0 0 18px rgba(0,255,200,0.8); transform: scale(1.1); }
}
.feature i, .bullet-list i, .mini-points i {
  animation: iconGlow 4s ease-in-out infinite;
}

/* ---------- 6. Subtle hero fade-in scroll effect ---------- */
.top-hero, .split, .features {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 7. Ambient background glow ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(0,255,140,0.08) 0%, transparent 60%);
  filter: blur(80px);
  z-index: -1;
  animation: ambientPulse 12s ease-in-out infinite;
}
@keyframes ambientPulse {
  0%,100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

/* === STAGE 3: INTERACTIVE PARALLAX + GLASS REFLECTIONS === */

/* ---------- 1. Hero + offer-card tilt interaction ---------- */
.top-hero, .offer-card {
  transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.top-hero:hover, .offer-card:hover {
  transform: perspective(800px) rotateX(4deg) rotateY(-4deg) scale(1.02);
  box-shadow: 0 0 80px rgba(0,255,140,0.3);
}

/* ---------- 2. Reflection streak overlay ---------- */
@keyframes sweep {
  0%   { transform: translateX(-120%) rotate(20deg); opacity: 0; }
  20%  { opacity: 0.4; }
  50%  { transform: translateX(120%) rotate(20deg); opacity: 0.1; }
  100% { opacity: 0; }
}

.top-hero::after,
.offer-card::after,
.feature::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
    rgba(255,255,255,0.0) 0%,
    rgba(255,255,255,0.25) 50%,
    rgba(255,255,255,0.0) 100%);
  transform: rotate(20deg);
  animation: sweep 8s ease-in-out infinite;
  pointer-events: none;
}

/* Ensure parent elements allow ::after overlay */
.top-hero, .offer-card, .feature {
  position: relative;
  overflow: hidden;
}

/* ---------- 3. Smooth scroll + focus feel ---------- */
html {
  scroll-behavior: smooth;
}
a, button {
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
a:hover, button:hover {
  transform: translateY(-2px);
}

/* ---------- 4. Optional floating particles ---------- */
@keyframes particleFloat {
  0% { transform: translateY(0); opacity: 0.2; }
  50% { transform: translateY(-15px); opacity: 0.6; }
  100% { transform: translateY(0); opacity: 0.2; }
}
body::before {
  animation: particleFloat 12s ease-in-out infinite;
}

/* === STAGE 4: MICRO INTERACTIONS & RIPPLE FEEDBACK === */

/* ---------- 1. Ripple click effect on .cta-btn ---------- */
.cta-btn {
  position: relative;
  overflow: hidden;
}
.cta-btn::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: radial-gradient(circle, rgba(0,255,140,0.5) 10%, transparent 10.01%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width .6s ease, height .6s ease, opacity .8s ease;
}
.cta-btn:active::after {
  width: 200px;
  height: 200px;
  opacity: 0.5;
  transition: 0s;
}

/* ---------- 2. Icon reveal pulse ---------- */
.cta-btn i, .feature i, .mini-points i {
  transition: transform .4s ease, filter .4s ease;
}
.cta-btn:hover i,
.feature:hover i {
  transform: scale(1.25) rotate(8deg);
  filter: drop-shadow(0 0 15px var(--accent));
}

/* ---------- 3. Floating cursor trail ---------- */
body {
  cursor: none;
}
.neon-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,140,0.6) 0%, rgba(0,255,140,0) 70%);
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(4px);
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: transform .08s linear;
}

/* === STAGE 5: SCROLL REVEAL SURGE ANIMATIONS === */

/* --- 1. Default hidden state for surge elements --- */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition-property: opacity, transform, box-shadow;
}

/* --- 2. When AOS activates (visible on scroll) --- */
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* --- 3. Neon surge pulse --- */
@keyframes surgePulse {
  0%   { box-shadow: 0 0 0 rgba(0,255,140,0); }
  20%  { box-shadow: 0 0 30px rgba(0,255,140,0.3); }
  40%  { box-shadow: 0 0 60px rgba(0,255,140,0.5); }
  100% { box-shadow: 0 0 0 rgba(0,255,140,0); }
}

/* Apply the surge to key reveal elements */
[data-aos="surge"] {
  animation: surgePulse 2.5s ease-in-out;
}

/* Slight delay cascading effect for multiple features */
.features .feature:nth-child(1)[data-aos="surge"] { animation-delay: 0.1s; }
.features .feature:nth-child(2)[data-aos="surge"] { animation-delay: 0.25s; }
.features .feature:nth-child(3)[data-aos="surge"] { animation-delay: 0.4s; }

/* --- 4. Glowing edge during reveal --- */
[data-aos="surge"].aos-animate {
  border-color: rgba(0,255,140,0.5);
  box-shadow: 0 0 40px rgba(0,255,140,0.25);
}

/* --- 5. Optional flash accent behind hero --- */
@keyframes heroFlash {
  0% { background: radial-gradient(circle at 50% 50%, rgba(0,255,140,0) 0%, transparent 100%); }
  50% { background: radial-gradient(circle at 50% 50%, rgba(0,255,140,0.15) 0%, transparent 80%); }
  100% { background: radial-gradient(circle at 50% 50%, rgba(0,255,140,0) 0%, transparent 100%); }
}
.top-hero.aos-animate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  animation: heroFlash 2s ease-out;
  pointer-events: none;
}

/* === STAGE 6: ANIMATED ENERGY CIRCUIT BACKGROUND === */

/* ---------- 1. Background container ---------- */
.circuit-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 50% 40%, rgba(0,255,140,0.05) 0%, transparent 80%);
  overflow: hidden;
}


/* ---------- OPTIONAL: GLOWING ICON BADGES ---------- */
.bullet-list i,
.mini-points i {
  flex-shrink: 0;
  color: #000;
  background: radial-gradient(circle at center, var(--accent) 0%, var(--accent2) 70%);
  font-size: 0.9rem;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0,255,140,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bullet-list li:hover i,
.mini-points li:hover i {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(0,255,200,0.6);
}


/* ---------- 2. Circuit lines pattern ---------- */
.circuit-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0,255,140,0.08) 1px, transparent 1px),
    linear-gradient(0deg,  rgba(0,255,140,0.08) 1px, transparent 1px);
  background-size: 120px 120px;
  animation: circuitDrift 30s linear infinite;
  mix-blend-mode: screen;
  filter: blur(1px);
}

/* ---------- 3. Moving energy pulses ---------- */
.circuit-pulse {
  position: absolute;
  width: 2px;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(to bottom, rgba(0,255,140,0) 0%, rgba(0,255,140,0.6) 50%, rgba(0,255,140,0) 100%);
  animation: pulseMove 6s linear infinite;
  mix-blend-mode: screen;
}

@keyframes circuitDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 120px 120px, 120px 120px; }
}

@keyframes pulseMove {
  0%   { transform: translateX(0); opacity: 0.2; }
  50%  { transform: translateX(100vw); opacity: 0.6; }
  100% { transform: translateX(0); opacity: 0.2; }
}

/* ---------- 4. Hero area gets a subtle overlay ---------- */
.top-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(0,255,140,0.08) 0%, transparent 80%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

/* Ensure main hero content sits above */
.top-hero > * {
  position: relative;
  z-index: 1;
}

/* ---------- COUNTDOWN TIMER (Refined Glass Version) ---------- */
#countdown-timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #caffd8;
  background: rgba(0, 40, 10, 0.35);
  border: 1px solid rgba(0, 255, 140, 0.2);
  border-radius: 12px;
  padding: 5px 14px 6px;
  margin-left: 10px;
  backdrop-filter: blur(8px) saturate(150%);
  box-shadow:
    inset 0 0 12px rgba(0, 255, 140, 0.15),
    0 0 12px rgba(0, 255, 140, 0.25);
  text-shadow: 0 0 6px rgba(0,255,140,0.4);
  letter-spacing: 1.5px;
  transform: translateY(-1px);
  animation: countdownPulse 4s ease-in-out infinite;
  transition: all 0.25s ease;
  transform: translateY(-1px) perspective(200px) translateZ(1px);
}

/* Subtle neon breathing animation */
@keyframes countdownPulse {
  0%,100% { box-shadow: 0 0 12px rgba(0,255,140,0.2); opacity: 1; }
  50% { box-shadow: 0 0 22px rgba(0,255,140,0.4); opacity: 0.95; }
}

/* When below 30s (warning pulse) */
#countdown-timer.countdown-warning {
  color: #fff;
  background: linear-gradient(90deg, var(--cta1), var(--cta2));
  box-shadow: 0 0 30px rgba(255,0,184,0.4);
  text-shadow: 0 0 8px rgba(255,255,255,0.8);
  animation: countdownFlash 1.5s ease-in-out infinite;
}

@keyframes countdownFlash {
  0%,100% { opacity: 1; }
  50% { opacity: 0.8; transform: scale(1.04); }
}

/* keep attention bar slim */
.attention-bar {
  padding: 10px 12px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* ---------- MOBILE FIX: Prevent timer clipping ---------- */
@media only screen and (max-width: 820px) {
  .attention-bar {
    padding: 10px 18px 10px 12px !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }

  #countdown-timer {
    font-size: 0.9rem !important;
    padding: 4px 12px 5px !important;
    margin-left: 10px !important;
    max-width: 25vw; /* ensures it never overflows */
    text-align: center;
  }
}

/* ---------- iPhone Edge Safe-Area Fix ---------- */
@supports (padding: max(0px)) {
  .attention-bar {
    padding-right: max(16px, env(safe-area-inset-right)) !important;
    padding-left: max(10px, env(safe-area-inset-left)) !important;
    box-sizing: border-box;
  }

  #countdown-timer {
    margin-right: env(safe-area-inset-right);
  }
}
