/* ============================================================
   hero-premium.css — Cyber Violet Theme Upgrade for DLA7A SERVICE
   ============================================================ */

/* ── 1. BACKGROUND DEPTH ─────────────────────────────────── */

/* Cyber black violet background */
.hero-section { background-color: #030008 !important; }
#hero         { background-color: #030008 !important; }

/* Aurora blobs — Cyber Violet & Neon Pink ambient breath */
.hero-aurora-1,
.hero-aurora-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.hero-aurora-1 {
  width: 520px;
  height: 520px;
  top: -10%;
  left: 15%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.32) 0%, rgba(139, 92, 246, 0.16) 42%, rgba(124, 58, 237, 0.05) 65%, transparent 75%);
  filter: blur(80px);
  animation: aurora1 25s ease-in-out infinite alternate;
}

.hero-aurora-2 {
  width: 460px;
  height: 460px;
  top: 25%;
  right: 8%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.22) 0%, rgba(124, 58, 237, 0.15) 45%, rgba(236, 72, 153, 0.08) 65%, transparent 75%);
  filter: blur(80px);
  animation: aurora2 30s ease-in-out infinite alternate;
}

@keyframes aurora1 {
  from { transform: translate(0, 0); }
  to   { transform: translate(60px, 40px); }
}

@keyframes aurora2 {
  from { transform: translate(0, 0); }
  to   { transform: translate(-50px, 30px); }
}

/* Film grain overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* Top neon light seam */
.hero-top-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(168, 85, 247, 0.5) 30%,
    rgba(216, 180, 254, 0.9) 50%,
    rgba(168, 85, 247, 0.5) 70%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.7);
  pointer-events: none;
  z-index: 2;
}

/* Cyber grid-overlay matching intro pattern */
.hero-grid-overlay {
  background-image: 
    linear-gradient(rgba(168, 85, 247, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.07) 1px, transparent 1px) !important;
  background-size: 36px 36px !important;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%) !important;
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%) !important;
}

/* ── 2. HEADLINE WORD REVEAL ─────────────────────────────── */

.hero-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: inherit;
}

.hero-word-inner {
  display: inline-block;
  transform: translateY(100%);
  filter: blur(6px);
  opacity: 0;
  will-change: transform, opacity, filter;
  transition:
    transform 700ms cubic-bezier(0.16,1,0.3,1),
    opacity   700ms cubic-bezier(0.16,1,0.3,1),
    filter    700ms cubic-bezier(0.16,1,0.3,1);
}

.hero-word-inner.word-visible {
  transform: translateY(0);
  filter: blur(0);
  opacity: 1;
}

/* Shimmer sweep on headline with violet highlights */
@keyframes headline-shimmer {
  0%, 100% { background-position: -400% center; }
  50%       { background-position:  400% center; }
}

.hero-headline {
  background: linear-gradient(
    90deg,
    #FFFFFF 0%,
    #FFFFFF 35%,
    #D8B4FE 50%,
    #FFFFFF 65%,
    #FFFFFF 100%
  );
  background-size: 400% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: headline-shimmer 6s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(168, 85, 247, 0.35));
}

/* Highlight phrase — Glowing Cyber Neon Purple */
.highlight-phrase {
  background: linear-gradient(135deg, #FFFFFF 10%, #E9D5FF 35%, #A855F7 70%, #9333EA 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.85)) drop-shadow(0 0 40px rgba(147, 51, 234, 0.45)) !important;
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.6) !important;
}

/* Underline draw-on effect with intro laser flare */
.highlight-phrase::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #7C3AED 0%, #A855F7 50%, #EC4899 100%);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.9), 0 0 30px rgba(236, 72, 153, 0.5);
  border-radius: 999px;
  transform: scaleX(0);
  transition: transform 700ms cubic-bezier(0.16,1,0.3,1);
}

/* LTR / RTL transform-origin for underline */
html[dir="ltr"] .highlight-phrase::after {
  transform-origin: left center;
}
html[dir="rtl"] .highlight-phrase::after {
  transform-origin: right center;
}

.highlight-phrase.underline-visible::after {
  transform: scaleX(1);
}

/* ── 3. BUTTONS ──────────────────────────────────────────── */

/* Order Now — Neon purple gradient + sweep + glow */
.btn-hero-order {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #A855F7 0%, #7C3AED 50%, #6D28D9 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(233, 213, 255, 0.35) !important;
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.55), 0 0 60px rgba(124, 58, 237, 0.3) !important;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-hero-order::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: btn-sweep 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-sweep {
  0%, 100% { transform: translateX(-120%); }
  50%       { transform: translateX(120%); }
}

.btn-hero-order:hover {
  background: linear-gradient(135deg, #C084FC 0%, #9333EA 50%, #7C3AED 100%) !important;
  box-shadow: 0 0 45px rgba(168, 85, 247, 0.8), 0 0 85px rgba(124, 58, 237, 0.5) !important;
  transform: translateY(-2px);
}

.btn-hero-order:active {
  transform: scale(0.97);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}

/* WhatsApp glass pill */
.btn-hero-wa {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  background: rgba(168, 85, 247, 0.08) !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.15) !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-hero-wa:hover {
  background: rgba(168, 85, 247, 0.18) !important;
  border-color: #A855F7 !important;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.35) !important;
  transform: translateY(-1px);
}

/* Arrow nudge on hover */
@media (hover: hover) {
  .btn-hero-order:hover .arrow-icon {
    transform: translateX(4px);
  }
  html[dir="rtl"] .btn-hero-order:hover .arrow-icon {
    transform: translateX(-4px) scaleX(-1);
  }
}

.arrow-icon {
  transition: transform 0.2s ease;
}

/* ── 4. LIVE SOCIAL PROOF PILL ───────────────────────────── */

.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 92%;
  overflow: hidden;
  background: rgba(168, 85, 247, 0.1) !important;
  border: 1px solid rgba(168, 85, 247, 0.3) !important;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.15);
  border-radius: 999px;
  padding: 8px 16px;
}

.hero-proof-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #A855F7;
  box-shadow: 0 0 8px #C084FC, 0 0 14px #A855F7;
  flex-shrink: 0;
  animation: proof-pulse 2s infinite ease-in-out;
}

@keyframes proof-pulse {
  0%, 100% { opacity: 0.7; transform: scale(0.9); }
  50%       { opacity: 1;   transform: scale(1.35); box-shadow: 0 0 12px #D8B4FE, 0 0 20px #A855F7; }
}

.hero-proof-text {
  font-size: 14px;
  color: #E9D5FF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 400ms ease, transform 400ms ease;
}

.hero-proof-text.proof-exit {
  opacity: 0;
  transform: translateY(-6px);
}

.hero-proof-text.proof-enter {
  opacity: 0;
  transform: translateY(6px);
}

/* ── 5. TRUST STATS — tabular nums ──────────────────────── */

.trust-stat-num {
  font-variant-numeric: tabular-nums;
  color: #FFFFFF !important;
  text-shadow: 0 0 18px rgba(168, 85, 247, 0.5) !important;
}

.trust-stat-lbl {
  color: #C4B5FD !important;
}

/* ── 6. FLOATING CARDS — Dark Cyber Violet Glass ─────────── */

.visual-card {
  background: rgba(19, 9, 36, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(168, 85, 247, 0.28) !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65), 0 0 25px rgba(168, 85, 247, 0.15) !important;
  border-radius: 20px !important;
  color: #FFFFFF !important;
}

.visual-card .card-title-text {
  color: #FFFFFF !important;
}

.visual-card .card-sub-text {
  color: #C4B5FD !important;
}

.card-timestamp {
  font-size: 11px;
  color: #A78BFA !important;
}

.status-delivered {
  background: rgba(168, 85, 247, 0.2) !important;
  border: 1px solid rgba(168, 85, 247, 0.45) !important;
  color: #E9D5FF !important;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.25);
}

.status-completed {
  background: rgba(124, 58, 237, 0.2) !important;
  border: 1px solid rgba(124, 58, 237, 0.4) !important;
  color: #E9D5FF !important;
}

.status-ready {
  background: rgba(236, 72, 153, 0.2) !important;
  border: 1px solid rgba(236, 72, 153, 0.4) !important;
  color: #FCE7F3 !important;
}

/* ── 7. MARQUEE — two rows ───────────────────────────────── */

.hero-marquee-section {
  pointer-events: none;
  overflow: hidden;
  border-top: 1px solid rgba(168, 85, 247, 0.18) !important;
}

.hero-marquee-row {
  display: flex;
  gap: 0;
  overflow: hidden;
}

.hero-marquee-row + .hero-marquee-row {
  margin-top: 8px;
}

.hero-marquee-track-2 {
  display: inline-block;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: rgba(216, 180, 254, 0.6);
  letter-spacing: 0.05em;
  animation: marquee-scroll-rev 60s linear infinite;
}

@keyframes marquee-scroll-rev {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* RTL direction flip */
html[dir="rtl"] .hero-marquee-track   { animation-direction: reverse; }
html[dir="rtl"] .hero-marquee-track-2 { animation-direction: reverse; }

/* Logo items */
.marquee-logo-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-inline: 20px;
  opacity: 0.6;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease, color 0.2s ease;
  font-size: 14px;
  font-weight: 600;
  color: #E9D5FF;
}

@media (hover: hover) {
  .marquee-logo-item:hover {
    opacity: 1;
    filter: grayscale(0);
    color: #FFFFFF;
  }
}

/* ── 8. MICRO DETAILS ────────────────────────────────────── */

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.hero-scroll-indicator.hidden { opacity: 0; }

.scroll-pill {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-pill-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #C084FC;
  box-shadow: 0 0 8px #A855F7;
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { transform: translateY(0);    opacity: 1; }
  80%       { transform: translateY(14px); opacity: 0; }
}

/* Scroll progress bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #7C3AED 0%, #A855F7 50%, #EC4899 100%);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.8), 0 0 20px rgba(236, 72, 153, 0.4);
  z-index: 9999;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* Text selection */
::selection {
  background: #A855F7;
  color: #FFFFFF;
}

/* Navbar scrolled glow */
.navbar-pill.scrolled {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 8px 32px rgba(0,0,0,0.7), 0 0 20px rgba(168, 85, 247, 0.25);
}

/* ── 9. REDUCED MOTION ───────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .hero-aurora-1,
  .hero-aurora-2,
  .hero-word-inner,
  .highlight-phrase::after,
  .btn-hero-order::before,
  .hero-proof-text,
  .scroll-pill-dot,
  .visual-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .hero-word-inner { opacity: 1 !important; }

  .hero-headline {
    animation: none !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #FFFFFF !important;
    background-clip: unset !important;
    color: #FFFFFF !important;
  }
}

/* ── 10. HERO OFF-SCREEN PAUSE ───────────────────────────── */

.hero-animations-paused .hero-aurora-1,
.hero-animations-paused .hero-aurora-2,
.hero-animations-paused .hero-marquee-track,
.hero-animations-paused .hero-marquee-track-2,
.hero-animations-paused .visual-card {
  animation-play-state: paused;
}

/* ── 11. DESKTOP 2-COLUMN HERO ───────────────────────────── */

@media (min-width: 1024px) {
  .hero-container {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
  }

  .hero-text-col {
    flex: 1;
    align-items: flex-start !important;
    text-align: start !important;
    max-width: 600px;
  }

  .hero-headline {
    text-align: start !important;
    font-size: clamp(48px, 5.4vw, 76px) !important;
  }

  .hero-subtitle { text-align: start !important; }

  .hero-actions {
    flex-direction: row !important;
    width: auto !important;
  }

  .hero-visual-col {
    flex: 0 0 360px;
    justify-content: flex-end;
  }

  .hero-cards-stack { max-width: 340px; }

  .visual-card { width: 340px !important; }

  .card-3 { display: flex !important; }

  .hero-trust-row { margin-inline: 0; }
}
