:root {
    --paper: #fbf8f0;
    --paper-2: #f5fbff;
    --ink: #101820;
    --muted: #5e6875;
    --blue: #1287d7;
    --blue-2: #7ed4ff;
    --line: rgba(16, 24, 32, .12);
    --shadow: 0 24px 70px rgba(12, 50, 82, .13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 10%, rgba(126, 212, 255, .32), transparent 34rem),
        linear-gradient(180deg, var(--paper), #ffffff 45%, var(--paper-2));
    font-family: "Geist", "Outfit", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

img {
    max-width: 100%;
    display: block;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    overflow-x: hidden;
}

.topbar {
    position: sticky;
    top: 18px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(18, 135, 215, .16);
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(18px);
    border-radius: 999px;
    box-shadow: 0 16px 45px rgba(18, 135, 215, .12);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    max-width: 260px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    padding: 10px 14px;
    border-radius: 999px;
    color: #26313c;
    font-size: 14px;
}

.nav-links a:hover {
    background: rgba(18, 135, 215, .1);
}

.hero {
    min-height: 760px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: 52px;
    padding: 86px 0 120px;
}

.eyebrow,
.section-heading span,
.intro-band span {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin: 18px 0 20px;
    font-size: clamp(48px, 6vw, 88px);
    line-height: .98;
    letter-spacing: 0;
}

.hero-desc {
    max-width: 620px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn,
.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid var(--line);
}

.btn.primary,
.icon-link {
    background: var(--ink);
    color: #fff;
}

.btn.ghost {
    background: #fff;
    color: var(--ink);
}

.hero-panel {
    min-height: 520px;
    position: relative;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.92), rgba(223,244,255,.68)),
        repeating-linear-gradient(90deg, transparent 0 38px, rgba(18,135,215,.06) 38px 39px);
    border: 1px solid rgba(18, 135, 215, .2);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.device-stage {
    position: absolute;
    inset: 34px;
}

.screen-card {
    position: absolute;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(16, 24, 32, .1);
    box-shadow: 0 18px 48px rgba(13, 60, 95, .14);
}

.screen-card span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
}

.screen-card strong {
    display: block;
    margin-top: 12px;
    font-size: 20px;
    line-height: 1.35;
}

.screen-card.phone {
    width: 48%;
    height: 68%;
    left: 0;
    top: 14%;
}

.screen-card.tv {
    width: 64%;
    height: 38%;
    right: 0;
    top: 0;
    background: #101820;
    color: #fff;
}

.screen-card.admin {
    width: 70%;
    right: 2%;
    bottom: 0;
}

.section-heading {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(34px, 4.5vw, 64px);
    line-height: 1.06;
}

.download-section,
.screens-section,
.capability,
.log-section {
    padding: 100px 0;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.download-item {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    background: rgba(255, 255, 255, .84);
}

.download-item p,
.download-item span {
    margin: 0;
    color: var(--muted);
}

.download-item h3 {
    margin: 12px 0;
    font-size: 26px;
}

.intro-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.intro-band div {
    padding: clamp(28px, 5vw, 56px);
    background: rgba(255, 255, 255, .72);
}

.intro-band p {
    margin: 16px 0 0;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.45;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-flow: dense;
    gap: 16px;
}

.showcase-card {
    min-height: 360px;
    grid-column: span 2;
    appearance: none;
    text-align: left;
    border: 1px solid rgba(18, 135, 215, .16);
    background: #fff;
    border-radius: 22px;
    padding: 12px;
    overflow: hidden;
    cursor: pointer;
    color: var(--ink);
    box-shadow: 0 16px 50px rgba(12, 50, 82, .08);
}

.showcase-card:nth-child(4n + 1) {
    grid-column: span 3;
}

.showcase-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform .7s ease;
}

.showcase-card:hover img {
    transform: scale(1.045);
}

.showcase-card span,
.showcase-card strong,
.showcase-card small {
    display: block;
    margin: 12px 8px 0;
}

.showcase-card span {
    color: var(--blue);
    font-weight: 900;
    font-size: 12px;
}

.showcase-card strong {
    font-size: 20px;
}

.showcase-card small {
    color: var(--muted);
    line-height: 1.7;
}

.capability-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.capability-col {
    padding: clamp(26px, 5vw, 50px);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .8);
    border-radius: 26px;
}

.capability-col.blue {
    background: #eaf8ff;
    border-color: rgba(18, 135, 215, .22);
}

.capability-col h3 {
    margin: 0 0 24px;
    font-size: 32px;
}

.capability-col article {
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.capability-col b {
    font-size: 20px;
}

.capability-col p,
.timeline p {
    color: var(--muted);
    line-height: 1.8;
}

.timeline {
    border-top: 1px solid var(--line);
}

.timeline-item {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 34px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.timeline-item time,
.timeline-item span {
    color: var(--blue);
    font-weight: 900;
}

.timeline-item h3 {
    margin: 8px 0;
    font-size: 28px;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 70px 0 54px;
}

.footer h2 {
    margin: 0;
    font-size: 40px;
}

.footer p {
    color: var(--muted);
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: flex-start;
    justify-content: flex-end;
}

.contact-links a {
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.empty-state {
    padding: 48px;
    border: 1px dashed rgba(18, 135, 215, .32);
    border-radius: 22px;
    color: var(--muted);
    background: rgba(255,255,255,.7);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(7, 14, 20, .78);
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-height: 88vh;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.lightbox button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #101820;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hero,
    .intro-band,
    .capability-columns {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 56px 0 86px;
    }

    .hero-panel {
        min-height: 430px;
    }

    .section-heading,
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

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

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

    .showcase-card,
    .showcase-card:nth-child(4n + 1) {
        grid-column: span 1;
    }
}

@media (max-width: 560px) {
    .page-shell {
        width: min(100% - 22px, 1180px);
    }

    .topbar {
        border-radius: 24px;
    }

    .brand small {
        max-width: 180px;
    }

    .hero h1 {
        font-size: clamp(40px, 12vw, 58px);
    }

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

    .footer {
        display: block;
    }

    .contact-links {
        justify-content: flex-start;
    }
}

