/* 
   APEX DRIVERS CLUB - STYLESHEET
   Inspired by Superhero Cheesecake Boutique Design System
*/

:root {
    /* Color Palette */
    --color-accent: #fe5733;         /* Vermilion Orange-Red */
    --color-accent-rgb: 254, 87, 51;
    --color-dark: #1e1e1e;           /* Deep Black-Gray */
    --color-light: #e8e5e2;          /* Sand Warm-Gray */
    --color-light-darker: #CFCDCB;   /* Accentuated Sand */
    --color-gray: #686868;           /* Muted Gray */
    --color-white: #ffffff;
    --color-success: #10B981;        /* Emerald Green for verified */
    --color-dark-muted: rgba(255, 255, 255, 0.1);

    /* Fonts */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-code: 'JetBrains Mono', "Courier New", Courier, monospace;

    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Core Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: auto; /* Handled by smooth JS interaction */
    background-color: var(--color-dark);
    font-family: var(--font-primary);
    color: var(--color-light);
    overflow-x: hidden;
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.loading {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

li {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

/* Utility Code Font */
.code-font {
    font-family: var(--font-code);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 3px;
}

/* Custom Cursor */
.custom-cursor {
    display: none;
}

@media (min-width: 1024px) {
    .custom-cursor {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 9999;
    }
    
    .custom-cursor__dot {
        position: absolute;
        width: 8px;
        height: 8px;
        background-color: var(--color-accent);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    }
    
    .custom-cursor__circle {
        position: absolute;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(254, 87, 51, 0.5);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), border-color 0.3s ease, background-color 0.3s ease;
    }

    .custom-cursor__text {
        position: absolute;
        transform: translate(-50%, -50%);
        font-family: var(--font-primary);
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        color: var(--color-white);
        opacity: 0;
        scale: 0.5;
        transition: opacity 0.3s ease, scale 0.3s ease;
        pointer-events: none;
        white-space: nowrap;
    }

    /* Cursor Hover states */
    .custom-cursor.hovering-link .custom-cursor__circle {
        width: 60px;
        height: 60px;
        border-color: var(--color-accent);
        background-color: rgba(254, 87, 51, 0.05);
    }
    
    .custom-cursor.hovering-link .custom-cursor__dot {
        background-color: var(--color-white);
    }

    .custom-cursor.hovering-car .custom-cursor__circle {
        width: 95px;
        height: 95px;
        border-color: var(--color-accent);
        background-color: var(--color-accent);
    }

    .custom-cursor.hovering-car .custom-cursor__dot {
        opacity: 0;
    }

    .custom-cursor.hovering-car .custom-cursor__text {
        opacity: 1;
        scale: 1;
    }
}

/* Preloader styling */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-dark);
    transition: opacity 0.8s cubic-bezier(0.76, 0, 0.24, 1), visibility 0.8s;
}

.preloader__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    transform: scaleY(1);
    transform-origin: top;
    transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.preloader__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-white);
}

.preloader__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.preloader__logo-text {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    line-height: 1;
}

.preloader__logo-sub {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.preloader__bar {
    width: 200px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.preloader__progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--color-white);
    transition: width 0.1s linear;
}

.preloader__status {
    font-family: var(--font-code);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
}

/* Loaded state */
.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader.fade-out .preloader__background {
    transform: scaleY(0);
}

/* Link Button Underline Effect */
.button-link {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

.button-link__label {
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.button-link__lines {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    overflow: hidden;
}

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

.button-link__lines-wrapper span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.button-link__lines-wrapper span:first-child {
    transform: translate3d(0, 0, 0);
}

.button-link__lines-wrapper span:last-child {
    transform: translate3d(-105%, 0, 0);
}

.button-link:hover .button-link__label {
    color: var(--color-accent);
}

.button-link:hover .button-link__lines-wrapper span:first-child {
    transform: translate3d(105%, 0, 0);
}

.button-link:hover .button-link__lines-wrapper span:last-child {
    transform: translate3d(0, 0, 0);
}

/* Header styling */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4%;
}

.logo-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
}

.logo-header__icon {
    width: 40px;
    height: 40px;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.logo-header__text {
    display: flex;
    flex-direction: column;
}

.logo-header__title {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1;
}

.logo-header__subtitle {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-gray);
    margin-top: 2px;
}

.signature-header {
    display: none;
    position: relative;
    padding-left: 2rem;
}

.signature-header__line {
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.5rem;
    height: 1px;
    background-color: var(--color-accent);
}

.signature-header__word {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-gray);
    margin-right: 1rem;
}

.signature-header__word.accent {
    color: var(--color-accent);
}

.button-join-header {
    color: var(--color-white);
}

@media (min-width: 1024px) {
    .site-header {
        padding: 3rem 4.16667%;
    }
    .signature-header {
        display: flex;
        align-items: center;
    }
}

/* Scroll Progress indicator */
.scroll-indicator {
    display: none;
    position: fixed;
    left: 4.16667%;
    bottom: 3rem;
    z-index: 90;
    color: var(--color-gray);
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
}

.scroll-indicator__wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: rotate(-90deg);
    transform-origin: left center;
}

.scroll-indicator__track {
    width: 60px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
}

.scroll-indicator__progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--color-accent);
}

/* Shade Styles for sections */
[data-shade="dark"] {
    background-color: var(--color-dark);
    color: var(--color-light);
}

[data-shade="light"] {
    background-color: var(--color-light);
    color: var(--color-dark);
}

/* HERO SECTION */
.section-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-parallax-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(30, 30, 30, 0.4) 0%, rgba(30, 30, 30, 0.95) 100%);
}

.section-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-mask-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.hero-mask-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    transform: translate3d(-101%, 0, 0);
    z-index: 3;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 0.95;
    color: var(--color-white);
    transform: translate3d(0, 100%, 0);
    transition: transform 0.8s var(--ease-out-expo);
}

.hero-subtitle {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-light);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.8s ease 0.4s, transform 0.8s var(--ease-out-expo) 0.4s;
}

.hero-subtitle .bullet {
    width: 4px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.hero-cta {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.8s ease 0.6s, transform 0.8s var(--ease-out-expo) 0.6s;
    color: var(--color-white);
}

/* Animations for Reveal on Page Load */
body.loaded .hero-title {
    transform: translate3d(0, 0, 0);
}

body.loaded .hero-mask-slider {
    animation: maskReveal 1.2s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

body.loaded .hero-subtitle,
body.loaded .hero-cta {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@keyframes maskReveal {
    0% {
        transform: translate3d(-101%, 0, 0);
    }
    45% {
        transform: translate3d(0, 0, 0);
    }
    55% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(101%, 0, 0);
    }
}

/* INTRO SECTION */
.section-intro {
    padding: 8rem 8% 8rem 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.section-intro__content {
    max-width: 900px;
}

.section-intro__title {
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.accent-text {
    font-weight: 700;
    color: var(--color-accent);
}

/* FLEET SECTION */
.section-fleet {
    padding: 4rem 4% 8rem 4%;
    position: relative;
    z-index: 10;
}

.section-fleet__header {
    margin-bottom: 4rem;
    padding-left: 4.16667%;
}

.section-tag {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1;
}

.fleet-list {
    border-top: 1px solid var(--color-light-darker);
    position: relative;
    z-index: 2;
}

.fleet-item {
    display: flex;
    align-items: center;
    padding: 2rem 4.16667%;
    border-bottom: 1px solid var(--color-light-darker);
    border-left: 0px solid var(--color-accent);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: background-color 0.3s ease, border-left 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding-left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fleet-item__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.02;
    filter: grayscale(100%) contrast(1.1);
    transform: scale(1);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    pointer-events: none;
}

.fleet-item:hover .fleet-item__bg {
    opacity: 0.15;
    transform: scale(1.03);
    filter: grayscale(0%) contrast(1.1);
}

/* Ensure text content stays on top of background image */
.fleet-item__index,
.fleet-item__details,
.fleet-item__action {
    position: relative;
    z-index: 1;
}

.fleet-item__details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.fleet-item__index {
    font-family: var(--font-code);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-gray);
    width: 6.25%;
}



.fleet-item__category {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-gray);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.fleet-item__name {
    font-size: clamp(1.25rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
    transition: transform 0.3s var(--ease-out-expo), color 0.3s ease;
    transform-origin: left center;
}

.fleet-item__meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.checksum-badge {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--color-dark);
    background-color: rgba(30, 30, 30, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-success);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.checksum-value {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--color-gray);
}

.fleet-item__action {
    display: none;
    align-items: center;
    gap: 1rem;
    pointer-events: none;
}

.fleet-item__line {
    width: 60px;
    height: 1px;
    background-color: var(--color-dark);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.5s var(--ease-out-expo);
}

.fleet-item__action-label {
    font-size: 1.125rem;
    font-weight: 700;
    opacity: 0;
    transform: translate3d(-10px, 0, 0);
    transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

/* Hover effects for Fleet Item */
@media (min-width: 1024px) {
    .fleet-item__action {
        display: flex;
    }

    .fleet-item:hover {
        background-color: rgba(254, 87, 51, 0.02);
        border-left: 6px solid var(--color-accent);
        padding-left: calc(4.16667% + 15px);
    }

    .fleet-item:hover .fleet-item__name {
        color: var(--color-accent);
        transform: translate3d(15px, 0, 0);
    }
    
    .fleet-item:hover .fleet-item__category {
        color: var(--color-accent);
    }

    .fleet-item:hover .fleet-item__line {
        transform: scaleX(1);
        transform-origin: left center;
        background-color: var(--color-accent);
    }

    .fleet-item:hover .fleet-item__action-label {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        color: var(--color-accent);
    }
}

/* Fleet Preview Panel (Fixed position background mask that displays car image) */
.fleet-preview {
    display: none;
    position: fixed;
    right: 4.16667%;
    top: 50%;
    transform: translateY(-50%);
    width: 25vw;
    height: 60vh;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    background-color: var(--color-dark);
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    transition: clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.fleet-preview.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.fleet-preview__img-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.fleet-preview__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    scale: 1.1;
    transition: scale 0.8s var(--ease-out-expo), transform 0.2s ease;
    filter: brightness(0.65) contrast(1.15);
}

.fleet-preview.active .fleet-preview__img {
    scale: 1;
}

.fleet-preview__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.2) 0%, rgba(30, 30, 30, 0.8) 100%);
    z-index: 2;
}

.fleet-preview__data {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    color: var(--color-white);
}

.preview-metric {
    display: flex;
    flex-direction: column;
}

.preview-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 2px;
}

.preview-val {
    font-family: var(--font-code);
    font-size: 0.875rem;
    font-weight: 500;
}

@media (min-width: 1024px) {
    .fleet-preview {
        display: block;
    }
    
    /* Make fleet items list narrower on desktop to leave room for preview */
    .fleet-list {
        width: 65%;
    }
}

/* ==========================================
   SETUP GUIDE SECTION STYLING
   ========================================== */
.section-guide {
    padding: 8rem 4%;
    position: relative;
    z-index: 10;
}

.section-guide__header {
    max-width: 900px;
    margin-bottom: 3.5rem;
    padding-left: 4.16667%;
}

.guide-warning {
    background-color: rgba(254, 87, 51, 0.06);
    border-left: 4px solid var(--color-accent);
    padding: 1.25rem 1.75rem;
    color: var(--color-dark);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-top: 1.75rem;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert-icon-wrapper {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-svg {
    display: block;
}

.alert-text-wrapper {
    flex-grow: 1;
}

.build-download-box {
    background-color: rgba(254, 87, 51, 0.03);
    border: 1px solid var(--color-light-darker);
    border-left: 4px solid var(--color-accent);
    padding: 1.75rem;
    border-radius: 0 6px 6px 0;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.build-tag {
    font-size: 0.6875rem;
    margin-bottom: 0.25rem;
}

.build-download-box__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
}

.build-download-box__desc {
    font-size: 0.9375rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.build-download-box__cta {
    margin-bottom: 0.5rem;
}

.build-download-box__instruction {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-dark);
    background: linear-gradient(135deg, rgba(254, 87, 51, 0.09) 0%, rgba(254, 87, 51, 0.03) 100%);
    padding: 1.25rem;
    border-radius: 6px;
    border: 1px solid rgba(254, 87, 51, 0.15);
    border-left: 4px solid var(--color-accent);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(254, 87, 51, 0.03);
}

.instruction-body {
    margin: 0;
    color: rgba(30, 30, 30, 0.85);
    font-weight: 500;
}

.instruction-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-weight: 700;
}

.instruction-svg {
    flex-shrink: 0;
}

.instruction-body {
    color: var(--color-gray);
    line-height: 1.5;
}

.guide-tabs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--color-light-darker);
    padding-left: 4.16667%;
    position: relative;
}

.guide-tab-btn {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--color-gray);
    padding: 1rem 0.5rem;
    position: relative;
    margin-bottom: -1px;
    transition: var(--transition-fast);
    border-bottom: 2px solid transparent;
}

.guide-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transform: translateX(-50%);
    transition: width 0.4s var(--ease-out-expo);
}

.guide-tab-btn.active {
    color: var(--color-accent);
}

.guide-tab-btn.active::after {
    width: 100%;
}

.guide-content {
    display: none;
}

.guide-content.active {
    display: block;
}

.guide-steps-list {
    border-top: 1px solid var(--color-light-darker);
}

.guide-step {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 4.16667%;
    border-bottom: 1px solid var(--color-light-darker);
    gap: 1rem;
}

.guide-step__num {
    font-family: var(--font-code);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-accent);
    width: 60px;
}

.guide-step__info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
}

.guide-step__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
}

.guide-step__desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray);
}

.guide-buttons-group {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 0.5rem;
}

/* Activation keys container */
.keys-container {
    margin-top: 1.5rem;
    background-color: rgba(30, 30, 30, 0.03);
    border: 1px solid var(--color-light-darker);
    padding: 1.5rem;
    border-radius: 6px;
}

.keys-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-gray);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 1rem;
}

.keys-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.key-badge {
    font-family: var(--font-code);
    font-size: 0.8125rem;
    padding: 0.75rem 1rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-light-darker);
    color: var(--color-dark);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    word-break: break-all;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.key-badge:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background-color: rgba(254, 87, 51, 0.02);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 15px rgba(254, 87, 51, 0.12);
}

.key-badge.copied {
    border-color: var(--color-success) !important;
    color: var(--color-success) !important;
    background-color: rgba(16, 185, 129, 0.05) !important;
    transform: none !important;
    box-shadow: none !important;
}

@media (min-width: 768px) {
    .guide-step {
        flex-direction: row;
        gap: 0;
    }
    .guide-step__num {
        width: 12.5%;
    }
    .keys-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .section-guide {
        padding: 8rem 8.33333%;
    }
    .guide-steps-list {
        width: 65%;
    }
}

/* ==========================================
   SERVER LOGS & STATUS
   ========================================== */
.section-logs {
    padding: 8rem 4%;
    position: relative;
    z-index: 10;
}

.section-logs__layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.logs-about {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logs-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 2.5rem;
}

.specs-list {
    margin-bottom: 2.5rem;
    border-top: 1px solid var(--color-dark-muted);
}

.specs-item {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--color-dark-muted);
    font-size: 0.875rem;
}

.specs-label {
    color: var(--color-gray);
    font-weight: 500;
}

.specs-value {
    font-family: var(--font-code);
    font-weight: 700;
}

.specs-value.online {
    color: var(--color-success);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logs-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray);
    font-weight: 300;
}

/* Interactive Boot Console */
.logs-console-wrapper {
    flex-grow: 1;
    background-color: #121212;
    border: 1px solid var(--color-dark-muted);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 480px;
}

.console-header {
    background-color: #1a1a1a;
    padding: 0.875rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}

.console-circles {
    display: flex;
    gap: 6px;
}

.console-circles span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #333;
}

.console-circles span:nth-child(1) { background-color: #ff5f56; }
.console-circles span:nth-child(2) { background-color: #ffbd2e; }
.console-circles span:nth-child(3) { background-color: #27c93f; }

.console-title {
    font-family: var(--font-code);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    color: var(--color-gray);
    font-weight: 700;
}

.console-copy-btn {
    font-family: var(--font-code);
    font-size: 0.6875rem;
    color: var(--color-accent);
    font-weight: 700;
    border: 1px solid rgba(254, 87, 51, 0.3);
    padding: 3px 10px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.console-copy-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.console-body {
    padding: 1.5rem;
    overflow-y: auto;
    font-size: 0.8125rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.console-line {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo);
}

.console-line.reveal {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.log-time {
    color: var(--color-gray);
    margin-right: 0.5rem;
}

.log-level {
    font-weight: 700;
    margin-right: 0.5rem;
}

.log-level.dbg {
    color: var(--color-accent);
}

.log-level.inf {
    color: #3b82f6;
}

.console-line.highlight {
    background-color: rgba(59, 130, 246, 0.05);
    border-left: 2px solid #3b82f6;
    padding-left: 0.5rem;
}

.console-line.success {
    background-color: rgba(16, 185, 129, 0.05);
    border-left: 2px solid var(--color-success);
    padding-left: 0.5rem;
    word-break: break-all;
}

@media (min-width: 1024px) {
    .section-logs {
        padding: 10rem 8.33333%;
    }
    .section-logs__layout {
        flex-direction: row;
        gap: 8.33333%;
    }
    .logs-about {
        width: 35%;
        flex-shrink: 0;
    }
    .logs-console-wrapper {
        width: 55%;
    }
}

/* FOOTER SECTION */
.section-footer {
    padding: 10rem 4% 3rem 4%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.section-footer__content {
    text-align: center;
    max-width: 900px;
    width: 100%;
    margin-bottom: 8rem;
}

.footer-tag {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 0.95;
    color: var(--color-white);
    margin-bottom: 4rem;
}

.footer-cta {
    margin-bottom: 4rem;
}

.button-join-massive {
    color: var(--color-white);
}

.button-join-massive .button-link__label {
    font-size: clamp(1rem, 2.5vw, 1.75rem);
}

.footer-secondary-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.or-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--color-gray);
    text-transform: uppercase;
}

.ip-container {
    display: inline-flex;
    align-items: center;
    background-color: #121212;
    border: 1px solid var(--color-dark-muted);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    gap: 1.5rem;
}

.ip-address {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-light);
}

.ip-copy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: var(--transition-fast);
}

.ip-copy-btn:hover {
    color: var(--color-white);
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid var(--color-dark-muted);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-gray);
}

.footer-bottom__right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom__right .bullet {
    width: 4px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.accent-hover {
    transition: color 0.3s ease;
}
.accent-hover:hover {
    color: var(--color-accent);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .section-footer {
        padding: 12rem 8.33333% 4rem 8.33333%;
    }
}

/* Interactive Scroll Reveal Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Stagger transition delay for children of list/grid elements */
.fleet-item:nth-child(1) { transition-delay: 0.05s; }
.fleet-item:nth-child(2) { transition-delay: 0.1s; }
.fleet-item:nth-child(3) { transition-delay: 0.15s; }
.fleet-item:nth-child(4) { transition-delay: 0.2s; }
.fleet-item:nth-child(5) { transition-delay: 0.25s; }
