:root {
    --primary-color: #274542;
    --secondary-color: #D7FF91;
    --text-light: #D7FF91;
    --white: #ffffff;
    --gray: #6b7280;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--primary-color);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.navbar {
    padding: 2rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.2;
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    opacity: 0.9;
}

.beta-form {
    margin-top: 2rem;
}

#betaForm {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--secondary-color);
    background-color: transparent;
    color: var(--secondary-color);
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: var(--secondary-color);
    opacity: 0.7;
}

.email-input:focus {
    background-color: rgba(215, 255, 145, 0.1);
    box-shadow: none;
    outline: none;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(215, 255, 145, 0.3);
}

.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 1.5rem;
}

.form-message.success {
    color: var(--secondary-color);
}

.modal-content .form-message.success {
    color: var(--primary-color);
}

.form-message.error {
    color: #ff6b6b;
}

.hidden {
    display: none;
}

/* Contact Link */
.contact-link {
    color: var(--secondary-color);
    text-decoration: none;
    margin-left: 0.5rem;
    border-bottom: 1px solid var(--secondary-color);
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.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: #F0EEDD;
    margin: 5% auto;
    padding: 2rem;
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.close {
    color: var(--primary-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close:hover,
.close:focus {
    opacity: 0.8;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    background-color: rgba(215, 255, 145, 0.2);
    box-shadow: none;
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

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

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup {
    width: 100%;
    max-width: 1200px;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3));
    margin-left: -100px;
}

.footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--secondary-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    #betaForm {
        flex-direction: column;
    }
    
    .email-input {
        min-width: 100%;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .hero-mockup {
        max-width: 600px;
        margin-left: 0;
    }
    
    .hero {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-mockup {
        max-width: 400px;
        margin-left: 0;
    }
}