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

:root {
    --bg: #06101d;
    --bg-soft: #0a1626;
    --surface: rgba(15, 29, 47, 0.72);
    --surface-solid: #0e1b2d;
    --line: rgba(255, 255, 255, 0.09);
    --text: #f7fafc;
    --muted: #9badc2;
    --blue: #3b82f6;
    --blue-light: #60a5fa;
    --blue-dark: #2563eb;
    --green: #34d399;
    --shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 50% -20%, rgba(37, 99, 235, .15), transparent 36%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--line);
    background: rgba(6, 16, 29, .76);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand img {
    height: 48px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    color: #c9d5e5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color .2s ease;
}

.main-nav a:hover { color: white; }

.main-nav .nav-cta {
    color: white;
    padding: 10px 17px;
    border: 1px solid rgba(96, 165, 250, .35);
    border-radius: 10px;
    background: rgba(59, 130, 246, .1);
}

.hero {
    min-height: 690px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 92px 0 100px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-glow {
    position: absolute;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: .18;
}

.hero-glow-one {
    background: #2563eb;
    left: -240px;
    top: -180px;
}

.hero-glow-two {
    background: #38bdf8;
    right: -260px;
    bottom: -260px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 70px;
    align-items: center;
}

.eyebrow,
.section-kicker {
    color: var(--blue-light);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 11px;
    font-weight: 800;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(96, 165, 250, .2);
    border-radius: 999px;
    background: rgba(59, 130, 246, .07);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(52, 211, 153, .7);
}

.hero h1 {
    margin: 24px 0 18px;
    font-size: clamp(45px, 6vw, 72px);
    line-height: .98;
    letter-spacing: -.055em;
    max-width: 700px;
}

.hero h1 span {
    display: block;
    color: var(--blue-light);
}

.hero-lead {
    max-width: 610px;
    margin: 0;
    color: #afbed0;
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.btn {
    min-height: 54px;
    padding: 0 21px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 14px 35px rgba(37, 99, 235, .3);
}

.btn-primary:hover {
    box-shadow: 0 18px 42px rgba(37, 99, 235, .42);
}

.btn-secondary {
    color: #dbeafe;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .025);
}

.btn-arrow {
    font-size: 20px;
    line-height: 1;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    margin-top: 19px;
    color: #8fa3b9;
    font-size: 12px;
}

.download-status {
    display: none;
    margin-top: 12px;
    color: var(--green);
    font-size: 12px;
}

.hero-product {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
}

.product-window {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: rgba(12, 24, 40, .92);
    box-shadow: var(--shadow);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
}

.window-top {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    color: #9badc2;
    font-size: 11px;
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #334155;
}

.window-status {
    margin-left: auto;
    color: #7dd3fc;
}

.dashboard-preview {
    min-height: 360px;
    display: flex;
}

.preview-sidebar {
    width: 64px;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 19px;
    background: rgba(4, 12, 22, .55);
    border-right: 1px solid var(--line);
}

.preview-sidebar .preview-logo {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 9px;
    color: white;
    font-weight: 900;
    background: var(--blue);
}

.preview-sidebar span {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: #263a52;
}

.preview-sidebar span.active {
    background: #3b82f6;
    box-shadow: 0 0 18px rgba(59, 130, 246, .3);
}

.preview-content {
    flex: 1;
    padding: 25px;
}

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

.preview-heading small {
    display: block;
    color: #6f8299;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.preview-heading strong {
    display: block;
    margin-top: 4px;
    font-size: 19px;
}

.preview-pill {
    padding: 6px 9px;
    border-radius: 7px;
    color: #93c5fd;
    background: rgba(59, 130, 246, .1);
    font-size: 9px;
    font-weight: 700;
}

.preview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin-top: 22px;
}

.preview-cards > div {
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .025);
}

.preview-cards small,
.preview-cards strong,
.preview-cards em {
    display: block;
}

.preview-cards small {
    color: #73869b;
    font-size: 8px;
}

.preview-cards strong {
    margin-top: 5px;
    font-size: 13px;
}

.preview-cards em {
    margin-top: 5px;
    color: #34d399;
    font-size: 7px;
    font-style: normal;
}

.preview-chart {
    height: 185px;
    margin-top: 14px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255, 255, 255, .018);
}

.chart-label {
    color: #7d90a7;
    font-size: 9px;
}

.chart-bars {
    height: 125px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: 10px;
}

.chart-bars i {
    flex: 1;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(to top, #2563eb, #60a5fa);
    opacity: .85;
}

.floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(9, 22, 37, .94);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .3);
}

.floating-card-stock { left: -30px; bottom: 30px; }
.floating-card-sale { right: -28px; top: 55px; }

.floating-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #86efac;
    background: rgba(34, 197, 94, .12);
    font-weight: 900;
}

.floating-card small,
.floating-card strong { display: block; }

.floating-card small { color: #72869c; font-size: 9px; }
.floating-card strong { font-size: 11px; }

.promise {
    padding: 72px 0;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .012);
}

.promise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.promise h2,
.section-heading h2,
.video-copy h2,
.security-box h2,
.download-box h2 {
    margin: 10px 0 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.promise p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 700px;
}

.section-heading.centered {
    margin: 0 auto;
    text-align: center;
}

.section-heading h2 span,
.download-box h2 span {
    color: var(--blue-light);
}

.section-heading p {
    margin: 20px 0 0;
    color: var(--muted);
    max-width: 620px;
}

.section-heading.centered p { margin-left: auto; margin-right: auto; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 50px;
}

.benefit-card {
    min-height: 225px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(19, 36, 57, .8), rgba(10, 22, 37, .72));
    transition: transform .2s ease, border-color .2s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, .25);
}

.benefit-card.featured {
    border-color: rgba(59, 130, 246, .28);
    background: linear-gradient(145deg, rgba(25, 53, 91, .75), rgba(10, 22, 37, .8));
}

.card-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #93c5fd;
    background: rgba(59, 130, 246, .11);
    font-weight: 900;
}

.benefit-card h3 {
    margin: 23px 0 8px;
    font-size: 18px;
}

.benefit-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.card-tag {
    display: inline-block;
    margin-top: 18px;
    color: #93c5fd;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.video-section {
    padding: 100px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .012);
}

.video-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 60px;
    align-items: center;
}

.video-copy p {
    max-width: 460px;
    color: var(--muted);
    margin-top: 20px;
}

.video-points {
    display: grid;
    gap: 8px;
    margin-top: 25px;
    color: #b7c7d9;
    font-size: 13px;
}

.video-container {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #000;
    box-shadow: var(--shadow);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.features {
    background: rgba(255, 255, 255, .008);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 55px;
    border-top: 1px solid var(--line);
}

.feature-list > div {
    min-height: 105px;
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 15px;
    align-content: center;
    padding: 20px 10px;
    border-bottom: 1px solid var(--line);
}

.feature-list > div:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 35px;
}

.feature-list > div:nth-child(even) {
    padding-left: 35px;
}

.feature-list span {
    grid-row: 1 / 3;
    color: #4b82c7;
    font-size: 11px;
    font-weight: 800;
    padding-top: 3px;
}

.feature-list strong { font-size: 15px; }
.feature-list small { color: #75889e; font-size: 12px; }

.testimonials {
    border-top: 1px solid var(--line);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 50px;
}

.testimonial-card {
    min-height: 285px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(14, 27, 45, .7);
}

.testimonial-placeholder {
    border-style: dashed;
}

.quote {
    color: var(--blue-light);
    font-size: 48px;
    line-height: .7;
    font-family: Georgia, serif;
}

.testimonial-card p {
    min-height: 100px;
    margin: 22px 0;
    color: #bdcbd9;
    font-size: 14px;
    line-height: 1.75;
}

.person {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.avatar {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(59, 130, 246, .12);
    color: #93c5fd;
    font-size: 10px;
    font-weight: 900;
}

.person strong,
.person span {
    display: block;
}

.person strong { font-size: 11px; }
.person span { color: #71859a; font-size: 10px; }

.screens {
    padding: 105px 0;
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 50px;
}

.screen-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 15px;
    cursor: zoom-in;
    transition: transform .2s ease, border-color .2s ease;
}

.screen-img:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, .3);
}

.security-section {
    padding: 0 0 105px;
}

.security-box {
    display: grid;
    grid-template-columns: 75px 1fr;
    gap: 25px;
    padding: 38px;
    border: 1px solid rgba(52, 211, 153, .16);
    border-radius: 19px;
    background: linear-gradient(120deg, rgba(17, 54, 53, .35), rgba(10, 25, 40, .7));
}

.security-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #86efac;
    background: rgba(34, 197, 94, .1);
    font-size: 23px;
    font-weight: 900;
}

.security-box h2 { font-size: 30px; }
.security-box p { max-width: 780px; color: var(--muted); font-size: 13px; }
.security-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #a9bacb;
    font-size: 11px;
    font-weight: 700;
}

.download-section {
    padding: 110px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 50% 100%, rgba(37, 99, 235, .16), transparent 48%),
        #071321;
}

.download-box {
    text-align: center;
}

.download-box h2 { margin-top: 13px; }
.download-box p { color: var(--muted); margin: 20px 0 30px; }
.btn-large { min-height: 60px; padding: 0 28px; }
.download-box > small { display: block; margin-top: 14px; color: #71859b; font-size: 10px; }
.download-indicator { display: none; margin-top: 15px; color: var(--green); font-size: 12px; }

.faq {
    padding-bottom: 115px;
}

.faq-container {
    max-width: 850px;
    margin: 50px auto 0;
}

.faq-item {
    border-top: 1px solid var(--line);
}

.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-question {
    width: 100%;
    min-height: 70px;
    padding: 0;
    border: 0;
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.faq-question::after {
    content: "+";
    color: #7190b1;
    font-size: 23px;
    font-weight: 300;
    transition: transform .2s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    color: #8fa2b7;
    font-size: 13px;
    line-height: 1.8;
    transition: max-height .3s ease, padding-bottom .3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 22px;
}

footer {
    padding: 50px 0 25px;
    background: #040b14;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-inner img { height: 40px; width: auto; }
.footer-inner p { color: #64778c; margin: 8px 0 0; font-size: 11px; }

.footer-contact strong,
.footer-contact a {
    display: block;
}

.footer-contact strong { font-size: 12px; }
.footer-contact a {
    margin-top: 7px;
    color: #8db5e9;
    font-size: 11px;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: #526579;
    font-size: 10px;
}


.whatsapp-btn {
    position: fixed;
    z-index: 900;
    right: 22px;
    bottom: 22px;

    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;

    color: white;
    background: #20bd67;

    text-decoration: none;

    box-shadow: 0 12px 30px rgba(0,0,0,.3);

    transition: transform .2s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.04);
}

.whatsapp-btn svg {
    width: 30px;
    height: 30px;
    display: block;
}


/* Mensaje de bienvenida de WhatsApp */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    bottom: 50%;

    transform: translateY(50%) translateX(10px);

    width: max-content;
    max-width: min(280px, calc(100vw - 110px));

    padding: 12px 16px;

    background: #ffffff;
    color: #1f2937;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;

    border-radius: 12px;

    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .3s ease,
        transform .3s ease,
        visibility .3s ease;
}

/* Pequeña punta hacia el logo */
.whatsapp-tooltip::after {
    content: "";

    position: absolute;
    right: -6px;
    top: 50%;

    width: 12px;
    height: 12px;

    background: #ffffff;

    transform: translateY(-50%) rotate(45deg);
}

/* Estado visible */
.whatsapp-tooltip.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(50%) translateX(0);
}

/* Adaptación para celulares */
@media (max-width: 480px) {
    .whatsapp-tooltip {
        font-size: 13px;
        padding: 10px 13px;
    }
}

.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, .9);
}

.image-modal.open { display: flex; }

.modal-content {
    max-width: min(1200px, 94vw);
    max-height: 88vh;
    border-radius: 12px;
    box-shadow: 0 30px 100px rgba(0,0,0,.55);
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    color: white;
    background: rgba(255,255,255,.06);
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .main-nav a:not(.nav-cta) { display: none; }

    .hero { padding-top: 65px; }
    .hero-grid,
    .promise-grid,
    .video-grid { grid-template-columns: 1fr; gap: 50px; }

    .hero-product { min-height: 380px; }
    .benefits-grid,
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .screens-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .container { width: min(100% - 28px, 1120px); }
    .header-inner { min-height: 68px; }
    .brand img { height: 40px; }
    .main-nav .nav-cta { padding: 9px 12px; font-size: 12px; }

    .hero { min-height: auto; padding: 58px 0 80px; }
    .hero h1 { font-size: 47px; }
    .hero-lead { font-size: 15px; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }
    .trust-row { justify-content: center; }

    .hero-product { min-height: 300px; }
    .product-window { transform: none; }
    .dashboard-preview { min-height: 280px; }
    .preview-sidebar { width: 45px; }
    .preview-content { padding: 14px; }
    .preview-cards { gap: 5px; }
    .preview-cards > div { padding: 8px; }
    .preview-cards strong { font-size: 10px; }
    .preview-chart { height: 140px; }
    .chart-bars { height: 85px; }
    .floating-card { display: none; }

    .promise,
    .section,
    .video-section,
    .screens,
    .download-section { padding: 75px 0; }

    .promise h2,
    .section-heading h2,
    .video-copy h2,
    .download-box h2 { font-size: 31px; }

    .benefits-grid,
    .testimonial-grid,
    .screens-grid,
    .feature-list { grid-template-columns: 1fr; }

    .feature-list > div:nth-child(odd) {
        border-right: 0;
        padding-right: 10px;
    }

    .feature-list > div:nth-child(even) { padding-left: 10px; }

    .security-section { padding-bottom: 75px; }
    .security-box { grid-template-columns: 1fr; padding: 26px; }
    .security-box h2 { font-size: 25px; }

    .footer-inner,
    .footer-bottom { flex-direction: column; }
    .footer-bottom { gap: 5px; }

    .whatsapp-btn { right: 15px; bottom: 15px; }
}


/* Alturas del gráfico: clases CSS para mantener una CSP estricta sin estilos inline. */
.chart-bars .h34 { height: 34%; }
.chart-bars .h42 { height: 42%; }
.chart-bars .h52 { height: 52%; }
.chart-bars .h60 { height: 60%; }
.chart-bars .h68 { height: 68%; }
.chart-bars .h72 { height: 72%; }
.chart-bars .h86 { height: 86%; }
