:root {
  /* Aurora palette — deep violet + magenta accent */
  --qw-primary: #4c1d95;        /* violet-900 */
  --qw-primary-dark: #2e1065;   /* violet-950 */
  --qw-accent: #ec4899;         /* pink-500 */
  --qw-accent-2: #f59e0b;       /* amber-500 (secondary accent) */
  --qw-dark: #1a1033;
  --qw-muted: #6b7280;
  --qw-bg-soft: #faf7ff;
}



html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--qw-dark);
  background: #fff;
}
h1,h2,h3,h4,h5,h6, .display-1,.display-2,.display-3,.display-4,.display-5,.display-6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Navbar */
.navbar-qw {
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #e2e8f0;
  transition: box-shadow .3s ease;
}
.navbar-qw.scrolled { box-shadow: 0 6px 20px rgba(11,61,145,0.08); }
.navbar-qw .navbar-brand { display: inline-flex; align-items: center; gap: .55rem; font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--qw-primary); font-size: 1.2rem; padding: .25rem 0; }
.navbar-qw .navbar-brand img { height: 56px; width: auto; display: block; transition: transform .4s ease, filter .4s ease; filter: drop-shadow(0 4px 10px rgba(76,29,149,.25)); }
.navbar-qw .navbar-brand:hover img { transform: scale(1.06) rotate(-2deg); filter: drop-shadow(0 6px 14px rgba(236,72,153,.4)); }
.navbar-qw .navbar-brand .dot { color: var(--qw-accent); }

.navbar-qw .nav-link { color: #334155; font-weight: 500; position: relative; }
.navbar-qw .nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px;
  height: 2px; background: var(--qw-accent); transform: scaleX(0); transform-origin: right;
  transition: transform .3s ease;
}
.navbar-qw .nav-link:hover::after, .navbar-qw .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.navbar-qw .nav-link.active, .navbar-qw .nav-link:hover { color: var(--qw-primary); }

/* Buttons */
.btn-qw {
  background: var(--qw-primary);
  color: #fff;
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-qw:hover { background: var(--qw-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 25px rgba(11,61,145,0.25); }
.btn-outline-qw {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
}
.btn-outline-qw:hover { background: #fff; color: var(--qw-primary); }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7,42,102,0.85) 0%, rgba(11,61,145,0.75) 50%, rgba(6,182,212,0.6) 100%),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.1; }
.hero .lead { font-size: 1.15rem; opacity: 0.95; }

/* Page hero (interior) */
.page-hero {
  background: linear-gradient(135deg, var(--qw-primary-dark), var(--qw-primary));
  color: #fff;
  padding: 6rem 0 4rem;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); }

/* Sections */
section { padding: 5rem 0; }
.section-title { margin-bottom: 3rem; text-align: center; }
.section-title .kicker {
  display: inline-block;
  color: var(--qw-accent);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}
.section-title h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }

/* Cards */
.feature-card {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  background: #fff;
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: var(--qw-primary);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(11,61,145,0.08);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--qw-primary), var(--qw-accent));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Client cards */
.client-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  height: 100%;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.client-card:hover {
  border-color: var(--qw-accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(2,132,199,0.12);
}
.client-thumb {
  width: 72px; height: 72px;
  border-radius: 16px;
  background: var(--qw-bg-soft);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.client-thumb img { width: 48px; height: 48px; object-fit: contain; }
.client-thumb .fallback {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--qw-primary);
}
.client-name { font-weight: 600; margin: 0.5rem 0 0; color: var(--qw-dark); font-size: 0.98rem; }
.client-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--qw-muted);
  font-weight: 600;
}
.client-card a.visit {
  margin-top: auto;
  color: var(--qw-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.client-card a.visit:hover { color: var(--qw-accent); }

/* Filter chips */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-chip {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-chip:hover { border-color: var(--qw-primary); color: var(--qw-primary); }
.filter-chip.active { background: var(--qw-primary); border-color: var(--qw-primary); color: #fff; }

/* Bg soft */
.bg-soft { background: var(--qw-bg-soft); }

/* Footer */
footer.qw-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 3.5rem 0 1.5rem;
}
footer.qw-footer a { color: #cbd5e1; text-decoration: none; }
footer.qw-footer a:hover { color: #fff; }
footer.qw-footer h6 { color: #fff; font-family: 'Poppins', sans-serif; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 1.25rem; margin-top: 2.5rem; color: #94a3b8; font-size: 0.88rem; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--qw-primary), var(--qw-accent));
  color: #fff;
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
}
.cta-banner .btn-qw { background: #fff; color: var(--qw-primary); }
.cta-banner .btn-qw:hover { background: #0f172a; color: #fff; }

/* Utility */
.text-primary-qw { color: var(--qw-primary) !important; }
.bg-primary-qw { background-color: var(--qw-primary) !important; }

/* Logo variants */
.brand-logo-dark { height: 52px; filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(236,72,153,.35)); transition: transform .4s ease; }
.brand-logo-dark:hover { transform: scale(1.05) rotate(-2deg); }


/* Reveal animations (scroll) */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="left"].is-visible { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="right"].is-visible { transform: translateX(0); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal="zoom"].is-visible { transform: scale(1); }
[data-delay="100"] { transition-delay: .1s; }
[data-delay="200"] { transition-delay: .2s; }
[data-delay="300"] { transition-delay: .3s; }
[data-delay="400"] { transition-delay: .4s; }
[data-delay="500"] { transition-delay: .5s; }

/* Hero animations */
@keyframes qw-float {
  0%,100% { transform: translateY(0) }
  50% { transform: translateY(-14px) }
}
@keyframes qw-fade-up {
  from { opacity: 0; transform: translateY(24px) }
  to   { opacity: 1; transform: translateY(0) }
}
@keyframes qw-fade-in {
  from { opacity: 0 } to { opacity: 1 }
}
@keyframes qw-gradient-shift {
  0% { background-position: 0% 50% }
  50% { background-position: 100% 50% }
  100% { background-position: 0% 50% }
}
@keyframes qw-pulse-ring {
  0% { transform: scale(.8); opacity: .8 }
  100% { transform: scale(1.8); opacity: 0 }
}
@keyframes qw-shine {
  0% { background-position: -200% 0 }
  100% { background-position: 200% 0 }
}

.hero {
  background:
    linear-gradient(135deg, rgba(7,42,102,.9), rgba(11,61,145,.75), rgba(6,182,212,.55), rgba(7,42,102,.9)),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  background-size: 300% 300%, cover;
  animation: qw-gradient-shift 18s ease infinite;
  position: relative;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(6,182,212,.35), transparent 70%);
  filter: blur(20px);
}
.hero::before { width: 380px; height: 380px; top: -80px; right: -80px; animation: qw-float 8s ease-in-out infinite; }
.hero::after  { width: 300px; height: 300px; bottom: -100px; left: -60px; animation: qw-float 10s ease-in-out infinite reverse; }
.hero > .container { position: relative; z-index: 1; }

.hero h1 { animation: qw-fade-up .9s ease both; }
.hero .lead { animation: qw-fade-up 1s ease .15s both; }
.hero .hero-cta { animation: qw-fade-up 1s ease .3s both; }
.hero .hero-badge { animation: qw-fade-up .8s ease both; }

/* Buttons — shine on hover */
.btn-qw { position: relative; overflow: hidden; }
.btn-qw::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  background-size: 200% 100%; background-position: -200% 0;
  transition: background-position .6s ease;
}
.btn-qw:hover::after { background-position: 200% 0; }

/* Feature card polish */
.feature-card { position: relative; overflow: hidden; }
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--qw-primary), var(--qw-accent));
  transition: width .4s ease;
}
.feature-card:hover::before { width: 100%; }
.feature-icon { transition: transform .3s ease; }
.feature-card:hover .feature-icon { transform: rotate(-6deg) scale(1.08); }

/* Client card hover lift + shine */
.client-card { position: relative; overflow: hidden; }
.client-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(6,182,212,.12) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .6s ease;
}
.client-card:hover::after { transform: translateX(100%); }
.client-thumb img { transition: transform .35s ease; }
.client-card:hover .client-thumb img { transform: scale(1.1); }

/* Stats count up */
.stat-num { display: inline-block; }

/* Pulse dot for CTA */
.pulse-dot { position: relative; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #22d3ee; margin-right: .5rem; }
.pulse-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22d3ee;
  animation: qw-pulse-ring 1.6s cubic-bezier(.4,0,.6,1) infinite;
}

/* Marquee (featured clients strip) */
.marquee { overflow: hidden; position: relative; padding: 1rem 0; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: qw-marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { flex: 0 0 auto; display: flex; align-items: center; gap: .75rem; opacity: .85; transition: opacity .2s; }
.marquee-item:hover { opacity: 1; }
.marquee-item img { width: 40px; height: 40px; object-fit: contain; }
.marquee-item span { font-weight: 600; color: var(--qw-dark); white-space: nowrap; }
@keyframes qw-marquee {
  from { transform: translateX(0) }
  to   { transform: translateX(-50%) }
}

/* Filter chip active pulse */
.filter-chip { transition: all .2s ease, transform .15s ease; }
.filter-chip:active { transform: scale(.95); }

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ============ Aurora refresh — extra animations ============ */

/* Aurora blob background layer */
@keyframes qw-blob-drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(40px,-30px) scale(1.1); }
  66%     { transform: translate(-30px,20px) scale(.95); }
}

/* Gradient text sweep */
@keyframes qw-text-shine {
  0%   { background-position: 0% 50% }
  100% { background-position: 200% 50% }
}
.text-gradient {
  background: linear-gradient(90deg, #ec4899, #f59e0b, #a855f7, #ec4899);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: qw-text-shine 6s linear infinite;
}

/* Tilt/lift on hover for feature + client cards */
.feature-card, .client-card {
  transform-style: preserve-3d;
  will-change: transform;
}
.feature-card:hover { transform: translateY(-8px) rotateX(2deg) rotateY(-2deg); box-shadow: 0 24px 50px rgba(76,29,149,.18); }

/* Glow ring around icon */
.feature-icon {
  background: linear-gradient(135deg, var(--qw-primary), var(--qw-accent));
  box-shadow: 0 10px 24px rgba(236,72,153,.35);
  position: relative;
}
.feature-icon::after {
  content: ""; position: absolute; inset: -6px; border-radius: 16px;
  background: conic-gradient(from 0deg, #ec4899, #f59e0b, #a855f7, #ec4899);
  filter: blur(10px); opacity: 0; z-index: -1;
  transition: opacity .4s ease;
}
.feature-card:hover .feature-icon::after { opacity: .55; animation: qw-spin 4s linear infinite; }
@keyframes qw-spin { to { transform: rotate(360deg) } }

/* Hero — override to aurora gradient */
.hero {
  background:
    radial-gradient(1200px 600px at 10% 20%, rgba(236,72,153,.35), transparent 60%),
    radial-gradient(1000px 500px at 90% 80%, rgba(245,158,11,.28), transparent 60%),
    linear-gradient(135deg, #2e1065 0%, #4c1d95 45%, #7c3aed 100%);
  background-size: auto, auto, 200% 200%;
  animation: qw-gradient-shift 18s ease infinite;
}
.hero::before {
  background: radial-gradient(circle, rgba(236,72,153,.5), transparent 70%);
  animation: qw-blob-drift 14s ease-in-out infinite;
}
.hero::after {
  background: radial-gradient(circle, rgba(245,158,11,.45), transparent 70%);
  animation: qw-blob-drift 18s ease-in-out infinite reverse;
}

/* Page hero override */
.page-hero {
  background:
    radial-gradient(800px 400px at 20% 30%, rgba(236,72,153,.3), transparent 60%),
    linear-gradient(135deg, var(--qw-primary-dark), var(--qw-primary));
}

/* CTA banner override */
.cta-banner {
  background: linear-gradient(135deg, #4c1d95, #ec4899 60%, #f59e0b);
  background-size: 200% 200%;
  animation: qw-gradient-shift 12s ease infinite;
  box-shadow: 0 24px 60px rgba(76,29,149,.35);
}

/* Buttons — accent variant */
.btn-qw { background: linear-gradient(135deg, var(--qw-primary), var(--qw-accent)); box-shadow: 0 8px 20px rgba(76,29,149,.25); }
.btn-qw:hover { background: linear-gradient(135deg, var(--qw-primary-dark), #db2777); box-shadow: 0 14px 30px rgba(236,72,153,.35); }

/* Underline color for nav */
.navbar-qw .nav-link::after { background: linear-gradient(90deg, var(--qw-accent), var(--qw-accent-2)); }

/* Filter chip active — gradient */
.filter-chip.active { background: linear-gradient(135deg, var(--qw-primary), var(--qw-accent)); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(236,72,153,.3); }

/* Floating for hero badge */
.hero-badge { animation: qw-float 5s ease-in-out infinite, qw-fade-up .8s ease both !important; }

/* Bouncing arrow */
@keyframes qw-bounce-y { 0%,100% { transform: translateY(0) } 50% { transform: translateY(8px) } }
.bounce-y { animation: qw-bounce-y 1.8s ease-in-out infinite; }

/* Section title kicker color */
.section-title .kicker { color: var(--qw-accent); }

/* Client thumb glow on hover */
.client-card:hover .client-thumb { box-shadow: 0 0 0 3px rgba(236,72,153,.25); border-color: var(--qw-accent); }

/* Pulse dot -> pink */
.pulse-dot, .pulse-dot::after { background: #ec4899; }

/* Marquee fades match new soft bg */
.marquee::before { background: linear-gradient(90deg, var(--qw-bg-soft), transparent); }
.marquee::after  { background: linear-gradient(-90deg, var(--qw-bg-soft), transparent); }

/* Feature-card underline uses accent */
.feature-card::before { background: linear-gradient(90deg, var(--qw-primary), var(--qw-accent), var(--qw-accent-2)); }

/* Sparkle particles behind hero heading */
@keyframes qw-sparkle {
  0%,100% { opacity: 0; transform: scale(.5) }
  50%     { opacity: 1; transform: scale(1) }
}
.hero h1 { position: relative; }
.hero h1::before, .hero h1::after {
  content: "✦"; position: absolute; color: #f9a8d4; font-size: 1.2rem;
  animation: qw-sparkle 3s ease-in-out infinite;
}
.hero h1::before { top: -10px; left: -18px; animation-delay: .3s; }
.hero h1::after  { bottom: 6px; right: -10px; animation-delay: 1.2s; font-size: .9rem; color: #fcd34d; }

/* Navbar scrolled — subtle pink border */
.navbar-qw.scrolled { border-bottom-color: rgba(236,72,153,.25); box-shadow: 0 6px 20px rgba(76,29,149,.1); }

/* Focus ring in accent */
.btn-qw:focus-visible, .btn-outline-qw:focus-visible, .filter-chip:focus-visible {
  outline: 3px solid rgba(236,72,153,.45); outline-offset: 3px;
}

/* ============ Dark mode ============ */
[data-theme="dark"] {
  --qw-dark: #f1f5f9;
  --qw-muted: #94a3b8;
  --qw-bg-soft: #131024;
  color-scheme: dark;
}
[data-theme="dark"] body { background: #0b0820; color: #e2e8f0; }
[data-theme="dark"] .navbar-qw { background: rgba(15,10,40,.85); border-bottom-color: rgba(236,72,153,.2); }
[data-theme="dark"] .navbar-qw .nav-link { color: #cbd5e1; }
[data-theme="dark"] .navbar-qw .nav-link:hover,
[data-theme="dark"] .navbar-qw .nav-link.active { color: #f9a8d4; }
[data-theme="dark"] .navbar-qw .navbar-brand { background: #fff; padding: 6px 14px; border-radius: 12px; box-shadow: 0 6px 18px rgba(236,72,153,.35); }
[data-theme="dark"] .navbar-qw .navbar-brand img { filter: drop-shadow(0 2px 6px rgba(76,29,149,.25)); height: 44px; }
[data-theme="dark"] .bg-soft, [data-theme="dark"] .bg-light { background: #131024 !important; }
[data-theme="dark"] .bg-white { background: #1a1338 !important; }
[data-theme="dark"] .feature-card,
[data-theme="dark"] .client-card { background: #1a1338; border-color: #2a1f4a; color: #e2e8f0; }
[data-theme="dark"] .feature-card h3,
[data-theme="dark"] .feature-card h4,
[data-theme="dark"] .feature-card h5,
[data-theme="dark"] .client-name { color: #f8fafc; }
[data-theme="dark"] .text-muted { color: #94a3b8 !important; }
[data-theme="dark"] .text-dark { color: #f1f5f9 !important; }
[data-theme="dark"] .client-thumb { background: #0f0a24; border-color: #2a1f4a; }
[data-theme="dark"] .filter-chip { background: #1a1338; border-color: #2a1f4a; color: #cbd5e1; }
[data-theme="dark"] .filter-chip:hover { color: #f9a8d4; border-color: #ec4899; }
[data-theme="dark"] .marquee::before { background: linear-gradient(90deg, #0b0820, transparent); }
[data-theme="dark"] .marquee::after  { background: linear-gradient(-90deg, #0b0820, transparent); }
[data-theme="dark"] .marquee-item span { color: #e2e8f0; }
[data-theme="dark"] .form-control { background: #1a1338; border-color: #2a1f4a; color: #f1f5f9; }
[data-theme="dark"] .form-control::placeholder { color: #64748b; }
[data-theme="dark"] .form-control:focus { background: #1a1338; color: #f1f5f9; border-color: var(--qw-accent); box-shadow: 0 0 0 .2rem rgba(236,72,153,.2); }
[data-theme="dark"] .form-label { color: #e2e8f0; }
[data-theme="dark"] footer.qw-footer { background: #050212; }
[data-theme="dark"] .btn-outline-qw { border-color: #f9a8d4; color: #f9a8d4; }
[data-theme="dark"] .btn-outline-qw:hover { background: #f9a8d4; color: #2e1065; }
[data-theme="dark"] section h1, [data-theme="dark"] section h2, [data-theme="dark"] section h3, [data-theme="dark"] section h4 { color: #f8fafc; }

/* Theme toggle button */
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid #e2e8f0; background: #fff; color: var(--qw-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer; transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
  margin-left: .5rem;
}
.theme-toggle:hover { transform: rotate(20deg) scale(1.08); box-shadow: 0 8px 20px rgba(236,72,153,.25); }
[data-theme="dark"] .theme-toggle { background: #1a1338; border-color: #2a1f4a; color: #fcd34d; }
.theme-toggle .bi-sun-fill { display: none; }
[data-theme="dark"] .theme-toggle .bi-moon-fill { display: none; }
[data-theme="dark"] .theme-toggle .bi-sun-fill { display: inline-block; }

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 1000;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff !important;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.9rem; text-decoration: none;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .3s ease, box-shadow .3s ease;
  animation: qw-float 3.5s ease-in-out infinite;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; z-index: -1;
  animation: qw-pulse-ring 1.8s cubic-bezier(.4,0,.6,1) infinite;
}
.wa-float:hover { transform: scale(1.1) rotate(-5deg); box-shadow: 0 14px 40px rgba(37,211,102,.6); color: #fff; }
.wa-tooltip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
  background: #0f172a; color: #fff; padding: .45rem .8rem; border-radius: 8px;
  font-size: .85rem; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.wa-tooltip::after {
  content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 10px; height: 10px; background: #0f172a;
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateY(-50%) translateX(-4px); }
@media (max-width: 576px) {
  .wa-float { width: 54px; height: 54px; font-size: 1.6rem; right: 14px; bottom: 14px; }
  .wa-tooltip { display: none; }
}

/* ============ Video hero ============ */
.hero-video { position: relative; overflow: hidden; }
.hero-video .hero-video-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  /* keep original hero gradient as loading fallback (already on .hero) */
}
.hero-video .hero-video-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(1000px 500px at 20% 30%, rgba(236,72,153,.35), transparent 60%),
    radial-gradient(900px 500px at 80% 80%, rgba(245,158,11,.22), transparent 60%),
    linear-gradient(135deg, rgba(10,4,30,.85) 0%, rgba(30,12,70,.8) 50%, rgba(5,2,20,.9) 100%);
  animation: qw-gradient-shift 18s ease infinite;
  background-size: auto, auto, 200% 200%;
}
.hero-video .hero-video-bg::after { content: ""; }
.hero-video .hero-video-bg { filter: brightness(.55) saturate(1.05); }
.hero-video > .container { position: relative; z-index: 2; }
.hero-video::before, .hero-video::after { z-index: 2; }
/* Neutralize the base .hero image background when video is active */
.hero.hero-video { background: #0b0820; animation: none; }
