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

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 60px 20px 40px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Main content */
main {
    padding: 40px 20px;
}

section {
    margin-bottom: 60px;
}

section:last-child {
    margin-bottom: 0;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 0 20px;
}

.hero h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Benefits section */
.benefits {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.benefits h3 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.benefit-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-radius: 12px;
}

.cta h3 {
    font-size: 1.75rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

#email {
    padding: 16px 20px;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.2s;
}

#email:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
}

.privacy-notice {
    margin-top: 15px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* Features list */
.features {
    text-align: center;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Footer */
footer {
    background: var(--bg-light);
    text-align: center;
    padding: 30px 20px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .benefits {
        padding: 30px 20px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .cta {
        padding: 30px 20px;
    }

    main {
        padding: 30px 15px;
    }

    .form-group {
        width: 100%;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .form-group {
        flex-direction: row;
    }

    #email {
        flex: 1;
    }

    .btn-primary {
        flex-shrink: 0;
    }
}
