/* ==========================
   VARIABLES DE COLOR
========================== */
:root {
    --fuchsia: #d300e0;     /* Fucsia para Headings y Detalles */
    --hot-pink: #d300e0;    /* Rosa intenso para hover */
    --light-pink: #FFC0CB;  /* Rosa claro para acentos sutiles */
    --dark-blue: #001524;   /* Color de Fondo de Página */
    --dark-blue-card: #022c46;   /* Color de Fondo de Card */
    --card-background-base: #181835; /* Fondo de card de respaldo */
    --gradient-blue-start: rgba(13, 13, 31, 0.0); /* Inicio del degradado transparente */
    --gradient-blue-end: rgba(13, 13, 31, 0.9);   /* Fin del degradado azul oscuro */
    --white: #FFFFFF;
    --soft-white: #f8f8f8;
}

/* ==========================
   ESTILOS BASE
========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-blue);
    color: var(--soft-white);
    font-family: 'Poppins', sans-serif; 
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================
   NAVBAR
========================== */
.navbar {
    background: linear-gradient(180deg, rgba(0, 21, 36, 0.95) 0%, rgba(0, 21, 36, 0.5) 100%);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(211, 0, 224, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--fuchsia), var(--light-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* ==========================
   BOTONES
========================== */
.btn-primary {
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, var(--fuchsia), #b600ba);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(211, 0, 224, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 0, 224, 0.5);
}

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

/* ==========================
   HERO SECTION
========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(211, 0, 224, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(2, 44, 70, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--fuchsia);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--white), var(--light-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(248, 248, 248, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-description .highlight {
    color: var(--fuchsia);
    font-weight: 600;
}

/* ==========================
   COUNTDOWN
========================== */
.countdown-container {
    margin: 2rem 0;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.countdown-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(211, 0, 224, 0.05);
    border: 2px solid rgba(211, 0, 224, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background: rgba(211, 0, 224, 0.1);
    border-color: rgba(211, 0, 224, 0.5);
    transform: translateY(-5px);
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--fuchsia);
    font-family: 'Courier New', monospace;
}

.countdown-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(248, 248, 248, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* ==========================
   HERO VISUAL (CÍRCULOS DECORATIVOS)
========================== */
.hero-visual {
    position: relative;
    height: 500px;
}

.gradient-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    filter: blur(60px);
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: var(--fuchsia);
    top: 0;
    right: 0;
    animation: float 6s ease-in-out infinite;
}

.circle-2 {
    width: 250px;
    height: 250px;
    background: var(--light-pink);
    bottom: 0;
    left: 50px;
    animation: float 8s ease-in-out infinite 1s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: var(--dark-blue-card);
    top: 50%;
    right: 200px;
    animation: float 7s ease-in-out infinite 0.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(30px); }
}

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

/* ==========================
   FEATURES SECTION
========================== */
.features {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--fuchsia), var(--light-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(2, 44, 70, 0.5), rgba(24, 24, 53, 0.3));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(211, 0, 224, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    border-color: var(--fuchsia);
    background: linear-gradient(135deg, rgba(211, 0, 224, 0.1), rgba(211, 0, 224, 0.05));
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(211, 0, 224, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.feature-card p {
    color: rgba(248, 248, 248, 0.7);
    line-height: 1.6;
}

/* ==========================
   NEWSLETTER SECTION
========================== */
.newsletter {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(211, 0, 224, 0.1), rgba(2, 44, 70, 0.2));
    border-top: 1px solid rgba(211, 0, 224, 0.2);
    border-bottom: 1px solid rgba(211, 0, 224, 0.2);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.newsletter-content p {
    font-size: 1.1rem;
    color: rgba(248, 248, 248, 0.8);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.email-input {
    padding: 1rem;
    background: rgba(248, 248, 248, 0.05);
    border: 2px solid rgba(211, 0, 224, 0.3);
    border-radius: 50px;
    color: var(--white);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    width: 100%;
}

.email-input::placeholder {
    color: rgba(248, 248, 248, 0.5);
}

.email-input:focus {
    outline: none;
    border-color: var(--fuchsia);
    background: rgba(248, 248, 248, 0.08);
    box-shadow: 0 0 20px rgba(211, 0, 224, 0.3);
}

.btn-submit {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--fuchsia), #b600ba);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 0, 224, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.captcha-button-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 0, 224, 0.5);
}

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

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

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

.form-message.success {
    color: #4ade80;
}

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

.captcha-notice {
    font-size: 0.75rem;
    color: rgba(248, 248, 248, 0.4);
    margin-top: 1rem;
    line-height: 1.5;
}

.captcha-notice a {
    color: rgba(211, 0, 224, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.captcha-notice a:hover {
    color: var(--fuchsia);
}

/* ==========================
   HCAPTCHA STYLES
========================== */
.h-captcha {
    margin: 0;
    display: flex;
    justify-content: center;
    flex: 1;
}

.h-captcha iframe {
    max-width: 100%;
}

/* ==========================
   SOCIAL SECTION
========================== */
.social-section {
    padding: 3rem 2rem;
    text-align: center;
}

.social-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(211, 0, 224, 0.1);
    color: var(--fuchsia);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(211, 0, 224, 0.3);
}

.social-icon:hover {
    background: var(--fuchsia);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(211, 0, 224, 0.4);
}

/* ==========================
   FOOTER
========================== */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(211, 0, 224, 0.1);
}

.footer-content p {
    color: rgba(248, 248, 248, 0.6);
    font-size: 0.9rem;
}

.footer-content p:first-child {
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.85rem;
    color: rgba(248, 248, 248, 0.5);
}

/* ==========================
   RESPONSIVE DESIGN
========================== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 300px;
    }

    .circle-1 {
        width: 200px;
        height: 200px;
    }

    .circle-2 {
        width: 150px;
        height: 150px;
    }

    .circle-3 {
        width: 100px;
        height: 100px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
    }

    .countdown-number {
        font-size: 2rem;
    }

    .features h2 {
        font-size: 2rem;
    }

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

    .btn-submit {
        width: 100%;
    }

    .social-links {
        gap: 1rem;
    }

    .navbar-container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo h1 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

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

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .countdown-item {
        padding: 1rem;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-content h2 {
        font-size: 1.8rem;
    }
}
