/* ========================================
   MERIDIAN: THE RADIANT LINE
   Aesthetics: Sunset, Vibrancy, Soul, Power
   ======================================== */

:root {
    --color-bg: #0b071a;
    --color-sun: #ffaa33;
    --color-horizon: #ff5e3a;
    --color-sea: #1aedc9;
    --color-nebula: #7000ff;
    --color-white: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.6);

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    --ease-vibrant: cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* --- Animated Background Engine --- */
.sunset-engine {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: moveOrb 20s infinite alternate;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--color-nebula);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--color-horizon);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--color-sea);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes moveOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 100px) scale(1.2);
    }
}

/* --- Poetic Typography --- */
.title-l {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.vibrant-text {
    background: linear-gradient(90deg, var(--color-sun), var(--color-horizon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 94, 58, 0.3));
}

/* --- Glass Header --- */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--ease-vibrant);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--color-sun);
    animation: rotateSun 10s linear infinite;
}

@keyframes rotateSun {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 768px) {
    .desktop-nav {
        gap: 1.5rem;
    }

    .desktop-nav a {
        display: none;
        /* Ocultar enlaces de texto en móvil para evitar saturación */
    }
}

.desktop-nav a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-weight: 700;
    opacity: 0.6;
    transition: 0.3s;
}

.desktop-nav a:hover {
    opacity: 1;
    color: var(--color-sun);
}

.btn-neon {
    background: transparent;
    border: 1px solid var(--color-sea);
    color: var(--color-sea);
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(26, 237, 201, 0.2);
    transition: var(--ease-vibrant);
}

.btn-neon:hover {
    background: var(--color-sea);
    color: var(--color-bg);
}

/* --- Hero --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.hero-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.4rem;
    color: var(--color-sun);
    display: block;
    margin-bottom: 2rem;
}

.main-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 3rem;
}

.hero-p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 550px;
    margin-bottom: 4rem;
    font-weight: 300;
}

.cta-wrap {
    display: flex;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 768px) {
    .cta-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

.btn-vibrant {
    background: linear-gradient(135deg, var(--color-sun), var(--color-horizon));
    border: none;
    color: white;
    padding: 1.5rem 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 2rem;
    cursor: pointer;
    transition: var(--ease-vibrant);
}

.btn-vibrant:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 94, 58, 0.4);
}

.trust-pill {
    font-size: 0.8rem;
    opacity: 0.5;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.liquid-sphere {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 30% 30%, var(--color-sun), var(--color-horizon));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: liquidMorph 10s infinite alternate;
    position: relative;
    box-shadow: inset 20px 20px 60px rgba(255, 255, 255, 0.2), 0 0 100px rgba(255, 94, 58, 0.3);
}

@keyframes liquidMorph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 50% 60% 40% 60%;
    }
}

/* --- Sunrise Path (Steps) --- */
.sunrise-path {
    padding: 12rem 0;
}

.subtitle {
    font-size: 1.4rem;
    color: var(--color-text-muted);
    margin-top: 1.5rem;
    margin-bottom: 6rem;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card-glass {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 4rem 3rem;
    border-radius: 2rem;
    height: 100%;
    transition: var(--ease-vibrant);
}

.path-card.active .card-glass {
    border-color: var(--color-sun);
    background: rgba(255, 170, 51, 0.05);
}

.day-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--color-sun);
    font-weight: 800;
    letter-spacing: 0.3rem;
    display: block;
    margin-bottom: 2rem;
}

.card-glass h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.card-glass p {
    color: var(--color-text-muted);
}

/* --- Radiance System --- */
.radiance-system {
    padding: 10rem 0;
    background: linear-gradient(to bottom, transparent, rgba(112, 0, 255, 0.05), transparent);
}

.flex-radiance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6rem;
}

.radiance-grid {
    display: grid;
    gap: 3rem;
    margin-top: 4rem;
}

.r-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.r-icon {
    font-size: 2rem;
    background: var(--glass);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.r-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.r-info p {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.card-2027 {
    width: 350px;
    height: 450px;
    background: var(--color-bg);
    border: 1px solid var(--color-sun);
    border-radius: 2rem;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 50px rgba(255, 170, 51, 0.1);
    position: relative;
    overflow: hidden;
}

.card-badge {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    letter-spacing: 0.3rem;
    color: var(--color-sea);
    margin-bottom: 2rem;
}

.big-percent {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    display: block;
    color: var(--color-white);
}

/* --- Investment Section --- */
.investment {
    padding: 10rem 0 15rem;
}

.glass-island {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    padding: 6rem;
    border-radius: 4rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
}

@media (max-width: 768px) {
    .glass-island {
        padding: 3rem 1.5rem;
        border-radius: 2rem;
        gap: 3rem;
    }
}

.island-p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin: 3rem 0;
}

.island-perks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.perk {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-sun);
}

.island-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.btn-main-vibrant {
    background: var(--color-white);
    color: var(--color-bg);
    border: none;
    padding: 2rem 4rem;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--ease-vibrant);
    width: 100%;
}

.btn-main-vibrant:hover {
    background: var(--color-sun);
    transform: scale(1.05);
}

.availability {
    font-size: 0.7rem;
    color: var(--color-sea);
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.1rem;
}

.payment-trust-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    opacity: 0.6;
    filter: grayscale(1);
    transition: 0.3s;
    flex-wrap: wrap;
    justify-content: center;
}

.payment-trust-icons:hover {
    opacity: 1;
    filter: grayscale(0);
}

.payment-icon {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

/* --- Footer --- */
.vibrant-footer {
    padding: 6rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-brand h3 {
    letter-spacing: 0.3rem;
}

.footer-copy {
    display: flex;
    gap: 4rem;
    font-size: 0.7rem;
    letter-spacing: 0.2rem;
    font-weight: 700;
    opacity: 0.3;
}

.status {
    color: var(--color-sea);
    opacity: 1;
}

/* --- Mobile Fixes --- */
/* --- Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 7, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 3rem;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

@media (max-width: 480px) {
    .modal-content {
        padding: 2rem 1.5rem;
        border-radius: 1.5rem;
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
}

.modal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-header p {
    color: var(--color-text-muted);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-sun);
    transform: translateX(5px);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}

.bizum-c {
    color: #00a09d;
    font-weight: 800;
    font-family: sans-serif;
}

.paypal-c {
    color: #003087;
    font-weight: 800;
    font-family: sans-serif;
}

.mp-c {
    color: #009ee3;
    font-weight: 800;
    font-family: sans-serif;
}

.method-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.method-info span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.modal-footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

@media (max-width: 968px) {
    .container {
        padding: 0 2rem;
    }

    .hero-grid,
    .path-grid,
    .flex-radiance,
    .glass-island {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-visual,
    .interactive-card-wrap {
        display: none;
    }

    .main-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        margin-bottom: 2rem;
    }

    .hero-p {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .glass-header {
        padding: 1.5rem 0;
    }

    .sunrise-path,
    .radiance-system,
    .investment {
        padding: 6rem 0;
    }
}

@media (max-width: 480px) {
    .logo-name {
        display: none;
    }

    .btn-neon {
        padding: 0.6rem 1.2rem;
        font-size: 0.7rem;
    }

    .footer-grid {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-copy {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-brand {
        flex-direction: column;
    }
}

/* Loader Animation */
.loader-radiant {
    width: 48px;
    height: 48px;
    border: 3px solid var(--color-sun);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}