/* ==========================================================================
   Cinematic scroll-driven experience — Automagnet
   Layers on top of style.css + animations.css. Does NOT override existing rules.
   ========================================================================== */

/* ---------- Bebas Neue for cinematic headlines ---------- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=JetBrains+Mono:wght@400;500&display=swap');

/* ==========================================================================
   HERO — cinematic enhancements
   ========================================================================== */
.hero-content h1.cinematic-title {
    font-family: var(--display-condensed);
    font-size: clamp(4rem, 12vw, 10rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 0.92;
    max-width: none;
    background: linear-gradient(180deg, var(--text) 40%, rgba(243, 245, 248, 0.35));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scroll-cue {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.scroll-cue span:first-child {
    background: rgba(212, 168, 67, 0.08); /* Premium gold soft background */
    border: 1px solid rgba(212, 168, 67, 0.28); /* Gold border */
    padding: 10px 24px;
    border-radius: 999px;
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 168, 67, 0.1);
    animation: cue-float 3.5s ease-in-out infinite;
    display: inline-block;
}

.scroll-cue .cue-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, var(--cyan), transparent);
    animation: cue-pulse-line 2s ease-in-out infinite;
    transform-origin: top;
}

@keyframes cue-float {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 168, 67, 0.15);
    }
    50% {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 168, 67, 0.28);
    }
}

@keyframes cue-pulse-line {
    0%, 100% {
        opacity: 0.4;
        transform: scaleY(0.7);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.3);
    }
}

/* Hide the old hero-hint when cinematic is active */
.hero .hero-hint {
    display: none;
}

/* ==========================================================================
   THE PROCESS — scroll-scrubbed transformation sequence
   ========================================================================== */
.process-section {
    position: relative;
    /* Height controls scroll scrub distance. 4 stages × 100vh per stage + padding */
    height: 500vh;
    background: var(--bg);
}

.process-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image sequence container */
.process-frames {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.process-frame {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    will-change: opacity;
}

.process-frame.active {
    opacity: 1;
}

.process-frame img,
.process-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45) saturate(0.9);
    transition: filter 0.8s ease;
}

.process-frame.active img,
.process-frame.active video {
    filter: brightness(0.55) saturate(1.05);
}

/* Overlay effects per stage */
.process-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Scan line for Inspect stage */
.overlay-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    box-shadow: 0 0 20px var(--cyan), 0 0 60px var(--cyan-soft);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s;
}

.process-frame[data-stage="inspect"].active .overlay-scanline {
    opacity: 1;
    animation: scanline-move 3s ease-in-out infinite;
}

@keyframes scanline-move {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100vh);
    }
}

/* Wash wipe for Decontaminate */
.overlay-wash {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.08) 0%, transparent 30%);
    transform: translateX(-100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.process-frame[data-stage="decontaminate"].active .overlay-wash {
    opacity: 1;
    animation: wash-wipe 4s ease-in-out infinite;
}

@keyframes wash-wipe {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Radial glow for Correct */
.overlay-polish {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.process-frame[data-stage="correct"].active .overlay-polish {
    opacity: 1;
    animation: polish-glow 2.5s ease-in-out infinite;
}

@keyframes polish-glow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.4;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

/* Glass sheen for Protect */
.overlay-sheen {
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0.08) 55%, transparent);
    transform: skewX(-18deg);
    opacity: 0;
    transition: opacity 0.4s;
}

.process-frame[data-stage="protect"].active .overlay-sheen {
    opacity: 1;
    animation: sheen-sweep 3s ease-in-out infinite;
}

@keyframes sheen-sweep {
    0% {
        left: -80%;
    }

    100% {
        left: 130%;
    }
}

/* Process text overlay */
.process-text {
    position: absolute;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
    max-width: 720px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
}

.process-text .stage-number {
    font-family: var(--display-condensed);
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--cyan);
    opacity: 0.3;
    line-height: 1;
}

.process-text .stage-title {
    font-family: var(--display-condensed);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 8px 0 16px;
    background: linear-gradient(180deg, var(--text) 50%, rgba(243, 245, 248, 0.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-text .stage-desc {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 480px;
    margin-inline: auto;
    line-height: 1.6;
}

/* Gradient vignette on process section */
.process-sticky::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, var(--bg) 0%, transparent 12%),
        linear-gradient(0deg, var(--bg) 0%, transparent 12%),
        radial-gradient(ellipse at center, transparent 40%, var(--bg) 100%);
}

/* ==========================================================================
   HUD — Stage Tracker
   ========================================================================== */
.process-hud {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Shine percentage */
.hud-shine {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.82rem;
    color: var(--cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.4;
}

.hud-shine .shine-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--cyan);
    text-shadow: 0 0 20px var(--cyan-soft);
}

/* Vertical step indicators */
.hud-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hud-step {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.hud-step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    transition: all 0.4s var(--ease);
    position: relative;
    z-index: 1;
}

.hud-step.active .hud-step-dot {
    border-color: var(--cyan);
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan), 0 0 30px var(--cyan-soft);
}

.hud-step.completed .hud-step-dot {
    border-color: var(--cyan);
    background: var(--cyan-deep);
}

.hud-step-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    white-space: nowrap;
    transition: color 0.4s var(--ease);
}

.hud-step.active .hud-step-label {
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan-soft);
}

.hud-step.completed .hud-step-label {
    color: var(--cyan-deep);
}

/* Connector line between dots */
.hud-connector {
    width: 2px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.hud-connector-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--cyan-deep), var(--cyan));
    transition: height 0.4s var(--ease);
}

.hud-connector.filled .hud-connector-fill {
    height: 100%;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
    background:
        radial-gradient(800px 350px at 50% 0%, var(--cyan-soft), transparent 70%),
        var(--bg-2);
    border-block: 1px solid var(--line);
    padding: 120px 0;
}

.stats-section .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s var(--ease);
}

.stats-section .stat .stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 168, 67, 0.06);
    /* Gold soft tint */
    border: 1px solid rgba(212, 168, 67, 0.15);
    display: grid;
    place-items: center;
    color: var(--cyan);
    /* Gold accent */
    margin-bottom: 20px;
    transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}

.stats-section .stat:hover .stat-icon-wrap {
    transform: scale(1.1);
    background: rgba(212, 168, 67, 0.12);
}

.stats-section .stat-icon {
    width: 20px;
    height: 20px;
}

.stats-section .stat:hover {
    border-color: rgba(212, 168, 67, 0.35);
    /* Gold glow border */
    box-shadow: 0 0 35px rgba(212, 168, 67, 0.15);
    transform: translateY(-5px);
}

.stats-section .stat .num {
    font-family: var(--display-condensed);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    color: var(--text);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.num-suffix {
    font-family: var(--body, 'Inter', sans-serif);
    font-size: 0.55em;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.85;
}

.stats-section .stat .label {
    color: var(--muted);
    font-size: 0.84rem;
    margin-top: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ==========================================================================
   BEFORE / AFTER — split reveal comparison
   ========================================================================== */
.ba-section {
    padding: 120px 0;
    background: var(--bg);
    overflow: hidden;
}

.ba-wrapper {
    max-width: 900px;
    margin-inline: auto;
}

.ba-header {
    text-align: center;
    margin-bottom: 48px;
}

.ba-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    cursor: col-resize;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    user-select: none;
    -webkit-user-select: none;
}

.ba-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-before {
    z-index: 1;
    clip-path: inset(0 15% 0 0);
}

.ba-after {
    z-index: 0;
}

.ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 85%;
    width: 2px;
    background: linear-gradient(180deg, var(--cyan), var(--gold));
    /* Gold to Red gradient */
    z-index: 3;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(212, 168, 67, 0.3), 0 0 40px rgba(204, 34, 41, 0.2);
    transition: box-shadow 0.3s ease;
}

.ba-container:hover .ba-divider {
    box-shadow: 0 0 30px rgba(212, 168, 67, 0.5), 0 0 60px rgba(204, 34, 41, 0.4);
}

.ba-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(7, 9, 13, 0.85);
    border: 2px solid var(--cyan);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(212, 168, 67, 0.25);
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.ba-container:hover .ba-divider::before {
    transform: translate(-50%, -50%) scale(1.1);
    border-color: var(--gold);
}

.ba-divider::after {
    content: "⟨ ⟩";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 0.1em;
    white-space: nowrap;
    transition: color 0.25s var(--ease);
}

.ba-container:hover .ba-divider::after {
    color: var(--gold);
}

.ba-label {
    position: absolute;
    bottom: 20px;
    z-index: 4;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(7, 9, 13, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ba-label-before {
    left: 20px;
    color: var(--muted);
}

.ba-label-after {
    right: 20px;
    color: var(--cyan);
}

/* ==========================================================================
   SERVICE TIERS — paint-configurator style selector
   ========================================================================== */
.tiers-section {
    padding: 96px 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

/* Background hero image that cross-fades per tier */
.tier-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tier-bg-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.tier-bg-image.active {
    opacity: 1;
}

.tier-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.18) saturate(0.6);
}

/* Gradient overlay on tier bg */
.tier-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, var(--bg) 0%, transparent 25%),
        linear-gradient(0deg, var(--bg) 0%, transparent 25%),
        radial-gradient(ellipse at center, transparent 30%, var(--bg) 80%);
    z-index: 1;
}

.tiers-content {
    position: relative;
    z-index: 2;
}

.tier-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 48px;
}

.tier-card.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 32px;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.tier-card.glass-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background 0.4s ease;
    pointer-events: none;
}

.tier-card.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 168, 67, 0.3);
    /* Gold soft accent */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 168, 67, 0.1);
}

.tier-card.glass-card.selected {
    border-color: transparent;
    box-shadow: 0 0 50px rgba(212, 168, 67, 0.12), 0 24px 60px rgba(0, 0, 0, 0.5);
}

.tier-card.glass-card.selected::before {
    background: linear-gradient(135deg, var(--cyan), var(--gold));
    /* Gold to Red gradient */
}

.tier-card .tier-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyan);
    /* Gold color for the premium badge */
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.tier-card.selected .tier-label {
    opacity: 1;
}

.tier-card h3 {
    font-family: var(--display-condensed);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 12px 0 4px;
}

.tier-card .tier-price {
    font-family: var(--display-condensed);
    font-size: 2.8rem;
    color: var(--cyan);
    /* Gold */
    margin: 12px 0 2px;
}

.tier-card .tier-duration {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 24px;
}

.tier-card .tier-features {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 32px;
    flex-grow: 1;
}

.tier-card .tier-features li {
    display: flex;
    gap: 12px;
    font-size: 0.94rem;
    color: #e2e8f0;
}

.tier-card .tier-features li::before {
    content: "✓";
    color: var(--cyan);
    /* Gold checkmarks */
    font-weight: 700;
    flex-shrink: 0;
}

.tier-card .btn {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.tier-card.selected .btn {
    opacity: 1;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    box-shadow: 0 14px 30px rgba(204, 34, 41, 0.35);
}

.tier-card.selected .btn:hover {
    box-shadow: 0 18px 40px rgba(204, 34, 41, 0.45);
}

.tier-card:not(.selected) .btn {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text);
}

.tier-card:not(.selected):hover .btn {
    border-color: var(--cyan);
    color: var(--cyan);
}

/* ==========================================================================
   BOOKING CTA — cinematic upgrade
   ========================================================================== */
.cta-cinematic {
    text-align: center;
    padding: 160px 0;
    background:
        radial-gradient(1000px 400px at 50% 50%, rgba(204, 34, 41, 0.18), transparent 70%),
        var(--bg-2);
    border-block: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.cta-cinematic h2 {
    font-family: var(--display-condensed);
    font-size: clamp(3rem, 8vw, 5.5rem);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 0.95;
    background: linear-gradient(180deg, var(--text) 40%, rgba(243, 245, 248, 0.35));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.cta-cinematic p {
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto 40px;
    font-size: 1.12rem;
    line-height: 1.7;
}

.cta-cinematic .btn-gold {
    font-family: var(--display-condensed);
    font-size: 1.28rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 16px 44px;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    box-shadow: 0 16px 40px rgba(204, 34, 41, 0.35);
}

.cta-cinematic .btn-gold:hover {
    box-shadow: 0 20px 50px rgba(204, 34, 41, 0.55);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
    .process-hud {
        right: 16px;
    }

    .hud-step-label {
        display: none;
    }

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

@media (max-width: 760px) {
    .hero-content h1.cinematic-title {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .process-hud {
        top: auto;
        bottom: 24px;
        right: 50%;
        transform: translateX(50%);
        flex-direction: row;
        gap: 0;
    }

    .hud-shine {
        margin-bottom: 0;
        margin-right: 16px;
    }

    .hud-shine .shine-value {
        font-size: 1.2rem;
    }

    .hud-steps {
        flex-direction: row;
    }

    .hud-connector {
        width: 20px;
        height: 2px;
    }

    .hud-connector-fill {
        width: 0%;
        height: 100%;
    }

    .hud-connector.filled .hud-connector-fill {
        width: 100%;
        height: 100%;
    }

    .tier-cards {
        grid-template-columns: 1fr;
    }

    /* Before/After: use full width */
    .ba-container {
        aspect-ratio: 4 / 3;
    }
}

/* ==========================================================================
   THE CINEMATIC JOURNEY — unified scroll-scrubbed experience
   Canvas frames + hero text + 4 process stages + HUD — one section
   ========================================================================== */

/* Section: provides the scrollable height */
.scroll-hero {
    position: relative;
    height: 800vh;
    /* 8× viewport — hero + 4 stages at ~160vh each */
    background: var(--bg);
    padding: 0;
}

/* Sticky wrapper: pins canvas + all overlays while user scrolls */
.scroll-hero__sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Canvas: fills the sticky viewport */
.scroll-hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Vignette: cinematic gradient overlay on canvas */
.scroll-hero__vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(7, 9, 13, 0.35) 0%, transparent 15%),
        linear-gradient(0deg, var(--bg) 0%, transparent 18%),
        radial-gradient(ellipse at center, transparent 50%, rgba(7, 9, 13, 0.6) 100%);
}

/* ==========================================================================
   HERO TEXT CONTENT — centered overlay (phase 1)
   ========================================================================== */
.scroll-hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    max-width: 860px;
    width: 100%;
    will-change: opacity, transform;
}

.scroll-hero__content .eyebrow {
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 24px;
    border-radius: 999px;
    background: rgba(10, 14, 22, 0.82);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 42, 50, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 42, 50, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.24em;
    font-size: clamp(0.75rem, 1.8vw, 0.88rem);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    margin-bottom: 24px;
}

.scroll-hero__content .eyebrow::before,
.scroll-hero__content .eyebrow::after {
    content: "";
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #ff4d55, #cc111a);
    border-radius: 2px;
    display: inline-block;
    box-shadow: 0 0 8px rgba(255, 77, 85, 0.8);
    flex-shrink: 0;
}

.scroll-hero__content .cinematic-title {
    font-family: var(--display-condensed);
    font-size: clamp(4rem, 12vw, 10rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 0.92;
    max-width: none;
    background: linear-gradient(180deg, var(--text) 40%, rgba(243, 245, 248, 0.35));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 60px rgba(204, 34, 41, 0.15));
}

.scroll-hero__content .hero-sub {
    color: var(--muted);
    max-width: 540px;
    margin: 18px auto 28px;
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.scroll-hero__content .hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   PROCESS STAGE TEXT OVERLAYS — centered, fade in/out via JS (phases 2–5)
   ========================================================================== */
/* Glassmorphic Cards Design */
.glass-card {
    background: rgba(10, 15, 24, 0.45) !important; /* Premium semi-translucent iPhone glass backing */
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px;
    transition: all 0.4s var(--ease);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.scroll-hero__stage {
    position: absolute;
    z-index: 3;
    width: calc(100% - 40px);
    max-width: 420px;
    top: 50%;
    opacity: 0;
    will-change: opacity, transform;
    pointer-events: none;
}

.scroll-hero__stage.stage-left {
    left: 8%;
    right: auto;
    text-align: left;
}

.scroll-hero__stage.stage-right {
    right: 8%;
    left: auto;
    text-align: left;
}

.stage-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.stage-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212, 168, 67, 0.08);
    /* Gold soft tint */
    border: 1px solid rgba(212, 168, 67, 0.15);
    display: grid;
    place-items: center;
    color: var(--cyan);
    /* Gold accent */
    box-shadow: 0 8px 24px rgba(212, 168, 67, 0.05);
}

.stage-icon {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
}

.scroll-hero__stage .stage-number {
    font-family: var(--display-condensed);
    font-size: 2.2rem;
    color: var(--cyan);
    /* Gold */
    opacity: 0.85;
    line-height: 1;
}

.scroll-hero__stage .stage-title {
    font-family: var(--display-condensed);
    font-size: 2.6rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 12px;
    background: linear-gradient(180deg, var(--text) 40%, rgba(243, 245, 248, 0.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
}

.scroll-hero__stage .stage-desc {
    color: rgba(255, 255, 255, 0.9) !important;
    /* Bright off-white for high legibility */
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: left;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    /* subtle shadow behind text */
}

.stage-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(212, 168, 67, 0.08);
    /* Gold soft tint background */
    border: 1px solid rgba(212, 168, 67, 0.15);
    /* Gold border */
    font-size: 0.84rem;
}

.stage-stat-chip .stat-label {
    color: rgba(255, 255, 255, 0.6) !important;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stage-stat-chip .stat-value {
    color: var(--cyan) !important;
    /* Gold value (highly legible on dark card) */
    font-weight: 600;
}

/* ==========================================================================
   HUD — Shine tracker + step dots (inside scroll-hero, fades in via JS)
   ========================================================================== */
.scroll-hero__hud {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    opacity: 0;
    will-change: opacity;
}

/* Shine percentage */
.scroll-hero__hud .hud-shine {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.82rem;
    color: var(--cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.4;
}

.scroll-hero__hud .shine-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--cyan);
    text-shadow: 0 0 20px var(--cyan-soft);
}

/* Vertical step indicators */
.scroll-hero__hud .hud-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.scroll-hero__hud .hud-step {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.scroll-hero__hud .hud-step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    transition: all 0.4s var(--ease);
    position: relative;
    z-index: 1;
}

.scroll-hero__hud .hud-step.active .hud-step-dot {
    border-color: var(--cyan);
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan), 0 0 30px var(--cyan-soft);
}

.scroll-hero__hud .hud-step.completed .hud-step-dot {
    border-color: var(--cyan);
    background: var(--cyan-deep);
}

.scroll-hero__hud .hud-step-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    white-space: nowrap;
    transition: color 0.4s var(--ease);
}

.scroll-hero__hud .hud-step.active .hud-step-label {
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan-soft);
}

.scroll-hero__hud .hud-step.completed .hud-step-label {
    color: var(--cyan-deep);
}

/* Connector line between dots */
.scroll-hero__hud .hud-connector {
    width: 2px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.scroll-hero__hud .hud-connector-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--cyan-deep), var(--cyan));
    transition: height 0.4s var(--ease);
}

.scroll-hero__hud .hud-connector.filled .hud-connector-fill {
    height: 100%;
}

/* ==========================================================================
   SCROLL PROGRESS BAR — right edge vertical bar
   ========================================================================== */
.scroll-hero__progress {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    height: 120px;
    width: 3px;
}

.scroll-hero__progress-track {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.scroll-hero__progress-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--cyan), var(--gold));
    border-radius: 4px;
    transition: height 0.1s linear;
    box-shadow: 0 0 12px var(--cyan-soft);
}

/* ---- Scroll Cue inside scroll-hero ---- */
.scroll-hero__sticky .scroll-cue {
    z-index: 4;
    transition: opacity 0.15s linear;
}

/* ==========================================================================
   LOADER OVERLAY — shown while frames preload
   ========================================================================== */
.scroll-hero__loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}

.scroll-hero__loader-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.scroll-hero__loader-logo {
    font-family: var(--display-condensed);
    font-size: clamp(2rem, 6vw, 3.6rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--text) 40%, rgba(243, 245, 248, 0.35));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: loader-pulse 2s ease-in-out infinite;
}

@keyframes loader-pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.scroll-hero__loader-bar {
    width: 220px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.scroll-hero__loader-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--gold));
    border-radius: 4px;
    transition: width 0.15s linear;
    box-shadow: 0 0 16px var(--cyan-soft);
}

.scroll-hero__loader-pct {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.82rem;
    color: var(--muted);
    letter-spacing: 0.15em;
}

/* ==========================================================================
   RESPONSIVE — Scroll-Frame Cinematic Journey
   ========================================================================== */
@media (max-width: 980px) {
    .scroll-hero__hud {
        right: 16px;
    }

    .scroll-hero__hud .hud-step-label {
        display: none;
    }
}

@media (max-width: 760px) {
    /* Frosted glass card view for mobile hero content positioned exactly 446px from top */
    .scroll-hero__content {
        top: 446px !important;
        bottom: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 300px !important;
        max-width: 300px !important;
        padding: 24px 20px !important;
        background: rgba(10, 15, 24, 0.45) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 14px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Scaling down scroll indicator on mobile to prevent overlapping */
    .scroll-cue {
        bottom: 15px !important;
        gap: 0px !important;
    }
    .scroll-cue span:first-child {
        padding: 8px 18px !important;
        font-size: 0.72rem !important;
        letter-spacing: 0.14em !important;
    }
    .scroll-cue .cue-line {
        display: none !important;
    }
    .scroll-hero__content .eyebrow {
        font-size: 0.65rem !important;
        margin-bottom: 16px !important;
        justify-content: center !important;
        text-align: center !important;
        display: inline-flex !important;
    }
    /* Hide the red line on mobile so the eyebrow text centers perfectly */
    .scroll-hero__content .eyebrow::before {
        display: none !important;
    }
    .scroll-hero__content .cinematic-title {
        font-size: clamp(2.0rem, 8.5vw, 2.8rem) !important;
        margin-bottom: 16px !important;
        text-align: center !important;
        width: 100% !important;
    }
    .scroll-hero__content .hero-sub {
        font-size: 0.78rem !important;
        margin: 0 !important;
        line-height: 1.35 !important;
        text-align: center !important;
        width: 100% !important;
    }
    /* Hide action buttons on mobile as requested */
    .scroll-hero__content .hero-actions {
        display: none !important;
    }

    .scroll-hero__progress {
        left: 12px;
        height: 60px;
        top: 480px !important;
    }

    /* Highly compact stage cards positioned in the bottom vacant area, width 300px */
    .scroll-hero__stage {
        top: auto !important;
        bottom: 80px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 300px !important;
        max-width: 300px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .scroll-hero__stage.glass-card {
        padding: 10px 14px !important;
        border-radius: 10px !important;
    }
    .scroll-hero__stage .stage-card-header {
        margin-bottom: 4px !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }
    .scroll-hero__stage .stage-number {
        font-size: 0.65rem !important;
        margin-bottom: 0 !important;
        text-align: left !important;
    }
    .scroll-hero__stage .stage-icon-wrap {
        width: 24px !important;
        height: 24px !important;
        border-radius: 5px !important;
        margin: 0 !important;
    }
    .scroll-hero__stage .stage-icon {
        width: 12px !important;
        height: 12px !important;
    }
    .scroll-hero__stage .stage-title {
        font-size: 1.1rem !important;
        margin: 2px auto 2px auto !important;
        text-align: center !important;
        width: 100% !important;
    }
    .scroll-hero__stage .stage-desc {
        font-size: 0.76rem !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
        text-align: center !important;
        width: 100% !important;
    }
    .scroll-hero__stage .stage-stat-chip {
        padding: 2px 6px !important;
        font-size: 0.65rem !important;
        margin: 0 auto !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* HUD positioned nicely at the very bottom */
    .scroll-hero__hud {
        top: auto !important;
        bottom: 16px !important;
        right: 50% !important;
        transform: translateX(50%) !important;
        flex-direction: row;
        gap: 0;
    }
    .scroll-hero__hud .hud-shine {
        margin-bottom: 0;
        margin-right: 16px;
    }
    .scroll-hero__hud .shine-value { font-size: 1.1rem; }
    .scroll-hero__hud .hud-steps {
        flex-direction: row;
    }
    .scroll-hero__hud .hud-connector {
        width: 20px;
        height: 2px;
    }
    .scroll-hero__hud .hud-connector-fill {
        width: 0%;
        height: 100%;
    }
    .scroll-hero__hud .hud-connector.filled .hud-connector-fill {
        width: 100%;
        height: 100%;
    }
}

/* ==========================================================================
   PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .scroll-cue .cue-line {
        animation: none;
        opacity: 0.6;
    }

    .overlay-scanline,
    .overlay-wash,
    .overlay-polish,
    .overlay-sheen {
        animation: none !important;
    }

    .ba-divider {
        transition: none;
    }

    .tier-bg-image {
        transition: none;
    }

    .tier-card {
        transition: none;
    }

    .scroll-hero__loader-logo {
        animation: none;
        opacity: 1;
    }

    .scroll-hero {
        height: 100vh;
    }

    .scroll-hero__hud .hud-step-dot,
    .scroll-hero__hud .hud-step-label,
    .scroll-hero__hud .hud-connector-fill {
        transition: none;
    }
}

/* ==========================================================================
   NAVIGATION & FOOTER PREMIUM REFINE OVERRIDES
   ========================================================================== */
.site-nav.scrolled {
    background: rgba(7, 9, 13, 0.72) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.nav-links a:not(.nav-cta)::after {
    background: linear-gradient(90deg, var(--cyan), var(--cyan-deep)) !important;
}

/* Footer redesign styling overrides */
.site-footer {
    background: var(--bg-2) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 80px !important;
    position: relative !important;
}

.site-footer::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.18), transparent) !important;
    /* gold glow top border */
}

.footer-inner {
    width: min(100% - 40px, var(--maxw)) !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-template-columns: 1.6fr 1fr 1fr 1fr !important;
    gap: 40px !important;
}

.footer-tagline {
    color: var(--muted) !important;
    margin: 18px 0 !important;
    font-size: 0.95rem !important;
    max-width: 320px;
    line-height: 1.6 !important;
}

.footer-col h4 {
    font-family: var(--display-condensed) !important;
    font-size: 1.1rem !important;
    margin-bottom: 22px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--text) !important;
}

.footer-col a {
    display: block !important;
    color: var(--muted) !important;
    font-size: 0.94rem !important;
    margin-bottom: 14px !important;
    transition: all 0.3s ease !important;
}

.footer-col a:hover {
    color: var(--cyan) !important;
    /* Gold accent on hover */
    transform: translateX(4px) !important;
}

.footer-social {
    display: flex !important;
    gap: 14px !important;
    align-items: center !important;
}

.footer-social a {
    width: auto !important;
    height: auto !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    font-size: 0 !important;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease) !important;
    margin: 0 !important;
    padding: 2px !important;
    box-shadow: none !important;
}

.footer-social a svg {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
}

.footer-social a:hover {
    border-color: transparent !important;
    color: inherit !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: translateY(-2px) !important;
    opacity: 0.9 !important;
}

.footer-social a[aria-label="Facebook"] { color: #1877F2 !important; }
.footer-social a[aria-label="Instagram"] { color: #E1306C !important; }
.footer-social a[aria-label="WhatsApp"] { color: #25D366 !important; }

.footer-all {
    color: var(--cyan) !important;
}

.footer-bottom {
    width: min(100% - 40px, var(--maxw)) !important;
    margin: 60px auto 0 !important;
    padding: 24px 0 32px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    color: var(--muted) !important;
    font-size: 0.85rem !important;
}

.footer-bottom-links {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.footer-bottom-links a {
    color: var(--muted) !important;
    transition: color 0.25s ease !important;
}

.footer-bottom-links a:hover {
    color: var(--gold) !important;
}

.footer-bottom-links p {
    margin: 0 !important;
}

/* ==========================================================================
   SCROLL PROCESS CARDS CONTENT CENTERING
   ========================================================================== */
/* ==========================================================================
   SCROLL PROCESS CARDS CONTENT CENTERING
   ========================================================================== */
.scroll-hero__stage.glass-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 36px 40px !important;
}

.scroll-hero__stage .stage-card-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

.scroll-hero__stage .stage-number {
    position: static !important;
    transform: none !important;
    order: 1 !important;
    font-family: "JetBrains Mono", monospace !important;
    font-size: 0.85rem !important;
    /* Eyebrow text size */
    font-weight: 700 !important;
    letter-spacing: 0.2em !important;
    color: var(--cyan) !important;
    /* Gold */
    text-transform: uppercase !important;
    margin-bottom: 14px !important;
}

.scroll-hero__stage .stage-number::before {
    content: "STAGE " !important;
}

.scroll-hero__stage .stage-icon-wrap {
    order: 2 !important;
    margin: 0 auto !important;
}

.scroll-hero__stage .stage-title {
    text-align: center !important;
    margin: 16px auto 12px auto !important;
}

.scroll-hero__stage .stage-desc {
    text-align: center !important;
    margin-inline: auto !important;
}

.scroll-hero__stage .stage-stat-chip {
    margin: 0 auto !important;
}

/* ==========================================================================
   STYLING OVERRIDES FOR OTHER FRONT-END TABS
   ========================================================================== */
.card,
.branch-card {
    background: rgba(10, 15, 24, 0.72) !important;
    /* Dark glass backing */
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.4s var(--ease) !important;
}

.card:hover,
.branch-card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(212, 168, 67, 0.3) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 168, 67, 0.1) !important;
}

.card .card-body h3,
.branch-card h3 {
    font-family: var(--display) !important;
    font-weight: 700 !important;
}

.card .card-body p,
.branch-card p {
    color: rgba(255, 255, 255, 0.8) !important;
    /* Muted white for readability */
}

/* Stats on other pages */
.stats .stat {
    background: rgba(10, 15, 24, 0.72) !important;
    /* Dark glass backing */
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.4s var(--ease) !important;
    padding: 30px 20px !important;
}

.stats .stat:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(212, 168, 67, 0.35) !important;
    box-shadow: 0 0 30px rgba(212, 168, 67, 0.15) !important;
}

.stats .stat .num {
    font-family: var(--display-condensed) !important;
    font-size: clamp(2.4rem, 5vw, 3rem) !important;
    color: var(--cyan) !important;
    /* Gold */
}

/* Packages list on packages.html */
.pkg {
    background: rgba(10, 15, 24, 0.72) !important;
    /* Dark glass backing */
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 40px 32px !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.4s var(--ease) !important;
}

.pkg:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(212, 168, 67, 0.3) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 168, 67, 0.1) !important;
}

.pkg.popular {
    border-color: transparent !important;
    box-shadow: 0 0 50px rgba(212, 168, 67, 0.12), 0 24px 60px rgba(0, 0, 0, 0.5) !important;
    position: relative !important;
}

.pkg.popular::before {
    content: "" !important;
    position: absolute !important;
    inset: -1px !important;
    border-radius: 20px !important;
    padding: 1.5px !important;
    background: linear-gradient(135deg, var(--cyan), var(--gold)) !important;
    /* Gold to Red gradient */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
    -webkit-mask-composite: xor !important;
    mask-composite: exclude !important;
    pointer-events: none !important;
}

.pkg .price {
    font-family: var(--display-condensed) !important;
    font-size: 2.8rem !important;
    color: var(--cyan) !important;
    /* Gold */
}

.pkg ul li::before {
    color: var(--cyan) !important;
    /* Gold checkmark */
}

.pkg-badge {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-deep)) !important;
    color: #16120a !important;
    font-family: "JetBrains Mono", monospace !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    padding: 6px 16px !important;
    border-radius: 999px !important;
}

/* Form Card on contact.html */
.form-card {
    background: rgba(10, 15, 24, 0.72) !important;
    /* Dark glass backing */
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5) !important;
}

.field input,
.field select,
.field textarea {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    color: var(--text) !important;
    transition: all 0.3s ease !important;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--cyan) !important;
    /* Gold focus border */
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.14) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

.field select option,
.field select optgroup {
    background-color: #ffffff !important;
    color: #11161f !important;
}

.am-select-trigger {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    color: var(--text) !important;
}
.am-select-trigger:hover,
.am-select.is-open .am-select-trigger {
    border-color: var(--cyan) !important;
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.14) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}
.am-select-menu {
    background: rgba(10, 15, 24, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55) !important;
}
.am-select-option:hover,
.am-select-option.is-selected {
    background: rgba(204, 34, 41, 0.2) !important;
}

.branch-chip {
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
}

.branch-chip:hover {
    border-color: var(--cyan) !important;
}

.branch-chip.selected {
    border-color: var(--cyan) !important;
    background: rgba(212, 168, 67, 0.08) !important;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES FOR TABLET AND MOBILE VIEWPORTS
   ========================================================================== */
@media (max-width: 980px) and (min-width: 761px) {
    .scroll-hero__stage {
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
        /* Center the cards on tablets and mobiles */
        width: calc(100% - 32px) !important;
        max-width: 420px !important;
        padding: 30px 24px !important;
    }

    .scroll-hero__stage.stage-left,
    .scroll-hero__stage.stage-right {
        left: 50% !important;
        right: auto !important;
        text-align: center !important;
    }

    .scroll-hero__stage .stage-title {
        font-size: 2.2rem !important;
        /* Scale heading down slightly */
        margin: 14px auto 10px auto !important;
    }

    .scroll-hero__stage .stage-desc {
        font-size: 0.94rem !important;
        margin-bottom: 20px !important;
    }

    .scroll-hero__stage .stage-number {
        font-size: 0.8rem !important;
        margin-bottom: 10px !important;
    }
}

@media (max-width: 480px) {
    .stage-stat-chip {
        padding: 4px 8px !important;
        font-size: 0.7rem !important;
    }
}

/* ==========================================================================
   RESPONSIVE FOOTER OVERRIDES
   ========================================================================== */
@media (max-width: 880px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        text-align: center !important;
    }

    .footer-brand {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-tagline {
        margin-inline: auto !important;
    }

    .footer-social {
        justify-content: center !important;
        margin-top: 10px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 8px !important;
    }
}