/* Base Styles and Variables */
:root {
    /* Color Palette - Mindful Grove Theme */
    --primary-color: #2a9485; /* Mindful Grove primary teal */
    --secondary-color: #217a6d; /* Deeper teal */
    --accent-color: #57BCAB; /* Lighter teal - focus color */
    --text-light: #f8f9fa; /* Light text for dark backgrounds */
    --text-dark: #2A332E; /* Mindful Grove foreground */
    --background: #2a9485; /* Rich teal background */
    --highlight: #c4e9e0; /* Soft light teal highlight */

    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Raleway', sans-serif;

    /* Spacing - Reduced for better fit */
    --spacing-sm: 0.3rem;
    --spacing-md: 0.6rem;
    --spacing-lg: 1rem;
    --spacing-xl: 2rem;
}

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

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: var(--body-font);
    color: var(--text-light);
    background: var(--background);
    line-height: 1.4;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-sm);
}

/* Container */
.container {
    max-width: 1100px;
    width: 100%;
    min-height: 98vh;
    max-height: none;
    padding: 3rem var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(3px);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

/* Main Content Layout */
.hero-section {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: var(--spacing-lg);
    align-items: center;
    height: 100%;
}

/* Left Column: Content */
.content-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    height: 100%;
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-md) var(--spacing-lg);
}

/* Right Column: Form */
.form-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: var(--spacing-md);
}

/* Header Group - for better cohesion between logo, headline, and subheadline */
.header-group {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
    margin-bottom: var(--spacing-xl);
    position: relative;
    width: 100%;
}

/* Logo */
.logo-container {
    margin-bottom: var(--spacing-lg);
    align-self: flex-start;
}

.logo {
    font-family: var(--body-font);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-light);
    position: relative;
    display: inline-block;
}

.logo i {
    color: var(--accent-color);
    margin-right: 0.5rem;
    font-size: 1.6rem;
    vertical-align: middle;
}

/* Logo underline removed */

/* Logo */
.logo-heading {
    font-family: var(--body-font);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-light);
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-lg);
}

.logo-heading i {
    color: var(--accent-color);
    margin-right: 0.5rem;
    font-size: 2rem;
    vertical-align: middle;
}

/* Logo underline removed for cleaner look */

/* Headlines */
.headline {
    font-family: var(--body-font);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    max-width: 100%;
    letter-spacing: -0.5px;
    position: relative;
}

.highlight-text {
    color: var(--highlight);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: var(--highlight);
    bottom: -1px;
    left: 0;
    opacity: 0.5;
}

.sub-headline {
    font-family: var(--body-font);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 0;
    color: var(--highlight);
    opacity: 0.9;
}

.description {
    font-family: var(--body-font);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    color: var(--text-light);
    opacity: 0.9;
    max-width: 95%;
}

/* Benefits Section - Condensed */
.benefits {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: var(--spacing-md);
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.emoji {
    font-size: 1.1rem;
    margin-right: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.benefit-text {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Signup Container */
.signup-container {
    width: 100%;
    position: relative;
}

/* Form */
.form-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.form-heading {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    text-align: center;
}

.form-subheading {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.signup-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group {
    margin-bottom: var(--spacing-md);
    position: relative;
}

.signup-form input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.signup-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(126, 184, 160, 0.4);
    transform: translateY(-1px);
    background-color: rgba(255, 255, 255, 1);
}

.submit-btn {
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    border: none;
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: var(--spacing-sm);
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background-color: #8fc5b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.spots-left {
    margin-top: var(--spacing-md);
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
    opacity: 0.8;
    text-align: center;
}

/* Thank You Message */
.thank-you-message {
    display: none;
    padding: var(--spacing-lg);
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.thank-you-message i {
    color: var(--accent-color);
    margin-left: 5px;
}

.thank-you-message h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-color);
}

/* Trust Message */
.trust-message {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: var(--spacing-sm);
    text-align: center;
}

.spam-note {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: var(--spacing-sm);
    text-align: center;
    font-style: italic;
}

/* Counter - Social Proof */
.counter {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-color);
    background: rgba(126, 184, 160, 0.1);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    display: inline-block;
}

#counter-number {
    font-weight: 600;
    position: relative;
}

/* Footer */
footer {
    width: 100%;
    font-size: 0.8rem;
    opacity: 0.7;
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Press Mention */
.press-mention {
    margin-bottom: var(--spacing-md);
    background: rgba(255, 255, 255, 0.15);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 8px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.95;
}

.press-mention .publication {
    color: var(--accent-color);
    font-weight: 700;
}

/* Responsive Design - For smaller screens */
@media (max-width: 768px) {
    body {
        height: auto;
        align-items: flex-start;
        padding: var(--spacing-md);
    }

    .container {
        min-height: 100%;
        max-height: none;
        margin: 2rem 0;
        overflow-y: visible;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        grid-gap: var(--spacing-md);
    }
    
    .content-column {
        padding-bottom: 0;
        align-items: center;
        text-align: center;
    }
    
    .header-group {
        align-items: center;
        margin-bottom: var(--spacing-lg);
    }
    
    .logo-container {
        align-self: center;
        margin-bottom: var(--spacing-md);
    }
    
    .logo::after {
        left: 30%;
        width: 40%;
    }
    
    .headline {
        font-size: 2rem;
    }
    
    .description {
        max-width: 100%;
        text-align: center;
    }
    
    .form-column {
        padding-top: 0;
    }
    
    .benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: var(--spacing-sm);
        border-radius: 8px;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .headline {
        font-size: 1.8rem;
    }
    
    .sub-headline {
        font-size: 1.1rem;
    }
    
    .description {
        font-size: 0.9rem;
    }
    
    .header-group {
        margin-bottom: var(--spacing-md);
    }
}

@media (max-height: 700px) {
    .benefits {
        grid-template-columns: 1fr 1fr;
    }
    
    .emoji {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
    
    .benefit-text {
        font-size: 0.75rem;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    display: none;
    max-width: 80%;
    word-wrap: break-word;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.notification.success {
    background-color: #48bb78;
}

.notification.error {
    background-color: #e53e3e;
}

.notification.info {
    background-color: #3182ce;
}
