@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #07111f;
    --panel: rgba(13, 30, 52, .72);
    --panel-strong: #0e2745;
    --line: rgba(157, 203, 255, .14);
    --text: #eff7ff;
    --muted: #9ab0c6;
    --blue: #44a8ff;
    --blue-bright: #7bc6ff;
    --cyan: #5fe2e8;
    --shadow: 0 24px 80px rgba(0, 0, 0, .24);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: var(--bg);
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.page-glow { position: fixed; width: 38rem; height: 38rem; border-radius: 50%; pointer-events: none; filter: blur(20px); opacity: .18; }
.glow-one { top: -20rem; left: -10rem; background: #0f65bf; }
.glow-two { right: -18rem; bottom: -20rem; background: #157d96; }

.shell { width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 30px; position: relative; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 76px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--text); text-decoration: none; }
.brand-mark { display: flex; gap: 3px; align-items: flex-end; width: 31px; height: 30px; padding: 5px; border: 1px solid rgba(104, 193, 255, .42); border-radius: 10px; background: rgba(67, 157, 239, .13); box-shadow: inset 0 0 20px rgba(56, 160, 255, .1); }
.brand-mark span { display: block; width: 5px; border-radius: 4px; background: linear-gradient(to top, var(--blue), var(--cyan)); }
.brand-mark span:nth-child(1) { height: 10px; opacity: .7; }
.brand-mark span:nth-child(2) { height: 16px; }
.brand-mark span:nth-child(3) { height: 21px; opacity: .86; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 16px; letter-spacing: .14em; font-weight: 700; }
.brand-copy small { color: var(--muted); font-family: Manrope, sans-serif; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.admin-link { color: var(--muted); font-size: 12px; text-decoration: none; transition: color .2s ease; }
.admin-link span { margin-left: 4px; font-family: Manrope, sans-serif; color: var(--blue-bright); }
.admin-link:hover { color: var(--text); }

.hero { max-width: 700px; margin-bottom: 52px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--blue-bright); font: 700 10px Manrope, sans-serif; letter-spacing: .24em; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
h1 { margin: 18px 0 12px; font-size: clamp(29px, 4vw, 45px); line-height: 1.34; letter-spacing: -.045em; font-weight: 700; }
.hero p { margin: 0; color: var(--muted); font-size: 14px; letter-spacing: .03em; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.product-card { min-height: 168px; display: flex; position: relative; flex-direction: column; justify-content: space-between; padding: 25px 25px 22px; border: 1px solid var(--line); border-radius: 18px; color: var(--text); background: linear-gradient(145deg, rgba(22, 51, 82, .82), rgba(8, 24, 43, .84)); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .035); text-decoration: none; overflow: hidden; transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease; }
.product-card::after { content: ''; position: absolute; width: 130px; height: 130px; right: -58px; bottom: -66px; border-radius: 50%; border: 1px solid rgba(84, 175, 255, .09); box-shadow: 0 0 0 14px rgba(84, 175, 255, .025), 0 0 0 29px rgba(84, 175, 255, .02); }
.product-card:hover { transform: translateY(-5px); border-color: rgba(91, 184, 255, .48); background: linear-gradient(145deg, rgba(25, 66, 107, .9), rgba(8, 28, 50, .94)); box-shadow: 0 28px 90px rgba(0, 0, 0, .35), 0 8px 30px rgba(20, 126, 220, .1), inset 0 1px 0 rgba(255, 255, 255, .06); }
.product-card.is-disabled { opacity: .58; background: linear-gradient(145deg, rgba(18, 38, 63, .63), rgba(8, 21, 37, .65)); }
.product-card.is-disabled::after { opacity: .4; }
.card-icon { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(110, 197, 255, .2); border-radius: 13px; background: rgba(53, 148, 230, .12); color: var(--blue-bright); }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-icon.has-image { padding: 0; overflow: hidden; background: rgba(255, 255, 255, .08); }.card-icon.has-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.card-icon.douyin { color: #75ddff; }
.card-icon.kuaishou { color: #72ceff; }
.card-icon.xiaohongshu { color: #ff8eb3; }
.card-icon.video { color: #68e1d2; }
.card-icon.business { color: #7bb6ff; }
.card-icon.more { color: #a5b8cb; }
.card-content { display: grid; gap: 4px; margin-top: 20px; }
.card-content strong { font-size: 17px; font-weight: 600; letter-spacing: .01em; }
.card-content span { color: var(--blue-bright); font-size: 12px; }
.card-content small { color: #7791a9; font-size: 11px; }
.card-arrow { position: absolute; top: 25px; right: 25px; color: #7aa3c8; font: 18px Manrope, sans-serif; transition: transform .2s ease, color .2s ease; }
.product-card:hover .card-arrow { color: var(--blue-bright); transform: translate(2px, -2px); }

.site-footer { display: flex; align-items: center; gap: 14px; margin-top: 63px; color: #617990; font: 11px Manrope, 'Noto Sans SC', sans-serif; letter-spacing: .05em; }
.footer-line { width: 34px; height: 1px; background: #2b4863; }
.install-hint { margin: 25px 0 0; padding: 12px 16px; border: 1px solid rgba(255, 196, 98, .22); border-radius: 10px; color: #c9a86c; background: rgba(75, 57, 22, .22); font-size: 12px; }
code { font-family: Consolas, monospace; }

.contact-trigger { position: fixed; right: 28px; bottom: 28px; z-index: 10; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(100, 200, 255, .36); border-radius: 999px; padding: 11px 16px 11px 12px; color: #eaf8ff; background: rgba(22, 65, 101, .88); box-shadow: 0 12px 32px rgba(0, 0, 0, .3), 0 0 24px rgba(52, 169, 236, .1); backdrop-filter: blur(16px); font: 600 12px 'Noto Sans SC', sans-serif; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.contact-trigger:hover { transform: translateY(-3px); border-color: rgba(111, 216, 255, .7); background: rgba(27, 83, 126, .94); }
.contact-trigger-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #061a2a; background: linear-gradient(145deg, var(--cyan), var(--blue)); font-size: 12px; }
.modal-open { overflow: hidden; }
.contact-modal[hidden] { display: none; }
.contact-modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px; }
.contact-backdrop { position: absolute; inset: 0; background: rgba(2, 9, 18, .72); backdrop-filter: blur(8px); }
.contact-dialog { width: min(390px, 100%); position: relative; padding: 30px; border: 1px solid rgba(132, 209, 255, .22); border-radius: 18px; background: linear-gradient(145deg, #102e4d, #091a2d); box-shadow: 0 30px 100px rgba(0, 0, 0, .5); animation: dialog-in .2s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.contact-close { position: absolute; top: 14px; right: 16px; border: 0; color: #89a9c2; background: transparent; font-size: 25px; line-height: 1; cursor: pointer; }.contact-close:hover { color: white; }
.contact-dialog h2 { margin: 12px 0 7px; font-size: 24px; letter-spacing: -.04em; }.contact-description { margin: 0 0 21px; color: var(--muted); font-size: 12px; }
.contact-methods { display: grid; gap: 9px; }.contact-method { width: 100%; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(156, 205, 255, .12); border-radius: 10px; padding: 10px 12px; color: var(--text); background: rgba(5, 20, 36, .45); text-align: left; cursor: pointer; }.contact-method:hover { border-color: rgba(100, 200, 255, .42); background: rgba(27, 75, 112, .45); }.contact-method > span:nth-child(2) { display: grid; gap: 2px; flex: 1; }.contact-method small { color: #88a6bf; font-size: 10px; }.contact-method strong { font-size: 13px; font-weight: 500; }.contact-method b { color: var(--blue-bright); font-size: 10px; font-weight: 500; }
.contact-method-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; font: 700 15px Manrope, sans-serif; }.wechat-icon { color: #051b1c; background: #72ded5; }.qq-icon { color: #10213e; background: #86b9ff; }
.qr-block { display: grid; justify-items: center; gap: 10px; margin-top: 19px; padding-top: 19px; border-top: 1px solid rgba(156, 205, 255, .1); color: #9db8ce; font-size: 11px; }.qr-block img { display: block; width: 150px; height: 150px; padding: 8px; border-radius: 10px; background: white; object-fit: contain; }.qr-empty { margin-top: 19px; padding-top: 19px; border-top: 1px solid rgba(156, 205, 255, .1); color: #849db3; font-size: 11px; line-height: 1.8; text-align: center; }.qr-empty small { color: #617990; font-size: 10px; }
.add-contact-button { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 19px; border: 1px solid rgba(91, 190, 255, .35); border-radius: 9px; padding: 11px 14px; color: #eaf8ff; background: rgba(48, 143, 213, .18); font-size: 12px; text-decoration: none; transition: border-color .2s ease, background .2s ease, transform .2s ease; }.add-contact-button:hover { transform: translateY(-2px); border-color: rgba(112, 215, 255, .7); background: rgba(48, 143, 213, .32); }.add-contact-button span { color: var(--blue-bright); font-family: Manrope, sans-serif; }

@media (max-width: 820px) {
    .site-header { padding-bottom: 56px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .shell { width: min(100% - 32px, 420px); padding-top: 24px; }
    .site-header { padding-bottom: 53px; }
    .brand-copy strong { font-size: 14px; }
    .admin-link { font-size: 11px; }
    .hero { margin-bottom: 34px; }
    h1 { font-size: 28px; }
    .hero p { font-size: 12px; }
    .product-grid { grid-template-columns: 1fr; gap: 12px; }
    .product-card { min-height: 145px; }
    .site-footer { margin-top: 43px; font-size: 10px; }
    .contact-trigger { right: 16px; bottom: 16px; }
    .contact-dialog { padding: 26px 21px; }
}
