/* ============================================================
   NextJobAI — Landing Page CSS
   Complementa style.css (debe cargarse después)
   ============================================================ */

/* ---------- Reset landing ---------- */
.landing-body {
    background: var(--bg);
    overflow-x: hidden;
}

/* ---------- Topbar / Nav ---------- */
.landing-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10,14,26,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s;
}
.landing-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}
.landing-brand {
    font-family: Georgia, serif;
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--white) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.landing-brand-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    display: inline-block;
    box-shadow: 0 0 8px var(--accent);
}
.landing-nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0; padding: 0;
}
.landing-nav-links a {
    color: var(--white60) !important;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}
.landing-nav-links a:hover { color: var(--white) !important; }
.landing-nav-cta {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 7rem 1.5rem 4rem;
}
.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero-bg-glow-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 70%);
    top: -200px; right: -200px;
}
.hero-bg-glow-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(168,85,247,0.12) 0%, transparent 70%);
    bottom: -100px; left: -100px;
}
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}
@media (max-width: 850px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 20px;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    color: var(--accent2);
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}
.hero-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-family: Georgia, serif;
    color: var(--white);
    line-height: 1.15;
    margin: 0 0 1rem;
    font-weight: bold;
}
.hero-title-accent {
    background: linear-gradient(90deg, var(--accent2), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--white60);
    line-height: 1.65;
    margin: 0 0 1.8rem;
    max-width: 520px;
}
.hero-cta {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2.2rem;
}
.btn-hero {
    background: linear-gradient(135deg, var(--accent), var(--gradient2));
    color: #fff !important;
    border: none;
    padding: 0.85rem 1.8rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 24px rgba(99,102,241,0.35);
}
.btn-hero:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-hero-ghost {
    background: transparent;
    color: var(--white90) !important;
    border: 1px solid var(--border);
    padding: 0.85rem 1.6rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    transition: border-color 0.2s, color 0.2s;
}
.btn-hero-ghost:hover { border-color: var(--accent); color: var(--white) !important; }

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.hero-stat-item { }
.hero-stat-num {
    font-size: 1.6rem;
    font-weight: bold;
    font-family: Georgia, serif;
    color: var(--white);
}
.hero-stat-label {
    font-size: 0.78rem;
    color: var(--white40);
    margin-top: 0.1rem;
}

/* ---------- Dashboard mock card (hero right) ---------- */
.hero-visual {
    position: relative;
}
.hero-mock-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
.hero-mock-topbar {
    background: var(--bg2);
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-mock-body { padding: 1.3rem; }
.mock-score-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}
.mock-score-circle {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: conic-gradient(var(--accent) 74%, var(--bg2) 0);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.mock-score-circle::before {
    content: "";
    position: absolute;
    width: 62px; height: 62px;
    border-radius: 50%;
    background: var(--card);
}
.mock-score-circle span {
    position: relative;
    z-index: 1;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent2);
    font-family: Georgia, serif;
}
.mock-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.mock-kpi {
    background: var(--bg2);
    border-radius: 8px;
    padding: 0.6rem;
    text-align: center;
}
.mock-kpi-num { font-size: 1.1rem; font-weight: bold; color: var(--white); }
.mock-kpi-lbl { font-size: 0.68rem; color: var(--white40); margin-top: 0.1rem; }
.mock-bar-row { margin-bottom: 0.5rem; }
.mock-bar-label { font-size: 0.75rem; color: var(--white60); margin-bottom: 0.2rem; display: flex; justify-content: space-between; }
.mock-bar-track { height: 7px; background: var(--bg2); border-radius: 4px; overflow: hidden; }
.mock-bar-fill { height: 100%; border-radius: 4px; }
.hero-mock-badge {
    position: absolute;
    bottom: -16px; right: -16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    white-space: nowrap;
}
.mock-badge-icon { font-size: 1.2rem; }
.mock-badge-text { font-size: 0.8rem; color: var(--white); }
.mock-badge-text span { color: var(--green); font-weight: bold; }

/* ---------- Secciones generales ---------- */
.landing-section {
    padding: 5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent2);
    margin-bottom: 0.6rem;
    text-align: center;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-family: Georgia, serif;
    color: var(--white);
    text-align: center;
    margin: 0 0 0.7rem;
    line-height: 1.25;
}
.section-subtitle {
    color: var(--white60);
    font-size: 1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.65;
}

/* ---------- Divider ---------- */
.section-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* ---------- Problema / Solución ---------- */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 750px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-list { list-style: none; padding: 0; margin: 0; }
.problem-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--white60);
}
.problem-list li:last-child { border-bottom: none; }
.problem-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }

/* ---------- Metodología / 12 etapas ---------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
}
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.1rem;
    transition: border-color 0.2s, transform 0.15s;
}
.step-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.step-num {
    font-size: 1.2rem;
    font-weight: bold;
    font-family: Georgia, serif;
    margin-bottom: 0.4rem;
}
.step-name {
    font-size: 0.88rem;
    color: var(--white90);
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.step-desc {
    font-size: 0.78rem;
    color: var(--white40);
    line-height: 1.5;
}

/* ---------- Funcionalidades ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
@media (max-width: 800px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--accent); }
.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    display: block;
}
.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.4rem;
}
.feature-desc {
    font-size: 0.87rem;
    color: var(--white60);
    line-height: 1.6;
}

/* ---------- Planes / Pricing ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    align-items: start;
}
@media (max-width: 750px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.8rem 1.4rem;
    position: relative;
}
.pricing-card.highlighted {
    border-color: var(--accent);
    background: linear-gradient(160deg, #1A1A3E 0%, var(--card) 100%);
    box-shadow: 0 0 40px rgba(99,102,241,0.15);
}
.pricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--accent), var(--purple));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    letter-spacing: 1px;
    white-space: nowrap;
}
.pricing-plan-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white60);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}
.pricing-price {
    font-size: 2.6rem;
    font-weight: bold;
    font-family: Georgia, serif;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.2rem;
}
.pricing-price sup { font-size: 1rem; vertical-align: super; }
.pricing-price sub { font-size: 0.9rem; color: var(--white60); vertical-align: baseline; }
.pricing-desc {
    font-size: 0.83rem;
    color: var(--white60);
    margin-bottom: 1.4rem;
    line-height: 1.5;
}
.pricing-features { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.45rem 0;
    font-size: 0.88rem;
    color: var(--white60);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-check { color: var(--green); flex-shrink: 0; font-size: 0.9rem; margin-top: 0.1rem; }
.pricing-x { color: var(--white40); flex-shrink: 0; font-size: 0.9rem; }

/* ---------- Cómo funciona ---------- */
.how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
}
@media (max-width: 800px) { .how-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .how-steps { grid-template-columns: 1fr; } }
.how-step {
    text-align: center;
    padding: 1.5rem 1rem;
}
.how-step-num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(99,102,241,0.4);
}
.how-step-title { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; }
.how-step-desc { font-size: 0.83rem; color: var(--white60); line-height: 1.55; }

/* ---------- Testimoniales ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
@media (max-width: 750px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
}
.testimonial-quote {
    font-size: 0.92rem;
    color: var(--white60);
    line-height: 1.65;
    margin-bottom: 1.2rem;
    font-style: italic;
}
.testimonial-quote::before { content: '"'; color: var(--accent2); font-size: 1.3rem; }
.testimonial-quote::after  { content: '"'; color: var(--accent2); font-size: 1.3rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.7rem; }
.testimonial-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
}
.testimonial-name { font-size: 0.88rem; font-weight: 700; color: var(--white); }
.testimonial-role { font-size: 0.78rem; color: var(--white40); }

/* ---------- Estadísticas / Banner ---------- */
.stats-banner {
    background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(168,85,247,0.08) 100%);
    border-top: 1px solid rgba(99,102,241,0.2);
    border-bottom: 1px solid rgba(99,102,241,0.2);
    padding: 3.5rem 1.5rem;
}
.stats-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
@media (max-width: 700px) { .stats-banner-inner { grid-template-columns: repeat(2, 1fr); } }
.stat-banner-num {
    font-size: 2.2rem;
    font-weight: bold;
    font-family: Georgia, serif;
    color: var(--white);
    margin-bottom: 0.3rem;
}
.stat-banner-label { font-size: 0.85rem; color: var(--white60); }

/* ---------- CTA final ---------- */
.cta-section {
    padding: 5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.15) 0%, transparent 70%);
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-family: Georgia, serif;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}
.cta-subtitle {
    font-size: 1rem;
    color: var(--white60);
    margin-bottom: 2rem;
    position: relative;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- Footer ---------- */
.landing-footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 2.5rem 1.5rem;
}
.landing-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.landing-footer-brand {
    font-family: Georgia, serif;
    font-weight: bold;
    color: var(--white);
    font-size: 1rem;
}
.landing-footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.landing-footer-links a { font-size: 0.85rem; color: var(--white40); }
.landing-footer-links a:hover { color: var(--white60); }
.landing-footer-copy { font-size: 0.78rem; color: var(--white40); }

/* ---------- Smooth scroll ---------- */
html { scroll-behavior: smooth; }

/* ---------- Mobile nav toggle ---------- */
.mobile-menu-btn {
    display: none;
    background: none; border: none;
    color: var(--white60);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.2rem;
}
@media (max-width: 700px) {
    .mobile-menu-btn { display: block; }
    .landing-nav-links { display: none; }
    .landing-nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px; left: 0; right: 0;
        background: var(--bg2);
        border-bottom: 1px solid var(--border);
        padding: 1.2rem 1.5rem;
        gap: 1rem;
    }
}
