:root {
    --pink: #e0338b;
    --pink-light: #f472b6;
    --teal: #1a6e7e;
    --teal-dark: #0d3d47;
    --white: #ffffff;
    --off-white: #fdf4f9;
    --gray: #6b7280;
    --dark: #1a1a2e;
    --green: #00b42a;
    --red: #ff0000;
    --blue: #0000ff;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    background: #ffffff;
    color: var(--dark);
    overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 68px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
    border-bottom: 2px solid var(--pink);
    box-shadow: 0 2px 24px rgba(224,51,139,0.10);
}

.nav-logo {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.9rem;
    color: var(--pink);
    letter-spacing: 1px;
    text-decoration: none;
}
.nav-logo span { color: var(--teal); }

.nav-links {
    display: flex;
    gap: 0.4rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    transition: all 0.22s;
    color: var(--dark);
    letter-spacing: 0.3px;
}

.nav-links a:hover { color: var(--pink); background: rgba(224,51,139,0.08); }

.nav-links .btn-register {
    background: var(--pink);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(224,51,139,0.25);
}
.nav-links .btn-register:hover {
    background: var(--pink-light);
    color: var(--white);
}

.nav-links .btn-login {
    border: 2px solid var(--teal);
    color: var(--teal);
}
.nav-links .btn-login:hover {
    background: var(--teal);
    color: var(--white);
}

.nav-links .btn-asesor {
    border: 2px solid var(--pink);
    color: var(--pink);
}
.nav-links .btn-asesor:hover {
    background: var(--pink);
    color: var(--white);
}

/* ─── HERO ─── */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 2rem 60px;
    background: #ffff00;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: #ffffff;
    pointer-events: none;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: #ffffff;
    pointer-events: none;
}

.hero-inner {
    max-width: 1100px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-text { flex: 1; }

.hero-badge {
    display: inline-block;
    background: var(--pink);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    animation: fadeDown 0.5s ease both;
}

.hero-badge-2 {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    font-size: 1.50rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.3rem 1rem;
    border-radius: 0px;
    margin-bottom: 1.2rem;
    animation: fadeDown 0.5s ease both;
}

.hero-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    line-height: 1;
    color: var(--teal-dark);
    margin-bottom: 1.4rem;
    animation: fadeDown 0.6s ease 0.1s both;
}

.hero-title span { color: var(--pink); }

.hero-description {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    line-height: 1.7;
    color: #374151;
    max-width: 520px;
    margin-bottom: 2.2rem;
    font-weight: 600;
    animation: fadeDown 0.7s ease 0.2s both;
}

.hero-description strong { color: var(--pink); }

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeDown 0.8s ease 0.3s both;
}

.btn-primary {
    background: var(--pink);
    color: var(--white);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(224,51,139,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(224,51,139,0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--teal);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    border: 2.5px solid var(--teal);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--teal);
    color: var(--white);
}

.hero-logo-wrap {
    flex-shrink: 0;
    animation: floatLogo 3.5s ease-in-out infinite;
}

.hero-logo-wrap img {
    width: clamp(220px, 28vw, 360px);
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── FEATURES ─── */
#features {
    padding: 100px 2rem;
    background: var(--white);
}

.section-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--pink);
    margin-bottom: 0.7rem;
}

.section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--teal-dark);
    text-align: center;
    margin-bottom: 3.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem 1.8rem;
    border: 2px solid transparent;
    transition: border 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pink), var(--teal));
    opacity: 0;
    transition: opacity 0.25s;
}

.feature-card:hover {
    border-color: var(--pink-light);
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(224,51,139,0.13);
}

.feature-card:hover::before { opacity: 1; }

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

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--teal-dark);
    margin-bottom: 0.6rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ─── HOW IT WORKS ─── */
#how {
    padding: 100px 2rem;
    background: linear-gradient(135deg, var(--teal-dark) 0%, #0d4d5c 100%);
    position: relative;
    overflow: hidden;
}

#how .section-label { color: var(--pink-light); }
#how .section-title { color: var(--white); }

.steps {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}

.step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -10px; top: 50%;
    transform: translateY(-50%);
    color: var(--pink);
    font-size: 1.8rem;
    font-weight: 900;
}

.step-num {
    width: 56px; height: 56px;
    background: var(--pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    color: var(--white);
    margin: 0 auto 1rem;
    box-shadow: 0 4px 20px rgba(224,51,139,0.4);
}

.step h4 {
    font-size: 1rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* ─── PRICING ─── */
#pricing {
    padding: 100px 2rem;
    background: #ffffff;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    flex: 1;
    min-width: 240px;
    max-width: 320px;
    border: 2px solid #e5e7eb;
    transition: transform 0.25s, box-shadow 0.25s;
    text-align: center;
}

.pricing-card.featured {
    border-color: var(--pink);
    box-shadow: 0 8px 40px rgba(224,51,139,0.18);
    transform: scale(1.04);
    position: relative;
}

.pricing-card.featured::before {
    content: '⭐ MÁS POPULAR';
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--pink);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    white-space: nowrap;
}

.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.09); }
.pricing-card.featured:hover { transform: scale(1.04) translateY(-6px); }

.pricing-card h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.6rem;
    color: var(--teal-dark);
    margin-bottom: 0.5rem;
}

.price {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: var(--pink);
    line-height: 1;
    margin: 0.8rem 0 0.3rem;
}

.price span { font-size: 1.2rem; color: var(--gray); font-family: 'Nunito', sans-serif; }

.pricing-desc {
    font-size: 0.88rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    font-size: 0.92rem;
    padding: 0.4rem 0;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before { content: '✓'; color: var(--pink); font-weight: 900; }

/* ─── CTA BANNER ─── */
#cta-banner {
    background: linear-gradient(135deg, var(--pink) 0%, #c01e72 100%);
    padding: 80px 2rem;
    text-align: center;
}

#cta-banner h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1rem;
}

#cta-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.btn-white {
    background: var(--white);
    color: var(--pink);
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.05rem;
    padding: 0.9rem 2.4rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.22); }

/* ─── FOOTER ─── */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.55);
    text-align: center;
    padding: 2.5rem 2rem;
    font-size: 0.88rem;
}

footer a { color: var(--pink-light); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .hero-inner { flex-direction: column-reverse; gap: 2rem; text-align: center; }
    .hero-cta { justify-content: center; }
    .step:not(:last-child)::after { display: none; }
    .pricing-card.featured { transform: scale(1); }
}
