/* home.css v2 — Hero, stack logos, before/after, pricing, testimonials */

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 80px) 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13, 242, 196, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 242, 196, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    transform: skewY(-3deg) scale(1.1);
    mask-image: radial-gradient(ellipse at 65% 45%, black, transparent 68%);
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.g1 {
    width: 600px;
    height: 600px;
    background: rgba(13, 242, 196, 0.07);
    top: -180px;
    right: -80px;
    animation: floatY 10s ease-in-out infinite;
}

.g2 {
    width: 450px;
    height: 450px;
    background: rgba(139, 92, 246, 0.09);
    bottom: -80px;
    left: -80px;
    animation: floatY 13s ease-in-out infinite reverse;
}

.hero-layout {
    position: relative;
    z-index: 2;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

/* Left */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--a1-border);
    background: rgba(13, 242, 196, 0.04);
    border-radius: 99px;
    padding: 5px 14px 5px 8px;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .55s, transform .55s;
}

.hero-pill.in {
    opacity: 1;
    transform: none;
}

.pill-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--a1);
    letter-spacing: .06em;
}

.pill-badge {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    background: var(--a1);
    color: #000;
    padding: 2px 8px;
    border-radius: 99px;
}

.hero-h {
    font-size: clamp(40px, 5.5vw, 74px);
    font-weight: 900;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
}

.hw {
    display: block;
    overflow: hidden;
}

.ht {
    display: block;
    transform: translateY(105%);
    transition: transform .72s cubic-bezier(0.16, 1, 0.3, 1);
}

.ht.in {
    transform: translateY(0);
}

.ht-grad {
    background: linear-gradient(135deg, var(--a1) 0%, var(--a2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ht-dim {
    color: var(--t2);
}

.hero-sub {
    font-size: 15.5px;
    color: var(--t2);
    line-height: 1.78;
    max-width: 430px;
    margin-bottom: 34px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .6s ease .48s, transform .6s ease .48s;
}

.hero-sub.in {
    opacity: 1;
    transform: none;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 44px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .6s ease .65s, transform .6s ease .65s;
}

.hero-actions.in {
    opacity: 1;
    transform: none;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 22px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .6s ease .82s, transform .6s ease .82s;
}

.hero-stats.in {
    opacity: 1;
    transform: none;
}

.hs-val {
    font-family: 'Syne', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--a1);
    line-height: 1;
}

.hs-lbl {
    font-size: 11px;
    color: var(--t3);
    margin-top: 4px;
    font-family: 'Space Mono', monospace;
    letter-spacing: .04em;
}

.hs-div {
    width: 1px;
    height: 36px;
    background: var(--border-2);
}

/* Right — Dashboard card */
.hero-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity .8s ease .32s, transform .8s ease .32s;
}

.hero-right.in {
    opacity: 1;
    transform: none;
}

.dash {
    background: var(--bg-3);
    border: 1px solid var(--border-2);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(13, 242, 196, 0.04);
    animation: floatY 5.5s ease-in-out infinite;
}

.dash-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .02);
}

.traff-dots {
    display: flex;
    gap: 5px;
}

.traff-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.td-r {
    background: #ff5f57
}

.td-y {
    background: #febc2e
}

.td-g {
    background: #28c840
}

.dash-title {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--t3);
    flex: 1;
}

.dash-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--a1);
}

.dash-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.trow {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 11.5px;
    transition: background .2s;
}

.trow:hover {
    background: var(--surface-2);
}

.trow-ico {
    width: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trow-ico svg {
    width: 12px;
    height: 12px;
}

.trow.done .trow-ico svg {
    color: var(--a1);
}

.trow.void .trow-ico svg {
    color: var(--a3);
}

.trow.active .trow-ico svg {
    color: var(--a2);
}

.trow-info {
    flex: 1;
}

.trow-name {
    color: var(--t1);
    font-weight: 500;
}

.trow-meta {
    color: var(--t3);
    font-size: 10px;
    margin-top: 1px;
}

.trow-badge {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 3px;
    flex-shrink: 0;
}

.badge-done {
    background: rgba(13, 242, 196, .1);
    color: var(--a1);
}

.badge-void {
    background: rgba(236, 72, 153, .1);
    color: var(--a3);
}

.badge-active {
    background: rgba(139, 92, 246, .1);
    color: var(--a2);
}

.dash-foot {
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    background: rgba(13, 242, 196, 0.02);
}

.dash-foot-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: var(--t3);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.brows {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.brow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--t3);
}

.brow span:last-child {
    color: var(--a1);
    min-width: 34px;
    text-align: right;
}

.brow-wrap {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, .06);
    border-radius: 99px;
    overflow: hidden;
}

.brow-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--a1), var(--a2));
    border-radius: 99px;
}

.notify {
    position: absolute;
    bottom: -18px;
    left: -22px;
    background: var(--bg-3);
    border: 1px solid rgba(13, 242, 196, .18);
    border-radius: 10px;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
    animation: floatY 7s ease-in-out infinite reverse;
    font-size: 11.5px;
}

.notify-av {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--a1), var(--a2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notify-av svg {
    width: 12px;
    height: 12px;
    color: #000;
}

.notify-lbl {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: var(--t3);
}

.notify-msg {
    font-weight: 600;
    color: var(--a1);
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.sh-line {
    width: 1px;
    height: 44px;
    background: var(--border-2);
    position: relative;
    overflow: hidden;
}

.sh-runner {
    width: 1px;
    height: 16px;
    background: var(--a1);
    animation: runner 2s ease-in-out infinite;
}

@keyframes runner {
    0% {
        transform: translateY(-100%)
    }

    100% {
        transform: translateY(400%)
    }
}

.sh-text {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: var(--t3);
    letter-spacing: .15em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

/* ── Stack logos ── */
.stack-section {
    padding: 80px 0;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    overflow: hidden;
}

.stack-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.stack-label {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--a1);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.stack-desc {
    font-size: 15px;
    color: var(--t2);
    line-height: 1.6;
}

.stack-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.stack-slider::before,
.stack-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.stack-slider::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-2), transparent);
}

.stack-slider::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-2), transparent);
}

.stack-track {
    display: flex;
    gap: 12px;
    animation: scroll-left 40s linear infinite;
    width: fit-content;
}

.stack-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.stack-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--t2);
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.stack-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.stack-item:hover {
    border-color: var(--border-a);
    color: var(--a1);
    background: var(--surface-2);
    transform: translateY(-2px);
}

/* ── Before / After ── */
.bva-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
}

.bva-panel {
    padding: 40px 36px;
    background: var(--bg-3);
    display: flex;
    flex-direction: column;
}

.bva-panel.after,
.bva-panel.bva-after {
    background: var(--bg-4);
    border-left: 1px solid var(--border);
}

.bva-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.bva-badge {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: .08em;
    padding: 4px 12px;
    border-radius: 99px;
}

.bva-before .bva-badge {
    background: rgba(236, 72, 153, .1);
    color: var(--a3);
    border: 1px solid rgba(236, 72, 153, .2);
}

.bva-after .bva-badge {
    background: rgba(13, 242, 196, .08);
    color: var(--a1);
    border: 1px solid var(--a1-border);
}

.bva-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

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

.bva-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.bva-text {
    font-size: 13.5px;
    color: var(--t2);
    line-height: 1.55;
    flex: 1;
}

.bva-text strong {
    color: var(--t1);
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 4px;
}

/* ── Services overview ── */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.svc-card {
    padding: 32px;
}

.svc-num {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--t3);
    letter-spacing: .1em;
    margin-bottom: 18px;
}

.svc-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all .3s;
}

.svc-card:hover .svc-icon-wrap {
    border-color: var(--a1-border);
    background: rgba(13, 242, 196, .06);
}

.svc-icon-wrap svg {
    width: 20px;
    height: 20px;
    color: var(--a1);
}

.svc-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 8px;
}

.svc-card p {
    font-size: 13.5px;
    color: var(--t2);
    line-height: 1.65;
}

.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--a1);
    margin-top: 16px;
    letter-spacing: .04em;
    transition: gap .2s;
}

.svc-card:hover .svc-link {
    gap: 10px;
}

/* ── Metrics strip ── */
.metrics-strip {
    padding: 70px 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
}

.metric {
    padding: 40px 32px;
    border-right: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.metric:last-child {
    border-right: none;
}

.metric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--a1), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.metric:hover::before {
    opacity: 1;
}

.metric-val {
    font-family: 'Syne', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--a1);
    line-height: 1;
}

.metric-label {
    font-size: 13px;
    color: var(--t2);
    margin-top: 8px;
}

.metric-sub {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--t3);
    margin-top: 6px;
}

/* ── Pricing ── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: start;
}

.price-card {
    padding: 36px;
    position: relative;
}

.price-card.featured {
    background: linear-gradient(145deg, rgba(13, 242, 196, 0.05), rgba(139, 92, 246, 0.03));
    border-color: var(--a1-border);
}

.price-card.featured::after {
    content: 'MOST POPULAR';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: .12em;
    background: var(--a1);
    color: #000;
    padding: 4px 14px;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
}

.price-name {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--t3);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.price-val {
    font-family: 'Syne', sans-serif;
    font-size: 44px;
    font-weight: 900;
    color: var(--t1);
    line-height: 1;
    margin-bottom: 6px;
}

.price-val sup {
    font-size: 20px;
    vertical-align: super;
}

.price-val sub {
    font-size: 14px;
    color: var(--t3);
    font-weight: 400;
}

.price-desc {
    font-size: 13px;
    color: var(--t2);
    margin-bottom: 28px;
    line-height: 1.6;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
}

.price-feats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.price-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--t2);
}

.pf-check {
    width: 16px;
    height: 16px;
    color: var(--a1);
    flex-shrink: 0;
}

.pf-x {
    width: 16px;
    height: 16px;
    color: var(--t3);
    flex-shrink: 0;
}

/* ── Testimonials ── */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.testi-card {
    padding: 36px;
}

.testi-card.feat {
    background: linear-gradient(145deg, rgba(13, 242, 196, 0.04), rgba(139, 92, 246, 0.03));
    border-color: var(--a1-border);
}

.testi-q {
    font-size: 56px;
    font-weight: 900;
    line-height: .75;
    margin-bottom: 14px;
    font-family: 'Syne', sans-serif;
    background: linear-gradient(135deg, var(--a1), var(--a2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testi-text {
    font-size: 14.5px;
    color: var(--t1);
    line-height: 1.72;
    margin-bottom: 24px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-av {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--a1), var(--a2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #000;
    flex-shrink: 0;
}

.testi-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--t1);
}

.testi-role {
    font-size: 11px;
    color: var(--t3);
    margin-top: 2px;
    font-family: 'Space Mono', monospace;
}

.testi-stars {
    margin-left: auto;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2px;
}

@media(max-width:1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-right {
        display: block;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-h {
        font-size: clamp(36px, 5vw, 64px);
    }

    .hero-sub {
        max-width: 100%;
    }

    .dash {
        max-width: 100%;
    }

    .notify {
        position: static;
        margin-top: 16px;
        display: inline-flex;
    }

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

    .bva-panel.after,
    .bva-panel.bva-after {
        border-left: none;
        border-top: 1px solid var(--border);
    }

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

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

    .metrics-grid .metric:nth-child(2) {
        border-right: none;
    }

    .metrics-grid .metric:nth-child(3) {
        border-top: 1px solid var(--border);
    }

    .metrics-grid .metric:nth-child(4) {
        border-top: 1px solid var(--border);
        border-right: none;
    }
}

@media(max-width:768px) {
    .hero {
        padding: calc(var(--nav-h) + 60px) 0 60px;
        min-height: auto;
    }

    .hero-layout {
        padding: 0 20px;
    }

    .hero-right {
        max-width: 100%;
    }

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

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .dash {
        font-size: 11px;
    }

    .dash-bar {
        padding: 10px 12px;
    }

    .dash-title {
        font-size: 9px;
    }

    .dash-body {
        padding: 12px;
        gap: 6px;
    }

    .trow {
        padding: 7px 8px;
        font-size: 10px;
    }

    .trow-name {
        font-size: 11px;
    }

    .trow-meta {
        font-size: 9px;
    }

    .trow-badge {
        font-size: 8px;
        padding: 2px 6px;
    }

    .dash-foot {
        padding: 10px 12px;
    }

    .dash-foot-label {
        font-size: 8px;
    }

    .brow {
        font-size: 9px;
    }

    .notify {
        font-size: 10px;
        padding: 8px 12px;
    }

    .notify-av {
        width: 22px;
        height: 22px;
    }

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

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

    .stack-logos {
        gap: 6px;
    }

    .stack-item {
        font-size: 10px;
        padding: 8px 14px;
    }
}

@media(max-width:540px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid .metric {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .metrics-grid .metric:last-child {
        border-bottom: none;
    }

    .hero-h {
        font-size: 32px;
    }

    .hero-pill {
        font-size: 9px;
    }

    .hero-sub {
        font-size: 14px;
    }

    .hero-right {
        max-width: 100%;
        padding: 0 4px;
    }

    .dash {
        margin: 0 auto;
        max-width: 100%;
        font-size: 10px;
    }

    .dash-bar {
        padding: 8px 10px;
    }

    .traff-dots span {
        width: 7px;
        height: 7px;
    }

    .dash-title {
        font-size: 8px;
    }

    .dash-live {
        font-size: 8px;
    }

    .dash-body {
        padding: 10px;
        gap: 5px;
    }

    .trow {
        padding: 6px 7px;
        font-size: 9px;
        gap: 7px;
    }

    .trow-ico {
        width: 14px;
    }

    .trow-ico svg {
        width: 10px;
        height: 10px;
    }

    .trow-name {
        font-size: 10px;
    }

    .trow-meta {
        font-size: 8px;
    }

    .trow-badge {
        font-size: 7px;
        padding: 2px 5px;
    }

    .dash-foot {
        padding: 8px 10px;
    }

    .dash-foot-label {
        font-size: 7px;
        margin-bottom: 8px;
    }

    .brows {
        gap: 5px;
    }

    .brow {
        font-size: 8px;
    }

    .brow span:last-child {
        min-width: 28px;
        font-size: 8px;
    }

    .notify {
        position: static;
        margin-top: 12px;
        padding: 7px 10px;
        font-size: 9px;
    }

    .notify-av {
        width: 20px;
        height: 20px;
    }

    .notify-av svg {
        width: 10px;
        height: 10px;
    }

    .notify-lbl {
        font-size: 8px;
    }

    .notify-msg {
        font-size: 9px;
    }

    .price-card {
        padding: 28px 20px;
    }

    .price-val {
        font-size: 36px;
    }

    .testi-card {
        padding: 28px 20px;
    }

    .testi-q {
        font-size: 48px;
    }
}

/* Additional mobile optimizations */
@media(max-width:480px) {
    .hero-layout {
        padding: 0 16px;
    }

    .stack-slider::before,
    .stack-slider::after {
        width: 60px;
    }

    .bva-panel {
        padding: 24px 16px;
    }

    .bva-row {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .bva-icon {
        width: 18px;
        height: 18px;
    }

    .cap-card {
        padding: 24px 20px;
    }

    .cap-num {
        font-size: 20px;
    }

    .work-step-content h3 {
        font-size: 18px;
    }

    .tech-cat {
        padding: 20px 16px;
    }

    .proj-type {
        padding: 20px 16px;
    }

    .proj-type-label {
        font-size: 16px;
    }
}


/* ── Capabilities Grid ── */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.cap-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 32px 28px;
    transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--a1), transparent);
    transition: left .5s ease;
}

.cap-card:hover::before {
    left: 100%;
}

.cap-card:hover {
    border-color: var(--border-a);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.cap-num {
    font-family: 'Space Mono', monospace;
    font-size: 24px;
    color: var(--a1);
    margin-bottom: 16px;
    font-weight: 700;
}

.cap-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 10px;
    font-family: 'Syne', sans-serif;
}

.cap-card p {
    font-size: 13.5px;
    color: var(--t2);
    line-height: 1.65;
    margin-bottom: 18px;
}

.cap-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cap-tech span {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: .04em;
    color: var(--t3);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 3px 9px;
    border-radius: 4px;
    transition: all .2s;
}

.cap-card:hover .cap-tech span {
    border-color: var(--border-a);
    color: var(--a1);
}

/* ── Project Types ── */
.proj-types {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    background: var(--bg-3);
}

.proj-type {
    padding: 32px 40px;
    border-bottom: 1px solid var(--border);
    transition: all .3s ease;
    position: relative;
}

.proj-type:last-child {
    border-bottom: none;
}

.proj-type::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--a1);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
}

.proj-type:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.proj-type:hover {
    background: rgba(13, 242, 196, 0.02);
}

.proj-type-label {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 10px;
    transition: color .3s;
}

.proj-type:hover .proj-type-label {
    color: var(--a1);
}

.proj-type-desc {
    font-size: 14px;
    color: var(--t2);
    line-height: 1.7;
    margin-bottom: 12px;
    max-width: 720px;
}

.proj-type-time {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--t3);
    letter-spacing: .04em;
}

/* ── Responsive ── */
@media(max-width:1024px) {
    .cap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:640px) {
    .cap-grid {
        grid-template-columns: 1fr;
    }
    
    .proj-type {
        padding: 24px 28px;
    }
    
    .proj-type-label {
        font-size: 18px;
    }
}


/* ── How We Work ── */
.work-flow {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.work-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    align-items: start;
    position: relative;
}

.work-step-num {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-4);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--a1);
    transition: all .35s ease;
    position: relative;
    z-index: 2;
}

.work-step:hover .work-step-num {
    border-color: var(--a1);
    background: rgba(13, 242, 196, 0.08);
    transform: scale(1.08);
}

.work-step-content {
    padding: 12px 0 0;
}

.work-step-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 10px;
    font-family: 'Syne', sans-serif;
}

.work-step-content p {
    font-size: 14px;
    color: var(--t2);
    line-height: 1.7;
    margin-bottom: 14px;
}

.work-deliverable {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--a1);
    background: rgba(13, 242, 196, 0.05);
    border: 1px solid var(--a1-border);
    padding: 8px 14px;
    border-radius: 6px;
    display: inline-block;
}

.work-connector {
    width: 2px;
    height: 48px;
    background: linear-gradient(180deg, var(--border), transparent);
    margin: 0 0 0 39px;
    position: relative;
}

.work-connector::before {
    content: '';
    position: absolute;
    top: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    background: var(--a1);
    border-radius: 50%;
    opacity: 0.3;
}

@media(max-width:768px) {
    .work-step {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }
    
    .work-step-num {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .work-connector {
        margin-left: 29px;
        height: 32px;
    }
    
    .work-step-content h3 {
        font-size: 18px;
    }
}


/* ── Tech Categories ── */
.tech-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.tech-cat {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 32px;
    transition: all .3s ease;
}

.tech-cat:hover {
    border-color: var(--border-a);
    background: var(--bg-4);
}

.tech-cat-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.tech-cat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(13, 242, 196, 0.06);
    border: 1px solid var(--a1-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tech-cat-icon svg {
    width: 22px;
    height: 22px;
    color: var(--a1);
}

.tech-cat h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--t1);
    font-family: 'Syne', sans-serif;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-list span {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--t2);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 6px;
    transition: all .2s;
}

.tech-cat:hover .tech-list span {
    border-color: var(--border-2);
}

.tech-list span:hover {
    color: var(--a1);
    border-color: var(--a1-border);
    background: rgba(13, 242, 196, 0.05);
}

@media(max-width:768px) {
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .tech-cat {
        padding: 24px;
    }
}


/* ── Pricing Info Box ── */
.pricing-info-box {
  max-width: 800px;
  margin: 48px auto 0;
  padding: 28px 36px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  text-align: center;
}

.pib-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 18px;
}

.pib-factors {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.pib-factors span {
  font-size: 13px;
  color: var(--t2);
  position: relative;
  padding: 0 12px;
}

.pib-factors span:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -8px;
  color: var(--t3);
}

@media(max-width:768px) {
  .pricing-info-box {
    padding: 20px 24px;
  }
  
  .pib-factors {
    flex-direction: column;
    gap: 8px;
  }
  
  .pib-factors span::after {
    display: none;
  }
}
