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

:root {
    --primary-orange: #FF6B35;
    --primary-blue: #1E3A5F;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-gradient-start: #F8F9FA;
    --bg-gradient-end: #E9ECEF;
    --white: #FFFFFF;
    --success: #28A745;
    --error: #DC3545;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
.header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 0.5rem;
}

.logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: 100%;
    padding: 0.5rem 0;
}

.title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    font-weight: 400;
}

/* Newsletter Section */
.newsletter-section {
    width: 100%;
    max-width: 500px;
    margin-top: 2rem;
}

.newsletter-form {
    width: 100%;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.email-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    background: var(--white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-family: inherit;
    outline: none;
}

.email-input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.email-input::placeholder {
    color: var(--text-light);
}

.submit-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-orange) 0%, #FF8C5A 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 4px 15px var(--shadow);
    white-space: nowrap;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover);
    background: linear-gradient(135deg, #FF5722 0%, var(--primary-orange) 100%);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 1.5rem;
    transition: all 0.3s ease;
}

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

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

/* Footer */
.footer {
    width: 100%;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .input-group {
        flex-direction: row;
    }

    .email-input {
        flex: 1;
    }

    .submit-btn {
        min-width: 180px;
    }

    .logo {
        max-width: 600px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .header {
        padding: 0.5rem 0;
        margin-bottom: 0.5rem;
    }

    .logo {
        max-width: 350px;
    }

    .title {
        margin-bottom: 0.5rem;
    }

    .subtitle {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .newsletter-section {
        padding: 0 1rem;
    }

    .footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
}

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

.main-content > * {
    animation: fadeIn 0.6s ease-out;
}

.title {
    animation-delay: 0.1s;
}

.subtitle {
    animation-delay: 0.2s;
}

.newsletter-section {
    animation-delay: 0.3s;
}

