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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Hero container */
.hero-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-content {
    max-width: 600px;
    width: 100%;
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Brand section */
.brand-section {
    margin-bottom: 3rem;
}

.brand-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #86ca21;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.brand-subtitle {
    font-size: 1.5rem;
    color: #666;
    font-weight: 300;
    margin-bottom: 1rem;
}

/* Subscribe section */
.subscribe-section {
    margin-bottom: 2rem;
}

.subscribe-heading {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.subscribe-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Embed container */
.embed-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.embed-container iframe {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(134, 202, 33, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.embed-container iframe:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(134, 202, 33, 0.25);
}

/* Backup form styles */
.backup-form {
    margin-top: 2rem;
}

.subscribe-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.email-input,
.name-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.email-input:focus,
.name-input:focus {
    outline: none;
    border-color: #86ca21;
}

.subscribe-btn {
    width: 100%;
    background: #86ca21;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.subscribe-btn:hover {
    background: #75b01e;
    transform: translateY(-1px);
}

.subscribe-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Message styles */
.message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .brand-title {
        font-size: 2.8rem;
    }
    
    .subscribe-heading {
        font-size: 2rem;
    }
    
    .subscribe-description {
        font-size: 1.1rem;
    }
    
    .embed-container iframe {
        width: 100%;
        max-width: 480px;
        height: 320px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem 1rem;
    }
    
    .brand-title {
        font-size: 2.2rem;
    }
    
    .subscribe-heading {
        font-size: 1.7rem;
    }
    
    .embed-container iframe {
        height: 280px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .embed-container iframe,
    .subscribe-btn {
        transition: none;
    }
    
    .embed-container iframe:hover,
    .subscribe-btn:hover {
        transform: none;
    }
}

/* Focus styles for accessibility */
iframe:focus,
.email-input:focus,
.name-input:focus,
.subscribe-btn:focus {
    outline: 3px solid #86ca21;
    outline-offset: 2px;
}
