/* ============================================
   CSU PERFORMANCE - SERVICIOS PAGE STYLES
   Dark Racing Theme with GSAP Animations
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: rgba(20, 20, 20, 0.8);

    --accent-primary: #ff3c3c;
    --accent-secondary: #ff6b35;
    --accent-gradient: linear-gradient(135deg, #ff3c3c 0%, #ff6b35 100%);
    --accent-glow: 0 0 30px rgba(255, 60, 60, 0.3);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    --border-color: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(255, 60, 60, 0.3);

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 80px;
    --container-width: 1200px;

    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

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

.preloader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.logo-csu {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.3em;
}

.logo-performance {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 0.5em;
    margin-top: 8px;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.nav-logo-csu {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.2em;
}

.nav-logo-performance {
    font-family: var(--font-display);
    font-size: 0.6rem;
    color: var(--text-secondary);
    letter-spacing: 0.4em;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    transition: var(--transition-fast);
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-medium);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
    transition: var(--transition-medium);
}

.mobile-menu.active {
    right: 0;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.mobile-link:hover {
    color: var(--accent-primary);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(10, 10, 10, 0.4) 0%,
            rgba(10, 10, 10, 0.5) 50%,
            rgba(10, 10, 10, 0.7) 100%);
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.hero-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: transparent;
}

.hero-line:nth-child(1) {
    left: 25%;
}

.hero-line:nth-child(2) {
    left: 50%;
}

.hero-line:nth-child(3) {
    left: 75%;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    z-index: 3;
}

/* ============================================
   FLOATING PARTICLES - GPU ACCELERATED
   ============================================ */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Small glowing particles */
.particle--small {
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 60, 60, 0.8) 0%, transparent 70%);
    animation: floatSmall 8s ease-in-out infinite;
}

.particle--medium {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.6) 0%, transparent 70%);
    animation: floatMedium 12s ease-in-out infinite;
}

.particle--large {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 60, 60, 0.05) 0%, transparent 70%);
    filter: blur(40px);
    animation: floatLarge 20s ease-in-out infinite;
}

/* Position variations */
.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    top: 80%;
    animation-delay: -2s;
}

.particle:nth-child(3) {
    left: 35%;
    top: 30%;
    animation-delay: -4s;
}

.particle:nth-child(4) {
    left: 50%;
    top: 70%;
    animation-delay: -6s;
}

.particle:nth-child(5) {
    left: 65%;
    top: 15%;
    animation-delay: -1s;
}

.particle:nth-child(6) {
    left: 80%;
    top: 60%;
    animation-delay: -3s;
}

.particle:nth-child(7) {
    left: 90%;
    top: 40%;
    animation-delay: -5s;
}

.particle:nth-child(8) {
    left: 25%;
    top: 50%;
    animation-delay: -7s;
}

.particle:nth-child(9) {
    left: 70%;
    top: 85%;
    animation-delay: -2.5s;
}

.particle:nth-child(10) {
    left: 45%;
    top: 10%;
    animation-delay: -4.5s;
}

/* GPU-accelerated floating keyframes */
@keyframes floatSmall {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.6;
    }

    25% {
        transform: translate3d(20px, -30px, 0) scale(1.1);
        opacity: 0.9;
    }

    50% {
        transform: translate3d(-10px, -60px, 0) scale(0.9);
        opacity: 0.7;
    }

    75% {
        transform: translate3d(15px, -30px, 0) scale(1.05);
        opacity: 0.8;
    }
}

@keyframes floatMedium {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.4;
    }

    33% {
        transform: translate3d(-30px, -50px, 0) scale(1.15);
        opacity: 0.7;
    }

    66% {
        transform: translate3d(25px, -80px, 0) scale(0.85);
        opacity: 0.5;
    }
}

@keyframes floatLarge {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translate3d(50px, -100px, 0) scale(1.2);
        opacity: 0.5;
    }
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.hero-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: transparent;
}

.hero-line:nth-child(1) {
    left: 20%;
}

.hero-line:nth-child(2) {
    left: 50%;
}

.hero-line:nth-child(3) {
    left: 80%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 60, 60, 0.1);
    border: 1px solid var(--border-accent);
    border-radius: 50px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
}

.badge-icon {
    width: 16px;
    height: 16px;
    stroke: var(--accent-primary);
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-primary);
    letter-spacing: 0.1em;
}

.hero-title {
    font-family: var(--font-display);
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(40px);
}

.title-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-subtitle .highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-medium);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    box-shadow: var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 60, 60, 0.4);
}

.btn-primary svg,
.btn-secondary svg {
    width: 18px;
    height: 18px;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.hero-scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: transparent;
    position: relative;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
    animation: scrollRise 1.5s linear infinite;
}

@keyframes scrollRise {
    0% {
        top: 100%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: -20px;
        opacity: 0;
    }
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-title .accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 60, 60, 0.1);
    border-radius: 12px;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-primary);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.feature {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    background: rgba(255, 60, 60, 0.1);
    color: var(--accent-primary);
    border-radius: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.service-link:hover {
    color: var(--accent-primary);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   SIMULATOR SECTION
   ============================================ */
.simulator {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.simulator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.simulator-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.form-select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-simulate {
    width: 100%;
    padding: 16px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 8px;
    color: var(--bg-primary);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-medium);
}

.btn-simulate:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--accent-glow);
}

.btn-simulate:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-simulate svg {
    width: 20px;
    height: 20px;
}

.simulator-results {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.results-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.results-placeholder svg {
    width: 80px;
    height: 80px;
    stroke: var(--border-color);
    margin-bottom: 16px;
}

.results-placeholder p {
    font-size: 0.95rem;
}

/* Stage Cards */
.stages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.stage-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-medium);
}

.stage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.stage-card.featured {
    border-color: var(--accent-primary);
    position: relative;
}

.stage-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
}

.stage-header {
    padding: 24px;
    background: rgba(255, 60, 60, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.stage-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-primary);
}

.stage-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.stage-badge {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    background: var(--accent-gradient);
    color: var(--bg-primary);
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stage-body {
    padding: 24px;
}

.stage-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.stage-features {
    list-style: none;
    margin-bottom: 24px;
}

.stage-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.stage-features li:last-child {
    border-bottom: none;
}

.stage-features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--accent-primary);
}

.stage-power {
    margin-top: 20px;
}

.power-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.power-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
    transition: width 1s ease-out;
}

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

.stage-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
}

.btn-stage {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    background: transparent;
    border: 1px solid var(--accent-primary);
    border-radius: 8px;
    color: var(--accent-primary);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-medium);
}

.btn-stage:hover {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    border-color: transparent;
}

.simulator-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
}

.simulator-disclaimer svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    stroke: var(--accent-secondary);
}

.simulator-disclaimer p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   BRANDS SECTION
   ============================================ */
.brands {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.brands-slider {
    margin: 40px 0;
    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);
}

.brands-track {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
}

.brand-item {
    flex-shrink: 0;
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) brightness(0.5);
    opacity: 0.6;
    transition: var(--transition-medium);
}

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

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

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

    100% {
        transform: translateX(calc(-120px * 12 - 60px * 12));
    }
}

.brands-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.brands-note a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

.brands-note a:hover {
    text-decoration: underline;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
    border-top: 1px solid var(--border-accent);
    border-bottom: 1px solid var(--border-accent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-logo-csu {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.2em;
}

.footer-logo-performance {
    font-family: var(--font-display);
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 0.4em;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 8px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.footer-links ul,
.footer-contact ul,
.footer-hours ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer-contact li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--accent-primary);
    margin-top: 2px;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.footer-hours li:last-child {
    border-bottom: none;
}

.footer-bottom {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-medium);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    white-space: nowrap;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .stages-grid {
        grid-template-columns: 1fr;
    }

    .simulator-container {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
}

/* ============================================
   BRANDS SECTION
   ============================================ */
.brands {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.brands-slider {
    margin-top: 48px;
    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);
}

.brands-track {
    display: flex;
    gap: 60px;
    animation: scroll-brands 30s linear infinite;
}

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

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

.brand-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 60px;
    transition: var(--transition-medium);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: var(--transition-medium);
    padding: 0 10px;
}

.brand-item:hover .brand-name {
    color: var(--accent-primary);
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.brand-item:hover {
    transform: scale(1.1);
}

.brand-item:hover .brand-name {
    color: var(--accent-primary);
}

.brands-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-muted);
}

.brands-note a {
    color: var(--accent-primary);
    text-decoration: underline;
}