/* Color Palette Extracted from Mockup */
:root {
    --primary-blue: #0A2540;
    /* Deep navy background */
    --brand-blue: #0052FF;
    /* Bright crypto blue */
    --light-blue: #F5F7FA;
    /* Section backgrounds */
    --text-dark: #1A1A1A;
    --text-light: #6B7280;
    --white: #FFFFFF;

    /* Animation easing */
    --smooth-ease: cubic-bezier(0.25, 1, 0.5, 1);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    /* Standard clean tech font */
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.site-header {

    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0.85),
            rgba(223, 223, 223, 0.72));

    backdrop-filter:
        blur(20px) saturate(180%) brightness(105%);

    -webkit-backdrop-filter:
        blur(20px) saturate(180%) brightness(105%);

    border-bottom: 1px solid rgba(255, 255, 255, .08);

    box-shadow:
        0 8px 40px rgba(0, 0, 0, .12);
}

.site-header::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, .06),
            rgba(255, 255, 255, 0));
}

.nav-link {
    color: var(--primary-blue);
    font-weight: 600;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.835rem;
}

/* Base utility for GSAP animations (hiding elements before they scroll into view) */
.gsap-reveal {
    opacity: 0;
    visibility: hidden;
}

.hero-section {
    padding-top: 140px;
    /* Space for navbar */
    padding-bottom: 80px;
    background-color: #FAFBFC;
    /* Very subtle off-white if needed */
    position: relative;
}

.brand-subtitle {
    color: var(--brand-blue);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.display-3 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--primary-dark) !important;
}

.text-brand-blue {
    color: var(--brand-blue) !important;
}

/* Floating animation for your exported 3D asset */
.floating-3d-asset {
    animation: float 6s ease-in-out infinite;
    max-width: 90%;
}

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

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

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

/* Stats Bar Overlay */
.hero-stats-container {
    margin-top: -60px;
    /* Pulls it up to overlap the hero background */
}

.hero-stats-card {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.stat-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(10, 88, 202, 0.05);
    /* Faint blue circle */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom border colors for the stats dividers */
.border-start {
    border-left-color: var(--border-color) !important;
}

.hero-content {
    position: relative;
    z-index: 5;
    padding-bottom: 80px;
}

.gsap-hero-item {
    visibility: visible;
}

.hero-graphic-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 450px;
    z-index: 1;
}

.gsap-hero-graphic {
    transform-origin: center center;
    will-change: transform, opacity;
}


.floating-3d-asset {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
}

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

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

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

/* --- ABOUT US: EDITORIAL LAYOUT --- */

/* The Sticky Sidebar */
.sticky-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 140px;
    /* Sticks just below the fixed navbar */
    height: fit-content;
    padding-bottom: 20px;
}

/* Beautiful Typography for Long Text */
.story-paragraph {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-weight: 400;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* GSAP Reading Focus State (Handled by JS) */
.story-paragraph.dimmed {
    opacity: 0.3;
    /* Fades out text when it's not the main focus */
}

/* The vertical tracker line */
.story-progress-tracker {
    position: relative;
    height: 150px;
    margin-top: 30px;
    padding-left: 10px;
}

.tracker-line {
    position: absolute;
    top: 0;
    left: 10px;
    width: 2px;
    height: 100%;
    background: rgba(10, 88, 202, 0.1);
}

.tracker-dot {
    position: absolute;
    top: 0;
    left: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-blue);
    box-shadow: 0 0 10px rgba(10, 88, 202, 0.5);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .sticky-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }

    .story-paragraph {
        font-size: 1.1rem;
    }
}

/* --- ABOUT PAGE IMAGE --- */
.about-image-wrapper {
    position: relative;
    overflow: hidden;
}

.about-hero-img {
    object-fit: cover;
    max-height: 500px;
    /* Prevents the image from taking up too much vertical screen space */
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Adds a premium subtle border */
}

/* --- Hero Upgrades --- */
.about-hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(at 80% 0%, rgba(10, 88, 202, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(0, 210, 255, 0.1) 0px, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* --- Horizontal Scroll Journey --- */
.horizontal-journey-section {
    background-color: #061020;
    /* Deep dark blue */
    overflow: hidden;
    position: relative;
}

.journey-pin-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.journey-header {
    position: absolute;
    top: 15%;
    left: 5%;
    z-index: 10;
}

.journey-track {
    display: flex;
    gap: 50px;
    padding: 0 5vw;
    width: max-content;
    align-items: center;
    margin-top: 10vh;
}

.journey-card {
    width: 450px;
    height: 500px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.journey-card:hover {
    border-color: rgba(10, 88, 202, 0.5);
    transform: translateY(-10px);
}

.journey-year-bg {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    transition: color 0.4s ease;
}

.journey-card:hover .journey-year-bg {
    color: rgba(10, 88, 202, 0.40);
}

.journey-content {
    position: relative;
    z-index: 2;
}

.journey-progress-container {
    position: absolute;
    bottom: 10%;
    left: 5%;
    right: 5%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.journey-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--brand-blue);
    box-shadow: 0 0 10px var(--brand-blue);
}

/* --- Location & Partner Cards Upgrades --- */
.location-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.location-card:hover {
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.08);
    transform: translateY(-8px);
}

.location-card:hover::before {
    transform: scaleX(1);
}

.partner-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s ease;
    filter: grayscale(100%);
    opacity: 0.6;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.02);
}

.partner-logo-card:hover {
    filter: grayscale(0%);
    opacity: 1;
    border-color: var(--brand-blue);
    box-shadow: 0 15px 35px rgba(10, 88, 202, 0.1);
    transform: scale(1.02);
}

/* Responsive fixes for horizontal scroll */
@media (max-width: 768px) {
    .journey-card {
        width: 85vw;
        height: 400px;
        padding: 25px;
    }

    .journey-year-bg {
        font-size: 4rem;
        top: 20px;
        right: 20px;
    }

    .journey-track {
        padding: 0 20px;
        gap: 20px;
        margin-top: 15vh;
    }
}