/* ==========================================================================
   ENADTI - ESCUELA DE NEGOCIOS DE ALTA DIRECCIÓN DE TI
   En Construcción - Clean Design System
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: #ffffff;
    color: #111827;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Logo */
.header {
    margin-bottom: 50px;
    text-align: center;
}

.brand-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
}

/* Main Headlines */
.headlines {
    text-align: center;
    margin-bottom: 65px;
    width: 100%;
}

.main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: #1b2c24; /* Dark Forest Green */
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.sub-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.45rem;
    font-weight: 300;
    color: #7d751f; /* Olive Gold */
    line-height: 1.5;
    letter-spacing: 0.5px;
}

/* Two Column Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 80px;
}

.column-left {
    display: flex;
    justify-content: center;
}

.illustration {
    width: 100%;
    max-width: 420px;
    object-fit: contain;
}

/* Right Column Subscription Card */
.subscription-card {
    background-color: #1b2c24; /* Deep Forest Green */
    border-radius: 36px;
    padding: 50px 45px;
    box-shadow: 0 20px 50px rgba(27, 44, 36, 0.15);
    color: #ffffff;
}

.card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    color: #eae096; /* Soft Gold/Cream */
    letter-spacing: 1.5px;
    line-height: 1.4;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.input-wrapper {
    margin-bottom: 32px;
    width: 100%;
}

.email-input {
    width: 100%;
    background-color: #14221c; /* Darker inset box */
    border: 1px solid #7d751f; /* Olive Gold border */
    border-radius: 12px;
    padding: 18px 24px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    color: #eae096;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.email-input::placeholder {
    color: #7d751f;
    opacity: 0.8;
}

.email-input:focus {
    border-color: #eae096;
    box-shadow: 0 0 15px rgba(234, 224, 150, 0.15);
}

/* Action Row (Submit Button & Socials) */
.action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.submit-btn {
    background-color: #7d751f; /* Olive Gold */
    color: #ffffff;
    border: none;
    border-radius: 100px;
    padding: 16px 36px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(125, 117, 31, 0.25);
}

.submit-btn:hover {
    background-color: #8f8624;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(125, 117, 31, 0.35);
}

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

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

.social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #7d751f;
    color: #1b2c24;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-btn:hover {
    background-color: #eae096;
    transform: scale(1.1);
}

/* Feedback Messages */
.feedback-msg {
    margin-top: 24px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.3s ease;
}

.feedback-msg.show {
    opacity: 1;
    transform: translateY(0);
}

.feedback-msg.success {
    color: #eae096;
}

.feedback-msg.error {
    color: #ff6b6b;
}

/* Footer */
.footer {
    margin-top: auto;
    padding-top: 40px;
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Screen reader utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Entry Animations */
.animate-fade-in {
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Media Queries */
@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .main-title {
        font-size: 2rem;
    }

    .sub-title {
        font-size: 1.2rem;
    }

    .subscription-card {
        padding: 40px 30px;
    }
}

@media (max-width: 600px) {
    .main-title {
        font-size: 1.75rem;
    }

    .action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .submit-btn {
        width: 100%;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        margin-top: 10px;
    }
}
