/*--------------------------------------------------------------
# Agent Finder Tool — Interactive Wizard
--------------------------------------------------------------*/

.agent-finder-section {
    width: 100%;
    padding: 120px 20px;
    background-color: var(--ink);
    position: relative;
    overflow: hidden;
}

.finder-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ── Header ── */
.finder-header {
    text-align: center;
    margin-bottom: 64px;
}

.finder-eyebrow {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    color: #d827b1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 16px;
    background: rgba(216, 39, 177, 0.05);
    border: 1px solid rgba(216, 39, 177, 0.1);
    border-radius: 100px;
    margin-bottom: 24px;
}

.finder-heading {
    font-family: var(--font-primary);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    color: #111;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.finder-sub {
    font-family: var(--font-primary);
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Wizard Layout ── */
.finder-wizard {
    background: var(--ink);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0; /* Squared corners as per latest user request */
    padding: 64px;
    min-height: 480px;
    position: relative;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.08);
}

.finder-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.03);
}

.finder-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #7627d8, #d827b1);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.finder-steps {
    position: relative;
}

.finder-step {
    display: none;
    animation: stepFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.finder-step.active {
    display: block;
}

@keyframes stepFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.finder-step-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 40px;
    text-align: center;
}

/* ── Options ── */
.finder-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.finder-option {
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0;
    padding: 32px 24px;
    cursor: pointer;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.finder-option::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(118, 39, 216, 0.05) 0%, rgba(216, 39, 177, 0.05) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.finder-option:hover {
    border-color: rgba(118, 39, 216, 0.3);
    box-shadow: 0 10px 30px -10px rgba(118, 39, 216, 0.1);
    transform: translateY(-2px);
    background: var(--ink);
}

.finder-option:hover::before {
    opacity: 1;
}

.finder-option .option-text {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: #111;
    transition: color 0.3s ease;
}

.finder-option:hover .option-text {
    background: linear-gradient(135deg, #7627d8 0%, #d827b1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Result View ── */
.finder-result {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.finder-result-badge {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #7627d8;
    background: rgba(118, 39, 216, 0.08);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.finder-result-name {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.finder-result-desc {
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
}

.finder-result-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.finder-cta-primary {
    background: linear-gradient(135deg, #7627d8 0%, #d827b1 100%);
    color: var(--ink);
    border: none;
    padding: 18px 36px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 700;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.finder-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(216, 39, 177, 0.25);
}

.finder-cta-secondary {
    background: var(--ink);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #666;
    padding: 18px 36px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.finder-cta-secondary:hover {
    border-color: #333;
    color: #111;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .finder-options {
        grid-template-columns: 1fr;
    }
    .finder-wizard {
        padding: 40px 24px;
    }
    .finder-result-actions {
        flex-direction: column;
    }
}
