/* ==================== VARIABLES & BASE ==================== */
:root {
    --bg-body: #020617;          /* fondo general */
    --bg-elevated: #020617;      /* nav, secciones */
    --bg-card: #0b1120;          /* cards */
    --bg-card-alt: #020617;
    --border-soft: #1e293b;

    --color-text: #e5e7eb;
    --color-muted: #9ca3af;

    --primary: #22c55e;          /* verde principal */
    --primary-hover: #16a34a;
    --primary-soft: rgba(34, 197, 94, 0.12);

    --accent: #38bdf8;           /* turquesa/acento */
    --accent-soft: rgba(56, 189, 248, 0.12);

    --violet: #a855f7;           /* violeta para detalles */
    --danger: #f97373;

    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.7);
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 999px;

    --max-width: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body.landing-body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, #0b1120 0, #020617 55%, #020617 100%);
    color: var(--color-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* ==================== NAVBAR / HEADER ==================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: linear-gradient(to bottom, rgba(2,6,23,0.98), rgba(2,6,23,0.9));
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15,23,42,0.8);
}

.navbar {
    max-width: var(--max-width);
    margin: 0 auto;
}

.brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    object-fit: contain;
}

.navbar-brand span {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--color-muted) !important;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-text) !important;
    opacity: 1;
}

.navbar-toggler {
    border-color: rgba(148,163,184,0.6);
}

/* ==================== BOTONES CTA ==================== */

.btn-primary-lp {
    background: var(--primary);
    border-color: var(--primary);
    color: #0f172a;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 999px;
    padding: 0.5rem 1.4rem;
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.4);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary-lp:hover,
.btn-primary-lp:focus {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(34, 197, 94, 0.55);
    color: #0f172a;
}

.btn-outline-lp {
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.7);
    color: var(--color-text);
    background: transparent;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1.3rem;
    transition: border 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-outline-lp:hover,
.btn-outline-lp:focus {
    border-color: var(--accent);
    background: rgba(15,23,42,0.9);
    color: var(--accent);
    transform: translateY(-1px);
}

/* ==================== SECCIONES GENERALES ==================== */

section {
    padding: 3.5rem 0;
}

.section-alt {
    background: radial-gradient(circle at top right, #020617 0, #020617 40%, #020617 60%, #020617 100%);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--color-muted);
    max-width: 640px;
    margin: 0.25rem auto 0;
}

.section-header {
    margin-bottom: 2.2rem;
}

/* ==================== HERO ==================== */

.hero-section {
    padding-top: 4rem;
    padding-bottom: 3rem;
}

.hero-section .container {
    max-width: var(--max-width);
}

.hero-copy {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.4);
    background: radial-gradient(circle at left, rgba(34,197,94,0.12), transparent 60%);
    color: var(--color-muted);
    margin-bottom: 0.8rem;
}

.hero-title {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.hero-subtitle {
    font-size: 0.97rem;
    color: var(--color-muted);
    margin-bottom: 1.2rem;
}

.hero-actions {
    margin-bottom: 0.9rem;
}

.hero-footnote {
    font-size: 0.78rem;
    color: var(--color-muted);
}

/* ==================== HERO CARD (PREVIEW) ==================== */

.hero-card {
    background: radial-gradient(circle at top left, rgba(56,189,248,0.25), transparent 55%) 
                radial-gradient(circle at bottom right, rgba(34,197,94,0.2), transparent 55%);
    background-color: #020617;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148,163,184,0.45);
    box-shadow: var(--shadow-soft);
    padding: 1.1rem 1.1rem 1rem;
}

.hero-card-header {
    font-size: 0.78rem;
}

.badge-soft-primary {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    font-size: 0.7rem;
    background: rgba(56,189,248,0.18);
    color: #e0f2fe;
}

.hero-card-body img {
    border-radius: 12px;
    border: 1px solid rgba(15,23,42,0.85);
    background: #020617;
}

.hero-card-footer {
    font-size: 0.78rem;
}

/* ==================== PARA QUIÉN ES ==================== */

.use-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 1.1rem 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.use-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.use-title {
    font-size: 1rem;
    margin: 0;
}

.use-text {
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* ==================== FEATURES ==================== */

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 1.1rem 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.2rem;
}

.feature-title {
    font-size: 1rem;
    margin: 0;
}

.feature-text {
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* ==================== BENEFICIOS ==================== */

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.benefits-list i {
    color: var(--primary);
    margin-top: 0.05rem;
}

.benefits-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    padding: 1.3rem 1.2rem;
    box-shadow: 0 18px 45px rgba(15,23,42,0.8);
}

.benefits-card-title {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.benefits-card-text {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.benefits-card-cta {
    margin-top: 0.8rem;
    margin-bottom: 0.4rem;
}

.benefits-note {
    color: var(--color-muted);
}

/* ==================== SWIPER / CAPTURAS ==================== */

.main-swiper {
    max-width: var(--max-width);
    margin: 0 auto;
}

.screenshot-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.screenshot-card img {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(15,23,42,0.85);
    cursor: zoom-in;
}

.screenshot-caption {
    padding: 0.7rem 0.75rem 0.8rem;
}

.screenshot-caption h3 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.screenshot-caption p {
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* Swiper controls */
.swiper-pagination-bullet {
    background: rgba(148,163,184,0.7);
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: var(--accent);
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--accent);
}

/* ==================== CTA FINAL ==================== */

.section-cta {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background: radial-gradient(circle at center, rgba(34,197,94,0.14), transparent 60%);
}

.cta-card {
    max-width: 620px;
    margin: 0 auto;
    background: rgba(15,23,42,0.8);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    padding: 1.7rem 1.4rem 1.6rem;
    box-shadow: var(--shadow-soft);
}

/* ==================== FOOTER ==================== */

.main-footer {
    border-top: 1px solid rgba(15,23,42,0.8);
    background: #020617;
    padding: 1.8rem 0 1.2rem;
    font-size: 0.85rem;
}

.main-footer .container {
    max-width: var(--max-width);
}

.brand-logo-sm {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-text {
    margin: 0;
    color: var(--color-muted);
    max-width: 420px;
    font-size: 0.85rem;
}

.footer-links h6 {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    color: var(--color-text);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.25rem;
}

.footer-links a {
    color: var(--color-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 1.2rem;
    border-top: 1px solid rgba(15,23,42,0.65);
    padding-top: 0.85rem;
}

.footer-copy {
    color: var(--color-muted);
}

/* ==================== MODAL SCREENSHOT ==================== */

.screenshot-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.screenshot-modal.is-open {
    display: flex;
}

.screenshot-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.9);
    backdrop-filter: blur(10px);
}

.screenshot-modal-dialog {
    position: relative;
    max-width: 980px;
    max-height: 90vh;
    padding: 0.75rem;
    z-index: 1;
}

.screenshot-modal-dialog img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,0.7);
    box-shadow: 0 24px 60px rgba(15,23,42,0.9);
}

.screenshot-modal-close {
    position: absolute;
    top: 0;
    right: 0.2rem;
    transform: translateY(-110%);
    background: rgba(15,23,42,0.95);
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.8);
    color: var(--color-text);
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
}

body.modal-open-soft {
    overflow: hidden;
}

/* ==================== UTILIDADES / AJUSTES ==================== */

.chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.18rem 0.7rem;
    border: 1px solid rgba(148,163,184,0.55);
    font-size: 0.78rem;
    color: var(--color-muted);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
    text-decoration: none;
}

.chip-sm {
    padding-inline: 0.55rem;
}

.chip:hover {
    border-color: var(--accent);
    background: rgba(15,23,42,0.9);
    color: var(--accent);
    transform: translateY(-1px);
}

.chip-active {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: #e0f2fe;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 3rem;
    }
    .hero-card {
        margin-top: 0.5rem;
    }
    .cta-card {
        padding-inline: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    section {
        padding: 2.6rem 0;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-card {
        padding: 0.9rem;
    }
    .section-title {
        font-size: 1.55rem;
    }
}