:root {
    --bg-color: #F9F7F1;
    --text-dark: #333333;
    --text-grey: #757575;
    --primary-green: #4CAF50;
    --accent-mint: #E8F5E9;
    --border-color: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Main Layout */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

/* Left Side: Text */
.text-section {
    max-width: 550px;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
}

.logo::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background-color: var(--primary-green);
    margin-top: 4px;
    border-radius: 2px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-green);
}

.subtext {
    font-size: 1.125rem;
    color: var(--text-grey);
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Right Side: Image */
.visual-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshot {
    width: 100%;
    max-width: 320px; /* Reduced max-width for a smaller image */
    height: auto;
    border-radius: 40px;
    display: block;
}

/* Form Styling */
.waitlist-form {
    background: white;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: flex;
    width: 100%;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    min-width: 300px;
}

.waitlist-form:focus-within {
        border-color: var(--primary-green);
}

.email-input {
    border: none;
    padding: 1rem 0 1rem 1.5rem;
    flex: 1;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    outline: none;
    color: var(--text-dark);
    background: transparent;
    min-width: 0;
}

.email-input::placeholder {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: #9E9E9E;
}

.submit-btn {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.submit-btn:hover {
    background-color: #43A047;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

#success-message {
    display: none;
    margin-top: 1rem;
    color: var(--primary-green);
    font-weight: 500;
    align-items: center;
    gap: 0.5rem;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.honeypot-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    overflow: hidden;
}

/* App Store Badge Section */
.badges-container {
    margin-top: 2.5rem;
    display: flex;
    align-items: flex-start;
}

.badge-wrapper {
    position: relative;
    display: inline-block;
    overflow: visible;
    padding: 12px;
    margin: 0;
}

.app-store-badge {
    display: inline-block;
    /* Removed hover effects as it's no longer clickable */
}

.app-store-badge svg {
    height: 48px;
    width: auto;
}

/* Ribbon-style Coming Soon Tag */
.coming-soon-ribbon {
    position: absolute;
    top: -22px;
    left: -22px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #d32f2f;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
    padding: 0 10px;
    white-space: normal;
    z-index: 20;
    box-shadow: 0 6px 14px rgba(211, 47, 47, 0.4);
}

/* Footer & Socials */
.site-footer {
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-icon {
    color: var(--text-grey);
    transition: color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
}

.social-icon:hover {
    color: var(--primary-green);
    transform: translateY(-3px);
}

.copyright {
    color: #999;
    font-size: 0.875rem;
}


/* Mobile Responsive */
@media (max-width: 960px) {
    .main-container {
        padding: 3rem 1.5rem;
    }
    .content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }
    
    .text-section {
        margin: 0 auto;
        order: 1;
    }
    
    .visual-section {
        order: 2;
    }

    h1 {
        font-size: 2.75rem;
    }
    
    .logo::after { margin: 4px auto 0; }
    .subtext { margin-bottom: 2rem; }

    .waitlist-form {
        margin: 0 auto 1.5rem;
        max-width: 480px;
    }
    
    #success-message {
        justify-content: center;
        padding-left: 0;
    }
    
    .badges-container {
        justify-content: center;
    }
}

@media (max-width: 480px) {
        h1 { font-size: 2.25rem; }
        
        .waitlist-form {
            flex-direction: column;
            border-radius: 20px;
            padding: 12px;
            gap: 10px;
        }
        
        .email-input {
            width: 100%;
            padding: 0.5rem;
            text-align: center;
        }
        
        .submit-btn { 
            width: 100%;
            padding: 0.8rem;
        }
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: white;
    color: var(--text-dark);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid var(--border-color);
    min-width: 300px;
    max-width: 90%;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-notification.error {
    border-left: 4px solid #d32f2f;
}

.toast-notification.success {
    border-left: 4px solid var(--primary-green);
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
