@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap");

:root {
    --bg-main: #0a0f1e;
    --bg-card: #0d1428;
    --bg-card-strong: #101a32;
    --bg-soft: rgba(255, 255, 255, 0.02);
    --bg-soft-hover: rgba(255, 255, 255, 0.045);
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text-primary: rgba(255, 255, 255, 0.96);
    --text-secondary: rgba(255, 255, 255, 0.54);
    --text-tertiary: rgba(255, 255, 255, 0.32);
    --accent-blue: #4a90d9;
    --accent-blue-strong: #2d7fd6;
    --success: #34d399;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-card: 0 20px 55px rgba(0, 0, 0, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(1100px 640px at 0% -10%, rgba(74, 144, 217, 0.16), transparent 60%),
        radial-gradient(900px 500px at 105% 0%, rgba(52, 211, 153, 0.08), transparent 55%),
        linear-gradient(160deg, #070b16, var(--bg-main) 38%, #0b1224);
    color: var(--text-primary);
    font-family: "Manrope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: 0;
    pointer-events: none;
    border-radius: 999px;
}

body::before {
    inset: auto 6% 8% auto;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.22), transparent 72%);
}

body::after {
    inset: 8% auto auto 4%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.12), transparent 72%);
}

a {
    color: inherit;
}

.site-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 40px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    margin-bottom: 20px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
        var(--bg-card);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(6px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #eff6ff;
    font-weight: 800;
    background: linear-gradient(165deg, rgba(74, 144, 217, 0.95), rgba(60, 127, 197, 0.95));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong {
    font-size: 0.96rem;
}

.brand-text span {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-nav a {
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

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

.site-nav a.active {
    color: #dbeafe;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border-subtle);
    background: var(--bg-soft);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 10px 14px;
    font: inherit;
}

.hero,
.signal-strip,
.two-up,
.audience-grid,
.feature-grid,
.workflow-grid,
.page-link-grid,
.callout {
    display: grid;
    gap: 20px;
}

.hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    margin-bottom: 22px;
}

.hero.hero-clean {
    grid-template-columns: 1fr;
}

.hero-copy,
.hero-panel,
.panel,
.signal-card,
.workflow-step,
.route-card,
.narrative-panel,
.callout {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%),
        var(--bg-card);
    box-shadow: var(--shadow-card);
}

.hero-copy {
    padding: 34px;
}

.hero-panel,
.panel,
.signal-card,
.workflow-step,
.narrative-panel {
    padding: 24px;
}

.eyebrow,
.section-label,
.signal-kicker {
    display: inline-block;
    margin: 0 0 12px;
    color: var(--accent-blue);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.panel h2,
.callout h2 {
    margin: 0;
    line-height: 1.02;
}

.hero h1 {
    max-width: 15ch;
    font-size: clamp(2.7rem, 6vw, 4.9rem);
}

.section-heading h2,
.panel h2,
.callout h2 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.hero-text,
.hero-panel p,
.panel p,
.signal-card p,
.workflow-step p,
.site-footer p,
.compact-list li {
    color: var(--text-secondary);
    font-size: 0.98rem;
}

.hero-text {
    max-width: 58ch;
    margin: 20px 0 0;
}

.hero-actions,
.callout-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    font-size: 0.81rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    border-color: var(--border-strong);
}

.btn-primary {
    color: #ecf5ff;
    border-color: rgba(74, 144, 217, 0.55);
    background: linear-gradient(165deg, rgba(74, 144, 217, 0.9), rgba(45, 127, 214, 0.9));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.86);
}

.hero-panel {
    background:
        radial-gradient(circle at top right, rgba(52, 211, 153, 0.1), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        var(--bg-card-strong);
}

.hero-panel h2 {
    margin: 0 0 16px;
    font-size: 1.65rem;
    line-height: 1.12;
}

.compact-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
}

.section {
    margin-top: 22px;
}

.mission-inline {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    max-width: 760px;
    margin-top: 24px;
    padding: 16px 0 0;
    border-top: 1px solid var(--border-subtle);
}

.mission-inline span,
.inline-note span {
    color: var(--accent-blue);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mission-inline p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.96rem;
}

.page-hero {
    max-width: 900px;
    padding: 48px 0 28px;
}

.page-hero h1 {
    max-width: 18ch;
    margin: 0;
    font-size: clamp(2rem, 4.4vw, 3.8rem);
    line-height: 1.04;
}

.page-hero p:last-child {
    max-width: 68ch;
    margin: 22px 0 0;
    color: var(--text-secondary);
    font-size: 1.08rem;
}

.demo-video {
    display: block;
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    background: #000;
}

.media-frame {
    padding: 18px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%),
        var(--bg-card);
    box-shadow: var(--shadow-card);
}

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

.route-card {
    min-height: 210px;
    padding: 22px;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.route-card:hover {
    transform: translateY(-2px);
    border-color: rgba(74, 144, 217, 0.45);
    background:
        linear-gradient(180deg, rgba(74, 144, 217, 0.08), transparent 40%),
        var(--bg-card);
}

.route-card span {
    display: block;
    margin-bottom: 30px;
    color: var(--accent-blue);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.route-card strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.15rem;
    line-height: 1.2;
}

.route-card p {
    margin: 12px 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.apartment-flow-section {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: calc(var(--radius-xl) + 8px);
    border: 1px solid var(--border-subtle);
    background:
        radial-gradient(circle at 12% 0%, rgba(74, 144, 217, 0.18), transparent 34%),
        radial-gradient(circle at 96% 12%, rgba(52, 211, 153, 0.1), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
        var(--bg-card-strong);
    box-shadow: var(--shadow-card);
}

.apartment-flow-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, black, transparent 80%);
    opacity: 0.4;
}

.apartment-flow-heading,
.flow-summary,
.apartment-flow-visual {
    position: relative;
    z-index: 1;
}

.apartment-flow-heading {
    max-width: 780px;
}

.apartment-flow-heading p:last-child {
    margin: 16px 0 0;
    color: var(--text-secondary);
}

.flow-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 22px 0 24px;
}

.flow-summary span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.76rem;
    font-weight: 700;
}

.flow-summary span:not(:last-child)::after {
    content: "→";
    color: var(--accent-blue);
    opacity: 0.9;
}

.apartment-flow-visual {
    display: grid;
    grid-template-columns: 1fr 28px 1fr 28px 1.15fr 28px 0.95fr 28px 1.28fr;
    align-items: stretch;
    gap: 0;
}

.flow-step-card {
    position: relative;
    overflow: hidden;
    min-height: 342px;
    padding: 16px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
        rgba(8, 14, 28, 0.76);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.flow-step-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.58), transparent);
}

.flow-step-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.flow-step-meta span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 42px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(74, 144, 217, 0.38);
    background: rgba(74, 144, 217, 0.14);
    color: #bfdbfe;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.flow-step-meta strong {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.64rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: right;
}

.flow-step-card > p {
    margin: 14px 0 0;
    color: var(--text-secondary);
    font-size: 0.86rem;
}

.mini-scene {
    position: relative;
    overflow: hidden;
    min-height: 196px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
        rgba(0, 0, 0, 0.18);
}

.flow-connector {
    position: relative;
    align-self: center;
    height: 1px;
    margin: 0 6px;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 217, 0.72), transparent);
}

.flow-connector::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 1px solid rgba(125, 211, 252, 0.9);
    border-right: 1px solid rgba(125, 211, 252, 0.9);
    transform: translateY(-50%) rotate(45deg);
}

.vehicle-scene {
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.garage-outline {
    position: absolute;
    right: 18px;
    bottom: 32px;
    width: 78px;
    height: 96px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.garage-outline span {
    position: absolute;
    bottom: 0;
    width: 1px;
    height: 72px;
    background: rgba(255, 255, 255, 0.1);
}

.garage-outline span:first-child {
    left: 24px;
}

.garage-outline span:last-child {
    right: 24px;
}

.road-line {
    position: absolute;
    inset: auto 16px 26px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.animated-car {
    position: absolute;
    left: 17px;
    bottom: 42px;
    width: 82px;
    height: 36px;
    animation: car-approach 4.8s ease-in-out infinite;
}

.car-body,
.car-roof,
.car-wheel,
.rfid-tag {
    position: absolute;
    display: block;
}

.car-body {
    inset: 14px 0 5px;
    border-radius: 16px 18px 9px 9px;
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.95), rgba(125, 211, 252, 0.72));
    box-shadow: 0 0 22px rgba(74, 144, 217, 0.22);
}

.car-roof {
    left: 18px;
    top: 0;
    width: 40px;
    height: 21px;
    border-radius: 18px 18px 4px 4px;
    background: rgba(148, 206, 255, 0.72);
}

.car-wheel {
    bottom: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #050816;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.wheel-left {
    left: 13px;
}

.wheel-right {
    right: 14px;
}

.rfid-tag {
    right: 18px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 4px;
    border: 1px solid rgba(207, 250, 254, 0.85);
    background: rgba(34, 211, 238, 0.32);
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.8);
}

.scan-scene {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
}

.reader-tower {
    position: relative;
    width: 56px;
    height: 96px;
    border-radius: 18px;
    border: 1px solid rgba(125, 211, 252, 0.26);
    background:
        radial-gradient(circle at 50% 24%, rgba(125, 211, 252, 0.4), transparent 18%),
        linear-gradient(180deg, rgba(34, 211, 238, 0.16), rgba(34, 211, 238, 0.05));
    box-shadow: 0 0 26px rgba(34, 211, 238, 0.08);
}

.reader-tower::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: rgba(125, 211, 252, 0.86);
    box-shadow: 0 0 22px rgba(125, 211, 252, 0.72);
}

.reader-tower span {
    position: absolute;
    left: 50%;
    bottom: -48px;
    width: 4px;
    height: 48px;
    transform: translateX(-50%);
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.15);
}

.signal-wave {
    position: absolute;
    left: 74px;
    top: 50%;
    width: 96px;
    height: 96px;
    border: 2px solid rgba(125, 211, 252, 0.48);
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    transform: translateY(-50%) rotate(45deg);
    animation: signal-pulse 2.2s ease-out infinite;
}

.wave-two {
    animation-delay: 0.65s;
}

.signal-beam {
    position: absolute;
    left: 90px;
    right: 60px;
    top: 51%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.98), rgba(125, 211, 252, 0.18));
    box-shadow: 0 0 18px rgba(125, 211, 252, 0.72);
    animation: beam-glow 1.6s ease-in-out infinite;
}

.scan-car {
    position: relative;
    width: 82px;
    height: 36px;
    margin-right: 2px;
}

.scan-car-body,
.scan-car-roof,
.scan-car-wheel,
.scan-car-tag {
    position: absolute;
    display: block;
}

.scan-car-body {
    inset: 14px 0 5px;
    border-radius: 16px 18px 9px 9px;
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.95), rgba(125, 211, 252, 0.72));
    box-shadow: 0 0 22px rgba(74, 144, 217, 0.26);
}

.scan-car-roof {
    left: 18px;
    top: 0;
    width: 40px;
    height: 21px;
    border-radius: 18px 18px 4px 4px;
    background: rgba(148, 206, 255, 0.72);
}

.scan-car-wheel {
    bottom: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #050816;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.scan-wheel-left {
    left: 13px;
}

.scan-wheel-right {
    right: 14px;
}

.scan-car-tag {
    right: 18px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 5px;
    background: rgba(34, 211, 238, 0.28);
    border: 1px solid rgba(207, 250, 254, 0.9);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.86);
}

.scan-car-tag::before,
.scan-car-tag::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 8px;
    border: 1px solid rgba(125, 211, 252, 0.28);
    animation: tag-pulse 1.8s ease-out infinite;
}

.scan-car-tag::after {
    animation-delay: 0.6s;
}

.validation-scene {
    padding: 15px;
}

.platform-node {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(74, 144, 217, 0.24);
    background: rgba(74, 144, 217, 0.1);
}

.cloud-icon {
    position: relative;
    width: 34px;
    height: 22px;
    border-radius: 999px;
    background: rgba(125, 211, 252, 0.8);
    box-shadow: 0 0 20px rgba(74, 144, 217, 0.42);
}

.cloud-icon::before,
.cloud-icon::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: inherit;
}

.cloud-icon::before {
    left: 7px;
    top: -8px;
    width: 17px;
    height: 17px;
}

.cloud-icon::after {
    right: 5px;
    top: -5px;
    width: 13px;
    height: 13px;
}

.platform-node strong {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.86rem;
}

.data-packet {
    --packet-distance: 110px;
    position: absolute;
    left: 13px;
    top: 68px;
    width: 46px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(74, 144, 217, 0), rgba(125, 211, 252, 0.95), rgba(74, 144, 217, 0));
    box-shadow: 0 0 18px rgba(125, 211, 252, 0.68);
    animation: packet-move 2.4s ease-in-out infinite;
}

.validation-list {
    position: relative;
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.validation-list li {
    position: relative;
    padding: 9px 10px 9px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    background: rgba(0, 0, 0, 0.14);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.76rem;
}

.validation-list li::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--success);
    border-bottom: 2px solid var(--success);
    transform: translateY(-60%) rotate(-45deg);
}

.approval-scene {
    padding: 18px;
}

.approved-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid rgba(52, 211, 153, 0.36);
    background: rgba(52, 211, 153, 0.12);
    color: #bbf7d0;
    font-size: 0.8rem;
    font-weight: 800;
}

.opening-gate {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 26px;
    height: 106px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.12);
}

.gate-post {
    position: absolute;
    left: 34px;
    bottom: 22px;
    width: 8px;
    height: 58px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.gate-arm {
    position: absolute;
    left: 38px;
    bottom: 76px;
    width: 128px;
    height: 8px;
    border-radius: 999px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(125, 211, 252, 0.92), rgba(255, 255, 255, 0.9));
    animation: gate-open 3.6s ease-in-out infinite;
}

.logged-scene {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
}

.entry-lane {
    position: relative;
    overflow: hidden;
    min-height: 82px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    background: rgba(0, 0, 0, 0.13);
}

.entry-lane::after {
    content: "";
    position: absolute;
    inset: auto 14px 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.entry-car {
    position: absolute;
    left: 18px;
    bottom: 31px;
    width: 54px;
    height: 27px;
    border-radius: 12px 14px 7px 7px;
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.95), rgba(125, 211, 252, 0.64));
    animation: entry-car 3.8s ease-in-out infinite;
}

.entry-gate {
    position: absolute;
    right: 24px;
    bottom: 27px;
    width: 4px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.entry-gate::after {
    content: "";
    position: absolute;
    right: 0;
    top: 3px;
    width: 54px;
    height: 5px;
    border-radius: 999px;
    transform-origin: right center;
    background: rgba(125, 211, 252, 0.86);
    animation: entry-gate 3.8s ease-in-out infinite;
}

.operator-dashboard {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 9, 19, 0.62);
}

.dashboard-header {
    display: flex;
    gap: 5px;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.dashboard-header span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.operator-dashboard dl {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 7px;
}

.operator-dashboard div:not(.dashboard-header) {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px;
    padding: 5px 7px;
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.64rem;
}

.operator-dashboard div:not(.dashboard-header):nth-child(odd) {
    background: rgba(255, 255, 255, 0.035);
}

.operator-dashboard dt,
.operator-dashboard dd {
    margin: 0;
}

.operator-dashboard dt {
    color: rgba(255, 255, 255, 0.38);
}

.operator-dashboard dd {
    color: rgba(255, 255, 255, 0.78);
    text-align: right;
    overflow-wrap: anywhere;
}

.operator-dashboard div:nth-child(4) dd {
    color: #86efac;
}

@keyframes car-approach {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(44px);
    }
}

@keyframes signal-pulse {
    0% {
        opacity: 0;
        transform: translateY(-50%) rotate(45deg) scale(0.64);
    }

    30% {
        opacity: 0.82;
    }

    100% {
        opacity: 0;
        transform: translateY(-50%) rotate(45deg) scale(1.35);
    }
}

@keyframes tag-pulse {
    0% {
        opacity: 0.82;
        transform: scale(0.72);
    }

    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@keyframes beam-glow {
    0%, 100% {
        opacity: 0.35;
        transform: scaleX(0.72);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes packet-move {
    0% {
        opacity: 0;
        transform: translateX(0);
    }

    25% {
        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(var(--packet-distance));
    }
}

@keyframes gate-open {
    0%, 18% {
        transform: rotate(0deg);
    }

    50%, 100% {
        transform: rotate(-23deg);
    }
}

@keyframes entry-car {
    0%, 18% {
        transform: translateX(0);
        opacity: 1;
    }

    70%, 100% {
        transform: translateX(84px);
        opacity: 0.55;
    }
}

@keyframes entry-gate {
    0%, 18% {
        transform: rotate(0deg);
    }

    52%, 100% {
        transform: rotate(28deg);
    }
}

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

.signal-card p {
    margin: 0;
}

.two-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-heading {
    max-width: 620px;
    margin-bottom: 16px;
}

.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.workflow-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

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

.narrative-panel {
    max-width: 980px;
}

.narrative-panel h2 {
    margin: 0;
    max-width: 18ch;
    font-size: clamp(1.9rem, 4vw, 3.3rem);
    line-height: 1.03;
}

.narrative-panel > p {
    max-width: 78ch;
    margin: 18px 0 0;
    color: var(--text-secondary);
}

.inline-note {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
}

.inline-note p {
    margin: 0;
    color: var(--text-secondary);
}

.spacious-list,
.feature-list,
.process-list,
.audience-detail {
    display: grid;
    gap: 12px;
}

.spacious-list article,
.feature-list article,
.process-list article,
.audience-detail article {
    border-top: 1px solid var(--border-subtle);
    padding: 22px 0;
}

.spacious-list article {
    display: grid;
    grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
    gap: 22px;
}

.spacious-list article span,
.feature-list article > span,
.process-list article > span {
    color: var(--accent-blue);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.spacious-list article p,
.feature-list article p,
.process-list article p,
.audience-detail article p {
    margin: 0;
    color: var(--text-secondary);
}

.feature-list article {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 18px;
}

.feature-list h2,
.process-list h2,
.audience-detail h2 {
    margin: 0 0 8px;
    color: var(--text-primary);
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.12;
}

.process-list article {
    display: grid;
    grid-template-columns: 70px minmax(180px, 0.35fr) minmax(0, 1fr);
    gap: 18px;
    align-items: baseline;
}

.audience-detail article {
    max-width: 820px;
}

.panel h3,
.workflow-step h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    color: var(--text-primary);
}

.panel-emphasis {
    background:
        radial-gradient(circle at top right, rgba(74, 144, 217, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
        var(--bg-card-strong);
}

.step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(74, 144, 217, 0.16);
    border: 1px solid rgba(74, 144, 217, 0.34);
    color: #bfdbfe;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.callout {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 28px;
    background:
        radial-gradient(circle at right top, rgba(52, 211, 153, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
        var(--bg-card-strong);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    padding: 0 4px;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 1080px) {
    .hero,
    .page-link-grid,
    .feature-grid,
    .workflow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hero h1 {
        max-width: none;
    }

    .page-hero h1 {
        max-width: none;
    }

    .apartment-flow-visual {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .flow-step-card-wide {
        grid-column: span 1;
    }

    .flow-connector {
        display: none;
    }
}

@media (max-width: 780px) {
    .site-shell {
        width: min(100% - 20px, 1180px);
    }

    .topbar {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 8px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .signal-strip,
    .two-up,
    .audience-grid,
    .feature-grid,
    .workflow-grid,
    .page-link-grid,
    .callout {
        grid-template-columns: 1fr;
    }

    .apartment-flow-section {
        padding: 20px;
    }

    .apartment-flow-visual {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 620px;
        margin-inline: auto;
    }

    .flow-connector {
        display: block;
        width: 1px;
        height: 28px;
        margin: 0 auto;
        background: linear-gradient(180deg, transparent, rgba(74, 144, 217, 0.72), transparent);
    }

    .flow-connector::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: -1px;
        transform: translateX(-50%) rotate(135deg);
    }

    .flow-step-card {
        min-height: 0;
    }

    .mini-scene {
        min-height: 210px;
    }

    .logged-scene {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .hero-panel,
    .panel,
    .signal-card,
    .workflow-step,
    .route-card,
    .narrative-panel,
    .callout {
        padding: 20px;
    }

    .page-hero {
        padding-top: 24px;
    }

    .spacious-list article,
    .feature-list article,
    .process-list article {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mission-inline,
    .inline-note {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .site-footer {
        flex-direction: column;
    }
}

@media (max-width: 540px) {
    .site-shell {
        width: min(100% - 16px, 1180px);
    }

    .hero-copy {
        padding: 22px 18px;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 14vw, 3.4rem);
    }

    .page-hero h1 {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .route-card {
        min-height: 0;
    }

    .btn {
        width: 100%;
    }

    .flow-summary span {
        width: 100%;
        justify-content: space-between;
    }

    .flow-summary span:not(:last-child)::after {
        content: "↓";
    }

    .flow-step-meta {
        display: grid;
    }

    .flow-step-meta strong {
        text-align: left;
    }

    .operator-dashboard div:not(.dashboard-header) {
        font-size: 0.72rem;
    }

    .apartment-flow-section {
        padding: 18px 14px;
    }

    .apartment-flow-visual {
        max-width: none;
    }

    .mini-scene {
        min-height: 178px;
    }

    .vehicle-scene,
    .scan-scene,
    .approval-scene {
        padding: 16px;
    }

    .animated-car,
    .scan-car {
        transform: scale(0.88);
        transform-origin: left bottom;
    }

    .garage-outline {
        right: 14px;
        width: 66px;
    }

    .reader-tower {
        transform: scale(0.9);
        transform-origin: left center;
    }

    .signal-wave {
        left: 66px;
        width: 82px;
        height: 82px;
    }

    .signal-beam {
        left: 78px;
        right: 48px;
    }

    .opening-gate {
        left: 18px;
        right: 18px;
        height: 92px;
    }

    .gate-arm {
        width: 104px;
    }

    .logged-scene {
        padding: 10px;
    }

    .entry-lane {
        min-height: 76px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
