/* Variables & Reset */
:root {
    --color-bg: #050505;
    --color-bg-secondary: #0a0a0a;
    --color-primary: #1f75ff;
    /* Updated from #0055ff */
    --color-primary-light: #66a3ff;
    /* Adjusted for new primary */
    --color-text: #ffffff;
    --color-text-muted: #b3b3b3;
    --color-neon-glow: rgba(31, 117, 255, 0.4);
    /* Softer glow */

    --font-main: 'Montserrat', sans-serif;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    /* Reduced from 4rem */
    --spacing-xl: 5rem;
    /* Reduced from 8rem */

    /* Mobile Spacing Overrides */
    @media (max-width: 768px) {
        --spacing-lg: 1.5rem;
        --spacing-xl: 1.5rem;
    }

    --border-radius: 16px;
    /* Slightly rounder */
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    /* Smoother transition */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    font-weight: 400;
    /* Regular default */
    position: relative;
}

#global-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    /* Behind everything, including orbs */
    pointer-events: none;
}

/* Typography - STRICT MINIMALISM */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300;
    /* LIGHT WEIGHT ONLY */
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
    }
}

h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.4rem;
    }
}

h3 {
    font-size: 1.3rem;
    font-weight: 300;
}

p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

strong,
b {
    font-weight: 400;
    /* Regular is the new Bold */
    color: white;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, var(--color-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Removed intense text-shadow for cleaner look */
}

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

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

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

/* Components */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    /* Thicker font */
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.5s ease;
    /* Smoother transition */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Slightly visible border */
    cursor: pointer;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;

    /* Glass Effect Enhanced */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

    /* Mobile Touch Target */
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: rgba(31, 117, 255, 0.1);
    border-color: rgba(31, 117, 255, 0.3);
    color: white;
    box-shadow: 0 0 15px rgba(31, 117, 255, 0.1);
}

.btn-primary:hover {
    background: rgba(31, 117, 255, 0.25);
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 0 30px rgba(31, 117, 255, 0.3);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.2rem 3.5rem;
    font-size: 1rem;
}

.btn-xl {
    padding: 1.5rem 4.5rem;
    font-size: 1.1rem;
}

.glass {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    /* Highlight top border */
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    /* Highlight left border */
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Apply glass to cards explicitly if they don't have it */
.card,
.stat-box,
.testimonial-card,
.team-card,
.pillar-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.card:hover,
.stat-box:hover,
.pillar-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(31, 117, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(31, 117, 255, 0.1);
    transform: translateY(-5px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    /* Hardware accelerated centering */
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Unified smooth transition for all properties */
    will-change: width, padding, background, border-radius, top, box-shadow;
    backface-visibility: hidden;
    /* Performance hints */
    background: transparent;
    /* Start transparent */
    border-radius: 0;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    box-shadow: none;
    border: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.85);
    /* Darker, slightly transparent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.2rem 0;
    /* Increased padding for larger look */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 90%;
    max-width: 1200px;
    top: 1.5rem;
    /* Slightly lower */
    border-radius: 24px;
    /* Floating rounded look */
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .navbar {
        width: 100%;
        /* Ensure full width on mobile start */
        /* Removed left/transform reset to keep it stable */
    }

    .navbar.scrolled {
        width: 95%;
        /* Keep centered position from global rule */
        top: 0.8rem;
        padding: 1rem 0;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    /* Adjust based on logo aspect ratio */
    width: auto;
    display: block;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

/* Background Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #4d00ff;
    bottom: 10%;
    right: -50px;
    animation: float 12s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.badge-neon {
    display: inline-block;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;

    color: var(--color-primary-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    box-shadow: none;
    position: relative;
}

.badge-neon::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
    margin: 0.5rem auto 0;
    box-shadow: 0 0 10px var(--color-primary);
}

/* Hero Stats Reorganized */
.hero-stats-container {
    margin-top: 3rem;
    margin-bottom: 3rem;
    /* Added spacing before button */
    padding: 1.5rem 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-block;
}

@media (max-width: 768px) {
    .hero-stats-container {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 300;
    text-align: left;
    /* Ensure text is left aligned */
}

.stat-item i {
    color: var(--color-primary);
    font-size: 1.2rem;
    text-shadow: 0 0 10px var(--color-primary);
}

/* Cards */
.card {
    padding: 3rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(31, 117, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.icon-neon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    opacity: 0.8;
    transition: var(--transition);
}

.card:hover .icon-neon {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--color-primary));
}

/* Specific fix for Pain Points grid to ensure 2x2 layout */
#problemas .grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    #problemas .grid-2 {
        grid-template-columns: 1fr;
    }
}

.solution-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    min-width: auto;
    width: 100%;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(31, 117, 255, 0.3);
    border-radius: 20px;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, rgba(31, 117, 255, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    box-shadow: 0 0 30px rgba(31, 117, 255, 0.15), inset 0 0 20px rgba(31, 117, 255, 0.05);
    position: relative;
    overflow: hidden;
    min-width: 300px;
}

.central-icon {
    width: 100px;
    height: 100px;
    background: rgba(31, 117, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 40px rgba(31, 117, 255, 0.3);
    border: 1px solid rgba(31, 117, 255, 0.4);
    z-index: 2;
}

.method-icon-glow {
    font-size: 3rem;
    color: var(--color-primary);
    filter: drop-shadow(0 0 15px var(--color-primary));
    animation: pulse 3s infinite;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(31, 117, 255, 0.15);
    width: 180px;
    height: 180px;
    animation: spin 20s linear infinite;
    pointer-events: none;
}

.orbit-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary);
}

.ring-2 {
    width: 260px;
    height: 260px;
    border-color: rgba(31, 117, 255, 0.08);
    animation: spin 30s linear infinite reverse;
}

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

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

.method-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .method-steps-grid {
        grid-template-columns: 1fr;
    }
}

.step-card {
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.4) 100%);
    border-radius: 12px;
}

.step-card:hover {
    border-color: rgba(31, 117, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(31, 117, 255, 0.1);
}

.step-header {
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.step-header i {
    color: var(--color-primary);
    font-size: 1rem;
}

.step-header span {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: white;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .step-header span {
        white-space: normal;
        font-size: 0.75rem;
        line-height: 1.4;
        flex-wrap: wrap;
    }
}

.step-header span i {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.step-content {
    padding: 1.5rem;
}

.step-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

/* Stats Section (Results) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.stat-box {
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(31, 117, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(31, 117, 255, 0.5);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-box {
        padding: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(31, 117, 255, 0.1) 0%, transparent 60%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.visual-card i,
.visual-card .big-number,
.visual-card p {
    position: relative;
    z-index: 1;
}

.big-number {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary-light);
    margin-top: 1rem;
    letter-spacing: 1px;
}

.feature-list {
    list-style: none;
    margin-top: 3rem;
}

.feature-list li {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    /* Reduced gap */
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.feature-list li div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.feature-list li p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--color-text-muted);
}

.feature-list li strong {
    font-size: 1.1rem;
    color: white;
    display: block;
}

.feature-list i {
    color: var(--color-primary);
    font-size: 0.9rem;
    padding: 0.6rem;
    /* Reduced padding */
    background: rgba(31, 117, 255, 0.1);
    border-radius: 50%;
    margin-top: 0;
    /* Reset margin */
    flex-shrink: 0;
    /* Prevent shrinking */
    width: 32px;
    /* Fixed width for alignment */
    height: 32px;
    gap: 2rem;
    text-align: center;
}

.stat-box {
    padding: 3rem 2rem;
    background: transparent;
    border: 0.5px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.stat-box:hover {
    border-color: rgba(31, 117, 255, 0.2);
    background: rgba(31, 117, 255, 0.02);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 300;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Testimonials */
.testimonial-card {
    padding: 3rem;
    font-style: italic;
}

.author {
    margin-top: 2rem;
    border-top: 0.5px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    font-style: normal;
}

.author strong {
    display: block;
    color: white;
    font-weight: 400;
    letter-spacing: 1px;
}

.author span {
    font-size: 0.8rem;
    color: var(--color-primary);
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    background: transparent;
    padding: 8rem 0;
    position: relative;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 0.5px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.footer p {
    font-size: 0.8rem;
    opacity: 0.5;
}

.footer-social {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* Animations */
@keyframes float {

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

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

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(31, 117, 255, 0.2);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px 10px rgba(31, 117, 255, 0.1);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(31, 117, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 30px rgba(31, 117, 255, 0.4);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Case Studies */
.case-metric {
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(31, 117, 255, 0.4);
}

/* Team Section */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

.team-card {
    text-align: center;
    padding: 2rem;
    flex: 0 1 250px;
    /* Base width similar to grid minmax */
    min-width: 250px;
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.team-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Partners Section */
#parceiros {
    padding: var(--spacing-md) 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.logos-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 40s linear infinite;
    padding: 1rem 0;
    /* Space for shadow/hover */
}

.logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-width: 180px;
    height: 80px;
    padding: 0 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.logo-card i {
    font-size: 1.4rem;
    opacity: 0.8;
}

.logo-card:hover {
    background: rgba(31, 117, 255, 0.1);
    border-color: rgba(31, 117, 255, 0.3);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(31, 117, 255, 0.1);
}

.logo-card:hover i {
    color: var(--color-primary);
}

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

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

/* Video Section */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(31, 117, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(31, 117, 255, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-stats {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 1.5rem;
        width: max-content;
        /* Allow full width for animation */
        animation: scroll 20s linear infinite;
        /* Auto-scroll animation */
    }

    .mobile-only-stat {
        display: block;
    }

    /* Keyframes for scrolling */
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

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

    .hero-stats::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for cleaner look */
    }

    .stat-item {
        flex: 0 0 auto;
        /* Don't shrink */
        width: auto;
        /* Dynamic width based on content */
        min-width: auto;
        /* Remove minimum width constraint */
        margin-bottom: 0;
        /* Remove bottom margin */
        white-space: nowrap;
        /* Prevent text wrapping */
        padding: 1.5rem;
        /* Ensure adequate padding */
        text-align: left;
        /* Ensure text is left aligned */
        display: flex;
        /* Force flexbox */
        flex-direction: row;
        /* Force row layout (Icon Left, Text Right) */
        align-items: center;
        /* Vertically center */
        justify-content: flex-start;
        /* Align to start */
        gap: 1rem;
        /* Space between icon and text */
    }

    .stat-divider {
        display: block;
        height: 30px;
        align-self: center;
        background: rgba(255, 255, 255, 0.1);
    }

    /* Hide dividers on mobile */
    .hero-stats-container {
        width: 100%;
        padding: 1.2rem;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
        overflow: hidden;
        /* Hide overflow for seamless scroll */
        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);
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    /* Mobile Adjustments */
    .navbar {
        padding: 5rem 0 1rem 0;
        /* Significantly increased top padding */
    }

    .navbar .btn {
        display: flex;
        padding: 0.6rem;
        min-height: auto;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
    }

    .navbar .btn span {
        display: none;
    }

    .navbar .btn i {
        margin-right: 0;
        font-size: 1.1rem;
    }

    .logo img {
        height: 32px !important;
        /* Smaller logo on mobile */
    }

    .navbar {
        padding: 1rem 0;
    }

    .badge-neon {
        font-size: 0.7rem;
        /* Smaller badge text */
        padding: 0.3rem 0.8rem;
        margin-bottom: 1rem;
        white-space: normal;
        /* Allow wrapping if needed, though shorter is better */
        line-height: 1.4;
        display: inline-block;
    }

    .orb {
        opacity: 0.15;
        filter: blur(60px);
    }

    /* Reduce blur load */

    .grid-2,
    .grid-3,
    .grid-4,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .team-card {
        flex: 1 1 100%;
        width: 100%;
    }

    .card,
    .pillar-card,
    .stat-box,
    .testimonial-card {
        padding: 1.5rem 1.2rem;
        /* More space for content */
    }

    .pillar-number {
        font-size: 4rem;
        top: 1rem;
    }


    .hero {
        padding-top: 100px;
        /* Ensure content starts lower but... */
        align-items: flex-start;
        /* ...align to top to control spacing better */
    }

    .hero-content {
        margin-top: 1rem;
        /* Adjust this to control gap from logo */
    }

    .navbar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .btn-large,
    .btn-xl {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    h1,
    h2,
    h3,
    .section-subtitle,
    p {
        text-wrap: balance;
        /* Improve text breaks */
    }

    p {
        font-weight: 400;
    }

    /* Force specific break for hero title if needed */
    h1 br {
        display: block;
        content: "";
        margin-bottom: 0.5rem;
    }

    /* Icon Spacing */
    .btn i,
    .btn svg {
        margin-right: 10px;
    }
}

/* Desktop Fixes */
@media (min-width: 769px) {
    .mobile-only-stat {
        display: none !important;
    }

    /* Global Icon Spacing Fix */
    .btn i,
    .btn svg {
        margin-right: 10px;
    }
}