/* --- RESET & BASE STYLES --- */
:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --border-color: #111111;
    --border-width: 1px;
    --spacing-lg: 100px;
    --spacing-md: 60px;
    --spacing-sm: 24px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Prevent horizontal scroll on body */
    cursor: none;
    /* Hide default cursor */
}

html {
    overflow-x: hidden;
}

/* --- CUSTOM CURSOR --- */
.cursor-dot {
    width: 5px;
    height: 5px;
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid #000;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Hover state */
.cursor-outline.hover-active {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 87, 34, 0.1);
    /* Orange tint */
    border-color: #FF5722;
}

.cursor-dot.hover-active {
    background-color: #FF5722;
}

h1,
h2 {
    font-family: 'Open Sauce One', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

/* Apply Space Grotesk to numbers */
.price,
.process-num,
.hero-stats span,
.results-table td:first-child,
/* Year */
.results-table td:last-child

/* Result numbers often here */
    {
    font-family: 'Space Grotesk', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    filter: grayscale(100%);
    /* Force monochrome images */
    transition: filter 0.3s ease;
}

/* --- UTILITIES --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    border-left: var(--border-width) solid var(--border-color);
    border-right: var(--border-width) solid var(--border-color);
}

.section-border {
    border-bottom: var(--border-width) solid var(--border-color);
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    background: transparent;
    border: var(--border-width) solid var(--text-color);
    color: var(--text-color);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 14px;
}

.btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.btn-fill {
    background: var(--text-color);
    color: var(--bg-color);
}

.btn-fill:hover {
    opacity: 0.8;
}

/* --- ORANGE BUTTON --- */
.btn-orange {
    background-color: #FF5722;
    /* Orange color */
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 0;
    /* Keep it brutalist/sharp */
    font-weight: 700;
    transition: background 0.3s ease;
}

.btn-orange:hover {
    background-color: #E64A19;
    text-decoration: none;
}

/* --- 3D ICONS --- */
.icon-3d {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 24px;
    filter: none;
    /* Override global grayscale */
    display: block;
}

/* --- HEADER --- */
header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -1px;
}

nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
    /* Align items vertically */
}

nav a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

nav a:not(.btn-orange):hover {
    text-decoration: underline;
}


/* --- HERO --- */
.hero {
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 32px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 48px;
    color: #444;
}

.hero-stats {
    margin-top: 48px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
}

/* --- TRUSTED BY (AUTO SLIDE MARQUEE) --- */
.trusted-by {
    padding: 40px 0;
    overflow: hidden;
    background: #fff;
    color: #000;
    position: relative;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
}

.marquee-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 100%;
    gap: 100px;
    animation: scroll 30s linear infinite;
    flex-wrap: nowrap;
    /* Prevent wrapping */
    flex-shrink: 0;
    /* Prevent shrinking */
}

.logo-item {
    white-space: nowrap;
    padding: 0 40px;
    /* Reduced padding to bring logos closer to "box" edges if any */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-item img {
    max-height: 200px;
    /* Large but balanced */
    max-width: 400px;
    /* Wide enough */
    object-fit: contain;
    opacity: 1;
    filter: none;
    transition: opacity 0.3s ease;
}



.logo-item img:hover {
    opacity: 1;
}

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

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

/* --- VIDEO & SERVICE SECTION (2 COLUMNS) --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.video-col {
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    /* Fallback height */
    border-right: var(--border-width) solid var(--border-color);
}

.video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Make iframe responsive and fill the column */
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-col {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-col h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.text-col p {
    font-size: 16px;
    color: #444;
    margin-bottom: 30px;
    max-width: 500px;
}

/* --- ABOUT & STRATEGY --- */
.strategy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.strategy-content {
    padding: var(--spacing-md);
    border-right: var(--border-width) solid var(--border-color);
}

.strategy-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.strategy-item {
    padding: var(--spacing-md);
    border-bottom: var(--border-width) solid var(--border-color);
}

.strategy-item:nth-child(odd) {
    border-right: var(--border-width) solid var(--border-color);
}

.strategy-item h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.strategy-item p {
    font-size: 14px;
    color: #555;
}

/* --- PROCESS --- */
#process .section-header {
    text-align: center;
}

.process-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    border-bottom: var(--border-width) solid var(--border-color);
    transition: background 0.3s;
}

.process-item:hover {
    background: #f9f9f9;
}

.process-num {
    font-family: 'Space Grotesk';
    font-size: 24px;
    font-weight: 700;
    padding: var(--spacing-md);
    border-right: var(--border-width) solid var(--border-color);
    display: flex;
    align-items: flex-start;
}

.process-text {
    padding: var(--spacing-md);
}

.process-text h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

/* --- RESULTS TABLE --- */
.results-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.results-table th,
.results-table td {
    padding: 24px;
    border-bottom: var(--border-width) solid var(--border-color);
    border-right: var(--border-width) solid var(--border-color);
    font-family: 'Space Grotesk';
}

.results-table th {
    background: #000;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
}

.results-table tr:last-child td {
    border-bottom: none;
}

/* --- PORTFOLIO SLIDER (Auto Slide) --- */
.section-header {
    padding: var(--spacing-md);
    border-bottom: var(--border-width) solid var(--border-color);
}

.section-header h2 {
    font-size: 48px;
}

/* Container for the sliding track */
.portfolio-slider {
    overflow: hidden;
    border-bottom: var(--border-width) solid var(--border-color);
    background: #fff;
    display: flex;
}

/* The track that moves */
.portfolio-track {
    display: flex;
    animation: scroll-portfolio 40s linear infinite;
    width: max-content;
    /* Ensure track is wide enough */
}

.portfolio-track:hover {
    animation-play-state: paused;
    /* Pause on hover */
}

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

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

    /* Move half the width (since we duplicated content) */
}

.portfolio-card {
    width: 400px;
    /* Fixed width */
    flex-shrink: 0;
    border-right: var(--border-width) solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.portfolio-card:hover .card-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.card-image {
    height: 300px;
    background-color: #e0e0e0;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: var(--border-width) solid var(--border-color);
}

.card-tag {
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #666;
    letter-spacing: 1px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
}

/* Scroll hint arrow */
.scroll-hint {
    display: none;
}

/* --- CASE STUDIES (Grid for contrast) --- */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.case-card {
    padding: var(--spacing-md);
    border-right: var(--border-width) solid var(--border-color);
    border-bottom: var(--border-width) solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* --- PRICING --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.pricing-card {
    padding: var(--spacing-md);
    border-right: var(--border-width) solid var(--border-color);
    border-bottom: var(--border-width) solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
    /* Slight transparency base */
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(255, 87, 34, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    z-index: 10;
}

/* Hover effect for pricing buttons */
.pricing-card .btn:hover,
.pricing-card .btn-fill:hover {
    background-color: #FF5722;
    border-color: #FF5722;
    color: #fff;
    opacity: 1;
}

.price {
    font-size: 32px;
    font-family: 'Space Grotesk';
    font-weight: 700;
    margin: 24px 0;
}

.features li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.features li::before {
    content: "→";
    position: absolute;
    left: 0;
}

/* --- AUDIT FORM --- */
.audit-section {
    padding: var(--spacing-lg) 0;
    background: #f9f9f9;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border: var(--border-width) solid var(--text-color);
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: 'Space Grotesk';
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 16px;
    border: var(--border-width) solid #ccc;
    border-radius: 0;
    /* Brutalist */
    font-family: 'Inter';
    font-size: 16px;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #000;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* --- WHATSAPP CTA --- */
.whatsapp-cta {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.whatsapp-cta h2 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 24px;
}

.btn-wa {
    background: #fff;
    color: #000;
    border: none;
    font-size: 18px;
    padding: 20px 40px;
}

.btn-wa:hover {
    background: #ddd;
    color: #000;
}

/* --- FAQ SECTION --- */
#faq {
    padding: var(--spacing-lg) 0;
    background-color: #f9f9f9;
    border-bottom: var(--border-width) solid var(--border-color);
}

.faq-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.faq-list {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.faq-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: #fff;
    padding-left: 30px;
    color: #FF5722;
}

.faq-item.active {
    background-color: #fff;
    border-left: 4px solid #FF5722;
    color: #FF5722;
    padding-left: 30px;
}

.faq-content {
    flex: 1.5;
    position: sticky;
    top: 100px;
}

.faq-answer {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: none;
}

.faq-answer.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
}

.faq-answer ul li {
    margin-bottom: 8px;
    color: #555;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* --- FOOTER --- */
footer {
    padding: var(--spacing-md) 0;
    border-top: var(--border-width) solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 24px;
    display: block;
    font-family: 'Space Grotesk';
}

.footer-links li {
    margin-bottom: 12px;
}

.copyright {
    padding-top: 24px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 60px;
        --spacing-md: 40px;
        --spacing-sm: 16px;
    }

    .container {
        padding: 0 16px;
    }

    .nav-wrapper {
        /* Keep nav changes but refined later for hamburger */
        height: 70px; /* Restore height for header bar */
        flex-direction: row; /* Keep row for logo and burger */
        justify-content: space-between;
        padding: 0;
    }

    /* Hamburger Menu Styles will be added here or separate */
    
    .strategy-grid,
    .strategy-list,
    .process-item,
    .split-section {
        grid-template-columns: 1fr;
    }

    .strategy-content,
    .process-num,
    .video-col {
        border-right: none;
        border-bottom: var(--border-width) solid var(--border-color);
    }

    .strategy-item:nth-child(odd) {
        border-right: none;
    }

    .portfolio-card {
        width: 85vw;
        /* On mobile, cards take 85% width */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 2.5rem; /* Smaller for mobile */
    }

    .hero p {
        padding: 0 16px;
    }

    .video-col {
        min-height: 250px;
    }

    /* Ecosystem Mobile Fix moved to end of file */
    
    /* Pricing Mobile */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    /* Marquee Mobile Tweaks */
    .marquee-content {
        gap: 40px;
    }

    .logo-item {
        padding: 0 20px;
    }

    .logo-item img {
        max-height: 80px;
        max-width: 150px;
    }

    /* FAQ Mobile */
    .faq-container {
        flex-direction: column;
        gap: 20px;
    }

    /* Hide custom cursor on mobile */
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    /* Restore default cursor */
    body, a, button, .btn {
        cursor: auto !important;
    }
    
    .faq-content {
        position: static;
        margin-top: 20px;
    }
    
    .faq-list {
        width: 100%;
    }

    .faq-answer {
        padding: 20px;
    }

    .section-header {
        padding: 20px;
    }

    .section-header h2 {
        font-size: 28px;
        word-wrap: break-word;
    }

    .form-container {
        padding: 20px;
    }
}

/* --- HAMBURGER MENU & MOBILE NAV --- */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    nav {
        position: fixed;
        top: 70px; /* Below header */
        right: 0; /* Align to right */
        width: 100%; /* Full width */
        height: calc(100vh - 70px);
        background: #fff;
        padding: 40px 24px;
        transform: translateX(100%); /* Move off screen right */
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        border-top: 1px solid #eee;
        visibility: hidden; /* Hide when not active to prevent scroll */
    }

    nav.active {
        transform: translateX(0);
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding-bottom: 16px;
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }

    nav a {
        font-size: 20px;
        display: block;
    }
}

/* --- TABLE SCROLL WRAPPER --- */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    border: var(--border-width) solid var(--border-color); /* Move border to wrapper */
    border-right: none; /* Avoid double borders if needed */
}

.table-responsive table {
    border-collapse: collapse;
    width: 100%;
    min-width: 600px; /* Force scroll on small screens */
}

/* Remove outer borders from table when inside wrapper to avoid duplication */
.table-responsive .results-table th,
.table-responsive .results-table td {
    border-bottom: var(--border-width) solid var(--border-color);
    border-right: var(--border-width) solid var(--border-color);
}

/* --- FLOATING DOCK --- */
.floating-dock {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.6);
    /* More transparent */
    backdrop-filter: blur(16px);
    /* Stronger blur */
    -webkit-backdrop-filter: blur(16px);
    border-radius: 100px;
    padding: 8px 10px 8px 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-dock:hover {
    transform: translateX(-50%) scale(1.02);
}

.dock-profile {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #333;
    flex-shrink: 0;
}

.dock-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dock-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 4px;
}

.dock-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid transparent;
    position: relative;
}

.dock-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-3px);
}

/* Tooltip for icons */
.dock-icon::after {
    content: attr(aria-label);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #000;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dock-icon:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dock-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke-width: 0;
}

.dock-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    text-transform: capitalize;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-left: 4px;
}

.dock-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.dock-btn:hover {
    background: #128C7E;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
    .floating-dock {
        bottom: 20px;
        padding: 5px;
        gap: 8px;
        width: max-content; /* Ensure it wraps content correctly */
        max-width: 95vw; /* Ensure it doesn't overflow viewport width */
        left: 50%; /* Re-assert center */
        transform: translateX(-50%) !important; /* Force center transform */
        white-space: nowrap;
    }

    .dock-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .dock-icon {
        width: 36px;
        height: 36px;
    }

    .dock-profile {
        width: 36px;
        height: 36px;
    }
}

/* --- FOOTER ADDRESSES --- */
.footer-address {
    margin-top: 24px;
}

.footer-address h4 {
    font-size: 16px;
    margin-bottom: 8px;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
}

.footer-address p {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
    line-height: 1.4;
}

/* --- ECOSYSTEM SECTION --- */
.ecosystem-section {
    padding: var(--spacing-lg) 0;
    overflow: hidden;
    background: #fff;
    border-bottom: var(--border-width) solid var(--border-color);
}

.ecosystem-orbit-container {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 0 auto;
    border-radius: 50%;
    border: 1px dashed #ddd;
    /* Orbit path */
    animation: rotateOrbit 60s linear infinite;
}

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

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

.center-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    border: 1px solid #eee;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: counterRotate 60s linear infinite;
    /* Counter-rotate to stay static */
}

.center-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0%);
    /* Keep it colored */
}

.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 3;
}

.orbit-content {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 200px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: counterRotate 60s linear infinite;
}

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

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

.orbit-content:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #FF5722;
}

.orbit-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: none;
    /* Allow normal case */
    line-height: 1.3;
}

/* Positioning - Radius 250px */
.item-1 {
    transform: rotate(0deg) translate(0, -250px) rotate(0deg);
}

.item-2 {
    transform: rotate(72deg) translate(0, -250px) rotate(-72deg);
}

.item-3 {
    transform: rotate(144deg) translate(0, -250px) rotate(-144deg);
}

.item-4 {
    transform: rotate(216deg) translate(0, -250px) rotate(-216deg);
}

.item-5 {
    transform: rotate(288deg) translate(0, -250px) rotate(-288deg);
}

/* --- AUTO-FLOATING EMOJI EFFECTS --- */
.hover-emoji {
    position: relative;
    display: inline-block;
}

.hover-emoji::after {
    content: attr(data-emoji);
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    opacity: 0.9;
    pointer-events: none;
    animation: floatEmoji 3s ease-in-out infinite;
    z-index: -1;
}

/* Stagger animation delays for each emoji */
.hover-emoji:nth-of-type(1)::after {
    animation-delay: 0s;
}

.hover-emoji:nth-of-type(2)::after {
    animation-delay: 0.5s;
}

.hover-emoji:nth-of-type(3)::after {
    animation-delay: 1s;
}

.hover-emoji:nth-of-type(4)::after {
    animation-delay: 1.5s;
}

@keyframes floatEmoji {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.9;
    }

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

/* --- MILESTONE SECTION --- */
.milestone-section {
    background-color: #000;
    padding: 80px 20px;
    color: #fff;
    text-align: center;
}

.milestone-container {
    max-width: 1200px;
    margin: 0 auto;
}

.milestone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
}

.milestone-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.milestone-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #FDD835;
    /* Yellow/Gold from image */
    line-height: 1.1;
    margin-bottom: 10px;
}

.milestone-label {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    text-transform: lowercase;
}

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

    .milestone-number {
        font-size: 48px;
    }
}

/* --- ECOSYSTEM MOBILE FIX (MOVED TO END TO OVERRIDE BASE STYLES) --- */
@media (max-width: 768px) {
    .ecosystem-orbit-container {
        width: 160px;
        height: 160px;
        margin: 40px auto;
    }

    .item-1 { transform: rotate(0deg) translate(0, -80px) rotate(0deg); }
    .item-2 { transform: rotate(72deg) translate(0, -80px) rotate(-72deg); }
    .item-3 { transform: rotate(144deg) translate(0, -80px) rotate(-144deg); }
    .item-4 { transform: rotate(216deg) translate(0, -80px) rotate(-216deg); }
    .item-5 { transform: rotate(288deg) translate(0, -80px) rotate(-288deg); }

    .orbit-content {
        width: 90px;
        padding: 4px;
        min-height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .orbit-content h3 {
        font-size: 9px;
        line-height: 1.1;
    }

    .center-image {
        width: 40px;
        height: 40px;
    }
}