/* ========================================
   GRIP RACING - CSS STYLES
   ======================================== */

:root {
    --orange: #FF6B00;
    --orange-dark: #E05D00;
    --orange-light: #FF8533;
    --black: #F8F9FA;
    --dark-gray: #FFFFFF;
    --medium-gray: #F5F5F5;
    --light-gray: #6C757D;
    --white: #1A1A1A;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-glow: 0 0 40px rgba(255, 107, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F8F9FA;
    color: #1A1A1A;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 1);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.4));
}

.brand-text {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-text {
    color: #1A1A1A;
}

.logo-racing {
    color: var(--orange);
    margin-left: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #1A1A1A;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--orange);
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

.nav-menu a:hover::after {
    width: 100%;
}

.navbar-logo {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 0;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 60px,
            rgba(255, 107, 0, 0.05) 60px,
            rgba(255, 107, 0, 0.05) 61px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 60px,
            rgba(255, 107, 0, 0.05) 60px,
            rgba(255, 107, 0, 0.05) 61px
        );
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

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

.hero-line {
    position: absolute;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.3), transparent);
    opacity: 0.4;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.2);
}

.hero-line-1 {
    top: 20%;
    animation: lineMove1 15s ease-in-out infinite;
}

.hero-line-2 {
    top: 50%;
    animation: lineMove2 12s ease-in-out infinite;
}

.hero-line-3 {
    top: 80%;
    animation: lineMove3 18s ease-in-out infinite;
}

@keyframes lineMove1 {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

@keyframes lineMove2 {
    0%, 100% { transform: translateX(100%); }
    50% { transform: translateX(-100%); }
}

@keyframes lineMove3 {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.hero-car-image {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1600px;
    height: 65%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

.car-showcase {
    width: 85%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.6)) drop-shadow(0 -10px 40px rgba(255, 107, 0, 0.3)) brightness(1.15) contrast(1.2);
    animation: carFloat 6s ease-in-out infinite;
}

@keyframes carFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-25px) scale(1.02); }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 3;
    pointer-events: none;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1.2s ease-out;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    margin-bottom: 35px;
}

.hero-logo-svg {
    height: 80px;
    width: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 20px rgba(255, 107, 0, 0.8)) brightness(1.1);
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.logo-large {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: 8px;
    line-height: 1;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.logo-large .logo-text {
    display: inline-block;
    animation: glowPulse 3s ease-in-out infinite;
    color: #FFFFFF;
}

.logo-large .logo-racing {
    display: inline-block;
    margin-left: 20px;
    color: var(--orange);
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 107, 0, 0.8), 0 4px 20px rgba(0, 0, 0, 0.5); }
    50% { text-shadow: 0 0 50px rgba(255, 107, 0, 1), 0 4px 30px rgba(0, 0, 0, 0.7); }
}

.logo-subtitle {
    font-size: 18px;
    color: #6C757D;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: none;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1A1A1A;
    text-shadow: none;
}

.hero-description {
    font-size: 18px;
    color: #6C757D;
    margin-bottom: 35px;
    letter-spacing: 1px;
    text-shadow: none;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    display: inline-block;
    padding: 18px 50px;
    background: var(--orange);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.4);
    border: 2px solid var(--orange);
}

.btn-primary:hover {
    background: transparent;
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(255, 107, 0, 0.6);
}

.btn-secondary {
    display: inline-block;
    padding: 18px 50px;
    background: transparent;
    color: #1A1A1A;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid #1A1A1A;
}

.btn-secondary:hover {
    background: #1A1A1A;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(26, 26, 26, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--orange);
    border-radius: 25px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { top: 10px; opacity: 1; }
    50% { top: 30px; opacity: 0.3; }
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats {
    padding: 60px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
    border-top: 2px solid var(--orange);
    border-bottom: 2px solid var(--orange);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    box-shadow: 0 0 20px var(--orange);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-secondary {
    margin-top: 40px;
}

.stat-card {
    text-align: center;
    padding: 40px 25px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(255, 107, 0, 0.03) 100%);
    border: 2px solid rgba(255, 107, 0, 0.25);
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-width: 0;
}

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

.stat-card:hover::before {
    left: 100%;
    transition: left 0.8s;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.15) 0%, rgba(255, 107, 0, 0.08) 100%);
    border-color: var(--orange);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.3);
}

.stat-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--orange);
    white-space: nowrap;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(255, 107, 0, 0.3);
    letter-spacing: -1px;
    display: inline-block;
}

.stat-label {
    font-size: 15px;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.stat-sublabel {
    font-size: 13px;
    color: var(--orange);
    margin-top: 8px;
    font-weight: 600;
    opacity: 0.9;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: 60px 0;
    background: #F8F9FA;
}

.about-hero {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 70px auto 80px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--orange);
    box-shadow: 0 25px 80px rgba(255, 107, 0, 0.25);
    transition: var(--transition);
}

.about-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 100px rgba(255, 107, 0, 0.35);
}

.about-car-image {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1) contrast(1.1);
    transition: var(--transition);
}

.about-hero:hover .about-car-image {
    filter: brightness(1.05) contrast(1.15);
    transform: scale(1.05);
}

.about-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.95), transparent);
}

.about-overlay h3 {
    font-size: 36px;
    font-weight: 900;
    color: #FFFFFF;
    text-shadow: 0 2px 20px rgba(255, 107, 0, 0.6);
    letter-spacing: 2px;
}

.section-title {
    font-size: 52px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    color: #1A1A1A;
    position: relative;
    letter-spacing: -0.5px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
}

.about-text .lead {
    font-size: 20px;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--light-gray);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-card {
    padding: 20px 25px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border: 2px solid #E9ECEF;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, rgba(255, 133, 51, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::after {
    left: 100%;
}

.feature-card:hover {
    border-color: var(--orange);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.25);
}

.feature-icon-bg {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--orange) 0%, #FF8533 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(255, 107, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon-bg {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 30px rgba(255, 107, 0, 0.5);
}

.feature-icon-svg {
    width: 22px;
    height: 22px;
    color: white;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon-svg {
    transform: scale(1.1);
}

.feature-stats {
    display: flex;
    align-items: baseline;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.feature-number {
    font-size: 28px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    letter-spacing: -1px;
}

.feature-label {
    font-size: 11px;
    font-weight: 700;
    color: #6C757D;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: #1A1A1A;
    margin: 0;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #6C757D;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

.feature-badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(255, 133, 51, 0.1) 100%);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 16px;
    font-size: 10px;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-badge {
    background: linear-gradient(135deg, var(--orange) 0%, #FF8533 100%);
    color: white;
    border-color: var(--orange);
    transform: translateX(5px);
}

/* ========================================
   DETAILED STATS SECTION
   ======================================== */

.detailed-stats {
    padding: 60px 0;
    background: #FFFFFF;
}

.stats-category {
    margin-bottom: 80px;
}

.stats-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 32px;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 15px;
    text-align: center;
}

.category-description {
    text-align: center;
    font-size: 18px;
    color: #6C757D;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.detailed-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.detail-stat-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border: 2px solid rgba(255, 107, 0, 0.2);
    border-radius: 15px;
    padding: 35px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.detail-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
}

.detail-stat-value {
    font-size: 42px;
    font-weight: 900;
    color: var(--orange);
    margin-bottom: 8px;
    white-space: nowrap;
}

.detail-stat-label {
    font-size: 14px;
    color: #6C757D;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.league-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border: 2px solid #E9ECEF;
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.league-card:hover {
    transform: translateY(-8px);
    border-color: var(--orange);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.2);
}

.league-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 107, 0, 0.1);
}

.league-header h4 {
    font-size: 24px;
    font-weight: 800;
    color: #1A1A1A;
    margin: 0;
}

.league-badge {
    background: linear-gradient(135deg, var(--orange), #FF8533);
    color: #FFFFFF;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.league-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 15px;
}

.league-stat {
    text-align: center;
    padding: 15px;
    background: rgba(255, 107, 0, 0.05);
    border-radius: 10px;
}

.league-stat .stat-value {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--orange);
    margin-bottom: 5px;
    white-space: nowrap;
}

.league-stat .stat-label {
    display: block;
    font-size: 12px;
    color: #6C757D;
    font-weight: 600;
    text-transform: uppercase;
}

.league-detail {
    font-size: 13px;
    color: #6C757D;
    text-align: center;
    margin: 0;
    font-style: italic;
}

.leagues-footer {
    text-align: center;
    font-size: 16px;
    color: #6C757D;
    font-style: italic;
    margin-top: 40px;
}

/* ========================================
   TEAM SECTION (Pilotos + Staff)
   ======================================== */

.team-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 50%, #F8F9FA 100%);
    position: relative;
}

/* Pilotos Overview */
.pilotos-overview {
    margin-bottom: 80px;
    padding-bottom: 60px;
    border-bottom: 2px solid #E9ECEF;
}

.subsection-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: var(--orange);
    letter-spacing: -0.5px;
}

.subsection-subtitle {
    text-align: center;
    color: #6C757D;
    font-size: 16px;
    margin-bottom: 40px;
    font-weight: 400;
}

.pilotos-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.pilotos-stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 2px solid #E9ECEF;
    transition: var(--transition);
}

.pilotos-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.15);
}

.stat-icon {
    font-size: 48px;
    line-height: 1;
}

.stat-content {
    flex: 1;
}

.pilotos-stat-card .stat-value {
    font-size: 40px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 8px;
}

.pilotos-stat-card .stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #6C757D;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pilotos-description {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: #495057;
}

.pilotos-description strong {
    color: var(--orange);
    font-weight: 700;
}

.pilotos-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
}

/* Staff Subsection */
.staff-subsection {
    margin-top: 60px;
}

.section-subtitle {
    text-align: center;
    color: #6C757D;
    font-size: 18px;
    margin-top: -20px;
    margin-bottom: 70px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.staff-card {
    text-align: center;
    padding: 35px 25px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border: 2px solid #E9ECEF;
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.staff-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
    width: 100%;
}

.staff-link:hover,
.staff-link:focus,
.staff-link:active,
.staff-link:visited {
    text-decoration: none !important;
    color: inherit;
}

.staff-link * {
    text-decoration: none !important;
}

.staff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.staff-card:hover {
    transform: translateY(-12px);
    border-color: var(--orange);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.2);
    background: linear-gradient(135deg, #FFF5F0 0%, #FFFFFF 100%);
}

.staff-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--orange);
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.3);
}

.staff-card:hover .staff-avatar {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.5);
}

.avatar-placeholder {
    font-size: 32px;
    font-weight: 900;
    color: var(--orange);
}

.staff-name {
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 8px;
    margin-top: 0;
}

.staff-role {
    font-size: 13px;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
}

.staff-description {
    font-size: 14px;
    color: #6C757D;
    line-height: 1.6;
    margin: 15px 0;
    text-align: center;
}

.staff-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
}

.highlight-badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.08);
    color: var(--orange);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(255, 107, 0, 0.2);
    white-space: nowrap;
    transition: var(--transition);
}

.staff-card:hover .highlight-badge {
    background: rgba(255, 107, 0, 0.12);
    border-color: rgba(255, 107, 0, 0.3);
    transform: scale(1.05);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    padding: 60px 0;
    background: #FFFFFF;
}

.contact-description {
    text-align: center;
    color: #6C757D;
    font-size: 18px;
    margin-top: -20px;
    margin-bottom: 50px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px 45px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    color: #1A1A1A;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid #E9ECEF;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.social-btn:hover::before {
    width: 300px;
    height: 300px;
}

.social-btn svg {
    width: 24px;
    height: 24px;
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(188, 24, 136, 0.3);
}

.social-btn.twitter:hover {
    background: #000000;
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.cta-box {
    margin-top: 80px;
    padding: 70px 60px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border: 3px solid var(--orange);
    border-radius: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-box h3 {
    position: relative;
    z-index: 1;
}

.cta-box p {
    position: relative;
    z-index: 1;
}

.cta-box h3 {
    font-size: 32px;
    color: var(--orange);
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 18px;
    color: #6C757D;
}

/* ========================================
   ACHIEVEMENTS SECTION
   ======================================== */

.achievements {
    padding: 60px 0;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.achievements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 0, 0.03), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 0, 0.03), transparent 40%);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--orange), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 45%;
    text-align: right;
    font-size: 48px;
    font-weight: 900;
    color: var(--orange);
    opacity: 0.3;
    letter-spacing: 2px;
}

.timeline-item:nth-child(even) .timeline-year {
    text-align: left;
}

.timeline-content {
    width: 45%;
    padding: 35px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border: 2px solid rgba(255, 107, 0, 0.25);
    border-radius: 15px;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--orange);
    border: 4px solid #F8F9FA;
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -61px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -61px;
}

.timeline-content:hover {
    transform: scale(1.05);
    border-color: var(--orange);
    box-shadow: 0 15px 50px rgba(255, 107, 0, 0.25);
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F0 100%);
}

.timeline-content h3 {
    font-size: 24px;
    color: var(--orange);
    margin-bottom: 10px;
    font-weight: 700;
}

.timeline-content p {
    color: #6C757D;
    line-height: 1.6;
    font-size: 15px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 80px;
}

.highlight-card {
    padding: 45px 35px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border: 2px solid rgba(255, 107, 0, 0.2);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.highlight-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    transform: scaleX(0);
    transition: var(--transition);
}

.highlight-card:hover::after {
    transform: scaleX(1);
}

.highlight-card:hover {
    transform: translateY(-12px);
    border-color: var(--orange);
    box-shadow: 0 25px 60px rgba(255, 107, 0, 0.25);
    background: linear-gradient(135deg, #FFF8F3 0%, #FFFFFF 100%);
}

.highlight-icon {
    font-size: 64px;
    margin-bottom: 25px;
    filter: grayscale(0.1);
    transition: var(--transition);
}

.highlight-card:hover .highlight-icon {
    transform: scale(1.1);
    filter: grayscale(0);
}

.highlight-card h3 {
    font-size: 22px;
    color: #1A1A1A;
    margin-bottom: 15px;
    font-weight: 700;
}

.highlight-card p {
    color: #6C757D;
    font-size: 14px;
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: 80px 0 30px;
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
    border-top: 2px solid var(--orange);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    box-shadow: 0 0 20px var(--orange);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 107, 0, 0.7)) brightness(1.1);
    margin-bottom: 10px;
}

.footer-brand {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 4px;
}

.footer-tagline {
    color: #6C757D;
    font-size: 15px;
    letter-spacing: 2px;
    margin-top: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.footer-column h4 {
    color: var(--orange);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    color: #6C757D;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--orange);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #E9ECEF;
}

.footer-bottom p {
    color: #6C757D;
    font-size: 13px;
    margin-bottom: 10px;
}

.footer-stats {
    color: var(--orange);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-dev {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

.footer-dev strong {
    color: #ff6b00;
    font-weight: 600;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */

.partners {
    padding: 60px 0;
    background: #2F2F2F;
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.05), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 107, 0, 0.05), transparent 50%);
}

.partner-logo {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.partner-card {
    padding: 50px 100px;
    background: #1A1A1A;
    border: 3px solid var(--orange);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.partner-card:hover::before {
    left: 100%;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 107, 0, 0.4);
}

.partner-card h3 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 6px;
    color: var(--white);
    text-shadow: 0 0 30px rgba(255, 107, 0, 0.6);
    margin-bottom: 12px;
}

.partner-tagline {
    color: var(--orange);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 80px;
    }

    .timeline-year {
        width: 100%;
        text-align: left !important;
        font-size: 36px;
        margin-bottom: 15px;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-content::before {
        left: -61px !important;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }

    .nav-menu {
        gap: 30px;
    }

    .hero-logo-svg {
        height: 70px;
    }

    .logo-large {
        font-size: 56px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-car-image {
        height: 50%;
        bottom: 70px;
    }

    .car-showcase {
        width: 90%;
    }

    .footer-links {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .navbar-logo {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 8px;
        z-index: 10;
    }

    .navbar-logo img {
        height: 50px;
        width: auto;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 40, 60, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 50px;
        transition: var(--transition);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 107, 0, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 18px;
    }

    .nav-logo {
        height: 40px;
    }

    .brand-text {
        font-size: 18px;
    }

    .hero-logo-svg {
        height: 60px;
    }

    .logo-large {
        font-size: 42px;
        letter-spacing: 5px;
    }

    .logo-subtitle {
        font-size: 14px;
        letter-spacing: 5px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 350px;
    }

    .hero-car-image {
        height: 45%;
        bottom: 60px;
    }

    .car-showcase {
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        padding: 15px 40px;
        font-size: 14px;
        width: 100%;
    }

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

    .about-overlay h3 {
        font-size: 28px;
    }

    .section-title {
        font-size: 32px;
    }

    .detailed-stats-grid,
    .leagues-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }

    .category-title {
        font-size: 28px;
    }

    .staff-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 25px;
    }

    .staff-card {
        min-height: 350px;
    }

    .highlight-badge {
        font-size: 10px;
        padding: 5px 10px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .social-btn {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }

    .cta-box {
        padding: 40px 25px;
    }

    .cta-box h3 {
        font-size: 24px;
    }

    .partner-card {
        padding: 35px 50px;
    }

    .partner-card h3 {
        font-size: 36px;
        letter-spacing: 4px;
    }

    .timeline {
        padding: 20px 0;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
        margin-bottom: 40px;
    }

    .timeline-year {
        font-size: 28px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content::before {
        left: -51px !important;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .footer-logo {
        height: 60px;
    }

    .footer-brand {
        font-size: 28px;
    }

    /* Team Section Responsive */
    .subsection-title {
        font-size: 28px;
    }

    .pilotos-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pilotos-stat-card {
        padding: 25px;
    }

    .stat-icon {
        font-size: 40px;
    }

    .pilotos-stat-card .stat-value {
        font-size: 32px;
    }

    .pilotos-description {
        font-size: 16px;
        padding: 0 20px;
    }

    .btn-large {
        padding: 15px 40px;
        font-size: 16px;
    }

    .pilotos-overview {
        margin-bottom: 60px;
        padding-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero-logo-svg {
        height: 50px;
    }

    .logo-large {
        font-size: 32px;
        letter-spacing: 3px;
    }

    .logo-subtitle {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-car-image {
        height: 40%;
        bottom: 50px;
    }

    .hero-wave {
        height: 60px;
    }

    .about-overlay h3 {
        font-size: 20px;
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detailed-stats-grid,
    .leagues-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-title {
        font-size: 24px;
    }

    .detail-stat-value {
        font-size: 36px;
    }

    .league-stats {
        gap: 15px;
    }

    .section-title {
        font-size: 26px;
    }

    .staff-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .staff-card {
        min-height: auto;
        padding: 25px 20px;
    }

    .staff-description {
        font-size: 13px;
    }

    .staff-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .avatar-placeholder {
        font-size: 28px;
    }

    .partner-card {
        padding: 30px 30px;
    }

    .partner-card h3 {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .partner-tagline {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .timeline-year {
        font-size: 24px;
    }

    .timeline-content h3 {
        font-size: 18px;
    }

    .timeline-content p {
        font-size: 14px;
    }

    .highlight-icon {
        font-size: 42px;
    }

    .footer-brand {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .footer-logo {
        height: 50px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-orange {
    color: var(--orange);
}

.text-gradient {
    background: linear-gradient(135deg, var(--white) 0%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow {
    box-shadow: var(--shadow-glow);
}

/* ========================================
   SCROLL ENHANCEMENTS
   ======================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F8F9FA;
}

::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange-light);
}
