/* ===== VARIABLES & resets ===== */
:root {
    --orange: #ff6600;
    /* Vibrant premium neon-ish orange */
    --orange-hover: #e05a00;
    --orange-glow: rgba(255, 102, 0, 0.5);

    --black: #030303;
    /* Deeper pure dark */
    --dark: #0a0a0c;
    --dark-surface: rgba(255, 255, 255, 0.03);
    /* Glass dark surface */
    --dark-border: rgba(255, 255, 255, 0.08);

    --white: #ffffff;
    --light-bg: #f8f9fc;
    /* Extremely clean light grey/blue */
    --light-surface: rgba(255, 255, 255, 0.7);
    --light-border: rgba(0, 0, 0, 0.06);

    --gray-text: #a1a1aa;
    /* Zinc 400 */
    --text-muted: rgba(255, 255, 255, 0.6);
    --light-gray: #e4e4e7;
    /* Zinc 200 */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Background Patterns */
.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--dark-border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--dark-border) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.light-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--light-border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--light-border) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.glow-orb.orange {
    background: var(--orange);
}

.glow-orb.blue {
    background: #0044ff;
    /* Slight accent */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.15;
    letter-spacing: -0.02em;
    /* Sleeker tight letter spacing */
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    /* Bolder */
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.section-title.center {
    text-align: center;
}

.section-subtext {
    font-size: 1.25rem;
    color: var(--gray-text);
    max-width: 650px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

p {
    max-width: 700px;
    line-height: 1.7;
}

.text-black {
    color: var(--black) !important;
}

/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

section {
    padding: 8rem 0;
    /* Minimum 100px vertical spacing */
    position: relative;
}

.dark-section {
    background-color: var(--black);
    color: var(--white);
}

.dark-section .section-title {
    color: var(--white);
}

.dark-section p {
    color: var(--gray-text);
}

.light-section {
    background-color: var(--light-bg);
    color: var(--black);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--orange) 0%, #ff8c3a 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    transform: translateZ(30px);
    box-shadow: 0 10px 20px var(--orange-glow);
    transition: transform 0.3s ease;
}

.card-icon i {
    transition: text-shadow 0.3s ease;
}

.premium-card:hover .card-icon {
    transform: translateZ(30px) scale(1.08);
}

.premium-card:hover .card-icon i {
    text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.8);
}

.orange-bg {
    background: linear-gradient(135deg, var(--orange) 0%, #ff8c3a 100%);
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}



.btn-primary {
    background-color: var(--orange);
    color: var(--white);
    box-shadow: 0 10px 30px var(--orange-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 102, 0, 0.8);
}

.btn-primary:hover {
    background-color: var(--orange-hover);
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 20px 50px rgba(255, 102, 0, 0.65), 0 0 40px rgba(255, 102, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-outline {
    background-color: rgba(255,255,255,0.08);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--white);
    transform: translateY(-4px);
}

.btn-dark {
    background-color: var(--black);
    color: var(--white);
    border: 1px solid var(--dark-border);
}

.btn-dark:hover {
    background-color: #111;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 102, 0, 0.1);
    color: var(--orange);
    border: 1px solid rgba(255, 102, 0, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

/* Animations - Progressive Enhancement
   Elements are VISIBLE by default (no JS = content shown).
   JS adds .will-animate before observing, then .visible on scroll.
*/
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Applied by JS right before observing */
.animate-on-scroll.will-animate {
    opacity: 0;
    transform: translateY(40px);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Inside admin iframe: skip all animation instantly */
html.in-iframe .animate-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: none !important;
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

/* Setup Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--black);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* No empty selectors here */

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    color: var(--white);
}

.hero-title span {
    color: var(--orange);
    text-shadow: 0 0 40px var(--orange-glow);
}

.highlight-bg {
    color: var(--white) !important;
    background: transparent;
    position: relative;
    display: inline-block;
    padding: 0 0.5rem;
    text-shadow: 0 0 30px rgba(255, 102, 0, 0.8);
    z-index: 1;
}

.highlight-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.6), transparent);
    z-index: -1;
    filter: blur(10px);
    animation: pulseGlow 4s infinite ease-in-out;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--gray-text);
    margin-bottom: 3rem;
    max-width: 600px;
    /* Reduced width */
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-badges-hero {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--light-gray);
    font-family: var(--font-heading);
    font-weight: 600;
}

.trust-badge-item i {
    color: var(--orange);
    font-size: 1.25rem;
}



/* Premium Image Box / Glassmorphism */
.image-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--dark-border);
    transform-style: preserve-3d;
    background: var(--dark-surface);
    padding: 1rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.image-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
    border-radius: 20px;
}

.hero-img,
.auth-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
    transform: translateZ(20px);
}

/* Trust Strip */
.trust-strip {
    padding: 1rem 0;
    /* Reduced height */
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
    position: relative;
    z-index: 10;
}

.marquee-wrapper {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-right: 5rem;
    color: var(--gray-text);
}

.marquee-content span i {
    color: var(--orange);
    font-size: 1.25rem;
    filter: drop-shadow(0 0 5px var(--orange-glow));
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Authority */
.authority-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.auth-name {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.authority-content p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: #222;
    /* Increased contrast */
    font-weight: 500;
}

/* Glass Highlights / Card Quote */
.highlight-box {
    margin-top: 2.5rem;
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid var(--light-border);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.highlight-box i {
    font-size: 2.5rem;
    color: var(--orange);
    flex-shrink: 0;
}

.highlight-line {
    font-family: var(--font-heading);
    font-size: 1.4rem !important;
    font-weight: 800;
    color: var(--black) !important;
    margin: 0 !important;
    line-height: 1.4;
}

/* Problem */
.problem-container {
    max-width: 900px;
    text-align: center;
}

.problem-content {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.problem-content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--light-gray);
}

.problem-content p:last-child {
    margin-bottom: 0;
}

/* Grid Layouts */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

/* Cards (Glassmorphism) */
.premium-card,
.process-card {
    background: var(--light-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--light-border);
    transition: var(--transition);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.premium-card::before,
.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.premium-card h3,
.process-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    transform: translateZ(20px);
    font-weight: 800;
}

.premium-card p,
.process-card p {
    color: #555;
    transform: translateZ(10px);
    font-size: 1.1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.service-item {
    background: var(--dark-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
}

.service-item:hover {
    border-color: var(--orange);
    background: rgba(255, 102, 0, 0.05);
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-item i {
    color: var(--orange);
    font-size: 1.75rem;
    filter: drop-shadow(0 0 5px var(--orange-glow));
}

.service-item span {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--light-gray);
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2.5rem;
    background: var(--light-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--light-border);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.benefit-item i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--orange) 0%, #ff8c3a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 10px var(--orange-glow));
}

.benefit-item h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.benefit-item p {
    color: #555;
    font-size: 1.05rem;
}

/* Testimonials */
.featured-testimonial {
    background: linear-gradient(135deg, rgba(20, 20, 22, 0.9) 0%, rgba(10, 10, 12, 0.9) 100%);
    border: 1px solid rgba(255, 102, 0, 0.2);
    padding: 5rem 4rem;
    border-radius: 30px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(255, 102, 0, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.featured-testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 40px;
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.02);
    font-family: var(--font-heading);
    line-height: 1;
}

.stars {
    color: var(--orange);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    filter: drop-shadow(0 0 5px var(--orange-glow));
}

.featured-testimonial h3 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.featured-testimonial p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #ccc;
}

.author {
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.testimonial-slider {
    display: flex;
    gap: 2rem;
    overflow: visible;
    padding-bottom: 2rem;
    padding-top: 1rem;
    width: max-content;
    animation: scrollTestimonials 25s linear infinite;
}

.testimonial-slider:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

.testimonial-slider-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.mini-test {
    background: var(--dark-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--dark-border);
    min-width: 350px;
    transition: var(--transition);
}

.mini-test:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 102, 0, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.mini-test p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #ddd;
    line-height: 1.6;
}

.trust-line {
    margin-top: 4rem;
    font-weight: 700;
    color: var(--gray-text);
    font-size: 1.2rem;
}

/* Process */
.timeline-grid {
    position: relative;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    margin-bottom: -1rem;
    line-height: 1;
    position: relative;
    z-index: 0;
}

.process-card h3 {
    position: relative;
    z-index: 1;
    color: var(--orange);
}

.process-card p {
    position: relative;
    z-index: 1;
}

/* Common Problems */
.problems-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.problems-list {
    list-style: none;
    margin-top: 3rem;
}

.problems-list li {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--dark-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border-left: 4px solid var(--orange);
    transition: var(--transition);
    border-right: 1px solid var(--dark-border);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}

.problems-list li:hover {
    transform: translateX(15px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.problems-list li i {
    color: var(--orange);
    font-size: 1.75rem;
    filter: drop-shadow(0 0 5px var(--orange-glow));
}

.floating-element {
    background: linear-gradient(135deg, var(--orange) 0%, #ff3b00 100%);
    border-radius: 30px;
    padding: 5rem 3rem;
    text-align: center;
    box-shadow: 0 40px 80px rgba(255, 102, 0, 0.4), inset 0 2px 10px rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.2) 100%);
}

.floating-element i {
    font-size: 6rem;
    color: var(--white);
    margin-bottom: 2rem;
    transform: translateZ(50px);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.floating-element h3 {
    font-size: 2.25rem;
    color: var(--white);
    transform: translateZ(30px);
    font-weight: 800;
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: #111114;
    color: #666;
    padding: 3rem 0;
    border-top: 2px solid rgba(255, 102, 0, 0.18);
    box-shadow: 0 -1px 0 rgba(255,255,255,0.04), inset 0 1px 0 rgba(255,102,0,0.06);
}

/* CTA */
.cta-section {
    padding: 8rem 0;
}

.cta-section .section-title {
    font-size: 4rem;
}

/* Back to Top Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

/* Interactive Mouse Spotlight - Desktop Only */
@media (hover: hover) and (pointer: fine) {
    .mouse-spotlight {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        pointer-events: none;
        z-index: 9999;
        background: radial-gradient(circle 40px at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(255, 60, 0, 0.7) 0%, transparent 80%);
        transition: opacity 0.3s ease, background 0.3s;
    }
    .mouse-spotlight.white-glow {
        background: radial-gradient(circle 45px at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(255, 255, 255, 0.9) 0%, transparent 80%);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #000;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1.75rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Service Category Grid Refined Layout */
.services-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.service-category-card {
    background: var(--dark-surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--dark-border);
    padding: 3rem;
    border-radius: 20px;
    transition: var(--transition);
    text-align: left;
    position: relative;
    z-index: 10;
}

.service-category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 102, 0, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 102, 0, 0.1);
}

.service-category-card i.ph-fill {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
    display: block;
    position: relative;
    z-index: 2;
}

/* Ensure icon stays visible on hover — VanillaTilt 3D transform can push icon behind */
.service-category-card:hover i.ph-fill,
.service-category-card:focus i.ph-fill {
    color: var(--orange) !important;
    opacity: 1;
}

.service-category-card h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.service-category-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-category-card ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.15rem;
    color: var(--gray-text);
    margin-bottom: 1rem;
}

.service-category-card ul li i {
    color: var(--orange);
    font-size: 1.25rem;
}

/* Interactive Audit Card */
.floating-element.interactive-card {
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.floating-element.interactive-card:hover {
    transform: translateY(-10px) scale(1.03) translateZ(30px);
    box-shadow: 0 50px 100px rgba(255, 102, 0, 0.6), inset 0 2px 20px rgba(255, 255, 255, 0.6);
}

/* Advanced 3D & Motion Elements */
@keyframes orbFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.1);
        filter: blur(100px);
    }
}

.glow-orb {
    animation: orbFloat 8s ease-in-out infinite;
    transform: translateZ(0);
    /* Hardware acceleration */
}

.glow-orb.blue {
    animation-delay: -4s;
    animation-duration: 12s;
}

.shape-3d {
    position: absolute;
    transform-style: preserve-3d;
    pointer-events: none;
    z-index: 10;
}

/* ================================================
   AMAZON REALISTIC CARDBOARD SHIPPING BOX SYSTEM
   ================================================ */

/* Amazon-Box Realistic Palette */
:root {
    --cb-front:  #c89f6d;   /* Core cardboard tan */
    --cb-side:   #b68c59;   /* Slightly darker side */
    --cb-top:    #dba878;   /* Lightest top */
    --cb-bottom: #946c43;   /* Shadowed base */
    --cb-back:   #c09564;
    --amz-smile: #000000;   /* Black ink stamp */
    --amz-tape:  rgba(60, 40, 20, 0.45); /* Brown packing tape */
    --cb-crease: rgba(0,0,0,0.2);
    --cb-label:  #ffffff;   /* Shipping label */
}

/* Wrapper — positions each box absolutely in its section */
.amazon-box-wrapper {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    perspective: 600px;
}

/* === Position each wrapper — SMALLER sizes === */
.amazon-box-wrapper.w-hero-1 {
    top: 15%;
    left: 3%;
    width: 144px;
    height: 144px;
    animation: amzFloat 7s ease-in-out infinite;
    transform: scale(0.5);
    transform-origin: center center;
}
.amazon-box-wrapper.w-hero-2 {
    bottom: 22%;
    right: 4%;
    width: 110px;
    height: 110px;
    animation: amzFloat 9s ease-in-out infinite 1.5s reverse;
    transform: scale(0.5);
    transform-origin: center center;
}
.amazon-box-wrapper.w-small-1 {
    top: 8%;
    right: 2.5%;
    width: 100px;
    height: 100px;
    animation: amzFloat 10s ease-in-out infinite 0.5s;
    transform: scale(0.5);
    transform-origin: center center;
}
.amazon-box-wrapper.w-small-2 {
    bottom: 6%;
    left: 2%;
    width: 84px;
    height: 84px;
    animation: amzFloat 12s ease-in-out infinite 2s reverse;
    transform: scale(0.5);
    transform-origin: center center;
}
.amazon-box-wrapper.w-small-3 {
    top: 10%;
    left: 1.5%;
    width: 92px;
    height: 92px;
    animation: amzFloat 8s ease-in-out infinite 1s;
    transform: scale(0.5);
    transform-origin: center center;
}
.amazon-box-wrapper.w-small-4 {
    bottom: 8%;
    right: 1.5%;
    width: 72px;
    height: 72px;
    animation: amzFloat 11s ease-in-out infinite 3s reverse;
    transform: scale(0.5);
    transform-origin: center center;
}

@keyframes amzFloat {
    0%, 100% { transform: scale(0.5) translateY(0px);   }
    50%       { transform: scale(0.5) translateY(-32px); }
}

/* === The spinning cube === */
.amazon-box {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: amzSpin 16s linear infinite;
}
.amazon-box.reverse {
    animation: amzSpinRev 22s linear infinite;
}
@keyframes amzSpin {
    from { transform: rotateX(-20deg) rotateY(0deg);   }
    to   { transform: rotateX(-20deg) rotateY(360deg); }
}
@keyframes amzSpinRev {
    from { transform: rotateX(-20deg) rotateY(0deg);    }
    to   { transform: rotateX(-20deg) rotateY(-360deg); }
}

/* === Shared face base === */
.amazon-box .face {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide the old Phosphor icon */
.amazon-box .face i { display: none; }

/* === Per-size half-depth variable ===
   translateZ = half of face width for a perfect cube */
.w-hero-1  .amazon-box { --hd: 72px; }
.w-hero-2  .amazon-box { --hd: 55px; }
.w-small-1 .amazon-box { --hd: 50px; }
.w-small-2 .amazon-box { --hd: 42px; }
.w-small-3 .amazon-box { --hd: 46px; }
.w-small-4 .amazon-box { --hd: 36px; }

/* === FRONT face — corrugated cardboard + Amazon smile === */
.amazon-box .face.front {
    background-color: var(--cb-front);
    transform: translateZ(var(--hd));
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent 0px, transparent 4px,
            rgba(0,0,0,0.07) 4px, rgba(0,0,0,0.07) 5px
        ),
        linear-gradient(170deg,
            rgba(255,255,255,0.2) 0%,
            transparent 45%,
            rgba(0,0,0,0.14) 100%
        );
}
/* Realistic Amazon Prime Tape - spilling from top down the front slightly */
.amazon-box .face.front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 41%;
    width: 18%;
    height: 35%;
    background-color: #1a1a1a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='60'%3E%3Cg transform='rotate(90 9 30)'%3E%3Ctext x='-20' y='13' font-family='Arial, sans-serif' font-weight='bold' font-size='10' fill='%2300a8e1' font-style='italic' letter-spacing='-0.5'%3Eprime%3C/text%3E%3Cpath d='M10 16 Q 18 19 25 15' stroke='%23ff9900' stroke-width='1.5' fill='none'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100% 60px;
    background-repeat: repeat-y;
    opacity: 0.95;
    box-shadow: 1px 0px 3px rgba(0,0,0,0.5);
    z-index: 1;
}
/* Amazon wordmark text + smile combined */
.amazon-box .face.front::after {
    content: 'amazon';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-family: Arial, sans-serif;
    font-weight: 900;
    color: var(--amz-smile);
    letter-spacing: -0.5px;
    text-align: center;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50'%3E%3Cpath d='M10 20 Q 50 45 90 20' stroke='%23000000' stroke-width='8' fill='none'/%3E%3Cpath d='M82 15 L 94 25 L 82 35' stroke='%23000000' stroke-width='8' fill='none'/%3E%3C/svg%3E") no-repeat center bottom;
    background-size: 70% 20px;
    padding-bottom: 24px;
    opacity: 0.85;
}

/* === BACK face === */
.amazon-box .face.back {
    background-color: var(--cb-back);
    transform: rotateY(180deg) translateZ(var(--hd));
    background-image: repeating-linear-gradient(
        90deg, transparent 0, transparent 5px,
        rgba(0,0,0,0.07) 5px, rgba(0,0,0,0.07) 6px
    );
}

/* === RIGHT face === */
.amazon-box .face.right {
    background-color: var(--cb-side);
    transform: rotateY(90deg) translateZ(var(--hd));
    background-image:
        repeating-linear-gradient(
            90deg, transparent 0, transparent 4px,
            rgba(0,0,0,0.1) 4px, rgba(0,0,0,0.1) 5px
        ),
        linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.22) 100%);
}

/* === LEFT face === */
.amazon-box .face.left {
    background-color: var(--cb-side);
    transform: rotateY(-90deg) translateZ(var(--hd));
    background-image:
        repeating-linear-gradient(
            90deg, transparent 0, transparent 4px,
            rgba(0,0,0,0.1) 4px, rgba(0,0,0,0.1) 5px
        ),
        linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.18) 100%);
}

/* === TOP face — lightest, shows tape seam + flap crease === */
.amazon-box .face.top {
    background-color: var(--cb-top);
    transform: rotateX(90deg) translateZ(var(--hd));
    background-image:
        repeating-linear-gradient(
            0deg, transparent 0, transparent 4px,
            rgba(0,0,0,0.07) 4px, rgba(0,0,0,0.07) 5px
        ),
        linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 55%);
}
/* Vertical Tape across top flap seam */
.amazon-box .face.top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 41%;
    width: 18%;
    height: 100%;
    background-color: #1a1a1a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='60'%3E%3Cg transform='rotate(90 9 30)'%3E%3Ctext x='-20' y='13' font-family='Arial, sans-serif' font-weight='bold' font-size='10' fill='%2300a8e1' font-style='italic' letter-spacing='-0.5'%3Eprime%3C/text%3E%3Cpath d='M10 16 Q 18 19 25 15' stroke='%23ff9900' stroke-width='1.5' fill='none'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100% 60px;
    background-repeat: repeat-y;
    opacity: 0.95;
    box-shadow: 1px 0px 3px rgba(0,0,0,0.5);
    z-index: 2;
}
/* Shipping Label + Tape Flap */
.amazon-box .face.top::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 15%;
    width: 35%;
    height: 40%;
    background: var(--cb-label);
    border-radius: 2px;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    background-image: 
        linear-gradient(90deg, #333 70%, transparent 70%),
        linear-gradient(90deg, #333 40%, transparent 40%),
        linear-gradient(90deg, #333 85%, transparent 85%);
    background-size: 80% 2px, 60% 2px, 90% 2px;
    background-repeat: no-repeat;
    background-position: 4px 6px, 4px 12px, 4px 18px;
    opacity: 0.9;
    transform: rotate(2deg);
}

/* === BOTTOM face — darkest === */
.amazon-box .face.bottom {
    background-color: var(--cb-bottom);
    transform: rotateX(-90deg) translateZ(var(--hd));
    background-image: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 100%);
}

/* Hide on very small screens */
@media (max-width: 600px) {
    .amazon-box-wrapper { display: none; }
}

/* Floating Shopping Cart / Growth Chart 3D */
.floating-icon-3d {
    position: absolute;
    top: 15%;
    right: 25%;
    font-size: 4.5rem;
    color: var(--orange);
    filter: drop-shadow(0 20px 30px rgba(255, 102, 0, 0.5));
    animation: iconBounce 6s ease-in-out infinite;
    transform-style: preserve-3d;
    z-index: 1;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0) rotateY(0deg) translateZ(20px);
    }

    50% {
        transform: translateY(-40px) rotateY(25deg) translateZ(40px);
    }
}

/* Internal Card Depth */
.premium-card,
.process-card,
.floating-element {
    perspective: 1000px;
}

/* Enhanced 3D Interactivity for Conversion */
.btn {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s ease;
    z-index: 2;
}

.btn:hover::after {
    left: 150%;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05) translateZ(10px);
    box-shadow: 0 15px 35px rgba(255, 102, 0, 0.4);
}

[class*="card"] i {
    transition: all 0.2s ease-out;
    display: inline-block;
}

[class*="card"]:hover > i,
[class*="card"]:hover .card-icon i {
    transform: scale(1.15);
    color: #ff5500;
    filter: drop-shadow(0 0 8px rgba(255, 85, 0, 0.6));
}

.loss-framing [class*="card"]:hover > i {
    transform: scale(1.15);
    color: #ff2222;
    filter: drop-shadow(0 0 8px rgba(255, 34, 34, 0.6));
}

/* Navigation Bar */
.premium-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dual-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-right-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.nav-top-bar {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    margin-bottom: 0.5rem;
    justify-content: flex-end;
}

.nav-top-bar a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-top-bar a:hover { color: #fff; }

.nav-bottom-bar {
    display: flex;
    gap: 1.6rem;
    align-items: center;
}

.nav-bottom-bar a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-bottom-bar a:hover { color: var(--orange); }

.nav-item {
    position: relative;
    padding: 1rem 0; /* Creates an invisible bridge to hover the menu without losing hover state */
}
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 102, 0, 0.2);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 2.5rem;
    min-width: 800px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 102, 0, 0.1);
    z-index: 1000;
}
.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.mega-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mega-col h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mega-col h4 i {
    color: var(--orange);
    font-size: 1.1rem;
}
.mega-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.mega-col ul li a {
    color: var(--gray-text) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
}
.mega-col ul li a:hover {
    color: var(--orange) !important;
    transform: translateX(4px);
    text-shadow: 0 0 8px rgba(255, 102, 0, 0.5);
}

.problems-text {
    position: relative;
    z-index: 10;
}

.nav-top-bar i, .nav-bottom-bar i {
    font-size: 0.8rem;
    vertical-align: middle;
    margin-left: 2px;
}

.nav-logo {
    height: 45px;
    max-width: 250px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-text {
    font-size: 1.7rem;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    color: var(--white);
    letter-spacing: -1.5px;
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-text span {
    color: var(--orange);
}

.logo-text:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.5));
}

.nav-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 102, 0, 0.5));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--orange);
}

.hero {
    padding-top: 6rem;
    /* Push down to avoid nav overlap */
}

/* Animated Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    animation: bounce 3s infinite;
    z-index: 10;
}
.scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    position: relative;
}
.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: var(--orange);
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
    box-shadow: 0 0 5px var(--orange-glow);
}
@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* Staggered Floating Elements */
.trust-badge-item {
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    cursor: default;
}
.trust-badge-item:hover {
    transform: translateY(-5px) scale(1.05);
    color: var(--orange);
}

/* Dynamic Scroll Progress Tracker */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--orange);
    z-index: 10001;
    box-shadow: 0 0 10px var(--orange-glow);
    transition: width 0.1s ease-out;
}
@media (max-width: 1024px) {
    #scroll-progress { display: none; }
}

/* ── TABLET: iPad landscape / large tablet (769px – 1024px) ── */
@media (max-width: 1024px) {
    /* Nav */
    .nav-links { gap: 1.25rem; font-size: 0.9rem; }
    .nav-actions .btn { padding: 0.6rem 1.25rem; font-size: 0.88rem; }

    /* Hide desktop nav links below 900px, show hamburger */
    .hero-title { font-size: 3.2rem; }
    .section-title { font-size: 2.4rem; }
    .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }

    /* Glow orbs: reduce on tablet */
    .glow-orb { opacity: 0.15 !important; }

    /* Section padding */
    section { padding: 6rem 0; }
    
    /* ── Testimonials (iPad & Mobile Swipe Fix) ── */
    .testimonial-slider-wrapper { 
        overflow-x: auto !important; 
        -webkit-overflow-scrolling: touch; 
        scroll-snap-type: x mandatory;
        padding-bottom: 1.5rem; 
        mask-image: none !important; 
        -webkit-mask-image: none !important;
    }
    .testimonial-slider { 
        animation: none !important; /* Stop the desktop infinite scroll */
        flex-wrap: nowrap; 
        min-width: max-content; 
        padding-left: 1rem;
        padding-right: 1rem;
        transform: none !important; /* Reset animation transform */
    }
    .testimony-card, .mini-test { 
        scroll-snap-align: center;
        min-width: 300px;
        max-width: 85vw;
        white-space: normal;
    }
}

/* ── TABLET (iPad portrait & small tablet: 768–900px) ── */
@media (max-width: 900px) {
    /* Nav: switch to hamburger */
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-actions .btn { display: none; }

    /* Hero */
    .hero {
        padding-top: 5.5rem;
        min-height: auto;
        padding-bottom: 4rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .hero-content { order: 2; }
    .hero-image-wrapper { order: 1; }
    .hero-title { font-size: clamp(2.2rem, 5vw, 3rem); }
    .hero-desc { font-size: 1.05rem; margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; }
    .image-box-orbit-wrapper { max-width: 300px; margin: 0 auto; }

    /* Section titles */
    .section-title { font-size: clamp(1.85rem, 5vw, 2.6rem); }
    section { padding: 5rem 0; }

    /* Grids → single col */
    .authority-grid,
    .problems-grid,
    .benefits-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .cards-grid-3 { grid-template-columns: 1fr; gap: 1.5rem; }
    .hero-grid, .services-category-grid { grid-template-columns: 1fr; }

    /* Glow orbs */
    .glow-orb { opacity: 0.08 !important; }
    .amazon-box-wrapper { display: none; }
    .geo-ring { display: none; }
}


@media (max-width: 768px) {

    .cards-grid-3,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    section {
        padding: 5rem 0;
    }

    .floating-element {
        padding: 4rem 2rem;
    }
}

/* ===== HAMBURGER / MOBILE NAV ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
}

.hamburger.open span:nth-child(1) { transform: rotate(42deg) translateY(-1px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-42deg) translateY(1px); }

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(3, 3, 3, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-link {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -1px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-link:hover {
    color: var(--orange);
    transform: translateX(10px);
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-menu-close:hover {
    color: var(--orange);
    transform: rotate(90deg) scale(1.1);
}



/* ===== NAV SCROLL SHADOW ===== */
.premium-nav.scrolled {
    background: rgba(3, 3, 3, 0.98);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
    border-bottom-color: rgba(255, 102, 0, 0.15);
}

/* ===== ANIMATED STATS SECTION ===== */
.stats-section {
    padding: 4rem 0;
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat-card:hover {
    border-color: rgba(255, 102, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 102, 0, 0.08);
    transform: translateY(-6px);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--orange);
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 30px rgba(255, 102, 0, 0.4);
    transition: filter 0.3s ease;
}

.stat-card:hover .stat-number {
    filter: drop-shadow(0 0 12px var(--orange-glow));
}

.stat-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-category-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stat-number { font-size: 2.5rem; }
}

/* ===== ENHANCED FOOTER ===== */
footer {
    padding-bottom: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-top: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--dark-border);
}

.footer-tagline {
    font-size: 0.95rem;
    color: #555;
    max-width: 280px;
    line-height: 1.7;
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-text);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--orange);
    transform: translateX(4px);
}

.footer-links a i {
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: #3a3a3a;
}



@media (max-width: 768px) {

    /* ── Global ── */
    section { padding: 4rem 0; }
    .container { padding: 0 1.1rem; }
    .section-title { font-size: clamp(1.75rem, 5vw, 2.2rem); }
    .section-subtext { font-size: 1rem; margin-bottom: 2rem; }

    /* ── Nav ── */
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-actions .btn { display: none; }
    .btn-outline { padding: 0.4rem 1rem !important; font-size: 0.85rem !important; }

    /* ── Hero ── */
    .hero {
        padding-top: 5.5rem;
        min-height: 100svh;
        padding-bottom: 4rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-content { order: 2; }
    .hero-image-wrapper { order: 1; }
    .hero-title { font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.15; }
    .hero-desc { font-size: 1rem; margin: 0 auto 1.75rem; max-width: 90%; }
    .hero-buttons { justify-content: center; gap: 0.75rem; flex-wrap: wrap; }
    .btn { padding: 0.9rem 1.75rem; font-size: 0.95rem; }
    .trust-badges-hero { justify-content: center; gap: 0.6rem; margin-top: 0.75rem; }
    .trust-badge-item { font-size: 0.82rem; }
    .image-box { max-width: 280px; margin: 0 auto; }
    .scroll-indicator { display: none; }

    /* ── Hero image area ── */
    .image-box-orbit-wrapper { max-width: 260px; margin: 0 auto; }

    /* ── Stats ── */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
    .stat-card { padding: 1.75rem 0.85rem; }
    .stat-number { font-size: 2.2rem; }
    .stat-label { font-size: 0.8rem; letter-spacing: 1px; }

    /* ── Services ── */
    .services-category-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .service-category-card { padding: 1.75rem 1.25rem; }

    /* ── Authority / Bio ── */
    .authority-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .authority-image { max-width: 260px; margin: 0 auto; }
    .auth-name { font-size: 1.85rem; }
    .highlight-box { text-align: left; }
    .authority-content p { font-size: 1rem; }

    /* ── Cards / Process ── */
    .cards-grid-3 { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
    .premium-card, .process-card { padding: 2rem 1.5rem; }
    .card-icon { width: 54px; height: 54px; font-size: 1.75rem; margin-bottom: 1.25rem; }
    .connecting-line { display: none; }

    /* ── Problems ── */
    .problems-grid { grid-template-columns: 1fr; gap: 2rem; }
    .floating-element { padding: 2.5rem 1.5rem; }
    .floating-element > i.ph-fill { font-size: 3.5rem; }
    .problems-text { padding: 2rem !important; }

    /* ── Testimonials ── */
    .featured-testimonial { padding: 2rem 1.25rem; margin-bottom: 2rem; }
    .featured-testimonial h3 { font-size: 1.35rem; }
    .featured-testimonial p { font-size: 1rem; }
    .mini-test { min-width: 260px; padding: 1.5rem; }
    .testimonial-slider-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .testimonial-slider { flex-wrap: nowrap; min-width: max-content; }
    .testimony-card { min-width: 260px; max-width: 82vw; }

    /* ── Loss Framing ── */
    .loss-framing .cards-grid-3 { grid-template-columns: 1fr; gap: 1.25rem; }

    /* ── CTA ── */
    .cta-section { padding: 4rem 0; }
    .cta-section .section-title { font-size: clamp(1.6rem, 5vw, 2rem) !important; }
    .cta-section .btn-dark {
        font-size: 1rem !important;
        padding: 1rem 2rem !important;
        width: 100%;
        max-width: 340px;
    }
    .cta-text { font-size: 1rem !important; }

    /* ── Footer ── */
    .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; padding-top: 2.5rem; padding-bottom: 1.75rem; }
    .footer-tagline { max-width: 100%; }

    /* ── Back to Top ── */
    .back-to-top { bottom: 1rem; right: 1rem; width: 44px; height: 44px; font-size: 1.25rem; }

    /* ── Hide visual noise ── */
    .amazon-box-wrapper { display: none; }
    .geo-ring { display: none; }
    .glow-orb { opacity: 0 !important; }
    .highlight-bg::before { opacity: 0.3 !important; }

    /* ── Mobile menu ── */
    .mobile-link { font-size: 2rem; }
}

@media (max-width: 480px) {

    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.75rem; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .stat-number { font-size: 2rem; letter-spacing: -1px; }
    .stat-card { padding: 1.5rem 0.75rem; }

    .featured-testimonial { padding: 2.5rem 1.5rem; }
    .featured-testimonial h3 { font-size: 1.3rem; }

    .badge { font-size: 0.75rem; letter-spacing: 1.5px; }

    .hero-buttons .btn { width: 100%; justify-content: center; }

    .cta-section .section-title { font-size: 1.85rem; }

    .hero-desc { font-size: 1rem; }

    .card-icon { width: 56px; height: 56px; font-size: 1.75rem; }

    /* Hide orbit rings & geo rings on mobile */
    .geo-ring, .orbit-ring { display: none; }
}

/* ============================================
   MOTION & 3D ENHANCEMENT LAYER
   ============================================ */

/* ---- Canvas Particle System ---- */
#hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ---- 3D Geometric Rings (Hero) ---- */
.geo-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: ringBreath 8s ease-in-out infinite;
}
.ring-1 {
    width: 420px; height: 420px;
    right: 12%; top: 50%;
    border: 1px solid rgba(255, 102, 0, 0.18);
    transform: translateY(-50%) rotateX(65deg);
    animation-delay: 0s;
}
.ring-2 {
    width: 620px; height: 620px;
    right: 7%; top: 50%;
    border: 1px solid rgba(255, 102, 0, 0.09);
    transform: translateY(-50%) rotateX(65deg);
    animation-delay: -2.5s;
}
.ring-3 {
    width: 820px; height: 820px;
    right: 2%; top: 50%;
    border: 1px solid rgba(255, 102, 0, 0.04);
    transform: translateY(-50%) rotateX(65deg);
    animation-delay: -5s;
}
@keyframes ringBreath {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1; }
}

/* ---- Orbit Rings around Founder Photo ---- */
.image-box-orbit-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.orbit-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.orbit-ring-1 {
    width: 115%; height: 115%;
    border: 1px dashed rgba(255, 102, 0, 0.35);
    animation: orbitSpin 22s linear infinite;
}
.orbit-ring-2 {
    width: 135%; height: 135%;
    border: 1px dashed rgba(255, 102, 0, 0.15);
    animation: orbitSpin 35s linear infinite reverse;
}
@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ---- Floating Dots in dark sections ---- */
.floating-dots-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.floating-dot {
    position: absolute;
    width: 4px; height: 4px;
    background: var(--orange);
    border-radius: 50%;
    filter: blur(1px);
    animation: dotFloat var(--dur, 9s) ease-in-out infinite var(--del, 0s);
}
@keyframes dotFloat {
    0%, 100% { transform: translateY(0)   translateX(0)    scale(1);   opacity: 0.25; }
    33%       { transform: translateY(-70px) translateX(25px)  scale(1.6); opacity: 0.6; }
    66%       { transform: translateY(-35px) translateX(-20px) scale(0.7); opacity: 0.15; }
}

/* ---- Button Glow Pulse (primary) ---- */
@keyframes btnGlowPulse {
    0%, 100% {
        box-shadow: 0 10px 30px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,0.3);
    }
    50% {
        box-shadow: 0 10px 55px rgba(255,102,0,0.75), inset 0 1px 0 rgba(255,255,255,0.5),
                    0 0 0 6px rgba(255,102,0,0.1);
    }
}
.btn-primary {
    animation: btnGlowPulse 3s ease-in-out infinite;
}

/* ---- Sheen Sweep on btn-dark (CTA) ---- */
.btn-dark::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    z-index: 2;
}
.btn-dark:hover::before { left: 160%; }

/* ---- Service Card Interactive Hover (VanillaTilt-compatible) ---- */
/* NOTE: overflow must stay 'visible' so VanillaTilt glare isn't clipped */
.service-category-card {
    /* No overflow: hidden — VanillaTilt needs this */
    clip-path: none;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.service-category-card:hover {
    border-color: rgba(255, 102, 0, 0.3);
    box-shadow:
        0 0 0 1px rgba(255,102,0,0.1),
        0 20px 40px rgba(0,0,0,0.4),
        0 0 25px rgba(255,102,0,0.08);
    transform: translateY(-6px);
}
/* Orange top accent bar that appears on hover via box-shadow trick */
.service-category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}
.service-category-card:hover::before { opacity: 1; }
/* Mobile touch active state */
.service-category-card:active {
    border-color: rgba(255, 102, 0, 0.7);
    box-shadow: 0 0 0 2px rgba(255,102,0,0.3), 0 10px 30px rgba(0,0,0,0.4);
    transform: scale(0.98);
}

/* ---- Section title animated underline (dark sections) ---- */
.dark-section .section-header .section-title::after,
.dark-section > .container > .section-title::after {
    content: '';
    display: block;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--orange), #ff3b00);
    border-radius: 2px;
    margin-top: 0.6rem;
    animation: titleBar 1.2s 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes titleBar {
    to { width: 72px; }
}

/* ---- Scroll-from-left / scroll-from-right variants ---- */
.animate-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
                transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.animate-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
                transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.animate-left.visible,
.animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---- Card depth — let VanillaTilt handle transform-style and perspective ---- */
/* Do NOT set perspective or transform-style here — VanillaTilt manages those */
.premium-card, .process-card {
    transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.premium-card:hover, .process-card:hover {
    box-shadow:
        0 0 0 1px rgba(255,102,0,0.2),
        0 30px 60px rgba(0,0,0,0.1),
        0 0 30px rgba(255,102,0,0.06);
    border-color: rgba(255, 102, 0, 0.25);
}
/* Orange top-line on light cards */
.premium-card::before, .process-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange) 50%, transparent);
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}
.premium-card:hover::before, .process-card:hover::before { opacity: 1; }
/* Mobile touch pulse */
.premium-card:active, .process-card:active {
    transform: scale(0.97);
    box-shadow: 0 0 0 2px rgba(255,102,0,0.25), 0 10px 25px rgba(0,0,0,0.08);
}

/* ---- Stat card number scale on section entry ---- */
.stat-card.visible .stat-number {
    animation: numPop 0.5s 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes numPop {
    from { transform: scale(0.7); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

/* ---- Floating authority image shadow pulse ---- */
.authority-image {
    animation: authorityPulse 6s ease-in-out infinite;
}
@keyframes authorityPulse {
    0%, 100% { filter: drop-shadow(0 30px 40px rgba(255,102,0,0.12)); }
    50%       { filter: drop-shadow(0 30px 60px rgba(255,102,0,0.28)); }
}

/* ---- Featured testimonial shimmer border ---- */
@keyframes borderGlow {
    0%, 100% { border-color: rgba(255,102,0,0.2); }
    50%       { border-color: rgba(255,102,0,0.55); box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 30px rgba(255,102,0,0.15), inset 0 0 40px rgba(255,102,0,0.07); }
}
.featured-testimonial {
    animation: borderGlow 5s ease-in-out infinite;
}

/* ---- Hero content parallax wrapper ---- */
.hero-content,
.hero-image-wrapper {
    will-change: transform;
    transition: transform 0.12s linear;
}

/* ---- Animated gradient on orange CTA bg ---- */
@keyframes ctaGradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.orange-bg {
    background: linear-gradient(135deg, #ff6600, #ff4400, #ff8000, #ff6600);
    background-size: 300% 300%;
    animation: ctaGradientShift 8s ease infinite;
}

/* ---- Floating element (Audit card) continuous float ---- */
.floating-element.interactive-card {
    animation: cardFloat 6s ease-in-out infinite;
}
@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}
.floating-element.interactive-card:hover {
    animation-play-state: paused;
}

/* ---- Mini testimonial card hover ---- */
.mini-test {
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
}
.mini-test:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(255, 102, 0, 0.35);
    box-shadow: 0 15px 35px rgba(0,0,0,0.45), 0 0 20px rgba(255,102,0,0.08);
}
.mini-test:active {
    transform: scale(0.98);
}

/* ---- Stat card hover (VanillaTilt handles tilt, we add glow) ---- */
.stat-card {
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.stat-card:hover {
    border-color: rgba(255, 102, 0, 0.4);
    box-shadow:
        0 0 0 1px rgba(255,102,0,0.2),
        0 20px 40px rgba(0,0,0,0.4),
        0 0 25px rgba(255,102,0,0.1);
}
.stat-card:active {
    transform: scale(0.97);
    border-color: rgba(255, 102, 0, 0.6);
}

/* ---- Process card step number highlight on hover ---- */
.process-card:hover .step-num {
    color: var(--orange) !important;
    transition: color 0.4s ease;
}

/* ======================================================
   TOUCH / MOBILE CARD INTERACTIVITY  
   (VanillaTilt is disabled on mobile — pure CSS fallback)
   ====================================================== */
@media (max-width: 768px) {

    /* Disable tilt pointer-events artifacts */
    .js-tilt-glare { display: none !important; }

    /* Service category cards — touch-first interaction */
    .service-category-card {
        transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
        cursor: pointer;
    }
    .service-category-card:active {
        border-color: rgba(255, 102, 0, 0.65);
        box-shadow: 0 0 0 2px rgba(255,102,0,0.3), 0 8px 24px rgba(0,0,0,0.4);
        transform: scale(0.975);
    }

    /* Premium & Process cards */
    .premium-card:active, .process-card:active {
        border-color: rgba(255, 102, 0, 0.35);
        box-shadow: 0 0 0 2px rgba(255,102,0,0.2), 0 8px 20px rgba(0,0,0,0.1);
        transform: scale(0.975);
    }

    /* Stat cards */
    .stat-card:active {
        border-color: rgba(255, 102, 0, 0.55);
        transform: scale(0.96);
    }

    /* Mini test */
    .mini-test:active { transform: scale(0.97); }

    /* Boost card tap-area padding slightly */
    .service-category-card,
    .premium-card,
    .process-card { cursor: pointer; -webkit-tap-highlight-color: transparent; }

    /* The floating audit card should NOT float on mobile */
    .floating-element.interactive-card {
        animation: none;
    }
}

/* ======================================================
   AI CHAT WIDGET — REDESIGNED
   ====================================================== */

/* Floating trigger button */
.ai-chat-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #ff6600 0%, #cc3300 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow:
        0 8px 24px rgba(255, 102, 0, 0.45),
        0 0 0 3px rgba(255, 102, 0, 0.15),
        inset 0 2px 4px rgba(255,255,255,0.25);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.3s ease;
    animation: chatBtnPulse 4s ease-in-out infinite;
}
@keyframes chatBtnPulse {
    0%,100% { box-shadow: 0 8px 24px rgba(255,102,0,0.45), 0 0 0 3px rgba(255,102,0,0.15), inset 0 2px 4px rgba(255,255,255,0.25); }
    50%      { box-shadow: 0 8px 30px rgba(255,102,0,0.6),  0 0 0 8px rgba(255,102,0,0.08), inset 0 2px 4px rgba(255,255,255,0.25); }
}
.ai-chat-btn:hover {
    transform: scale(1.12) rotate(8deg);
    box-shadow: 0 14px 35px rgba(255, 102, 0, 0.65), 0 0 0 4px rgba(255,102,0,0.2), inset 0 2px 4px rgba(255,255,255,0.3);
    animation-play-state: paused;
}

/* Chat popup window */
.ai-chat-window {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    width: 360px;
    max-height: 520px;
    background: #0f0f0f;
    border: 1px solid rgba(255, 102, 0, 0.25);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 25px 60px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.03),
        0 0 50px rgba(255,102,0,0.08);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.93);
    transform-origin: bottom right;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
.ai-chat-window.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header */
.chat-header {
    background: linear-gradient(135deg,
        rgba(255,102,0,0.18) 0%,
        rgba(255,60,0,0.08) 50%,
        transparent 100%);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.chat-title {
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-size: 1rem;
}
.chat-title i {
    color: var(--orange);
    font-size: 1.25rem;
    filter: drop-shadow(0 0 6px rgba(255,102,0,0.6));
}
/* Online dot */
.chat-title::after {
    content: '';
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(34,197,94,0.7);
    margin-left: 2px;
    animation: onlinePulse 2s ease-in-out infinite;
}
@keyframes onlinePulse {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.5; }
}
.close-chat {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #aaa;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.close-chat:hover {
    background: rgba(255,102,0,0.2);
    border-color: rgba(255,102,0,0.4);
    color: #fff;
    transform: rotate(90deg);
}

/* Message area */
.chat-messages {
    flex: 1;
    min-height: 0;
    max-height: 320px;
    padding: 1.1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,102,0,0.35) transparent;
    background:
        linear-gradient(180deg, rgba(255,102,0,0.02) 0%, transparent 30%);
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255,102,0,0.3);
    border-radius: 4px;
}

.message {
    max-width: 82%;
    padding: 0.7rem 1rem;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: messageIn 0.28s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes messageIn {
    from { opacity: 0; transform: translateY(8px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.message.ai {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    color: #ddd;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.message.user {
    background: linear-gradient(135deg, rgba(255,102,0,0.2), rgba(204,51,0,0.15));
    border: 1px solid rgba(255,102,0,0.3);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* Input area */
.chat-input-area {
    padding: 0.85rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    gap: 0.6rem;
    align-items: center;
    background: rgba(0,0,0,0.35);
    flex-shrink: 0;
}
.chat-input-area input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 24px;
    padding: 0.65rem 1.1rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.chat-input-area input:focus {
    outline: none;
    border-color: rgba(255,102,0,0.5);
    background: rgba(255,255,255,0.07);
}
.chat-input-area input::placeholder {
    color: rgba(255,255,255,0.25);
    font-size: 0.85rem;
}
.send-btn {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6600, #cc3300);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(255,102,0,0.35);
    transition: transform 0.2s cubic-bezier(0.175,0.885,0.32,1.275),
                box-shadow 0.2s ease;
}
.send-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 18px rgba(255,102,0,0.55);
}
.send-btn:active { transform: scale(0.95); }

/* Responsive */
@media (max-width: 480px) {
    .ai-chat-window {
        width: calc(100% - 2rem);
        right: 1rem;
        bottom: 5rem;
        max-height: 70vh;
    }
    .ai-chat-btn {
        right: 1rem;
        bottom: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ======================================================
   SECRET AI ADMIN PANEL (HIDDEN)
   ====================================================== */

.ai-admin-panel {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ai-admin-panel.open {
    opacity: 1;
    visibility: visible;
}

.admin-content {
    width: 90%;
    max-width: 500px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(255,102,0,0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-admin-panel.open .admin-content {
    transform: scale(1) translateY(0);
}

.admin-header {
    background: linear-gradient(90deg, rgba(255,102,0,0.15) 0%, transparent 100%);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-header h3 {
    font-size: 1.2rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.admin-header h3 i {
    color: var(--orange);
}

#closeAdminBtn {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}
#closeAdminBtn:hover { color: #fff; }

.admin-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.admin-form label {
    display: block;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.admin-form input,
.admin-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    transition: border-color 0.2s ease;
    resize: vertical;
}

.admin-form input:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: rgba(255, 102, 0, 0.5);
}

.admin-list-section h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
}

.training-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.training-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 1rem;
    position: relative;
}

.training-item .keyword {
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.training-item .response {
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.4;
}

.training-item .delete-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}
.training-item .delete-btn:hover {
    background: rgba(255, 0, 0, 0.2);
}

/* ================================================================
   RESPONSIVE / MOBILE STYLES
   All breakpoints in one place for maintainability
   ================================================================ */

/* --- Tablet 768px (admin panel context - kept minimal, main site handled above) --- */
@media (max-width: 768px) {
    /* AI Chat */
    .ai-chat-window {
        width: calc(100vw - 2rem);
        right: 1rem;
        bottom: 5rem;
    }
    /* AI chat button */
    .ai-chat-btn { right: 1rem; bottom: 1rem; width: 52px; height: 52px; font-size: 1.5rem; }

    /* Modal */
    .modal-content { padding: 1.5rem !important; margin: 1rem; width: calc(100% - 2rem) !important; max-width: 100% !important; }
}

/* --- Small phones: 480px --- */
@media (max-width: 480px) {
    .hero-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .stat-number { font-size: 2rem; }
    .btn { padding: 0.75rem 1.5rem; font-size: 0.95rem; }
    .hero-buttons { gap: 0.75rem; }
    .badge { font-size: 0.75rem; padding: 0.3rem 0.85rem; }
    .premium-card, .process-card { padding: 2rem 1.25rem; }
    .service-category-card { padding: 1.5rem 1.25rem; }
    .featured-testimonial { padding: 1.5rem 1rem; }
    .cta-section a, .btn-dark { 
        font-size: 1rem !important;
        padding: 0.9rem 2rem !important;
    }
}

/* Admin panel preview iframe overrides for responsive testing */
.preview-iframe.mobile-view .mobile-menu { display: none; }

/* =====================================================
   EXTRA 3D FLOATING SHAPES — MOTION LAYER
   ===================================================== */

/* --- Base for all floating shapes --- */
.float-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

/* === Diamond (rotated square) === */
.shape-diamond {
    width: 18px; height: 18px;
    background: linear-gradient(135deg, rgba(255,102,0,0.55), rgba(255,60,0,0.25));
    transform: rotate(45deg) translateZ(0);
    box-shadow: 0 0 12px rgba(255,102,0,0.3);
    border: 1px solid rgba(255,102,0,0.4);
    border-radius: 3px;
    animation: shapeDrift var(--sd, 9s) ease-in-out infinite var(--sdd, 0s);
}
.shape-diamond.sm { width: 10px; height: 10px; }
.shape-diamond.lg { width: 26px; height: 26px; }

/* === Hex plane (hexagon) === */
.shape-hex {
    width: 22px; height: 25px;
    background: rgba(255,102,0,0.12);
    border: 1px solid rgba(255,102,0,0.3);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: shapeDrift var(--sd, 11s) ease-in-out infinite var(--sdd, 0s);
}

/* === Ring / Circle === */
.shape-ring {
    width: 28px; height: 28px;
    border: 2px solid rgba(255,102,0,0.35);
    border-radius: 50%;
    animation: shapeDrift var(--sd, 13s) ease-in-out infinite var(--sdd, 0s);
    box-shadow: 0 0 8px rgba(255,102,0,0.15);
}
.shape-ring.sm { width: 16px; height: 16px; }

/* === Cross (+) accent === */
.shape-cross {
    width: 16px; height: 16px;
    position: absolute;
    pointer-events: none;
    animation: shapeDrift var(--sd, 10s) ease-in-out infinite var(--sdd, 0s);
}
.shape-cross::before,
.shape-cross::after {
    content: '';
    position: absolute;
    background: rgba(255,102,0,0.4);
    border-radius: 2px;
}
.shape-cross::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.shape-cross::after  { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }

/* === Dot cluster === */
.shape-dot {
    width: 5px; height: 5px;
    background: var(--orange);
    border-radius: 50%;
    opacity: 0.45;
    filter: blur(0.5px);
    animation: shapeDrift var(--sd, 8s) ease-in-out infinite var(--sdd, 0s);
}

/* === Shared drift animation === */
@keyframes shapeDrift {
    0%,100% { transform: translateY(0px)   rotate(0deg)   scale(1);   opacity: 0.55; }
    33%      { transform: translateY(-22px) rotate(25deg)  scale(1.15); opacity: 0.85; }
    66%      { transform: translateY(-10px) rotate(-15deg) scale(0.88); opacity: 0.35; }
}

/* Specific positions for shapes added to sections */
/* --- Stats section --- */
.stats-section .float-shape:nth-child(1) { top: 10%; left: 8%; --sd: 11s; --sdd: 0s; }
.stats-section .float-shape:nth-child(2) { top: 20%; right: 6%; --sd: 8s;  --sdd: -3s; }
.stats-section .float-shape:nth-child(3) { bottom: 15%; left: 20%; --sd: 14s; --sdd: -5s; }
.stats-section .float-shape:nth-child(4) { bottom: 10%; right: 15%; --sd: 10s; --sdd: -2s; }

/* --- Authority section --- */
.authority .float-shape:nth-child(1) { top: 8%; right: 5%; --sd: 9s; --sdd: 0s; }
.authority .float-shape:nth-child(2) { bottom: 12%; left: 4%; --sd: 12s; --sdd: -4s; }

/* --- How-we-help section --- */
.how-we-help .float-shape:nth-child(1) { top: 6%; left: 6%; --sd: 10s; --sdd: 0s; }
.how-we-help .float-shape:nth-child(2) { top: 6%; right: 4%; --sd: 13s; --sdd: -2s; }

/* --- Testimonials section --- */
.testimonials .float-shape:nth-child(1) { top: 5%; left: 3%;  --sd: 9s;  --sdd: 0s; }
.testimonials .float-shape:nth-child(2) { top: 5%; right: 3%; --sd: 11s; --sdd: -3s; }

/* --- Process section --- */
.process .float-shape:nth-child(1) { bottom: 8%; right: 5%; --sd: 10s; --sdd: 0s; }
.process .float-shape:nth-child(2) { top: 8%; left: 3%;     --sd: 14s; --sdd: -6s; }

@media (max-width: 768px) {
    .float-shape { display: none; }
}


/* Premium Footer Styling */
.premium-footer {
    position: relative;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(to bottom, var(--dark-bg, #000), #050505);
    overflow: hidden;
}
.footer-grid-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}
.premium-footer .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-icon:hover {
    background: var(--orange);
    color: #000;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}
.footer-heading {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}
.footer-nav a:hover {
    color: var(--orange);
    transform: translateX(5px);
}
.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    transition: opacity 0.2s;
}
.footer-contact-link:hover { opacity: 0.8; }
.portal-access-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
}
.portal-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    width: 100%;
    margin-bottom: 0.5rem;
    box-sizing: border-box;
}
.portal-btn.client-portal {
    background: rgba(255, 107, 0, 0.1);
    color: var(--orange);
    border: 1px solid rgba(255, 107, 0, 0.2);
}
.portal-btn.client-portal:hover {
    background: var(--orange);
    color: #000;
}
.portal-btn.staff-portal {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
}
.portal-btn.staff-portal:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}
.footer-legal {
    display: flex;
    gap: 1.5rem;
}
.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover { color: #fff; }

@media (max-width: 900px) {
    .premium-footer .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .premium-footer .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* --- LATEST AUDIO FEEDBACK OVERRIDES --- */
.hero-title, 
.section-title {
    text-shadow: 0 0 15px rgba(255,102,0,0.5);
}
.stat-number {
    text-shadow: 0 0 20px rgba(255,102,0,0.8), 0 0 40px rgba(255,102,0,0.6) !important;
    color: var(--orange);
}
.premium-card:hover h3, .process-card:hover h3, .service-category-card:hover h3, .pain-card:hover h3 {
    text-shadow: 0 0 15px rgba(255,102,0,0.8);
    color: var(--orange) !important;
}
.auth-name, .highlight-line {
    text-shadow: 0 0 15px rgba(255,102,0,0.4);
}
.scroll-indicator p {
    text-shadow: 0 0 10px rgba(255,102,0,0.7);
    color: var(--orange);
}

/* Amazon Box Realistic Colors */
:root {
    --cb-front:  #C89461;
    --cb-side:   #B88350;
    --cb-top:    #D9A572;
    --cb-bottom: #946C43;
    --cb-back:   #B88350;
    --amz-smile: #232F3E;
    --amz-tape:  #192A3A;
    --cb-tape:   #192A3A;
}
.amazon-box .face.front::before { color: #232F3E; }
.amazon-box .face.front .tape { background: #111 !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='20'%3E%3Ctext x='4' y='14' font-family='Arial, sans-serif' font-weight='900' font-size='10' fill='%2300a8e1' font-style='italic' letter-spacing='-0.5'%3Eprime%3C/text%3E%3C/svg%3E") !important; background-repeat: repeat-y !important; }
.amazon-box .face.top::before {
    background: #111 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='20'%3E%3Ctext x='4' y='14' font-family='Arial, sans-serif' font-weight='900' font-size='10' fill='%2300a8e1' font-style='italic' letter-spacing='-0.5'%3Eprime%3C/text%3E%3C/svg%3E") !important;
    background-repeat: repeat-x !important;
    border-top: 1px solid rgba(0,0,0,0.4) !important;
    border-bottom: 1px solid rgba(0,0,0,0.4) !important;
}

/* Footer Fixes */
.premium-footer {
    background: #020202 !important;
    border-top: 1px solid #1a1a1e !important;
}
.premium-footer .footer-contact-link,
.premium-footer .footer-nav a {
    color: #aaa;
}
.premium-footer .footer-heading {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.1);
}

/* Catalog Theme Enhancements */
.orange-bg {
    background: linear-gradient(135deg, #ff6600 0%, #e55a00 100%) !important;
    color: #fff !important;
    border: none !important;
}

/* Orange section headings: white text for maximum legibility */
.orange-bg h2 {
    color: #fff !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3) !important;
}
.orange-bg h2 span {
    color: #fff !important;
    text-shadow: 0 2px 30px rgba(0,0,0,0.4) !important;
}
.orange-bg > .cat-container > .cat-header p {
    color: rgba(255,255,255,0.85) !important;
}

/* Error terminal on orange: keeps its own dark look — readable now */
.orange-bg .error-terminal {
    background: #0d0d0f !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5) !important;
}
.orange-bg .term-header {
    background: rgba(255,255,255,0.05) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.orange-bg .term-title { color: rgba(255,255,255,0.6) !important; }
.orange-bg .error-line { color: #ff5f56 !important; }
.orange-bg .error-line span.time { color: rgba(255,255,255,0.5) !important; }
.orange-bg .error-line span.code { color: #ff5f56 !important; font-weight: 900; }
.orange-bg .error-line span.msg  { color: #fff !important; }
.orange-bg .error-log-item { border-bottom: 1px solid rgba(255,255,255,0.06) !important; }
.orange-bg .error-log-item:hover { background: rgba(255,255,255,0.03); }
.orange-bg .error-details {
    background: rgba(255,255,255,0.04) !important;
    border-left: 3px solid #ff6600 !important;
}
.orange-bg .err-detail-row { color: rgba(255,255,255,0.8) !important; }
.orange-bg .err-detail-row strong { color: #ff9f4a !important; }

/* FAQ on orange (if ever used) */
.orange-bg .faq-q { color: #fff !important; border-top: 1px solid rgba(255,255,255,0.15); }
.orange-bg .faq-a { color: rgba(255,255,255,0.8) !important; }

/* FAQ standalone orange section */
.faq-orange {
    background: linear-gradient(135deg, #ff6600 0%, #e55a00 100%) !important;
}
.faq-orange h2 { color: #fff !important; text-shadow: 0 2px 20px rgba(0,0,0,0.3) !important; }
.faq-orange h2 span { color: #fff !important; }
.faq-orange .faq-list { border-top: 1px solid rgba(255,255,255,0.2); }
.faq-orange .faq-item { border-bottom: 1px solid rgba(255,255,255,0.15) !important; }
.faq-orange .faq-q {
    color: #fff !important;
    font-weight: 700;
    padding: 1.5rem 0;
}
.faq-orange .faq-q i { color: #fff !important; }
.faq-orange .faq-a { color: rgba(255,255,255,0.85) !important; }

/* =========================================================
   ULTRA-REALISTIC RECTANGULAR AMAZON BOX OVERRIDES
========================================================= */

/* Overriding Palette for exact Cardboard match */
:root {
    --cb-front:  #c08f4f;
    --cb-side:   #a87a3e;
    --cb-top:    #dfb074;
    --cb-bottom: #926932;
    --cb-back:   #b8884a;
}

/* Redefining geometry: W:60px, H:40px, D:50px */
.amazon-box {
    width: 60px !important;
    height: 40px !important;
    transform: scale(var(--box-scale, 1));
}
@keyframes amzSpin {
    from { transform: scale(var(--box-scale, 1)) rotateX(-20deg) rotateY(0deg); }
    to   { transform: scale(var(--box-scale, 1)) rotateX(-20deg) rotateY(360deg); }
}
@keyframes amzSpinRev {
    from { transform: scale(var(--box-scale, 1)) rotateX(-20deg) rotateY(0deg); }
    to   { transform: scale(var(--box-scale, 1)) rotateX(-20deg) rotateY(-360deg); }
}

/* Scaling variables for wrappers instead of --hd */
.w-hero-1 .amazon-box { --box-scale: 0.9; }
.w-hero-2 .amazon-box { --box-scale: 0.7; }
.w-small-1 .amazon-box { --box-scale: 0.6; }
.w-small-2 .amazon-box { --box-scale: 0.5; }
.w-small-3 .amazon-box { --box-scale: 0.55; }
.w-small-4 .amazon-box { --box-scale: 0.45; }

/* Face dimensions and Quality Rendering */
.amazon-box .face {
    box-shadow: inset 0 0 10px rgba(0,0,0,0.15) !important; 
    border: 1px solid rgba(0,0,0,0.12) !important;
    border-radius: 1px !important;
}
.amazon-box .face.front, .amazon-box .face.back {
    width: 60px !important; height: 40px !important;
}
.amazon-box .face.left, .amazon-box .face.right {
    width: 50px !important; height: 40px !important;
    left: 5px !important; /* (60 - 50)/2 */
}
.amazon-box .face.top, .amazon-box .face.bottom {
    width: 60px !important; height: 50px !important;
    top: -5px !important; /* (40 - 50)/2 */
}

/* Face transforms overridden completely */
.amazon-box .face.front  { transform: rotateY(0deg) translateZ(25px) !important; }
.amazon-box .face.back   { transform: rotateY(180deg) translateZ(25px) !important; }
.amazon-box .face.right  { transform: rotateY(90deg) translateZ(30px) !important; }
.amazon-box .face.left   { transform: rotateY(-90deg) translateZ(30px) !important; }
.amazon-box .face.top    { transform: rotateX(90deg) translateZ(20px) !important; }
.amazon-box .face.bottom { transform: rotateX(-90deg) translateZ(20px) !important; }

/* Premium Quality Anti-Aliased Tape Renderings */
.amazon-box .face.top::before {
    top: 35% !important;
    left: -5% !important;
    width: 110% !important;
    height: 30% !important;
    content: '' !important;
    background-color: #111 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='30'%3E%3Ctext x='15' y='21' font-family='Arial, sans-serif' font-weight='900' font-size='16' fill='%2300a8e1' font-style='italic' letter-spacing='-0.5'%3Eprime%3C/text%3E%3C/svg%3E") !important;
    background-size: 30px 12px !important;
    background-repeat: repeat-x !important;
    background-position: center !important;
    border-top: 1px solid rgba(255,255,255,0.15) !important; 
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
}

.amazon-box .face.front .tape {
    width: 25% !important;
    background-color: #111 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='80'%3E%3Ctext x='-65' y='21' font-family='Arial, sans-serif' font-weight='900' font-size='16' fill='%2300a8e1' font-style='italic' transform='rotate(-90)' letter-spacing='-0.5'%3Eprime%3C/text%3E%3C/svg%3E") !important;
    background-size: 15px 40px !important;
    background-repeat: repeat-y !important;
    background-position: center !important;
    display: block !important;
}
.amazon-box .face.front .tape::after {
    display: none !important;
}

/* Ensure smile centers correctly and looks premium */
.amazon-box .face.front::after {
    width: 35px !important; height: 12px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10 50 Q 50 80 90 50' stroke='%23000000' stroke-width='10' fill='none' stroke-linecap='round'/%3E%3Cpath d='M85 45 L 95 55 L 85 65' stroke='%23000000' stroke-width='10' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center !important;
    opacity: 0.8 !important;
}
.amazon-box .face.front::before {
    font-size: 8px !important;
    opacity: 0.9 !important;
}


/* =====================================================
   PREMIUM MOTION SYSTEM — GLOBAL ANIMATIONS
   ===================================================== */

/* ─── Scroll-Reveal: Base State ─── */
.will-animate {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
                transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.will-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide from left / right */
.animate-left  { opacity: 0; transform: translateX(-48px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.animate-right { opacity: 0; transform: translateX(48px);  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.animate-left.visible, .animate-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger children (apply to parent wrapper) */
.stagger-children > * { opacity: 0; transform: translateY(24px); transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1), transform 0.55s cubic-bezier(0.16,1,0.3,1); }
.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.0s; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.6s; }
.stagger-children.visible > *:nth-child(8) { opacity: 1; transform: none; transition-delay: 0.7s; }
.stagger-children.visible > *:nth-child(9) { opacity: 1; transform: none; transition-delay: 0.8s; }
.stagger-children.visible > *:nth-child(10){ opacity: 1; transform: none; transition-delay: 0.9s; }
.stagger-children.visible > *:nth-child(n+11){ opacity: 1; transform: none; transition-delay: 1.0s; }

/* ─── Continuous Pulse / Glow ─── */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,102,0,0); }
    50%       { box-shadow: 0 0 24px 8px rgba(255,102,0,0.25); }
}
.pulse-glow { animation: pulseGlow 3s ease-in-out infinite; }

@keyframes pulseGlowText {
    0%, 100% { text-shadow: 0 0 10px rgba(255,102,0,0.4); }
    50%       { text-shadow: 0 0 30px rgba(255,102,0,0.9), 0 0 60px rgba(255,102,0,0.4); }
}
.glow-pulse-text { animation: pulseGlowText 2.5s ease-in-out infinite; }

/* ─── Floating / Levitate ─── */
@keyframes levitate {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}
.levitate { animation: levitate 4s ease-in-out infinite; }
.levitate-slow { animation: levitate 7s ease-in-out infinite; }
.levitate-fast { animation: levitate 2.5s ease-in-out infinite; }

/* ─── Shimmer loading bar sweep ─── */
@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}
.shimmer-line {
    background: linear-gradient(90deg, rgba(255,102,0,0.0) 0%, rgba(255,102,0,0.4) 50%, rgba(255,102,0,0.0) 100%);
    background-size: 600px 100%;
    animation: shimmer 2s infinite;
}

/* ─── Typewriter cursor blink ─── */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.cursor-blink::after { content: '|'; animation: blink 1s step-end infinite; color: var(--orange); }

/* ─── Rotate indefinitely (for icons, arrows) ─── */
@keyframes spinLoop { to { transform: rotate(360deg); } }
.spin-icon { animation: spinLoop 8s linear infinite; }

/* ─── Ripple on click ─── */
@keyframes rippleOut {
    from { transform: scale(0); opacity: 0.6; }
    to   { transform: scale(4); opacity: 0; }
}
.ripple-effect {
    position: relative;
    overflow: hidden;
}
.ripple-effect::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.25);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
}
.ripple-effect:active::after { animation: rippleOut 0.6s ease-out forwards; }

/* ─── Counter number roll ─── */
.stat-number {
    display: inline-block;
    transition: transform 0.1s;
}

/* ─── Section entrance: scale-in from centre ─── */
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}
.scale-in-on-scroll {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.scale-in-on-scroll.visible { opacity: 1; transform: scale(1); }

/* ─── Gradient border animation ─── */
@keyframes borderRotate {
    to { --angle: 360deg; }
}

/* ─── Card hover lift & glow ─── */
.pain-card, .process-step, .proof-card {
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.35s cubic-bezier(0.16,1,0.3,1),
                border-color 0.35s ease !important;
}
.pain-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2), 0 0 30px rgba(255,102,0,0.08) !important;
}
.process-step:hover {
    transform: translateY(-6px) scale(1.01) !important;
    box-shadow: 0 12px 40px rgba(255,102,0,0.15) !important;
}

/* ─── CTA button premium hover ─── */
.cat-btn {
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease !important;
}
.cat-btn:hover {
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 20px 50px rgba(255,102,0,0.5) !important;
}

/* ─── Floating ambient particles (catalog page) ─── */
.cat-particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: catParticleFloat var(--dur, 12s) ease-in-out infinite var(--del, 0s);
    opacity: 0.12;
}
@keyframes catParticleFloat {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(var(--dx1, 30px), var(--dy1, -40px)) scale(1.1); }
    66%  { transform: translate(var(--dx2, -20px), var(--dy2, 20px)) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* ─── Hero section animated gradient border ─── */
.cat-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cat-orange, #ff6600), transparent);
    animation: scanLine 3s ease-in-out infinite;
}
@keyframes scanLine {
    0%   { opacity: 0; transform: scaleX(0); }
    50%  { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(0); }
}

/* ─── Badge pulse ─── */
.cat-badge {
    animation: badgePulse 4s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,102,0,0); }
    50%       { box-shadow: 0 0 20px 6px rgba(255,102,0,0.2); }
}

/* ─── Error log item: slide-in on click ─── */
.error-details {
    transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), 
                opacity 0.3s ease !important;
}

/* ─── FAQ ultra smooth ─── */
.faq-a {
    transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1),
                padding-bottom 0.3s ease,
                opacity 0.3s ease !important;
}
.faq-item:not(.open) .faq-a { opacity: 0; }
.faq-item.open .faq-a { opacity: 1; }

/* Proof items stagger */
.proof-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.proof-card.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Link underline sweep ─── */
.footer-nav a, .nav-links a {
    position: relative;
}
.footer-nav a::after, .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}
.footer-nav a:hover::after, .nav-links a:hover::after {
    width: 100%;
}

/* ─── Scroll progress bar ─── */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6600, #ff9900);
    z-index: 10000;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(255,102,0,0.6);
}

/* =====================================================
   GLOBAL SITE - EXPANDED MOTION SYSTEM
   ===================================================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll.delay-1 { transition-delay: 0.12s; }
.animate-on-scroll.delay-2 { transition-delay: 0.24s; }

@keyframes statFlipIn {
    from { opacity: 0; transform: perspective(600px) rotateX(-50deg) translateY(16px); }
    to   { opacity: 1; transform: perspective(600px) rotateX(0) translateY(0); }
}
.stat-card.visible { animation: statFlipIn 0.6s cubic-bezier(0.16,1,0.3,1) both; }
.stat-card.visible:nth-child(2) { animation-delay: 0.1s; }
.stat-card.visible:nth-child(3) { animation-delay: 0.2s; }
.stat-card.visible:nth-child(4) { animation-delay: 0.3s; }

@keyframes shapeDrift1 { 0%,100% { transform: translate(0,0) rotate(0deg); } 25% { transform: translate(8px,-12px) rotate(5deg); } 75% { transform: translate(-6px,8px) rotate(-4deg); } }
@keyframes shapeDrift2 { 0%,100% { transform: translate(0,0) rotate(0deg); } 33% { transform: translate(-10px,6px) rotate(-6deg); } 66% { transform: translate(7px,-10px) rotate(3deg); } }
.float-shape { animation: shapeDrift1 8s ease-in-out infinite; }
.float-shape:nth-child(2) { animation: shapeDrift2 11s ease-in-out infinite 1s; }
.float-shape:nth-child(3) { animation: shapeDrift1 14s ease-in-out infinite 2s; }

@keyframes orbPulse { 0%,100% { opacity: 0.12; transform: scale(1) translateZ(0); } 50% { opacity: 0.22; transform: scale(1.08) translateZ(0); } }
.glow-orb { animation: orbPulse 6s ease-in-out infinite; }
.glow-orb:nth-child(2) { animation-delay: 3s; }

@keyframes navSlideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.premium-nav { animation: navSlideDown 0.6s cubic-bezier(0.16,1,0.3,1) both; }

@keyframes ctaShimmer { 0% { left: -60%; } 100% { left: 120%; } }
.cta-banner, .srv-cta { position: relative; overflow: hidden; }
.cta-banner::after, .srv-cta::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent); animation: ctaShimmer 4s ease-in-out infinite; }

@keyframes highlightBorder { 0%,100% { border-left-color: rgba(255,102,0,0.3); } 50% { border-left-color: rgba(255,102,0,0.9); } }
.highlight-box { animation: highlightBorder 3s ease-in-out infinite; }

/* Footer fade-in removed to ensure site-wide visibility */
footer .footer-brand, footer .footer-links-group, footer .footer-contact-group {
    opacity: 1; transform: translateY(0);
}

@keyframes cardPopIn { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.srv-card.card-visible { animation: cardPopIn 0.5s cubic-bezier(0.16,1,0.3,1) both; }
.srv-card.card-visible:nth-child(2) { animation-delay: 0.08s; }
.srv-card.card-visible:nth-child(3) { animation-delay: 0.16s; }
.srv-card.card-visible:nth-child(4) { animation-delay: 0.24s; }
.srv-card.card-visible:nth-child(5) { animation-delay: 0.32s; }
.srv-card.card-visible:nth-child(6) { animation-delay: 0.40s; }

.all-srv-item { opacity: 1; transform: translateX(0); transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1), background 0.2s, border-color 0.2s; }
.all-srv-item.srv-visible { opacity: 1; transform: translateX(0); }

.process-step { opacity: 1; transform: translateY(0) scale(1); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.3s; }
.process-step.step-visible { opacity: 1; transform: translateY(0) scale(1); }
.process-step.step-visible:nth-child(2) { transition-delay: 0.1s; }
.process-step.step-visible:nth-child(3) { transition-delay: 0.2s; }
.process-step.step-visible:nth-child(4) { transition-delay: 0.3s; }

@keyframes authReveal { from { opacity: 0; transform: scale(0.92) rotate(-2deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
.authority-image.visible { animation: authReveal 0.8s cubic-bezier(0.16,1,0.3,1) both; }
.typing-indicator {
    display: flex !important;
    align-items: center;
    gap: 5px;
    padding: 12px 16px !important;
    min-width: 52px;
}
.typing-indicator span {
    width: 7px; height: 7px;
    background: rgba(255,102,0,0.8);
    border-radius: 50%;
    display: inline-block;
    animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30%            { transform: translateY(-6px); opacity: 1; }
}

/* --- FOOTER --- */
.premium-footer { background: #f8f9fc; padding: 4rem 0 0; color: #111; position: relative; overflow: hidden; }
.premium-footer.dark-section { 
    background: var(--dark-bg); 
    color: var(--text-muted); 
    border-top: 1px solid var(--dark-border); 
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2rem; padding-bottom: 3rem; position: relative; z-index: 2; }
.footer-heading { 
    font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 1.5rem; 
    color: #fff; 
}
.footer-nav { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: 0.75rem; }
.footer-nav a { 
    color: var(--text-muted); 
    text-decoration: none; font-size: 0.9rem; transition: color 0.2s; 
}
.footer-nav a:hover { color: var(--orange); }
.footer-contact-link { 
    display: flex; align-items: center; gap: 0.5rem; 
    color: var(--text-muted); 
    text-decoration: none; margin-bottom: 2rem; transition: 0.2s;
}
.footer-contact-link:hover { color: var(--orange); }
.portal-access-box { display: flex; flex-direction: column; gap: 0.5rem; }
.portal-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; border-radius: 6px; font-size: 0.85rem; font-weight: 600; text-decoration: none; color: #fff; border: 1px solid var(--dark-border); transition: 0.2s; background: rgba(255,255,255,0.05); }
.portal-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.footer-bottom-bar { 
    border-top: 1px solid var(--dark-border); padding: 1.5rem 0; 
    display: flex; justify-content: space-between; align-items: center; 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    position: relative; z-index: 2;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--text-muted); text-decoration: none; transition: 0.2s; }
.footer-legal a:hover { color: var(--orange); }
.social-icon { color: var(--text-muted); font-size: 1.2rem; transition: 0.2s; }
.social-icon:hover { color: var(--orange); }

.footer-grid-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } .footer-bottom-bar { flex-direction: column; gap: 1rem; text-align: center; } }

/* Contact Split Grid */
.contact-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
@media (max-width: 900px) { .contact-split-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* --- MEGA MENU CSS --- */
.nav-item { position: relative; }
.mega-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: #0a0a0d; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 2rem; display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 2rem; opacity: 0; visibility: hidden; transition: all 0.3s ease; box-shadow: 0 20px 40px rgba(0,0,0,0.8); z-index: 1000; min-width: 800px; }
.nav-item:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-col h4 { color: var(--orange); font-size: 0.9rem; text-transform: uppercase; margin-bottom: 1.5rem; letter-spacing: 1px; display: flex; align-items: center; gap: 0.5rem; }
.mega-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.mega-col ul li a { color: rgba(255, 255, 255, 0.7) !important; font-size: 0.95rem; text-decoration: none; transition: color 0.3s ease; font-weight: 400 !important; }
.mega-col ul li a:hover { color: #fff !important; }
.mega-col ul li a .ph-caret-right { display: none; }
/* Glow Effect */
h2 { text-shadow: 0 0 15px rgba(255, 102, 0, 0.15); transition: text-shadow 0.3s ease; }
h2:hover { text-shadow: 0 0 25px rgba(255, 102, 0, 0.4); }


h2 span { text-shadow: 0 0 20px rgba(255, 102, 0, 0.5); }

/* =====================
   FOOTER — Premium Dark
   ===================== */
.premium-footer { background: #f8f9fc; padding: 4rem 0 0; color: #111; }
.premium-footer.dark-section { 
    background: #020202; 
    color: rgba(255, 255, 255, 0.75); 
    border-top: 1px solid rgba(255,255,255,0.08); 
}
.footer-grid-overlay { display: none; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2rem; padding-bottom: 3rem; }
.footer-heading { font-family: 'Outfit'; font-size: 1.1rem; margin-bottom: 1.5rem; color: #fff !important; }
.footer-nav { list-style: none; padding: 0.5rem 0; }
.footer-nav li { margin-bottom: 0.75rem; }

/* High-specificity overrides to ensure visibility */
.premium-footer .footer-nav a,
.premium-footer .footer-contact-link,
.premium-footer .social-icon,
.premium-footer .footer-legal a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.premium-footer .footer-nav a:hover,
.premium-footer .footer-contact-link:hover,
.premium-footer .social-icon:hover,
.premium-footer .footer-legal a:hover {
    color: var(--orange) !important;
}

.footer-nav a { font-size: 0.9rem; }
.footer-contact-link { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; }
.portal-access-box { display: flex; flex-direction: column; gap: 0.5rem; }
.portal-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; border-radius: 6px; font-size: 0.85rem; font-weight: 600; text-decoration: none; color: #fff !important; border: 1px solid rgba(255,255,255,0.08); transition: 0.2s; background: rgba(255,255,255,0.05); }
.portal-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.footer-bottom-bar { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 1.5rem; }
.social-icon { font-size: 1.2rem; }

@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } .footer-bottom-bar { flex-direction: column; gap: 1rem; text-align: center; } }


        /* === REAL AMAZON SHIPPING BOX === */
        .amz-scene {
            display: flex; gap: 5rem; justify-content: center; align-items: flex-end;
            margin: 2.5rem 0 2rem; flex-wrap: wrap;
        }
        .amz-box-wrap {
            perspective: 1200px;
        }
        .amz-box-wrap.float-1 { animation: amzFloat1 5s ease-in-out infinite; }
        .amz-box-wrap.float-2 { animation: amzFloat2 6s ease-in-out infinite; }
        .amz-box-wrap.float-3 { animation: amzFloat1 4.5s ease-in-out infinite 0.8s; }
        @keyframes amzFloat1 {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-12px); }
        }
        @keyframes amzFloat2 {
            0%, 100% { transform: translateY(-6px); }
            50% { transform: translateY(8px); }
        }

        /* Mathematically perfect 3D Box Engine */
        .amz-box {
            /* Default dimensions */
            --w: 120px;
            --h: 100px;
            --d: 120px;
            
            width: var(--w);
            height: var(--h);
            position: relative;
            transform-style: preserve-3d;
            /* Negative X rotation so we look DOWN at the top face, not UP from the bottom */
            transform: rotateX(-18deg) rotateY(-38deg);
            transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
            cursor: pointer;
        }
        .amz-box:hover { transform: rotateX(-12deg) rotateY(-22deg) scale(1.06); }
        
        /* Size Modifiers */
        .amz-box.sm { --w: 100px; --h: 80px; --d: 100px; }
        .amz-box.lg { --w: 160px; --h: 135px; --d: 160px; }

        /* Absolute Center Alignment for mathematically perfect 3D sealing */
        .amz-face {
            position: absolute;
            left: 50%;
            top: 50%;
            border: 1px solid rgba(0,0,0,0.1);
        }

        /* 1. FRONT FACE */
        .amz-front {
            width: var(--w); height: var(--h);
            background: linear-gradient(160deg, #C8956A 0%, #B8825A 100%);
            transform: translate(-50%, -50%) translateZ(calc(var(--d) / 2));
            border-radius: 3px;
        }
        /* Blue tape across front */
        .amz-tape {
            position: absolute; top: 0; left: 0; right: 0; height: 18%;
            background: linear-gradient(180deg, #5BA8D4 0%, #4A95C2 100%);
            border-bottom: 1px solid rgba(0,0,0,0.1);
        }
        /* Fold line on front face (simulates cardboard crease) */
        .amz-crease {
            position: absolute; top: 22%; left: 0; right: 0; height: 1px;
            background: rgba(0,0,0,0.08);
        }
        /* Amazon smile SVG */
        .amz-smile {
            position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%);
            width: 70%;
        }

        /* 2. BACK FACE */
        .amz-back {
            width: var(--w); height: var(--h);
            background: #956040;
            transform: translate(-50%, -50%) rotateY(180deg) translateZ(calc(var(--d) / 2));
        }

        /* 3. RIGHT SIDE FACE */
        .amz-side-right {
            width: var(--d); height: var(--h);
            background: linear-gradient(160deg, #A57050 0%, #956040 100%);
            transform: translate(-50%, -50%) rotateY(90deg) translateZ(calc(var(--w) / 2));
            border-radius: 0 3px 3px 0;
        }
        /* Barcode lines on right side face */
        .amz-side-right::before {
            content: '';
            position: absolute; top: 15%; left: 10%; width: 40%; height: 30%;
            border: 1px solid rgba(0,0,0,0.15);
            background: repeating-linear-gradient(90deg, rgba(0,0,0,0.2) 0px, rgba(0,0,0,0.2) 2px, transparent 2px, transparent 5px);
        }

        /* 4. LEFT SIDE FACE */
        .amz-side-left {
            width: var(--d); height: var(--h);
            background: #8A5535;
            transform: translate(-50%, -50%) rotateY(-90deg) translateZ(calc(var(--w) / 2));
        }

        /* 5. TOP FACE */
        .amz-top {
            width: var(--w); height: var(--d);
            background: linear-gradient(135deg, #D4A57A 0%, #C08B62 100%);
            transform: translate(-50%, -50%) rotateX(90deg) translateZ(calc(var(--h) / 2));
            border-radius: 3px 3px 0 0;
        }
        /* Top tape strip */
        .amz-top::after {
            content: '';
            position: absolute; top: 0; left: 50%; transform: translateX(-50%);
            width: 18%; height: 100%;
            background: linear-gradient(180deg, #5BA8D4 0%, #4A95C2 100%);
            opacity: 0.7;
        }

        /* 6. BOTTOM FACE */
        .amz-bottom {
            width: var(--w); height: var(--d);
            background: #603820;
            transform: translate(-50%, -50%) rotateX(-90deg) translateZ(calc(var(--h) / 2));
        }

        /* Drop shadow beneath box */
        .amz-shadow {
            position: absolute;
            bottom: -25px;
            left: 50%;
            transform: translateX(-50%);
            width: 80%;
            height: 25px;
            background: radial-gradient(ellipse, rgba(0,0,0,0.45) 0%, transparent 70%);
            border-radius: 50%;
            filter: blur(5px);
        }
/* Mini Box Modifier */
.amz-box.mini { --w: 50px; --h: 40px; --d: 50px; }
.amz-box.mini-sm { --w: 35px; --h: 30px; --d: 35px; }

@keyframes tumbleSlow {
    0% { transform: rotateX(-15deg) rotateY(0deg) translateY(0); }
    50% { transform: rotateX(-25deg) rotateY(180deg) translateY(-20px); }
    100% { transform: rotateX(-15deg) rotateY(360deg) translateY(0); }
}
@keyframes tumbleReverse {
    0% { transform: rotateX(-20deg) rotateY(360deg) translateY(0); }
    50% { transform: rotateX(-10deg) rotateY(180deg) translateY(20px); }
    100% { transform: rotateX(-20deg) rotateY(0deg) translateY(0); }
}
.floating-amz-box .tumble-1 { animation: tumbleSlow 15s ease-in-out infinite; }
.floating-amz-box .tumble-2 { animation: tumbleReverse 20s ease-in-out infinite; }
.floating-amz-box {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.65;
}
