/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    overflow-x: hidden;
    background: #0f172a;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 2rem 0;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #f1f5f9;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.3);
}

.newsletter-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f1f5f9;
}

.newsletter-description {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 0.875rem 1rem;
    border: 2px solid #475569;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #0f172a;
    color: #e2e8f0;
}

.email-input:focus {
    outline: none;
    border-color: #fbbf24;
    background: #1e293b;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.email-input::placeholder {
    color: #64748b;
}

.submit-btn {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    color: #0f172a;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Success Message */
.success-message {
    display: none;
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    border: 1px solid #10b981;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
}

.success-message.show {
    display: block;
    animation: slideIn 0.5s ease;
}

.success-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1fae5;
}

.success-content svg {
    color: #34d399;
    flex-shrink: 0;
}

/* Background Elements */
.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(217, 119, 6, 0.05) 100%);
    z-index: 1;
}

.bg-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(203, 213, 225, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-container {
        max-width: 600px;
    }
}

@media (max-width: 640px) {
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .newsletter-section {
        padding: 2rem 1.5rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .email-input {
        min-width: 100%;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}
