/* ============================================================
   SpamJammer — Interactive / Animated Design Style
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --navy: #0F172A;
  --navy-light: #1E293B;
  --navy-mid: #334155;
  --violet: #8B5CF6;
  --violet-light: #A78BFA;
  --violet-dark: #7C3AED;
  --violet-glow: rgba(139, 92, 246, 0.4);
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --green: #10B981;
  --red: #EF4444;
  --amber: #F59E0B;

  --font: 'Red Hat Display', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--gray-600);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Scroll Animation Base ---------- */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}
.reveal-rotate {
  opacity: 0;
  transform: rotate(-5deg) translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-rotate.visible {
  opacity: 1;
  transform: rotate(0) translateY(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  transition: var(--transition-fast);
}
.nav__logo:hover { transform: scale(1.05); }
.nav__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--violet-glow); }
  50% { box-shadow: 0 0 20px 5px var(--violet-glow); }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--violet);
  transition: width 0.3s ease;
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }
.nav__link.active { color: var(--white); }
.nav__link.active::after { width: 100%; }

/* CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  color: var(--white);
  box-shadow: 0 4px 15px var(--violet-glow);
}
.btn--primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px var(--violet-glow);
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn--primary:hover::before { transform: translateX(100%); }

.btn--outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--violet);
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
}
.btn--large {
  padding: 16px 36px;
  font-size: 1.05rem;
}
.btn--dark {
  background: var(--navy);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

/* Pulsing CTA */
.btn--pulse {
  animation: btnPulse 2s ease-in-out infinite;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 4px 15px var(--violet-glow); }
  50% { box-shadow: 0 4px 40px var(--violet-glow), 0 0 60px rgba(139, 92, 246, 0.2); }
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-fast);
  border-radius: 2px;
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
/* Animated gradient mesh */
.hero__gradient {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: gradientFloat 15s ease-in-out infinite;
}
.hero__gradient--1 {
  top: -200px;
  right: -100px;
  background: var(--violet);
}
.hero__gradient--2 {
  bottom: -200px;
  left: -100px;
  background: #3B82F6;
  animation-delay: -5s;
  animation-duration: 20s;
}
.hero__gradient--3 {
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: #EC4899;
  animation-delay: -10s;
  animation-duration: 18s;
  opacity: 0.15;
}
@keyframes gradientFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.9); }
}

/* Floating geometric shapes */
.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.floating-shape {
  position: absolute;
  opacity: 0.15;
  animation: shapeFloat 20s ease-in-out infinite;
}
.floating-shape--1 {
  width: 80px; height: 80px;
  border: 2px solid var(--violet);
  border-radius: 20px;
  top: 15%; left: 10%;
  animation-duration: 18s;
  transform: rotate(45deg);
}
.floating-shape--2 {
  width: 40px; height: 40px;
  background: var(--violet-glow);
  border-radius: 50%;
  top: 30%; right: 15%;
  animation-delay: -3s;
  animation-duration: 14s;
}
.floating-shape--3 {
  width: 120px; height: 120px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  top: 60%; right: 20%;
  animation-delay: -7s;
  animation-duration: 22s;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
.floating-shape--4 {
  width: 60px; height: 60px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  bottom: 20%; left: 20%;
  animation-delay: -5s;
  animation-duration: 16s;
}
.floating-shape--5 {
  width: 30px; height: 30px;
  background: var(--violet);
  border-radius: 50%;
  top: 70%; left: 60%;
  animation-delay: -9s;
  opacity: 0.1;
}
.floating-shape--6 {
  width: 100px; height: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  top: 20%; right: 35%;
  animation-delay: -12s;
  animation-duration: 25s;
}
@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-30px) rotate(5deg); }
  50% { transform: translateY(10px) rotate(-3deg); }
  75% { transform: translateY(-15px) rotate(8deg); }
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--violet-light);
  border-radius: 50%;
  opacity: 0;
  animation: particleRise 8s ease-in-out infinite;
}
.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1.2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2.8s; }
.particle:nth-child(4) { left: 45%; animation-delay: 0.6s; }
.particle:nth-child(5) { left: 55%; animation-delay: 3.5s; }
.particle:nth-child(6) { left: 65%; animation-delay: 1.8s; }
.particle:nth-child(7) { left: 75%; animation-delay: 4.2s; }
.particle:nth-child(8) { left: 85%; animation-delay: 2.2s; }
.particle:nth-child(9) { left: 40%; animation-delay: 5s; }
.particle:nth-child(10) { left: 90%; animation-delay: 3s; }
.particle:nth-child(11) { left: 5%; animation-delay: 6s; }
.particle:nth-child(12) { left: 50%; animation-delay: 4.6s; }
@keyframes particleRise {
  0% { bottom: -10px; opacity: 0; transform: scale(0); }
  20% { opacity: 0.6; transform: scale(1); }
  80% { opacity: 0.3; }
  100% { bottom: 110%; opacity: 0; transform: scale(0.5); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero__tag {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  color: var(--violet-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards 0.3s;
}
.hero__title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: wordReveal 0.6s ease forwards;
}
.hero__title .word:nth-child(1) { animation-delay: 0.5s; }
.hero__title .word:nth-child(2) { animation-delay: 0.6s; }
.hero__title .word:nth-child(3) { animation-delay: 0.7s; }
.hero__title .word:nth-child(4) { animation-delay: 0.8s; }
.hero__title .word:nth-child(5) { animation-delay: 0.9s; }
.hero__title .word:nth-child(6) { animation-delay: 1.0s; }
.hero__title .highlight {
  background: linear-gradient(135deg, var(--violet), #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 550px;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards 1.2s;
}
.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards 1.4s;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__visual {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeSlideUp 1s ease forwards 1s;
}

/* ============================================================
   SPAM DEMO ANIMATION
   ============================================================ */
.spam-demo {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.spam-demo__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.spam-demo__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.spam-demo__dot--red { background: #EF4444; }
.spam-demo__dot--yellow { background: #F59E0B; }
.spam-demo__dot--green { background: #10B981; }
.spam-demo__title {
  margin-left: 8px;
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 500;
}
.spam-demo__emails {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.email-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateX(30px);
  animation: emailSlideIn 0.5s ease forwards;
}
.email-item:nth-child(1) { animation-delay: 1.5s; }
.email-item:nth-child(2) { animation-delay: 2.2s; }
.email-item:nth-child(3) { animation-delay: 2.9s; }
.email-item:nth-child(4) { animation-delay: 3.6s; }
.email-item:nth-child(5) { animation-delay: 4.3s; }
.email-item:nth-child(6) { animation-delay: 5.0s; }

.email-item--spam {
  animation: emailSlideInAndOut 1.5s ease forwards;
}
.email-item--spam .email-item__status { background: rgba(239, 68, 68, 0.15); color: var(--red); }
.email-item--safe .email-item__status { background: rgba(16, 185, 129, 0.15); color: var(--green); }

@keyframes emailSlideIn {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes emailSlideInAndOut {
  0% { opacity: 0; transform: translateX(30px); }
  30% { opacity: 1; transform: translateX(0); }
  70% { opacity: 1; transform: translateX(0); background: rgba(239, 68, 68, 0.08); }
  100% { opacity: 0.3; transform: translateX(-100%); }
}

.email-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  color: var(--violet-light);
}
.email-item__info {
  flex: 1;
  min-width: 0;
}
.email-item__sender {
  color: var(--gray-300);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.email-item__subject {
  color: var(--gray-500);
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.email-item__status {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--light {
  background: var(--white);
}
.section--gray {
  background: var(--gray-50);
}

.section__header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 64px;
}
.section__tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section--dark .section__tag {
  background: rgba(139, 92, 246, 0.15);
  color: var(--violet-light);
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.section--light .section__tag,
.section--gray .section__tag {
  background: rgba(139, 92, 246, 0.1);
  color: var(--violet);
}
.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section--dark .section__title { color: var(--white); }
.section--light .section__title,
.section--gray .section__title { color: var(--navy); }

.section__subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
}
.section--dark .section__subtitle { color: var(--gray-400); }
.section--light .section__subtitle,
.section--gray .section__subtitle { color: var(--gray-500); }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.stat:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.stat__number {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--violet-light);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  color: var(--gray-400);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ============================================================
   FEATURE CARDS (3D tilt/flip)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  perspective: 1000px;
  cursor: pointer;
}
.feature-card__inner {
  padding: 40px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.feature-card__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), #EC4899);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.feature-card:hover .feature-card__inner::before {
  transform: scaleX(1);
}
.feature-card:hover .feature-card__inner {
  transform: translateY(-12px) rotateX(2deg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  border-color: rgba(139, 92, 246, 0.3);
}
.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.feature-card:hover .feature-card__icon {
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  transform: scale(1.1) rotate(5deg);
}
.feature-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.feature-card__desc {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
}
.feature-card__hover-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, margin-top 0.3s ease;
  color: var(--violet);
  font-size: 0.85rem;
  font-weight: 600;
}
.feature-card:hover .feature-card__hover-detail {
  max-height: 60px;
  margin-top: 12px;
}

/* Dark variant */
.section--dark .feature-card__inner {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}
.section--dark .feature-card:hover .feature-card__inner {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.section--dark .feature-card__title { color: var(--white); }
.section--dark .feature-card__desc { color: var(--gray-400); }

/* ============================================================
   DEMO SECTION (Animated Filter)
   ============================================================ */
.demo-container {
  max-width: 800px;
  margin: 0 auto;
}
.demo-visual {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.demo-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--violet-glow), transparent, transparent);
  animation: borderRotate 6s linear infinite;
  opacity: 0.3;
}
@keyframes borderRotate {
  to { transform: rotate(360deg); }
}
.demo-visual__content {
  position: relative;
  z-index: 1;
  background: var(--navy);
  border-radius: 12px;
  padding: 24px;
}

/* Animated email stream */
.email-stream {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stream-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  opacity: 0;
  transform: translateX(50px);
}
.stream-item.animate {
  animation: streamSlide 0.6s ease forwards;
}
.stream-item--spam.animate {
  animation: streamSlideAndBlock 2s ease forwards;
}
@keyframes streamSlide {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes streamSlideAndBlock {
  0% { opacity: 0; transform: translateX(50px); }
  30% { opacity: 1; transform: translateX(0); background: rgba(255,255,255,0.03); }
  60% { opacity: 1; transform: translateX(0); background: rgba(239, 68, 68, 0.1); }
  100% { opacity: 0.2; transform: translateX(-20px) scale(0.95); background: rgba(239, 68, 68, 0.05); }
}
.stream-item__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stream-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.stream-item__dot--safe { background: var(--green); }
.stream-item__dot--spam { background: var(--red); }
.stream-item__text {
  color: var(--gray-300);
}
.stream-item__badge {
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}
.stream-item__badge--safe {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
}
.stream-item__badge--spam {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial {
  padding: 36px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
  position: relative;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 4rem;
  color: var(--violet-glow);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.testimonial__text {
  color: var(--gray-300);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
}
.testimonial__name {
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}
.testimonial__role {
  color: var(--gray-500);
  font-size: 0.8rem;
}
.testimonial__stars {
  color: var(--amber);
  font-size: 0.85rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy), #1a1145);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--violet-glow), transparent 70%);
  opacity: 0.2;
  animation: ctaPulse 4s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(1.05); }
}
.cta-section__content {
  position: relative;
  z-index: 2;
}
.cta-section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section__subtitle {
  font-size: 1.15rem;
  color: var(--gray-400);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.pricing-card {
  padding: 40px 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}
.pricing-card--featured {
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.pricing-card--featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, var(--violet), #EC4899, var(--violet));
  background-size: 200% 200%;
  z-index: -1;
  animation: animatedBorder 3s ease infinite;
}
@keyframes animatedBorder {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.pricing-card--featured:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(139, 92, 246, 0.2);
}
.pricing-card__badge {
  position: absolute;
  top: 0;
  right: 24px;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0 0 8px 8px;
}
.pricing-card__name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-card__price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 4px;
}
.pricing-card__price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-500);
}
.pricing-card__desc {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-200);
}
.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray-600);
  font-size: 0.9rem;
}
.pricing-card__feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-card .btn {
  width: 100%;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: rgba(139, 92, 246, 0.3);
}
.faq-item.active {
  border-color: var(--violet);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}
.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  transition: var(--transition-fast);
  background: var(--white);
}
.faq-item__question:hover {
  color: var(--violet);
}
.faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  color: var(--violet);
  font-size: 1.2rem;
  font-weight: 300;
}
.faq-item.active .faq-item__icon {
  background: var(--violet);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0 28px;
  background: var(--gray-50);
}
.faq-item.active .faq-item__answer {
  max-height: 300px;
  padding: 0 28px 24px;
}
.faq-item__answer p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  padding-top: 20px;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}
.contact-info__item:hover {
  transform: translateX(8px);
}
.contact-info__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.contact-info__item:hover .contact-info__icon {
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  transform: rotate(5deg);
}
.contact-info__label {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-info__value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 40px;
  transition: var(--transition);
}
.contact-form:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.form-group {
  margin-bottom: 24px;
  position: relative;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--navy);
  background: var(--white);
  transition: all var(--transition-fast);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}
.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
  transform: scaleX(1);
}
.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), #EC4899);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer__top-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), #EC4899, #3B82F6, var(--violet));
  background-size: 300% 100%;
  animation: footerLine 6s linear infinite;
}
@keyframes footerLine {
  to { background-position: -300% 0; }
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand-desc {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}
.footer__col-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__link {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  position: relative;
  display: inline-block;
}
.footer__link:hover {
  color: var(--white);
  transform: translateX(6px);
}
.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-500);
  font-size: 0.85rem;
}

/* ============================================================
   PARALLAX
   ============================================================ */
.parallax-layer {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

/* ============================================================
   ANIMATED GRADIENT BORDER
   ============================================================ */
.gradient-border {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(45deg, var(--violet), #EC4899, #3B82F6, var(--violet));
  background-size: 300% 300%;
  animation: animatedBorder 4s ease infinite;
  z-index: -1;
}

/* ============================================================
   SECTION WAVE DIVIDER
   ============================================================ */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ============================================================
   FEATURES PAGE: Detailed Features
   ============================================================ */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-detail:nth-child(even) {
  direction: rtl;
}
.feature-detail:nth-child(even) > * {
  direction: ltr;
}
.feature-detail__visual {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.feature-detail__mockup {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-detail__content {}
.feature-detail__tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--violet);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.feature-detail__title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.feature-detail__desc {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.feature-detail__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-detail__list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-600);
  font-size: 0.95rem;
}
.feature-detail__list-check {
  color: var(--green);
  font-weight: 700;
}

/* Animated Bars Mockup */
.mock-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mock-bar__label {
  color: var(--gray-400);
  font-size: 0.8rem;
  width: 80px;
  text-align: right;
  flex-shrink: 0;
}
.mock-bar__track {
  flex: 1;
  height: 24px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
}
.mock-bar__fill {
  height: 100%;
  border-radius: 12px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mock-bar__fill.animate {
  transform: scaleX(1);
}
.mock-bar__fill--1 { width: 95%; background: linear-gradient(90deg, var(--green), #34D399); }
.mock-bar__fill--2 { width: 88%; background: linear-gradient(90deg, var(--violet), var(--violet-light)); }
.mock-bar__fill--3 { width: 72%; background: linear-gradient(90deg, #3B82F6, #60A5FA); }
.mock-bar__fill--4 { width: 96%; background: linear-gradient(90deg, var(--amber), #FBBF24); }
.mock-bar__value {
  color: var(--gray-300);
  font-size: 0.8rem;
  font-weight: 700;
  width: 40px;
  flex-shrink: 0;
}

/* Shield animation mockup */
.shield-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.shield {
  width: 140px;
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shield__shape {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  clip-path: polygon(50% 0%, 100% 15%, 100% 70%, 50% 100%, 0% 70%, 0% 15%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: shieldPulse 2s ease-in-out infinite;
}
@keyframes shieldPulse {
  0%, 100% { filter: drop-shadow(0 0 10px var(--violet-glow)); }
  50% { filter: drop-shadow(0 0 30px var(--violet-glow)); }
}
.shield__icon {
  font-size: 3rem;
  color: var(--white);
}
.shield__ring {
  position: absolute;
  inset: -20px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  animation: ringExpand 3s ease-in-out infinite;
}
.shield__ring:nth-child(2) { inset: -40px; animation-delay: 1s; opacity: 0.5; }
.shield__ring:nth-child(3) { inset: -60px; animation-delay: 2s; opacity: 0.3; }
@keyframes ringExpand {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.6; }
}

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
}
.page-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.page-hero__subtitle {
  font-size: 1.15rem;
  color: var(--gray-400);
  max-width: 550px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 500px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card:last-child { grid-column: span 2; max-width: 400px; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .feature-detail { grid-template-columns: 1fr; gap: 32px; }
  .feature-detail:nth-child(even) { direction: ltr; }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  }
  .nav__links.open { right: 0; }
  .nav__toggle { display: flex; }
  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card:last-child { grid-column: span 1; max-width: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { width: 100%; }
}

@media (max-width: 480px) {
  .stat__number { font-size: 2rem; }
  .pricing-card { padding: 28px 20px; }
  .contact-form { padding: 24px; }
}
