/* ==========================================================
   MOROCCO IPTV LANDING — World Cup 2026
   Colors: Red #c1272d, Green #006233 (Moroccan flag)
   ========================================================== */

:root {
  --morocco-red: #c1272d;
  --morocco-red-bright: #e63946;
  --morocco-red-dark: #8b1a1f;
  --morocco-green: #006233;
  --morocco-green-bright: #00a651;
  --morocco-green-glow: #00ff7f;
  --gold: #ffd700;
  --gold-dark: #d4af00;
  --black: #0a0a0a;
  --dark: #120505;
  --darker: #080202;
  --white: #ffffff;
  --gray: #b8b8b8;

  --font-arabic: 'Tajawal', 'Cairo', sans-serif;
  --font-display: 'Cairo', sans-serif;
  --font-mono: 'Rubik Mono One', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-arabic);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(ellipse at top, rgba(0, 98, 51, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(193, 39, 45, 0.25) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #1a0505 50%, #050a05 100%);
  background-attachment: fixed;
}

/* ==========================================================
   3D STARFIELD CANVAS
   ========================================================== */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* ==========================================================
   FLOATING 3D TYPOGRAPHY
   ========================================================== */
.floating-typo {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  perspective: 1000px;
  overflow: hidden;
}

.float-word {
  position: absolute;
  font-family: var(--font-mono), var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.08;
  white-space: nowrap;
  text-shadow: 0 0 30px currentColor;
  will-change: transform;
}

.word-1 {
  top: 15%;
  left: 5%;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--morocco-green-bright);
  animation: float3d-1 18s ease-in-out infinite;
}

.word-2 {
  top: 60%;
  right: 8%;
  font-size: clamp(4rem, 12vw, 9rem);
  color: var(--morocco-red-bright);
  animation: float3d-2 22s ease-in-out infinite;
}

.word-3 {
  top: 80%;
  left: 10%;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--gold);
  animation: float3d-3 25s ease-in-out infinite;
}

.word-4 {
  top: 30%;
  right: 15%;
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--morocco-green-glow);
  font-family: var(--font-arabic);
  animation: float3d-4 20s ease-in-out infinite;
}

.word-5 {
  top: 50%;
  left: 45%;
  font-size: clamp(4rem, 10vw, 8rem);
  opacity: 0.12;
  animation: float3d-5 15s ease-in-out infinite;
}

.word-6 {
  top: 8%;
  right: 30%;
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--morocco-red);
  animation: float3d-6 28s ease-in-out infinite;
}

.word-7 {
  top: 45%;
  left: 20%;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--gold);
  font-family: var(--font-arabic);
  animation: float3d-7 24s ease-in-out infinite;
}

.word-8 {
  top: 70%;
  right: 40%;
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--morocco-green-bright);
  animation: float3d-8 19s ease-in-out infinite;
}

@keyframes float3d-1 {
  0%, 100% { transform: translateZ(0) rotateY(0deg) rotateX(0deg) translateY(0px); }
  25% { transform: translateZ(100px) rotateY(20deg) rotateX(-5deg) translateY(-30px); }
  50% { transform: translateZ(50px) rotateY(0deg) rotateX(10deg) translateY(20px); }
  75% { transform: translateZ(150px) rotateY(-20deg) rotateX(-5deg) translateY(-10px); }
}

@keyframes float3d-2 {
  0%, 100% { transform: translateZ(0) rotateY(0deg) rotateZ(0deg); }
  33% { transform: translateZ(80px) rotateY(-25deg) rotateZ(-3deg); }
  66% { transform: translateZ(120px) rotateY(15deg) rotateZ(3deg); }
}

@keyframes float3d-3 {
  0%, 100% { transform: translateZ(0) rotateX(0deg) translateX(0px); }
  50% { transform: translateZ(60px) rotateX(15deg) translateX(40px); }
}

@keyframes float3d-4 {
  0%, 100% { transform: translateZ(0) rotateY(0deg) translateY(0px); }
  50% { transform: translateZ(100px) rotateY(180deg) translateY(-50px); }
}

@keyframes float3d-5 {
  0%, 100% { transform: translateZ(0) rotateZ(0deg) scale(1); }
  50% { transform: translateZ(200px) rotateZ(360deg) scale(1.3); }
}

@keyframes float3d-6 {
  0%, 100% { transform: translateZ(0) rotateY(0deg) translateX(0px); }
  50% { transform: translateZ(80px) rotateY(-30deg) translateX(-30px); }
}

@keyframes float3d-7 {
  0%, 100% { transform: translateZ(0) rotateX(0deg) rotateY(0deg); }
  33% { transform: translateZ(70px) rotateX(10deg) rotateY(15deg); }
  66% { transform: translateZ(130px) rotateX(-10deg) rotateY(-15deg); }
}

@keyframes float3d-8 {
  0%, 100% { transform: translateZ(0) translateY(0px) rotateZ(0deg); }
  50% { transform: translateZ(90px) translateY(-40px) rotateZ(5deg); }
}

/* ==========================================================
   FLAG OVERLAY PATTERN
   ========================================================== */
.flag-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 98, 51, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(193, 39, 45, 0.15) 0%, transparent 40%);
  mix-blend-mode: screen;
}

/* ==========================================================
   GLOBAL UTILITIES
   ========================================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-sub {
  text-align: center;
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.gold { color: var(--gold); text-shadow: 0 0 30px rgba(255, 215, 0, 0.6); }
.gold-glow { color: var(--gold); text-shadow: 0 0 40px rgba(255, 215, 0, 0.8); }
.green-glow { color: var(--morocco-green-bright); text-shadow: 0 0 40px rgba(0, 255, 127, 0.6); }
.red-glow { color: var(--morocco-red-bright); text-shadow: 0 0 40px rgba(230, 57, 70, 0.6); }

/* ==========================================================
   TOP BANNER / TICKER
   ========================================================== */
.top-banner {
  position: relative;
  z-index: 100;
  background: linear-gradient(90deg, var(--morocco-red) 0%, var(--morocco-red-dark) 50%, var(--morocco-green) 100%);
  overflow: hidden;
  border-bottom: 2px solid var(--gold);
}

.ticker {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  padding: 0.6rem 0;
  animation: ticker-scroll 30s linear infinite;
  font-weight: 700;
  font-size: 0.95rem;
}

.ticker span {
  padding: 0 2rem;
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 6rem;
  z-index: 10;
}

.hero-inner {
  text-align: center;
  max-width: 1100px;
  position: relative;
  z-index: 10;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(0, 98, 51, 0.2);
  border: 1px solid var(--morocco-green-bright);
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(0, 255, 127, 0.3);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--morocco-green-glow);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 15px var(--morocco-green-glow);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.title-line {
  display: block;
  opacity: 0;
  animation: title-rise 1s forwards;
}

.line-1 { animation-delay: 0.2s; }
.line-2 { animation-delay: 0.5s; }
.line-3 { animation-delay: 0.8s; }

@keyframes title-rise {
  from {
    opacity: 0;
    transform: translateY(40px) rotateX(-30deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.line-2 {
  font-size: clamp(4rem, 12vw, 9rem);
  background: linear-gradient(135deg, var(--gold) 0%, #fff5a0 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
  animation-name: title-rise, gold-shimmer;
  animation-duration: 1s, 3s;
  animation-delay: 0.5s, 1.5s;
  animation-fill-mode: forwards, none;
  animation-iteration-count: 1, infinite;
}

@keyframes gold-shimmer {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6)); }
  50% { filter: drop-shadow(0 0 60px rgba(255, 215, 0, 0.9)); }
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: title-rise 1s 1.1s forwards;
}

.hero-sub strong {
  color: var(--morocco-green-glow);
  font-weight: 900;
}

/* COUNTDOWN */
.countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: title-rise 1s 1.3s forwards;
}

.count-box {
  background: linear-gradient(145deg, rgba(193, 39, 45, 0.3), rgba(0, 98, 51, 0.3));
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(10px);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(255, 215, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease;
}

.count-box:hover {
  transform: translateY(-5px) scale(1.05);
}

.count-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  line-height: 1;
}

.count-label {
  font-size: 0.85rem;
  color: var(--white);
  margin-top: 0.3rem;
  font-weight: 700;
}

/* HERO CTA BUTTONS */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 0;
  animation: title-rise 1s 1.5s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--morocco-red) 0%, var(--morocco-red-bright) 100%);
  color: var(--white);
  box-shadow:
    0 10px 30px rgba(193, 39, 45, 0.5),
    0 0 60px rgba(230, 57, 70, 0.3);
  position: relative;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.3), transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 15px 40px rgba(193, 39, 45, 0.7),
    0 0 80px rgba(230, 57, 70, 0.5);
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--morocco-green-bright);
  box-shadow: 0 0 30px rgba(0, 166, 81, 0.2);
}

.btn-ghost:hover {
  background: var(--morocco-green);
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0, 255, 127, 0.5);
}

.btn-large {
  padding: 1.3rem 3rem;
  font-size: 1.3rem;
}

/* TRUST ROW */
.trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: title-rise 1s 1.7s forwards;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-num {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.trust-label {
  font-size: 0.85rem;
  color: var(--gray);
}

.trust-divider {
  width: 1px;
  height: 30px;
  background: var(--gray);
  opacity: 0.3;
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  font-size: 0.85rem;
  animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--morocco-green-glow);
  border-bottom: 2px solid var(--morocco-green-glow);
  transform: rotate(45deg);
  box-shadow: 2px 2px 10px rgba(0, 255, 127, 0.5);
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(15px); }
}

/* ==========================================================
   PROBLEM SECTION
   ========================================================== */
.problem-section {
  padding: 6rem 0;
  position: relative;
  z-index: 10;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.problem-card {
  background: linear-gradient(145deg, rgba(193, 39, 45, 0.1), rgba(0, 0, 0, 0.5));
  border: 1px solid rgba(193, 39, 45, 0.3);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.problem-card:hover {
  transform: translateY(-10px);
  border-color: var(--morocco-red-bright);
  box-shadow: 0 20px 50px rgba(193, 39, 45, 0.3);
}

.problem-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-family: var(--font-display);
  color: var(--morocco-red-bright);
  margin-bottom: 0.7rem;
  font-size: 1.4rem;
}

.problem-card p {
  color: var(--gray);
  font-size: 1rem;
}

/* ==========================================================
   FEATURES SECTION
   ========================================================== */
.features-section {
  padding: 6rem 0;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: linear-gradient(145deg, rgba(0, 98, 51, 0.15), rgba(0, 0, 0, 0.6));
  border: 1px solid rgba(0, 166, 81, 0.3);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 255, 127, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--morocco-green-glow);
  box-shadow: 0 20px 50px rgba(0, 166, 81, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 0 20px rgba(0, 255, 127, 0.5));
}

.feature-card h3 {
  font-family: var(--font-display);
  color: var(--morocco-green-glow);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  position: relative;
}

.feature-card p {
  color: var(--gray);
  font-size: 0.98rem;
  position: relative;
}

/* ==========================================================
   PACKAGES SECTION
   ========================================================== */
.packages-section {
  padding: 6rem 0;
  position: relative;
  z-index: 10;
}

.urgency-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(90deg, var(--morocco-red-dark), var(--morocco-red-bright), var(--morocco-red-dark));
  background-size: 200% 100%;
  animation: urgency-shimmer 3s linear infinite;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 3rem;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
}

@keyframes urgency-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.fire {
  font-size: 1.5rem;
  animation: fire-flicker 0.6s ease-in-out infinite;
}

@keyframes fire-flicker {
  0%, 100% { transform: scale(1) rotate(-3deg); }
  50% { transform: scale(1.15) rotate(3deg); }
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}

.package-card {
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.95));
  border: 2px solid rgba(0, 166, 81, 0.3);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  position: relative;
  backdrop-filter: blur(20px);
}

.package-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.package-card.featured {
  border-color: var(--gold);
  background: linear-gradient(145deg, rgba(0, 98, 51, 0.25), rgba(193, 39, 45, 0.15));
  transform: scale(1.05);
  box-shadow:
    0 20px 60px rgba(255, 215, 0, 0.2),
    0 0 80px rgba(0, 255, 127, 0.15);
}

.package-card.featured:hover {
  transform: scale(1.08) translateY(-15px);
}

.featured-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  padding: 0.4rem 1.5rem;
  border-radius: 50px;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.6);
  white-space: nowrap;
}

.pkg-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pkg-header h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.pkg-header p {
  color: var(--gray);
  font-size: 0.95rem;
}

.pkg-price {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.old-price {
  display: block;
  text-decoration: line-through;
  color: var(--gray);
  opacity: 0.6;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.new-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
}

.currency {
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
}

.period {
  display: block;
  color: var(--gray);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

.per-month {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.35rem 0.9rem;
  background: rgba(0, 255, 127, 0.12);
  border: 1px solid rgba(0, 255, 127, 0.35);
  border-radius: 50px;
  color: var(--morocco-green-glow);
  font-size: 0.88rem;
  font-weight: 700;
}

.per-month.gold-month {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--gold);
  color: var(--gold);
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

/* ==========================================================
   VALUE / CHEAP-VS-OURS COMPARISON
   ========================================================== */
.value-section {
  padding: 6rem 0;
  position: relative;
  z-index: 10;
}

.value-intro {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 3.5rem;
}

.value-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(193, 39, 45, 0.18);
  border: 1px solid var(--morocco-red-bright);
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: var(--morocco-red-bright);
  text-shadow: 0 0 15px rgba(230, 57, 70, 0.4);
  animation: warn-pulse 2.2s ease-in-out infinite;
}

@keyframes warn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(230, 57, 70, 0); }
}

.vs-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.vs-card {
  border-radius: 24px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(20px);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease;
}

.vs-card:hover {
  transform: translateY(-8px);
}

.vs-card.cheap {
  background: linear-gradient(145deg, rgba(193, 39, 45, 0.18), rgba(30, 0, 0, 0.75));
  border: 2px solid rgba(193, 39, 45, 0.5);
  filter: grayscale(0.15);
}

.vs-card.ours {
  background: linear-gradient(145deg, rgba(0, 98, 51, 0.3), rgba(0, 30, 15, 0.75));
  border: 2px solid var(--gold);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.55),
    0 0 90px rgba(0, 255, 127, 0.15),
    inset 0 0 30px rgba(255, 215, 0, 0.05);
}

.vs-corner-tag {
  position: absolute;
  top: -14px;
  right: 1.5rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.cheap-tag {
  background: var(--morocco-red-dark);
  color: var(--white);
  border: 1px solid var(--morocco-red-bright);
}

.ours-tag {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
}

.vs-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vs-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

.vs-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  font-weight: 900;
}

.cheap .vs-header h3 { color: var(--morocco-red-bright); }
.ours .vs-header h3 { color: var(--gold); text-shadow: 0 0 20px rgba(255, 215, 0, 0.4); }

.vs-tagline {
  color: var(--gray);
  font-size: 0.92rem;
}

.vs-list {
  list-style: none;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.vs-list li {
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.5;
}

.vs-list li:last-child { border-bottom: none; }

.x {
  color: var(--morocco-red-bright);
  font-weight: 900;
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.check {
  color: var(--morocco-green-glow);
  font-weight: 900;
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 255, 127, 0.6);
}

.vs-cost {
  text-align: center;
  padding: 1.3rem;
  border-radius: 18px;
  margin-top: auto;
}

.cheap-cost {
  background: rgba(193, 39, 45, 0.15);
  border: 1px dashed rgba(193, 39, 45, 0.5);
}

.ours-cost {
  background: rgba(0, 98, 51, 0.3);
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 30px rgba(255, 215, 0, 0.1);
}

.cost-label {
  display: block;
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.cost-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
  line-height: 1.1;
}

.cheap .cost-num {
  color: var(--morocco-red-bright);
  text-decoration: line-through;
  text-decoration-thickness: 3px;
}

.ours .cost-num {
  color: var(--gold);
  text-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

.cost-note {
  display: block;
  font-size: 0.82rem;
  color: var(--gray);
  font-style: italic;
}

.vs-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  background: linear-gradient(135deg, var(--morocco-red), var(--black), var(--morocco-green));
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: auto 0;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.7),
    0 0 50px rgba(255, 215, 0, 0.35),
    inset 0 0 20px rgba(0, 0, 0, 0.5);
  align-self: center;
  border: 3px solid var(--gold);
  animation: vs-spin 8s linear infinite;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

@keyframes vs-spin {
  0%, 100% { transform: rotate(-5deg) scale(1); }
  50% { transform: rotate(5deg) scale(1.08); }
}

.value-conclusion {
  max-width: 880px;
  margin: 3.5rem auto 0;
  background: linear-gradient(135deg, rgba(0, 98, 51, 0.25), rgba(193, 39, 45, 0.15));
  border: 2px solid var(--gold);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 0 40px rgba(255, 215, 0, 0.05);
}

.value-conclusion p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--white);
  margin-bottom: 1.8rem;
}

.value-conclusion strong {
  color: var(--gold);
  font-size: 1.2rem;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.value-cta {
  display: inline-flex;
  margin-top: 0.5rem;
}

.footer-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 900;
  transition: text-shadow 0.3s;
}

.footer-link:hover {
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

@media (max-width: 900px) {
  .vs-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .vs-badge {
    margin: 0 auto;
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }
  .vs-corner-tag {
    right: 50%;
    transform: translateX(50%);
  }
}

.pkg-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pkg-features li {
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.98rem;
}

.pkg-features li:last-child {
  border-bottom: none;
}

.pkg-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--morocco-green), var(--morocco-green-bright));
  color: var(--white);
  padding: 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 98, 51, 0.4);
}

.pkg-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 255, 127, 0.5);
}

.featured-btn {
  background: linear-gradient(135deg, var(--morocco-red), var(--gold));
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
  font-size: 1.15rem;
}

.featured-btn:hover {
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.7);
}

.payment-methods {
  text-align: center;
  margin-top: 3rem;
}

.payment-methods > p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pay-method {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--white);
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testimonials-section {
  padding: 6rem 0;
  position: relative;
  z-index: 10;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testi-card {
  background: linear-gradient(145deg, rgba(0, 98, 51, 0.1), rgba(0, 0, 0, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.testi-card:hover {
  transform: translateY(-8px);
  border-color: var(--morocco-green-bright);
}

.stars {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testi-card p {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.7;
}

.testi-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.testi-author strong {
  color: var(--gold);
  font-size: 1.05rem;
}

.testi-author span {
  color: var(--gray);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq-section {
  padding: 6rem 0;
  position: relative;
  z-index: 10;
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--morocco-green-bright);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 2rem;
  color: var(--gold);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--gray);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  line-height: 1.8;
}

/* ==========================================================
   FINAL CTA
   ========================================================== */
.final-cta {
  padding: 6rem 0;
  position: relative;
  z-index: 10;
}

.cta-box {
  background: linear-gradient(135deg, rgba(193, 39, 45, 0.3), rgba(0, 98, 51, 0.3));
  border: 2px solid var(--gold);
  border-radius: 30px;
  padding: 4rem 2rem;
  text-align: center;
  backdrop-filter: blur(20px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(255, 215, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.1), transparent, rgba(0, 255, 127, 0.1), transparent);
  animation: rotate-bg 15s linear infinite;
}

@keyframes rotate-bg {
  to { transform: rotate(360deg); }
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
}

.cta-box > p {
  color: var(--gray);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  position: relative;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.7);
}

.cta-trust {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
}

.cta-trust span {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ==========================================================
   FOOTER
   ========================================================== */
footer {
  background: rgba(0, 0, 0, 0.6);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
  backdrop-filter: blur(20px);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  text-align: center;
}

.brand-logo {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.footer-brand h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--gray);
}

.footer-contact {
  text-align: center;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray);
  font-size: 0.9rem;
}

/* ==========================================================
   WHATSAPP FLOAT
   ========================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow:
    0 10px 30px rgba(37, 211, 102, 0.5),
    0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: whatsapp-pulse 2s infinite;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.15);
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 768px) {
  .package-card.featured {
    transform: scale(1);
  }

  .package-card.featured:hover {
    transform: translateY(-15px);
  }

  .trust-divider {
    display: none;
  }

  .countdown {
    gap: 0.5rem;
  }

  .count-box {
    min-width: 75px;
    padding: 0.8rem 0.6rem;
  }

  .float-word {
    opacity: 0.05;
  }

  .whatsapp-float {
    bottom: 1rem;
    left: 1rem;
    width: 50px;
    height: 50px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .new-price {
    font-size: 2.8rem;
  }

  .urgency-bar {
    font-size: 0.95rem;
    padding: 0.7rem 1rem;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
