/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 52px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

/* Header Badge */
.header-badge-img {
    height: 64px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.header-badge-img:hover {
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-family: 'Amatic SC', cursive;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
    font-family: 'Amatic SC', cursive;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.9);
}

/* Signup Form */
.signup-form {
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 280px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.email-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.signup-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: #ff6600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.signup-btn:hover {
    background: #e55a00;
    transform: translateY(-1px);
}

.signup-btn:active {
    transform: translateY(0);
}

/* Success Message */
.success-message {
    padding: 1rem 1.5rem;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    color: #166534;
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Slideshow Container */
.bike-slideshow {
    position: relative;
    width: 400px;
    height: auto;
}

.bike-placeholder {
    width: 400px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Product card styling */
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 16px rgba(0, 0, 0, 0.08);
    padding: 0.75rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bike-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Bike Images */
.bike-image {
    position: absolute;
    width: 100%;
    height: auto;
    max-width: 350px;
    object-fit: contain;
    border-radius: 12px;
    filter: contrast(1.1) saturate(1.05) brightness(1.02);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bike-image.active {
    opacity: 1;
}

.bike-image:hover {
    transform: translate(-50%, -50%) scale(1.02);
}

/* Navigation Arrows */
.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.slideshow-nav:hover {
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-nav.prev {
    left: -24px;
}

.slideshow-nav.next {
    right: -24px;
}

.slideshow-nav svg {
    color: #1a1a1a;
}

/* Slide Indicators */
.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #ffffff;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 2rem 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .email-input {
        min-width: 100%;
    }
    
    .bike-slideshow {
        width: 320px;
    }
    
    .bike-placeholder {
        width: 320px;
        height: 240px;
        padding: 0.5rem;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1), 0 2px 12px rgba(0, 0, 0, 0.06);
    }
    
    .bike-image {
        max-width: 280px;
    }
    
    .slideshow-nav {
        width: 40px;
        height: 40px;
    }
    
    .slideshow-nav.prev {
        left: -20px;
    }
    
    .slideshow-nav.next {
        right: -20px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-container,
    .features-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature {
        padding: 1rem;
    }
}
