:root {
    --bg: #05070f;
    --bg2: #090d1b;
    --card: #0d1324;
    --line: rgba(255, 255, 255, 0.1);
    --text: #f5f7ff;
    --muted: #aab3c9;
    --purple: #835cff;
    --purple2: #a98cff;
    --green: #31e77b;
    --radius: 24px;
    --max: 1180px;
    --viive-pad-x-mobile: 14px;
    --viive-pad-x-tablet: 1.5rem;
    --viive-pad-x-desktop: 2rem;
    --viive-pad-x-header-mobile: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background:
        radial-gradient(circle at 78% 8%, rgba(131, 92, 255, 0.18), transparent 30%),
        radial-gradient(circle at 10% 38%, rgba(49, 231, 123, 0.08), transparent 26%),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

button, input, select, textarea { font: inherit; }

.container {
    width: min(var(--max), calc(100% - 28px));
    margin: auto;
}

.cursor-glow {
    position: fixed;
    z-index: -1;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(131, 92, 255, 0.1), transparent 65%);
    transform: translate(-50%, -50%);
    filter: blur(10px);
}

.nav {
    position: fixed;
    z-index: 50;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, calc(100% - 20px));
    min-height: 66px;
    padding: 10px var(--viive-pad-x-header-mobile);
    border: 1px solid var(--line);
    background: rgba(5, 7, 15, 0.64);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.1;
}

.logo__mark {
    font-weight: 900;
    letter-spacing: 0.22em;
    font-size: 13px;
}

.logo__mark span { color: var(--green); }

.logo__meta {
    font-size: 8px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8b93ab;
    white-space: nowrap;
}

.nav__toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
}

.navlinks {
    display: flex;
    gap: 25px;
    align-items: center;
    color: #bac2d6;
    font-size: 13px;
}

.navlinks a:hover { color: white; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 12px 17px;
    font-weight: 750;
    font-size: 13px;
    cursor: pointer;
    transition: 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple), #6d42ff);
    box-shadow: 0 10px 35px rgba(131, 92, 255, 0.28);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 45px rgba(131, 92, 255, 0.4);
}

.btn-ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: #e8ebf5;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }

.hero {
    min-height: 920px;
    padding: 104px 0 100px;
    position: relative;
    display: grid;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 20px var(--green);
}

h1 {
    font-size: clamp(48px, 6.1vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin: 20px 0 22px;
    max-width: 760px;
}

.gradient {
    background: linear-gradient(90deg, #fff 5%, #a98cff 60%, #6f5cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    font-size: 18px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin: 30px 0 18px;
    flex-wrap: wrap;
}

.micro { font-size: 12px; color: #78839d; }

.scene {
    position: relative;
    min-height: 580px;
    display: grid;
    place-items: center;
}

.glow {
    position: absolute;
    inset: 6% 8% 8%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.16), transparent 58%);
    filter: blur(18px);
}

.wa-phone {
    position: relative;
    z-index: 3;
    width: 272px;
    height: 560px;
    padding: 9px 8px 10px;
    border-radius: 38px;
    background: #111214;
    box-shadow:
        0 0 0 1.5px #3a3a3e,
        0 28px 70px rgba(0, 0, 0, 0.55);
}

.wa-screen {
    position: relative;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: #0b141a;
    display: flex;
    flex-direction: column;
    color: #e9edef;
}

.wa-island {
    position: absolute;
    top: 7px;
    left: 50%;
    z-index: 6;
    width: 78px;
    height: 20px;
    transform: translateX(-50%);
    background: #000;
    border-radius: 99px;
}

.wa-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px 0;
    font-size: 11px;
    font-weight: 650;
    color: #fff;
}

.wa-status__icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.wa-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px 8px 4px;
    background: #1f2c33;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.wa-back, .wa-actions {
    display: flex;
    align-items: center;
    color: #fff;
}

.wa-actions { gap: 9px; margin-left: auto; }

.wa-avatar { display: grid; place-items: center; flex-shrink: 0; }

.wa-who { min-width: 0; line-height: 1.15; }
.wa-who strong {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}
.wa-who small {
    display: block;
    color: #8696a0;
    font-size: 10px;
}

.wa-verified {
    display: inline-grid;
    place-items: center;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #25d366;
    color: #0b141a;
    font-size: 8px;
    font-weight: 900;
}

.wa-thread {
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    padding: 8px 8px 6px;
    background-color: #0b141a;
    background-image: url("/web-viive/img/wa-wallpaper.svg");
    background-size: 260px 260px;
}

.wa-thread::-webkit-scrollbar { display: none; }

.wa-date {
    width: fit-content;
    margin: 4px auto 8px;
    padding: 4px 10px;
    border-radius: 99px;
    background: #182229;
    color: #8696a0;
    font-size: 10px;
    font-weight: 650;
}

.wa-lock {
    margin: 0 auto 10px;
    max-width: 92%;
    padding: 7px 9px;
    border-radius: 8px;
    background: #1c2714;
    color: #ffd279;
    font-size: 9px;
    line-height: 1.35;
    text-align: center;
}

.wa-row {
    display: flex;
    margin: 0 0 6px;
    animation: waIn 0.28s ease;
}

.wa-row--user { justify-content: flex-end; }

.wa-bubble {
    position: relative;
    max-width: 86%;
    padding: 6px 8px 5px 9px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.4;
    white-space: pre-wrap;
}

.wa-bubble--in {
    background: #202c33;
    border-top-left-radius: 2px;
}

.wa-bubble--out {
    background: #005c4b;
    border-top-right-radius: 2px;
}

.wa-meta {
    display: block;
    text-align: right;
    color: #8696a0;
    font-size: 9px;
    margin-top: 3px;
}

.wa-bubble--out .wa-meta { color: #b0d4cc; }

.wa-checks {
    display: inline-block;
    margin-left: 3px;
    color: #53bdeb;
    letter-spacing: -1px;
    font-size: 11px;
}

.wa-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    padding: 10px 12px;
    background: #202c33;
    border-radius: 12px;
}

.wa-typing i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8696a0;
    animation: waDot 1.1s ease-in-out infinite;
}

.wa-typing i:nth-child(2) { animation-delay: 0.15s; }
.wa-typing i:nth-child(3) { animation-delay: 0.3s; }

.wa-card {
    width: 78%;
    margin: 0 0 7px;
    padding: 5px;
    border-radius: 10px;
    background: #202c33;
    overflow: hidden;
    animation: waIn 0.32s ease;
}

.wa-card img {
    display: block;
    width: 100%;
    height: 92px;
    object-fit: cover;
    border-radius: 8px;
    background: #151c22;
}

.wa-card h4 {
    margin: 7px 6px 2px;
    font-size: 12.5px;
}

.wa-card__price {
    margin: 0 6px;
    color: #00a884;
    font-size: 12px;
    font-weight: 750;
}

.wa-card__desc {
    margin: 3px 6px 2px;
    color: #aebac1;
    font-size: 11px;
    line-height: 1.35;
}

.wa-quick {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    width: 92%;
    margin: 0 0 8px;
    animation: waIn 0.32s ease;
}

.wa-quick span {
    display: block;
    padding: 7px 4px;
    border-radius: 18px;
    background: #202c33;
    color: #53bdeb;
    font-size: 10.5px;
    font-weight: 650;
    text-align: center;
    line-height: 1.2;
}

.wa-carousel {
    display: flex;
    gap: 8px;
    width: 100%;
    margin: 0 0 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    animation: waIn 0.32s ease;
}

.wa-carousel::-webkit-scrollbar { display: none; }

.wa-card--slide {
    flex: 0 0 74%;
    width: 74%;
    margin: 0;
    scroll-snap-align: start;
}

.wa-card__btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 4px;
    border-top: 1px solid #2a3942;
}

.wa-card__btns span {
    padding: 8px 4px;
    color: #53bdeb;
    font-size: 11px;
    font-weight: 650;
    text-align: center;
}

.wa-card__btns span + span {
    border-left: 1px solid #2a3942;
}

.wa-composer {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px 14px;
    background: #1f2c33;
}

.wa-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 8px;
    border-radius: 99px;
    background: #2a3942;
    color: #8696a0;
}

.wa-placeholder {
    flex: 1;
    font-size: 13px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
}

.wa-placeholder.is-typed { color: #e9edef; }

.wa-field-icons {
    display: flex;
    gap: 6px;
    color: #8696a0;
}

.wa-mic {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #00a884;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.wa-mic__send { display: none; }
.wa-mic.is-send .wa-mic__icon { display: none; }
.wa-mic.is-send .wa-mic__send { display: block; }

.wa-mic.is-rec {
    background: #e53935;
    animation: waMicPulse 0.9s ease-in-out infinite;
}

.wa-placeholder.is-rec { color: #ff8a80; }

.wa-bubble--voice {
    min-width: 168px;
    padding-bottom: 6px;
}

.wa-voice {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-voice__play {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 9px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.wa-voice__wave {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 18px;
    flex: 1;
}

.wa-voice__wave i {
    display: block;
    width: 2px;
    height: 6px;
    border-radius: 2px;
    background: #b0d4cc;
    animation: waWave 0.9s ease-in-out infinite;
}

.wa-voice__wave i:nth-child(1) { height: 8px; animation-delay: 0s; }
.wa-voice__wave i:nth-child(2) { height: 14px; animation-delay: 0.1s; }
.wa-voice__wave i:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.wa-voice__wave i:nth-child(4) { height: 16px; animation-delay: 0.12s; }
.wa-voice__wave i:nth-child(5) { height: 7px; animation-delay: 0.22s; }
.wa-voice__wave i:nth-child(6) { height: 12px; animation-delay: 0.08s; }
.wa-voice__wave i:nth-child(7) { height: 9px; animation-delay: 0.18s; }

.wa-voice__dur {
    font-size: 11px;
    color: #d4efe8;
    flex-shrink: 0;
}

@keyframes waMicPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.45); }
    50% { transform: scale(1.06); box-shadow: 0 0 0 7px rgba(229, 57, 53, 0); }
}

@keyframes waWave {
    0%, 100% { transform: scaleY(0.55); }
    50% { transform: scaleY(1); }
}

.wa-home {
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 96px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 99px;
    background: #fff;
}

@keyframes waIn {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

@keyframes waDot {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
    40% { transform: translateY(-3px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .wa-row, .wa-card, .wa-quick, .wa-carousel { animation: none; }
    .wa-typing i { animation: none; }
    .pd-lead--new, .pd-kpis b.is-bump { animation: none; }
}

.journey {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 32px;
    padding: 0;
    margin: 0 0 18px;
}

.journey li {
    position: relative;
    padding: 13px 16px;
    border-radius: 14px;
    background: #11182b;
    border: 1px solid var(--line);
    font-weight: 750;
    font-size: 14px;
}

.journey li:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    color: #68738b;
    font-weight: 400;
}

.journey li:last-child {
    border-color: rgba(49, 231, 123, 0.4);
    color: var(--green);
}

.journey-line {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 0.01em;
}

.plans-close {
    margin: 28px 0 0;
    text-align: center;
    font-size: 18px;
    font-weight: 650;
    color: #e8ebf5;
}

.como-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 48px;
    align-items: center;
}

.pd-browser {
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: #f5f7fa;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
    color: #2d3748;
}

.pd-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    background: #16192a;
    color: #8b93ab;
    font-size: 11px;
}

.pd-chrome i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3d4458;
}

.pd-chrome i:first-child { background: #ff5f57; }
.pd-chrome span { margin-left: 8px; }

.pd-app {
    display: grid;
    grid-template-columns: 148px 1fr;
    min-height: 360px;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.pd-side {
    background: #1e2235;
    color: #c5c9d6;
    padding: 12px 8px 10px;
    display: flex;
    flex-direction: column;
}

.pd-brand {
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    padding: 4px 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
}

.pd-nav { display: grid; gap: 2px; flex: 1; }

.pd-nav__item {
    padding: 7px 8px;
    border-radius: 7px;
    font-size: 11px;
    line-height: 1.25;
}

.pd-nav__item.is-active {
    background: rgba(102, 126, 234, 0.28);
    color: #fff;
}

.pd-nav__item--muted { opacity: 0.55; }

.pd-upgrade {
    margin-top: 10px;
    padding: 8px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.pd-main {
    padding: 12px 14px 14px;
    background: #f5f7fa;
    min-width: 0;
}

.pd-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    background: #fff;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 10px;
}

.pd-head strong {
    display: block;
    font-size: 14px;
    letter-spacing: 0;
    color: #2d3748;
}

.pd-badge {
    display: inline-block;
    margin-top: 4px;
    background: #e8ecff;
    color: #4c51bf;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 99px;
}

.pd-head-btn {
    background: #667eea;
    color: #fff;
    font-size: 10px;
    font-weight: 650;
    padding: 6px 9px;
    border-radius: 6px;
}

.pd-sub {
    margin: 0 0 10px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
}

.pd-back {
    margin: 0 0 6px;
    color: #4a5568;
    font-size: 11px;
}

.pd-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.pd-kpis article {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-radius: 8px;
    padding: 10px;
}

.pd-kpis small {
    display: block;
    font-size: 9px;
    opacity: 0.9;
}

.pd-kpis b {
    display: block;
    margin-top: 4px;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.pd-kpis b.is-bump {
    animation: pdBump 0.45s ease;
}

.pd-shortcuts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
}

.pd-shortcuts span {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 6px;
    font-size: 10px;
    font-weight: 650;
    color: #4a5568;
}

.pd-leads { display: grid; gap: 8px; }

.pd-lead {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #667eea;
    border-radius: 8px;
    padding: 10px;
}

.pd-lead--new {
    border-left-color: #25d366;
    box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.35);
    animation: waIn 0.35s ease;
}

.pd-lead__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.pd-lead__top strong {
    font-size: 12px;
    color: #1a202c;
}

.pd-lead p {
    margin: 0;
    font-size: 11px;
    color: #4a5568;
    line-height: 1.4;
}

.pd-lead small { color: #94a3b8; font-size: 10px; }

.pd-tag {
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
}

.pd-tag--web { background: #e0e7ff; color: #3730a3; }
.pd-tag--wa { background: #dcfce7; color: #166534; }
.pd-tag--nuevo { background: #fef3c7; color: #92400e; }
.pd-tag--ok { background: #dbeafe; color: #1e40af; }

@keyframes pdBump {
    50% { transform: scale(1.18); color: #31e77b; }
}

.section { padding: 105px 0; }

.section-head {
    max-width: 720px;
    margin-bottom: 45px;
}

.kicker {
    color: var(--green);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(32px, 4vw, 56px);
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 13px 0;
}

.section-copy {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.card {
    background: linear-gradient(180deg, rgba(17, 24, 44, 0.92), rgba(10, 14, 27, 0.92));
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(131, 92, 255, 0.45);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.card:before {
    content: "";
    position: absolute;
    inset: -100px auto auto -100px;
    width: 180px;
    height: 180px;
    background: rgba(131, 92, 255, 0.12);
    filter: blur(40px);
}

.icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(131, 92, 255, 0.13);
    border: 1px solid rgba(131, 92, 255, 0.22);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    font-size: 19px;
}

.card h3 { margin: 0 0 10px; font-size: 20px; }

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

.demo {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 30px;
    align-items: center;
}

.steps { display: grid; gap: 12px; }

.step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--purple), #5d43ff);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.step h3 { margin: 0 0 5px; font-size: 15px; }

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

.flow {
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 25px;
    background: radial-gradient(circle at 75% 20%, rgba(49, 231, 123, 0.1), transparent 35%), #0a0f1d;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.25);
}

.flow-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.flow-title { font-weight: 850; }
.live { font-size: 10px; color: var(--green); }
.flow-gap { height: 20px; }

.flowline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.node {
    padding: 13px 15px;
    border-radius: 14px;
    background: #11182b;
    border: 1px solid var(--line);
    font-size: 12px;
}

.node.active {
    border-color: rgba(49, 231, 123, 0.35);
    box-shadow: 0 0 30px rgba(49, 231, 123, 0.08);
}

.arrow { color: #68738b; }

.plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.plan {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #0c1222;
    position: relative;
    overflow: hidden;
}

.plan.featured {
    border-color: rgba(131, 92, 255, 0.65);
    box-shadow: 0 25px 80px rgba(131, 92, 255, 0.12);
}

.badge {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 10px;
    color: #d9d0ff;
    background: rgba(131, 92, 255, 0.13);
    padding: 7px 10px;
    border-radius: 99px;
    border: 1px solid rgba(131, 92, 255, 0.25);
}

.plan h3 { font-size: 24px; margin: 0 0 8px; }

.plan-lead {
    color: var(--muted);
    margin: 0;
}

.plan .price {
    font-size: 30px;
    color: white;
    margin: 20px 0 6px;
}

.plan .price small {
    font-size: 12px;
    color: #7f8aa2;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    display: grid;
    gap: 12px;
}

.plan li { font-size: 13px; color: #b9c1d2; }

.plan li:before {
    content: "✓";
    color: var(--green);
    font-weight: 900;
    margin-right: 9px;
}

.compare {
    margin-top: 18px;
    color: #7f8aa2;
    font-size: 11px;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.quote {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
}

.quote p {
    color: #dce1ed;
    line-height: 1.6;
    font-size: 14px;
}

.quote small { color: #78849c; }

.cta { padding: 110px 0; }

.cta-box {
    border: 1px solid rgba(131, 92, 255, 0.35);
    border-radius: 34px;
    padding: 55px;
    background:
        radial-gradient(circle at 85% 15%, rgba(131, 92, 255, 0.24), transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(49, 231, 123, 0.1), transparent 30%),
        #0b1020;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    max-width: 800px;
    margin: 0 auto 15px;
}

.cta-box p {
    max-width: 620px;
    margin: 0 auto 25px;
    color: var(--muted);
    line-height: 1.6;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 760px;
    margin: 28px auto 0;
    text-align: left;
}

input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #080d19;
    color: #fff;
    border-radius: 13px;
    padding: 13px 14px;
    outline: none;
}

textarea {
    min-height: 120px;
    grid-column: 1 / -1;
}

.full { grid-column: 1 / -1; }

input:focus, select:focus, textarea:focus {
    border-color: rgba(131, 92, 255, 0.65);
    box-shadow: 0 0 0 3px rgba(131, 92, 255, 0.1);
}

.check {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 13px;
}

.check input { width: auto; margin-top: 3px; }
.check a { color: var(--purple2); text-decoration: underline; }

.hp { position: absolute; left: -9999px; }

.form-msg { color: var(--green); font-size: 14px; }
.form-msg.err { color: #f87171; }

footer {
    border-top: 1px solid var(--line);
    padding: 35px 0;
    color: #68738a;
    font-size: 12px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

.seo-page {
    padding-top: 88px;
}

.seo-prose {
    max-width: 720px;
    margin: 0 auto;
}

.seo-prose h1 {
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin: 12px 0 18px;
}

.seo-prose .lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text);
    margin: 0 0 22px;
}

.seo-prose p,
.seo-prose li {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.seo-prose h2 {
    font-size: clamp(22px, 3vw, 32px);
    margin: 36px 0 12px;
}

.seo-prose ul,
.seo-prose ol {
    margin: 0 0 22px;
    padding-left: 1.2em;
}

.seo-prose a {
    color: var(--purple2);
}

.seo-prose code {
    font-size: 0.92em;
    color: var(--green);
}

.seo-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 36px 0 8px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* Tablet 441–917px */
@media screen and (min-width: 441px) and (max-width: 917px) {
    .container { width: min(var(--max), calc(100% - 48px)); }
    .nav {
        width: min(1120px, calc(100% - 24px));
        padding: 0 var(--viive-pad-x-tablet);
    }
    .nav__toggle { display: block; }
    .navlinks {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
        background: rgba(8, 12, 24, 0.96);
        border: 1px solid var(--line);
        border-radius: 16px;
    }
    .navlinks.is-open { display: flex; }
    .hero { padding-top: 130px; min-height: auto; }
    .hero-grid, .demo, .como-grid { grid-template-columns: 1fr; }
    .scene { min-height: 580px; }
    .pd-app { grid-template-columns: 128px 1fr; }
    .journey li:not(:last-child)::after { display: none; }
    .cards, .testimonials, .plans { grid-template-columns: 1fr; }
    .section { padding: 80px 0; }
}

/* Móvil ≤440px */
@media screen and (max-width: 440px) {
    .container { width: calc(100% - 28px); }
    .nav {
        width: calc(100% - 20px);
        padding: 10px var(--viive-pad-x-header-mobile);
    }
    .nav__toggle { display: block; }
    .navlinks {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
        background: rgba(8, 12, 24, 0.96);
        border: 1px solid var(--line);
        border-radius: 16px;
    }
    .navlinks.is-open { display: flex; }
    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero-grid, .demo { grid-template-columns: 1fr; gap: 28px; }
    h1 { font-size: 2.1rem; }
    .hero-actions .btn { width: 100%; }
    .scene { min-height: auto; }
    .como-grid { grid-template-columns: 1fr; gap: 24px; }
    .pd-side { display: none; }
    .pd-app { grid-template-columns: 1fr; min-height: 300px; }
    .wa-phone {
        width: 250px;
        height: 520px;
    }
    .journey li:not(:last-child)::after { display: none; }
    .plans-close { font-size: 16px; }
    .cards, .testimonials, .plans { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .cta { padding: 64px 0; }
    .cta-box { padding: 32px 16px; }
    .contact-form { grid-template-columns: 1fr; }
    textarea, .full { grid-column: auto; }
    .footer-row { flex-direction: column; }
}
