* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: #1e2d47;
    background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 52%, #f9fbff 100%);
    overflow-x: hidden;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.bg-orb {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(70px);
    z-index: -1;
    opacity: 0.35;
}

.orb-1 {
    background: #38bdf8;
    top: -180px;
    left: -100px;
    animation: float-1 12s ease-in-out infinite;
}

.orb-2 {
    background: #c084fc;
    right: -180px;
    top: 120px;
    animation: float-2 13s ease-in-out infinite;
}

.orb-3 {
    background: #22d3ee;
    left: 35%;
    bottom: -220px;
    animation: float-2 14s ease-in-out infinite;
}

@keyframes float-1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 26px); }
}

@keyframes float-2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-28px, 20px); }
}

.site-header {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
    color: #1f2a44;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 99;
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #1e3a8a;
}

.brand-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.brand span {
    white-space: nowrap;
}

.main-nav {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.main-nav a {
    color: #334155;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 700;
    transition: 0.2s ease;
}

.main-nav a:hover {
    background: rgba(59, 130, 246, 0.1);
}

.main-nav a.active {
    color: #0f172a;
    background: rgba(56, 189, 248, 0.18);
}

.main-nav a.shop-btn {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.26);
}

.main-nav a.shop-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #0284c7);
}

.lang-select {
    border: 1px solid rgba(148, 163, 184, 0.55);
    border-radius: 8px;
    min-height: 36px;
    padding: 0 10px;
    background: #fff;
    color: #334155;
    font-weight: 700;
}

.lang-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

.hero {
    color: #1e293b;
    padding: 78px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid rgba(56, 189, 248, 0.45);
    background: rgba(56, 189, 248, 0.12);
    color: #0f4c81;
    font-size: 0.86rem;
    font-weight: 700;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.25;
    color: #0f172a;
}

.hero p {
    margin: 0 0 10px;
    max-width: 900px;
    font-size: 1.04rem;
    color: #334155;
}

.hero-note {
    color: #4b5563;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.27);
}

.btn-secondary {
    color: #0f4c81;
    border: 1px solid rgba(14, 165, 233, 0.5);
    background: rgba(14, 165, 233, 0.1);
}

.hero-panel {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.hero-panel h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #1e3a8a;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.stat-item {
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.86);
    border-radius: 12px;
    padding: 12px;
}

.stat-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: #2563eb;
}

.stat-label {
    margin-top: 2px;
    font-size: 0.9rem;
    color: #475569;
}

.section {
    padding: 60px 0;
}

.section h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 1.85rem;
    color: #0f172a;
}

.section-intro {
    margin-bottom: 20px;
    color: #475569;
}

.about-grid {
    display: grid;
    gap: 14px;
}

.about-grid p {
    margin: 0;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.8);
    color: #334155;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.6);
}

.card h3 {
    margin-top: 0;
    color: #0f172a;
}

.card p {
    color: #334155;
}

.card small {
    color: #2563eb;
    font-weight: 700;
}

.timeline {
    display: grid;
    gap: 14px;
}

.timeline-item {
    padding: 16px 18px 16px 22px;
    border-left: 4px solid #2563eb;
    border-radius: 0 12px 12px 0;
    background: rgba(255, 255, 255, 0.84);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    border-right: 1px solid rgba(148, 163, 184, 0.2);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.timeline-item h3 {
    margin: 0 0 4px;
    color: #0f172a;
}

.timeline-item p {
    margin: 0;
    color: #334155;
}

.section-soft {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0) 0%, rgba(191, 219, 254, 0.28) 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.benefits {
    padding-left: 20px;
    margin: 0;
    color: #334155;
}

.benefits li {
    margin: 8px 0;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 12px 14px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    color: #0f172a;
}

.faq-list p {
    margin: 10px 0 0;
    color: #334155;
}

.contact {
    background: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.contact p {
    color: #334155;
}

.cta {
    padding-top: 48px;
}

.cta-box {
    border: 1px solid rgba(14, 165, 233, 0.38);
    border-radius: 16px;
    padding: 26px 24px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(59, 130, 246, 0.18));
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.cta-box p {
    color: #334155;
}

.news-hero {
    padding-bottom: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.news-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.news-filter label {
    font-weight: 700;
}

.news-filter select {
    border: 1px solid rgba(148, 163, 184, 0.6);
    border-radius: 10px;
    min-height: 38px;
    padding: 0 10px;
    background: #fff;
    color: #0f172a;
}

.news-card {
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
    transition: 0.2s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.48);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #64748b;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.news-card h3 {
    margin: 0 0 8px;
    color: #0f172a;
    line-height: 1.35;
}

.news-link {
    color: #0f172a;
    text-decoration: none;
}

.news-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.news-card p {
    margin: 0;
    color: #334155;
}

.news-more {
    display: inline-block;
    margin-top: 12px;
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
}

.news-more:hover {
    text-decoration: underline;
}

.news-back {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 700;
}

.news-back:hover {
    text-decoration: underline;
}

.detail-meta {
    margin-bottom: 8px;
}

.news-detail-card {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
}

.news-detail-card h2 {
    margin-top: 0;
}

.news-detail-card p {
    margin: 12px 0 0;
    color: #334155;
}

.pager-row {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pager-text {
    font-weight: 700;
    color: #334155;
}

.tracking-section {
    padding-top: 24px;
}

.tracking-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
}

.tracking-card {
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
}

.tracking-form {
    display: flex;
    gap: 10px;
}

.tracking-input {
    flex: 1;
    border: 1px solid rgba(148, 163, 184, 0.6);
    border-radius: 10px;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.95rem;
    color: #0f172a;
    background: #fff;
}

.tracking-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.tracking-result-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
}

.tracking-result-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.tracking-status {
    color: #1d4ed8;
    font-weight: 800;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.docs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
}

.docs-sidebar {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
    height: fit-content;
}

.docs-sidebar h3 {
    margin: 0 0 10px;
    color: #0f172a;
}

.docs-cat-link,
.docs-sub-link {
    display: block;
    text-decoration: none;
    color: #334155;
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 6px;
}

.docs-sub-link {
    margin-left: 12px;
    font-size: 0.95rem;
}

.docs-category-panel {
    margin-bottom: 6px;
}

.docs-category-summary {
    list-style: none;
    cursor: pointer;
    color: #334155;
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 700;
}

.docs-category-summary:hover {
    background: rgba(59, 130, 246, 0.1);
}

.docs-category-summary::-webkit-details-marker {
    display: none;
}

.docs-title-link {
    display: block;
    text-decoration: none;
    color: #334155;
    padding: 7px 10px 7px 24px;
    border-radius: 8px;
    margin: 0 8px 4px 14px;
    font-size: 0.95rem;
}

.docs-title-link:hover {
    background: rgba(59, 130, 246, 0.1);
}

.docs-cat-link:hover,
.docs-sub-link:hover {
    background: rgba(59, 130, 246, 0.1);
}

.docs-cat-link.active,
.docs-sub-link.active {
    background: rgba(37, 99, 235, 0.16);
    color: #1d4ed8;
    font-weight: 700;
}

.docs-title-link.active {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
    font-weight: 700;
}

.docs-card {
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
}

.docs-card h3 {
    margin: 0 0 8px;
    color: #0f172a;
}

.docs-card p {
    margin: 0 0 10px;
    color: #334155;
}

.docs-content-html {
    margin: 0 0 10px;
    color: #334155;
    line-height: 1.7;
}

.docs-content-html img {
    max-width: 100%;
    border-radius: 10px;
    margin: 8px 0;
}

.docs-content-html iframe {
    width: 100%;
    min-height: 260px;
    border: 0;
    border-radius: 10px;
    margin: 8px 0;
}

.admin-form {
    display: grid;
    gap: 8px;
}

.admin-panels {
    display: grid;
    gap: 16px;
}

.category-manage-list {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.category-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto auto auto;
    gap: 8px;
    align-items: center;
}

.category-name-input {
    min-width: 0;
}

.admin-form label {
    font-weight: 700;
    color: #334155;
}

.admin-textarea {
    min-height: 100px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #0f172a;
    background: #fff;
}

.admin-textarea:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.rich-editor {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.rich-editor .ql-editor {
    min-height: 220px;
    font-size: 0.96rem;
}

.hidden-field {
    display: none;
}

.admin-msg {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 700;
}

.admin-msg.success {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.admin-msg.error {
    background: rgba(239, 68, 68, 0.12);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.site-footer {
    background: rgba(255, 255, 255, 0.84);
    color: #475569;
    padding: 18px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .nav-row {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .tracking-grid {
        grid-template-columns: 1fr;
    }

    .docs-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .main-nav {
        width: 100%;
        justify-content: center;
        order: 3;
    }

    .lang-select {
        min-height: 34px;
        font-size: 0.86rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .tracking-form {
        flex-direction: column;
    }

    .category-row {
        grid-template-columns: 1fr 1fr;
    }
}
