﻿/* wwwroot/css/visibility.css */

/* ======================================================================
   ROOT VARIABLES
   ====================================================================== */
:root {
    --vis-bg: #081b2a;
    --vis-bg2: #0a2436;
    --vis-text: #f2f8ff;
    --vis-text-soft: rgba(242, 248, 255, 0.78);
    --vis-text-softer: rgba(242, 248, 255, 0.62);
    --vis-brand: #00b4ff;
    --vis-brand-2: #7cf3ff;
    --vis-accent: #ffd66e;
    --vis-card: rgba(255, 255, 255, 0.06);
    --vis-card-2: rgba(255, 255, 255, 0.08);
    --vis-border: rgba(255, 255, 255, 0.12);
    --vis-border-2: rgba(255, 255, 255, 0.16);
    --vis-shadow-lg: 0 26px 80px rgba(0, 0, 0, 0.55);
    --vis-shadow-md: 0 18px 48px rgba(0, 0, 0, 0.35);
    --vis-shadow-sm: 0 10px 26px rgba(0, 0, 0, 0.25);
    --vis-radius-lg: 26px;
    --vis-radius-md: 18px;
    --vis-radius-sm: 14px;
    --vis-max: 1180px;
    --vis-safe-top: env(safe-area-inset-top);
    --vis-safe-bottom: env(safe-area-inset-bottom);
    --vis-focus: rgba(0, 180, 255, 0.95);
}

/* ======================================================================
   BASE RESET
   ====================================================================== */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    color: var(--vis-text);
    background: radial-gradient(1200px 650px at 18% -10%, rgba(0, 180, 255, 0.16), transparent 60%), radial-gradient(900px 520px at 85% 0%, rgba(124, 243, 255, 0.10), transparent 62%), linear-gradient(180deg, var(--vis-bg), var(--vis-bg2));
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    padding-bottom: var(--vis-safe-bottom);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: rgba(124, 243, 255, 0.22);
}

/* ======================================================================
   ACCESSIBILITY
   ====================================================================== */
.sd-skip {
    position: absolute;
    left: -999px;
    top: 12px;
    padding: 10px 12px;
    background: #fff;
    color: #000;
    border-radius: 10px;
    z-index: 9999;
    font-weight: 800;
}

    .sd-skip:focus {
        left: 12px;
        outline: 2px solid var(--vis-brand);
        outline-offset: 2px;
    }

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--vis-focus);
    outline-offset: 3px;
    border-radius: 10px;
}

/* ======================================================================
   CONTAINER
   ====================================================================== */
.container {
    width: min(var(--vis-max), calc(100% - 32px));
    margin: 0 auto;
}

/* ======================================================================
   HERO - SEM EFEITOS NO BACKGROUND
   ====================================================================== */
.vis-hero {
    position: relative;
    padding-top: calc(92px + var(--vis-safe-top));
    padding-bottom: 38px;
    overflow: hidden;
}

.vis-hero-inner {
    position: relative;
    z-index: 2;
}

.vis-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 26px;
    align-items: center;
}

/* ======================================================================
   HERO COPY
   ====================================================================== */
.vis-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(242, 248, 255, 0.90);
    font-weight: 900;
    letter-spacing: 0.2px;
    width: fit-content;
}

.vis-badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--vis-brand-2);
    box-shadow: 0 0 0 6px rgba(124, 243, 255, 0.10);
}

.vis-title {
    margin: 16px 0 0;
    font-size: clamp(30px, 4.2vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.6px;
    font-weight: 950;
}

.vis-title-line {
    display: block;
}

.vis-title-accent {
    display: block;
    color: var(--vis-brand-2);
    font-weight: 950;
    margin-top: 6px;
}

.vis-subtitle {
    margin: 14px 0 0;
    color: rgba(242, 248, 255, 0.86);
    line-height: 1.75;
    max-width: 72ch;
}

.vis-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.vis-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-weight: 950;
    letter-spacing: 0.2px;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    will-change: transform;
}

.vis-btn-primary {
    color: #041522;
    background: linear-gradient(135deg, rgba(0, 180, 255, 0.95), rgba(124, 243, 255, 0.74));
    border-color: rgba(0, 180, 255, 0.35);
    box-shadow: 0 14px 38px rgba(0, 180, 255, 0.18);
}

.vis-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(242, 248, 255, 0.95);
}

.vis-btn:hover {
    transform: translateY(-2px);
    filter: saturate(1.05);
}

.vis-btn:active {
    transform: translateY(0);
}

.vis-hero-trust {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vis-pill {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(242, 248, 255, 0.86);
    font-weight: 850;
    font-size: 13px;
}

/* ======================================================================
   HERO VISUAL - IMAGEM PROFISSIONAL SIMPLES
   ====================================================================== */
.vis-hero-visual {
    position: relative;
}

.vis-hero-image-professional {
    width: 100%;
    height: auto;
    border-radius: var(--vis-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--vis-shadow-lg);
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .vis-hero-image-professional:hover {
        transform: translateY(-2px);
        box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
    }

/* Container da imagem com overlay sutil */
.vis-image-container {
    position: relative;
    border-radius: var(--vis-radius-lg);
    overflow: hidden;
}

/* Overlay para dar destaque à imagem */
.vis-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 180, 255, 0.05) 0%, rgba(124, 243, 255, 0.03) 50%, transparent 100%);
    pointer-events: none;
}

/* Badge na imagem */
.vis-image-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(8, 27, 42, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 8px 12px;
    color: var(--vis-brand-2);
    font-weight: 750;
    font-size: 13px;
    z-index: 2;
}

/* ======================================================================
   SCROLL HINT
   ====================================================================== */
.vis-scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    color: rgba(242, 248, 255, 0.70);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.18s ease;
}

    .vis-scroll:hover {
        color: rgba(242, 248, 255, 0.90);
    }

.vis-scroll-mouse {
    width: 32px;
    height: 52px;
    border-radius: 16px;
    border: 2px solid rgba(242, 248, 255, 0.30);
    position: relative;
}

    .vis-scroll-mouse::after {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 8px;
        border-radius: 2px;
        background: rgba(242, 248, 255, 0.70);
        animation: scrollMouse 2s infinite;
    }

@keyframes scrollMouse {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.7;
    }

    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* ======================================================================
   MAIN SECTIONS
   ====================================================================== */
.vis-main {
    padding-bottom: 20px;
}

.vis-section {
    padding: 52px 0;
}

.vis-section-dark {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vis-section-cta {
    background: linear-gradient(135deg, rgba(0, 180, 255, 0.08), rgba(124, 243, 255, 0.04));
    border-top: 1px solid rgba(0, 180, 255, 0.15);
    border-bottom: 1px solid rgba(0, 180, 255, 0.15);
}

.vis-section-compact {
    padding: 34px 0;
}

.vis-section-head {
    margin-bottom: 18px;
}

.vis-h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.3px;
    font-weight: 950;
}

.vis-lead {
    margin: 10px 0 0;
    color: rgba(242, 248, 255, 0.78);
    line-height: 1.75;
    max-width: 78ch;
}

/* ======================================================================
   PROBLEMS GRID
   ====================================================================== */
.vis-problem-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.vis-problem-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
    display: grid;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .vis-problem-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    }

.vis-problem-ico {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(0, 180, 255, 0.10);
    border: 1px solid rgba(0, 180, 255, 0.22);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    font-weight: 950;
}

.vis-h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 950;
}

.vis-problem-card p {
    margin: 0;
    color: rgba(242, 248, 255, 0.74);
    line-height: 1.65;
    font-size: 13px;
}

/* ======================================================================
   DIAGRAM
   ====================================================================== */
.vis-diagram {
    margin-top: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.26);
    padding: 22px;
    position: relative;
    min-height: 300px;
}

.vis-diagram-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(0, 180, 255, 0.08);
    border: 2px solid rgba(0, 180, 255, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    z-index: 2;
}

.vis-diagram-title {
    font-weight: 950;
    font-size: 14px;
    margin-bottom: 4px;
}

.vis-diagram-sub {
    color: rgba(242, 248, 255, 0.70);
    font-size: 11px;
    line-height: 1.3;
}

.vis-diagram-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.vis-line {
    position: absolute;
    background: rgba(0, 180, 255, 0.15);
}

.vis-line-1 {
    top: 50%;
    left: 0;
    width: 30%;
    height: 2px;
}

.vis-line-2 {
    top: 0;
    left: 50%;
    width: 2px;
    height: 30%;
}

.vis-line-3 {
    top: 50%;
    right: 0;
    width: 30%;
    height: 2px;
}

.vis-line-4 {
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 30%;
}

.vis-diagram-node {
    position: absolute;
    width: 140px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    z-index: 3;
}

.vis-node-1 {
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.vis-node-2 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.vis-node-3 {
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
}

.vis-node-4 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.vis-node-title {
    font-weight: 750;
    font-size: 13px;
    margin-bottom: 4px;
}

.vis-node-sub {
    color: rgba(242, 248, 255, 0.70);
    font-size: 11px;
    line-height: 1.3;
}

/* ======================================================================
   PILLARS GRID
   ====================================================================== */
.vis-pillar-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.vis-pillar {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .vis-pillar:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    }

.vis-pillar-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
}

.vis-pillar-ico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(0, 180, 255, 0.10);
    border: 1px solid rgba(0, 180, 255, 0.22);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    font-weight: 950;
}

.vis-pillar-purpose {
    margin: 4px 0 0;
    color: rgba(242, 248, 255, 0.70);
    font-weight: 850;
    font-size: 13px;
    line-height: 1.4;
}

.vis-pillar-body {
    padding: 16px;
}

.vis-pillar-text {
    margin: 0 0 12px;
    color: rgba(242, 248, 255, 0.78);
    line-height: 1.75;
    max-width: 78ch;
}

.vis-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

    .vis-list li {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        color: rgba(242, 248, 255, 0.74);
        line-height: 1.65;
        font-size: 13px;
    }

        .vis-list li:before {
            content: "";
            width: 8px;
            height: 8px;
            margin-top: 8px;
            border-radius: 999px;
            background: var(--vis-brand-2);
            box-shadow: 0 0 0 4px rgba(124, 243, 255, 0.10);
            flex-shrink: 0;
        }

/* ======================================================================
   NOTE BLOCKS
   ====================================================================== */
.vis-note {
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(0, 180, 255, 0.22);
    background: rgba(0, 180, 255, 0.08);
    color: rgba(242, 248, 255, 0.84);
    line-height: 1.65;
}

.vis-note-title {
    font-weight: 950;
    color: rgba(242, 248, 255, 0.96);
    margin-bottom: 6px;
}

.vis-disclaimer {
    margin-top: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 14px;
    color: rgba(242, 248, 255, 0.86);
    line-height: 1.7;
}

    .vis-disclaimer strong {
        color: rgba(242, 248, 255, 0.96);
        font-weight: 950;
        display: block;
        margin-bottom: 6px;
    }

/* ======================================================================
   STEPS
   ====================================================================== */
.vis-steps {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.vis-step {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .vis-step:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    }

.vis-step-num {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 950;
    color: #041522;
    background: linear-gradient(135deg, rgba(0, 180, 255, 0.95), rgba(124, 243, 255, 0.74));
    box-shadow: 0 12px 30px rgba(0, 180, 255, 0.14);
}

.vis-step-title {
    font-weight: 950;
    margin-bottom: 6px;
}

.vis-step-text {
    color: rgba(242, 248, 255, 0.74);
    line-height: 1.65;
    font-size: 13px;
}

/* ======================================================================
   PROOF GRID
   ====================================================================== */
.vis-proof-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.vis-proof {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
    display: grid;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .vis-proof:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    }

.vis-proof-title {
    font-weight: 950;
}

.vis-proof-sub {
    color: rgba(242, 248, 255, 0.74);
    line-height: 1.65;
    font-size: 13px;
}

/* ======================================================================
   FAQ
   ====================================================================== */
.vis-faq {
    margin-top: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.vis-faq-item {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 26px;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    color: var(--vis-text);
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
}

    .vis-faq-item:hover {
        background-color: rgba(255, 255, 255, 0.04);
    }

    .vis-faq-item:last-of-type {
        border-bottom: 0;
    }

.vis-faq-q {
    font-weight: 950;
    color: var(--vis-text);
}

.vis-faq-ico {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(0, 180, 255, 0.10);
    border: 1px solid rgba(0, 180, 255, 0.22);
    color: var(--vis-text);
    font-weight: 950;
    transition: transform 0.2s ease;
}

.vis-faq-item[aria-expanded="true"] .vis-faq-ico {
    transform: rotate(45deg);
}

.vis-faq-a {
    padding: 0 16px 16px;
}

    .vis-faq-a p {
        margin: 0;
        color: rgba(242, 248, 255, 0.78);
        line-height: 1.75;
    }

/* ======================================================================
   CTA
   ====================================================================== */
.vis-cta-card {
    margin-top: 18px;
    border-radius: 22px;
    border: 1px solid rgba(0, 180, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.26);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .vis-cta-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 25px 65px rgba(0, 0, 0, 0.35);
    }

.vis-cta-left,
.vis-cta-right {
    padding: 22px;
}

.vis-cta-right {
    border-left: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 180, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.vis-cta-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 180, 255, 0.10), transparent 70%);
    filter: blur(40px);
    opacity: 0.5;
    pointer-events: none;
}

.vis-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.vis-cta-stat {
    margin-top: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, border-color 0.2s ease;
    position: relative;
    z-index: 1;
}

    .vis-cta-stat:hover {
        transform: translateY(-2px);
        border-color: rgba(0, 180, 255, 0.30);
    }

.vis-cta-stat-label {
    margin-top: 6px;
    color: rgba(242, 248, 255, 0.78);
    font-weight: 900;
    font-size: 13px;
}

/* ======================================================================
   REVEAL ANIMATION
   ====================================================================== */
.vis-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

    .vis-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (prefers-reduced-motion: reduce) {
    .vis-reveal {
        transition: none;
        transform: none;
        opacity: 1;
    }

    .vis-btn {
        transition: none;
    }

        .vis-btn:hover {
            transform: none;
        }

    .vis-hero-image-professional,
    .vis-problem-card,
    .vis-pillar,
    .vis-step,
    .vis-proof,
    .vis-cta-card,
    .vis-cta-stat {
        transition: none;
    }

        .vis-hero-image-professional:hover,
        .vis-problem-card:hover,
        .vis-pillar:hover,
        .vis-step:hover,
        .vis-proof:hover,
        .vis-cta-card:hover,
        .vis-cta-stat:hover {
            transform: none;
        }

    .vis-scroll-mouse::after {
        animation: none;
    }
}

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 1200px) {
    .vis-pillar-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .container {
        width: min(var(--vis-max), calc(100% - 24px));
    }

    .vis-hero {
        padding-top: calc(74px + var(--vis-safe-top));
        padding-bottom: 28px;
    }

    .vis-hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .vis-problem-grid {
        grid-template-columns: 1fr;
    }

    .vis-diagram {
        min-height: 250px;
    }

    .vis-diagram-center {
        width: 100px;
        height: 100px;
    }

    .vis-diagram-node {
        width: 120px;
    }

    .vis-proof-grid {
        grid-template-columns: 1fr;
    }

    .vis-cta-card {
        grid-template-columns: 1fr;
    }

    .vis-cta-right {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.10);
    }
}

@media (max-width: 768px) {
    .vis-diagram {
        min-height: auto;
        padding: 16px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .vis-diagram-lines {
        display: none;
    }

    .vis-diagram-center {
        position: relative;
        inset: auto;
        transform: none;
        width: 100%;
        height: auto;
        border-radius: 16px;
        padding: 14px;
    }

    .vis-diagram-node {
        position: relative;
        inset: auto;
        transform: none;
        width: 100%;
        text-align: left;
        padding: 12px;
    }

    .vis-node-title {
        font-size: 13px;
    }

    .vis-node-sub {
        font-size: 11px;
    }
}


@media (max-width: 640px) {
    .container {
        width: calc(100% - 20px);
    }

    .vis-title {
        font-size: clamp(26px, 9vw, 40px);
        letter-spacing: -0.4px;
    }

    .vis-subtitle {
        font-size: 15px;
        line-height: 1.7;
    }

    .vis-hero-actions {
        gap: 10px;
    }

    .vis-btn {
        width: 100%;
    }

    .vis-step {
        grid-template-columns: 42px 1fr;
    }
}

@media (max-width: 420px) {
    .vis-badge {
        padding: 9px 12px;
        font-size: 13px;
    }

    .vis-pill {
        font-size: 12px;
        padding: 8px 10px;
    }

    .vis-diagram {
        display: none;
    }

    .vis-image-badge {
        display: none;
    }
}
