:root {
    --brand-primary: #0d3b66;
    --brand-accent: #ff8c42;
    --brand-bg: #f7f8fb;
    --text-color: #1f2933;
    --muted: #617381;
    --max-width: 1120px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    color: var(--text-color);
    background: var(--brand-bg);
    line-height: 1.6;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.hero {
    background: radial-gradient(circle at top left, rgba(13, 59, 102, 0.9), var(--brand-primary));
    color: #fff;
    padding: 80px 24px;
}

.hero__content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.hero p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.85);
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.btn {
    border: none;
    background: var(--brand-accent);
    color: #fff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.2);
}

.btn--light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.main {
    padding: 64px 24px;
}

.intro,
.catalog,
.contact {
    max-width: var(--max-width);
    margin: 0 auto 64px;
    background: #fff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15, 22, 29, 0.04);
}

.intro h2,
.catalog h2,
.contact h2 {
    margin-top: 0;
    font-size: 1.9rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.features h3 {
    margin-bottom: 8px;
    color: var(--brand-primary);
}

.features p {
    margin: 0;
    color: var(--muted);
}

.catalog__frame {
    position: relative;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
}

.catalog__frame object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.contact__grid h3 {
    margin-bottom: 4px;
    color: var(--brand-primary);
}

.footer {
    text-align: center;
    padding: 32px 16px;
    color: var(--muted);
    font-size: 0.9rem;
}

.notice {
    position: fixed;
    inset: 0;
    background: rgba(14, 24, 40, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 50;
}

.notice[hidden] {
    display: none;
}

.notice__content {
    background: #fff;
    max-width: 420px;
    width: 100%;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(14, 24, 40, 0.25);
    text-align: center;
}

.notice__content h2 {
    margin-top: 0;
}

.notice__actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .hero {
        padding: 64px 20px;
    }

    .main {
        padding: 48px 16px;
    }

    .intro,
    .catalog,
    .contact {
        padding: 28px;
    }

    .catalog__frame {
        padding-top: 140%;
    }
}
