/* ============================================================
   Página demo pública · Inventario de Piezas
   ============================================================ */
.demo-page {
    background: var(--bg);
    color: var(--ink);
    scroll-behavior: smooth;
}
.demo-page .d-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 26px;
}
.demo-page h1, .demo-page h2, .demo-page h3, .demo-page h4 { letter-spacing: -.02em; }
.demo-page svg { display: inline-block; vertical-align: middle; }

/* ---------- Header ---------- */
.d-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(6, 28, 36, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.d-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 70px;
}
.d-brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.d-brand:hover { color: #fff; }
.d-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
    color: #fff;
    box-shadow: 0 8px 20px rgba(23, 162, 162, .35);
    flex: none;
}
.d-brand-mark svg { width: 21px; height: 21px; }
.d-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.d-brand-text strong { font-size: 14px; font-weight: 650; }
.d-brand-text small { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: #7fb7bf; }
.d-nav { display: flex; align-items: center; gap: 24px; }
.d-nav > a { color: #b9d0d5; font-size: 13px; font-weight: 500; transition: color .15s; }
.d-nav > a:hover { color: #fff; }
.d-nav .d-nav-login { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .14); }
.d-nav .btn { color: #fff; }
.d-nav .btn:hover { color: #fff; }
.d-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}
.d-menu-btn span { display: block; height: 2px; border-radius: 2px; background: #d9e7ea; transition: transform .2s, opacity .2s; }
body.d-menu-open .d-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.d-menu-open .d-menu-btn span:nth-child(2) { opacity: 0; }
body.d-menu-open .d-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.d-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 84px;
    background:
        radial-gradient(900px 480px at 82% 10%, rgba(23, 162, 162, .22), transparent 62%),
        radial-gradient(700px 420px at 4% 100%, rgba(28, 155, 104, .14), transparent 60%),
        linear-gradient(150deg, var(--navy-950), var(--navy-800) 58%, #0c3b48);
    color: #e5f0f2;
}
.d-hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
    pointer-events: none;
}
.d-hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.d-hero-orb.orb-a { width: 360px; height: 360px; right: -80px; top: -60px; background: rgba(23, 162, 162, .28); }
.d-hero-orb.orb-b { width: 300px; height: 300px; left: -120px; bottom: -100px; background: rgba(28, 155, 104, .18); }
.d-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: 44px;
    align-items: center;
}
.d-hero-copy { max-width: 620px; }
.d-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border: 1px solid rgba(111, 224, 224, .35);
    border-radius: 999px;
    background: rgba(23, 162, 162, .12);
    color: #8ff0f0;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .04em;
}
.d-pill i { width: 7px; height: 7px; border-radius: 50%; background: #34d3d3; box-shadow: 0 0 0 4px rgba(52, 211, 211, .15); }
.d-hero h1 {
    margin: 18px 0 16px;
    font-size: clamp(34px, 4.1vw, 56px);
    line-height: 1.06;
    font-weight: 750;
    color: #fff;
}
.d-hero h1 span {
    background: linear-gradient(100deg, #6fe0e0, #a4f0d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.d-hero-lead { font-size: 16px; line-height: 1.68; color: #b8ced4; max-width: 540px; }
.d-hero-actions { display: flex; gap: 10px; margin: 26px 0 20px; flex-wrap: wrap; }
.btn-hero-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #e7f2f4; }
.btn-hero-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
.d-hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0 0 30px; font-size: 12.5px; color: #a9c3c9; }
.d-hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.d-hero-points svg { width: 14px; height: 14px; color: #6fe0e0; }
.d-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 18px;
}
.d-hero-stats > div { display: flex; flex-direction: column; padding-right: 14px; }
.d-hero-stats > div + div { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .1); }
.d-hero-stats strong { font-size: 24px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.d-hero-stats span { font-size: 11px; color: #89aab1; }

/* ---------- Mock dashboard ---------- */
.d-hero-visual { position: relative; }
.d-window {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .08);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
}
.d-window-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 13px;
    background: #0c2833;
    color: #8fb0b8;
    font-size: 10px;
}
.d-dots { display: flex; gap: 5px; }
.d-dots i { width: 8px; height: 8px; border-radius: 50%; background: #3b5a64; }
.d-dots i:nth-child(1) { background: #d96c63; }
.d-dots i:nth-child(2) { background: #d9a441; }
.d-dots i:nth-child(3) { background: #4caf7d; }
.d-window-url { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 6px; background: rgba(255, 255, 255, .06); font-size: 9.5px; }
.d-window-url svg { width: 10px; height: 10px; }
.d-window-tag { margin-left: auto; padding: 2px 7px; border-radius: 5px; background: rgba(23, 162, 162, .2); color: #6fe0e0; font-size: 8.5px; font-weight: 700; letter-spacing: .08em; }
.d-window-body { padding: 13px; background: #f4f8f9; }
.d-mock-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.d-mock-brand { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #0b2b36; }
.d-mock-brand svg { width: 15px; height: 15px; color: var(--teal-700); }
.d-mock-search { flex: 1; display: flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #e0e9ec; border-radius: 7px; background: #fff; color: #9aacb2; font-size: 9px; }
.d-mock-search svg { width: 11px; height: 11px; }
.d-mock-avatar { width: 25px; height: 25px; border-radius: 50%; background: #e6f5f5; color: #0a5a5a; font-size: 8px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.d-mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 9px; }
.d-mock-kpi { padding: 8px 8px; border: 1px solid #e2eaed; border-radius: 8px; background: #fff; display: flex; flex-direction: column; }
.d-mock-kpi span { font-size: 7px; text-transform: uppercase; letter-spacing: .05em; color: #7d959d; font-weight: 600; }
.d-mock-kpi strong { font-size: 15px; color: #0b2b36; line-height: 1.25; }
.d-mock-kpi small { font-size: 7px; color: #9aacb2; }
.d-mock-kpi.warn { background: #fdf5e4; border-color: #f0dcb4; }
.d-mock-kpi.warn strong { color: #a16207; }
.d-mock-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 7px; margin-bottom: 8px; }
.d-mock-panel { padding: 8px; border: 1px solid #e2eaed; border-radius: 8px; background: #fff; }
.d-mock-panel-head { display: flex; align-items: center; justify-content: space-between; font-size: 8.5px; font-weight: 650; color: #35535e; margin-bottom: 6px; }
.d-mock-legend { display: flex; gap: 3px; }
.d-mock-legend i { width: 7px; height: 7px; border-radius: 2px; }
.d-mock-legend .in { background: var(--teal-500); }
.d-mock-legend .out { background: #e8a23a; }
.d-mock-badge { min-width: 14px; height: 14px; padding: 0 4px; border-radius: 999px; background: #fdf5e4; color: #a16207; font-size: 7.5px; display: inline-flex; align-items: center; justify-content: center; }
.d-mock-chart { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px; height: 80px; }
.d-mock-col { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 100%; position: relative; }
.d-mock-col span { width: 5px; border-radius: 2px 2px 0 0; }
.d-mock-col span.in { background: linear-gradient(180deg, #17a2a2, #0d6b6b); }
.d-mock-col span.out { background: #e8a23a; }
.d-mock-col em { position: absolute; bottom: -9px; font-style: normal; font-size: 6px; color: #a5b5ba; }
.d-mock-alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.d-mock-alerts li { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding-bottom: 4px; border-bottom: 1px solid #f0f4f5; }
.d-mock-alerts li:last-child { border: 0; padding: 0; }
.d-mock-alerts b { display: block; font-size: 7.8px; color: #16323c; line-height: 1.3; }
.d-mock-alerts span { font-size: 6.6px; color: #9aacb2; }
.d-mock-alerts .badge { font-size: 6.5px; padding: 1px 5px; }
.d-mock-table { border: 1px solid #e2eaed; border-radius: 8px; background: #fff; overflow: hidden; }
.d-mock-row { display: grid; grid-template-columns: 2fr 1fr .7fr 1fr; gap: 5px; padding: 5px 8px; border-bottom: 1px solid #f0f4f5; font-size: 7.6px; align-items: center; }
.d-mock-row:last-child { border: 0; }
.d-mock-row-head { background: #f7fafb; font-size: 6.5px; text-transform: uppercase; letter-spacing: .05em; color: #8ba0a8; font-weight: 650; }
.d-mock-row b { font-size: 7.6px; display: block; color: #16323c; }
.d-mock-row small { font-size: 6.3px; color: #9aacb2; font-family: var(--mono); }
.d-mock-row .neg { color: #c04a42; font-weight: 700; }
.d-mock-row .pos { color: #157a52; font-weight: 700; }
.d-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
    font-size: 10px;
}
.d-float-card strong { display: block; font-size: 10.5px; color: #0b2b36; }
.d-float-card small { font-size: 9px; color: #7d959d; }
.d-float-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; flex: none; }
.d-float-icon svg { width: 15px; height: 15px; }
.d-float-icon.warn { background: #fdf5e4; color: #a16207; }
.d-float-icon.ok { background: #e7f7f0; color: #157a52; }
.d-float-alert { right: -18px; top: 24px; animation: d-float 6s ease-in-out infinite; }
.d-float-ok { left: -22px; bottom: 26px; animation: d-float 7s ease-in-out infinite reverse; }
@keyframes d-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- Strip ---------- */
.d-strip { background: #fff; border-bottom: 1px solid var(--line); }
.d-strip-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 15px; padding-bottom: 15px; font-size: 12px; color: var(--muted); }
.d-strip-inner span { text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 700; color: var(--faint); }
.d-strip-inner strong { font-weight: 600; color: var(--ink-2); }
.d-strip-inner i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }

/* ---------- Sections ---------- */
.d-section { padding: 82px 0; }
.d-section-alt { background: linear-gradient(180deg, #ecf3f4, #f4f8f9); }
.d-section-head { max-width: 680px; margin: 0 auto 42px; text-align: center; }
.d-kicker { display: inline-block; margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
.d-kicker.light { color: #6fe0e0; }
.d-section-head h2, .d-access h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; color: var(--ink); font-weight: 720; }
.d-section-head p { margin-top: 12px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.d-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.d-feature {
    padding: 26px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-xs);
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.d-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.d-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--teal-soft);
    color: var(--teal-700);
    margin-bottom: 14px;
}
.d-feature-icon.blue { background: #e8f1f7; color: #2f6b92; }
.d-feature-icon.amber { background: var(--amber-soft); color: var(--amber-700); }
.d-feature-icon svg { width: 22px; height: 22px; }
.d-feature h3 { font-size: 17px; margin-bottom: 8px; }
.d-feature p { font-size: 13px; line-height: 1.62; color: var(--muted); }
.d-feature ul, .d-role ul { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.d-feature li, .d-role li { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-2); }
.d-feature li svg, .d-role li svg { width: 14px; height: 14px; color: var(--green-600); flex: none; }
.d-module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.d-module {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}
.d-module-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f2f7f8;
    color: var(--teal-700);
    flex: none;
}
.d-module-icon svg { width: 18px; height: 18px; }
.d-module h4 { font-size: 13px; margin-bottom: 3px; }
.d-module p { font-size: 11.5px; line-height: 1.55; color: var(--muted); }

/* ---------- Steps ---------- */
.d-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.d-step {
    position: relative;
    padding: 30px 24px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}
.d-step-num {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #d4e2e5;
    letter-spacing: .05em;
}
.d-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--teal-700);
    color: #fff;
    box-shadow: 0 10px 24px rgba(13, 107, 107, .25);
}
.d-step-icon svg { width: 22px; height: 22px; }
.d-step h3 { font-size: 17px; margin-bottom: 6px; }
.d-step p { font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ---------- Roles ---------- */
.d-role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.d-role { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-xs); }
.d-role h3 { font-size: 18px; margin: 12px 0 6px; }
.d-role p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.d-role ul { margin-top: 14px; }

/* ---------- Access ---------- */
.d-access {
    position: relative;
    overflow: hidden;
    padding: 78px 0;
    color: #e5f0f2;
    background:
        radial-gradient(760px 380px at 88% 10%, rgba(23, 162, 162, .24), transparent 62%),
        linear-gradient(145deg, var(--navy-950), var(--navy-800));
}
.d-access-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 50px; align-items: center; }
.d-access h2 { color: #fff; margin: 8px 0 14px; }
.d-access-copy > p { font-size: 14.5px; line-height: 1.7; color: #b8ced4; max-width: 560px; }
.d-access-copy > p strong { color: #fff; }
.d-access-list { list-style: none; margin: 22px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.d-access-list li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #cfe0e4; }
.d-access-list svg { width: 15px; height: 15px; color: #6fe0e0; flex: none; }
.d-access-note { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: #8fb0b8; }
.d-access-note svg { width: 14px; height: 14px; }
.d-login-card {
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .32);
}
.d-login-head { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.d-login-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; background: var(--teal-soft); color: var(--teal-700); }
.d-login-icon svg { width: 19px; height: 19px; }
.d-login-head strong { display: block; font-size: 14px; }
.d-login-head small { font-size: 11.5px; color: var(--muted); }
.d-cred { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.d-cred span { flex: 0 0 94px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.d-cred code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 13px; color: var(--ink); overflow-wrap: anywhere; }
.d-copy {
    padding: 3px 9px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: #f7fafb;
    color: var(--ink-2);
    font-size: 10.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.d-copy:hover { background: var(--teal-soft); border-color: var(--teal-500); color: var(--teal-800); }
.d-copy.is-copied { background: var(--green-soft); border-color: #c5e9d8; color: var(--green-700); }
.d-login-card .btn { margin-top: 16px; }
.d-login-secondary { display: block; margin-top: 10px; text-align: center; font-size: 11.5px; color: var(--muted); }
.d-login-foot { margin-top: 12px; text-align: center; font-size: 10.5px; color: var(--faint); }

/* ---------- CTA ---------- */
.d-cta { padding: 52px 0; background: linear-gradient(100deg, var(--teal-800), var(--teal-600)); }
.d-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.d-cta h2 { font-size: clamp(22px, 2.6vw, 30px); color: #fff; }
.d-cta p { margin-top: 5px; font-size: 13.5px; color: #d5f1f1; }
.d-cta .btn-primary { background: #fff; color: var(--teal-800); box-shadow: 0 10px 26px rgba(0, 0, 0, .16); }
.d-cta .btn-primary:hover { background: #f0fbfb; color: var(--teal-800); }

/* ---------- Footer ---------- */
.d-footer { padding: 56px 0 26px; background: #071d27; color: #9fb9c0; }
.d-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.d-brand-footer { margin-bottom: 12px; }
.d-footer-grid p { font-size: 12px; line-height: 1.65; max-width: 320px; color: #89a6ae; }
.d-brand-footer .d-brand-text strong { color: #fff; }
.d-brand-footer .d-brand-text small { color: #6fe0e0; }
.d-footer-grid h4 { margin-bottom: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #cfe0e4; }
.d-footer-grid > div > a { display: block; margin-bottom: 8px; font-size: 12.5px; color: #9fb9c0; }
.d-footer-grid > div > a:hover { color: #6fe0e0; }
.d-footer-cta { display: inline-flex !important; align-items: center; gap: 4px; margin-top: 8px; color: #6fe0e0 !important; font-weight: 600; }
.d-footer-cta svg { width: 14px; height: 14px; }
.d-footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 20px; font-size: 11px; color: #6f8c94; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .d-hero-inner { grid-template-columns: 1fr; gap: 38px; }
    .d-hero-copy { max-width: 720px; }
    .d-hero-visual { max-width: 660px; margin: 0 auto; width: 100%; }
    .d-float-alert { right: 0; }
    .d-float-ok { left: 0; }
    .d-feature-grid, .d-module-grid, .d-role-grid, .d-steps { grid-template-columns: repeat(2, 1fr); }
    .d-access-grid { grid-template-columns: 1fr; gap: 32px; }
    .d-login-card { max-width: 440px; }
    .d-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .d-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px 26px 20px;
        background: #071d27;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    }
    body.d-menu-open .d-nav { display: flex; }
    .d-nav > a { width: 100%; padding: 11px 0; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
    .d-nav .d-nav-login { padding-left: 0; border-left: 0; border-bottom: 0; }
    .d-nav .btn { width: 100%; margin-top: 12px; border-bottom: 0; }
    .d-menu-btn { display: flex; }
    .d-hero { padding: 52px 0 64px; }
    .d-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
    .d-hero-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .d-section { padding: 62px 0; }
    .d-feature-grid, .d-module-grid, .d-role-grid, .d-steps { grid-template-columns: 1fr; }
    .d-access-list { grid-template-columns: 1fr; }
    .d-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 560px) {
    .d-container { padding: 0 16px; }
    .d-hero h1 { font-size: 32px; }
    .d-hero-lead { font-size: 14.5px; }
    .d-hero-actions .btn { width: 100%; }
    .d-hero-visual { margin-top: 4px; }
    .d-window { transform: none; }
    .d-float-card { display: none; }
    .d-mock-kpis { grid-template-columns: repeat(2, 1fr); }
    .d-mock-grid { grid-template-columns: 1fr; }
    .d-mock-table { display: none; }
    .d-strip-inner { gap: 10px; font-size: 10.5px; }
    .d-strip-inner i { display: none; }
    .d-cta-inner .btn { width: 100%; }
    .d-footer-grid { grid-template-columns: 1fr; }
    .d-footer-bottom { flex-direction: column; gap: 4px; }
    .d-cred span { flex-basis: 88px; }
}
@media (prefers-reduced-motion: reduce) {
    .d-float-card { animation: none; }
    .demo-page { scroll-behavior: auto; }
}
