:root {
    /* Color Palette - Premium Light Theme */
    --primary: #E11D48;
    /* Power Red */
    --primary-dark: #BE123C;
    --secondary: #FFFFFF;
    --accent: #FB7185;
    --bg-dark: #F8FAFC;
    /* Light background */
    --bg-card: #FFFFFF;
    --text-main: #0F172A;
    /* Dark text */
    --text-muted: #64748B;
    --glass-border: rgba(0, 0, 0, 0.05);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --section-padding: 120px 8%;
}

html {
    overflow-x: clip;
    /* clip prevents horizontal scroll without breaking position:fixed */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: clip;
}

img {
    height: auto;
    max-width: 100%;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

#navbar.scrolled {
    padding: 15px 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.logo img {
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

#navbar .logo img {
    height: 70px !important;
    width: auto;
}

#navbar.scrolled .logo img {
    height: 65px !important;
    filter: none;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s, text-shadow 0.3s;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a.active {
    color: var(--primary) !important;
}

.nav-links a.active::after {
    width: 100%;
}

#navbar.scrolled .nav-links a {
    color: var(--text-main);
    text-shadow: none;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #FFFFFF;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

#navbar.scrolled .lang-switch {
    color: var(--text-main);
    text-shadow: none;
}

.lang-switch a,
.lang-switch button {
    text-decoration: none;
    color: inherit;
    opacity: 0.6;
    transition: opacity 0.3s;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 2px 4px;
    margin: 0;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none !important;
}

.lang-switch a.active,
.lang-switch a:hover,
.lang-switch button.active,
.lang-switch button:hover {
    opacity: 1;
    background: transparent !important;
    background-color: transparent !important;
}

.lang-switch a:focus-visible,
.lang-switch button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.lang-switch .divider {
    opacity: 0.3;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.youtube-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
}

.youtube-bg-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%) scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: -2;
}

/* CTA Banner Section */
.cta-banner {
    position: relative;
    padding: 120px 5%;
    text-align: center;
    background: url('assets/banner.webp') center/cover fixed;
    color: #ffffff;
    overflow: hidden;
}

.cta-banner .cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.cta-banner h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: #ffffff;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.05) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    z-index: -1;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 900px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.floating-wrapper {
    animation: float 6s ease-in-out infinite;
    display: flex;
    justify-content: center;
    width: 100%;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

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

.hero-dashboard-img {
    width: 110%;
    max-width: 650px;
    height: auto;
    margin-right: -5%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(225, 29, 72, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: perspective(1200px) rotateY(-12deg) rotateX(4deg) scale(1.05);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-dashboard-img:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(225, 29, 72, 0.4);
}

/* 3D Tech Slider Section */
.tech-slider-container {
    position: relative;
    width: 130%;
    max-width: 800px;
    height: 500px;
    margin-right: -35%;
    margin-left: 80px;
    perspective: 1200px;
}

.tech-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    z-index: 1;
    transform: translateX(100px) scale(0.8) rotateY(-15deg);
    pointer-events: none;
}

.tech-slide.active {
    opacity: 1;
    z-index: 3;
    transform: translateX(0) scale(1) rotateY(-5deg);
    pointer-events: auto;
}

.tech-slide.active:hover {
    transform: translateX(0) scale(1.05) rotateY(0deg);
}

.tech-slide.prev {
    opacity: 0.6;
    z-index: 2;
    transform: translateX(-120px) scale(0.85) rotateY(10deg);
    cursor: pointer;
    pointer-events: auto;
}

.tech-slide.next {
    opacity: 0.6;
    z-index: 2;
    transform: translateX(120px) scale(0.85) rotateY(-20deg);
    cursor: pointer;
    pointer-events: auto;
}

.tech-slide img {
    width: 100%;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), 0 0 40px rgba(225, 29, 72, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.slider-controls {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slide-btn {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    color: var(--text-main);
}

.slide-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Clients Marquee Section */
.clients-section {
    padding: 60px 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.clients-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.marquee-wrapper {
    position: relative;
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-left: 60px;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 70px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.marquee-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.marquee-item:hover {
    transform: scale(1.15);
}

.marquee-item:hover img {
    filter: grayscale(0%) opacity(1);
}

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

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

/* Ecosystem / Integrations Section */
.ecosystem-section {
    padding: 100px 5%;
    background: var(--bg-dark);
    text-align: center;
}

.ecosystem-filter-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 30px auto 0;
    max-width: 800px;
}

.ecosystem-filter {
    background: transparent;
    border: 1px solid rgba(100, 116, 139, 0.5); /* using var(--text-muted) with opacity */
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ecosystem-filter:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

.ecosystem-filter.active {
    background: rgba(225, 29, 72, 0.05);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}


.ecosystem-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1100px;
    margin: 50px auto 0;
}

.ecosystem-card {
    background: #FFFFFF;
    border-radius: 20px;
    width: 150px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float-stagger 6s ease-in-out infinite;
    position: relative;
}

.ecosystem-card:nth-child(even) {
    animation-delay: 1.5s;
}

.ecosystem-card:nth-child(3n) {
    animation-delay: 3s;
}

.ecosystem-card:hover {
    transform: translateY(-15px) scale(1.1) !important;
    box-shadow: 0 20px 40px rgba(225, 29, 72, 0.15);
    border-color: var(--primary);
    z-index: 10;
    animation-play-state: paused;
}

.ecosystem-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
}

.ecosystem-card:hover img {
    filter: grayscale(0%) opacity(1);
}

@keyframes float-stagger {
    0% {
        transform: translateY(0);
    }

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

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

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 16px 36px;
    border-radius: 12px;
    /* Less round, more modern */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.2);
}

.btn-primary::after {
    content: '\f061';
    /* FontAwesome arrow right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.4s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.4);
    background: var(--primary-dark);
}

.btn-primary:hover::after {
    transform: translateX(5px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-cyber {
    position: relative;
    display: inline-block;
    padding: 18px 45px;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    background: #ffffff;
    border: 2px solid #ffffff;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: all 0.6s ease;
    z-index: 1;
}

.btn-cyber:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.4), 0 0 20px rgba(255, 255, 255, 0.6);
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.btn-cyber:hover::before {
    left: 100%;
}

/* Features Section */
.features {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--glass-border);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: #ffffff;
    border-color: rgba(225, 29, 72, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05), 0 0 20px rgba(225, 29, 72, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.2) 0%, rgba(251, 113, 133, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.2rem;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Side Content Layout */
.content-split {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

.content-text {
    flex: 1;
}

.content-visual {
    flex: 1;
    position: relative;
}

.visual-box {
    width: 100%;
    height: 400px;
    background: #FFFFFF;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
}

.floating-element {
    position: absolute;
    width: 200px;
    height: 120px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    z-index: 2;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate {
    opacity: 0;
}

.animate.active {
    animation: fadeInUp 0.8s ease forwards;
}

/* Hero Critical Rendering Path: Content above the fold renders with CSS entrance animation directly,
   eliminating JS dependency for the initial viewport paint while preserving the exact fadeInUp entrance animation */
.hero .animate {
    opacity: 1;
    animation: fadeInUp 0.8s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
    .animate,
    .hero .animate,
    .animate.active {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================
   MOBILE BOTTOM NAVIGATION BAR
   ========================================== */
.mobile-bottom-nav {
    display: none;
    /* hidden on desktop */
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 64px !important;
        z-index: 99999 !important;
        background: #ffffff !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
        padding: 0 !important;
        padding-bottom: env(safe-area-inset-bottom) !important;
    }

    .mobile-bottom-nav ul {
        display: flex !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: 100% !important;
        align-items: center !important;
        justify-content: space-around !important;
    }

    .mobile-bottom-nav ul li {
        flex: 1 !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mobile-bottom-nav ul li a,
    .mobile-bottom-nav ul li button {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        width: 100% !important;
        height: 100% !important;
        text-decoration: none !important;
        color: var(--text-muted) !important;
        font-size: 0.65rem !important;
        font-weight: 600 !important;
        letter-spacing: 0.01em !important;
        transition: color 0.2s ease, transform 0.2s ease !important;
        white-space: nowrap !important;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        font-family: inherit;
    }

    .mobile-bottom-nav ul li a i,
    .mobile-bottom-nav ul li button i {
        font-size: 1.25rem !important;
        transition: color 0.2s ease, transform 0.2s ease !important;
    }

    .mobile-bottom-nav ul li a:hover,
    .mobile-bottom-nav ul li a.active,
    .mobile-bottom-nav ul li button:hover,
    .mobile-bottom-nav ul li button.active {
        color: var(--primary) !important;
    }

    .mobile-bottom-nav ul li a:hover i,
    .mobile-bottom-nav ul li a.active i,
    .mobile-bottom-nav ul li button:hover i,
    .mobile-bottom-nav ul li button.active i {
        transform: translateY(-2px) !important;
        color: var(--primary) !important;
    }

    /* CTA WhatsApp Chat button in center */
    .mobile-bottom-nav ul li.nav-cta {
        position: relative !important;
    }

    .mobile-bottom-nav ul li.nav-cta::before {
        content: '' !important;
        position: absolute !important;
        top: -12px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 58px !important;
        height: 58px !important;
        background: #ffffff !important;
        border-radius: 50% !important;
        z-index: 0 !important;
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.06) !important;
        /* Subtle top border to match the nav border */
        border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
    }

    .mobile-bottom-nav ul li.nav-cta a,
    .mobile-bottom-nav ul li.nav-cta button {
        position: relative !important;
        z-index: 1 !important;
        color: var(--primary) !important;
    }

    .mobile-bottom-nav ul li.nav-cta a i,
    .mobile-bottom-nav ul li.nav-cta button i {
        background: var(--primary) !important;
        color: #ffffff !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.15rem !important;
        box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35) !important;
        margin-top: -6px !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    }

    .mobile-bottom-nav ul li.nav-cta a:hover i,
    .mobile-bottom-nav ul li.nav-cta button:hover i {
        transform: scale(1.08) !important;
        box-shadow: 0 6px 16px rgba(225, 29, 72, 0.45) !important;
    }
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */

/* ---- Tablet: max 1024px ---- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 5%;
    }

    .hero {
        padding: 80px 5%;
    }

    .hero h1,
    .hero .container h1 {
        font-size: 2.75rem !important;
    }

    .hero-dashboard-img {
        width: 120%;
        transform: perspective(1200px) rotateY(-8deg) rotateX(2deg) scale(1.02);
    }

    .tech-slider-container {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        height: 380px;
    }

    .content-split {
        gap: 40px;
    }
}

/* ---- Mobile: max 768px ---- */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 5%;
    }

    /* ---- Navbar: clean top bar with logo & lang-switch ---- */
    #navbar {
        padding: 12px 5% !important;
        background: rgba(15, 23, 42, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    #navbar.scrolled {
        background: rgba(255, 255, 255, 0.95) !important;
        border-bottom: 1px solid var(--glass-border) !important;
    }

    #navbar .nav-links,
    #navbar .btn-sm {
        display: none !important;
    }

    #navbar .lang-switch {
        display: flex !important;
    }

    #navbar .logo img {
        height: 38px !important;
    }

    /* Add bottom padding to page so content not hidden behind bottom nav */
    body {
        padding-bottom: 74px !important;
    }

    /* ---- Hero ---- */
    .hero {
        padding: 100px 5% 60px;
        height: auto;
        min-height: 100svh;
    }

    .hero .container {
        flex-direction: column !important;
        gap: 32px !important;
        text-align: center !important;
    }

    .hero .container>div:first-child {
        flex: unset !important;
        width: 100%;
    }

    .hero .container>div:last-child {
        flex: unset !important;
        width: 100%;
    }

    .hero h1,
    .hero .container h1 {
        font-size: 2.2rem !important;
    }

    .hero p,
    .hero .container p {
        font-size: 1rem !important;
        max-width: 100% !important;
    }

    .floating-wrapper {
        justify-content: center !important;
    }

    .hero-dashboard-img {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        transform: none !important;
    }

    /* ---- CTA Banner ---- */
    .cta-banner {
        padding: 80px 5%;
        background-attachment: scroll;
    }

    .cta-banner h2 {
        font-size: 2rem;
    }

    /* ---- Tech / Content Split ---- */
    .content-split {
        flex-direction: column !important;
        gap: 50px;
        margin-bottom: 40px;
        overflow: hidden;
    }

    .content-text,
    .content-visual {
        width: 100%;
    }

    .content-visual {
        justify-content: center !important;
    }

    .tech-slider-container {
        width: 100%;
        max-width: 100%;
        height: 260px;
        margin: 0;
        perspective: none;
        overflow: hidden;
    }

    .tech-slide.prev,
    .tech-slide.next {
        opacity: 0;
        pointer-events: none;
    }

    .tech-slide.active {
        transform: translateX(0) scale(1) rotateY(0deg);
    }

    /* ---- Ecosystem ---- */
    .ecosystem-section {
        padding: 60px 5%;
    }

    .ecosystem-card {
        width: 120px;
        height: 72px;
        padding: 14px;
    }

    /* ---- Features Grid ---- */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* ---- Section Headers ---- */
    .section-header h2 {
        font-size: 1.8rem;
    }

    /* ---- Clients Marquee ---- */
    .clients-section {
        padding: 40px 0;
    }

    .marquee-item {
        width: 100px;
        height: 52px;
    }

    /* ---- Footer ---- */
    footer {
        padding: 60px 5% !important;
    }
}


@media (max-width: 480px) {

    .hero h1,
    .hero .container h1 {
        font-size: 1.85rem !important;
    }

    .btn-primary {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .btn-cyber {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    .cta-banner h2 {
        font-size: 1.6rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .ecosystem-card {
        width: 100px;
        height: 62px;
        padding: 10px;
    }

    .nav-actions .btn-sm {
        font-size: 0.78rem;
        padding: 8px 16px;
    }
}

/* ==========================================
   HERO ENHANCEMENTS
   ========================================== */

.hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    background: transparent;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

/* ==========================================
   SECTION EYEBROW UTILITY
   ========================================== */

.section-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

/* ==========================================
   NAV CONTACT SALES CTA BUTTON
   ========================================== */

.nav-contact-sales {
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    border: none !important;
}

.nav-contact-sales:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.35) !important;
}

/* ==========================================
   SOLUTIONS FEATURE CARD TAGLINE
   ========================================== */

.feature-tagline {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    margin-top: 4px;
    line-height: 1.4;
}

/* ==========================================
   WHY POWERBIZ SECTION
   ========================================== */

.why-powerbiz-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #F0F4FF 0%, #F8FAFC 100%);
    position: relative;
    overflow: hidden;
}

.why-powerbiz-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.04) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.why-powerbiz-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.2;
}

.why-powerbiz-section .section-header p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.why-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(225, 29, 72, 0.1);
    border-color: rgba(225, 29, 72, 0.15);
}

.why-card:hover::before {
    opacity: 1;
}

.why-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.15) 0%, rgba(251, 113, 133, 0.08) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.why-card:hover .why-card-icon {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.25) 0%, rgba(251, 113, 133, 0.15) 100%);
    transform: scale(1.05);
}

.why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================
   CLIENTS SECTION SUBTITLE
   ========================================== */

.clients-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: -24px;
    margin-bottom: 36px;
}

/* ==========================================
   CTA BANNER ENHANCEMENTS
   ========================================== */

.cta-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ==========================================
   WHY POWERBIZ RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-eyebrow {
        font-size: 0.7rem;
    }

    .hero-cta-group {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-outline-white {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .why-powerbiz-section {
        padding: 60px 5%;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-powerbiz-section .section-header h2 {
        font-size: 1.8rem;
    }

    .cta-desc {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .why-card {
        padding: 24px 20px;
    }
}