/* ═══════════════════════════════════════════════════════
   WWO Homepage — wwo.ac
   World Wiki Organization · Brand Verification & Trust Registry
   ═══════════════════════════════════════════════════════ */

* { margin:0; padding:0; box-sizing:border-box; }
:root {
    --blue: #1B2A4A;
    --blue-deep: #0f1b30;
    --blue-accent: #5b8ad4;
    --blue-light: #e8eef8;
    --gold: #C5975B;
    --gold-light: #f5ead8;
    --green: #2D8F5E;
    --green-light: #e6f5ed;
    --text: #1c2433;
    --sub: #5a6578;
    --faint: #9ba5b4;
    --line: #e9eaed;
    --bg: #f4f1ed;
    --card: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, system-ui, 'Noto Sans SC', 'Noto Sans JP', 'Noto Sans KR', sans-serif;
    background: var(--bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    color: var(--text);
}

/* ═══ NAV BAR ═══ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(27,42,74,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 24px; height: 56px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
    display: flex; align-items: center; gap: 10px;
}
.nav-logo {
    font-size: 18px; font-weight: 900; color: #fff;
    letter-spacing: -0.5px;
}
.nav-logo .dot { color: var(--gold); }
.nav-divider {
    width: 1px; height: 20px; background: rgba(255,255,255,0.15);
}
.nav-tagline {
    font-size: 10px; color: rgba(255,255,255,0.4);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
}
.nav-links {
    display: flex; align-items: center; gap: 24px;
}
.nav-link {
    font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.6);
    text-decoration: none; transition: color 0.15s;
    cursor: pointer;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; }

.nav-lang {
    position: relative; display: inline-flex; align-items: center; gap: 4px;
    font-size: 10px; color: rgba(255,255,255,0.5); cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    padding: 4px 10px; border-radius: 4px;
    background: rgba(91,138,212,0.1); transition: background 0.15s;
}
.nav-lang:hover { background: rgba(91,138,212,0.2); }
.nav-lang i { font-size: 9px; }
.lang-menu {
    display: none; position: absolute; top: 100%; right: 0; margin-top: 6px;
    background: rgba(15,27,48,0.95); backdrop-filter: blur(20px);
    border-radius: 10px; box-shadow: 0 12px 36px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
    overflow: hidden; z-index: 200; min-width: 140px;
}
.lang-menu.open { display: block; }
.lang-opt {
    display: block; padding: 9px 16px; font-size: 12px; color: rgba(255,255,255,0.55);
    cursor: pointer; transition: all 0.15s; font-family: 'Inter', sans-serif;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lang-opt:last-child { border-bottom: none; }
.lang-opt:hover { background: rgba(91,138,212,0.15); color: rgba(255,255,255,0.9); }
.lang-opt.active { color: var(--blue-accent); font-weight: 600; }

/* ═══ HERO ═══ */
.hero {
    margin-top: 56px;
    background: linear-gradient(165deg, var(--blue-deep) 0%, var(--blue) 50%, #243d66 100%);
    position: relative; overflow: hidden;
    padding: 80px 24px 60px;
    text-align: center;
}
.hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: repeating-linear-gradient(90deg, var(--gold) 0px, var(--gold) 4px, transparent 4px, transparent 10px);
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 40%, rgba(91,138,212,0.08) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(197,151,91,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }

.hero-emblem {
    width: 64px; height: 64px; margin: 0 auto 20px;
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04);
}
.hero-emblem img {
    width: 40px; height: 40px; object-fit: contain;
    filter: brightness(0) invert(1); opacity: 0.8;
}
.hero-org {
    font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.4);
    letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: 16px;
}
.hero-title {
    font-size: 36px; font-weight: 800; color: #fff;
    line-height: 1.2; margin-bottom: 12px;
}
.hero-title .gold { color: var(--gold); }
.hero-sub {
    font-size: 14px; color: rgba(255,255,255,0.5);
    line-height: 1.6; max-width: 520px; margin: 0 auto 36px;
}

/* 搜索框 */
.search-box {
    max-width: 520px; margin: 0 auto; position: relative;
}
.search-tabs {
    display: flex; gap: 2px; margin-bottom: 8px; justify-content: center;
}
.search-tab {
    padding: 6px 16px; border-radius: 20px;
    font-size: 11px; font-weight: 600; cursor: pointer;
    color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.2s;
}
.search-tab:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); }
.search-tab.active {
    background: rgba(91,138,212,0.2); color: #fff;
    border-color: rgba(91,138,212,0.3);
}
.search-input-wrap {
    display: flex; align-items: center;
    background: #fff; border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.1);
    overflow: hidden;
}
.search-icon {
    padding: 0 4px 0 18px; color: var(--faint); font-size: 14px;
}
.search-input {
    flex: 1; border: none; outline: none;
    padding: 16px 8px; font-size: 14px;
    font-family: 'Inter', sans-serif; color: var(--text);
    background: transparent;
}
.search-input::placeholder { color: #bcc3ce; }
.search-btn {
    padding: 10px 20px; margin: 6px;
    background: var(--blue); color: #fff;
    border: none; border-radius: 10px;
    font-size: 12px; font-weight: 700;
    cursor: pointer; transition: background 0.15s;
    white-space: nowrap;
}
.search-btn:hover { background: #243d66; }
.search-hint {
    margin-top: 10px; font-size: 10px;
    color: rgba(255,255,255,0.3);
    font-family: 'JetBrains Mono', monospace;
}
.search-hint code {
    background: rgba(255,255,255,0.08);
    padding: 2px 6px; border-radius: 3px;
    font-size: 9px;
}

/* ═══ STATS BAR ═══ */
.stats-bar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
}
.stats-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: center; gap: 48px;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
    font-size: 28px; font-weight: 800; color: var(--blue);
    font-family: 'JetBrains Mono', monospace;
}
.stat-num .unit { font-size: 14px; font-weight: 600; color: var(--faint); }
.stat-label {
    font-size: 10px; color: var(--faint); font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; margin-top: 2px;
}

/* ═══ MAIN CONTENT ═══ */
.main {
    max-width: 1200px; margin: 0 auto;
    padding: 48px 24px 64px;
}

/* — Section — */
.section {
    margin-bottom: 56px;
}
.section-head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 24px;
}
.section-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: #fff;
}
.section-icon.blue { background: var(--blue); }
.section-icon.gold { background: var(--gold); }
.section-icon.green { background: var(--green); }
.section-title {
    font-size: 18px; font-weight: 800; color: var(--text);
}
.section-subtitle {
    font-size: 12px; color: var(--faint); margin-top: 2px;
}

/* — 三印展示 — */
.seal-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.seal-card {
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer; text-decoration: none; color: inherit;
}
.seal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
}
.seal-card-head {
    padding: 24px 20px 20px;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
}
.seal-card-head.blue-bg {
    background: linear-gradient(160deg, #1e3b72, var(--blue));
}
.seal-card-head.gold-bg {
    background: linear-gradient(160deg, #2e3d58, #1c2b48);
}
.seal-card-head.black-gold-bg {
    background: linear-gradient(160deg, #0c0d10, #1a1a1f);
}
.seal-img-wrap {
    width: 56px; height: 56px; margin-bottom: 12px;
}
.seal-img-wrap img {
    width: 100%; height: 100%; object-fit: contain;
    pointer-events: none; user-select: none;
}
.seal-card-name {
    font-size: 12px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: rgba(255,255,255,0.9);
}
.seal-card-range {
    font-size: 9px; color: rgba(255,255,255,0.35);
    font-family: 'JetBrains Mono', monospace;
    margin-top: 4px;
}
.seal-card-body {
    padding: 14px 20px 16px;
}
.seal-card-desc {
    font-size: 11px; color: var(--sub); line-height: 1.6;
}

/* — 最近验证品牌 — */
.recent-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.recent-card {
    background: #fff; border-radius: 10px; padding: 16px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.03);
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
}
.recent-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
}
.recent-avatar {
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--blue-light); display: flex;
    align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800; color: var(--blue);
    flex-shrink: 0;
}
.recent-info { flex: 1; min-width: 0; }
.recent-name {
    font-size: 12px; font-weight: 700; color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.recent-meta {
    font-size: 9px; color: var(--faint);
    font-family: 'JetBrains Mono', monospace;
    display: flex; align-items: center; gap: 4px;
    margin-top: 2px;
}
.recent-dot {
    width: 5px; height: 5px; border-radius: 50%;
}
.recent-dot.blue { background: var(--blue-accent); }
.recent-dot.gold { background: var(--gold); }
.recent-dot.black-gold { background: #333; border: 1px solid var(--gold); }

/* — 委员会成员查询 — */
.committee-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.committee-card {
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.03);
}
.committee-card-head {
    background: var(--blue);
    padding: 20px 24px;
    display: flex; align-items: center; gap: 14px;
}
.committee-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: rgba(255,255,255,0.7);
}
.committee-card-title {
    font-size: 15px; font-weight: 700; color: #fff;
}
.committee-card-sub {
    font-size: 10px; color: rgba(255,255,255,0.4);
    margin-top: 2px;
}
.committee-card-body { padding: 20px 24px; }
.committee-card-desc {
    font-size: 12px; color: var(--sub); line-height: 1.7;
    margin-bottom: 16px;
}
.committee-search-mini {
    display: flex; align-items: center; gap: 0;
    border: 1px solid var(--line); border-radius: 10px;
    overflow: hidden;
}
.committee-search-mini input {
    flex: 1; border: none; outline: none; padding: 10px 14px;
    font-size: 12px; font-family: 'Inter', sans-serif; color: var(--text);
}
.committee-search-mini input::placeholder { color: #bcc3ce; }
.committee-search-mini button {
    padding: 10px 16px; border: none;
    background: var(--blue); color: #fff;
    font-size: 11px; font-weight: 600; cursor: pointer;
    transition: background 0.15s;
}
.committee-search-mini button:hover { background: #243d66; }

/* — 行业委员会列表 — */
.chapters-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.chapter-chip {
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    padding: 14px 16px; text-align: center;
    transition: border-color 0.15s, box-shadow 0.15s;
    cursor: pointer; text-decoration: none; color: inherit;
}
.chapter-chip:hover {
    border-color: var(--blue-accent);
    box-shadow: 0 2px 8px rgba(91,138,212,0.1);
}
.chapter-chip-icon {
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--blue-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--blue);
    margin: 0 auto 8px;
}
.chapter-chip-name {
    font-size: 11px; font-weight: 700; color: var(--text);
}
.chapter-chip-count {
    font-size: 9px; color: var(--faint);
    font-family: 'JetBrains Mono', monospace;
    margin-top: 2px;
}

/* — 信任标志 — */
.trust-section {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 32px 40px; text-align: center;
}
.trust-title {
    font-size: 10px; font-weight: 700; color: var(--faint);
    letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 20px;
}
.trust-items {
    display: flex; justify-content: center; gap: 48px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex; align-items: center; gap: 10px;
}
.trust-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: var(--blue-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: var(--blue);
}
.trust-text {
    text-align: left;
}
.trust-text-title {
    font-size: 12px; font-weight: 700; color: var(--text);
}
.trust-text-sub {
    font-size: 9px; color: var(--faint); margin-top: 1px;
}

/* ═══ FOOTER ═══ */
.footer {
    background: var(--blue);
    padding: 40px 24px 24px;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
}
.footer-top {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 20px;
}
.footer-brand-name {
    font-size: 16px; font-weight: 900; color: #fff;
    margin-bottom: 6px;
}
.footer-brand-name .dot { color: var(--gold); }
.footer-brand-sub {
    font-size: 10px; color: rgba(255,255,255,0.3);
    line-height: 1.5;
}
.footer-links {
    display: flex; gap: 40px;
}
.footer-col-title {
    font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.3);
    letter-spacing: 1.5px; text-transform: uppercase;
    margin-bottom: 10px;
}
.footer-col a {
    display: block; font-size: 11px; color: rgba(255,255,255,0.5);
    text-decoration: none; margin-bottom: 6px;
    transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
}
.footer-copy {
    font-size: 10px; color: rgba(255,255,255,0.2);
    font-family: 'JetBrains Mono', monospace;
}
.footer-lock {
    display: flex; align-items: center; gap: 4px;
    font-size: 9px; color: rgba(255,255,255,0.2);
}

/* ═══ MOBILE ═══ */
@media (max-width: 768px) {
    .nav-tagline { display: none; }
    .nav-links { gap: 12px; }
    .nav-link { font-size: 11px; }

    .hero { padding: 60px 20px 48px; }
    .hero-title { font-size: 24px; }
    .hero-sub { font-size: 12px; }
    .search-input { font-size: 13px; padding: 14px 8px; }
    .search-btn { padding: 8px 16px; font-size: 11px; }

    .stats-inner { gap: 24px; }
    .stat-num { font-size: 22px; }

    .seal-grid { grid-template-columns: 1fr; }
    .recent-grid { grid-template-columns: repeat(2, 1fr); }
    .committee-grid { grid-template-columns: 1fr; }
    .chapters-grid { grid-template-columns: repeat(2, 1fr); }

    .trust-items { gap: 24px; }

    .footer-top { flex-direction: column; gap: 24px; }
    .footer-links { gap: 24px; }
}

@media (max-width: 480px) {
    .recent-grid { grid-template-columns: 1fr; }
    .chapters-grid { grid-template-columns: 1fr 1fr; }
    .search-tabs { flex-wrap: wrap; }
}
