/* Consolidated Sections CSS for dirdz.com */

/* 1. Animations (Global/Shared) */
@keyframes fly-in-up {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes reveal-right {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes reveal-left {
    from {
        clip-path: inset(0 0 0 100%);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes reveal-up {
    from {
        clip-path: inset(100% 0 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes fly-in-down {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fly-in-right {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fly-in-left {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 1;
}

.fade-up {
    animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-right {
    animation: reveal-right 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.reveal-left {
    animation: reveal-left 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.reveal-up {
    animation: reveal-up 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@supports (animation-timeline: view()) {
    .animate-on-scroll:not(.animate-on-load) {
        opacity: 0;
        animation-fill-mode: both;
        animation-duration: 1ms;
        animation-timing-function: linear;
        animation-timeline: view(block);
        animation-range: entry;
        animation-delay: 0s !important;
    }

    .animate-on-scroll:not(.animate-on-load).fade-up {
        animation-name: fly-in-up;
    }

    .animate-on-scroll:not(.animate-on-load).fade-down {
        animation-name: fly-in-down;
    }

    .animate-on-scroll:not(.animate-on-load).fade-right {
        animation-name: fly-in-right;
    }

    .animate-on-scroll:not(.animate-on-load).fade-left {
        animation-name: fly-in-left;
    }
}

.animate-on-load {
    opacity: 0;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-timing-function: ease-out;
    animation-play-state: running;
    animation-timeline: auto !important;
    animation-range: normal !important;
}

.animate-on-load.fade-up {
    animation-name: fly-in-up;
}

.animate-on-load.fade-down {
    animation-name: fly-in-down;
}

.animate-on-load.fade-right {
    animation-name: fly-in-right;
}

.animate-on-load.fade-left {
    animation-name: fly-in-left;
}

/* 2. Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    height: var(--navbar-height);
    display: none;
    align-items: center;
    transition: background var(--transition-base), border var(--transition-base), height var(--transition-base);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .navbar {
        display: flex;
    }

    .nav-links {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 2rem;
    }
}

.nav-links a {
    font-weight: 700;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--primary);
}

.bottom-nav {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 450px);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.75rem 1rem;
    z-index: 1000;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
}

.nav-item {
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    gap: 0.25rem;
    transition: 0.3s;
    text-decoration: none;
    background: none;
    border: none;
}

.nav-item.active,
.nav-item:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

@keyframes float-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.nav-item.highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    justify-content: center;
    margin-top: -2.5rem;
    border: 4px solid var(--bg-light);
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.5);
    animation: float-pulse 2s infinite;
}

@media (min-width: 768px) {
    .bottom-nav {
        display: none !important;
    }
}

.navbar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* 3. Hero */
.section-hero {
    position: relative;
    top: 0;
    width: 100%;
    height: 400vh !important;
    min-height: 400vh !important;
    z-index: 1;
    pointer-events: auto;
    transition: opacity var(--transition-slow);
    overflow: visible !important;
    display: block !important;
    padding: 0 !important;
}

.hero-sticky-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-sticky-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 20;
    padding-top: var(--navbar-height);
}

.hero-text-transition-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "overlap";
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 30;
}

@keyframes hero-fade-out {
    0% { opacity: 1; transform: scale(1); filter: blur(0px); }
    100% { opacity: 0; transform: scale(0.9); filter: blur(5px); }
}

@keyframes hero-fade-in {
    0% { opacity: 0; transform: translateY(30px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes collage-zoom-out {
    0% { transform: scale(3); opacity: 0.1; }
    15% { opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-content-state-1 {
    grid-area: overlap;
    width: 100%;
    transform-origin: center top;
    will-change: transform, opacity;
    /* JS Fallback Drivers (Active in Firefox/Safari) */
    opacity: calc(1 - var(--scroll-p-state-1, 0));
    transform: scale(calc(1 - (0.1 * var(--scroll-p-state-1, 0))));
}

@supports (animation-timeline: scroll()) {
    .hero-content-state-1 {
        opacity: 1;
        transform: none;
        filter: none;
        animation: hero-fade-out linear both;
        animation-timeline: scroll(root);
        animation-range: 100vh 150vh;
    }
}

.hero-content-state-2 {
    grid-area: overlap;
    width: 100%;
    text-align: center;
    pointer-events: none;
    will-change: transform, opacity;
    /* JS Fallback Drivers (Active in Firefox/Safari) */
    opacity: var(--scroll-p-state-2, 0);
    transform: translateY(calc(30px * (1 - var(--scroll-p-state-2, 0)))) scale(calc(0.95 + (0.05 * var(--scroll-p-state-2, 0))));
}

@supports (animation-timeline: scroll()) {
    .hero-content-state-2 {
        opacity: 0;
        animation: hero-fade-in linear both;
        animation-timeline: scroll(root);
        animation-range: 150vh 200vh;
    }
}

.hero-collage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    overflow: hidden;
    pointer-events: none;
    transform-origin: center center;
    will-change: transform, opacity;
    /* JS Fallback Drivers (Active in Firefox/Safari) */
    transform: scale(calc(3 - (2 * var(--scroll-p-hero, 0))));
    opacity: calc(0.1 + (0.9 * var(--scroll-p-hero, 0)));
}

@supports (animation-timeline: scroll()) {
    .hero-collage {
        transform: none;
        opacity: 0.1;
        animation: collage-zoom-out linear both;
        animation-timeline: scroll(root);
        animation-range: 0vh 100vh;
    }
}

[data-theme="dark"] .hero-collage {
    opacity: 0.6;
}

.collage-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    width: 120vw;
    height: 120vh;
    will-change: transform;
}

.collage-item {
    position: absolute;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: translateZ(0);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.collage-item.box-1 {
    top: 10%;
    left: 10%;
    width: 20%;
    height: 25%;
}

.collage-item.box-2 {
    top: 5%;
    right: 15%;
    width: 18%;
    height: 20%;
}

.collage-item.box-3 {
    bottom: 15%;
    left: 15%;
    width: 22%;
    height: 30%;
}

.collage-item.box-4 {
    bottom: 10%;
    right: 10%;
    width: 25%;
    height: 22%;
}

.collage-item.box-5 {
    top: 40%;
    left: 5%;
    width: 15%;
    height: 20%;
}

.collage-item.box-6 {
    top: 35%;
    right: 5%;
    width: 16%;
    height: 28%;
}

.collage-item.box-7 {
    top: 55%;
    left: 30%;
    width: 18%;
    height: 22%;
}

.collage-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-body) 70%);
}

[data-theme="dark"] .collage-overlay {
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, var(--bg-body) 80%);
}

.dynamic-description-container {
    display: grid;
    grid-template-areas: "stack";
    place-items: start center;
    max-width: 50rem;
    margin: 0 auto var(--space-lg);
    min-height: 6rem;
}

.dynamic-description-container p {
    grid-area: stack;
    opacity: 0;
    transform: translateY(10px);
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-muted);
    animation: desc-cycle 24s linear infinite;
    will-change: transform, opacity;
}

.dynamic-description-container p:nth-child(1) {
    animation-delay: 0s;
}

.dynamic-description-container p:nth-child(2) {
    animation-delay: 2s;
}

.dynamic-description-container p:nth-child(3) {
    animation-delay: 4s;
}

.dynamic-description-container p:nth-child(4) {
    animation-delay: 6s;
}

.dynamic-description-container p:nth-child(5) {
    animation-delay: 8s;
}

.dynamic-description-container p:nth-child(6) {
    animation-delay: 10s;
}

.dynamic-description-container p:nth-child(7) {
    animation-delay: 12s;
}

.dynamic-description-container p:nth-child(8) {
    animation-delay: 14s;
}

.dynamic-description-container p:nth-child(9) {
    animation-delay: 16s;
}

.dynamic-description-container p:nth-child(10) {
    animation-delay: 18s;
}

.dynamic-description-container p:nth-child(11) {
    animation-delay: 20s;
}

.dynamic-description-container p:nth-child(12) {
    animation-delay: 22s;
}

@media (min-width: 768px) {
    .dynamic-description-container p {
        font-size: 1.25rem;
    }
}

@keyframes desc-cycle {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    2% {
        opacity: 1;
        transform: translateY(0);
    }

    8% {
        opacity: 1;
        transform: translateY(0);
    }

    10% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.hero-text-wrapper {
    display: block;
    margin-top: 0.25em;
    width: 100%;
}

.dynamic-word-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    position: relative;
    width: 12ch;
    height: 1.2em;
    overflow: visible;
}

html[dir="rtl"] .dynamic-word-container {
    width: 6ch;
}

.dynamic-word-container span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(-20px);
    width: 100%;
    text-align: center !important;
    opacity: 0;
    white-space: nowrap;
    color: var(--primary);
    font-weight: 700;
    animation: word-cycle 24s linear infinite;
    will-change: transform, opacity;
}

.dynamic-word-container span:nth-child(1) {
    animation-delay: 0s;
}

.dynamic-word-container span:nth-child(2) {
    animation-delay: 2s;
}

.dynamic-word-container span:nth-child(3) {
    animation-delay: 4s;
}

.dynamic-word-container span:nth-child(4) {
    animation-delay: 6s;
}

.dynamic-word-container span:nth-child(5) {
    animation-delay: 8s;
}

.dynamic-word-container span:nth-child(6) {
    animation-delay: 10s;
}

.dynamic-word-container span:nth-child(7) {
    animation-delay: 12s;
}

.dynamic-word-container span:nth-child(8) {
    animation-delay: 14s;
}

.dynamic-word-container span:nth-child(9) {
    animation-delay: 16s;
}

.dynamic-word-container span:nth-child(10) {
    animation-delay: 18s;
}

.dynamic-word-container span:nth-child(11) {
    animation-delay: 20s;
}

.dynamic-word-container span:nth-child(12) {
    animation-delay: 22s;
}

html[dir="rtl"] .dynamic-word-container span {
    transform: translate(50%, -50%) translateY(-20px);
}

@keyframes word-cycle {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(-20px);
    }

    2% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }

    8% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }

    10% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(20px);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(20px);
    }
}

.hero-trust {
    margin-top: 5rem;
    animation-delay: 0.5s;
}

.hero-trust-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-trust-text .highlight {
    color: var(--primary);
}

.hero-trust-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    opacity: 0.6;
    flex-wrap: wrap;
    align-items: center;
}

.hero-trust-icons i {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.hero-trust-icons i:hover {
    color: var(--text-muted);
}

/* 4. Video */
#section-video {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0 !important;
    color: white;
    z-index: 100 !important;
    background-color: #000;
    margin-top: -100vh;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.5);
}

.video-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.video-bg-layer img,
.video-bg-layer iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 25%, rgba(0, 0, 0, 0.4) 75%, rgba(0, 0, 0, 0.9) 100%);
    pointer-events: none;
}

.video-content-top {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 6rem;
    width: 100%;
    padding: 6rem 1rem 0;
}

.video-content-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-content-bottom {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-bottom: 4rem;
    width: 100%;
    padding: 0 1rem 4rem;
}

.video-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.video-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.play-trigger {
    width: 5rem;
    height: 5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse-glow 2s infinite;
}

.play-trigger:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.play-trigger i {
    color: white;
    font-size: 1.5rem;
    margin-left: 4px;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
}

.video-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: black;
    padding: 1rem 3rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.video-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    position: relative;
    background: black;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal[aria-hidden="false"] .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 110;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: rotation 1s linear infinite;
    z-index: 1;
}

@keyframes rotation {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (max-width: 768px) {
    .video-title {
        font-size: 1.75rem;
    }

    .video-subtitle {
        font-size: 1rem;
    }

    .video-modal-close {
        top: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}

.services-reveal-track {
    position: relative;
    z-index: 50 !important;
    margin-top: -100vh;
    height: 200vh;
}

.services-reveal-track>#section-services {
    position: sticky;
    top: 0;
    z-index: 50 !important;
    height: 100vh !important;
    width: 100%;
    background-color: var(--bg-body);
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: var(--navbar-height) !important;
}

/* Fix for animate-on-scroll inside sticky container */
#section-services .animate-on-scroll {
    opacity: 1 !important;
    animation: none !important;
}

/* 5. Services */
.css-marquee-track {
    display: flex;
    width: max-content !important;
    gap: 0 !important;
    padding: 0;
    margin: 0;
    will-change: transform;
    flex-shrink: 0;
    flex-wrap: nowrap;
    animation: infinite-scroll-rtl 40s linear infinite;
}

@keyframes infinite-scroll-ltr {
    0% {
        transform: translateX(0);
    }

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

@keyframes infinite-scroll-rtl {
    0% {
        transform: translateX(0);
    }

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


.services-marquee-container {
    display: flex;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    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);
    cursor: grab;
    user-select: none;
}

.service-story-card {
    flex: 0 0 240px;
    width: 240px;
    min-width: 240px;
    flex-shrink: 0 !important;
    margin-inline-end: var(--space-md) !important;
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 2rem;
    padding: 1rem;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border var(--transition-base);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .services-scroll-container .service-story-card {
        flex: 0 0 270px;
    }
}

[data-theme="dark"] .service-story-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.card-header {
    text-align: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.card-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.card-benefit {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.card-visual {
    flex-grow: 1;
    background: #f1f5f9;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 0;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.ba-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 120px;
    cursor: ew-resize;
}

.ba-before,
.ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ba-before img,
.ba-after img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.ba-before {
    z-index: 1;
    width: 50%;
    border-right: 2px solid white;
    transition: width 0.1s;
}

.visual-typewriter {
    flex-direction: column;
    justify-content: flex-start;
    padding: 0.5rem;
    background: #e0e7ff;
    gap: 0.25rem;
}

.chat-bubble {
    padding: 0.4rem 0.6rem;
    border-radius: 0.75rem;
    max-width: 90%;
    font-size: 0.65rem;
    line-height: 1.3;
}

.visual-app {
    background: #f8fafc;
}

.app-notification {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    width: 90%;
    padding: 0.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
}

.visual-chat {
    background: #dcf8c6;
}

.whatsapp-bubble {
    background: white;
    padding: 0.4rem;
    border-radius: 0.5rem;
    border-top-left-radius: 0;
    width: 90%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 0.65rem;
}

.ai-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
    padding: 0.25rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    margin: 0.25rem 0;
}

.ai-logo {
    width: 100%;
    height: 24px;
    object-fit: contain;
    background: white;
    padding: 2px;
    border-radius: 4px;
}

/* Restored Missing Card Visuals */

/* Slide 1: Photography */
.visual-caption {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 600;
}

.ba-label {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.55rem;
    position: absolute;
    bottom: 5px;
    left: 5px;
}

.ba-after .ba-label {
    left: auto;
    right: 5px;
}

/* Slide 2: Writing */
.chat-bubble.user {
    align-self: flex-end;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom-right-radius: 0;
}

html[dir="rtl"] .chat-bubble.user {
    align-self: flex-start;
    border-bottom-right-radius: 0.75rem;
    border-bottom-left-radius: 0;
}

.chat-bubble.ai {
    align-self: flex-start;
    background: var(--primary);
    color: white;
    border-top-left-radius: 0;
}

html[dir="rtl"] .chat-bubble.ai {
    align-self: flex-end;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0;
}

/* Slide 3: Marketing */
.visual-social {
    background: #fff1f2;
    padding: 0.75rem;
    position: relative;
    flex-direction: column;
}

.mock-post {
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-header .avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e2e8f0;
}

.post-header .name {
    font-size: 0.6rem;
    font-weight: 700;
}

.post-img {
    height: 60px;
    background: #cbd5e1;
    border-radius: 0.25rem;
    margin: 0.5rem 0;
}

.post-reactions {
    font-size: 0.6rem;
    color: #64748b;
}

.float-testimonial {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    font-size: 0.65rem;
    font-weight: 700;
    width: 85%;
    border: 1px solid #f1f5f9;
    z-index: 10;
}

html[dir="rtl"] .float-testimonial {
    right: auto;
    left: -10px;
}

/* Shared: Card Footer & Metric */
.card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.metric {
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-main);
}

.metric i {
    font-size: 0.8rem;
}

.visual-tracking {
    background: #f0fdf4;
    padding: 1rem;
}

.tracking-timeline {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.track-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
}

.track-step.completed {
    color: #16a34a;
}

.track-step.active {
    color: #2563eb;
}

.track-step .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.5rem;
}

.track-step.active .dot {
    animation: pulse-dot 1.5s infinite;
}

.track-line {
    width: 2px;
    height: 15px;
    background: #e2e8f0;
    margin-left: 7px;
}

.track-line.full {
    background: #16a34a;
}

.visual-crm {
    background: #eff6ff;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
}

.crm-profile-card {
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.crm-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #64748b;
}

.crm-info {
    flex-grow: 1;
    text-align: right;
}

.crm-name {
    font-size: 0.75rem;
    font-weight: 700;
}

.crm-badge {
    font-size: 0.55rem;
    background: #dcf8c6;
    padding: 2px 4px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 2px;
}

.visual-pos {
    background: #f8fafc;
    padding: 0.75rem;
}

.pos-interface {
    background: white;
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pos-header {
    background: #1e293b;
    color: white;
    padding: 0.4rem;
    font-size: 0.6rem;
    display: flex;
    justify-content: space-between;
}

.pos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 2px;
    background: #e2e8f0;
}

.pos-item {
    background: white;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #64748b;
}

.pos-cart-preview {
    padding: 0.4rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    font-weight: 700;
    border-top: 1px solid #e2e8f0;
}

.visual-finance {
    background: #fdf4ff;
    flex-direction: column;
    padding: 1rem;
}

.finance-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
    height: 60px;
    width: 100%;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.25rem;
}

.f-bar {
    flex: 1;
    background: #e2e8f0;
    border-radius: 2px 2px 0 0;
    position: relative;
    display: flex;
    justify-content: center;
}

.f-bar.income {
    background: #10b981;
    height: 80%;
}

.f-bar.debt {
    background: #ef4444;
    height: 30%;
}

.f-tag {
    position: absolute;
    bottom: 100%;
    font-size: 0.5rem;
    margin-bottom: 2px;
    font-weight: 700;
}

.visual-docs {
    background: #f1f5f9;
}

.doc-paper {
    background: white;
    width: 60px;
    height: 80px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
}

.doc-line {
    background: #e2e8f0;
    height: 4px;
    border-radius: 2px;
    width: 100%;
}

.doc-line.title {
    height: 8px;
    width: 60%;
    background: #94a3b8;
    margin-bottom: 0.25rem;
}

.doc-line.short {
    width: 40%;
}

.doc-stamp {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    color: #ef4444;
    border: 1px solid #ef4444;
    font-size: 0.45rem;
    font-weight: 900;
    padding: 1px 3px;
    transform: rotate(-15deg);
    border-radius: 2px;
}

.visual-import {
    background: #f0fdfa;
}

.import-bar-container {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.import-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.climax-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
    color: white;
    border: none;
}

.climax-card .card-title,
.climax-card .card-benefit {
    color: white;
}

.climax-card .card-visual {
    background: rgba(255, 255, 255, 0.1);
}

.store-mockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.store-mockup i {
    font-size: 2.5rem;
}

.order-badge {
    background: #10b981;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 99px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fly-in-up 0.5s ease-out backwards;
    animation-delay: 1s;
}

/* 6. Platforms */
.section-platforms {
    background-color: var(--bg-body);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    z-index: 200;
}

.platform-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .platform-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.platform-visuals {
    position: relative;
    height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-desktop {
    position: absolute;
    width: 90%;
    max-width: 500px;
    z-index: 1;
    transform: perspective(1000px) rotateY(-5deg) translateX(-20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.mockup-desktop img {
    width: 100%;
    display: block;
}

.mockup-mobile {
    position: absolute;
    width: 120px;
    bottom: -20px;
    right: 10%;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg) translateZ(50px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 4px solid #334155;
    background: #0f172a;
    overflow: hidden;
    transition: transform 0.5s ease;
}

@media (min-width: 1024px) {
    .mockup-mobile {
        right: 0;
        bottom: 20px;
    }
}

.mockup-mobile img {
    width: 100%;
    display: block;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.platform-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.platform-details h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.platform-details p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.os-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.os-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    background: var(--bg-light);
    color: var(--text-muted);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

@media (max-width: 768px) {
    .section-platforms {
        padding: 4rem 0;
    }

    .platform-visuals {
        height: 300px;
        margin-bottom: 2rem;
    }

    .mockup-desktop {
        width: 100%;
        transform: none;
    }

    .mockup-mobile {
        right: -10px;
        bottom: -30px;
        width: 100px;
        transform: rotate(-5deg);
    }

    .platform-info {
        text-align: center;
    }

    .platform-card {
        flex-direction: column;
        text-align: center;
    }

    .os-badges {
        justify-content: center;
    }
}

/* 7. Pricing */
#section-pricing {
    position: relative;
    z-index: 200;
    background-color: var(--bg-body);
}

.pricing-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
}

.grid-pricing {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: flex-end;
}

@media (min-width: 768px) {
    .grid-pricing {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-pricing {
        grid-template-columns: repeat(4, 1fr);
    }
}

.plan-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    position: relative;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center bottom;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-highlight {
    background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
    border: 2px solid var(--primary);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.15);
    z-index: 10;
}

@media (min-width: 1024px) {
    .plan-highlight {
        transform: scale(1.05);
    }

    .plan-highlight:hover {
        transform: scale(1.08);
    }
}

.plan-basic {
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
}

.plan-dark {
    background: #0f172a;
    color: white;
}

[data-theme='dark'] .plan-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

[data-theme='dark'] .plan-highlight {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-color: var(--primary);
}

[data-theme='dark'] .plan-basic {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.1);
}

/* 8. Testimonials */
#section-testimonials {
    position: relative;
    z-index: 200;
    padding: 4rem 0;
    background-color: var(--bg-body);
}

#section-testimonials::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    pointer-events: none;
    z-index: 0;
}

#section-testimonials::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
    z-index: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    #section-testimonials .testimonials-grid .review-card:nth-child(-n+3) {
        grid-column: span 2;
    }

    #section-testimonials .testimonials-grid .review-card:nth-child(4) {
        grid-column: 2 / span 2;
    }

    #section-testimonials .testimonials-grid .review-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

.review-card {
    background: var(--bg-card);
    border-radius: 2rem;
    border-bottom-left-radius: 0.5rem;
    padding: var(--space-md);
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

.review-text::before {
    content: '\201C';
    position: absolute;
    top: -0.5rem;
    right: -0.3rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    line-height: 1;
    color: rgba(37, 99, 235, 0.07);
    pointer-events: none;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.review-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #64748b;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.review-card:hover .review-avatar {
    transform: scale(1.08);
}

.review-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    transition: color 0.25s ease;
}

.review-card:hover .review-info h4 {
    color: #2563eb;
}

.review-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.partners-grid {
    display: flex;
    flex-wrap: nowrap !important;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    position: relative;
    transform: translateX(var(--mx, 0px));
}

.partners-bottom {
    transform: translateX(var(--mx-r, 0px));
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.partners-marquee-track {
    display: flex;
    gap: 3rem;
    flex-shrink: 0;
    padding-inline-end: 3rem;
    animation: marquee-left 28s linear infinite;
}

.partners-bottom .partners-marquee-track {
    animation-name: marquee-right;
}

@keyframes marquee-left {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes marquee-right {
    from {
        transform: translate3d(-100%, 0, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

.partners-grid:hover .partners-marquee-track {
    animation-play-state: paused;
}

.partners-grid img {
    height: 3.5rem;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.partners-grid img:hover {
    opacity: 1;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay:target {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    width: 90%;
    max-width: 30rem;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay:target .modal-box {
    transform: scale(1);
}

[data-theme='dark'] .review-card {
    background: rgba(30, 41, 59, 0.92);
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme='dark'] .review-text::before {
    color: rgba(99, 155, 255, 0.08);
}

[data-theme='dark'] .review-card:hover .review-info h4 {
    color: #60a5fa;
}

[data-theme='dark'] .partners-grid img {
    opacity: 0.25;
}

/* 9. Location */
#section-location {
    position: relative;
    padding: 5rem 0;
    display: flex;
    align-items: center;
    background: var(--bg-body);
    z-index: 200;
    background-image: linear-gradient(rgba(226, 232, 240, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(226, 232, 240, 0.5) 1px, transparent 1px);
    background-size: 40px 40px;
}

.location-layout-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    width: 100%;
}

@media (min-width: 900px) {
    .location-layout-wrapper {
        grid-template-columns: 1fr 1.2fr;
        gap: 5rem;
    }
}

.location-text-box {
    position: relative;
    z-index: 10;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    color: white;
}

.map-outer-frame {
    position: relative;
    z-index: 10;
    height: auto;
}

.inner-padding {
    padding: 2.5rem;
}

@media (min-width: 900px) {
    .inner-padding {
        padding: 4rem;
    }
}

.location-text-box .title-section {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.location-text-box .text-lead {
    color: #cbd5e1;
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.inline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.inline-badge i {
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.location-actions .btn-primary {
    background: linear-gradient(90deg, #2563eb 0%, #4f46e5 100%);
    border: none;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
    color: white;
}

.location-actions .btn-white {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(4px);
}

.map-frame-box {
    position: relative;
    width: 100%;
    padding-top: 60%;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
    background: #0f172a;
}

.map-frame-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    filter: invert(90%) hue-rotate(180deg) contrast(90%) grayscale(20%);
    transition: filter 0.5s ease;
}

.map-wrapper:hover .map-frame-box iframe {
    filter: invert(0%) hue-rotate(0deg) contrast(100%) grayscale(0%);
}

@media (max-width: 640px) {
    .location-actions {
        flex-direction: column;
    }

    .location-actions .btn {
        width: 100%;
    }
}

/* 10. Footer */
.footer {
    position: relative;
    z-index: 200;
    background: var(--secondary);
    color: white;
    padding-top: var(--space-xl);
    padding-bottom: 8rem;
    min-height: 50vh;
    border-top-left-radius: 4rem;
    border-top-right-radius: 4rem;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.3);
    margin-top: 0;
}

@media (min-width: 768px) {
    .footer {
        padding-bottom: 2rem;
    }
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        gap: 4rem;
        align-items: start;
        text-align: left;
    }
}

[dir="rtl"] .footer-grid {
    text-align: right;
}

.footer-grid>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .footer-grid>div {
        align-items: flex-start;
        text-align: left;
    }

    [dir="rtl"] .footer-grid>div {
        align-items: flex-start;
        text-align: right;
    }
}

.footer-logo {
    height: 3rem;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: #cbd5e1;
    font-size: 1.125rem;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.2s;
    font-size: 1.2rem;
}

.social-btn.whatsapp {
    background: #25D366;
}

.social-btn.linkedin {
    background: #0077b5;
}

.social-btn.discord {
    background: #5865F2;
}

.social-btn.x-twitter,
.social-btn.tiktok {
    background: black;
}

.social-btn.viber {
    background: #665CAC;
}

.social-btn:hover {
    transform: translateY(-5px);
    filter: brightness(1.2) saturate(1.2);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.footer-heading {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
    display: inline-block;
    min-width: 150px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    position: static !important;
    transform: none !important;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-links a.highlight {
    color: #60a5fa;
    font-weight: bold;
}

.footer-ecosystem {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-ecosystem-title {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.ecosystem-card {
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
    display: block;
}

.ecosystem-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.ecosystem-card .title {
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.ecosystem-card .desc {
    font-size: 0.75rem;
    color: #94a3b8;
}