/* =============================================
   PROSPECTA CON EXITO — Under Construction
   Premium Sales Theme
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
    --navy-900: #0a1628;
    --navy-800: #0f1f3d;
    --navy-700: #152a4a;
    --navy-600: #1b3a5c;
    --teal-500: #1a7a7a;
    --teal-400: #20a3a3;
    --teal-300: #34c6c6;
    --cyan-400: #22d3ee;
    --cyan-300: #67e8f9;
    --gold-400: #d4a652;
    --gold-300: #ecc06c;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-glow-teal: 0 0 40px rgba(26, 122, 122, 0.3);
    --shadow-glow-cyan: 0 0 60px rgba(34, 211, 238, 0.15);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--navy-900);
    color: var(--gray-100);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* --- Animated Gradient Background --- */
.bg-animated {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 110%, rgba(26, 122, 122, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(34, 198, 198, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 70%, rgba(212, 166, 82, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--navy-700) 100%);
    animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.85;
    }
}

/* --- Floating Particles --- */
.particles {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.15);
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* --- Grid Overlay --- */
.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* --- Main Container --- */
.main-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* --- Logo Section --- */
.logo-wrapper {
    margin-bottom: 2.5rem;
    animation: fadeInDown 1s ease-out;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(26, 122, 122, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.logo-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(34, 198, 198, 0.6);
}

.logo-wrapper img {
    width: 108%;
    height: 108%;
    margin: -4%;
    object-fit: cover;
    display: block;
}

/* --- Content Card --- */
.content-card {
    background: rgba(15, 31, 61, 0.6);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 211, 238, 0.1);
    border-radius: 24px;
    padding: 3rem 3.5rem;
    max-width: 680px;
    width: 100%;
    text-align: center;
    box-shadow:
        var(--shadow-glow-teal),
        0 25px 50px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal-400), var(--cyan-400), var(--gold-400), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* --- Typography --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    background: rgba(26, 122, 122, 0.15);
    border: 1px solid rgba(34, 198, 198, 0.25);
    color: var(--teal-300);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal-300);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.heading-main {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-300) 50%, var(--teal-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heading-sub {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--gray-400);
    line-height: 1.65;
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Countdown Timer --- */
.countdown-section {
    margin-bottom: 2.5rem;
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 72px;
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    background: linear-gradient(180deg, var(--white) 30%, var(--teal-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-unit {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-500);
    margin-top: 0.35rem;
}

.countdown-separator {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--teal-400);
    line-height: 1;
    align-self: flex-start;
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

/* --- Divider --- */
.divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-400), var(--gold-400));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* --- Email Form --- */
.notify-form {
    display: flex;
    gap: 0.75rem;
    max-width: 440px;
    margin: 0 auto 1.5rem;
}

.notify-input {
    flex: 1;
    padding: 0.9rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(34, 211, 238, 0.15);
    background: rgba(10, 22, 40, 0.6);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.notify-input::placeholder {
    color: var(--gray-500);
}

.notify-input:focus {
    border-color: var(--teal-400);
    box-shadow: 0 0 20px rgba(26, 122, 122, 0.2);
}

.notify-btn {
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.notify-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 122, 122, 0.4);
}

.notify-btn:hover::after {
    transform: translateX(100%);
}

.notify-btn:active {
    transform: translateY(0);
}

.form-note {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* --- Success Message --- */
.success-msg {
    display: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    background: rgba(26, 122, 122, 0.15);
    border: 1px solid rgba(34, 198, 198, 0.3);
    color: var(--teal-300);
    font-size: 0.9rem;
    font-weight: 500;
    animation: fadeInUp 0.5s ease-out;
    margin-bottom: 1rem;
}

.success-msg.show {
    display: block;
}

/* --- Social Links --- */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.5rem;
    border-radius: 12px;
    background: rgba(15, 31, 61, 0.6);
    border: 1px solid rgba(34, 211, 238, 0.1);
    color: var(--gray-300);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(26, 122, 122, 0.2);
    border-color: var(--teal-400);
    color: var(--teal-300);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 122, 122, 0.2);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.social-label {
    white-space: nowrap;
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    color: var(--gray-500);
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.footer a {
    color: var(--teal-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--teal-300);
}

/* --- Animations --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .content-card {
        padding: 2rem 1.5rem;
        border-radius: 18px;
    }

    .heading-main {
        font-size: 2rem;
    }

    .heading-sub {
        font-size: 0.95rem;
    }

    .logo-wrapper {
        width: 160px;
        height: 160px;
    }

    .notify-form {
        flex-direction: column;
    }

    .notify-btn {
        padding: 0.9rem;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .countdown-item {
        min-width: 56px;
    }

    .countdown-separator {
        font-size: 1.6rem;
    }
}

@media (max-width: 380px) {
    .heading-main {
        font-size: 1.7rem;
    }

    .countdown {
        gap: 0.5rem;
    }

    .countdown-value {
        font-size: 1.6rem;
    }

    .countdown-item {
        min-width: 46px;
    }
}