:root {
    --wsic-bg: #f6f8fb;
    --wsic-paper: #ffffff;
    --wsic-ink: #102033;
    --wsic-soft-ink: #475569;
    --wsic-muted: #64748b;
    --wsic-line: #d7e0ea;
    --wsic-blue: #244c8f;
    --wsic-teal: #0f766e;
    --wsic-gold: #aa7b45;
    --wsic-shadow: 0 18px 45px rgba(16, 32, 51, 0.12);
}

body {
    background: var(--wsic-bg);
    color: var(--wsic-ink);
    font-family: "Noto Sans SC", sans-serif;
    line-height: 1.7;
}

.wsic-page {
    overflow: hidden;
}

.wsic-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
    box-sizing: border-box;
}

.wsic-hero {
    min-height: 760px;
    display: flex;
    align-items: center;
    padding: 130px 0 88px;
    background:
        radial-gradient(circle at 75% 25%, rgba(46, 102, 184, 0.45), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(15, 118, 110, 0.35), transparent 50%),
        linear-gradient(135deg, rgba(8, 15, 28, 0.96), rgba(16, 52, 64, 0.94)),
        url("../images/wsic-standard-cover.png") center/cover no-repeat;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.wsic-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.wsic-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.wsic-eyebrow {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wsic-hero h1 {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.6rem, 5vw, 5.1rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.wsic-lead {
    max-width: 760px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.16rem;
}

.wsic-hero-actions,
.wsic-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.wsic-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: #fff;
    color: var(--wsic-ink);
    font-size: 0.98rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wsic-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.wsic-button.is-ghost {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.wsic-button.is-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.wsic-cover-panel {
    margin: 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    animation: floatPanel 6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes floatPanel {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-14px); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4); }
    100% { transform: translateY(0px); }
}

.wsic-cover-panel img {
    display: block;
    width: 100%;
    aspect-ratio: 0.72;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.wsic-meta-strip {
    background: #ffffff;
    border-bottom: 1px solid rgba(16, 32, 51, 0.06);
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}

.wsic-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(16, 32, 51, 0.04);
}

.wsic-meta-item {
    min-height: 118px;
    padding: 24px 32px;
    background: #ffffff;
    transition: background 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wsic-meta-item:hover {
    background: linear-gradient(180deg, #ffffff, #f4f7fa);
}

.wsic-meta-label {
    display: block;
    margin-bottom: 10px;
    color: var(--wsic-blue);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.8;
}

.wsic-meta-value {
    color: var(--wsic-ink);
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1.4;
    background: linear-gradient(135deg, #102033, #244c8f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wsic-section {
    padding: 86px 0;
}

.wsic-section.is-white {
    background: var(--wsic-paper);
}

.wsic-section-head {
    max-width: 820px;
    margin: 0 0 36px;
}

.wsic-section-head.is-centered {
    margin: 0 auto 64px;
    text-align: center;
}

.wsic-kicker {
    margin: 0 0 10px;
    color: var(--wsic-teal);
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wsic-section h2 {
    margin: 0;
    color: var(--wsic-ink);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: 0;
}

.wsic-section-head p {
    margin: 18px 0 0;
    color: var(--wsic-soft-ink);
    font-size: 1.08rem;
}

.wsic-use-grid,
.wsic-matrix-grid,
.wsic-category-grid,
.wsic-download-grid {
    display: grid;
    gap: 18px;
}

.wsic-use-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Matrix Section Redesign */
.wsic-matrix-container {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 32px;
    align-items: stretch;
}

.wsic-matrix-core {
    display: flex;
}

.wsic-core-card {
    position: relative;
    flex: 1;
    padding: 48px 40px;
    background: linear-gradient(145deg, #102033, #1a365d);
    border-radius: 24px;
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(16, 32, 51, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wsic-core-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.wsic-core-card .wsic-code.is-large {
    font-size: 2rem;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    backdrop-filter: blur(8px);
    margin-bottom: 32px;
    align-self: flex-start;
}

.wsic-core-card h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.wsic-core-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.wsic-matrix-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.wsic-tag-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(16, 32, 51, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.wsic-tag-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(16, 32, 51, 0.06);
    border-color: rgba(36, 76, 143, 0.15);
}

.wsic-tag-card .wsic-code {
    display: inline-block;
    margin-bottom: 20px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(36, 76, 143, 0.06), rgba(15, 118, 110, 0.06));
    color: var(--wsic-blue);
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 6px;
    border: 1px solid rgba(36, 76, 143, 0.08);
    align-self: flex-start;
}

.wsic-tag-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--wsic-ink);
}

.wsic-tag-card p {
    color: var(--wsic-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.wsic-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wsic-download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Decorative Dot */
.wsic-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--wsic-blue);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px rgba(36, 76, 143, 0.5);
}

/* Gradient Text */
.wsic-gradient-text {
    background: linear-gradient(135deg, #102033, #244c8f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Feature Card (For 'Why WSIC' Section) */
.wsic-feature-card {
    position: relative;
    padding: 40px 32px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(16, 32, 51, 0.04);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.wsic-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wsic-blue), var(--wsic-teal));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wsic-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(16, 32, 51, 0.06);
    border-color: rgba(36, 76, 143, 0.1);
}

.wsic-feature-card:hover::before {
    opacity: 1;
}

.wsic-feature-bg-num {
    position: absolute;
    top: -24px;
    right: -16px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(36, 76, 143, 0.03);
    z-index: -1;
    transition: all 0.5s ease;
    user-select: none;
    line-height: 1;
}

.wsic-feature-card:hover .wsic-feature-bg-num {
    color: rgba(36, 76, 143, 0.06);
    transform: scale(1.05) rotate(-5deg);
}

.wsic-feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(36, 76, 143, 0.04), rgba(15, 118, 110, 0.04));
    border-radius: 16px;
    font-size: 1.5rem;
    margin-bottom: 24px;
    border: 1px solid rgba(36, 76, 143, 0.08);
}

.wsic-feature-content h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    color: var(--wsic-ink);
}

.wsic-feature-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--wsic-muted);
    line-height: 1.7;
}

.wsic-card {
    padding: 32px;
    border: 1px solid rgba(16, 32, 51, 0.06);
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #fcfcfc);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.wsic-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(36, 76, 143, 0.03), rgba(15, 118, 110, 0.03), rgba(36, 76, 143, 0.03));
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientShift 4s ease infinite;
}

.wsic-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(16, 32, 51, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
    border-color: rgba(36, 76, 143, 0.15);
}

.wsic-card:hover::before {
    opacity: 1;
}

.wsic-card .wsic-code {
    display: inline-block;
    margin-bottom: 20px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(36, 76, 143, 0.08), rgba(15, 118, 110, 0.08));
    color: var(--wsic-blue);
    font-size: 0.9rem;
    font-weight: 800;
    border-radius: 6px;
    letter-spacing: 0.05em;
    border: 1px solid rgba(36, 76, 143, 0.1);
}

.wsic-card h3 {
    margin: 0 0 10px;
    color: var(--wsic-ink);
    font-size: 1.12rem;
    line-height: 1.32;
}

.wsic-card p {
    margin: 0;
    color: var(--wsic-soft-ink);
    font-size: 0.98rem;
}

.wsic-framework {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 30px;
    align-items: stretch;
}

.wsic-panel {
    padding: 30px;
    border: 1px solid var(--wsic-line);
    border-radius: 8px;
    background: var(--wsic-paper);
}

.wsic-panel.is-dark {
    background: #102033;
    color: #fff;
    border-color: #102033;
}

.wsic-panel h3 {
    margin: 0 0 14px;
    font-size: 1.35rem;
}

.wsic-panel p {
    margin: 0 0 14px;
    color: var(--wsic-soft-ink);
}

.wsic-panel.is-dark p {
    color: rgba(255, 255, 255, 0.78);
}

.wsic-note {
    margin-top: 26px;
    padding: 18px 20px;
    border-left: 4px solid var(--wsic-gold);
    background: #fff8ed;
    color: #5f4b32;
    font-weight: 700;
}

/* Custom Styles for Five-Level Logic */
.wsic-logic-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.wsic-logic-item {
    display: flex;
    align-items: flex-start;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(16, 32, 51, 0.06);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wsic-logic-item:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 24px rgba(16, 32, 51, 0.06);
    border-color: rgba(36, 76, 143, 0.2);
}

.wsic-logic-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--wsic-blue), var(--wsic-teal));
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
    border-radius: 50%;
    margin-right: 24px;
    box-shadow: 0 4px 12px rgba(36, 76, 143, 0.2);
}

.wsic-logic-content h4 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: var(--wsic-ink);
}

.wsic-logic-content p {
    margin: 0 0 8px;
    font-size: 0.95rem;
    color: var(--wsic-muted);
    line-height: 1.6;
}

.wsic-logic-content ul {
    margin: 0;
    padding-left: 20px;
    color: var(--wsic-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.wsic-download-card {
    padding: 32px;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.wsic-download-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(36, 76, 143, 0.04), rgba(15, 118, 110, 0.04), rgba(36, 76, 143, 0.04));
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.wsic-download-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 48px rgba(16, 32, 51, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
    border-color: rgba(36, 76, 143, 0.2);
}

.wsic-download-card:hover::before {
    opacity: 1;
}

.wsic-download-card h3 {
    margin: 0 0 10px;
    font-size: 1.32rem;
}

.wsic-download-card p {
    margin: 0;
    color: var(--wsic-soft-ink);
}

.wsic-card-actions {
    margin-top: 22px;
}

.wsic-card-actions .wsic-button {
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #102033, #244c8f);
    color: #fff;
    box-shadow: 0 4px 14px rgba(36, 76, 143, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wsic-card-actions .wsic-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.wsic-card-actions .wsic-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(36, 76, 143, 0.4);
}

.wsic-card-actions .wsic-button:hover::after {
    left: 100%;
}

.wsic-card-actions .wsic-button.is-secondary {
    background: transparent;
    color: var(--wsic-blue);
    border: 1px solid var(--wsic-line);
    box-shadow: none;
}

.wsic-card-actions .wsic-button.is-secondary:hover {
    border-color: var(--wsic-blue);
    background: rgba(36, 76, 143, 0.04);
}

.wsic-viewer {
    margin-top: 32px;
    border: 1px solid var(--wsic-line);
    border-radius: 8px;
    background: var(--wsic-paper);
    overflow: hidden;
    box-shadow: var(--wsic-shadow);
}

.wsic-viewer-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border-bottom: 1px solid var(--wsic-line);
    background: #f8fafc;
}

.wsic-tabs {
    display: inline-flex;
    padding: 4px;
    border: 1px solid var(--wsic-line);
    border-radius: 8px;
    background: #fff;
}

.wsic-tab {
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--wsic-soft-ink);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.wsic-tab.is-active {
    background: var(--wsic-ink);
    color: #fff;
}

.wsic-viewer-hint {
    margin: 0;
    color: var(--wsic-muted);
    font-size: 0.92rem;
}

.wsic-viewer iframe {
    display: block;
    width: 100%;
    height: 760px;
    border: 0;
    background: #eef2f7;
}

@media (max-width: 1199px) {
    .wsic-hero-grid,
    .wsic-framework {
        grid-template-columns: 1fr;
    }

    .wsic-cover-panel {
        max-width: 360px;
    }

    .wsic-meta-grid,
    .wsic-use-grid,
    .wsic-matrix-grid,
    .wsic-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .wsic-shell {
        padding: 0 18px;
    }

    .wsic-hero {
        min-height: 0;
        padding: 84px 0 40px;
    }

    .wsic-hero-grid {
        gap: 24px;
    }

    .wsic-hero h1 {
        font-size: 2.18rem;
    }

    .wsic-lead {
        margin-top: 18px;
        font-size: 1rem;
    }

    .wsic-hero-actions {
        margin-top: 24px;
    }

    .wsic-cover-panel {
        max-width: 236px;
        padding: 10px;
    }

    .wsic-meta-grid,
    .wsic-use-grid,
    .wsic-matrix-grid,
    .wsic-category-grid,
    .wsic-download-grid {
        grid-template-columns: 1fr;
    }

    .wsic-section {
        padding: 58px 0;
    }

    .wsic-card,
    .wsic-panel,
    .wsic-download-card {
        padding: 20px;
    }

    .wsic-viewer-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .wsic-tabs {
        width: 100%;
    }

    .wsic-tab {
        flex: 1;
        padding: 0 10px;
        font-size: 0.92rem;
    }

    .wsic-viewer iframe {
        height: 560px;
    }
}

/* ==========================================================================
   Query Engine Styles
   ========================================================================== */
.wsic-query-panel {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 12px 48px rgba(16, 32, 51, 0.04);
    border: 1px solid rgba(16, 32, 51, 0.06);
}

.wsic-query-controls {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.wsic-search-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.wsic-search-icon {
    position: absolute;
    left: 20px;
    font-size: 1.2rem;
    color: var(--wsic-muted);
}

.wsic-search-box input {
    width: 100%;
    height: 56px;
    padding: 0 20px 0 52px;
    border-radius: 12px;
    border: 2px solid rgba(16, 32, 51, 0.08);
    font-size: 1.05rem;
    color: var(--wsic-ink);
    background: rgba(16, 32, 51, 0.02);
    transition: all 0.3s ease;
}

.wsic-search-box input:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--wsic-blue);
    box-shadow: 0 0 0 4px rgba(36, 76, 143, 0.1);
}

.wsic-filter-box select {
    height: 56px;
    padding: 0 40px 0 20px;
    border-radius: 12px;
    border: 2px solid rgba(16, 32, 51, 0.08);
    font-size: 1.05rem;
    color: var(--wsic-ink);
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475e7a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
}

.wsic-filter-box select:focus {
    outline: none;
    border-color: var(--wsic-blue);
    box-shadow: 0 0 0 4px rgba(36, 76, 143, 0.1);
}

.wsic-query-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.wsic-result-card {
    background: linear-gradient(145deg, #ffffff, #fcfcfc);
    border: 1px solid rgba(16, 32, 51, 0.06);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wsic-result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(16, 32, 51, 0.05);
    border-color: rgba(36, 76, 143, 0.15);
}

.wsic-result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.wsic-result-title h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: var(--wsic-ink);
}

.wsic-result-title .wsic-result-type {
    font-size: 0.8rem;
    color: #ffffff;
    background: var(--wsic-teal);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 8px;
    vertical-align: middle;
}

.wsic-result-code {
    background: linear-gradient(135deg, rgba(36, 76, 143, 0.08), rgba(15, 118, 110, 0.08));
    color: var(--wsic-blue);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    border: 1px solid rgba(36, 76, 143, 0.1);
}

.wsic-result-desc {
    color: var(--wsic-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 16px;
}

.wsic-result-footer {
    padding-top: 16px;
    border-top: 1px dashed rgba(16, 32, 51, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wsic-result-product {
    font-weight: 700;
    color: var(--wsic-ink);
    font-size: 0.95rem;
}

.wsic-result-category {
    font-size: 0.85rem;
    color: var(--wsic-muted);
    font-weight: 600;
}

.wsic-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 0;
    color: var(--wsic-muted);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .wsic-query-controls {
        flex-direction: column;
    }
    .wsic-query-results {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   PREMIUM ENHANCEMENT LAYER (additive overrides)
   与全站 Premium 设计语言统一：衬线大标题 + 金色渐变点缀 + 卡片层次
   ============================================================ */
:root {
    --wsic-gold-a: #cba174;
    --wsic-gold-b: #d97706;
}

/* —— 衬线标题体系 —— */
.wsic-hero h1,
.wsic-section h2,
.wsic-core-card h3,
.wsic-panel h3,
.wsic-download-card h3 {
    font-family: 'Noto Serif SC', serif;
    letter-spacing: -0.5px;
}

/* —— Hero 增强：金色 eyebrow + 底部金线 —— */
.wsic-eyebrow {
    color: var(--wsic-gold-a);
    letter-spacing: 0.18em;
}

.wsic-hero {
    border-bottom: 1px solid rgba(203, 161, 116, 0.35);
}

.wsic-hero::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 220px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--wsic-gold-a), transparent);
    z-index: 2;
}

.wsic-cover-panel {
    position: relative;
}

.wsic-cover-panel::after {
    content: "";
    position: absolute;
    inset: -14px;
    border: 1px solid rgba(203, 161, 116, 0.35);
    border-radius: 22px;
    pointer-events: none;
}

/* —— Meta strip 精致化 —— */
.wsic-meta-strip {
    position: relative;
}

.wsic-meta-strip::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(203, 161, 116, 0.4), transparent);
}

.wsic-meta-label {
    color: var(--wsic-gold-b);
    letter-spacing: 0.14em;
}

/* —— 章节头：金色 kicker + 渐变下划线 —— */
.wsic-kicker {
    color: var(--wsic-gold-b);
    letter-spacing: 0.16em;
}

.wsic-dot {
    background: var(--wsic-gold-a);
    box-shadow: 0 0 8px rgba(203, 161, 116, 0.65);
}

.wsic-section-head.is-centered h2 {
    position: relative;
    padding-bottom: 22px;
}

.wsic-section-head.is-centered h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 84px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--wsic-gold-a), transparent);
}

/* —— 卡片体系：顶部金色渐变饰条（hover 展开）+ 抬升 —— */
.wsic-card,
.wsic-feature-card,
.wsic-tag-card,
.wsic-download-card {
    position: relative;
    overflow: hidden;
}

.wsic-card::before,
.wsic-feature-card::before,
.wsic-tag-card::before,
.wsic-download-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wsic-gold-a), var(--wsic-gold-b));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
}

.wsic-card:hover::before,
.wsic-feature-card:hover::before,
.wsic-tag-card:hover::before,
.wsic-download-card:hover::before {
    transform: scaleX(1);
}

.wsic-card:hover,
.wsic-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 44px rgba(16, 32, 51, 0.10);
    border-color: rgba(203, 161, 116, 0.35);
}

.wsic-card:hover .wsic-code,
.wsic-tag-card:hover .wsic-code {
    background: linear-gradient(135deg, rgba(203, 161, 116, 0.12), rgba(217, 119, 6, 0.10));
    color: var(--wsic-gold-b);
    border-color: rgba(203, 161, 116, 0.35);
}

/* —— 矩阵主核卡：金色顶条 + 暖光晕 —— */
.wsic-core-card {
    border: 1px solid rgba(203, 161, 116, 0.25);
}

.wsic-core-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wsic-gold-a), var(--wsic-gold-b));
}

.wsic-core-glow {
    background:
        radial-gradient(circle at 80% 15%, rgba(203, 161, 116, 0.22) 0%, transparent 60%),
        radial-gradient(circle, rgba(56, 189, 248, 0.10) 0%, transparent 70%);
}

/* —— 深色面板（查询入口 / 编码示例 / WST-I）：金顶条 + 光晕 —— */
.wsic-panel.is-dark {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(203, 161, 116, 0.22);
}

.wsic-panel.is-dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wsic-gold-a), var(--wsic-gold-b));
}

.wsic-panel.is-dark::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(203, 161, 116, 0.10) 0%, transparent 65%);
    pointer-events: none;
}

/* —— 五级裁决数字：金色渐变圆 —— */
.wsic-logic-num {
    background: linear-gradient(135deg, var(--wsic-gold-a), var(--wsic-gold-b)) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.25);
}

/* —— 主按钮：hover 转金 —— */
.wsic-button:not(.is-ghost):not(.is-secondary):hover {
    background: linear-gradient(135deg, var(--wsic-gold-a), var(--wsic-gold-b));
    color: #fff;
    border-color: transparent;
}

/* —— 查询页 tab 选中态与结果卡呼应 —— */
.wsic-tab.is-active {
    box-shadow: inset 0 -3px 0 var(--wsic-gold-b);
}

.wsic-result-card:hover {
    border-color: rgba(203, 161, 116, 0.4);
}

.wsic-result-code {
    font-family: 'Noto Serif SC', serif;
}

/* kicker 提级：盖过 .wsic-section-head p 的颜色 */
.wsic-section-head p.wsic-kicker,
p.wsic-kicker {
    color: var(--wsic-gold-b);
}


/* ============================================================
   企业 ↔ 产品 双向钻取（卡片内联展开）
   ============================================================ */
.wsic-prod {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed rgba(16, 32, 51, 0.1);
}

.wsic-prod-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(36, 76, 143, 0.18);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(36, 76, 143, 0.07), rgba(15, 118, 110, 0.07));
    color: var(--wsic-blue);
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.wsic-prod-toggle:hover {
    background: linear-gradient(135deg, rgba(36, 76, 143, 0.14), rgba(15, 118, 110, 0.12));
    border-color: rgba(36, 76, 143, 0.35);
}

.wsic-prod-toggle b {
    color: var(--wsic-gold);
}

.wsic-prod-ic {
    font-size: 0.95rem;
    filter: saturate(0.9);
}

.wsic-prod-caret {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.wsic-prod-toggle.is-open .wsic-prod-caret {
    transform: rotate(180deg);
}

.wsic-prod-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.wsic-prod-item {
    border: 1px solid var(--wsic-line);
    border-left: 3px solid var(--wsic-gold);
    border-radius: 10px;
    background: #f8fafc;
    padding: 12px 14px;
}

.wsic-prod-item__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.wsic-prod-item__name {
    color: var(--wsic-ink);
    font-size: 0.98rem;
    font-weight: 800;
}

.wsic-prod-item__tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--wsic-teal);
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

.wsic-prod-item__desc {
    margin: 8px 0 0;
    color: var(--wsic-muted);
    font-size: 0.86rem;
    line-height: 1.58;
}

.wsic-prod-peers {
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--wsic-gold);
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
}

.wsic-prod-peers:hover {
    text-decoration: underline;
}

.wsic-prod-peers-list {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    border-left: 2px solid var(--wsic-blue);
    background: rgba(36, 76, 143, 0.05);
}

.wsic-peers-title {
    margin-bottom: 8px;
    color: var(--wsic-blue);
    font-size: 0.82rem;
    font-weight: 800;
}

.wsic-peer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(16, 32, 51, 0.08);
}

.wsic-peer:last-child {
    border-bottom: 0;
}

.wsic-peer__co {
    flex: 0 0 auto;
    color: var(--wsic-ink);
    font-size: 0.9rem;
    font-weight: 700;
}

.wsic-peer__prods {
    flex: 1 1 auto;
    text-align: right;
    color: var(--wsic-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.wsic-prod-empty {
    padding: 8px 4px;
    color: var(--wsic-muted);
    font-size: 0.86rem;
}

@media (max-width: 768px) {
    .wsic-peer {
        flex-direction: column;
        gap: 2px;
    }

    .wsic-peer__prods {
        text-align: left;
    }
}

/* fix: display:grid overrides [hidden] display:none; force-hide when collapsed */
.wsic-prod-list[hidden],
.wsic-prod-peers-list[hidden] {
    display: none;
}

/* peer company clickable -> expand its products inline (multi-level drilldown) */
.wsic-peer__co {
    padding: 0;
    border: 0;
    background: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--wsic-blue);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.wsic-peer__co:hover {
    text-decoration: underline;
}

.wsic-peer__caret {
    font-size: 0.7rem;
    color: var(--wsic-gold);
    transition: transform 0.2s ease;
}

.wsic-peer__co.is-open .wsic-peer__caret {
    transform: rotate(90deg);
}

.wsic-peer-prod-list {
    margin: 8px 0 2px;
    padding-left: 12px;
    border-left: 2px dashed rgba(203, 161, 116, 0.4);
    display: grid;
    gap: 8px;
}

.wsic-peer-prod-list[hidden] {
    display: none;
}
/* WSIC query page dark hero banner: makes the white nav visible + big visual */
.wsic-hero--query {
    min-height: auto;
    padding: 150px 0 74px;
    text-align: center;
    background:
        radial-gradient(circle at 78% 22%, rgba(46, 102, 184, 0.5), transparent 46%),
        radial-gradient(circle at 16% 84%, rgba(15, 118, 110, 0.42), transparent 52%),
        linear-gradient(135deg, #0a1424 0%, #103440 100%);
}

.wsic-hero--query .wsic-eyebrow {
    display: block;
}

.wsic-hero--query h1 {
    margin: 12px auto 0;
    max-width: 900px;
}

.wsic-hero--query .wsic-lead {
    max-width: 720px;
    margin: 18px auto 0;
}

/* ===== RWD-FIX(high): 五维矩阵区响应式规则写在了 HTML 未使用的 .wsic-matrix-grid 上，实际类 .wsic-matrix-container(1.2fr 2fr) 与 .wsic- ===== */
/* fix: 矩阵区(.wsic-matrix-container/.wsic-matrix-tags)缺失的响应式覆盖(原规则误写为未使用的.wsic-matrix-grid) */
@media (max-width: 1199px) {
    .wsic-matrix-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .wsic-matrix-tags {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .wsic-matrix-tags {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .wsic-core-card {
        padding: 28px 22px;
    }
    .wsic-core-card h3 {
        font-size: 1.4rem;
    }
    .wsic-core-card .wsic-code.is-large {
        font-size: 1.5rem;
        padding: 10px 18px;
        margin-bottom: 20px;
    }
    .wsic-tag-card {
        padding: 22px 20px;
    }
}

/* ===== RWD-FIX(high): wsic-query.html 顶部 banner：.wsic-hero--query{padding:150px 0 74px} 位于文件末尾，同特异性后置规则盖过了 767 断 ===== */
/* fix: 查询页 banner 150px 顶部留白在平板/手机过大(该规则在文件末尾盖过了前面的 767 覆盖) */
@media (min-width: 768px) and (max-width: 1199px) {
    .wsic-hero--query {
        padding: 118px 0 60px;
    }
}

@media (max-width: 767px) {
    .wsic-hero--query {
        padding: 88px 0 44px;
    }
}

/* ===== RWD-FIX(medium): wsic-query.html 的 .wsic-query-panel 固定 padding:40px 无手机覆盖：375px 视口减 shell 18px×2 后内容仅约 259 ===== */
/* fix: 手机端查询面板/结果卡内边距过大，内容被挤压 */
@media (max-width: 767px) {
    .wsic-query-panel {
        padding: 22px 16px;
        border-radius: 16px;
    }
    .wsic-query-controls {
        margin-bottom: 22px;
    }
    .wsic-result-card {
        padding: 18px 16px;
    }
    .wsic-filter-box select {
        width: 100%;
        max-width: 100%;
    }
}

/* ===== RWD-FIX(medium): wsic-query.html 的 .wsic-query-controls 平板仍为单行 flex：select 因 flex 项 min-width:auto 不可收缩，最长选 ===== */
/* fix: 平板端查询控件行内 select 固有宽度挤压搜索框，改为上下堆叠 */
@media (min-width: 768px) and (max-width: 1199px) {
    .wsic-query-controls {
        flex-wrap: wrap;
    }
    .wsic-search-box {
        flex: 1 1 100%;
    }
    .wsic-filter-box {
        flex: 1 1 100%;
        min-width: 0;
    }
    .wsic-filter-box select {
        width: 100%;
        max-width: 100%;
    }
}

/* ===== RWD-FIX(medium): wsic-standard.html #query-engine 深色入口面板带内联 style="padding:56px 40px"，767 断点的 .wsic-panel{p ===== */
/* fix: 首页查询入口面板的内联 padding:56px 40px 在手机上过大(内联样式须 !important 覆盖，已用 #query-engine 限定作用域) */
@media (max-width: 767px) {
    #query-engine .wsic-panel.is-dark {
        padding: 36px 20px !important;
    }
}

/* ===== RWD-FIX(low): 五级裁决 .wsic-logic-item 手机上固定占位过多：24px 内边距×2 + 48px 序号圆 + 24px 右边距共 120px，375px 视口下正文仅 ~219p ===== */
/* fix: 手机端五级裁决条目序号圆与内边距占宽过多 */
@media (max-width: 767px) {
    .wsic-logic-item {
        padding: 16px;
    }
    .wsic-logic-num {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 14px;
    }
}

/* ===== RWD-FIX(low): 查询页钻取交互的点击目标偏小：.wsic-prod-toggle 实际高约 35px，.wsic-prod-peers 与 .wsic-peer__co 是纯文字按钮(高约 20p ===== */
/* fix: 手机端钻取按钮/同类企业链接/tab 触控目标过小 */
@media (max-width: 767px) {
    .wsic-prod-toggle {
        min-height: 44px;
    }
    .wsic-prod-peers {
        padding: 10px 0;
    }
    .wsic-peer__co {
        padding: 8px 0;
    }
    .wsic-tab {
        min-height: 44px;
        padding: 8px 10px;
        line-height: 1.3;
    }
}

/* ===== RWD-FIX(high): mobile/common.css 的全局 section{padding:32px 0 !important} 压住 wsic hero,标题被固定导航条遮挡;须同级 !important 反制 ===== */
@media (max-width: 767px) {
    .wsic-hero {
        padding: 84px 0 40px !important;
    }
    .wsic-hero--query {
        padding: 88px 0 44px !important;
    }
}
/* 封面图隐藏后 Hero 单栏：正文限宽 */
.wsic-hero .wsic-lead{max-width:760px;}
