/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #4f4f4f;
    background-color: #f4f7fc;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    padding: 50px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
header {
    margin-bottom: 40px;
}

.brand-title {
    font-size: 3rem;
    font-weight: 700;
    color: #3a3a3a;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    letter-spacing: -1px;
}

.brand-title .fa-podcast {
    color: #6772e5;
}

.tagline {
    font-size: 1.1rem;
    color: #7a7a7a;
    font-weight: 400;
}

/* Hero Section */
.hero .description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #5f5f5f;
}

/* Features Section */
.features {
    margin: 60px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #3a3a3a;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #6772e5;
    border-radius: 2px;
    margin: 10px auto 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: left;
}

.feature-item {
    background-color: #f9faff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eef2f7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(103, 114, 229, 0.15);
}

.feature-item .fas {
    font-size: 2.5rem;
    color: #6772e5;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #3a3a3a;
}

/* CTA Section */
.cta-section {
    background-color: #6772e5;
    color: #ffffff;
    padding: 50px;
    border-radius: 12px;
    margin-top: 50px;
}

.cta-section .section-title {
    color: #ffffff;
}

.cta-section .section-title::after {
    background-color: #ffffff;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.email-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#email {
    width: 100%;
    max-width: 300px;
    padding: 15px 20px;
    font-size: 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    outline: none;
    transition: box-shadow 0.3s;
}

#email:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.submit-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    background-color: #ffffff;
    color: #6772e5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    background-color: #f0f2ff;
}

.message {
    margin-top: 20px;
    font-weight: 600;
    min-height: 24px;
    font-size: 1rem;
}

.success {
    color: #20c997; /* A brighter success green */
}

.error {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
}

/* Footer */
footer {
    margin-top: 50px;
    color: #9a9a9a;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }
    .container {
        padding: 40px 25px;
    }

    .brand-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .email-form {
        flex-direction: column;
        align-items: stretch;
    }

    #email, .submit-btn {
        width: 100%;
    }
}