/* ============================================================
   FUTURISTIC UI  —  SignWale Enhancement Layer
   Loads last; overrides inline styles via cascade order.
   All rules scoped to body.ui-refresh unless noted.
   ============================================================ */

/* ──────────────────────────────────────────
   1. CSS TOKENS
────────────────────────────────────────── */
:root {
    --neon-cyan:   #00d4ff;
    --neon-pink:   #ff00cc;
    --neon-blue:   #0a66d9;
    --neon-gold:   #d3b170;
    --dark-base:   #080c14;
    --dark-panel:  rgba(12, 18, 30, 0.82);
    --glow-cyan:   0 0 20px rgba(0, 212, 255, 0.55), 0 0 60px rgba(0, 212, 255, 0.2);
    --glow-pink:   0 0 20px rgba(255, 0, 204, 0.55), 0 0 60px rgba(255, 0, 204, 0.2);
    --glow-gold:   0 0 20px rgba(211, 177, 112, 0.45), 0 0 50px rgba(211, 177, 112, 0.15);
    --transition:  0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ──────────────────────────────────────────
   2. BODY — AURORA AMBIENT
   body.ui-refresh::before in inline CSS
   paints a fixed full-page white grid that
   overlays the hero video — hide it here.
────────────────────────────────────────── */
body.ui-refresh::before {
    display: none !important;
}

body.ui-refresh {
    background:
        /* aurora ambient spots */
        radial-gradient(1200px 640px at 0% 0%,   rgba(255, 0, 204, 0.09),   transparent 60%),
        radial-gradient(900px  600px at 100% 8%, rgba(0, 212, 255, 0.08),   transparent 64%),
        radial-gradient(700px  500px at 50% 90%, rgba(10, 102, 217, 0.07),  transparent 60%),
        linear-gradient(180deg, #080c14 0%, #0a0f1a 55%, #080c14 100%);
    background-size: auto, auto, auto, auto;
}

/* ──────────────────────────────────────────
   3. HERO — AURORA ANIMATION
────────────────────────────────────────── */
body.ui-refresh #home.hero {
    position: relative;
    overflow: hidden;
}
body.ui-refresh .hero-glass {
    overflow: visible !important;
}

/* Animated aurora orbs behind the video */
body.ui-refresh #home.hero::before,
body.ui-refresh #home.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
body.ui-refresh #home.hero::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 204, 0.22) 0%, transparent 70%);
    top: -15%;
    left: -10%;
    animation: auroraShift 14s ease-in-out infinite alternate;
}
body.ui-refresh #home.hero::after {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.18) 0%, transparent 70%);
    bottom: -20%;
    right: -8%;
    animation: auroraShift 18s ease-in-out infinite alternate-reverse;
}

@keyframes auroraShift {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.7; }
    33%  { transform: translate(4%, 6%) scale(1.08); opacity: 1; }
    66%  { transform: translate(-3%, 3%) scale(0.96); opacity: 0.8; }
    100% { transform: translate(6%, -4%) scale(1.05); opacity: 0.9; }
}

/* ──────────────────────────────────────────
   4. HERO TEXT — GRADIENT + GLOW
────────────────────────────────────────── */
body.ui-refresh #home .hero-mask-title {
    line-height: 1.08;
}

/* ── Bold hero title ── */
body.ui-refresh #home .hero-bold-title {
    display: block;
    margin: 60px 0 80px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
    padding-bottom: 16px;
    overflow: visible;
}

/* ── Hero title animations ── */
@keyframes heroLineUp {
    0%   { opacity: 0; transform: translateY(40px) skewY(2deg); }
    60%  { opacity: 1; transform: translateY(-6px) skewY(0deg); }
    100% { opacity: 1; transform: translateY(0) skewY(0deg); }
}
@keyframes heroAccentUp {
    0%   { opacity: 0; transform: translateY(60px) scale(0.92); }
    60%  { opacity: 1; transform: translateY(-8px) scale(1.01); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes gentleShift {
    0%   { background-position: 0% center; }
    100% { background-position: 300% center; }
}
@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 18px rgba(0,212,255,0.45)) drop-shadow(0 0 40px rgba(170,0,255,0.2)); }
    50%       { filter: drop-shadow(0 0 30px rgba(0,212,255,0.7)) drop-shadow(0 0 70px rgba(170,0,255,0.35)); }
}
/* Line 1 steady brightness */
@keyframes heroLine1Glow {
    0%, 100% { filter: brightness(1.4) drop-shadow(0 0 10px rgba(255,255,255,0.55)); }
    50%       { filter: brightness(1.55) drop-shadow(0 0 18px rgba(255,255,255,0.75)); }
}
/* Line 2 — keeps brightness(1.5) at all times */
@keyframes heroGlowPulse {
    0%, 100% { filter: brightness(1.5) drop-shadow(0 0 16px rgba(186,230,253,0.6)) drop-shadow(0 0 36px rgba(232,121,249,0.35)); }
    50%       { filter: brightness(1.6) drop-shadow(0 0 28px rgba(186,230,253,0.85)) drop-shadow(0 0 60px rgba(232,121,249,0.55)); }
}

/* Line 1: "Make Your Business" */
body.ui-refresh #home .hero-bold-line {
    display: block;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: clamp(3rem, 7.5vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: none;
    margin-bottom: 12px;
    padding-bottom: 8px;
    overflow: visible;
    background: linear-gradient(90deg, #e0f4ff, #ffffff, #e0f4ff);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation:
        heroLineUp 0.9s cubic-bezier(0.22,1,0.36,1) both,
        gentleShift 10s linear infinite,
        heroLine1Glow 4s ease-in-out infinite;
    animation-delay: 0.2s, 1.1s, 1.1s;
}

/* Line 2: "Impossible to Ignore." — the hero statement */
body.ui-refresh #home .hero-bold-accent {
    display: block;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: clamp(2.4rem, 6vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    padding-bottom: 14px;
    overflow: visible;
    background: linear-gradient(110deg,
        #ffffff 0%,
        #bae6fd 25%,
        #e879f9 55%,
        #ffffff 80%,
        #bae6fd 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation:
        heroAccentUp 1.1s cubic-bezier(0.22,1,0.36,1) both,
        gentleShift 9s linear infinite,
        heroGlowPulse 3.5s ease-in-out infinite;
    animation-delay: 0.4s, 1.5s, 1.5s;
}

body.ui-refresh #home .hero-rainbow-theme {
    background: linear-gradient(110deg, #f0f6ff 0%, var(--neon-cyan) 40%, #fff 60%, var(--neon-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: textShine 6s linear infinite;
    filter: drop-shadow(0 0 24px rgba(0, 212, 255, 0.35));
}

@keyframes textShine {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Hero lead paragraph */
body.ui-refresh #home .hero-glass .lead {
    color: rgba(210, 230, 255, 0.88) !important;
    font-size: clamp(1rem, 1.7vw, 1.13rem);
    line-height: 1.78;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* ──────────────────────────────────────────
   5. CTA BUTTONS — PROFESSIONAL HERO STYLE
────────────────────────────────────────── */

/* ── Gallery (primary) — solid white ── */
body.ui-refresh .hero-actions .btn-corporate,
body.ui-refresh .btn-corporate {
    background: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
    color: #0f172a !important;
    border-radius: 999px !important;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 36px !important;
    min-height: 52px;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.22),
        0 1px 4px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    will-change: transform;
}
/* Subtle top-left gloss */
body.ui-refresh .btn-corporate::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(255,255,255,0.45) 0%, transparent 55%);
    pointer-events: none;
}
body.ui-refresh .btn-corporate:hover,
body.ui-refresh .btn-corporate:focus-visible {
    background: #f1f5f9 !important;
    border-color: rgba(255, 255, 255, 1) !important;
    color: #0f172a !important;
    transform: translateY(-3px);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.28),
        0 4px 12px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}
body.ui-refresh .btn-corporate:active {
    transform: translateY(-1px) scale(0.98);
}

/* ── Get Site Visit (secondary) — clean ghost ── */
body.ui-refresh .hero-actions .btn-outline-primary,
body.ui-refresh .btn-outline-neon {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.52) !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 36px !important;
    min-height: 52px;
    box-shadow: none !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    will-change: transform;
}
body.ui-refresh .hero-actions .btn-outline-primary:hover,
body.ui-refresh .btn-outline-neon:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.88) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22) !important;
}
body.ui-refresh .hero-actions .btn-outline-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Arrow slides right on hover */
body.ui-refresh .hero-actions .btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Footer CTAs */
body.ui-refresh .footer-cta-btn--primary {
    box-shadow: 0 6px 18px rgba(227, 73, 94, 0.3);
    transition: var(--transition);
}
body.ui-refresh .footer-cta-btn--primary:hover {
    box-shadow: 0 10px 28px rgba(227, 73, 94, 0.45), 0 0 30px rgba(227, 73, 94, 0.2);
    transform: translateY(-2px);
}

/* ──────────────────────────────────────────
   6. HERO KPI STATS — GLOWING NUMBERS
────────────────────────────────────────── */
body.ui-refresh .hero-kpi {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 10px;
    padding: 13px 22px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}
body.ui-refresh .hero-kpi:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
body.ui-refresh .hero-kpi strong {
    color: #ffffff !important;
    font-size: 1.25rem;
    font-family: "Space Grotesk", sans-serif !important;
    font-weight: 700;
    letter-spacing: -0.01em;
    display: inline;
    white-space: nowrap;
    text-shadow: none;
}
body.ui-refresh .hero-kpi span {
    color: rgba(200, 218, 255, 0.65) !important;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ──────────────────────────────────────────
   7. NAVBAR — ENHANCED GLASS
────────────────────────────────────────── */
body.ui-refresh .ecosystem-navbar,
body.ui-refresh .navbar {
    background: rgba(6, 10, 18, 0.75) !important;
    border-bottom: 1px solid rgba(0, 212, 255, 0.12) !important;
    backdrop-filter: blur(20px) saturate(1.5) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.5) !important;
    box-shadow:
        0 1px 0 rgba(0, 212, 255, 0.08),
        0 10px 30px rgba(0, 0, 0, 0.5) !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
body.ui-refresh .navbar.navbar-scrolled {
    background: rgba(5, 8, 15, 0.95) !important;
    border-bottom-color: rgba(0, 212, 255, 0.2) !important;
    box-shadow:
        0 1px 0 rgba(0, 212, 255, 0.12),
        0 16px 40px rgba(0, 0, 0, 0.65) !important;
}

/* Nav link underline glow */
body.ui-refresh .nav-link::after {
    background: var(--neon-cyan) !important;
    box-shadow: 0 0 8px var(--neon-cyan), 0 0 16px rgba(0, 212, 255, 0.4);
}

/* Dark mode toggle button */
.dark-mode-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.07);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #a8d8ff;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 8px;
}
.dark-mode-toggle:hover {
    border-color: rgba(0, 212, 255, 0.8);
    background: rgba(0, 212, 255, 0.14);
    color: #fff;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.3);
    transform: rotate(20deg) scale(1.08);
}
.dark-mode-toggle svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}
/* light mode icon hidden in dark, sun shown in light */
body.light-mode .dark-icon { display: none; }
body:not(.light-mode) .light-icon { display: none; }

/* ──────────────────────────────────────────
   8. LIGHT MODE OVERRIDE
────────────────────────────────────────── */
body.ui-refresh.light-mode {
    background: #f4f8ff;
    color: #0f172a;
}
body.ui-refresh.light-mode .ecosystem-navbar,
body.ui-refresh.light-mode .navbar {
    background: rgba(255, 255, 255, 0.88) !important;
    border-bottom-color: rgba(10, 102, 217, 0.2) !important;
    backdrop-filter: blur(20px) !important;
}
body.ui-refresh.light-mode h1,
body.ui-refresh.light-mode h2,
body.ui-refresh.light-mode h3,
body.ui-refresh.light-mode h4 {
    color: #0f172a !important;
}
body.ui-refresh.light-mode p,
body.ui-refresh.light-mode li,
body.ui-refresh.light-mode span {
    color: #334155 !important;
}
body.ui-refresh.light-mode .hero-kpi {
    background: rgba(255,255,255,0.9) !important;
    border-color: rgba(10,102,217,0.25) !important;
}
body.ui-refresh.light-mode .hero-kpi strong {
    color: #0a66d9 !important;
    text-shadow: none;
}
body.ui-refresh.light-mode .installation-card,
body.ui-refresh.light-mode .strength-pill,
body.ui-refresh.light-mode .category-gallery-card {
    background: rgba(255,255,255,0.95) !important;
    border-color: rgba(10,102,217,0.15) !important;
}

/* ──────────────────────────────────────────
   9. CATEGORY CARDS — 3D TILT + HOVER REVEAL
────────────────────────────────────────── */
body.ui-refresh #signboard-categories .category-gallery-card {
    transform-style: preserve-3d;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
    position: relative;
}

/* Hover reveal overlay */
body.ui-refresh #signboard-categories .category-gallery-card::after {
    content: "Explore →";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    background: linear-gradient(
        180deg,
        transparent 30%,
        rgba(0, 212, 255, 0.18) 70%,
        rgba(0, 212, 255, 0.35) 100%
    );
    color: #00d4ff;
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: inherit;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.8);
    pointer-events: none;
}
body.ui-refresh #signboard-categories .category-gallery-link:hover .category-gallery-card::after {
    opacity: 1;
    transform: translateY(0);
}

/* ──────────────────────────────────────────
   10. WHY-CHOOSE CARDS — TRANSPARENT
   Section bg is #f3f3f3; cards are transparent
   by original inline CSS — keep it that way.
────────────────────────────────────────── */
body.ui-refresh .why-choose-led-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: transform var(--transition);
}
body.ui-refresh .why-choose-led-card::before,
body.ui-refresh .why-choose-led-card::after {
    display: none !important;
}
body.ui-refresh .why-choose-led-card:hover {
    transform: translateY(-4px);
}
body.ui-refresh .why-choose-led-icon svg {
    stroke: #2f66d2;
    transition: filter 0.3s ease;
}
body.ui-refresh .why-choose-led-card:hover .why-choose-led-icon svg {
    filter: drop-shadow(0 0 6px rgba(47, 102, 210, 0.5));
}

/* ──────────────────────────────────────────
   11. SECTION HEADINGS — ACCENT LINE
────────────────────────────────────────── */
body.ui-refresh .why-choose-led-head h2,
body.ui-refresh .what-we-do-title {
    position: relative;
    display: inline-block;
}
body.ui-refresh .why-choose-led-head h2::after,
body.ui-refresh .what-we-do-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    border-radius: 999px;
    margin-top: 10px;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

/* About section kicker */
body.ui-refresh .about-reference-kicker {
    color: var(--neon-cyan) !important;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}

/* ──────────────────────────────────────────
   12. STRENGTH MARQUEE — NEON PILLS
────────────────────────────────────────── */
body.ui-refresh .strength-pill {
    background: linear-gradient(145deg, rgba(10, 16, 28, 0.9), rgba(8, 12, 22, 0.85)) !important;
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    transition: var(--transition);
    border-radius: 14px !important;
}
body.ui-refresh .strength-pill:hover {
    border-color: rgba(0, 212, 255, 0.5) !important;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 212, 255, 0.15) !important;
    transform: translateY(-2px);
}
/* Ensure text stays visible on dark pill background */
body.ui-refresh .strength-pill span:not(.strength-icon) {
    color: #f0f6ff !important;
    font-weight: 700;
}
body.ui-refresh .strength-icon {
    color: #86efac !important;
}
body.ui-refresh .strength-icon svg {
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.5));
}

/* ──────────────────────────────────────────
   13. INSTALLATION CARDS
────────────────────────────────────────── */
body.ui-refresh .installation-card {
    border: 1px solid rgba(0, 212, 255, 0.12) !important;
    transition: var(--transition);
    overflow: hidden;
}
body.ui-refresh .installation-card:hover {
    border-color: rgba(0, 212, 255, 0.4) !important;
    box-shadow:
        0 20px 44px rgba(0, 0, 0, 0.5),
        0 0 24px rgba(0, 212, 255, 0.1) !important;
    transform: translateY(-5px);
}
body.ui-refresh .installation-card img {
    transition: transform 0.5s ease, filter 0.5s ease;
}
body.ui-refresh .installation-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.15) brightness(1.05);
}

/* ──────────────────────────────────────────
   14. FOOTER — FUTURISTIC ENHANCEMENT
────────────────────────────────────────── */
body.ui-refresh #contact-footer {
    background: linear-gradient(180deg, #060a12 0%, #080c16 100%) !important;
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    position: relative;
    overflow: hidden;
}
body.ui-refresh #contact-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}
body.ui-refresh .footer-brand-title {
    background: linear-gradient(110deg, #f0f6ff, var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
body.ui-refresh .footer-stat {
    border-color: rgba(0, 212, 255, 0.25) !important;
    color: rgba(180, 220, 255, 0.9) !important;
    transition: var(--transition);
}
body.ui-refresh .footer-stat:hover {
    border-color: rgba(0, 212, 255, 0.6) !important;
    color: #fff !important;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.2);
}

/* ──────────────────────────────────────────
   15. AOS ANIMATION OVERRIDES
────────────────────────────────────────── */
[data-aos] {
    pointer-events: none;
}
[data-aos].aos-animate {
    pointer-events: auto;
}

/* ──────────────────────────────────────────
   16. SCROLL REVEAL ENHANCEMENT
   Only apply to .reveal elements NOT managed by AOS —
   AOS handles its own opacity/transform via [data-aos].
────────────────────────────────────────── */
body.ui-refresh .reveal:not([data-aos]) {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
body.ui-refresh .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ──────────────────────────────────────────
   17. HERO GLASS PANEL ENHANCEMENT
────────────────────────────────────────── */
/* Prevent horizontal scroll on mobile */
body.ui-refresh { overflow-x: hidden !important; }

/* Hero: full viewport height, left-aligned content */
body.ui-refresh .hero-glass-wrap {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
body.ui-refresh .hero-glass-wrap .container {
    position: relative;
    z-index: 2;
    width: 100%;
}
/* Centre-align buttons and KPIs to match centred title */
body.ui-refresh #home .hero-actions {
    justify-content: center !important;
    margin-top: 90px !important;
}
body.ui-refresh #home .hero-kpis {
    justify-content: center !important;
    margin-top: 80px !important;
}
@media (max-width: 576px) {
    body.ui-refresh #home .hero-kpis {
        margin-top: 32px !important;
        padding-right: 60px !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }
}

/* Hero background video — darkened overlay so video is subtle,
   content stays prominent */
body.ui-refresh .hero-bg-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(2, 6, 23, 0.72)  0%,
            rgba(2, 6, 23, 0.68)  40%,
            rgba(2, 6, 23, 0.78)  75%,
            rgba(2, 6, 23, 0.92)  100%
        ) !important;
}

/* Ensure video fills the section perfectly */
body.ui-refresh .hero-bg-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    z-index: 0 !important;
}

/* hero-glass is transparent by design (inline CSS) —
   do NOT add a background or heavy blur here or it
   blocks the hero video entirely */
body.ui-refresh .hero-glass {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* ──────────────────────────────────────────
   18. WHAT-WE-DO SECTION
────────────────────────────────────────── */
body.ui-refresh .what-we-do-section {
    background: rgba(8, 12, 22, 0.6) !important;
    border-top: 1px solid rgba(0, 212, 255, 0.08);
    border-bottom: 1px solid rgba(0, 212, 255, 0.08);
}
body.ui-refresh .what-we-do-title {
    color: #0f172a !important;
}
body.ui-refresh .what-we-do-title strong {
    background: linear-gradient(110deg, #1e3a8a, #1d4ed8, #0369a1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
body.ui-refresh .what-we-do-title span {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

/* ──────────────────────────────────────────
   19. PROCESS SECTION
────────────────────────────────────────── */
body.ui-refresh #our-process {
    background: linear-gradient(145deg, rgba(8, 12, 22, 0.95), rgba(6, 10, 18, 0.9)) !important;
}

/* ──────────────────────────────────────────
   20. FAQ SECTION
────────────────────────────────────────── */
body.ui-refresh .faq-grid-section {
    position: relative;
}

/* ──────────────────────────────────────────
   21. FLOATING BUTTONS ENHANCEMENT
────────────────────────────────────────── */
body.ui-refresh .whatsapp-float {
    box-shadow:
        0 8px 24px rgba(37, 211, 102, 0.4),
        0 0 30px rgba(37, 211, 102, 0.15) !important;
    transition: var(--transition);
}
body.ui-refresh .whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 14px 32px rgba(37, 211, 102, 0.5),
        0 0 50px rgba(37, 211, 102, 0.2) !important;
}

body.ui-refresh .ai-chat-launcher {
    transition: var(--transition);
}
body.ui-refresh .ai-chat-launcher:hover {
    transform: translateY(-3px) scale(1.05);
}

/* ──────────────────────────────────────────
   22. SECTION DIVIDER (top-border glow line)
────────────────────────────────────────── */
body.ui-refresh section.reveal + section.reveal {
    border-top: 1px solid rgba(0, 212, 255, 0.06);
}

/* ──────────────────────────────────────────
   23. FOCUS VISIBLE ENHANCEMENT
────────────────────────────────────────── */
body.ui-refresh :where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid rgba(0, 212, 255, 0.7);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.15);
}

/* ──────────────────────────────────────────
   24. MOBILE ADJUSTMENTS
────────────────────────────────────────── */
@media (max-width: 991.98px) {
    body.ui-refresh #home.hero::before,
    body.ui-refresh #home.hero::after {
        width: 350px;
        height: 350px;
        filter: blur(60px);
    }
    body.ui-refresh .hero-kpi {
        padding: 10px 14px;
    }
    body.ui-refresh .hero-kpi strong {
        font-size: clamp(1.3rem, 5vw, 1.7rem);
    }
    .dark-mode-toggle {
        width: 34px;
        height: 34px;
    }
}
@media (max-width: 767.98px) {
    body.ui-refresh {
        background-size: auto, auto, auto, auto;
    }
}

/* ──────────────────────────────────────────
   25. REDUCED MOTION RESPECT
────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    body.ui-refresh #home.hero::before,
    body.ui-refresh #home.hero::after,
    body.ui-refresh .hero-rainbow-theme {
        animation: none;
    }
    body.ui-refresh .reveal:not([data-aos]),
    body.ui-refresh .why-choose-led-card,
    body.ui-refresh .installation-card,
    body.ui-refresh .hero-kpi {
        transition: none;
    }
}
