/* =========================================
   MULTIWISE SOLUTIONS - PROFESSIONAL RESPONSIVE ARCHITECTURE
   High-end UI/UX overrides for mobile and tablet
   ========================================= */

/* --- Tablet & Small Desktop (max-width: 1200px) --- */
@media (max-width: 1200px) {
    .container {
        padding: 0 5vw;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-3col-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* --- Mobile & Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .container-split {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .whyus-left h2 {
        text-align: center;
    }

    .whyus-point {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .intake-grid {
        grid-template-columns: 1fr;
    }

    /* MultiWise Difference Section Refinement */
    #whyus {
        padding: 4rem 1.2rem !important;
    }

    .whyus-left h2 {
        font-size: 2.8rem !important;
        line-height: 1.0 !important;
        margin-bottom: 2.5rem !important;
        text-align: center !important;
    }

    .whyus-right {
        gap: 1rem !important; /* Reduced vertical space between cards */
    }

    .whyus-point {
        background: rgba(15, 15, 20, 0.8) !important; /* Darker, more premium feel */
        backdrop-filter: blur(40px) !important;
        -webkit-backdrop-filter: blur(40px) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important; /* Stronger border */
        border-radius: 28px !important;
        padding: 2rem 1.5rem !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1rem !important;
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5) !important; /* Added depth */
    }


    .wp-icon {
        width: 56px !important;
        height: 56px !important;
        margin-top: 0 !important;
        background: rgba(146, 125, 252, 0.15) !important;
        border: 1px solid rgba(146, 125, 252, 0.3) !important;
        border-radius: 50% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }


    .wp-icon svg {
        width: 22px !important;
        height: 22px !important;
    }

    .wp-content h3 {
        font-size: 1.25rem !important;
        font-weight: 800 !important;
        color: #fff !important;
        margin-bottom: 0.5rem !important;
        letter-spacing: 0.5px !important;
    }


    .wp-content p {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        color: rgba(255, 255, 255, 0.7) !important;
    }

}

/* --- Mobile Optimized Experience (max-width: 768px) --- */
@media (max-width: 768px) {

    /* --- High-Performance Rendering (Fix for Fast Scroll Black-Screen) --- */
    #services,
    #whyus,
    #team,
    #testimonials,
    #portfolio,
    #contact,
    .hero,
    .whyus-point,
    .testi-card-mini,
    .team-card-minimal {
        content-visibility: visible !important; /* Force render to prevent black patches on fast scroll */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translate3d(0, 0, 0); /* Force GPU Acceleration */
        will-change: transform, opacity;
    }

    /* Suppress Desktop-Specific Effects on Touch Devices */
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }


    /* Section Glowing Dividers */
    section {
        position: relative;
    }

    section::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(168, 85, 247, 0.4), transparent);
        box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
        z-index: 10;
        pointer-events: none;
    }

    /* Exclude last section or specific ones if needed */
    footer::before {
        display: none;
    }

    body {
        cursor: auto !important;
    }

    /* Professional Navigation Transformation */
    .segmented-dock {
        width: 90%;
        max-width: 400px;
        padding: 0.5rem 1rem;
        justify-content: space-between;
        top: 15px;
        background: rgba(15, 15, 15, 0.9);
        border-radius: 100px;
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 10001 !important; /* Always on top */
    }

    .segmented-dock img {
        height: 35px !important;
        width: 35px !important;
        background: #fff;
        border-radius: 50%;
        padding: 5px;
        object-fit: contain;
        margin-right: 0 !important;
    }

    .nav-desktop-links {
        display: none !important;
    }

    .nav-hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: transparent;
        border: none;
        width: 30px;
        height: 30px;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 10001;
    }

    .nav-hamburger .bar {
        width: 22px;
        height: 2px;
        background: #fff;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
    }

    .nav-hamburger.is-active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-hamburger.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-hamburger.is-active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Prevent Body Scroll when Menu is Open */
    body.nav-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
    }

    .nav-tray {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #050508;
        display: none !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        padding: 2rem;
        gap: 1.2rem;
        
        /* Explosive Circular Sweep Reveal */
        clip-path: circle(0% at 90% 5%);
        transition: clip-path 0.9s cubic-bezier(0.86, 0, 0.07, 1);
        overflow: hidden;
    }

    .nav-tray.is-active {
        display: flex !important;
        clip-path: circle(150% at 90% 5%);
    }

    /* Massive Creative Watermark */
    .nav-tray::before {
        content: 'MW';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 40vw;
        font-weight: 900;
        color: rgba(146, 125, 252, 0.03);
        z-index: 0;
        pointer-events: none;
        letter-spacing: -20px;
    }

    /* Pulsing Creative Orbs */
    .nav-tray-orb {
        position: absolute;
        width: 250px;
        height: 250px;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.2;
        z-index: 1;
        animation: orbPulse 6s infinite alternate ease-in-out;
    }

    .orb-purple { background: #927DFC; top: -5%; left: -5%; }
    .orb-blue { background: #60EFFF; bottom: -5%; right: -5%; animation-delay: -3s; }

    @keyframes orbPulse {
        from { transform: scale(1) translate(0, 0); opacity: 0.15; }
        to { transform: scale(1.3) translate(30px, 30px); opacity: 0.25; }
    }

    .nav-tray .seg-link {
        font-size: 1rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.4);
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 6px;
        transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); /* Spring Easing */
        
        /* Spring-Pop Entrance */
        transform: scale(0.5) translateY(30px);
        opacity: 0;
        
        padding: 1.2rem;
        width: 100%;
        text-align: center;
        position: relative;
        z-index: 10;
    }

    .nav-tray.is-active .seg-link {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    /* Explosive Stagger Timing */
    .nav-tray.is-active .seg-link:nth-child(1) { transition-delay: 0.3s; }
    .nav-tray.is-active .seg-link:nth-child(2) { transition-delay: 0.38s; }
    .nav-tray.is-active .seg-link:nth-child(3) { transition-delay: 0.46s; }
    .nav-tray.is-active .seg-link:nth-child(4) { transition-delay: 0.54s; }
    .nav-tray.is-active .seg-link:nth-child(5) { transition-delay: 0.62s; }
    .nav-tray.is-active .seg-link:nth-child(6) { transition-delay: 0.7s; }

    .nav-tray .seg-link:hover {
        color: #fff;
        letter-spacing: 9px;
        transform: scale(1.15);
        text-shadow: 0 0 25px rgba(146, 125, 252, 1);
    }

    .nav-tray .seg-link.active {
        color: #927DFC;
        text-shadow: 0 0 15px rgba(146, 125, 252, 0.3);
    }

    .nav-tray .seg-social {
        flex-direction: row;
        gap: 2rem;
        margin-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 2rem;
        width: 100%;
        justify-content: center;
    }

    /* Hero Section Overhaul - Exact Image Match */
    .hero {
        padding-top: 5rem;
        padding-bottom: 5rem;
        height: 100vh; /* Fallback */
        height: 100svh !important; /* Use stable small viewport height */
        min-height: 100svh !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        /* Push content to bottom */
        text-align: left;
        background: radial-gradient(circle at 50% 50%, rgba(88, 70, 145, 0.1) 0%, transparent 80%);
        position: relative;
        overflow: hidden;
    }


    .hero-container {
        padding: 0 6vw;
        width: 100%;
        margin-bottom: 2rem;
    }

    .hero-massive-title {
        font-size: 3.2rem; /* Reduced from 4.2rem to prevent horizontal overflow */
        /* Even larger for impact */
        line-height: 0.95;
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        letter-spacing: -3px;
        font-weight: 900 !important;
        text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .hero-massive-title .block {
        display: block;
        width: 100%;
    }

    .hero-massive-title .stroke-text {
        -webkit-text-stroke: 2px rgba(255, 255, 255, 0.5) !important;
        color: transparent !important;
        margin: 0.3rem 0;
        letter-spacing: -1px;
    }

    .hero-massive-title .gradient-text {
        background: none !important;
        -webkit-text-fill-color: #927DFC !important;
        /* Specific Lavender from image */
        color: #927DFC !important;
        letter-spacing: -2px;
    }

    .hero-desc {
        font-size: 1.3rem;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.8);
        max-width: 100%;
        margin-bottom: 4rem;
        text-align: left;
        font-weight: 400;
        letter-spacing: -0.01em;
    }

    .hero-action {
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }

    .btn-glow {
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        padding: 1.4rem 2rem !important;
        /* Larger vertical padding like image */
        font-size: 1rem !important;
        font-weight: 800 !important;
        color: #fff !important;
        border-radius: 18px !important;
        /* Slightly more squarish rounded like image */
        width: 100% !important;
        display: flex !important;
        justify-content: center;
        align-items: center;
        letter-spacing: 2px !important;
        text-transform: uppercase;
        backdrop-filter: blur(10px);
    }

    .btn-glow span {
        color: #fff !important;
    }

    .btn-glow::before {
        display: none !important;
    }

    /* Professional Navigation Transformation */
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Selected Work (Portfolio) - Fixed Creative Stacking */
    #portfolio {
        padding: 4rem 1rem !important;
        background: #000 !important;
        overflow-x: hidden !important;
        /* Fix side scroll */
    }

    #portfolio .sticky {
        position: sticky !important;
        /* Restore sticky for professional stacking */
        top: 80px !important;
        /* Offset for header */
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 2.5rem 1.5rem !important;
        border-radius: 30px !important;
        margin-bottom: 4rem !important;
        /* Added space between cards */
        transform: perspective(1000px) rotateX(4deg);
        transition: transform 0.5s ease !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8) !important;
        background: #0c0c0e !important;
    }

    /* Subtle depth on stack */
    #portfolio .sticky:nth-child(even) {
        transform: perspective(1000px) rotateX(4deg) rotateY(-2deg);
    }

    #portfolio .sticky:nth-child(odd) {
        transform: perspective(1000px) rotateX(4deg) rotateY(2deg);
    }

    #portfolio .sticky .lg\:w-5\/12,
    #portfolio .sticky .lg\:w-7\/12 {
        width: 100% !important;
    }

    #portfolio .sticky h3 {
        font-size: 3rem !important;
        margin-bottom: 1.5rem !important;
    }

    #portfolio .sticky .h-\[350px\],
    #portfolio .sticky .h-\[500px\] {
        height: 200px !important;
        margin-top: 2rem !important;
        border-radius: 20px !important;
    }

    #portfolio .sticky .view-case-study,
    #portfolio .sticky a.hover-magnetic {
        width: 100% !important;
        text-align: center;
        padding: 1.2rem !important;
    }

    /* Ensure tags are visible on mobile */
    #portfolio .sticky span.opacity-0 {
        opacity: 1 !important;
        transform: none !important;
        font-size: 0.7rem !important;
    }

    /* Core Abilities (Services) Refined Experience */
    #services {
        padding: 1.5rem 1.2rem !important;
        background: #000 !important;
    }

    #services .container {
        padding-top: 1rem !important;
    }

    /* Centered Sections for Mobile Balance */
    #services h2,
    #portfolio .container h2,
    #testimonials .container h2 {
        font-size: 2.25rem !important;
        font-weight: 900 !important;
        line-height: 1.1 !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
        letter-spacing: -1px !important;
    }

    #services p.text-white\/50,
    #portfolio .container p,
    #testimonials .container p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        text-align: center !important;
        max-width: 100% !important;
        margin-bottom: 2rem !important; /* Reduced from 3rem */
        color: rgba(255, 255, 255, 0.6) !important;
        font-weight: 400 !important;
    }

    /* Standard Unified Headers */
    .whyus-left h2,
    #team .section-title h2,
    .intake-left h2 {
        font-size: 2.25rem !important;
        font-weight: 900 !important;
        line-height: 1.1 !important;
        text-align: left !important;
        margin-bottom: 1rem !important;
        letter-spacing: -1px !important;
    }

    /* Standard Unified Sub-text */
    .whyus-left p,
    #team .section-title p,
    .intake-left p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        text-align: left !important;
        max-width: 100% !important;
        margin-bottom: 3rem !important;
        color: rgba(255, 255, 255, 0.6) !important;
        font-weight: 400 !important;
    }

    /* Contact / Intake Section Refinement */
    .intake-section-wrap {
        padding: 1rem 1.2rem !important;
    }

    .intake-left {
        margin-bottom: 0.5rem !important; /* Minimal gap to card */
    }

    .intake-left h2 {
        margin-bottom: 1rem !important;
    }

    .intake-checklist {
        margin-bottom: 0.5rem !important; /* Minimal gap inside list */
    }

    .contact-watermark {
        font-size: 15rem !important;
        top: 0% !important; /* Move higher */
        opacity: 0.02 !important;
    }

    /* Vertical Stacking for Tabs */
    #services .flex-nowrap {
        display: flex !important;
        flex-direction: column !important;
        /* Stack vertically like image */
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        width: 100% !important;
        gap: 10px !important;
        overflow: visible !important;
    }

    .service-tab {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        /* Text left, arrow right */
        align-items: center !important;
        padding: 1.6rem 2rem !important;
        border-radius: 24px !important;
        font-size: 1.1rem !important;
        font-weight: 900 !important;
        letter-spacing: 0.5px !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.04) !important;
        color: rgba(255, 255, 255, 0.4) !important;
        text-align: left !important;
        backdrop-filter: blur(5px);
    }

    /* Active State (Solid Lavender Purple) */
    .service-tab.bg-purple-600 {
        background: #927DFC !important;
        color: #fff !important;
        border-color: transparent !important;
        box-shadow: 0 15px 40px rgba(146, 125, 252, 0.4) !important;
        transform: scale(1.02);
    }

    /* Thin Arrow Indicator */
    .service-tab::after {
        content: "→" !important;
        font-size: 1.4rem;
        font-weight: 300;
        opacity: 0.6;
    }

    .service-tab.bg-purple-600::after {
        opacity: 1;
    }

    /* Content Area (Below list on mobile) */
    .service-content {
        position: relative !important;
        padding: 2.5rem 1rem !important;
        /* Added horizontal padding */
        margin-top: 0;
        display: none !important;
        flex-direction: column !important;
        text-align: left;
    }

    /* JS sets style.opacity = 1, so we show it when opacity is 1 */
    .service-content[style*="opacity: 1"] {
        display: flex !important;
    }

    /* Technical Arsenal Card Optimization */
    .service-content .lg\:w-1\/2 {
        width: 100% !important;
    }

    .service-content .grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
    }

    .service-content h3 {
        font-size: 2.2rem !important;
        /* Smaller title */
        line-height: 1.0 !important;
        margin-bottom: 1rem !important;
        font-weight: 900;
    }

    .service-content p {
        font-size: 1rem !important;
        /* Smaller paragraph */
        line-height: 1.5 !important;
        margin-bottom: 2rem !important;
        color: rgba(255, 255, 255, 0.5) !important;
    }

    /* Skill Badges Shrunken */
    .service-content .group\/badge {
        width: auto !important;
        max-width: 280px !important;
        /* Constrain width */
        margin-bottom: 0.5rem;
    }

    .service-content .group\/badge .px-6.py-5 {
        padding: 0.8rem 1.2rem !important;
        /* Smaller internal padding */
    }

    .service-content .group\/badge span {
        font-size: 0.75rem !important;
        /* Smaller text */
    }

    .service-content .group\/badge svg {
        width: 18px !important;
        height: 18px !important;
    }

    #services .relative.w-full.mt-12 {
        margin-top: 1rem !important;
        min-height: auto !important;
        padding: 0 !important;
        border: none !important;
        display: block !important;
    }

    /* Testimonials Marquee - Perfect "Hold to Read" Solution */
    .marquee-container:hover .anim-marquee-left,
    .marquee-container:hover .anim-marquee-right {
        animation-play-state: running !important;
        /* Normal hover shouldn't stop it on mobile */
    }

    /* Stop ONLY when user touches and HOLDS */
    .marquee-container:active .anim-marquee-left,
    .marquee-container:active .anim-marquee-right {
        animation-play-state: paused !important;
    }

    /* Remove Dimming/Blur effect from desktop for mobile */
    .marquee-container:hover .testi-card-mini,
    .marquee-container:active .testi-card-mini {
        opacity: 1 !important;
        filter: blur(0px) !important;
    }

    .marquee-container:hover .testi-card-mini:hover {
        opacity: 1 !important;
        filter: blur(0px) !important;
        transform: none !important;
        /* Avoid jumpy scales on touch */
        background: rgba(255, 255, 255, 0.03) !important;
        border-color: rgba(255, 255, 255, 0.05) !important;
        box-shadow: none !important;
    }

    .anim-marquee-left {
        animation: marqueeLeft 35s linear infinite !important;
        /* Slightly slower for readability */
    }

    .anim-marquee-right {
        animation: marqueeRight 35s linear infinite !important;
    }

    .testi-card-mini {
        width: 280px !important;
        /* Smaller for mobile */
        padding: 1.2rem !important;
        background: rgba(10, 10, 10, 0.6) !important;
        /* Darker background for prominence */
        backdrop-filter: blur(25px) !important;
        /* Much higher blur */
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        user-select: none !important;
        /* Disable text copying while holding */
        -webkit-user-select: none;
    }

    .testi-card-mini p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        color: rgba(255, 255, 255, 0.8) !important;
        /* Slightly brighter text */
    }

    .testi-card-mini .w-12 {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }

    /* Footer Refinement */
    .whyus-point {
        gap: 1rem;
    }

    .wp-icon {
        width: 60px;
        height: 60px;
    }

    /* Footer Refinement */
    .footer-3col-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .col-brand .footer-massive-heading {
        text-align: center;
        font-size: 2rem;
    }

    .footer-contact-list {
        align-items: center;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .subscribe-form .input-wrap {
        padding-left: 1rem;
    }

    /* Success Box - Professional UI/UX Enhancement */
    .success-capture-box {
        padding: 3rem 1.8rem !important;
        background: rgba(10, 10, 15, 0.85) !important;
        border: 1px solid rgba(146, 125, 252, 0.3) !important;
        border-radius: 28px !important;
        backdrop-filter: blur(30px) !important;
        box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(146, 125, 252, 0.1) !important;
        text-align: center !important;
        animation: success-reveal 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards !important;
    }

    .success-capture-icon {
        width: 70px !important;
        height: 70px !important;
        background: linear-gradient(135deg, rgba(146, 125, 252, 0.2), rgba(96, 239, 255, 0.1)) !important;
        border: 1px solid rgba(146, 125, 252, 0.4) !important;
        box-shadow: 0 0 40px rgba(146, 125, 252, 0.2) !important;
        margin-bottom: 2rem !important;
    }

    .success-capture-title {
        font-size: 1.4rem !important;
        font-weight: 900 !important;
        background: linear-gradient(135deg, #a78bfa, #60efff) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        color: transparent !important;
        letter-spacing: 2px !important;
        margin-bottom: 1.2rem !important;
        text-shadow: none !important;
    }

    .success-capture-text {
        font-size: 0.9rem !important;
        line-height: 1.7 !important;
        color: rgba(255, 255, 255, 0.65) !important;
        font-weight: 400 !important;
    }


    /* Project Intake Form - Professional UI/UX Refinement */
    .intake-right::before {
        content: "";
        display: block;
        width: 70%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(168, 85, 247, 0.4), transparent);
        margin: 0.5rem auto 1.5rem auto;
        box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
    }

    .intake-form-card {
        padding: 0.6rem 1.6rem !important; /* Reduced vertical padding for micro height */
        border-radius: 20px !important;
        background: rgba(10, 10, 12, 0.7) !important;
        backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        width: 108% !important; /* Made wider */
        margin-left: -4% !important; /* Centering wider card */
    }


    .intake-right h2 {
        font-size: 1.8rem !important; /* Reduced from text-4xl */
        margin-bottom: 1.5rem !important;
    }


    .intake-label {
        font-size: 0.75rem !important; /* Slightly larger */
        font-weight: 900 !important;
        letter-spacing: 0.15em !important;
        margin-bottom: 0.4rem !important; /* Reduced margin to save height */
        color: #a78bfa !important;
        text-transform: uppercase;

        text-shadow: 0 0 15px rgba(168, 85, 247, 0.4); /* Glowing effect */
        display: block;
    }

    .intake-tag-group {
        gap: 5px !important;
        margin-bottom: 0.8rem !important;
    }

    .intake-tag {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.6rem !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
    }

    .intake-tag.active {
        background: #927DFC !important;
        color: #fff !important;
        border-color: transparent !important;
    }

    .intake-field-group {
        margin-bottom: 0.8rem !important;
    }

    .intake-field-group input,
    .intake-field-group textarea {
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 0.4rem 0.7rem !important; /* Reduced field height */
        font-size: 0.75rem !important;
        border-radius: 8px !important;

    }

    /* Prominent Fields for Subject & Details */
    #subject {
        padding: 0.7rem 1.2rem !important; /* Reduced height */
        font-size: 0.9rem !important;

        border-radius: 12px !important;
    }

    #projectDetails {
        height: 110px !important; /* Slightly taller for balance */
        padding: 0.8rem 1rem !important;
    }

    .form-row {
        flex-direction: row !important; /* Side by side on mobile */
        gap: 8px !important;
    }

    .form-row > div {
        flex: 1 !important;
    }

    .file-dropzone {
        padding: 1rem !important;
        border-radius: 12px !important;
    }

    /* Simple & Static Transmit Button for Mobile */
    .transmit-btn {
        animation: none !important;
        transform: none !important;
        transition: all 0.3s ease !important;
        background: rgba(168, 85, 247, 0.1) !important; /* Subtle purple tint */
        border: 1px solid rgba(168, 85, 247, 0.3) !important;
        margin-top: 1rem !important;
        padding: 1.2rem !important;
    }

    .transmit-btn:hover,
    .transmit-btn:active, 
    .transmit-btn:focus {
        transform: none !important; /* Force zero movement */
        background: rgba(168, 85, 247, 0.3) !important;
        box-shadow: 0 0 25px rgba(168, 85, 247, 0.7) !important;
        border-color: #a78bfa !important;
    }

    .transmit-btn span {
        animation: none !important;
        letter-spacing: 0.2em !important;
    }

    .transmit-glow {
        display: none !important; /* Remove moving glow */
    }

    .dropzone-text {
        font-size: 0.75rem !important;
    }

    .btn-transmit {
        width: 100% !important;
        height: 56px !important; /* Fixed height to prevent movement on text change */
        padding: 0 !important; /* Using height/flex instead of padding for stability */
        font-size: 0.75rem !important;
        border-radius: 0.75rem !important;
        font-weight: 700 !important;
        color: #fff !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        background: linear-gradient(to right, #9333ea, #3b82f6) !important;
        box-shadow: 0 10px 20px -10px rgba(168, 85, 247, 0.5) !important;
        transition: all 300ms ease !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.5rem !important;
        transform: none !important; /* Disable magnetic effect on mobile */
    }

    .btn-transmit:hover {
        box-shadow: 0 15px 25px -5px rgba(168, 85, 247, 0.7) !important;
        transform: translateY(-2px) !important; /* Reduced lift for stability */
    }

    .btn-transmit:active {
        transform: scale(0.98) !important; /* Subtle active state */
    }



    /* Footer - Professional 2-Column Split + Vertical Stack */
    .footer-strip {
        padding: 4rem 1.5rem 3rem !important;
        background: #050505 !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .footer-watermark {
        font-size: 4rem !important; /* Significantly smaller for mobile */
        opacity: 0.04 !important;
        top: 60% !important; /* Moved lower down */
        letter-spacing: 5px !important;
    }

    .strip-grid {
        display: grid !important;
        grid-template-columns: 1.2fr 1fr !important;
        /* 2 columns for brand and nav */
        gap: 3.5rem 3.5rem !important;
        /* Increased both row and column gap to 3.5rem */
        text-align: left !important;
        align-items: start !important;
    }

    .col-brand,
    .col-nav {
        grid-column: span 1 !important;
    }

    .col-subscribe {
        grid-column: span 2 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 0.5rem !important; /* Reduced horizontal padding */
    }

    .col-subscribe .strip-heading {
        text-align: center !important;
        width: 100% !important;
        margin-bottom: 0 !important; /* Removed vertical space completely */
    }

    .col-subscribe p {
        text-align: center !important;
        margin-bottom: 0.8rem !important; /* Reduced further */
        font-size: 0.8rem !important;
        opacity: 0.8 !important; /* More prominent text */
    }

    .subscribe-form {
        width: 100% !important;
        max-width: 450px !important;
        /* Slightly wider for side-by-side */
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important; /* Reduced gap */
    }

    .subscribe-form input {
        padding: 0.8rem 1.2rem !important;
        background: rgba(255, 255, 255, 0.08) !important; /* More prominent background */
        border: 1px solid rgba(255, 255, 255, 0.15) !important; /* Clearer border */
        color: #fff !important;
    }

    .subscribe-form input::placeholder {
        color: rgba(255, 255, 255, 0.4) !important; /* More visible placeholder */
    }

    .subscribe-form button {
        width: 48px !important;
        height: 48px !important;
        box-shadow: 0 0 15px rgba(146, 125, 252, 0.3) !important; /* Subtle glow */
    }

    .col-subscribe a {
        width: 100% !important;
        max-width: 450px !important;
        display: block !important;
    }

    .strip-nav-list {
        gap: 0.4rem !important;
        /* Reduced gap between links */
    }

    .strip-nav-list a {
        font-size: 0.75rem !important;
        /* Balanced size */
        margin-bottom: 0 !important;
        /* Remove margin in favor of gap */
    }

    .strip-heading {
        font-size: 0.8rem !important;
        /* Smaller headings */
        margin-bottom: 1rem !important;
    }

    .strip-brand-title {
        font-size: 1.2rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
    }

    .strip-contact-info {
        gap: 0.5rem !important;
    }

    .strip-contact-info a,
    .strip-whatsapp-text {
        font-size: 0.8rem !important;
    }

    .strip-social-row {
        display: flex !important;
        margin-top: 1rem;
        gap: 0.8rem;
    }

    .strip-social-icon {
        width: 32px !important;
        height: 32px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 8px !important;
    }

    .strip-heading {
        font-size: 0.9rem !important;
        margin-bottom: 1.2rem !important;
    }



    /* Action Button - Cinematic Full Width */
    .col-subscribe a button {
        margin-top: 0.8rem; /* Reduced margin */
        width: 100% !important;
        padding: 1.1rem !important; /* Slightly more compact */
        font-size: 1rem !important;
        text-align: center !important;
        /* Centered for professional look */
    }
}
}
}

/* --- Ultra-Small Devices (max-width: 480px) --- */
@media (max-width: 480px) {
    .hero-massive-title {
        font-size: 2.5rem;
    }

    .btn-glow {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .doc-card {
        padding: 1.5rem;
    }

    .strip-bottom-content {
        flex-direction: column !important;
        gap: 0.8rem !important;
        text-align: center !important;
    }

    .legal-links {
        justify-content: center !important;
    }
}

/* --- Support for Modern High-Density Displays --- */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .mesh-bg {
        filter: blur(60px);
    }
}