:root {
    --sb-thumb: rgba(222, 33, 54, 0.6); 
    --sb-border: transparent;
}

::-webkit-scrollbar { width: 14px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb {
    background-color: var(--sb-thumb);
    background-clip: padding-box; 
    border: 4px solid transparent; 
    border-radius: 100px;
    box-shadow: inset 0 0 0 1px var(--sb-border);
    transition: background 0.4s ease;
}

html { scroll-behavior: smooth; }
body { 
    margin: 0; padding: 0;
    background-color: #000000; 
    background-image: radial-gradient(120% 120% at 30% 40%, rgba(22, 26, 35, 0.65) 0%, rgba(14, 16, 22, 0.65) 35%, rgba(5, 6, 8, 0.95) 65%, rgba(1, 1, 2, 1) 85%, #000000 100%);
    background-attachment: fixed;
    font-family: 'Inter', sans-serif;
    color: #fff; 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 1025px) {
    body, a, button, .nav-item, .fab-glass, .btn-primary, .logo, .desktop-nav a, .desktop-logo-wrap, .home-reveal-btn, .desktop-logo { cursor: none !important; }
    .navbar { display: none !important; }
}

.navbar {
    position: fixed; top: 0; left: 0; width: 100%; padding: 1.2rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    box-sizing: border-box; z-index: 100;
    background: rgba(30, 30, 35, 0.35); backdrop-filter: blur(40px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.logo img { height: 32px; }
.nav-links { display: flex; align-items: center; gap: 0.5rem; }
.nav-item { 
    display: flex; align-items: center; text-decoration: none; color: #aaa; 
    padding: 0.6rem; border-radius: 100px; transition: all 0.4s;
}
.nav-item:hover { background: #2563eb; padding: 0.6rem 1.2rem; color: #fff; }
.nav-item span { max-width: 0; opacity: 0; overflow: hidden; transition: 0.4s; font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.nav-item:hover span { max-width: 100px; opacity: 1; margin-left: 8px; }

/* --- Ultra Professional Desktop Nav --- */
.desktop-nav {
    position: fixed; top: 2.5rem; left: 5%; right: 5%;
    display: flex; justify-content: space-between; align-items: flex-start;
    z-index: 100;
    pointer-events: none;
}

.desktop-nav .d-nav-links {
    display: flex; gap: 4vw;
}

.desktop-nav .desktop-logo {
    pointer-events: auto;
    display: flex;
    align-items: center;
    height: 48px;
    opacity: 0;
    animation: dropInLine 1.4s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.desktop-nav .desktop-logo img {
    width: auto;
    height: 100%;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
    opacity: 0.75;
}

.desktop-nav .desktop-logo:hover img {
    transform: rotate(90deg) scale(0.95);
    opacity: 1;
}

@keyframes dropInLine {
    0% { opacity: 0; transform: translateY(-20px); filter: blur(4px); }
    100% { opacity: 0.6; transform: translateY(0); filter: blur(0px); }
}

.desktop-nav .d-nav-item {
    pointer-events: auto;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    padding: 0 0 8px 0;
    margin: 10px 0 0 0;
    position: relative;
    opacity: 0.5;
    animation: dropInLine 1.4s cubic-bezier(0.19, 1, 0.22, 1) backwards;
    transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-nav .d-nav-item:nth-child(1) { animation-delay: 0.2s; }
.desktop-nav .d-nav-item:nth-child(2) { animation-delay: 0.35s; }

.desktop-nav .d-nav-item span {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
    white-space: nowrap;
}

.desktop-nav .d-nav-item:hover { 
    opacity: 1; 
    transform: translateY(-2px);
}

/* Premium Left-to-Right Underline Track */
.desktop-nav .d-nav-item::after {
    content: '';
    position: absolute; 
    bottom: 0; 
    left: 0;
    width: 100%; 
    height: 1px;
    background: #ff283c;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.desktop-nav .d-nav-item:hover::after { 
    transform: scaleX(1);
    transform-origin: left;
}

@media (max-width: 1024px) {
    .desktop-nav { display: none !important; }
}

.scroll-track { display: flex; flex-direction: row; flex-wrap: nowrap; width: 100%; direction: ltr; position: relative; z-index: 2; }
.content-column { width: 50%; position: relative; z-index: 2; pointer-events: none; display: flex; flex-direction: column; }
.canvas-column { width: 50%; height: 100vh; position: sticky; top: 0; right: 0; z-index: 1; pointer-events: none; }
#webgl-canvas { width: 100%; height: 100%; outline: none; }

.step-section { height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 5%; box-sizing: border-box; }

.step-card {
    position: relative;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10px);
    border-radius: 8px; 
    padding: 3rem; 
    transform: translateY(var(--reveal-offset, 60px)) scale(0.95); 
    opacity: 0; 
    filter: blur(20px) brightness(1.2);
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), opacity 1s ease, filter 1.4s cubic-bezier(0.19, 1, 0.22, 1); 
    pointer-events: auto;
    width: 100%; max-width: 520px; margin: 0 auto; 
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.step-card::before, .step-card::after {
    content: ""; position: absolute; border-radius: inherit; pointer-events: none; opacity: 1; transition: opacity 0.4s ease;
}
.step-card::before {
    inset: -1px; padding: 1px;
    background: radial-gradient(circle 90px at var(--mouse-x, 50%) var(--mouse-y, 100%), rgba(255, 255, 255, 1) 0%, rgba(255, 200, 200, 0.8) 4%, rgba(255, 40, 60, 0.9) 12%, rgba(222, 33, 54, 0.7) 30%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    z-index: 2;
    filter: drop-shadow(0 0 2px rgba(255, 33, 54, 0.8));
}
.step-card::after {
    inset: -1px;
    background: radial-gradient(circle 160px at var(--mouse-x, 50%) var(--mouse-y, 100%), rgba(255, 255, 255, 0.25) 0%, rgba(255, 33, 54, 0.15) 6%, rgba(255, 33, 54, 0.03) 50%, transparent 100%);
    z-index: 0;
    border-radius: inherit;
}
.step-card.in-view { transform: translateY(0) scale(1); opacity: 1; filter: blur(0px) brightness(1); }
.tile-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; opacity: 0.3; border-radius: 32px; }

h2 { background: linear-gradient(135deg, #fff, #888); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin: 0 0 1.2rem 0; position: relative; z-index: 1; letter-spacing: -0.035em; }
p { color: #ccc; line-height: 1.8; font-size: 1.05rem; position: relative; z-index: 1; }
.step-badge { font-family: 'Space Mono', 'Roboto Mono', monospace; background: rgba(222, 33, 54, 0.15); color: #ff4d5e; padding: 6px 14px; border-radius: 100px; font-size: 0.8rem; font-weight: 700; border: 1px solid rgba(222, 33, 54, 0.3); margin-bottom: 1.5rem; display: inline-block; text-transform: uppercase; letter-spacing: 0.05em; position: relative; z-index: 1; }

.btn-primary { background: #fff; color: #000; padding: 14px 32px; border-radius: 100px; text-decoration: none; font-weight: 600; display: inline-block; transition: 0.3s; margin-top: 1rem; position: relative; z-index: 2; }
.btn-primary:hover { background: #de2136; color: #fff; transform: translateY(-3px); }

/* --- Timeline --- */
.timeline-container { position: relative; padding-left: 40px; margin-top: 1.5rem; z-index: 2; }
.timeline-track { position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, 0.05); border-radius: 2px; overflow: hidden; }
.timeline-progress { position: absolute; top: 0; left: 0; width: 100%; height: 0%; background: linear-gradient(to bottom, rgba(255, 40, 60, 0.4), rgba(255, 40, 60, 1)); box-shadow: 0 0 10px rgba(255, 40, 60, 0.8), 0 0 20px rgba(255, 40, 60, 0.4); transform-origin: top; transition: height 0.1s ease-out; border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 2.2rem; opacity: 0.3; transform: translateX(20px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item.active { opacity: 1; transform: translateX(0); }
.timeline-dot { position: absolute; left: -34px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: rgba(15, 15, 21, 0.8); border: 2px solid rgba(255, 255, 255, 0.15); transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 2; backdrop-filter: blur(4px); }
.timeline-item.active .timeline-dot { background: #ff283c; border-color: rgba(255, 200, 200, 0.9); box-shadow: 0 0 15px rgba(255, 40, 60, 0.9), 0 0 30px rgba(255, 40, 60, 0.5), inset 0 0 6px rgba(255, 255, 255, 0.7); transform: scale(1.25); }
.timeline-content h3 { margin: 0 0 0.3rem 0; font-size: 1.1rem; color: #fff; font-weight: 600; }
.timeline-content p { margin: 0; font-size: 0.95rem; color: #b3b3b3; line-height: 1.6; }

/* --- Floating Hero Title --- */
#home { position: relative; padding: 0; }
.hero-text-container { position: absolute; top: 50%; left: 0; transform: translateY(-50%); z-index: 10; pointer-events: none; width: 100vw; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; margin-left: 0; padding: 0; }

.hero-logo-lockup { 
    display: inline-flex; 
    flex-direction: column;
    align-items: stretch;
    width: max-content;
    margin: 0 auto;
}

.hero-title { 
    font-family: 'Josefin Sans', sans-serif;
    font-size: 13vw; 
    font-weight: 300; 
    color: #ffffff; 
    margin: 0; 
    line-height: 0.85; 
    text-shadow: 0px 15px 40px rgba(0, 0, 0, 0.5); 
    white-space: nowrap; 
    text-align: center;
    letter-spacing: -0.05em;
}

.hero-subtitle { 
    font-family: 'Josefin Sans', sans-serif;
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 1.35vw; 
    font-weight: 300; 
    color: #ffffff; 
    margin-top: 1.2vw; 
    padding: 0 0.8vw; 
    box-sizing: border-box;
    opacity: 0.85; 
    letter-spacing: 0.15em; 
    text-align: center;
}
.hero-subtitle .word-gap { width: 3vw; }


.cinematic-reveal .hero-title {
    opacity: 0;
    filter: blur(20px);
    transform: scale(1.08) translateZ(0); /* translateZ forces GPU acceleration */
    will-change: transform, opacity, filter;
}
.cinematic-reveal.in-view .hero-title {
    opacity: 1;
    filter: blur(0px);
    transform: scale(1) translateZ(0);
    transition: opacity 2s ease-out,
                filter 2.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-reveal .hero-subtitle {
    opacity: 0;
    transform: translateY(10px) translateZ(0);
    will-change: transform, opacity;
}
.cinematic-reveal.in-view .hero-subtitle {
    opacity: 0.9;
    transform: translateY(0) translateZ(0);
    transition: opacity 1.8s ease-out 0.8s,
                transform 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

/* Framer Text Letter Filler Effect */
.l-fill {
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7);
    position: relative;
    transition: color 0.4s ease, -webkit-text-stroke 0.4s ease, filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Framer Stroke Path Animation */
.stroke-text {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    fill: transparent;
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 1.5px;
    stroke-dasharray: 8em; /* 8x font size guarantees it covers the longest letter perimeter */
    stroke-dashoffset: 8em;
    transition: fill 0.8s ease, filter 0.8s ease, stroke 0.8s ease;
}
.cinematic-reveal.in-view .stroke-text {
    animation: drawStroke 5.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s; /* Lowered delay because the invisible stroke gap takes time to traverse */
}
@keyframes drawStroke {
    0% { stroke-dashoffset: 8em; }
    100% { stroke-dashoffset: 0; }
}

/* Maintain the Awwwards Hover Interaction */
.hero-title:hover .stroke-text {
    fill: rgba(255, 255, 255, 0.95);
    stroke: rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
}

/* Pro Text Typing Effect */
.hero-subtitle .l-fill {
    -webkit-text-stroke: 0px;
    color: #e2e8f0; 
    opacity: 0; 
    position: relative;
    transition: filter 0.4s ease, color 0.4s ease;
}

/* 1. Type letter permanently */
.cinematic-reveal.in-view .hero-subtitle .l-fill {
    animation: popLetter 0s forwards step-end;
    animation-delay: calc(1.5s + ((var(--delay) - 10) * 0.06s));
}
@keyframes popLetter {
    to { opacity: 1; }
}

/* 2. Traveling cursor */
.hero-subtitle .l-fill::after {
    content: '';
    position: absolute;
    right: -4px; 
    top: 5%;
    height: 90%;
    width: 2px;
    background: #ffffff;
    opacity: 0; 
}
.cinematic-reveal.in-view .hero-subtitle .l-fill::after {
    animation: tickCursor 0.06s forwards step-end; /* lasts exactly one tick */
    animation-delay: calc(1.5s + ((var(--delay) - 10) * 0.06s));
}
@keyframes tickCursor {
    0% { opacity: 1; }
    99% { opacity: 1; }
    100% { opacity: 0; }
}

/* 3. Blinking End Cursor on last letter */
.cinematic-reveal.in-view .hero-subtitle .l-fill[style*="--delay: 28"]::after {
    animation: blinkEndCursor 1s step-end infinite;
    animation-delay: calc(1.5s + ((28 - 10) * 0.06s));
}
@keyframes blinkEndCursor {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 8px rgba(255,255,255,0.8)); }
    50% { opacity: 0; }
}

/* Maintain Awwwards Hover */
.hero-subtitle .l-fill:hover {
    color: #ffffff;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

/* --- PRO LOGO TICKER --- */
/* --- PRO LOGO TICKER --- */
.trusted-brands-container {
    width: 100vw;
    position: absolute;
    bottom: 2vh; 
    left: 0;
    margin-top: 0;
    z-index: 10000; /* Bruteforce override above Three.js fgCanvasContainer (9999) */
    opacity: 0;
    transform: translateY(30px) translateZ(0);
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* This ensures it smoothly fades away when scrolling to the 2nd section, rather than snapping out of existence */
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

.cinematic-reveal.in-view ~ .trusted-brands-container,
.trusted-brands-container.in-view {
    opacity: 1;
    transform: translateY(0) translateZ(0);
    transition: opacity 1.8s ease-out 2.4s, transform 1.8s cubic-bezier(0.19, 1, 0.22, 1) 2.4s;
}

.ticker-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 30px;
    gap: 15px;
}

.ticker-header::before {
    content: '';
    height: 1px;
    width: 80px;
    background: linear-gradient(270deg, rgba(255,255,255,0.2), transparent);
}

.ticker-line {
    height: 1px;
    width: 80px;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), transparent);
}

.ticker-label {
    font-size: 0.65rem;
    letter-spacing: 0.45em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.pro-ticker-viewport {
    width: 100%;
    overflow: hidden; 
    padding: 50px 0; 
    cursor: grab;
    user-select: none;
    touch-action: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, transparent 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.01) 50%, transparent 100%);
}
.pro-ticker-viewport:active { cursor: grabbing; }

.pro-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
}

.pro-ticker-track img {
    height: 52px; 
    width: auto;
    max-width: 320px;
    object-fit: contain; 
    margin: 0 4.5vw; 
    filter: grayscale(100%) brightness(1.2);
    opacity: 0.4;
    transition: filter 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none; 
    transform-origin: center center;
}

.pro-ticker-track img.focused {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1); 
    z-index: 10;
}

/* Beautiful Minimalist Progress Bar */
.pro-ticker-progress-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

.pro-ticker-progress-bar {
    width: 200px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.pro-ticker-thumb {
    position: absolute;
    top: -1.5px;
    left: 0;
    width: 24px;
    height: 4px;
    background: #ffffff;
    border-radius: 4px;
    cursor: grab;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    will-change: transform;
}

.pro-ticker-thumb:hover { background: #ff283c; box-shadow: 0 0 15px rgba(255, 40, 60, 0.6); }
.pro-ticker-thumb:active { cursor: grabbing; background: #ff283c; }

/* Mobile Fixes for Pro Ticker */
@media (max-width: 768px) {
    .trusted-brands-container {
        bottom: 8vh; /* Lift slightly to clear mobile bottom UI bars */
    }
    .ticker-header {
        margin-bottom: 20px;
        gap: 10px;
    }
    .ticker-label {
        font-size: 0.55rem;
        letter-spacing: 0.25em;
    }
    .ticker-header::before, .ticker-line {
        width: 40px;
    }
    .pro-ticker-viewport {
        padding: 30px 0;
    }
    .pro-ticker-track img {
        height: 32px;
        max-width: 150px;
        margin: 0 8vw;
    }
    .pro-ticker-track img.focused {
        transform: scale(1.2);
    }
    .pro-ticker-progress-container {
        margin-top: 20px;
    }
    .pro-ticker-progress-bar {
        width: 150px;
    }
}


/* FABs */
.mobile-contact-bar { display: none; margin-top: 2.5rem; gap: 15px; pointer-events: auto; }
.fab-stack-desktop { position: fixed; bottom: 35px; right: 35px; display: flex; flex-direction: column; gap: 12px; z-index: 1000; }
.fab-glass { width: 60px; height: 60px; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.4s; box-shadow: 0 8px 32px rgba(0,0,0,0.3); text-decoration: none; }
.fab-glass:hover { transform: translateY(-5px) scale(1.05); background: rgba(255, 255, 255, 0.08); }
.fab-call svg { fill: #3b82f6; width: 26px; height: 26px; }
.fab-email svg { fill: #ef4444; width: 26px; height: 26px; }
.fab-whatsapp svg { fill: #25D366; width: 30px; height: 30px; }



/* Media Queries */
@media (min-width: 551px) and (max-width: 1024px) {
    .navbar { width: auto; left: 50%; transform: translateX(-50%); top: 1.5rem; padding: 0.5rem 1.5rem; border-radius: 100px; }
    .logo { display: none; }
    .step-section { min-height: 100vh; height: auto; padding-top: 6rem; padding-bottom: 3rem; }
    .content-column { width: 55%; padding-right: 1.5rem; box-sizing: border-box; }
    .canvas-column { width: 45%; }
    .step-card { padding: 2rem 2rem; width: 100%; border-radius: 24px; box-sizing: border-box; max-width: 100%; }
    .fab-stack-desktop { display: none; }
    .mobile-contact-bar { display: flex; margin-top: 1.5rem; gap: 15px; }
    .mobile-contact-bar .fab-glass { backdrop-filter: blur(10px); background: rgba(255, 255, 255, 0.05); }

    .hero-text-container { position: relative; top: auto; left: auto; transform: none; width: 100%; display: flex; justify-content: center; padding: 0 4vw; box-sizing: border-box; }
    .hero-title { font-size: 7.5rem; } 
    .hero-subtitle { font-size: 0.9rem; margin-top: 0.8rem; }
    .hero-subtitle .word-gap { width: 1.5rem; }
}

@media (max-width: 550px) {
    .navbar { width: auto; left: 50%; transform: translateX(-50%); top: 1.5rem; padding: 0.5rem 1rem; border-radius: 100px; }
    .logo { display: none; }
    .scroll-track { flex-direction: column; }
    .content-column { width: 100%; }
    .canvas-column { width: 100%; position: fixed; top: 0; left: 0; opacity: 1; z-index: 0; }
    .step-section { min-height: 100vh; height: auto; align-items: center; justify-content: flex-end; padding: 5rem 5% 4vh 5%; }
    #home.step-section { justify-content: center; padding-bottom: 0; }
    .step-card { padding: 2.5rem 1.5rem; border-radius: 28px; backdrop-filter: blur(3px); background: rgba(15, 15, 21, 0.45); box-sizing: border-box; width: 100%; }
    .mobile-contact-bar { display: flex; margin-top: 1.5rem; }
    .mobile-contact-bar .fab-glass { backdrop-filter: blur(3px); background: rgba(15, 15, 21, 0.45); }
    .fab-stack-desktop { display: none; }

    .hero-text-container { position: relative; top: auto; left: auto; transform: none; width: 100%; padding: 0; }
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 0.6rem; margin-top: 0.5rem; }
    .hero-subtitle .word-gap { width: 1rem; }

    #footer-main { flex-direction: column !important; justify-content: center !important; text-align: center !important; padding: 30px 20px !important; font-size: 0.8rem !important; line-height: 1.6 !important; }
}