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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.content {
    width: 100%;
    max-width: 480px;
    text-align: center;
}

/* Brand */
.brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #7d8471;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Main Content */
.main-content {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.headline {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* Form Styles */
.signup-form {
    margin-bottom: 2rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7d8471;
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.optional-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
}

/* CTA Button */
.cta-button {
    width: 100%;
    background: #7d8471;
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
}

.cta-button:hover {
    background: #6a7063;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(125, 132, 113, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

/* Trust Elements */
.trust-elements {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.trust-text {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.8;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

.modal-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 0;
}

.modal-body {
    padding: 0 2rem 1rem;
    text-align: center;
}

.modal-body p {
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.6;
}

.modal-body .small-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.secondary-button {
    background: #e9ecef;
    color: #2c3e50;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.secondary-button:hover {
    background: #dee2e6;
}

/* Thank You Page */
.thank-you-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.thank-you-content {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.thank-you-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.welcome-message p {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.benefits {
    margin: 2.5rem 0;
}

.benefit {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.benefit-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.benefit-text {
    flex: 1;
}

.benefit-text strong {
    color: #2c3e50;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.final-message {
    font-size: 1rem;
    color: #6c757d;
    font-style: italic;
    margin-bottom: 0 !important;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Optimizations */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .main-content {
        padding: 2rem 1.5rem;
    }
    
    .headline {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .thank-you-content {
        padding: 2.5rem 1.5rem;
    }
    
    .benefit {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .benefit-text {
        text-align: center;
    }
}

/* Tablet and Desktop */
@media (min-width: 768px) {
    .headline {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .main-content {
        padding: 3rem 2.5rem;
    }
    
    .thank-you-content {
        padding: 3.5rem 3rem;
    }
}

