/* Base Styles */
:root {
    --primary: #FF6600;
    --primary-dark: #e65c00;
    --text: #ffffff;
    --text-light: #f0f0f0;
    --white: #ffffff;
    --gray-light: rgba(255, 255, 255, 0.2);
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --bg-color: #FF6600;
}

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

html {
    background-color: var(--bg-color);
    min-height: 100%;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: var(--bg-color);
}

/* Header */
.header {
    padding: 24px 0;
}

.logo {
    max-width: 400px;
    margin: 0 auto 20px;
    padding-top: 30px;
}

.logo-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
    background-color: var(--bg-color);
}

.content-wrapper {
    max-width: 600px;
    width: 100%;
    padding: 0 20px;
}

.headline {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.5px;
}

.subheadline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -0.3px;
    opacity: 0.9;
}

.description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Form */
.signup-form {
    margin-bottom: 48px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.email-input {
    padding: 16px 20px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(5px);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.email-input:focus {
    outline: none;
    border-color: var(--primary);
}

.cta-button {
    background-color: var(--white);
    color: var(--primary);
    border: none;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.form-message {
    margin-top: 12px;
    font-size: 0.9rem;
    min-height: 20px;
    color: var(--white);
    font-weight: 500;
}

.form-message.success {
    color: #4caf50;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}

.form-message.error {
    color: #ffeb3b;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-link:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Legal Section */
.legal-section {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.legal-link {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
    opacity: 0.9;
}

.legal-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    text-align: center;
    padding: 24px 0;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: #333;
}

.close-button {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.close-button:hover {
    color: var(--text);
}

.terms-content {
    margin-top: 20px;
    text-align: left;
    line-height: 1.6;
}

.terms-content p {
    margin-bottom: 16px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .headline {
        font-size: 4.5rem;
    }
    
    .subheadline {
        font-size: 1.75rem;
    }
    
    .form-group {
        flex-direction: row;
    }
    
    .email-input {
        flex: 1;
        max-width: 350px;
    }
    
    .cta-button {
        width: auto;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-wrapper > * {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.content-wrapper > *:nth-child(1) { animation-delay: 0.1s; }
.content-wrapper > *:nth-child(2) { animation-delay: 0.2s; }
.content-wrapper > *:nth-child(3) { animation-delay: 0.3s; }
.content-wrapper > *:nth-child(4) { animation-delay: 0.4s; }
.content-wrapper > *:nth-child(5) { animation-delay: 0.5s; }
.content-wrapper > *:nth-child(6) { animation-delay: 0.6s; }
