/* ============================================================
   DALA PREMIUM LANDING PAGES
   For Brands + For Supermarkets
   Cinematic video wall hero, glass-morphism, scroll reveals
   ============================================================ */

/* ============================================================
   VIDEO WALL HERO - Shared Base
   ============================================================ */
.page-hero-cinematic {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0807;
}

/* Video Wall Grid - Desktop: 5 videos, single row */
.hero-video-wall {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 1fr;
  gap: 3px;
  z-index: 1;
}

.hero-video-wall::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10,8,7,0.92) 0%,
      rgba(10,8,7,0.75) 25%,
      rgba(10,8,7,0.55) 50%,
      rgba(10,8,7,0.70) 75%,
      rgba(10,8,7,0.95) 100%
    );
  z-index: 2;
  pointer-events: none;
}

/* Vignette overlay */
.page-hero-cinematic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(10,8,7,0.6) 100%);
  z-index: 3;
  pointer-events: none;
}

/* Ambient glow — enhanced for single-row video wall */
.hero-ambient-glow {
  position: absolute;
  width: 800px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(229,57,53,0.09) 0%, transparent 70%);
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  animation: ambientPulse 8s ease-in-out infinite;
}

/* Top light wash — subtle warm light from above the videos */
.page-hero-cinematic .hero-light-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(255,240,220,0.025) 0%,
      transparent 25%,
      transparent 75%,
      rgba(10,8,7,0.3) 100%
    );
  z-index: 2;
  pointer-events: none;
}

@keyframes ambientPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.12); }
}

/* Video cell */
.video-cell {
  position: relative;
  overflow: hidden;
  background: #1a1412;
}

.video-cell video {
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.82;
  transition: opacity 0.6s ease;
}

.video-cell:hover video {
  opacity: 0.95;
}

/* Subtle edge light on each video cell */
.video-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035), inset 0 -1px 0 rgba(0,0,0,0.2);
  pointer-events: none;
  z-index: 2;
}

/* Staggered vertical offsets for organic rhythm (5 items only) */
.video-cell:nth-child(1) video { transform: translateY(-6%); }
.video-cell:nth-child(2) video { transform: translateY(3%); }
.video-cell:nth-child(3) video { transform: translateY(-3%); }
.video-cell:nth-child(4) video { transform: translateY(5%); }
.video-cell:nth-child(5) video { transform: translateY(-4%); }

/* Gentle zoom on each video for living feel */
@keyframes gentleZoom {
  0%, 100% { transform: scale(1) translateY(var(--offset, 0)); }
  50% { transform: scale(1.04) translateY(var(--offset, 0)); }
}
.video-cell:nth-child(1) video { animation: gentleZoom 12s ease-in-out infinite; --offset: -6%; }
.video-cell:nth-child(2) video { animation: gentleZoom 14s ease-in-out infinite 1s; --offset: 3%; }
.video-cell:nth-child(3) video { animation: gentleZoom 11s ease-in-out infinite 2s; --offset: -3%; }
.video-cell:nth-child(4) video { animation: gentleZoom 13s ease-in-out infinite 0.5s; --offset: 5%; }
.video-cell:nth-child(5) video { animation: gentleZoom 15s ease-in-out infinite 1.5s; --offset: -4%; }

/* Hero Content */
.hero-cinematic-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-cinematic-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229,57,53,0.15);
  border: 1px solid rgba(229,57,53,0.25);
  color: #E53935;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-cinematic-label i {
  font-size: 14px;
}

.hero-cinematic-title {
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-cinematic-title .title-line-1 {
  display: block;
}

.hero-cinematic-title .title-line-2 {
  display: block;
  background: linear-gradient(135deg, #ff8a80 0%, #E53935 50%, #c62828 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-cinematic-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-cinematic-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cinematic-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #E53935 0%, #c62828 100%);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(229,57,53,0.35), 0 2px 8px rgba(229,57,53,0.2);
  border: none;
  cursor: pointer;
}

.btn-cinematic-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(229,57,53,0.45), 0 4px 12px rgba(229,57,53,0.3);
}

.btn-cinematic-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
}

.btn-cinematic-secondary:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ============================================================
   STATS BAR - Floating glass bar below hero
   ============================================================ */
.stats-bar {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding: 0 24px;
}

.stats-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.stat-bar-item {
  padding: 32px 20px;
  text-align: center;
  background: rgba(10,8,7,0.6);
}

.stat-bar-number {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-bar-number .suffix {
  color: #E53935;
}

.stat-bar-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ============================================================
   MARQUEE SECTIONS
   ============================================================ */
.marquee-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #0a0807 0%, #f8f7f5 15%);
  overflow: hidden;
}

.marquee-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.marquee-label {
  display: inline-block;
  background: linear-gradient(135deg, #E53935 0%, #c62828 100%);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.marquee-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #140d0b;
  line-height: 1.15;
  margin-bottom: 12px;
}

.marquee-desc {
  font-size: 1.05rem;
  color: #5f5f5f;
  line-height: 1.65;
}

/* ============================================================
   BENEFITS SECTION - Dark cinematic
   ============================================================ */
.benefits-cinematic {
  padding: 100px 24px;
  background: linear-gradient(180deg, #f8f7f5 0%, #0a0807 20%, #0a0807 100%);
  position: relative;
  overflow: hidden;
}

.benefits-cinematic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: radial-gradient(ellipse at 50% 0%, rgba(229,57,53,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.benefits-cinematic-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 2;
}

.benefits-cinematic-label {
  display: inline-block;
  color: #E53935;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.benefits-cinematic-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.benefits-cinematic-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* Benefit Cards Grid */
.benefits-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.benefit-card-premium {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.benefit-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(229,57,53,0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.benefit-card-premium:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.benefit-card-premium:hover::before {
  opacity: 1;
}

.benefit-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(229,57,53,0.2) 0%, rgba(229,57,53,0.08) 100%);
  border: 1px solid rgba(229,57,53,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #E53935;
  margin-bottom: 24px;
}

.benefit-card-premium h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.benefit-card-premium p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.benefit-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.benefit-card-features li i {
  color: #E53935;
  font-size: 0.8rem;
}

/* ============================================================
   SERVICES SECTION - Light
   ============================================================ */
.services-premium {
  padding: 100px 24px;
  background: linear-gradient(180deg, #0a0807 0%, #f8f7f5 20%, #f8f7f5 100%);
  position: relative;
}

.services-premium-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.services-premium-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #140d0b;
  line-height: 1.1;
  margin-bottom: 16px;
}

.services-premium-subtitle {
  font-size: 1.05rem;
  color: #5f5f5f;
  line-height: 1.7;
}

/* Service Cards */
.services-grid-premium {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card-premium {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.04);
}

.service-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
}

.service-card-premium-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-card-premium-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-premium:hover .service-card-premium-image img {
  transform: scale(1.08);
}

.service-card-premium-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.4) 100%);
}

.service-card-premium-content {
  padding: 28px;
}

.service-card-premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229,57,53,0.08);
  color: #E53935;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.service-card-premium h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #140d0b;
  margin-bottom: 8px;
}

.service-card-premium p {
  font-size: 0.92rem;
  color: #5f5f5f;
  line-height: 1.65;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-premium {
  padding: 100px 24px;
  background: linear-gradient(180deg, #f8f7f5 0%, #0a0807 30%);
  position: relative;
  overflow: hidden;
}

.cta-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(229,57,53,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(229,57,53,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-premium-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-premium-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-premium-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ============================================================
   MOBILE ADAPTATIONS
   ============================================================ */
@media (max-width: 1024px) {
  .hero-video-wall {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
  }

  /* Hide videos 4-5 on tablet, show first 3 */
  .video-cell:nth-child(4),
  .video-cell:nth-child(5) {
    display: none;
  }

  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .services-grid-premium {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-video-wall {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
  }

  /* Hide videos 3-5 on mobile, show first 2 — larger, more impactful */
  .video-cell:nth-child(3),
  .video-cell:nth-child(4),
  .video-cell:nth-child(5) {
    display: none;
  }

  /* Remove stagger offsets on mobile for clean layout */
  .video-cell video {
    transform: none !important;
    animation: none !important;
    height: 100%;
  }

  .hero-cinematic-content {
    padding: 100px 20px 60px;
  }

  .hero-cinematic-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .hero-cinematic-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn-cinematic-primary,
  .btn-cinematic-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .stats-bar {
    margin-top: -30px;
    padding: 0 16px;
  }

  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 20px;
  }

  .stat-bar-item {
    padding: 24px 12px;
  }

  .stat-bar-number {
    font-size: 1.6rem;
  }

  .benefits-cinematic,
  .services-premium,
  .cta-premium {
    padding: 64px 20px;
  }

  .benefit-card-premium {
    padding: 28px;
  }

  .services-grid-premium {
    grid-template-columns: 1fr;
  }

  .service-card-premium-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .stats-bar-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-bar-item:nth-child(3),
  .stat-bar-item:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,0.06);
  }
}

/* ============================================================
   NAVBAR OVERRIDE FOR DARK HERO
   ============================================================ */
body.page-premium-landing .navbar {
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  backdrop-filter: none !important;
}

body.page-premium-landing .navbar-container {
  background: transparent !important;
}

body.page-premium-landing .nav-link {
  color: rgba(255,255,255,0.85) !important;
}

body.page-premium-landing .nav-link:hover {
  color: #ffffff !important;
  background: rgba(255,255,255,0.08) !important;
}

body.page-premium-landing .nav-link.active {
  color: #E53935 !important;
  background: rgba(229,57,53,0.15) !important;
}

body.page-premium-landing .nav-dropdown-trigger {
  color: rgba(255,255,255,0.85) !important;
}

body.page-premium-landing .mobile-menu-btn span {
  background: white !important;
}

/* When scrolled */
body.page-premium-landing .navbar.scrolled {
  background: rgba(10,8,7,0.92) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

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


/* ============================================================
   OPTION A: THE CRAFTED EXPERIENCE — EFFECT STYLES
   ============================================================ */

/* ------------------------------------------------------------
   REDUCED MOTION (critical accessibility)
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-video-wall .video-cell video {
    animation: none !important;
  }
  .hero-ambient-glow {
    animation: none !important;
  }
  .cta-particle-canvas {
    display: none !important;
  }
}

/* ------------------------------------------------------------
   STATS BAR — Hover lift + gradient line
   ------------------------------------------------------------ */
.stat-bar-item {
  position: relative;
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.stat-bar-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(229,57,53,0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-bar-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.stat-bar-item:hover::before {
  opacity: 1;
}

/* Suffix pulse animation */
@keyframes suffixPulse {
  0% { transform: scale(1); }
  30% { transform: scale(1.25); }
  60% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.stat-bar-number .suffix {
  display: inline-block;
  transform-origin: center;
}

/* ------------------------------------------------------------
   MARQUEE — Smooth hover deceleration
   ------------------------------------------------------------ */
.brand-track {
  transition: animation-duration 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------------------------------------
   BENEFITS — 3D tilt readiness + bullet base state
   ------------------------------------------------------------ */
.benefit-card-premium {
  transform-style: preserve-3d;
}

.benefit-card-features li {
  opacity: 0;
  transform: translateX(-12px);
}

/* Staggered reveal is handled by JS, but ensure visibility after */
.benefit-card-premium.revealed .benefit-card-features li {
  will-change: opacity, transform;
}

/* ------------------------------------------------------------
   SERVICES — Image mask reveal + arrow + badge hover
   ------------------------------------------------------------ */
.service-card-premium {
  position: relative;
  overflow: hidden;
}

.service-card-premium-image {
  clip-path: inset(0 100% 0 0);
}

.service-card-premium-image img {
  transform: scale(1.15);
}

/* Arrow that slides in on hover */
.service-card-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #E53935 0%, #c62828 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  opacity: 0;
  transform: translateX(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  pointer-events: none;
}

.service-card-premium:hover .service-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Badge hover state */
.service-card-premium-badge {
  transition: all 0.3s ease;
}

.service-card-premium:hover .service-card-premium-badge {
  background: #E53935;
  color: white;
}

/* ------------------------------------------------------------
   CTA — Word reveal base + particle canvas
   ------------------------------------------------------------ */
.cta-premium {
  position: relative;
  overflow: hidden;
}

.cta-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.cta-premium-inner {
  position: relative;
  z-index: 2;
}

/* Word reveal: inner spans start hidden, JS reveals them */
.cta-premium-title span {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.cta-premium-title span > span {
  display: inline-block;
  transform: translateY(110%);
}

/* Button glow pulse */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(229,57,53,0.35), 0 2px 8px rgba(229,57,53,0.2); }
  50% { box-shadow: 0 12px 48px rgba(229,57,53,0.5), 0 4px 16px rgba(229,57,53,0.35); }
}

.btn-cinematic-primary {
  animation: glowPulse 3s ease-in-out infinite;
}

/* Button press state */
.btn-cinematic-primary:active,
.btn-cinematic-secondary:active {
  transform: scale(0.97) !important;
}

/* Magnetic button transition override */
.btn-cinematic-primary,
.btn-cinematic-secondary {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

/* ------------------------------------------------------------
   HERO PARALLAX
   ------------------------------------------------------------ */
.hero-cinematic-content {
  will-change: transform, opacity;
}

.hero-video-wall {
  will-change: transform;
}

/* ------------------------------------------------------------
   FOCUS VISIBLE (accessibility)
   ------------------------------------------------------------ */
*:focus-visible {
  outline: 2px solid #E53935;
  outline-offset: 3px;
}

/* Remove default focus ring when using our custom one */
button:focus-visible,
a:focus-visible {
  outline: 2px solid #E53935;
  outline-offset: 3px;
}

/* ------------------------------------------------------------
   SMOOTH SCROLL (global)
   ------------------------------------------------------------ */
html {
  scroll-behavior: smooth;
}

/* ------------------------------------------------------------
   MARQUEE HEADER ENHANCED REVEAL
   ------------------------------------------------------------ */
.marquee-header [data-reveal] {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.marquee-header [data-reveal]:not(.revealed) {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
}

.marquee-header [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ------------------------------------------------------------
   BENEFITS HEADER ENHANCED REVEAL
   ------------------------------------------------------------ */
.benefits-cinematic-header [data-reveal] {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefits-cinematic-header [data-reveal]:not(.revealed) {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
}

.benefits-cinematic-header [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ------------------------------------------------------------
   SERVICES HEADER ENHANCED REVEAL
   ------------------------------------------------------------ */
.services-premium-header [data-reveal] {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-premium-header [data-reveal]:not(.revealed) {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
}

.services-premium-header [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ------------------------------------------------------------
   MOBILE: Disable heavy effects
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .cta-particle-canvas {
    opacity: 0.3 !important;
  }

  .service-card-arrow {
    display: none;
  }

  .btn-cinematic-primary {
    animation: none;
  }

  /* Simpler hover states on touch */
  .stat-bar-item:hover {
    transform: none;
  }

  .benefit-card-premium:hover {
    transform: none;
  }
}


/* ============================================================
   EDITORIAL REDESIGN v4 — Below-the-fold complete overhaul
   Magazine-grade layout: stats band, float grid, chapters,
   bento services, quote, immersive CTA, homepage footer
   ============================================================ */

/* ------------------------------------------------------------
   STATS EDITORIAL BAND
   ------------------------------------------------------------ */
.stats-editorial {
  background: #0a0807;
  padding: 100px 24px 80px;
  position: relative;
}

.stats-editorial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(229,57,53,0.4) 50%, transparent 100%);
}

.stats-editorial-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-editorial-item {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.stat-editorial-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.08), transparent);
}

.stat-editorial-number {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-editorial-number .suffix {
  color: #E53935;
  font-size: 0.45em;
  font-weight: 700;
  vertical-align: super;
  margin-left: 2px;
}

.stat-editorial-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 14px;
  font-weight: 600;
}

/* ------------------------------------------------------------
   TRUST FLOAT GRID
   ------------------------------------------------------------ */
.trust-editorial {
  background: #f8f7f5;
  padding: 100px 24px;
  overflow: hidden;
}

.trust-editorial-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.trust-editorial-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E53935;
  margin-bottom: 16px;
}

.trust-editorial-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #140d0b;
  line-height: 1.1;
  margin-bottom: 16px;
}

.trust-editorial-desc {
  font-size: 1.05rem;
  color: #5f5f5f;
  line-height: 1.7;
}

.trust-float-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.trust-float-item {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: floatY 5s ease-in-out infinite;
  border: 1px solid rgba(0,0,0,0.04);
}

.trust-float-item:nth-child(2) { animation-delay: -0.7s; }
.trust-float-item:nth-child(3) { animation-delay: -1.4s; }
.trust-float-item:nth-child(4) { animation-delay: -2.1s; }
.trust-float-item:nth-child(5) { animation-delay: -2.8s; }
.trust-float-item:nth-child(6) { animation-delay: -3.5s; }
.trust-float-item:nth-child(7) { animation-delay: -4.2s; }

.trust-float-item:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: rgba(229,57,53,0.15);
}

.trust-float-item img {
  height: 36px;
  width: auto;
  object-fit: contain;
  max-width: 130px;
  display: block;
}

.trust-float-item .brand-name-text {
  font-size: 14px;
  font-weight: 600;
  color: #140d0b;
  white-space: nowrap;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ------------------------------------------------------------
   BENEFITS EDITORIAL CHAPTERS
   ------------------------------------------------------------ */
.benefits-editorial {
  background: #0a0807;
  position: relative;
}

.benefit-chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 75vh;
  position: relative;
  overflow: hidden;
}

.benefit-chapter:nth-child(even) {
  direction: rtl;
}

.benefit-chapter:nth-child(even) > * {
  direction: ltr;
}

.benefit-chapter-visual {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.benefit-chapter-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-chapter:hover .benefit-chapter-visual img {
  transform: scale(1.05);
}

.benefit-chapter-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,8,7,0.75) 0%, rgba(10,8,7,0.2) 100%);
}

.benefit-chapter:nth-child(even) .benefit-chapter-overlay {
  background: linear-gradient(-90deg, rgba(10,8,7,0.75) 0%, rgba(10,8,7,0.2) 100%);
}

.benefit-chapter-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
  position: relative;
}

.benefit-chapter-number {
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 800;
  color: rgba(229,57,53,0.06);
  line-height: 1;
  position: absolute;
  top: 32px;
  left: 40px;
  pointer-events: none;
  letter-spacing: -0.04em;
}

.benefit-chapter-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E53935;
  margin-bottom: 16px;
}

.benefit-chapter-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.benefit-chapter-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  max-width: 460px;
}

.benefit-chapter-features {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-chapter-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
}

.benefit-chapter-features li i {
  color: #E53935;
  font-size: 0.8rem;
}

/* ------------------------------------------------------------
   SERVICES BENTO GRID
   ------------------------------------------------------------ */
.services-bento {
  background: linear-gradient(180deg, #0a0807 0%, #f8f7f5 8%, #f8f7f5 100%);
  padding: 100px 24px;
}

.services-bento-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.services-bento-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E53935;
  margin-bottom: 16px;
}

.services-bento-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #140d0b;
  line-height: 1.1;
  margin-bottom: 16px;
}

.services-bento-desc {
  font-size: 1.05rem;
  color: #5f5f5f;
  line-height: 1.7;
}

.bento-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  border: 1px solid rgba(0,0,0,0.03);
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
  border-color: rgba(229,57,53,0.1);
}

.bento-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.bento-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .bento-card-image img {
  transform: scale(1.08);
}

.bento-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.25) 100%);
}

.bento-card-content {
  padding: 24px 28px 28px;
}

.bento-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229,57,53,0.07);
  color: #E53935;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.bento-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #140d0b;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 0.9rem;
  color: #5f5f5f;
  line-height: 1.65;
}

/* ------------------------------------------------------------
   QUOTE EDITORIAL
   ------------------------------------------------------------ */
.quote-editorial {
  background: #0a0807;
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-editorial::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18rem;
  font-weight: 800;
  color: rgba(229,57,53,0.035);
  line-height: 1;
  pointer-events: none;
  font-family: Georgia, 'Times New Roman', serif;
}

.quote-editorial-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.quote-text {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 32px;
}

.quote-author {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
}

.quote-author strong {
  color: #E53935;
  font-weight: 700;
}

/* ------------------------------------------------------------
   CTA EDITORIAL — Immersive
   ------------------------------------------------------------ */
.cta-editorial {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0807;
  position: relative;
  overflow: hidden;
  padding: 100px 24px;
}

.cta-editorial-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 70px 70px;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.cta-editorial-glow {
  position: absolute;
  width: 600px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(229,57,53,0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glowBreathe 6s ease-in-out infinite;
}

@keyframes glowBreathe {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.1); }
}

.cta-editorial-inner {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.cta-editorial-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E53935;
  margin-bottom: 28px;
}

.cta-editorial-title {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 24px;
}

.cta-editorial-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------
   SCROLL REVEALS for editorial sections
   ------------------------------------------------------------ */
[data-editorial-reveal] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-editorial-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-editorial-reveal-delay="1"] { transition-delay: 0.1s; }
[data-editorial-reveal-delay="2"] { transition-delay: 0.2s; }
[data-editorial-reveal-delay="3"] { transition-delay: 0.3s; }
[data-editorial-reveal-delay="4"] { transition-delay: 0.4s; }

/* Staggered benefit chapter reveals */
.benefit-chapter[data-editorial-reveal] {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-chapter[data-editorial-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------
   MOBILE ADAPTATIONS for editorial
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-editorial {
    padding: 60px 20px 50px;
  }

  .stats-editorial-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-editorial-item {
    padding: 28px 12px;
  }

  .stat-editorial-item:nth-child(2)::after,
  .stat-editorial-item:nth-child(4)::after {
    display: none;
  }

  .stat-editorial-item:nth-child(1)::after,
  .stat-editorial-item:nth-child(3)::after {
    bottom: 0;
    top: auto;
    left: 15%;
    right: 15%;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  }

  .trust-editorial {
    padding: 64px 20px;
  }

  .trust-float-item {
    padding: 16px 20px;
    animation: none;
  }

  .trust-float-item img {
    height: 28px;
    max-width: 100px;
  }

  .benefit-chapter {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .benefit-chapter:nth-child(even) {
    direction: ltr;
  }

  .benefit-chapter-visual {
    height: 260px;
    order: -1;
  }

  .benefit-chapter-overlay {
    background: linear-gradient(180deg, rgba(10,8,7,0.3) 0%, rgba(10,8,7,0.8) 100%) !important;
  }

  .benefit-chapter-content {
    padding: 40px 24px;
  }

  .benefit-chapter-number {
    top: 16px;
    left: 16px;
    font-size: 4rem;
  }

  .services-bento {
    padding: 64px 20px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card-image {
    height: 180px;
  }

  .quote-editorial {
    padding: 80px 24px;
  }

  .quote-editorial::before {
    font-size: 10rem;
  }

  .cta-editorial {
    min-height: auto;
    padding: 80px 24px;
  }

  .cta-editorial-grid {
    background-size: 50px 50px;
  }
}
