/* Landing Pro — ui-ux-pro-max: Enterprise Gateway + Trust & Authority
   Plus Jakarta Sans · Navy/Grey · Brand green CTA · Subtle depth, no playful gradients */

.landing-page {
    --lp-dark: #0f172a;
    --lp-dark-elevated: #1e293b;
    --lp-text: #0f172a;
    --lp-muted: #64748b;
    --lp-surface: #ffffff;
    --lp-muted-bg: #f8fafc;
    --lp-accent: #1cc88a;
    --lp-accent-dark: #13855c;
    --lp-blue: #0369a1;
    --lp-border: #e2e8f0;
    --lp-border-dark: rgba(148, 163, 184, 0.18);
    --lp-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --lp-shadow-md: 0 4px 24px rgba(15, 23, 42, 0.08);
    --lp-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --lp-radius: 12px;
    --lp-radius-lg: 16px;
    --lp-font: 'Plus Jakarta Sans', 'Inter', 'Nunito', sans-serif;

    min-height: 100vh;
    background: var(--lp-surface);
    color: var(--lp-text);
    font-family: var(--lp-font);
    font-size: 1rem;
    line-height: 1.625;
    -webkit-font-smoothing: antialiased;
}

.landing-page * {
    font-family: var(--lp-font);
}

/* —— Navigation —— */
.landing-hero-dark {
    position: relative;
    background: var(--lp-dark);
    color: #f8fafc;
    padding-bottom: 0;
    overflow: hidden;
}

.landing-hero-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 85%);
    pointer-events: none;
}

.landing-topnav {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--lp-border-dark);
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    color: inherit;
}

.landing-brand:hover {
    text-decoration: none;
    color: inherit;
    opacity: 0.9;
}

.landing-brand--light {
    color: #f8fafc;
}

.landing-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
}

.landing-topnav-links {
    gap: 1.75rem;
    margin-left: auto;
    margin-right: 1rem;
}

.landing-nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.landing-nav-link:hover {
    color: #f8fafc;
    text-decoration: none;
}

.landing-topnav-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.landing-btn-outline-light {
    color: #e2e8f0;
    border: 1px solid rgba(226, 232, 240, 0.28);
    background: transparent;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.landing-btn-outline-light:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
}

.landing-topnav-actions .btn-success {
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.landing-topnav-actions .btn-whatsapp {
    border-radius: 8px;
    font-size: 0.875rem;
}

/* —— Hero —— */
.landing-hero-inner {
    position: relative;
    z-index: 1;
    padding: 4rem 0 5rem;
}

.landing-kicker {
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    background: rgba(28, 200, 138, 0.1);
    border: 1px solid rgba(28, 200, 138, 0.25);
    color: #6ee7b7;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.landing-hero-headline {
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.landing-hero-copy {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 32rem;
    margin-bottom: 2rem;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
}

.landing-hero-actions .landing-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    border-radius: 8px;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-hero-btn--primary {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.landing-hero-btn--primary:hover {
    box-shadow: 0 4px 14px rgba(28, 200, 138, 0.25);
}

.landing-hero-btn--outline {
    color: #e2e8f0;
    border: 1px solid rgba(226, 232, 240, 0.28);
    background: transparent;
}

.landing-hero-btn--outline:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
}

.landing-hero-btn--whatsapp {
    border: 1px solid #25d366;
}

.landing-hero-btn--whatsapp:hover {
    border-color: #1daf5a;
}

.landing-btn-primary {
    border-radius: 8px;
    font-weight: 600;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-btn-primary:hover {
    box-shadow: 0 4px 14px rgba(28, 200, 138, 0.25);
}

/* —— Dashboard preview mock —— */
.landing-preview {
    border-radius: var(--lp-radius-lg);
    background: var(--lp-dark-elevated);
    border: 1px solid var(--lp-border-dark);
    box-shadow: var(--lp-shadow-lg);
    overflow: hidden;
}

.landing-preview-toolbar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid var(--lp-border-dark);
}

.landing-preview-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #475569;
}

.landing-preview-dot:first-child { background: #ef4444; }
.landing-preview-dot:nth-child(2) { background: #eab308; }
.landing-preview-dot:nth-child(3) { background: #22c55e; }

.landing-preview-toolbar-title {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.landing-preview-body {
    padding: 1.25rem;
}

.landing-preview-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.landing-preview-metric {
    padding: 0.85rem;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--lp-border-dark);
}

.landing-preview-metric-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.landing-preview-metric-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
}

.landing-preview-table {
    border: 1px solid var(--lp-border-dark);
    border-radius: 8px;
    overflow: hidden;
}

.landing-preview-row {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.7fr;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.75rem;
    color: #cbd5e1;
    border-bottom: 1px solid var(--lp-border-dark);
}

.landing-preview-row:last-child {
    border-bottom: none;
}

.landing-preview-row--head {
    background: rgba(15, 23, 42, 0.55);
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.625rem;
}

.landing-preview-badge {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: rgba(28, 200, 138, 0.15);
    color: #6ee7b7;
    font-weight: 600;
    font-size: 0.6875rem;
}

.landing-preview-badge--muted {
    background: rgba(234, 179, 8, 0.12);
    color: #fde047;
}

/* —— Trust bar —— */
.landing-trust-bar {
    position: relative;
    z-index: 2;
    margin-top: -1px;
    background: var(--lp-surface);
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
}

.landing-trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.landing-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1.25rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--lp-muted);
    border-right: 1px solid var(--lp-border);
}

.landing-trust-badge:last-child {
    border-right: none;
}

.landing-trust-badge i {
    font-size: 1.125rem;
    color: var(--lp-blue);
    flex-shrink: 0;
}

/* —— Sections —— */
.landing-page .landing-grid {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.landing-page .landing-grid > [class*='col-'] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-bottom: 1.5rem;
}

.landing-page .landing-grid--lg > [class*='col-'] {
    margin-bottom: 3rem;
}

.landing-page #streaming,
.landing-page #ventajas,
.landing-page #proceso {
    scroll-margin-top: 1.5rem;
}

html:has(.landing-page) {
    scroll-behavior: smooth;
}

.landing-block {
    padding: 5rem 0;
}

.landing-block--light {
    background: var(--lp-surface);
}

.landing-block--muted {
    background: var(--lp-muted-bg);
}

.landing-section-intro {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    max-width: 720px;
    margin-bottom: 3rem;
}

.landing-section-intro--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.landing-section-index {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--lp-blue);
    padding-top: 0.35rem;
}

.landing-block-title {
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--lp-text);
    margin-bottom: 0.75rem;
}

.landing-copy {
    color: var(--lp-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.landing-copy--center {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
}

.landing-prose-card {
    height: 100%;
    padding: 2rem;
    border-radius: var(--lp-radius-lg);
    background: var(--lp-muted-bg);
    border: 1px solid var(--lp-border);
}

.landing-chip-panel {
    height: 100%;
    padding: 2rem;
    border-radius: var(--lp-radius-lg);
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
}

.landing-chip-title {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lp-muted);
    margin-bottom: 1.25rem;
}

.landing-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.landing-chip {
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    background: var(--lp-muted-bg);
    border: 1px solid var(--lp-border);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--lp-text);
}

/* —— Features —— */
.landing-feature-block {
    height: 100%;
    padding: 1.75rem;
    border-radius: var(--lp-radius-lg);
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.landing-feature-block:hover {
    border-color: #cbd5e1;
    box-shadow: var(--lp-shadow-md);
}

.landing-feature-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.landing-feature-index {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #cbd5e1;
}

.landing-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: var(--lp-accent-dark);
    font-size: 1.125rem;
}

.landing-feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--lp-text);
    margin-bottom: 0.5rem;
}

/* —— Timeline —— */
.landing-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 1rem;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    overflow: hidden;
    background: var(--lp-surface);
    box-shadow: var(--lp-shadow-sm);
}

.landing-timeline-step {
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    border-right: 1px solid var(--lp-border);
}

.landing-timeline-step:last-child {
    border-right: none;
}

.landing-timeline-marker {
    position: relative;
    margin-bottom: 1rem;
}

.landing-timeline-marker > span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--lp-muted-bg);
    border: 1px solid var(--lp-border);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--lp-blue);
}

.landing-timeline-line {
    display: none;
}

/* —— CTA —— */
.landing-cta-band {
    padding: 4rem 0 5rem;
    background: var(--lp-muted-bg);
    border-top: 1px solid var(--lp-border);
}

.landing-cta-card {
    padding: 2.5rem;
    border-radius: var(--lp-radius-lg);
    background: var(--lp-dark);
    border: 1px solid var(--lp-border-dark);
    box-shadow: var(--lp-shadow-lg);
}

.landing-cta-headline {
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #f8fafc;
    margin-bottom: 0.65rem;
}

.landing-cta-copy {
    font-size: 1rem;
    line-height: 1.65;
    color: #94a3b8;
}

.landing-cta-card .btn-success,
.landing-cta-card .btn-whatsapp {
    border-radius: 8px;
    font-weight: 600;
}

/* —— Footer —— */
.landing-footer-dark {
    padding: 3rem 0 1.5rem;
    background: var(--lp-dark);
    color: #94a3b8;
    border-top: 1px solid var(--lp-border-dark);
}

.landing-footer-desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #64748b;
    max-width: 18rem;
    margin-bottom: 0;
}

.landing-footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.landing-footer-link {
    font-size: 0.875rem;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.landing-footer-link:hover {
    color: #f8fafc;
    text-decoration: none;
}

.landing-footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--lp-border-dark);
    font-size: 0.8125rem;
    color: #64748b;
}

.landing-footer-dark .btn {
    border-radius: 8px;
}

/* —— Scroll to top —— */
.landing-scroll-top {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    left: auto;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 1px solid var(--lp-border-dark);
    border-radius: 50%;
    background: var(--lp-dark);
    color: #f8fafc;
    box-shadow: var(--lp-shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.landing-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.landing-scroll-top:hover {
    background: var(--lp-dark-elevated);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.35);
}

.landing-scroll-top:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(28, 200, 138, 0.35), var(--lp-shadow-lg);
}

.landing-scroll-top i {
    font-size: 1.25rem;
    line-height: 1;
}

/* —— Mobile section nav —— */
.landing-mobile-nav {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--lp-border-dark);
    background: rgba(15, 23, 42, 0.92);
}

.landing-mobile-nav-inner {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.landing-mobile-nav-inner::-webkit-scrollbar {
    display: none;
}

.landing-mobile-nav-link {
    flex-shrink: 0;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.landing-mobile-nav-link:hover {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(148, 163, 184, 0.35);
    text-decoration: none;
}

/* —— Responsive —— */
@media (max-width: 991.98px) {
    .landing-hero-headline {
        max-width: none;
    }

    .landing-hero-preview-col {
        margin-top: 2.5rem;
    }

    .landing-trust-bar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-trust-badge:nth-child(2) {
        border-right: none;
    }

    .landing-trust-badge {
        border-bottom: 1px solid var(--lp-border);
    }

    .landing-trust-badge:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .landing-timeline {
        grid-template-columns: 1fr;
    }

    .landing-timeline-step {
        border-right: none;
        border-bottom: 1px solid var(--lp-border);
    }

    .landing-timeline-step:last-child {
        border-bottom: none;
    }

    .landing-preview-metrics {
        grid-template-columns: 1fr;
    }

    .landing-topnav {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        text-align: left;
    }

    .landing-topnav-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .landing-hero-actions {
        justify-content: flex-start;
    }

    .landing-cta-card .landing-cta-actions {
        text-align: left !important;
    }
}

@media (max-width: 767.98px) {
    .landing-page .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .landing-brand span {
        font-size: 0.875rem;
    }

    .landing-hero-headline {
        font-size: clamp(1.625rem, 7vw, 2.25rem);
    }

    .landing-hero-copy {
        font-size: 1rem;
    }

    .landing-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .landing-hero-actions .landing-hero-btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .landing-preview-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .landing-preview-row {
        min-width: 18rem;
    }

    .landing-preview-row span:first-child {
        word-break: break-word;
        white-space: normal;
    }

    .landing-trust-badge {
        padding: 1rem 0.85rem;
        font-size: 0.75rem;
    }

    .landing-block-title {
        font-size: 1.375rem;
    }

    .landing-cta-actions {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .landing-cta-actions .landing-cta-btn {
        width: 100%;
        margin-right: 0 !important;
    }

    .landing-footer-dark .col-md-4 {
        text-align: center !important;
    }

    .landing-footer-dark .landing-brand {
        justify-content: center;
    }

    .landing-footer-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .landing-scroll-top {
        bottom: 1rem;
        right: 1rem;
        left: auto;
        width: 2.75rem;
        height: 2.75rem;
    }
}

@media (max-width: 575.98px) {
    .landing-block {
        padding: 3.5rem 0;
    }

    .landing-hero-inner {
        padding: 2.5rem 0 3.5rem;
    }

    .landing-trust-bar-grid {
        grid-template-columns: 1fr;
    }

    .landing-trust-badge {
        border-right: none;
    }

    .landing-section-intro {
        flex-direction: column;
        gap: 0.5rem;
    }

    .landing-cta-card {
        padding: 1.75rem;
    }

    .landing-topnav-actions .btn {
        flex: 1 1 auto;
        min-width: 0;
    }

    .landing-topnav-actions .btn-whatsapp {
        flex: 1 1 100%;
    }
}

@media (min-width: 992px) {
    .landing-hero-headline {
        max-width: 22rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:has(.landing-page) {
        scroll-behavior: auto;
    }

    .landing-scroll-top {
        transition: opacity 0.15s ease, visibility 0.15s ease;
        transform: none;
    }

    .landing-scroll-top.is-visible {
        transform: none;
    }

    .landing-feature-block,
    .landing-btn-primary,
    .landing-nav-link,
    .landing-footer-link {
        transition: none;
    }
}
