:root {
    color-scheme: dark;
    --background: #07111f;
    --surface: rgba(18, 31, 49, 0.82);
    --surface-hover: rgba(24, 42, 65, 0.96);
    --border: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --accent: #60a5fa;
    --accent-soft: rgba(96, 165, 250, 0.14);
    --success: #34d399;
    --planned: #fbbf24;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--background);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Noto Sans TC",
        sans-serif;
    background:
        radial-gradient(circle at 15% 0%, rgba(37, 99, 235, 0.22), transparent 34rem),
        radial-gradient(circle at 90% 20%, rgba(14, 165, 233, 0.13), transparent 28rem),
        var(--background);
}

.page {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0 34px;
}

.hero {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 44px;
}

.brand-mark {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 22px;
    color: #dbeafe;
    font-size: 24px;
    font-weight: 750;
    letter-spacing: -1px;
    background:
        linear-gradient(145deg, rgba(37, 99, 235, 0.75), rgba(14, 165, 233, 0.2));
    box-shadow: 0 18px 50px rgba(2, 8, 23, 0.38);
}

.eyebrow {
    margin: 0 0 6px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

h1 {
    margin: 0;
    font-size: clamp(38px, 7vw, 58px);
    line-height: 1;
    letter-spacing: -0.045em;
}

.subtitle {
    margin: 11px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.systems {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.system-card {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 17px;
    min-height: 176px;
    padding: 25px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    color: inherit;
    text-decoration: none;
    background: var(--surface);
    box-shadow: 0 20px 55px rgba(2, 8, 23, 0.22);
    backdrop-filter: blur(18px);
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background 160ms ease;
}

.system-card:not(.disabled):hover {
    transform: translateY(-3px);
    border-color: rgba(96, 165, 250, 0.48);
    background: var(--surface-hover);
}

.system-card:not(.disabled):focus-visible {
    outline: 3px solid rgba(96, 165, 250, 0.7);
    outline-offset: 3px;
}

.icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(96, 165, 250, 0.28);
    border-radius: 16px;
    color: #bfdbfe;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: var(--accent-soft);
}

.content h2 {
    margin: 8px 0 7px;
    font-size: 21px;
    letter-spacing: -0.025em;
}

.content p {
    min-height: 42px;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.status::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    content: "";
}

.status.online {
    color: var(--success);
}

.status.online::before {
    background: var(--success);
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.75);
}

.status.planned {
    color: var(--planned);
}

.status.planned::before {
    background: var(--planned);
}

.domain {
    color: #cbd5e1;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
}

.arrow {
    color: var(--accent);
    font-size: 26px;
    transition: transform 160ms ease;
}

.system-card:hover .arrow {
    transform: translateX(4px);
}

.disabled {
    cursor: default;
    opacity: 0.58;
}

footer {
    margin-top: 34px;
    color: #64748b;
    text-align: center;
    font-size: 12px;
}

@media (max-width: 760px) {
    .page {
        width: min(100% - 28px, 580px);
        padding-top: 42px;
    }

    .hero {
        margin-bottom: 30px;
    }

    .brand-mark {
        width: 62px;
        height: 62px;
        border-radius: 19px;
    }

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

    .system-card {
        min-height: 158px;
        padding: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
