@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-step {
    animation: fadeIn 0.3s ease-out;
}

.industry-btn.selected,
.size-btn.selected {
    border-color: #2563eb;
    background-color: #eff6ff;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.pain-point-label:has(.pain-checkbox:checked) {
    border-color: #2563eb;
    background-color: #eff6ff;
}

.recommendation-card {
    animation: slideUp 0.4s ease-out;
    animation-fill-mode: both;
}

.recommendation-card:nth-child(1) { animation-delay: 0.1s; }
.recommendation-card:nth-child(2) { animation-delay: 0.2s; }
.recommendation-card:nth-child(3) { animation-delay: 0.3s; }
.recommendation-card:nth-child(4) { animation-delay: 0.4s; }
.recommendation-card:nth-child(5) { animation-delay: 0.5s; }

.step-card {
    animation: slideUp 0.4s ease-out;
    animation-fill-mode: both;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.15s; }
.step-card:nth-child(3) { animation-delay: 0.2s; }
.step-card:nth-child(4) { animation-delay: 0.25s; }
.step-card:nth-child(5) { animation-delay: 0.3s; }
.step-card:nth-child(6) { animation-delay: 0.35s; }
.step-card:nth-child(7) { animation-delay: 0.4s; }
.step-card:nth-child(8) { animation-delay: 0.45s; }


.ease-stars {
    color: #f59e0b;
    letter-spacing: 2px;
}

.loading-complete {
    color: #059669 !important;
}

.loading-complete svg,
.loading-complete .check-icon {
    color: #059669;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.animate-modal {
    animation: modalIn 0.2s ease-out;
}

.alternatives-panel {
    animation: fadeIn 0.2s ease-out;
}

.stack-btn {
    transition: all 0.15s ease;
}

@keyframes stackPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.stack-btn:active {
    animation: stackPulse 0.15s ease;
}

.recommendation-card:has(.stack-btn[class*="bg-accent"]) {
    border-color: #6ee7b7;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.robot-bubble {
    position: relative;
    background: #ffffff;
    border-radius: 1rem;
    padding: 0.875rem 1.125rem;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
}

.robot-bubble::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 10px 6px 0;
    border-style: solid;
    border-color: transparent rgba(0,0,0,0.08) transparent transparent;
}

.robot-bubble::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 9px 5px 0;
    border-style: solid;
    border-color: transparent #ffffff transparent transparent;
}

@keyframes robotFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

.robot-avatar {
    animation: robotFloat 3s ease-in-out infinite;
}

@keyframes robotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.03); }
}

.robot-thinking {
    animation: robotPulse 2s ease-in-out infinite;
}

.legal-page {
    color: #374151;
}

.legal-page h1 {
    color: #111827;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.legal-effective-date {
    color: #6b7280;
    font-size: 0.9375rem;
    margin-top: 0.75rem;
}

.legal-prose {
    font-size: 1rem;
    line-height: 1.75;
}

.legal-prose p {
    margin: 0 0 1.25rem;
}

.legal-prose h2 {
    color: #1e3a5f;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 2.75rem 0 1rem;
}

.legal-prose h2:first-child {
    margin-top: 2.25rem;
}

.legal-prose strong {
    color: #1f2937;
    font-weight: 600;
}

.legal-prose ul {
    list-style: disc;
    margin: -0.25rem 0 1.25rem 1.5rem;
}

.legal-prose li {
    margin-bottom: 0.75rem;
    padding-left: 0.25rem;
}
