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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #d73527;
    text-decoration: none;
}

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

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #d73527;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #d73527 0%, #b8281a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.carousel {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
}

.feature-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
}

.feature-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.feature-slide h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #d73527;
    font-weight: 600;
}

.feature-slide p {
    font-size: 1.125rem;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.carousel-controls button {
    background: #d73527;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-controls button:hover {
    background: #b8281a;
    transform: scale(1.05);
}

.indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #d73527;
}

/* Newsletter Section */
.newsletter {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.newsletter p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #d73527;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: #d73527;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #b8281a;
}


.newsletter a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.newsletter a:hover {
    color: #d73527;
}


/* Footer */
footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer a {
    color: #d73527;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ff6b5b;
}

/* Legal page styles */
.legal {
    padding: 4rem 0;
    background: white;
}

.legal h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.legal h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #d73527;
}

.legal h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.legal p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .carousel {
        height: 250px;
    }
    
    .feature-slide {
        padding: 2rem 1rem;
    }
    
    .feature-slide h3 {
        font-size: 1.5rem;
    }
    
    .feature-slide p {
        font-size: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 300px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    footer .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav {
        gap: 1rem;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .features,
    .newsletter {
        padding: 2rem 0;
    }
    
    .carousel-controls button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .indicators {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 200px;
    }
}