:root {
    --bg: #06111b;
    --panel: rgba(8, 22, 36, 0.74);
    --panel-strong: #0d1d2d;
    --surface: #10263b;
    --surface-soft: rgba(18, 39, 60, 0.7);
    --line: rgba(126, 163, 195, 0.2);
    --text: #f4f8fc;
    --muted: #93abc2;
    --primary: #22c1a2;
    --primary-strong: #0f8c77;
    --accent: #62a8ff;
    --accent-soft: rgba(98, 168, 255, 0.16);
    --warning: #ffb04c;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --content-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Bahnschrift, "Aptos", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(34, 193, 162, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(98, 168, 255, 0.18), transparent 34%),
        linear-gradient(180deg, #07111b 0%, #081621 45%, #071019 100%);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
    opacity: 0.35;
}

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

.site-shell {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 32px), var(--content-width));
    margin: 0 auto;
    padding-bottom: 48px;
}

.topbar {
    position: sticky;
    top: 16px;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
    padding: 16px 22px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(4, 13, 21, 0.78);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(98, 168, 255, 0.16), rgba(34, 193, 162, 0.18));
    border: 1px solid rgba(98, 168, 255, 0.2);
}

.brand-mark svg {
    width: 24px;
    fill: var(--accent);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-copy strong {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.brand-copy span {
    font-size: 0.78rem;
    color: var(--muted);
}

.topnav {
    display: inline-flex;
    justify-content: center;
    gap: 24px;
    font-size: 0.95rem;
    color: var(--muted);
}

.topnav a,
.ghost-link,
.primary-link,
.btn {
    cursor: pointer;
}

.is-disabled {
    opacity: 0.72;
}

.topnav a:hover,
.ghost-link:hover {
    color: var(--text);
}

.topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.ghost-link,
.primary-link,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.ghost-link,
.btn-secondary {
    border: 1px solid var(--line);
    background: rgba(10, 22, 35, 0.55);
    color: var(--text);
}

.primary-link,
.btn-primary {
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--primary) 0%, #37d6bf 100%);
    color: #042218;
}

.ghost-link:hover,
.primary-link:hover,
.btn:hover {
    transform: translateY(-1px);
}

.hero,
.section,
.footer {
    animation: fadeUp 700ms ease both;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
    gap: 40px;
    padding: 88px 0 52px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(98, 168, 255, 0.18);
    background: rgba(98, 168, 255, 0.08);
    color: #d0e7ff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.proof-panel h2,
.contact-card h2 {
    margin: 18px 0 16px;
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.3rem);
    max-width: 11ch;
}

.hero h1 span {
    color: var(--accent);
}

.hero-lead,
.section-heading p,
.workflow-step p,
.benefit-card p,
.price-card p,
.faq-list p,
.contact-card p,
.proof-panel span,
.insight-card p,
.logos-band p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-lead {
    max-width: 62ch;
    font-size: 1.08rem;
}

.support-note {
    max-width: 62ch;
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.cta-row {
    display: flex;
    gap: 14px;
    margin: 28px 0 24px;
    flex-wrap: wrap;
}

.signal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.signal-list li {
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(7, 18, 29, 0.74);
    color: #d8e6f5;
    font-weight: 600;
}

.hero-visual {
    position: relative;
    display: grid;
    gap: 18px;
}

.visual-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(10, 24, 38, 0.95) 0%, rgba(8, 18, 30, 0.88) 100%);
    box-shadow: var(--shadow);
}

.main-screen {
    padding: 20px;
}

.screen-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.screen-bar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.screen-body {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
}

.screen-rail {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
}

.rail-pill {
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.rail-pill.active {
    background: linear-gradient(180deg, rgba(98, 168, 255, 0.45), rgba(34, 193, 162, 0.45));
}

.screen-workspace {
    padding: 22px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(98, 168, 255, 0.12), transparent 30%),
        rgba(255, 255, 255, 0.03);
}

.workspace-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
    margin-bottom: 26px;
}

.workspace-kicker,
.panel-kicker,
.plan-label,
.step-tag,
.card-index {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
}

.workspace-header strong,
.insight-card strong {
    display: block;
    font-size: 1.3rem;
    margin-top: 6px;
}

.workspace-badge,
.plan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(34, 193, 162, 0.15);
    color: #8cf0de;
    border: 1px solid rgba(34, 193, 162, 0.22);
    font-size: 0.82rem;
    font-weight: 700;
}

.workspace-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px 42px;
    align-items: center;
    justify-items: center;
    min-height: 230px;
    margin-bottom: 24px;
}

.component-node {
    position: relative;
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.component-node span {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 3px solid currentColor;
}

.component-node.source {
    color: var(--accent);
}

.component-node.switch {
    color: var(--warning);
}

.component-node.lamp {
    color: var(--primary);
}

.component-node.relay {
    color: #ff7c8d;
}

.wire {
    position: absolute;
    background: linear-gradient(90deg, rgba(98, 168, 255, 0.15), rgba(98, 168, 255, 0.7), rgba(34, 193, 162, 0.55));
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(98, 168, 255, 0.28);
}

.wire-h {
    height: 4px;
    width: 150px;
}

.wire-v {
    width: 4px;
    height: 148px;
}

.wire.top {
    top: 82px;
    left: calc(50% - 74px);
}

.wire.right {
    top: 84px;
    right: 104px;
}

.wire.bottom {
    bottom: 64px;
    left: calc(50% - 4px);
    width: 170px;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.stats-strip article {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-strip strong {
    display: block;
    font-size: 1.2rem;
}

.stats-strip span {
    color: var(--muted);
    font-size: 0.9rem;
}

.insight-card {
    padding: 22px 24px;
    width: min(380px, 82%);
    margin-left: auto;
    background:
        radial-gradient(circle at top right, rgba(34, 193, 162, 0.16), transparent 40%),
        linear-gradient(180deg, rgba(15, 30, 46, 0.95), rgba(10, 20, 32, 0.92));
}

.logos-band {
    margin: 10px 0 28px;
    padding: 18px 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(9, 18, 28, 0.55);
}

.section {
    padding: 58px 0;
}

.section-heading {
    margin-bottom: 26px;
}

.section-heading h2,
.proof-panel h2,
.contact-card h2 {
    font-size: clamp(2rem, 3.6vw, 3.4rem);
    max-width: 14ch;
}

.section-heading.split,
.proof-panel,
.contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 28px;
    align-items: end;
}

.benefit-grid,
.workflow-grid,
.pricing-grid,
.faq-list {
    display: grid;
    gap: 18px;
}

.benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-card,
.workflow-step,
.price-card,
.faq-list article,
.proof-panel,
.contact-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(9, 19, 30, 0.62);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

.benefit-card h3,
.workflow-step h3,
.price-card h3,
.faq-list h3 {
    margin: 20px 0 10px;
    font-size: 1.2rem;
}

.benefit-card.accent {
    background:
        radial-gradient(circle at top right, rgba(98, 168, 255, 0.16), transparent 38%),
        rgba(9, 19, 30, 0.72);
}

.workflow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
}

.price-card.featured {
    position: relative;
    background:
        linear-gradient(180deg, rgba(14, 33, 48, 0.94), rgba(10, 22, 33, 0.88)),
        rgba(9, 19, 30, 0.72);
    border-color: rgba(34, 193, 162, 0.32);
    transform: translateY(-8px);
}

.price-value {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: grid;
    gap: 12px;
    color: #d7e7f7;
}

.price-card li {
    padding-left: 18px;
    position: relative;
}

.price-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.proof-panel,
.contact-card {
    background:
        radial-gradient(circle at top right, rgba(98, 168, 255, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(12, 27, 41, 0.94), rgba(7, 16, 25, 0.88));
}

.proof-metrics {
    display: grid;
    gap: 14px;
}

.proof-metrics article {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-metrics strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.faq-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 26px 4px 8px;
    color: var(--muted);
    font-size: 0.95rem;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .topbar {
        grid-template-columns: 1fr;
        border-radius: 28px;
        justify-items: start;
    }

    .topnav,
    .topbar-actions {
        flex-wrap: wrap;
    }

    .hero,
    .section-heading.split,
    .proof-panel,
    .contact-card,
    .benefit-grid,
    .workflow-grid,
    .pricing-grid,
    .faq-list {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 56px;
    }

    .hero-visual {
        order: -1;
    }

    .insight-card {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .site-shell {
        width: min(calc(100% - 18px), var(--content-width));
    }

    .topbar {
        top: 8px;
        padding: 14px 16px;
    }

    .topnav {
        gap: 14px;
        font-size: 0.9rem;
    }

    .hero {
        gap: 28px;
        padding: 40px 0 28px;
    }

    .main-screen,
    .benefit-card,
    .workflow-step,
    .price-card,
    .faq-list article,
    .proof-panel,
    .contact-card {
        padding: 18px;
    }

    .screen-body {
        grid-template-columns: 1fr;
    }

    .screen-rail {
        flex-direction: row;
        padding: 10px;
    }

    .rail-pill {
        flex: 1;
    }

    .screen-workspace {
        padding: 18px;
    }

    .workspace-header {
        flex-direction: column;
    }

    .workspace-grid {
        min-height: 210px;
        gap: 26px;
    }

    .component-node {
        width: 68px;
        height: 68px;
        border-radius: 20px;
    }

    .component-node span {
        width: 28px;
        height: 28px;
    }

    .wire-h {
        width: 104px;
    }

    .wire.top {
        left: calc(50% - 54px);
    }

    .wire.right {
        right: 80px;
        height: 126px;
    }

    .wire.bottom {
        width: 114px;
        bottom: 64px;
        left: calc(50% + 6px);
    }

    .stats-strip {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
        padding-top: 18px;
    }
}
