* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: #f8faff;
    color: #1a2c3e;
    line-height: 1.6;
    padding-bottom: 140px;
}

.header {
    background: linear-gradient(125deg, #0b2b44 0%, #1a3a5f 45%, #0f2c48 100%);
    color: white;
    padding: 20px 16px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 14px;
}
.header::before {
    content: "✨";
    position: absolute;
    font-size: 120px;
    right: -20px;
    top: -40px;
    opacity: 0.08;
    pointer-events: none;
}
.site-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}
.site-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.header-text {
    flex: 1;
}
.header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    line-height: 1.3;
}
.domain-text {
    font-size: 0.82rem;
    opacity: 0.92;
    margin: 3px 0;
}
.header-desc {
    font-size: 0.72rem;
    opacity: 0.8;
}

.breadcrumb {
    padding:12px 16px;
    font-size:13px;
    color:#666;
    background:#fff;
    margin:10px 16px;
    border-radius:12px;
}
.breadcrumb a {
    color:#1e6eb5;
    text-decoration:none;
}

.announcement-card {
    background: rgba(255,255,255,0.98);
    margin: 20px 16px;
    border-radius: 28px;
    padding: 18px 22px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(30,87,153,0.08);
    border-left: 5px solid #1e6eb5;
}
.ann-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: #c52828;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ann-title i {
    font-size: 1.2rem;
}
.ann-divider {
    border: none;
    border-top: 1.5px solid #eef2f8;
    margin: 12px 0;
}
.ann-body {
    font-size: 0.9rem;
    color: #2c3e4e;
    line-height: 1.65;
    font-weight: 500;
}

.content {
    padding: 0 16px;
}

.category-section {
    margin-bottom: 32px;
}
.category-title {
    font-size: 1.7rem;
    font-weight: 800;
    margin: 8px 0 4px 0;
    padding-left: 14px;
    position: relative;
    letter-spacing: -0.3px;
}
.category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 26px;
    background: linear-gradient(135deg, #1e6eb5, #235b8f);
    border-radius: 12px;
}
.category-subtitle {
    font-size: 0.85rem;
    color: #7893aa;
    margin-bottom: 18px;
    padding-left: 14px;
    font-weight: 500;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(162px, 1fr));
    gap: 14px;
}

.app-card {
    background: white;
    border-radius: 22px;
    padding: 12px 8px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: 1px solid rgba(30, 87, 153, 0.12);
    min-height: 180px;
    justify-content: space-between;
}
.app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 36px -12px rgba(30, 87, 153, 0.25);
    border-color: rgba(30, 110, 181, 0.3);
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    overflow: hidden;
    background: #f0f6fe;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.05);
}
.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.app-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2f3e;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.app-desc {
    font-size: 0.7rem;
    color: #8ba0b2;
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.app-btn {
    background: linear-gradient(95deg, #1e6eb5, #165a96);
    color: white;
    padding: 5px 16px;
    border-radius: 40px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 2px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    display: inline-block;
}

.faq-wrap {
    margin: 40px 16px;
}
.faq-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    padding-left: 14px;
    position: relative;
}
.faq-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 24px;
    background: linear-gradient(135deg, #1e6eb5, #235b8f);
    border-radius: 10px;
}
.faq-item {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    overflow: hidden;
}
.faq-q {
    font-weight: 700;
    font-size: 1rem;
    color: #0b2b44;
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-q i {
    transition: transform 0.3s ease;
    color: #1e6eb5;
}
.faq-q.open i {
    transform: rotate(180deg);
}
.faq-a {
    font-size: 0.92rem;
    color: #444;
    line-height: 1.6;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item.open .faq-a {
    padding: 0 20px 18px;
    max-height: 300px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 -8px 30px rgba(30, 87, 153, 0.12);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    z-index: 1200;
    border-top: 1px solid rgba(30, 110, 181, 0.2);
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #94a9bf;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 40px;
    gap: 5px;
    flex: 1;
}
.nav-item i {
    font-size: 1.6rem;
    margin-bottom: 3px;
}
.nav-item.active {
    color: #1e6eb5;
    background: rgba(30, 110, 181, 0.08);
}
.nav-cart i { color: #e53e3e; }
.nav-order i { color: #23a96c; }
.nav-service i { color: #f59e0b; }

.back-top {
    position: fixed;
    right: 20px;
    bottom: 115px;
    color: #1e6eb5;
    font-size: 28px;
    z-index: 1100;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.back-top.show {
    opacity: 1;
    visibility: visible;
}

footer {
    background:#0b2b44;
    margin-top:60px;
    padding:40px 18px 22px;
    color:#c9d8e8;
}
.foot-wrap {
    max-width:1100px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr;
    gap:32px;
}
.foot-block h3 {
    font-size:16px;
    margin-bottom:16px;
    color:#fff;
    border-left:4px solid #1e6eb5;
    padding-left:10px;
}
.foot-links {
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    row-gap:10px;
}
.foot-links a {
    color:#b4c8dd;
    font-size:14px;
    text-decoration:none;
}
.foot-list {
    list-style:none;
    padding-left:12px;
}
.foot-list li {
    margin-bottom:10px;
}
.foot-list a {
    color:#b4c8dd;
    font-size:14px;
    text-decoration:none;
}
.copyright {
    margin-top:36px;
    padding-top:20px;
    border-top:1px solid #1c3a57;
    text-align:center;
    font-size:13px;
    color:#89a0b8;
    line-height:1.7;
}

img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f4f9fe;
}

@media (max-width: 768px) {
    .app-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    .category-title {
        font-size: 1.5rem;
    }
    .app-icon {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }
    .app-card {
        padding: 10px 4px;
        min-height: 145px;
        gap: 4px;
        border-radius: 18px;
    }
    .app-name {
        font-size: 0.78rem;
    }
    .app-desc {
        font-size: 0.58rem;
    }
    .app-btn {
        font-size: 0.58rem;
        padding: 3px 10px;
    }
    .back-top {
        font-size: 24px;
        right: 16px;
    }
    .site-logo {
        width: 42px;
        height: 42px;
    }
    .header h1 {
        font-size: 1.2rem;
    }
}
@media (min-width: 768px) {
    .content {
        max-width: 1100px;
        margin: 0 auto;
    }
    .app-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
