body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #1B263B;
    background: #FFFFFF;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1B263B 0%, #415A77 100%);
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 1.5rem;
    animation: fadeInUp 1.5s ease-out;
}

.hero-title {
    font-family: 'Merriweather', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #FFFFFF;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #FFFFFF;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto 1rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.countdown-box {
    background: #4682B4;
    color: #FFFFFF;
    border: 2px solid #708090;
    padding: 1.2rem;
    border-radius: 10px;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.countdown-box:hover {
    transform: scale(1.05);
}

.countdown-box span {
    font-size: 1.5rem;
    display: block;
}

.live-message {
    font-size: 1.5rem;
    color: #FFFFFF;
    font-weight: 600;
    text-align: center;
}

.subscription-form {
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    max-width: 550px;
    margin: 0 auto;
}

.form-incentive {
    font-size: 1rem;
    color: #1B263B;
    text-align: center;
    margin-bottom: 0.8rem;
}

.form-feedback.success {
    color: #2E7D32;
    background: rgba(46, 125, 50, 0.1);
    padding: 0.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 0.6rem;
}

.form-feedback.error {
    color: #D32F2F;
    background: rgba(211, 47, 47, 0.1);
    padding: 0.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 0.6rem;
}

.form-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.form-container input,
.form-container textarea {
    flex: 1;
    min-width: 180px;
    border: 2px solid #708090;
    border-radius: 8px;
    padding: 0.8rem;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-container textarea {
    width: 100%;
    min-height: 100px;
    resize: vertical;
}

.form-container input:focus,
.form-container textarea:focus {
    border-color: #4682B4;
}

.form-container button {
    background: #1B263B;
    color: #FFFFFF;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.form-container button:hover {
    background: #0D1B2A;
    transform: translateY(-2px);
}

.beta-cta {
    display: inline-block;
    background: #1B263B;
    color: #FFFFFF;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.8rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.beta-cta:hover {
    background: #0D1B2A;
    transform: translateY(-2px);
}

/* Features Section */
.features-section {
    margin: 4rem 0;
    padding: 0 1rem;
}

.feature-card {
    background: #FFFFFF;
    border: 2px solid #708090;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease-out;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
    font-family: 'Merriweather', serif;
    font-size: clamp(1.4rem, 2.5vw, 1.6rem);
    color: #4682B4;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.feature-card p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #1B263B;
    line-height: 1.5;
}

/* Testimonial Section */
.testimonial-section {
    background: #FFFFFF;
    padding: 4rem 1rem;
    margin: 4rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-quote {
    background: #4682B4;
    color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-style: italic;
    line-height: 1.6;
    text-align: center;
}

.carousel-control-prev,
.carousel-control-next {
    background: #1B263B;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    opacity: 0.85;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: contain;
}

/* Progress Section */
.progress-section {
    margin: 4rem 0;
    padding: 0 1rem;
    text-align: center;
}

.progress-section h2 {
    font-family: 'Merriweather', serif;
    font-size: clamp(1.8rem, 3vw, 2rem);
    color: #4682B4;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.progress-bar {
    background: #708090;
    height: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
}

.progress-fill {
    background: #4682B4;
    width: 70%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
}

/* Footer */
footer {
    background: #1B263B;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

footer p {
    font-size: 0.9rem;
    color: #FFFFFF;
    margin-bottom: 0.8rem;
}

.social-links a {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
    color: #4682B4;
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    .hero-title {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }
    .hero-subtitle {
        font-size: clamp(0.9rem, 2vw, 1rem);
    }
    .countdown-box {
        min-width: 90px;
        padding: 1rem;
        font-size: 0.9rem;
    }
    .countdown-box span {
        font-size: 1.2rem;
    }
    .subscription-form {
        padding: 1.2rem;
        max-width: 90%;
    }
    .form-container input,
    .form-container textarea {
        min-width: 150px;
    }
    .feature-card h3 {
        font-size: clamp(1.2rem, 2vw, 1.4rem);
    }
    .feature-card p {
        font-size: 0.9rem;
    }
    .progress-section h2 {
        font-size: clamp(1.6rem, 2.5vw, 1.8rem);
    }
    .carousel-control-prev,
    .carousel-control-next {
        height: 35px;
        width: 35px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 60vh;
    }
    .hero-title {
        font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    }
    .hero-subtitle {
        font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    }
    .countdown {
        gap: 1rem;
    }
    .countdown-box {
        min-width: 70px;
        padding: 0.8rem;
        font-size: 0.8rem;
    }
    .countdown-box span {
        font-size: 1rem;
    }
    .form-container {
        flex-direction: column;
    }
    .form-container input,
    .form-container textarea,
    .form-container button {
        width: 100%;
        font-size: 0.85rem;
    }
    .beta-cta {
        width: 100%;
        text-align: center;
        font-size: 0.85rem;
    }
    .feature-card h3 {
        font-size: clamp(1.1rem, 1.8vw, 1.2rem);
    }
    .testimonial-quote {
        font-size: clamp(0.9rem, 2vw, 1rem);
    }
    .progress-bar {
        height: 25px;
    }
    .progress-fill {
        font-size: 0.9rem;
    }
}

/* Browser-specific fixes */
@supports (-webkit-overflow-scrolling: touch) {
    .carousel-control-prev,
    .carousel-control-next {
        background-clip: content-box;
    }
}