/* 找软件页面：/find-software/ */

.finder-page {
    padding-bottom: 50px;
}

.finder-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding: clamp(26px, 3.2vw, 46px);
    border: 1px solid #222e4b;
    border-radius: 16px;
    background:
        radial-gradient(closest-side at 88% 6%, rgba(52, 119, 255, .22), transparent 72%),
        radial-gradient(closest-side at 4% 96%, rgba(167, 68, 244, .16), transparent 70%),
        linear-gradient(140deg, #16203a 0%, #101829 100%);
}

.finder-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -110px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(119, 199, 255, .18);
    border-radius: 50%;
    pointer-events: none;
}

.finder-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7fb9e6;
    font: 600 12px/1 Arial, sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.finder-kicker::before {
    content: "";
    width: 18px;
    height: 1px;
    background: currentColor;
}

.finder-hero h1 {
    position: relative;
    z-index: 1;
    margin: 16px 0 0;
    color: #f3f7ff;
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.2;
    letter-spacing: -.5px;
}

.finder-hero h1 span {
    display: block;
    margin-top: 12px;
    color: #a8b8d6;
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 400;
    letter-spacing: 0;
}

.finder-form {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.finder-field {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
    height: 64px;
    background: #0c1424;
    border: 1px solid #2a3856;
    border-radius: 12px;
    transition: border-color .15s, box-shadow .15s;
}

.finder-field:focus-within {
    border-color: #3477ff;
    box-shadow: 0 0 0 3px rgba(52, 119, 255, .16);
}

.finder-field .icon {
    margin-left: 20px;
    color: #7d8ba6;
    font-size: 22px;
}

.finder-field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 18px 0 14px;
    border: 0;
    background: none;
    color: #eef3ff;
    font-size: 16px;
    outline: none;
}

.finder-field input::placeholder {
    color: #6f7d99;
}

.finder-field input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.finder-submit {
    flex: 0 0 auto;
    min-width: 132px;
    padding: 0 28px;
    border-radius: 12px;
    background: var(--brand-gradient);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(52, 119, 255, .28);
    transition: filter .15s, transform .15s, opacity .15s;
}

.finder-submit:hover:not(:disabled) {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.finder-submit:disabled {
    cursor: progress;
    opacity: .6;
}

.finder-examples {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: #8a97b2;
    font-size: 13px;
}

.finder-chip {
    padding: 7px 15px;
    border: 1px solid #2b3a5a;
    border-radius: 999px;
    background: #16203a;
    color: #c4d2ee;
    font-size: 13px;
    transition: border-color .15s, color .15s, background-color .15s;
}

.finder-chip:hover {
    border-color: var(--green);
    background: #1a2a46;
    color: var(--green);
}

.finder-meta {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    color: #8492ad;
    font-size: 13px;
}

.finder-meta strong {
    color: var(--accent);
}

.finder-results {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.finder-answer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid #233152;
    border-radius: 12px;
    background: #131c31;
}

.finder-answer-main {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e8efff;
    font-size: 15px;
}

.finder-answer-main .icon {
    color: var(--green);
    font-size: 20px;
}

.finder-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

.finder-keywords span {
    padding: 3px 10px;
    border-radius: 6px;
    background: #1e2b49;
    color: #9fb7e0;
    font-size: 12px;
}

.finder-note {
    margin-top: -8px;
    padding-left: 4px;
    color: #8f9db8;
    font-size: 13px;
    line-height: 1.7;
}

.finder-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.finder-block-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #eaf1ff;
    font-size: 22px;
    font-weight: 700;
}

.finder-block-title small {
    color: #7f8fab;
    font-size: 12px;
    font-weight: 400;
}

.finder-reasons {
    margin: -6px 0 0;
    padding: 0;
    list-style: none;
    color: #9fb0cf;
    font-size: 13px;
    line-height: 1.9;
}

.finder-reasons li::before {
    content: "·";
    margin-right: 8px;
    color: var(--green);
}

.finder-grid {
    margin-top: 2px;
}

.finder-block-ai {
    padding-top: 26px;
    border-top: 1px dashed #26324e;
}

.finder-external {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.finder-ext-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid #222e4a;
    border-radius: 12px;
    background: #151e33;
    transition: border-color .15s, background-color .15s;
}

.finder-ext-item:hover {
    border-color: #33456b;
    background: #17213a;
}

.finder-ext-index {
    flex: 0 0 auto;
    color: #3f5279;
    font: 700 22px/1 Arial, sans-serif;
}

.finder-ext-body {
    min-width: 0;
    flex: 1;
}

.finder-ext-body h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #eaf1ff;
    font-size: 16px;
}

.finder-ext-badge {
    padding: 1px 7px;
    border: 1px solid #2f4f82;
    border-radius: 4px;
    background: #1c3157;
    color: #9fc6ff;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
}

.finder-ext-body p {
    margin-top: 7px;
    color: #a9b7d3;
    font-size: 13px;
    line-height: 1.7;
}

.finder-ext-host {
    display: inline-block;
    margin-top: 7px;
    color: #6f7f9c;
    font-size: 12px;
}

.finder-ext-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 13px;
    white-space: nowrap;
}

.finder-ext-link:hover {
    text-decoration: underline;
}

.finder-empty {
    padding: 56px 20px;
    border: 1px dashed #2a3854;
    border-radius: 14px;
    text-align: center;
    color: #a9b7d3;
}

.finder-empty h2 {
    margin-bottom: 12px;
    color: #eaf1ff;
    font-size: 22px;
}

.finder-empty p {
    font-size: 13px;
}

.finder-error {
    padding: 22px 24px;
    border: 1px solid #7a2f43;
    border-radius: 12px;
    background: #2a1520;
    color: #ffc7d3;
    font-size: 14px;
}

.finder-runtime {
    margin-top: -6px;
    color: #6f7f9c;
    font-size: 12px;
    text-align: right;
}

/* 搜索中 */
.finder-skeleton {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.finder-thinking {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #93a5c4;
    font-size: 14px;
}

.finder-dots {
    display: inline-flex;
    gap: 4px;
}

.finder-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: finder-blink 1.2s infinite;
}

.finder-dots i:nth-child(2) { animation-delay: .2s; }
.finder-dots i:nth-child(3) { animation-delay: .4s; }

.finder-skel-line,
.finder-skel-card {
    background: linear-gradient(90deg, #151f36 25%, #1d2946 37%, #151f36 63%);
    background-size: 400% 100%;
    animation: finder-shimmer 1.4s ease infinite;
    border-radius: 12px;
}

.finder-skel-line {
    height: 58px;
}

.finder-skel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap);
}

.finder-skel-card {
    height: 300px;
}

@keyframes finder-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

@keyframes finder-blink {
    0%, 100% { opacity: .25; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-2px); }
}

@media (max-width: 1200px) {
    .finder-skel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
    .finder-submit { min-width: 112px; padding: 0 22px; font-size: 16px; }
}

@media (max-width: 749px) {
    .finder-hero { padding: 24px 20px; border-radius: 12px; }
    .finder-hero h1 { font-size: 26px; }
    .finder-form { flex-direction: column; gap: 10px; margin-top: 20px; }
    .finder-field { height: 54px; }
    .finder-field .icon { margin-left: 14px; font-size: 19px; }
    .finder-field input { padding: 0 14px 0 10px; font-size: 15px; }
    .finder-submit { height: 48px; border-radius: 10px; }
    .finder-examples > span { flex: 0 0 100%; }
    .finder-keywords { margin-left: 0; }
    .finder-skel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .finder-skel-card { height: 210px; }
    .finder-ext-item { flex-wrap: wrap; }
    .finder-ext-link { margin-left: 0; }
}
