/* Global Styles */
:root {
    --primary-color: #e60000;
    --primary-color-hover: #cc0000;
    --dark-color: #0a0a0a;
    --light-color: #ffffff;
    --gray-color: #333333;
    --light-gray: #f5f5f5;
    --gradient-dark: linear-gradient(135deg, #000000 0%, #330000 100%);
    --gradient-red: linear-gradient(135deg, #e60000 0%, #990000 100%);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --box-shadow-hover: 0 15px 35px rgba(230, 0, 0, 0.25);
    --transition-fast: all 0.3s ease;
    --transition-medium: all 0.5s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--light-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

.black {
    color: black;
}

.red{
    color: red;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--light-color);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 0, 0, 0.4);
}

.btn-primary:hover:before {
    left: 100%;
}

.btn-outline {
    border: 2px solid var(--light-color);
    color: var(--light-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-text {
    color: var(--light-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-text i {
    margin-right: 8px;
}

.btn-text:hover {
    color: var(--primary-color);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.logo i {
    color: var(--primary-color);
    margin-right: 8px;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(51, 0, 0, 0.9) 100%), url('motocross_background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features {
    background-color: var(--dark-color);
    padding: 80px 5%;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
    color: #cccccc;
}

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

.feature-card {
    background-color: #111111;
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    transition: var(--transition-medium);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-red);
    transition: var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(230, 0, 0, 0.2);
}

.feature-card:hover:before {
    height: 100%;
}

.feature-card.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    transition: var(--transition-medium);
}

.feature-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: var(--gradient-red);
    opacity: 0;
    z-index: -1;
    transform: scale(0.8);
    transition: var(--transition-medium);
}

.feature-icon.red {
    background-color: rgba(230, 0, 0, 0.1);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.15);
}

.feature-card:hover .feature-icon {
    color: var(--light-color);
    transform: scale(1.1);
}

.feature-card:hover .feature-icon:before {
    opacity: 1;
    transform: scale(1);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #aaaaaa;
    font-size: 0.95rem;
}

/* Performance Section */
.performance {
    background-color: #0a0a0a;
    padding: 80px 5%;
    display: flex;
    align-items: center;
    gap: 50px;
}

.performance-content {
    flex: 1;
}

.performance h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.performance-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.performance-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-dot {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-top: 5px;
}

.feature-text h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.feature-text p {
    color: #aaaaaa;
}

.performance-image {
    flex: 1;
}

.performance-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    padding: 80px 5%;
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.email-input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 4px;
    border: none;
    font-size: 1rem;
}

.cta .btn-primary {
    background-color: #000;
    white-space: nowrap;
}

.cta .btn-primary:hover {
    background-color: #333;
}

.small {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    padding: 40px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #aaaaaa;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #222222;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-content h1, .hero-content h2 {
    animation: fadeInLeft 1s ease forwards;
}

.hero-content p {
    animation: fadeInLeft 1.2s ease forwards;
}

.hero-buttons {
    animation: fadeInLeft 1.4s ease forwards;
}

.hero-image {
    animation: fadeInRight 1.5s ease forwards;
}

.performance-feature {
    opacity: 0;
    transform: translateY(20px);
}

.performance-feature.animate {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .performance {
        flex-direction: column;
    }
    
    .performance-content {
        margin-bottom: 40px;
    }
    
    .cta-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .features h2, .performance h2, .cta h2 {
        font-size: 2rem;
    }
    
    footer {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links, .social-links {
        justify-content: center;
    }
}
