:root {
    --gradient-start: #1c3b70;
    --gradient-end: #7a2f8f;
    --card-bg: rgba(255, 255, 255, 0.92);
    --disabled-card-bg: rgba(245, 245, 245, 0.65);
    --text-dark: #1f1f29;
    --accent: #4c6fff;
    --accent-soft: rgba(76, 111, 255, 0.15);
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --radius-large: 1.6rem;
    --radius-medium: 1rem;
}

body {
    min-height: 100vh;
    background: linear-gradient(140deg, var(--gradient-start), var(--gradient-end));
    background-attachment: fixed;
    color: #f5f6ff;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    position: relative;
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.logo-background-animated {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    max-width: 800px;
    height: 60vw;
    max-height: 800px;
    background-image: url('/01_Yo_nunca/src/images/LOGO_JOGGO_L.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
    animation: floatLogo 20s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translate(-50%, -50%) translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-50%, -50%) translate(3vw, -2vw) rotate(2deg);
    }
    50% {
        transform: translate(-50%, -50%) translate(-2vw, 2vw) rotate(-1deg);
    }
    75% {
        transform: translate(-50%, -50%) translate(2vw, 3vw) rotate(1deg);
    }
}

.navbar-gradient {
    background: linear-gradient(90deg, rgba(28, 59, 112, 0.95), rgba(122, 47, 143, 0.95));
    backdrop-filter: blur(0.6rem);
    position: relative;
    z-index: 1000;
}

.navbar-brand img {
    height: 3.2vw;
    max-height: 48px;
    min-height: 32px;
}

.hero-wrapper {
    padding-top: clamp(18vh, 22vh, 24vh);
    padding-bottom: clamp(6vh, 12vw, 14vh);
    position: relative;
    z-index: 1;
}

.hero-card {
    background: rgba(5, 10, 28, 0.75);
    border-radius: var(--radius-large);
    padding: clamp(4vh, 6vw, 8vh);
    box-shadow: 0 2.1rem 4rem rgba(6, 15, 37, 0.35);
    position: relative;
    overflow: hidden;
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 2%;
    border-radius: calc(var(--radius-large) - 0.8rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.hero-card h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    margin-bottom: 1rem;
}

.hero-card p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    max-width: 64ch;
    color: rgba(245, 245, 255, 0.85);
}

.content-section {
    margin-top: clamp(4vh, 8vw, 12vh);
    margin-bottom: clamp(6vh, 10vw, 14vh);
    position: relative;
    z-index: 1;
}

.form-card,
.plan-card,
.summary-card {
    background: var(--card-bg);
    color: var(--text-dark);
    border-radius: var(--radius-medium);
    padding: clamp(2.5vh, 3.5vw, 4vh);
    box-shadow: 0 1.6rem 3.4rem rgba(10, 19, 37, 0.18);
    border: 1px solid rgba(14, 27, 53, 0.06);
}

.form-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: clamp(2vh, 2.5vw, 3vh);
}

.form-title i {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    color: var(--accent);
}

.form-control,
.form-select,
.form-check-input {
    border-radius: 0.85rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(90, 104, 136, 0.35);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem var(--accent-soft);
}

.plan-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border 0.35s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.plan-card[data-disabled="true"] {
    background: var(--disabled-card-bg);
    cursor: not-allowed;
}

.plan-card[data-selected="true"] {
    border: 2px solid var(--accent);
    box-shadow: 0 2rem 4rem rgba(76, 111, 255, 0.25);
}

.plan-card[data-disabled="true"]::after {
    content: "Próximamente";
    position: absolute;
    top: 1.5rem;
    right: -4rem;
    transform: rotate(35deg);
    background: rgba(76, 111, 255, 0.9);
    color: #fff;
    padding: 0.4rem 3rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

.plan-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.plan-price {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--accent);
}

.plan-badge {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--accent-soft);
    color: var(--accent);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.plan-features li i {
    color: var(--success);
    margin-right: 0.6rem;
}

.plan-features li[data-available="false"] i {
    color: var(--danger);
}

.summary-card {
    position: sticky;
    top: 15vh;
}

.summary-card h4 {
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    margin-bottom: 1.5rem;
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem 0;
    display: grid;
    gap: 0.9rem;
}

.summary-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(243, 245, 255, 0.8);
    border-radius: 0.9rem;
    padding: 0.9rem 1rem;
    font-weight: 500;
}

.cta-btn {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-btn:disabled {
    background: rgba(76, 111, 255, 0.35);
    border: none;
    transform: none;
    box-shadow: none;
}

.cta-btn:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 1.3rem 2.6rem rgba(76, 111, 255, 0.35);
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: rgba(31, 31, 41, 0.72);
    margin-top: 1.2rem;
}

.secure-badge i {
    color: var(--success);
}

.alert-placeholder {
    margin-bottom: 1.2rem;
}

.legal-note {
    font-size: 0.85rem;
    color: rgba(31, 31, 41, 0.65);
}

footer {
    background: rgba(5, 10, 28, 0.84);
    color: rgba(255, 255, 255, 0.85);
    padding: clamp(2vh, 3vw, 3.5vh) 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .summary-card {
        position: static;
        margin-top: 2.5rem;
    }

    .navbar-brand img {
        height: 6.5vw;
    }
}

@media (max-width: 768px) {
    .hero-wrapper {
        padding-top: clamp(14vh, 18vh, 20vh);
    }

    .hero-card {
        padding: clamp(3vh, 8vw, 6vh);
    }
}

