﻿/* ─── CURSOR GLOW ─── */
.cursor-glow {
  position: fixed; width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.12) 0%, transparent 70%);
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: left .12s ease, top .12s ease;
}

/* ─── PARTICLE CANVAS ─── */
#particle-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: .5;
}

/* ─── HERO TEXT REVEAL ─── */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(40px) skewY(2deg); }
  to   { opacity: 1; transform: translateY(0) skewY(0deg); }
}
.hero-text .badge    { animation: heroReveal .7s ease both; animation-delay: .1s; }
.hero-text h1        { animation: heroReveal .7s ease both; animation-delay: .25s; }
.hero-text .hero-sub { animation: heroReveal .7s ease both; animation-delay: .4s; }
.hero-buttons        { animation: heroReveal .7s ease both; animation-delay: .55s; }
.hero-stats          { animation: heroReveal .7s ease both; animation-delay: .7s; }

/* ─── GLOWING RING ON PHONE ─── */
.phone-mockup::after {
  content: '';
  position: absolute; inset: -20px;
  border-radius: 3.5rem;
  background: conic-gradient(from 0deg, transparent 60%, rgba(6,182,212,.6) 80%, transparent 100%);
  animation: rotateBorder 4s linear infinite;
  z-index: -1;
  filter: blur(8px);
}
@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ─── SHIMMER ON FEATURE CARDS ─── */
.feature-card { position: relative; overflow: hidden; }
.feature-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(6,182,212,.08) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.feature-card:hover::after { transform: translateX(100%); }

/* ─── SECTION TITLE UNDERLINE SWEEP ─── */
.section-title { position: relative; display: inline-block; }
.section-title::after {
  content: '';
  position: absolute; left: 0; bottom: -6px;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--purple-500), var(--violet-500));
  border-radius: 999px;
  transition: width .6s ease;
}
.section-title.underline-done::after { width: 60%; }

/* ─── PULSE DOT ON BADGE ─── */
.badge { position: relative; padding-left: 1.5rem; }
.badge::before {
  content: '';
  position: absolute; left: .6rem; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple-400);
  box-shadow: 0 0 0 0 rgba(34,211,238,.6);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(34,211,238,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}

/* ─── GRADIENT BORDER ON REVIEW CARDS ─── */
.review-card {
  position: relative;
}
.review-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(6,182,212,.0), rgba(6,182,212,.0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: background .4s;
  pointer-events: none;
}
.review-card:hover::before {
  background: linear-gradient(135deg, rgba(6,182,212,.7), rgba(14,165,233,.4));
}

/* ─── STORE BUTTONS GLOW PULSE ─── */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6,182,212,.3); }
  50%       { box-shadow: 0 0 24px 8px rgba(6,182,212,.15); }
}
.store-btn { animation: glowPulse 3s ease-in-out infinite; }
.store-btn:nth-child(2) { animation-delay: 1.5s; }

/* ─── WAVE DIVIDER ─── */
.wave-divider {
  width: 100%; overflow: hidden; line-height: 0;
  margin-top: -2px;
}
.wave-divider svg { display: block; width: 100%; height: 60px; }

/* ─── SCROLL PROGRESS BAR ─── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--purple-500), var(--violet-500), var(--pink-400));
  z-index: 200;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ─── TILT CARD ─── */
.feature-card { transform-style: preserve-3d; }

/* ─── MARQUEE STRIP ─── */
.marquee-section {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(6,182,212,.1);
  border-bottom: 1px solid rgba(6,182,212,.1);
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 3rem;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .9rem; font-weight: 600; color: var(--muted);
  flex-shrink: 0;
}
.marquee-item span:first-child { color: var(--purple-400); font-size: 1.1rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── TYPING CURSOR ─── */
.typed-cursor {
  display: inline-block; width: 3px; height: .9em;
  background: var(--purple-400); margin-left: 2px;
  vertical-align: middle; border-radius: 1px;
  animation: blink .75s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0; }
}

/* ─── HERO SECTION TITLE GRADIENT ANIMATE ─── */
h1 .accent {
  background: linear-gradient(90deg, #22d3ee, #0ea5e9, #14b8a6, #22d3ee);
  background-size: 300%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s linear infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ─── FLOAT FOR FLOATING CARDS ─── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
