:root {
    --primary: #1f4f52;
    --primary-dark: #163a3d;
    --gold: #c9a45c;
    --bg: #f6f8f6;
    --text: #263333;
    --muted: #6d7c7a;
    --card: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
}

.page {
    min-height: 100vh;
    padding: 28px 16px 88px;
}

.container {
    max-width: 960px;
    margin: 0 auto;
}

.hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 24px;
    padding: 48px 42px;
    box-shadow: 0 18px 46px rgba(31, 79, 82, 0.22);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 15px;
    margin-bottom: 22px;
}

.brand-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold);
}

h1 {
    margin: 0;
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: 0.08em;
}

.subtitle {
    max-width: 660px;
    margin-top: 18px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.86);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

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

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.section {
    margin-top: 28px;
    background: var(--card);
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(31, 79, 82, 0.08);
}

.section h2 {
    margin: 0 0 16px;
    color: var(--primary-dark);
    font-size: 26px;
}

.section-desc {
    color: var(--muted);
    margin-bottom: 22px;
}

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

.card {
    padding: 22px 20px;
    border-radius: 18px;
    background: #f7faf8;
    border: 1px solid rgba(31, 79, 82, 0.1);
}

.card-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 79, 82, 0.1);
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 12px;
}

.card-title {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
    font-size: 17px;
}

.card-text {
    color: var(--muted);
    font-size: 15px;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.product {
    padding: 20px;
    border-radius: 18px;
    background: #f7faf8;
    border: 1px solid rgba(31, 79, 82, 0.1);
}

.product-clickable {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(31, 79, 82, 0.12);
}

.product-name {
    font-size: 19px;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 8px;
}

.product-desc {
    color: var(--muted);
    font-size: 15px;
}

.product-link {
    margin-top: 14px;
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
}

.notice {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #fffaf0;
    color: #725b25;
    font-size: 15px;
}

.footer {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-top: 28px;
    line-height: 1.8;
}

.footer-beian {
    margin-top: 8px;
}

.footer-beian a {
    color: #8a9896;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-beian a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 18px;
}

.modal {
    width: 100%;
    max-width: 360px;
    background: #fff;
    border-radius: 18px;
    padding: 28px 24px 22px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-title {
    font-size: 22px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-text {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.modal-btn {
    width: 100%;
    background: var(--primary);
    color: #fff;
}

@media (max-width: 768px) {
    .page {
        padding: 16px 12px 72px;
    }

    .hero {
        border-radius: 20px;
        padding: 36px 24px;
    }

    h1 {
        font-size: 34px;
    }

    .subtitle {
        font-size: 16px;
    }

    .section {
        border-radius: 18px;
        padding: 24px 18px;
    }

    .grid,
    .product-list {
        grid-template-columns: 1fr;
    }

    .actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
