/**
 * 0711 Corporate Group Template - common.css
 * Design: Deep navy authority + gold accent elegance
 * Style: Clean, spacious, professional, group-level
 */

/* ============================================================
   1. Design Tokens
   ============================================================ */
:root {
    /* Brand Colors */
    --color-primary: #0E906B;
    --color-primary-light: #14B37A;
    --color-primary-dark: #0A6B50;
    --color-accent: #C5A572;
    --color-accent-light: #D9C19A;
    --color-accent-dark: #A88A52;

    /* Neutral Colors */
    --color-bg: #F7F8FA;
    --color-bg-white: #FFFFFF;
    --color-bg-alt: #EEF1F5;
    --color-text: #1A2332;
    --color-text-secondary: #5A6B7E;
    --color-text-muted: #94A3B0;
    --color-border: #E4E8EE;
    --color-border-light: #F0F2F6;

    /* Semantic */
    --color-footer-bg: #0A6B50;
    --color-footer-text: rgba(255,255,255,.55);

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows — subtle and refined */
    --shadow-xs: 0 1px 2px rgba(14,144,107,.04);
    --shadow-sm: 0 2px 8px rgba(14,144,107,.06);
    --shadow-md: 0 4px 16px rgba(14,144,107,.08);
    --shadow-lg: 0 8px 32px rgba(14,144,107,.10);
    --shadow-accent: 0 4px 14px rgba(197,165,114,.30);

    /* Layout */
    --header-main-height: 72px;
    --header-topbar-height: 38px;
    --header-with-topbar-height: calc(var(--header-main-height) + var(--header-topbar-height));
    --container-max: 1240px;

    /* Transitions */
    --tr: 0.3s cubic-bezier(0.4,0,0.2,1);
    --tr-fast: 0.2s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   2. Global Reset & Base
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: var(--color-primary); text-decoration: none; transition: color var(--tr-fast); }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Selection */
::selection { background: var(--color-accent); color: #fff; }

/* ============================================================
   3. Layout Utilities
   ============================================================ */
.container,
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   4. Top Bar
   ============================================================ */
.top-bar {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,.75);
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--header-topbar-height);
}
.top-bar-welcome {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: .02em;
}
.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.top-bar-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.78);
    white-space: nowrap;
    font-weight: 500;
    transition: color var(--tr-fast);
}
.top-bar-phone:hover { color: var(--color-accent); }
.top-bar .lang-switch-btn {
    border-color: rgba(255,255,255,.15);
    background: transparent;
    color: rgba(255,255,255,.78);
}
.top-bar .lang-switch-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.top-bar .lang-arrow { color: rgba(255,255,255,.5); }
.top-bar .lang-dropdown { top: calc(100% + 6px); }

@media (max-width: 768px) {
    .top-bar-inner { padding: 0 16px; font-size: 12px; }
    .top-bar-phone { display: none; }
}

/* ============================================================
   5. Header
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border-light);
    transition: box-shadow var(--tr), border-color var(--tr);
}
.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--color-border);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-main-height);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    gap: 28px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.header-logo .logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: .01em;
    line-height: 1.2;
}
.header-logo .logo-text .logo-sub {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-top: 2px;
}
.header-logo .logo-img {
    max-height: 40px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.header-logo .logo-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: .02em;
    line-height: 1.2;
    white-space: nowrap;
}

/* Desktop Nav */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.nav-wrap {
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav-item {
    position: relative;
}
.nav-item::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    height: 10px;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    white-space: nowrap;
    transition: color var(--tr-fast);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--tr);
}
.nav-link:hover {
    color: var(--color-primary);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 24px;
}
.nav-link.active {
    color: var(--color-primary);
    font-weight: 600;
}
.nav-caret {
    font-size: 10px;
    line-height: 1;
    opacity: .6;
    transition: transform var(--tr-fast);
}
.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret {
    transform: rotate(180deg);
}

/* Mega Dropdown */
.nav-dropdown,
.nav-submenu {
    display: none;
    position: absolute;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 120;
}
.nav-dropdown {
    top: 100%;
    left: 0;
    padding: 24px;
    border: 1px solid var(--color-border-light);
}
.nav-item:last-child .nav-dropdown,
.nav-item:nth-last-child(2) .nav-dropdown {
    left: auto;
    right: 0;
}
.nav-submenu {
    top: 0;
    left: 100%;
    margin-left: 4px;
    padding: 8px 0;
    min-width: 200px;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
}
.nav-submenu::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: -8px;
    width: 8px;
}
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown,
.nav-subitem:hover > .nav-submenu,
.nav-subitem:focus-within > .nav-submenu,
.nav-more-item:hover > .nav-submenu,
.nav-more-item:focus-within > .nav-submenu {
    display: block;
}
.nav-subitem,
.nav-more-item {
    position: relative;
}

/* Card Grid Dropdown */
.nav-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    max-width: 680px;
}
.nav-card-item {
    display: flex;
    flex-direction: column;
}
.nav-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 10px;
    border-radius: var(--radius-md);
    text-decoration: none;
    background: var(--color-primary);
    transition: all var(--tr);
    position: relative;
    aspect-ratio: 5/4;
    overflow: hidden;
}
.nav-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,.08) 100%);
    transition: opacity var(--tr);
}
.nav-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(14,144,107,.25);
}
.nav-card.active {
    box-shadow: inset 0 0 0 3px rgba(255,255,255,.45);
}
/* Alternating card colors — corporate palette */
.nav-card-item:nth-child(8n+1) .nav-card { background: linear-gradient(135deg, #0E906B, #14B37A); }
.nav-card-item:nth-child(8n+2) .nav-card { background: linear-gradient(135deg, #C5A572, #D9C19A); }
.nav-card-item:nth-child(8n+3) .nav-card { background: linear-gradient(135deg, #14B37A, #1FBA88); }
.nav-card-item:nth-child(8n+4) .nav-card { background: linear-gradient(135deg, #A88A52, #C5A572); }
.nav-card-item:nth-child(8n+5) .nav-card { background: linear-gradient(135deg, #0A6B50, #0E906B); }
.nav-card-item:nth-child(8n+6) .nav-card { background: linear-gradient(135deg, #1FBA88, #4AC99A); }
.nav-card-item:nth-child(8n+7) .nav-card { background: linear-gradient(135deg, #5A9E82, #8BCCAE); }
.nav-card-item:nth-child(8n+8) .nav-card { background: linear-gradient(135deg, #D9C19A, #E8D5B0); }

.nav-card-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: 1.35;
    position: relative;
    z-index: 1;
}

/* Card sub-items */
.nav-card-sub {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
    padding: 4px 2px;
}
.nav-card-sub a {
    display: block;
    font-size: 13px;
    color: var(--color-text-secondary);
    padding: 6px 10px;
    line-height: 1.4;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--tr-fast);
}
.nav-card-sub a:hover {
    color: var(--color-primary);
    background: var(--color-bg);
}

/* Legacy list dropdown */
.nav-legacy-list {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    min-width: 190px;
}
.nav-legacy-link {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: var(--color-text);
    text-decoration: none;
    transition: all var(--tr-fast);
    white-space: nowrap;
}
.nav-legacy-link:hover,
.nav-legacy-link.active {
    background: var(--color-bg);
    color: var(--color-primary);
}

/* More menu */
.nav-more-list {
    display: flex;
    flex-direction: column;
}
.nav-sub-link,
.nav-submenu-link,
.nav-more-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
    padding: 10px 18px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--color-text);
    white-space: nowrap;
    transition: background var(--tr-fast), color var(--tr-fast);
}
.nav-sub-link:hover,
.nav-sub-link.active,
.nav-submenu-link:hover,
.nav-submenu-link.active,
.nav-more-link:hover,
.nav-more-link.active {
    background: var(--color-bg);
    color: var(--color-primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.header-search {
    width: 200px;
    height: 40px;
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    overflow: hidden;
    transition: border-color var(--tr-fast), box-shadow var(--tr-fast), background var(--tr-fast);
}
.header-search:focus-within {
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(14,144,107,.06);
}
.header-search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 8px 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
    color: var(--color-text);
}
.header-search button {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    flex-shrink: 0;
    transition: color var(--tr-fast), background var(--tr-fast);
}
.header-search button:hover {
    color: var(--color-primary);
    background: var(--color-bg-alt);
}
.header-consult {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    box-shadow: var(--shadow-sm);
    transition: all var(--tr);
}
.header-consult:hover {
    color: #fff;
    background: var(--color-primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Language Switch */
.lang-switch { position: relative; }
.lang-switch::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -6px;
    height: 6px;
}
.lang-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    font-size: 13px;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--tr-fast);
    white-space: nowrap;
}
.lang-switch-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.lang-arrow {
    font-size: 10px;
    opacity: .6;
    transition: transform var(--tr-fast);
}
.lang-switch:hover .lang-arrow { transform: rotate(180deg); }
.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border-radius: var(--radius-md);
    min-width: 120px;
    box-shadow: var(--shadow-md);
    z-index: 100;
    overflow: hidden;
    padding: 4px 0;
    border: 1px solid var(--color-border-light);
}
.lang-switch:hover .lang-dropdown { display: block; }
.lang-dropdown a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--color-text);
    text-decoration: none;
    transition: all var(--tr-fast);
}
.lang-dropdown a:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}
.lang-dropdown a.active {
    color: var(--color-primary);
    font-weight: 600;
    background: var(--color-bg);
}

/* Nav More Dropdown */
.nav-more { position: relative; }
.nav-more::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -8px;
    height: 8px;
}
.nav-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: color var(--tr-fast);
    white-space: nowrap;
}
.nav-more-btn:hover { color: var(--color-primary); }
.more-arrow {
    font-size: 10px;
    transition: transform var(--tr-fast);
}
.nav-more:hover .more-arrow,
.nav-more:focus-within .more-arrow { transform: rotate(180deg); }
.nav-more-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 120;
    padding: 8px 0;
    min-width: 200px;
    border: 1px solid var(--color-border-light);
}
.nav-more:hover .nav-more-dropdown,
.nav-more:focus-within .nav-more-dropdown { display: block; }
.nav-more-submenu { left: auto; right: 100%; margin-left: 0; margin-right: 4px; }
.nav-more-submenu::before { left: auto; right: -8px; }

/* ============================================================
   6. Footer
   ============================================================ */
.site-footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
}
.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 64px 24px 40px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 48px;
}
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.footer-brand .footer-logo .logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: .01em;
}
.footer-brand .footer-logo .footer-logo-img {
    max-height: 40px;
    width: auto;
}
.footer-brand .footer-logo .footer-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}
.footer-desc {
    font-size: 14px;
    line-height: 1.85;
    color: rgba(255,255,255,.5);
    margin: 0 0 24px;
    max-width: 360px;
}
.footer-wechat {
    width: fit-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.04);
}
.footer-wechat-img {
    width: 88px;
    height: 88px;
    padding: 6px;
    border-radius: var(--radius-md);
    background: #fff;
    flex: 0 0 auto;
}
.footer-wechat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}
.footer-wechat-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}
.footer-wechat-text strong {
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}
.footer-wechat-text span {
    color: rgba(255,255,255,.45);
    font-size: 12px;
    line-height: 1.5;
    max-width: 150px;
}
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.social-link {
    min-height: 34px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: rgba(255,255,255,.6);
    font-size: 12px;
    font-weight: 600;
    transition: all var(--tr);
    text-decoration: none;
}
.social-link svg { flex: 0 0 auto; }
.social-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
}
.footer-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: .02em;
    position: relative;
    padding-bottom: 12px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--color-accent);
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,.5);
    transition: color var(--tr-fast), padding-left var(--tr-fast);
    display: inline-block;
}
.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 4px;
}
.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
}
.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-accent);
}
.contact-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,.4);
    margin-bottom: 3px;
}
.contact-value {
    font-size: 14px;
    color: rgba(255,255,255,.8);
}
a.contact-value:hover { color: var(--color-accent); }

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
}
.footer-bottom .footer-container {
    display: block;
    padding-top: 20px;
    padding-bottom: 20px;
}
.copyright {
    font-size: 13px;
    color: rgba(255,255,255,.35);
    text-align: center;
}
.copyright .icp-link {
    color: rgba(255,255,255,.35);
    text-decoration: none;
    margin-left: 8px;
    transition: color var(--tr-fast);
}
.copyright .icp-link:hover { color: rgba(255,255,255,.6); }

@media (max-width: 900px) {
    .footer-container { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
    .footer-container { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
}

/* ============================================================
   7. Back to Top
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--tr);
    cursor: pointer;
    border: 2px solid var(--color-accent);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ============================================================
   8. Page Container & Content
   ============================================================ */
.main-content { min-height: 100vh; }
.page-container { min-height: 100vh; background: var(--color-bg); }
.page-content {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 32px 24px 60px;
}

/* ============================================================
   9. Page Banner (通用)
   ============================================================ */
.page-banner {
    text-align: center;
    padding: 68px 20px 60px;
    margin-top: var(--header-main-height);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,165,114,.08) 0%, transparent 70%);
    top: -100px;
    right: -80px;
}
.page-banner::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%);
    bottom: -80px;
    left: -60px;
}
.site-header.has-topbar + .main-content > .page-banner,
.site-header.has-topbar + .page-container > .page-banner,
.site-header.has-topbar + .main-content > .hero-section,
.site-header.has-topbar + .merchant-banner,
.site-header.has-topbar + .merchant-goods-banner,
.site-header.has-topbar + .booking-banner,
.site-header.has-topbar + .forum-banner,
.site-header.has-topbar + .event-banner,
.site-header.has-topbar + .video-banner,
.site-header.has-topbar + .timecard-banner,
.site-header.has-topbar + .time-card-banner,
.site-header.has-topbar + .supply-banner,
.site-header.has-topbar + .store-banner,
.site-header.has-topbar + .seckill-banner,
.site-header.has-topbar + .score-banner,
.site-header.has-topbar + .product-banner,
.site-header.has-topbar + .knowledge-banner,
.site-header.has-topbar + .ebook-banner,
.site-header.has-topbar + .download-banner,
.site-header.has-topbar + .gift-banner,
.site-header.has-topbar + .gift-card-banner,
.site-header.has-topbar + .coupon-banner {
    margin-top: var(--header-with-topbar-height);
}
.site-header.has-topbar + .main-content.richtext-page { padding-top: 0; }
.page-banner h1 {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    letter-spacing: .02em;
}
.page-banner p {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    letter-spacing: .1em;
    position: relative;
    z-index: 1;
}
.page-banner-sm { padding: 48px 20px 40px; }

/* ============================================================
   10. Breadcrumb
   ============================================================ */
.breadcrumb {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 16px 24px;
    font-size: 14px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.breadcrumb a { color: var(--color-text-secondary); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .current {
    color: var(--color-text);
    font-weight: 500;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================================
   11. Section Common
   ============================================================ */
.section-white { background: #fff; }
.section-gray { background: var(--color-bg); }
.section { padding: 100px 0; }
.about-section, .products-section, .news-section { padding: 100px 0; }
@media (max-width: 600px) {
    .section, .about-section, .products-section, .news-section { padding: 70px 0; }
}

/* ============================================================
   12. Card (通用)
   ============================================================ */
.card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--color-border-light);
    transition: box-shadow var(--tr), transform var(--tr), border-color var(--tr);
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--color-border);
}
.card-link { display: block; color: inherit; }
.card-img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.card:hover .card-img { transform: scale(1.05); }
.card-body { padding: 20px; }
.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card:hover .card-title { color: var(--color-primary); }
.card-desc {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--color-text-muted);
}
.card a { color: inherit; }

/* ============================================================
   13. Cate Filter / Tags
   ============================================================ */
.cate-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0;
}
.tag {
    display: inline-block;
    padding: 8px 22px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--tr-fast);
    white-space: nowrap;
}
.tag:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(14,144,107,.04);
}
.tag-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* ============================================================
   14. Pagination
   ============================================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 40px 0 0;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--color-text);
    transition: all var(--tr-fast);
}
.pagination a:hover {
    background: var(--color-bg);
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.pagination .current {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    font-weight: 600;
}

/* ============================================================
   15. Detail Content
   ============================================================ */
.detail-header { margin-bottom: 24px; }
.detail-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: 16px;
}
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: var(--color-text-muted);
}
.detail-cover {
    margin-bottom: 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.detail-cover img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.detail-content {
    line-height: 1.85;
    font-size: 16px;
    color: var(--color-text);
}
.detail-content p { margin-bottom: 16px; }
.detail-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin: 28px 0 12px;
    padding-left: 14px;
    border-left: 4px solid var(--color-accent);
}
.detail-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin: 22px 0 10px;
}
.detail-content img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
}
.detail-content ul, .detail-content ol { padding-left: 24px; margin-bottom: 16px; }
.detail-content li { margin-bottom: 6px; }
.detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.detail-content th, .detail-content td {
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    text-align: left;
}
.detail-content th { background: var(--color-bg); font-weight: 600; }

/* ============================================================
   16. Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--tr);
}
.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    color: #fff;
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-white {
    background: #fff;
    color: var(--color-primary);
}
.btn-white:hover {
    background: var(--color-bg);
    color: var(--color-primary-light);
    transform: translateY(-2px);
}
.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}
.btn-accent {
    background: var(--color-accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
}
.btn-accent:hover {
    color: #fff;
    background: var(--color-accent-dark);
    transform: translateY(-2px);
}
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-xl { padding: 16px 36px; font-size: 17px; }
.btn-block { width: 100%; }

/* ============================================================
   17. Price
   ============================================================ */
.price { font-size: 18px; font-weight: 700; color: #C0392B; }
.price-original {
    font-size: 14px;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-left: 6px;
}
.price-muted { font-size: 14px; color: var(--color-text-muted); }

/* ============================================================
   18. File Download Item
   ============================================================ */
.file-list { margin-top: 24px; }
.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    transition: border-color var(--tr-fast);
}
.file-item:hover { border-color: var(--color-primary); }
.file-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.file-icon { font-size: 28px; flex-shrink: 0; }
.file-name {
    font-size: 15px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.btn-download {
    padding: 8px 20px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 14px;
    white-space: nowrap;
}

/* ============================================================
   19. Status / Error Pages
   ============================================================ */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 52vh;
    text-align: center;
}
.error-page h1 {
    font-size: 128px;
    line-height: 1;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 16px;
}
@media (max-width: 640px) {
    .detail-title { font-size: 24px; }
    .error-page h1 { font-size: 72px; }
}
.error-page p {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

/* ============================================================
   20. Sitebuilder QR Interaction
   ============================================================ */
.sb-qr-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}
.sb-qr-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: var(--shadow-sm);
    transition: transform var(--tr-fast), box-shadow var(--tr-fast), background var(--tr-fast);
    text-decoration: none;
}
.sb-qr-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--color-primary-light);
}
.article-share .sb-qr-cta { margin-left: auto; }

.sb-qr-floating {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 1200;
}
.sb-qr-floating__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: var(--radius-sm);
    background: var(--color-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    box-shadow: var(--shadow-accent);
    transition: transform var(--tr-fast), box-shadow var(--tr-fast), background var(--tr-fast);
}
.sb-qr-floating__btn:hover {
    transform: translateY(-2px);
    background: var(--color-accent-dark);
    box-shadow: 0 8px 24px rgba(197,165,114,.4);
}
.sb-qr-floating__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sb-qr-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.sb-qr-modal.open { display: flex; }
.sb-qr-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,107,80,.58);
    backdrop-filter: blur(6px);
}
.sb-qr-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 380px);
    border-radius: var(--radius-lg);
    background: #fff;
    padding: 28px 24px 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.sb-qr-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--color-text-secondary);
    font-size: 24px;
    line-height: 1;
}
.sb-qr-modal__close:hover {
    background: var(--color-bg);
    color: var(--color-text);
}
.sb-qr-modal__title {
    margin: 0 28px 8px;
    color: var(--color-text);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.35;
}
.sb-qr-modal__tips {
    min-height: 22px;
    margin: 0 0 18px;
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}
.sb-qr-modal__body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 236px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
}
.sb-qr-modal__status {
    color: var(--color-text-secondary);
    font-size: 14px;
}
.sb-qr-modal__image {
    width: 210px;
    height: 210px;
    object-fit: contain;
    padding: 8px;
    border-radius: 6px;
    background: #fff;
}
.sb-qr-modal__h5 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 600px) {
    .sb-qr-modal { padding: 16px; }
    .sb-qr-modal__panel { padding: 26px 18px 20px; }
    .article-share .sb-qr-cta { width: 100%; margin-left: 0; }
    .back-to-top { right: 20px; bottom: 24px; }
    .sb-qr-floating { right: 20px; bottom: 80px; }
    .sb-qr-floating__btn {
        width: 44px;
        min-width: 44px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        gap: 0;
    }
    .sb-qr-floating__btn span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

/* ============================================================
   21. Mobile Navigation (inline styles in header.html)
   ============================================================ */
