:root {
    --bg: #0d1b2a;
    --bg-2: #1b2a3b;
    --surface: #1e2f42;
    --surface-2: #243444;
    --text: #f5f7fa;
    --text-dim: #9aa7b8;
    --accent: #4a9eff;
    --accent-dim: #2d7dd6;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 14px;
    --radius-sm: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: #7eb7ff;
}

/* Nav */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 27, 42, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
    color: var(--text);
}

.brand-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dim);
    font-size: 15px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    padding: 8px 16px;
    background: var(--accent);
    color: var(--text) !important;
    border-radius: var(--radius-sm);
}

.nav-cta:hover {
    background: var(--accent-dim);
    color: var(--text) !important;
}

/* Hero */

.hero {
    padding: 80px 24px 100px;
    text-align: center;
    overflow: hidden;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.hero-icon {
    width: 128px;
    height: 128px;
    border-radius: 28px;
    margin-bottom: 32px;
    box-shadow: 0 20px 60px rgba(74, 158, 255, 0.2);
}

.hero-title {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.accent {
    background: linear-gradient(120deg, var(--accent), #7eb7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-tagline {
    font-size: 21px;
    color: var(--text-dim);
    max-width: 820px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 80px;
}

.hero-meta {
    color: var(--text-dim);
    font-size: 14px;
}

/* Buttons */

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--text) !important;
    box-shadow: 0 4px 20px rgba(74, 158, 255, 0.3);
}

.btn-primary:hover {
    background: var(--accent-dim);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(74, 158, 255, 0.4);
    color: var(--text) !important;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* Hero visual */

.hero-visual {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.window-big {
    position: relative;
    background: var(--surface);
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16 / 10;
}

.window-chrome {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.window-body {
    height: calc(100% - 42px);
    background: linear-gradient(135deg, #2b3f5a 0%, #1e2f42 100%);
}

.window-pip {
    position: absolute;
    right: 5%;
    bottom: 8%;
    width: 32%;
    aspect-ratio: 16 / 10;
    background: var(--surface-2);
    border-radius: 10px;
    border: 2px solid rgba(74, 158, 255, 0.6);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(74, 158, 255, 0.3);
    overflow: hidden;
    animation: float 4s ease-in-out infinite;
}

.window-pip-chrome {
    height: 20%;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid var(--border);
}

.window-pip-body {
    height: 80%;
    background: linear-gradient(135deg, #3d5a7c 0%, #243444 100%);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* Features */

.features {
    padding: 100px 24px;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 64px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.feature {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 158, 255, 0.3);
}

.feature-icon {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--accent);
    font-family: "SF Mono", Menlo, monospace;
}

.feature h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
}

kbd {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    font-family: "SF Mono", Menlo, monospace;
    font-size: 13px;
    color: var(--text);
    border: 1px solid var(--border);
}

/* How it works */

.how {
    padding: 100px 24px;
}

.how-intro {
    font-size: 18px;
    color: var(--text-dim);
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.how-steps {
    max-width: 680px;
    margin: 0 auto;
    list-style: none;
    counter-reset: step;
}

.how-steps li {
    counter-increment: step;
    position: relative;
    padding: 20px 0 20px 64px;
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.6;
    border-bottom: 1px solid var(--border);
}

.how-steps li:last-child {
    border-bottom: none;
}

.how-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(74, 158, 255, 0.12);
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(74, 158, 255, 0.3);
}

.how-steps strong {
    color: var(--text);
    font-weight: 600;
}

/* Companion app */

.companion {
    padding: 100px 24px;
    border-top: 1px solid var(--border);
}

.companion-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 72px;
    align-items: center;
}

.companion-title {
    text-align: left;
    font-size: 38px;
    margin-bottom: 16px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(74, 158, 255, 0.14);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    border: 1px solid rgba(74, 158, 255, 0.25);
}

.companion-lede {
    color: var(--text-dim);
    font-size: 17px;
    line-height: 1.55;
    margin-bottom: 24px;
}

.companion-points {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.companion-points li {
    position: relative;
    padding: 10px 0 10px 28px;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px solid var(--border);
}

.companion-points li:last-child {
    border-bottom: none;
}

.companion-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(74, 158, 255, 0.15);
    border: 1px solid rgba(74, 158, 255, 0.4);
    box-shadow: inset 0 0 0 3px rgba(13, 27, 42, 1), 0 0 0 0 rgba(74, 158, 255, 0.5);
}

.companion-points strong {
    color: var(--text);
    font-weight: 600;
}

.companion-cta-note {
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.6;
}

.companion-qr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.companion-qr img {
    background: #fff;
    border-radius: 6px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.companion-qr-label {
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    width: 120px;
}

/* Phone illustration */

.companion-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone {
    position: relative;
    width: 230px;
    height: 470px;
    background: #0a1220;
    border-radius: 42px;
    border: 8px solid #000;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 0 60px rgba(74, 158, 255, 0.15);
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background: #000;
    border-radius: 14px;
    z-index: 2;
}

.phone-screen {
    position: absolute;
    inset: 0;
    padding: 54px 18px 18px;
    background: linear-gradient(180deg, #0d1b2a 0%, #1b2a3b 100%);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.phone-header {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.phone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.phone-tile {
    aspect-ratio: 16 / 10;
    background: var(--surface-2);
    border-radius: 8px;
    border: 1px solid rgba(74, 158, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
}

.phone-tile span {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3d5a7c 0%, #243444 100%);
}

.phone-tile:nth-child(1) span { background: linear-gradient(135deg, #4a9eff 0%, #2d5a8a 100%); }
.phone-tile:nth-child(2) span { background: linear-gradient(135deg, #6b5cb0 0%, #2d3a5a 100%); }
.phone-tile:nth-child(3) span { background: linear-gradient(135deg, #4aadc5 0%, #244454 100%); }
.phone-tile:nth-child(4) span { background: linear-gradient(135deg, #7ec8e3 0%, #345a7a 100%); }

/* Download */

.download {
    padding: 100px 24px;
    text-align: center;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--border);
}

.download .section-title {
    margin-bottom: 16px;
}

.download-meta {
    color: var(--text-dim);
    margin-bottom: 32px;
    font-size: 15px;
}

.download-note {
    color: var(--text-dim);
    font-size: 14px;
    max-width: 560px;
    margin: 32px auto 0;
    line-height: 1.6;
}

/* Footer */

.footer {
    padding: 48px 24px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 14px;
}

.footer .section-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-icon {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

.footer-meta {
    font-size: 13px;
}

/* Responsive */

@media (max-width: 720px) {
    .hero {
        padding: 48px 20px 64px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .hero-icon {
        width: 96px;
        height: 96px;
    }

    .section-title {
        font-size: 32px;
    }

    .features,
    .how,
    .companion,
    .download,
    .usecases {
        padding: 64px 20px;
    }

    .usecase-grid {
        grid-template-columns: 1fr;
    }

    .companion-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .companion-title {
        text-align: center;
        font-size: 28px;
    }

    .companion-copy {
        text-align: center;
    }

    .companion-points {
        text-align: left;
    }

    .phone {
        width: 200px;
        height: 410px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .why {
        padding: 64px 20px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .col-pipin, .col-others {
        width: 90px;
    }

    .showcase-title {
        font-size: 22px;
    }

    .shadow-demo {
        display: none;
    }
}

.hero-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 64px;
    padding: 0 16px;
    flex-wrap: wrap;
}

.hd-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    flex: 1;
    min-width: 200px;
    max-width: 320px;
}

.hd-panel--vd {
    border-color: rgba(74, 158, 255, 0.2);
    background: rgba(74, 158, 255, 0.04);
}

.hd-panel-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 10px 14px 6px;
    border-bottom: 1px solid var(--border);
}

.hd-panel-label--dim {
    color: rgba(154, 167, 184, 0.5);
}

.hd-hidden-tag {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(74, 158, 255, 0.12);
    color: var(--accent);
    font-size: 9px;
    letter-spacing: 0.08em;
    vertical-align: middle;
    margin-left: 4px;
}

.hd-panel-body {
    position: relative;
    height: 130px;
    background: linear-gradient(135deg, #2b3f5a 0%, #1e2f42 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 12px;
}

.hd-panel-body--vd {
    background: linear-gradient(135deg, #1a2535 0%, #141f2e 100%);
    align-items: center;
    justify-content: center;
}

.hd-pip {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 100px;
    background: var(--surface-2);
    border-radius: 8px;
    border: 1.5px solid rgba(74, 158, 255, 0.7);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5), 0 0 16px rgba(74,158,255,0.2);
    overflow: hidden;
    animation: float 4s ease-in-out infinite;
}

.hd-pip-bar {
    display: flex;
    gap: 5px;
    padding: 6px 8px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
}

.hd-pip-body {
    height: 52px;
    background: linear-gradient(135deg, #3d5a7c 0%, #243444 100%);
}

.hd-live-badge {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    font-weight: 700;
    color: #4eff9a;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.hd-shadow {
    position: absolute;
    top: 18px;
    left: 14px;
    width: 80px;
    height: 50px;
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hd-shadow-label {
    font-size: 8px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.04em;
}

.hd-source {
    width: 130px;
    background: var(--surface-2);
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    opacity: 0.85;
}

.hd-source-bar {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 6px 8px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}

.hd-source-title {
    font-size: 9px;
    color: var(--text-dim);
    margin-left: 4px;
}

.hd-source-body {
    height: 54px;
    background: linear-gradient(135deg, #2a4a6a 0%, #1a2f45 100%);
}

.hd-rendering-badge {
    display: block;
    font-size: 8px;
    color: var(--accent);
    text-align: center;
    padding: 4px 0;
    letter-spacing: 0.04em;
    opacity: 0.8;
}

.hd-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.hd-connector svg {
    width: 80px;
}

.hd-connector-label {
    font-size: 10px;
    color: var(--accent);
    opacity: 0.7;
    letter-spacing: 0.04em;
}

/* ─── Why PIPin section ─── */

.why {
    padding: 100px 24px;
    border-top: 1px solid var(--border);
}

.why-intro {
    font-size: 18px;
    color: var(--text-dim);
    text-align: center;
    max-width: 700px;
    margin: -32px auto 56px;
    line-height: 1.6;
}

.problem-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 56px;
}

.problem-card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 28px;
}

.problem-card--bad {
    background: rgba(255, 80, 80, 0.04);
    border-color: rgba(255, 100, 100, 0.15);
}

.problem-card--good {
    background: rgba(74, 158, 255, 0.04);
    border-color: rgba(74, 158, 255, 0.2);
}

.problem-card-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
    color: var(--text);
}

.problem-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 80, 80, 0.2);
    color: #ff6464;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.problem-icon--good {
    background: rgba(74, 158, 255, 0.15);
    color: var(--accent);
}

.problem-card p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 20px;
}

/* Problem diagram inside cards */

.problem-diagram {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    padding: 14px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pd-space, .pd-vd {
    border-radius: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.06);
}

.pd-space--active {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}

.pd-space--bg {
    background: rgba(255,255,255,0.02);
    opacity: 0.6;
}

.pd-vd {
    background: rgba(74,158,255,0.06);
    border-color: rgba(74,158,255,0.2);
}

.pd-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.pd-pip-bad, .pd-pip-good, .pd-source {
    font-size: 12px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pd-frozen {
    color: #ff6464;
    font-weight: 600;
}

.pd-live {
    color: #4eff9a;
    font-weight: 600;
}

/* Comparison table */

.comparison-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.comparison-table thead {
    background: rgba(255,255,255,0.03);
}

.comparison-table th {
    padding: 14px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
}

.comparison-table td {
    padding: 14px 20px;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

.col-pipin {
    text-align: center;
    width: 140px;
    background: rgba(74, 158, 255, 0.04);
}

.col-others {
    text-align: center;
    width: 160px;
}

.cmp-yes {
    font-size: 16px;
    font-weight: 700;
    color: #4eff9a;
}

.cmp-no {
    font-size: 13px;
    font-weight: 600;
    color: #ff6464;
}

.cmp-neutral {
    font-size: 13px;
    color: #f5a623;
}

/* ─── Use cases ─── */
.usecases { background: var(--bg); padding: 80px 24px; }

.usecase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.usecase-card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 28px 28px 24px;
    text-align: center;
}

.usecase-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.usecase-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

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

/* ─── Feature showcases ─── */

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 72px 0;
    border-bottom: 1px solid var(--border);
}

.feature-showcase:first-of-type {
    padding-top: 0;
}

.feature-showcase--alt {
    direction: ltr;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(74, 158, 255, 0.12);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(74, 158, 255, 0.25);
}

.feature-badge--unique {
    background: rgba(160, 100, 255, 0.12);
    color: #c084fc;
    border-color: rgba(160, 100, 255, 0.25);
}

.showcase-title {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text);
}

.showcase-desc {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 16px;
}

.showcase-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.showcase-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.5;
}

.showcase-list li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ─── Virtual Display diagram (feature section) ─── */

.vd-diagram {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vdd-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vdd-box {
    flex: 1;
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.vdd-box--vd {
    border-color: rgba(74, 158, 255, 0.25);
    background: rgba(74, 158, 255, 0.03);
}

.vdd-box-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}

.vdd-hidden-tag {
    font-size: 9px;
    padding: 1px 5px;
    background: rgba(74,158,255,0.12);
    color: var(--accent);
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
    letter-spacing: 0.06em;
}

.vdd-box-body {
    position: relative;
    height: 100px;
    background: linear-gradient(135deg, #2b3f5a 0%, #1e2f42 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vdd-pip {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 70px;
    background: var(--surface-2);
    border-radius: 6px;
    border: 1.5px solid rgba(74, 158, 255, 0.7);
    box-shadow: 0 4px 14px rgba(0,0,0,0.4), 0 0 12px rgba(74,158,255,0.2);
    overflow: hidden;
    animation: float 4s ease-in-out infinite;
}

.vdd-pip-chrome {
    display: flex;
    gap: 4px;
    padding: 5px 6px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
}

.vdd-pip-body {
    height: 38px;
    background: linear-gradient(135deg, #3d5a7c 0%, #243444 100%);
}

.vdd-live-dot {
    position: absolute;
    bottom: 4px;
    right: 5px;
    font-size: 7px;
    font-weight: 700;
    color: #4eff9a;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.vdd-source {
    width: 100%;
    position: relative;
}

.vdd-source-chrome {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 6px 10px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}

.vdd-source-title {
    font-size: 9px;
    color: var(--text-dim);
    margin-left: 4px;
}

.vdd-source-body {
    height: 56px;
    background: linear-gradient(135deg, #2a4a6a 0%, #1a2f45 100%);
}

.vdd-rendering-tag {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: var(--accent);
    text-align: center;
    padding: 4px 0;
    letter-spacing: 0.04em;
    opacity: 0.8;
}

.vdd-arrow-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    width: 80px;
}

.vdd-arrow-line svg {
    width: 80px;
}

.vdd-arrow-label {
    font-size: 9px;
    color: var(--accent);
    opacity: 0.7;
    letter-spacing: 0.04em;
    text-align: center;
}

/* ─── Pointer teleport demo ─── */

.teleport-demo {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.tp-panel {
    flex: 1;
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}

.tp-panel--pip {
    border-color: rgba(74, 158, 255, 0.4);
}

.tp-panel--real {
    border-color: rgba(160, 100, 255, 0.3);
}

.tp-panel-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 7px 10px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}

.tp-panel-body {
    height: 90px;
    background: linear-gradient(135deg, #2b3f5a 0%, #1e2f42 100%);
}

.tp-panel--real .tp-panel-body {
    background: linear-gradient(135deg, #2a2a4a 0%, #1a1a35 100%);
}

.tp-cursor {
    position: absolute;
    pointer-events: none;
}

.tp-cursor--src {
    bottom: 22px;
    left: 30px;
    animation: cursor-click 2.4s ease-in-out infinite;
}

.tp-cursor--dst {
    bottom: 22px;
    left: 30px;
    animation: cursor-appear 2.4s ease-in-out infinite;
}

@keyframes cursor-click {
    0%, 60% { opacity: 1; transform: scale(1); }
    65% { transform: scale(0.85); }
    70%, 100% { opacity: 0; }
}

@keyframes cursor-appear {
    0%, 70% { opacity: 0; }
    80%, 100% { opacity: 1; }
}

.tp-cmd-hint {
    position: absolute;
    bottom: 6px;
    left: 8px;
    font-size: 9px;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.8;
    font-family: "SF Mono", Menlo, monospace;
}

.tp-arrow-wrap {
    flex-shrink: 0;
    width: 60px;
    display: flex;
    align-items: center;
}

.tp-arrow-svg {
    width: 60px;
}

.tp-undo-hint {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-dim);
    text-align: center;
}

/* ─── Shadow window demo ─── */

.shadow-demo {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.sd-screen {
    position: relative;
    background: linear-gradient(135deg, #1a2535 0%, #141f2e 100%);
    border-radius: 10px;
    height: 200px;
    overflow: hidden;
}

.sd-real-app {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 52%;
    background: var(--surface-2);
    border-radius: 7px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.sd-app-chrome {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 6px 8px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}

.sd-app-title {
    font-size: 9px;
    color: var(--text-dim);
    margin-left: 4px;
}

.sd-app-body {
    height: 100px;
    background: linear-gradient(135deg, #2a4060 0%, #1a2f45 100%);
}

.sd-shadow-win {
    position: absolute;
    top: 10px;
    left: calc(52% + 18px);
    right: 8px;
    bottom: 50px;
    border: 1.5px dashed rgba(255,255,255,0.2);
    border-radius: 7px;
    background: rgba(255,255,255,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sd-shadow-label {
    font-size: 9px;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
}

.sd-shadow-restore {
    font-size: 9px;
    color: var(--accent);
    opacity: 0.6;
}

.sd-pip-corner {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 90px;
    background: var(--surface-2);
    border-radius: 6px;
    border: 1.5px solid rgba(74, 158, 255, 0.6);
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
    overflow: hidden;
    animation: float 4s ease-in-out infinite;
    position: absolute;
}

.sd-pip-chrome {
    display: flex;
    gap: 4px;
    padding: 5px 6px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}

.sd-pip-body {
    height: 44px;
    background: linear-gradient(135deg, #3d5a7c 0%, #243444 100%);
}

/* ─── Why section + features section spacing fix ─── */

.why + .features {
    border-top: none;
}

@media (max-width: 900px) {
    .hero-diagram {
        flex-direction: column;
        gap: 12px;
    }

    .hd-connector svg {
        transform: rotate(90deg);
    }

    .hd-connector-label {
        display: none;
    }

    .problem-split {
        grid-template-columns: 1fr;
    }

    .feature-showcase,
    .feature-showcase--alt {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 56px 0;
    }

    .showcase-title {
        font-size: 24px;
    }

    .vdd-row {
        flex-direction: column;
    }

    .vdd-arrow-col {
        width: auto;
        transform: rotate(90deg);
    }

    .teleport-demo {
        flex-direction: column;
        gap: 12px;
    }

    .tp-arrow-wrap {
        transform: rotate(90deg);
        width: auto;
    }

    .why-intro {
        margin-top: -20px;
        font-size: 16px;
    }
}
