/* ============================================
   CSS Reset & Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --dark-900: #0f172a;
    --dark-800: #1e293b;
    --dark-700: #334155;
    --light-100: #f1f5f9;
    --light-200: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-900);
    line-height: 1.6;
    background: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Main Section
   ============================================ */

.main-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
}

.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Logo
   ============================================ */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 48px;
}

.logo-text {
    font-size: 32px;
    font-weight: 900;
    color: var(--dark-900);
}

/* ============================================
   Status Badge
   ============================================ */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* ============================================
   Typography
   ============================================ */

.main-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark-900);
}

.description {
    font-size: 18px;
    color: var(--dark-700);
    margin-bottom: 16px;
    line-height: 1.7;
}

.sub-description {
    font-size: 16px;
    color: var(--dark-700);
    margin-bottom: 50px;
    line-height: 1.7;
}

/* ============================================
   Newsletter Box
   ============================================ */

.newsletter-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    margin-bottom: 40px;
    border: 1px solid var(--light-200);
}

.newsletter-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark-900);
}

/* ============================================
   Newsletter Form
   ============================================ */

#cleverreach-form {
    margin-bottom: 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
}

.email-input {
    width: 100% !important;
    padding: 14px 20px !important;
    border-radius: 10px !important;
    border: 2px solid var(--light-200) !important;
    font-size: 16px !important;
    font-family: var(--font-primary) !important;
    transition: var(--transition) !important;
    background: white !important;
    box-sizing: border-box !important;
}

.email-input:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
}

.submit-btn {
    width: 100% !important;
    margin-top: 12px !important;
    padding: 14px 32px !important;
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    font-family: var(--font-primary) !important;
}

.submit-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-xl) !important;
}

.privacy-note {
    font-size: 13px;
    color: var(--dark-700);
    margin: 0;
}

/* ============================================
   Success Message
   ============================================ */

.success-message {
    display: none;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.success-message.show {
    display: block;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
}

.success-message p {
    margin: 0;
    color: var(--dark-700);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--light-200);
}

.footer p {
    font-size: 14px;
    color: var(--dark-700);
    margin: 0;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .main-title {
        font-size: 36px;
    }
    
    .logo-icon {
        font-size: 36px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .description {
        font-size: 16px;
    }
    
    .sub-description {
        font-size: 15px;
    }
    
    .newsletter-box {
        padding: 30px 24px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 28px;
    }
    
    .newsletter-title {
        font-size: 20px;
    }
}
