/* ===== WEBSITES INDEX ===== */

/* Hero */
.ws-hero {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, #f0f5ff 0%, #ffffff 100%);
    text-align: center;
}
.ws-hero h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 12px;
}
.ws-hero > p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

/* Search Box */
.ws-search-wrap {
    max-width: 720px;
    margin: 0 auto 24px;
    position: relative;
}
.ws-search-box {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 4px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(26, 110, 255, 0.06);
}
.ws-search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 24px rgba(26, 110, 255, 0.12);
}
.ws-search-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    flex-shrink: 0;
}
.ws-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    font-family: inherit;
    color: var(--text);
    padding: 12px 8px;
    outline: none;
}
.ws-search-input::placeholder {
    color: var(--text-light);
}
.ws-search-btn {
    padding: 12px 28px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}
.ws-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 110, 255, 0.3);
}

/* Search Results Dropdown */
.ws-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}
.ws-search-results.active {
    display: block;
}
.ws-search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}
.ws-search-result-item:last-child {
    border-bottom: none;
}
.ws-search-result-item:hover {
    background: var(--primary-light);
}
.ws-search-result-item .res-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.ws-search-result-item .res-info {
    flex: 1;
    min-width: 0;
}
.ws-search-result-item .res-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}
.ws-search-result-item .res-domain {
    font-size: 13px;
    color: var(--primary);
    font-family: monospace;
}
.ws-search-result-item .res-cat {
    font-size: 12px;
    color: var(--text-light);
    background: var(--bg-warm);
    padding: 3px 10px;
    border-radius: 100px;
    flex-shrink: 0;
}
.ws-search-no-result {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

/* Quick Stats */
.ws-quick-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.ws-stat-item {
    text-align: center;
}
.ws-stat-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}
.ws-stat-label {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 6px;
}

/* Filter Bar */
.ws-filter-bar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 72px;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
}
.ws-filter-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.ws-filter-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    flex-shrink: 0;
}

/* Category Tabs */
.ws-cat-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    flex: 1;
}
.ws-cat-tab {
    padding: 8px 16px;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    background: white;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.ws-cat-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.ws-cat-tab.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(26, 110, 255, 0.25);
}
.ws-cat-tab .count {
    font-size: 11px;
    margin-left: 4px;
    opacity: 0.7;
}

/* Alpha Index */
.ws-alpha-nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}
.ws-alpha-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1.5px solid var(--border);
    background: white;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ws-alpha-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
.ws-alpha-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(26, 110, 255, 0.25);
}
.ws-alpha-btn.empty {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Content Area */
.ws-content {
    padding: 40px 0 80px;
    min-height: 400px;
}

/* Section Header within content */
.ws-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.ws-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.ws-section-title .badge {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
}
.ws-sort-select {
    padding: 8px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 13px;
    color: var(--text-secondary);
    background: white;
    cursor: pointer;
    outline: none;
}

/* Website Cards Grid */
.ws-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Website Card */
.ws-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ws-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.ws-card:hover {
    border-color: rgba(26, 110, 255, 0.2);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.ws-card:hover::before {
    transform: scaleX(1);
}
.ws-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}
.ws-card-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}
.ws-card-info {
    flex: 1;
    min-width: 0;
}
.ws-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ws-card-domain {
    font-size: 13px;
    color: var(--primary);
    font-family: 'SF Mono', monospace;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ws-card-domain .verified {
    width: 14px;
    height: 14px;
    background: var(--success);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ws-card-domain .verified svg {
    width: 8px;
    height: 8px;
    color: white;
}
.ws-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.ws-card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.ws-card-tag {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    background: var(--bg-warm);
    color: var(--text-light);
    border-radius: 100px;
}
.ws-card-tag.cat {
    background: var(--primary-light);
    color: var(--primary);
}
.ws-card-actions {
    display: flex;
    gap: 8px;
}
.ws-card-btn {
    flex: 1;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
}
.ws-card-btn.primary {
    background: var(--primary-gradient);
    color: white;
}
.ws-card-btn.primary:hover {
    box-shadow: 0 4px 16px rgba(26, 110, 255, 0.3);
}
.ws-card-btn.secondary {
    background: var(--bg-warm);
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
}
.ws-card-btn.secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* Empty State */
.ws-empty {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}
.ws-empty-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
}
.ws-empty h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.ws-empty p {
    font-size: 14px;
    color: var(--text-light);
}

/* Pagination */
.ws-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    padding: 20px 0;
}
.ws-page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1.5px solid var(--border);
    background: white;
    border-radius: 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ws-page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.ws-page-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(26, 110, 255, 0.25);
}
.ws-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.ws-page-btn.prev,
.ws-page-btn.next {
    padding: 0 16px;
}
.ws-page-info {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 8px;
}

/* Alpha Group Header */
.ws-alpha-group {
    margin-bottom: 8px;
    grid-column: 1 / -1;
}
.ws-alpha-group h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    padding: 16px 0 8px;
    border-bottom: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    gap: 10px;
}
.ws-alpha-group h4 span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
}

/* Info Banner */
.ws-info-banner {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(26, 110, 255, 0.05) 100%);
    border: 1px solid rgba(26, 110, 255, 0.15);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.ws-info-banner .icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}
.ws-info-banner .content h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}
.ws-info-banner .content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Loading State */
.ws-loading {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}
.ws-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== TABLET (max-width: 1024px) ===== */
@media (max-width: 1024px) {
    .ws-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== MOBILE (max-width: 768px) ===== */
@media (max-width: 768px) {
    /* Navigation - mobile menu */
    .nav-links {
        display: none !important;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px 24px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        gap: 4px;
        border-bottom: 1px solid var(--border);
        z-index: 999;
    }
    .nav-links.active {
        display: flex !important;
    }
    .mobile-toggle {
        display: flex !important;
    }

    /* Hero */
    .ws-hero {
        padding: 120px 16px 40px;
    }
    .ws-hero > p {
        padding: 0;
        font-size: 14px;
    }
    .ws-hero h1 {
        font-size: 28px;
    }

    /* Search */
    .ws-search-wrap {
        padding: 0 8px;
    }
    .ws-search-box {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }
    .ws-search-input {
        width: 100%;
        text-align: center;
        padding: 10px;
        font-size: 15px;
    }
    .ws-search-btn {
        width: 100%;
        justify-content: center;
    }
    .ws-search-results {
        left: 8px;
        right: 8px;
    }

    /* Quick stats */
    .ws-quick-stats {
        gap: 20px;
        padding: 0 8px;
    }
    .ws-stat-num {
        font-size: 22px;
    }
    .ws-stat-label {
        font-size: 12px;
    }

    /* Filter bar */
    .ws-filter-bar {
        top: 0;
        padding: 12px 0;
    }
    .ws-filter-inner {
        padding: 0 12px;
        gap: 10px;
    }
    .ws-filter-label {
        display: none;
    }
    .ws-cat-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 4px;
    }
    .ws-cat-tabs::-webkit-scrollbar {
        display: none;
    }
    .ws-cat-tab {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Alpha nav */
    .ws-alpha-nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 3px;
    }
    .ws-alpha-nav::-webkit-scrollbar {
        display: none;
    }
    .ws-alpha-btn {
        min-width: 28px;
        height: 28px;
        font-size: 12px;
        padding: 0 6px;
    }

    /* Content */
    .ws-content {
        padding: 20px 0 60px;
    }
    .ws-content .container {
        padding: 0 12px;
    }
    .ws-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 16px;
    }
    .ws-section-title {
        font-size: 18px;
    }
    .ws-sort-select {
        width: 100%;
        padding: 10px 14px;
    }
    .ws-info-banner {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        margin-bottom: 20px;
        gap: 10px;
    }
    .ws-info-banner .icon {
        margin: 0 auto;
        width: 36px;
        height: 36px;
    }
    .ws-info-banner .content h4 {
        font-size: 14px;
    }
    .ws-info-banner .content p {
        font-size: 12px;
    }

    /* Grid & Cards */
    .ws-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .ws-card {
        padding: 16px;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .ws-card-header {
        gap: 10px;
        margin-bottom: 10px;
    }
    .ws-card-avatar {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .ws-card-name {
        font-size: 15px;
    }
    .ws-card-domain {
        font-size: 12px;
    }
    .ws-card-desc {
        font-size: 12px;
        margin-bottom: 12px;
    }
    .ws-card-tags {
        margin-bottom: 12px;
        gap: 4px;
    }
    .ws-card-tag {
        font-size: 10px;
        padding: 2px 8px;
    }
    .ws-card-actions {
        flex-direction: column;
        gap: 6px;
    }
    .ws-card-btn {
        padding: 10px 12px;
        font-size: 12px;
    }

    /* Pagination */
    .ws-pagination {
        flex-wrap: wrap;
        gap: 4px;
        margin-top: 24px;
        padding: 12px 0;
    }
    .ws-page-btn {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 0 8px;
    }
    .ws-page-btn.prev,
    .ws-page-btn.next {
        padding: 0 10px;
    }
    .ws-page-info {
        font-size: 12px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    .footer .container {
        padding: 0 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
        margin-bottom: 32px;
    }
    .footer-brand .logo-icon img {
        height: 60px;
    }
    .footer-brand p {
        max-width: 100%;
        font-size: 13px;
    }
    .footer-col h4 {
        font-size: 13px;
        margin-bottom: 14px;
    }
    .footer-col a {
        font-size: 13px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        padding-top: 16px;
    }
    .footer-bottom p {
        font-size: 12px;
    }
}

/* ===== 申请收录弹层 ===== */
.ws-apply-trigger { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 11px 26px; background: white; border: 1.5px solid var(--border); border-radius: 100px; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--primary); cursor: pointer; transition: var(--transition); box-shadow: 0 4px 16px rgba(26,110,255,0.08); }
.ws-apply-trigger:hover { border-color: var(--primary); background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(26,110,255,0.18); }
.ws-modal-mask { position: fixed; inset: 0; z-index: 1000; background: rgba(16,26,51,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 16px; }
.ws-modal-mask.active { display: flex; }
.ws-modal { background: #fff; border-radius: 18px; width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto; box-shadow: 0 24px 80px rgba(0,0,0,0.3); animation: wsPop .3s cubic-bezier(.34,1.4,.64,1); }
@keyframes wsPop { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.ws-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 0; }
.ws-modal-head h3 { font-size: 18px; font-weight: 800; color: var(--text); }
.ws-modal-x { width: 32px; height: 32px; border: none; background: var(--bg-warm); border-radius: 50%; cursor: pointer; font-size: 14px; color: var(--text-secondary); transition: var(--transition); flex-shrink: 0; }
.ws-modal-x:hover { background: var(--danger-light); color: var(--danger); }
.ws-modal-body { padding: 16px 24px 24px; }
.ws-rules { background: var(--bg-warm); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.ws-rules h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; color: var(--text); }
.ws-rules ol { margin: 0 0 0 18px; }
.ws-rules li { font-size: 12.5px; color: var(--text-secondary); line-height: 1.9; }
.ws-apply-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--text); }
.ws-apply-form input[type="text"], .ws-apply-form select, .ws-apply-form textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 9px; font-family: inherit; font-size: 13.5px; outline: none; transition: var(--transition); background: #fff; color: var(--text); box-sizing: border-box; }
.ws-apply-form input:focus, .ws-apply-form select:focus, .ws-apply-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,110,255,0.1); }
.ws-apply-form textarea { min-height: 64px; resize: vertical; line-height: 1.7; }
.ws-apply-form .f-row { margin-bottom: 12px; }
.ws-apply-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ws-apply-agree { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--text-secondary); line-height: 1.7; margin: 14px 0; }
.ws-apply-agree input { margin-top: 3px; accent-color: var(--primary); }
.ws-apply-submit { width: 100%; padding: 12px; border: none; border-radius: 10px; background: var(--primary-gradient); color: #fff; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: var(--transition); }
.ws-apply-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(26,110,255,0.35); }
.ws-apply-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.ws-apply-msg { margin-top: 12px; font-size: 13px; border-radius: 9px; padding: 10px 14px; display: none; line-height: 1.7; }
.ws-apply-msg.ok { display: block; background: var(--success-light); color: var(--success); border: 1px solid rgba(22,163,74,0.3); }
.ws-apply-msg.err { display: block; background: var(--danger-light); color: var(--danger); border: 1px solid rgba(220,38,38,0.3); }
@media (max-width: 768px) {
    .ws-apply-2col { grid-template-columns: 1fr; }
    .ws-modal { max-height: 92vh; border-radius: 14px; }
    .ws-modal-body { padding: 14px 16px 20px; }
}

/* ============================================================
   HERO REMASTER v2 · 参考官网首页风格(纯CSS, 零JS依赖)
   ============================================================ */
.ws-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 72px;
    background: linear-gradient(180deg, #eaf1ff 0%, #f5f8ff 55%, #ffffff 100%);
    text-align: center;
}
.ws-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ws-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(26,110,255,0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,110,255,0.055) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: radial-gradient(ellipse 92% 72% at 50% 28%, #000 25%, transparent 78%);
    mask-image: radial-gradient(ellipse 92% 72% at 50% 28%, #000 25%, transparent 78%);
}
.ws-orb { position: absolute; border-radius: 50%; filter: blur(60px); animation: wsOrbMove 14s ease-in-out infinite; }
.ws-orb-1 { width: 440px; height: 440px; left: -130px; top: -110px; background: radial-gradient(circle, rgba(26,110,255,0.35), transparent 65%); }
.ws-orb-2 { width: 400px; height: 400px; right: -120px; top: 8%; background: radial-gradient(circle, rgba(0,198,255,0.30), transparent 65%); animation-delay: -5s; }
.ws-orb-3 { width: 380px; height: 380px; left: 36%; bottom: -190px; background: radial-gradient(circle, rgba(13,79,196,0.26), transparent 65%); animation-delay: -9s; }
@keyframes wsOrbMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(34px, -26px) scale(1.08); }
}
.ws-hero-chips { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ws-chip {
    position: absolute; left: var(--x); top: var(--y);
    font-family: 'SF Mono', Consolas, Menlo, monospace;
    font-size: var(--t);
    color: var(--primary);
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(26,110,255,0.18);
    padding: 6px 14px;
    border-radius: 100px;
    box-shadow: 0 6px 18px rgba(26,110,255,0.10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0.85;
    animation: wsChipFloat 6s ease-in-out infinite;
    animation-delay: var(--d);
}
.ws-chip::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--success);
    margin-right: 7px;
    vertical-align: 1px;
}
@keyframes wsChipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.ws-hero .container { position: relative; z-index: 2; }
/* 入场动画(按容器直接子元素依次延迟) */
.ws-hero .container > * {
    animation: wsFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ws-hero .container > *:nth-child(2) { animation-delay: 0.10s; }
.ws-hero .container > *:nth-child(3) { animation-delay: 0.20s; }
.ws-hero .container > *:nth-child(4) { animation-delay: 0.30s; }
.ws-hero .container > *:nth-child(5) { animation-delay: 0.40s; }
.ws-hero .container > *:nth-child(6) { animation-delay: 0.50s; }
@keyframes wsFadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}
/* 脉冲徽标 */
.ws-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(26,110,255,0.22);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 22px;
    box-shadow: 0 4px 16px rgba(26,110,255,0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ws-hero-badge::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--primary);
    animation: wsBadgePulse 2s infinite;
}
@keyframes wsBadgePulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(26,110,255,0.40); }
    50% { opacity: 0.6; transform: scale(1.25); box-shadow: 0 0 0 6px rgba(26,110,255,0); }
}
/* 标题 + 流光渐变副标题 */
.ws-hero h1 {
    font-size: clamp(34px, 5.5vw, 56px);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}
.ws-hero-sub {
    display: block;
    margin-top: 12px;
    font-size: clamp(19px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: 0;
    background: linear-gradient(120deg, #1a6eff 20%, #00c6ff 50%, #1a6eff 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: wsShine 6s linear infinite;
}
@keyframes wsShine {
    to { background-position: 200% center; }
}
.ws-hero .container > p {
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 34px;
    font-size: 15.5px;
    line-height: 1.9;
}
/* 搜索框玻璃质感 */
.ws-search-wrap { margin-bottom: 28px; }
.ws-search-box {
    background: rgba(255,255,255,0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255,255,255,0.95);
    box-shadow: 0 10px 40px rgba(26,110,255,0.12), inset 0 1px 0 rgba(255,255,255,0.95);
    border-radius: 18px;
}
.ws-search-box:focus-within {
    border-color: rgba(26,110,255,0.55);
    box-shadow: 0 16px 48px rgba(26,110,255,0.22), inset 0 1px 0 rgba(255,255,255,0.95);
}
/* 统计卡玻璃悬浮 */
.ws-quick-stats { gap: 14px; }
.ws-stat-item {
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(26,110,255,0.13);
    border-radius: 16px;
    padding: 14px 28px;
    min-width: 128px;
    box-shadow: 0 6px 20px rgba(26,110,255,0.07);
    transition: var(--transition);
}
.ws-stat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(26,110,255,0.32);
    box-shadow: 0 14px 32px rgba(26,110,255,0.15);
}
.ws-stat-num {
    font-size: 30px;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* 响应式 */
@media (max-width: 1024px) {
    .ws-chip:nth-child(n+5) { display: none; }
}
@media (max-width: 768px) {
    .ws-hero { padding: 116px 16px 44px; }
    .ws-hero-chips { display: none; }
    .ws-hero-badge { font-size: 12px; padding: 6px 14px; margin-bottom: 16px; }
    .ws-hero h1 { font-size: clamp(26px, 7vw, 34px); }
    .ws-hero .container > p { font-size: 14px; margin-bottom: 24px; }
    .ws-stat-item { padding: 10px 14px; min-width: 100px; border-radius: 12px; }
    .ws-stat-num { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
    .ws-orb, .ws-chip, .ws-hero .container > *, .ws-hero-badge::before, .ws-hero-sub { animation: none; }
}

/* ============================================================
   HERO 全屏化 + 分类固定条贴顶修正
   ============================================================ */
/* Banner 撑满首屏, 内容垂直居中(对齐官网首页全屏 Hero) */
.ws-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 110px 0 80px;
}
.ws-hero .container { width: 100%; }

/* 分类固定条与 72px 顶部导航条精确贴合 */
.ws-filter-bar { top: 72px; }

@media (max-width: 768px) {
    /* 小屏不强制全屏(内容多), 恢复流式高度 */
    .ws-hero {
        min-height: auto;
        display: block;
        padding: 116px 16px 44px;
    }
    /* 关键修复: 原为 top:0, 吸顶时会滑到固定导航条下方被遮盖, 露出错位空隙 */
    .ws-filter-bar { top: 72px; }
}

/* ============================================================
   修复: 搜索下拉层被统计卡遮挡
   根因: 入场动画 animation-fill-mode:both 使元素永久保留 transform,
         transform 创建层叠上下文, 后写的统计卡整层压住搜索框下拉层(z-index被禁锢)
   ============================================================ */
.ws-hero .container > * {
    animation-fill-mode: backwards; /* 仅延迟期应用首帧; 动画结束即还原默认样式, 消除层叠上下文 */
}
.ws-search-wrap {
    z-index: 6; /* 显式提升搜索框层叠级, 确保下拉结果浮于统计卡/后续所有元素之上 */
}
.ws-hero .ws-search-results {
    z-index: 70;
}
