/* Motorsports Page Specific Styles */
:root {
    --primary-color: #00c0c0;
    --primary-dark: #009999;
    --primary-light: #33cccc;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --dark-bg: #0f1419;
    --card-bg: rgba(255, 255, 255, 0.02);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --gradient-primary: linear-gradient(135deg, #00c0c0 0%, #009999 100%);
    --gradient-accent: linear-gradient(135deg, #4ecdc4 0%, #00c0c0 100%);
    --gradient-dark: linear-gradient(135deg, #0f1419 0%, #1a1a1a 100%);
    --gradient-hero: linear-gradient(135deg, #0f1419 0%, #1e293b 50%, #0f1419 100%);
    --motorsports-red: #e53e3e;
    --motorsports-orange: #fd7f28;
    --gradient-motorsports: linear-gradient(135deg, #e53e3e 0%, #fd7f28 100%);
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0,192,192,0.1), transparent);
    height: 1px;
    width: 100%;
}

.hero-line:nth-child(1) { top: 20%; animation: float 8s ease-in-out infinite; }
.hero-line:nth-child(2) { top: 40%; animation: float 12s ease-in-out infinite reverse; }
.hero-line:nth-child(3) { top: 60%; animation: float 10s ease-in-out infinite; }
.hero-line:nth-child(4) { top: 80%; animation: float 14s ease-in-out infinite reverse; }
.hero-line:nth-child(5) { top: 100%; animation: float 16s ease-in-out infinite; }

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-hero-primary, .btn-hero-outline {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,192,192,0.4);
    color: white;
    text-decoration: none;
}

.btn-hero-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-hero-outline:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Car Display (Vehicle Display) */
.car-display-wrapper {
    position: relative;
    z-index: 2;
}

.geo-accent {
    position: absolute;
    background: rgba(0,192,192,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.geo-circle {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
}

.geo-square {
    width: 150px;
    height: 150px;
    border-radius: 0;
    bottom: -30px;
    left: -30px;
    animation-delay: 3s;
}

.car-display {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.car-display img {
    width: 100%;
    height: auto;
    display: block;
}

.branding-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
}

.branding-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.branding-overlay p {
    margin: 0;
    opacity: 0.9;
}

/* Section Transitions */
.section-transition {
    background: linear-gradient(to bottom, rgba(15,23,42,0) 0%, #f8f9fa 100%);
}

/* Solutions Section */
.solutions-section {
    padding: 80px 0;
    background: #f8fafc;
    position: relative;
}

.solutions-section.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

.solutions-tabs {
    margin-bottom: 3rem;
}

.nav-tabs-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.nav-pills {
    background: rgba(255,255,255,0.9);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.nav-pills .nav-item {
    margin: 0;
}

.nav-pills .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: #6b7280;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 50px;
}

.nav-pills .nav-link:hover {
    background: rgba(0,192,192,0.1);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-pills .nav-link.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0,192,192,0.3);
}

.nav-pills .nav-link .icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Tab Content */
.tab-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
}

.solution-panel {
    padding: 3rem 2rem;
}

.solution-intro {
    padding-right: 2rem;
}

.solution-panel-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.solution-panel-intro {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.solution-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(0,192,192,0.05);
    border: 2px solid rgba(0,192,192,0.1);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.solution-checklist {
    margin-bottom: 2rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.checklist-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.btn-services-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-services-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,192,192,0.4);
    color: white;
    text-decoration: none;
}

/* Feature Cards */
.solution-features {
    padding-left: 1rem;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px rgba(0,0,0,0.1);
    border-color: rgba(0,192,192,0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.feature-accent {
    position: absolute;
    background: rgba(0,192,192,0.05);
    border-radius: 50%;
    pointer-events: none;
}

.feature-accent-1 {
    width: 60px;
    height: 60px;
    top: -30px;
    right: -30px;
}

.feature-accent-2 {
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: -20px;
}

/* Action Banner */
.action-banner {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    color: white;
    margin-top: 4rem;
}

.floating-element {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.floating-element-1 {
    width: 80px;
    height: 80px;
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.floating-element-2 {
    width: 60px;
    height: 60px;
    top: 50px;
    right: 50px;
    animation-delay: 2s;
}

.floating-element-3 {
    width: 100px;
    height: 100px;
    bottom: 30px;
    left: 100px;
    animation-delay: 4s;
}

.floating-element-4 {
    width: 70px;
    height: 70px;
    bottom: 60px;
    right: 30px;
    animation-delay: 6s;
}

.giant-quote {
    position: absolute;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255,255,255,0.05);
    z-index: 1;
    font-family: serif;
}

.giant-quote-left {
    top: -2rem;
    left: 2rem;
}

.giant-quote-right {
    bottom: -4rem;
    right: 2rem;
}

.action-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.action-text-container {
    flex: 1;
}

.action-quote {
    margin-bottom: 1rem;
}

.action-quote p {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.action-quote cite {
    font-size: 0.875rem;
    opacity: 0.8;
}

.action-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.action-text {
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

.action-button-container {
    flex-shrink: 0;
}

/* Syndication Section */
.syndication-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 1rem;
    text-align: center;
}

.title-highlight {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.syndication-cards {
    margin-bottom: 3rem;
}

.syndication-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.syndication-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.card-body {
    padding: 2rem;
    text-align: center;
}

.platform-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.syndication-card:hover .platform-icon {
    transform: scale(1.1) rotate(-5deg);
}

.platform-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.platform-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.platform-stats {
    margin-bottom: 1rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.card-footer {
    background: #f8fafc;
    padding: 1.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-tag {
    background: rgba(0,192,192,0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.syndication-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.syndication-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,192,192,0.4);
    color: white;
    text-decoration: none;
}

.syndication-note {
    color: #6b7280;
    font-size: 0.875rem;
    text-align: center;
    margin: 0;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn-hero-primary, .btn-hero-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .solutions-section {
        padding: 60px 0;
    }
    
    .nav-pills {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .nav-pills .nav-link {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .solution-panel {
        padding: 2rem 1rem;
    }
    
    .solution-intro {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .solution-panel-title {
        font-size: 2rem;
    }
    
    .solution-panel-intro {
        font-size: 1rem;
    }
    
    .solution-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .solution-features {
        padding-left: 0;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-card h4 {
        font-size: 1.125rem;
    }
    
    .action-banner {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .action-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .action-title {
        font-size: 1.5rem;
    }
    
    .action-text, .action-quote p {
        font-size: 1rem;
    }
    
    .giant-quote {
        font-size: 4rem;
    }
    
    .floating-element {
        display: none;
    }
    
    .syndication-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .syndication-card {
        margin-bottom: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .platform-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .platform-name {
        font-size: 1.25rem;
    }
    
    .card-footer {
        padding: 1rem;
    }
    
    .syndication-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}