/* ─── Hero Background ─── */
.hero-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #0f172a 100%);
}

.hero-overlay {
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,0.18) 0%, transparent 70%);
}

.grid-pattern {
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Search card hover ─── */
.search-card {
    transition: box-shadow 0.3s ease;
}
.search-card:focus-within {
    box-shadow: 0 0 0 3px rgba(59,130,246,0.3), 0 20px 60px rgba(0,0,0,0.4);
}

/* ─── Pulse dot ─── */
.pulse-dot {
    animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ─── Analyzing ring ─── */
.analyzing-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid rgba(147,197,253,0.3);
    border-top-color: #60a5fa;
    animation: spin 1s linear infinite;
    position: relative;
}
.ring-inner {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 3px solid rgba(147,197,253,0.15);
    border-top-color: #a78bfa;
    animation: spin 1.5s linear infinite reverse;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ─── Progress bar ─── */
.progress-bar {
    width: 0%;
    animation: progress 2.2s ease-out forwards;
}
@keyframes progress {
    0%   { width: 0%; }
    20%  { width: 30%; }
    50%  { width: 60%; }
    80%  { width: 85%; }
    100% { width: 95%; }
}

/* ─── Fade in up ─── */
.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Lead form slide in ─── */
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
#lead-form-section:not(.hidden) {
    animation: slideInUp 0.5s ease-out forwards;
}

/* ─── Success bounce ─── */
@keyframes successBounce {
    0%   { transform: scale(0.3); opacity: 0; }
    50%  { transform: scale(1.1); }
    70%  { transform: scale(0.95); }
    100% { transform: scale(1); opacity: 1; }
}
.success-bounce {
    animation: successBounce 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

/* ─── Card hovers ─── */
.comp-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.comp-card:hover {
    transform: translateY(-3px);
}

.how-it-works-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.how-it-works-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.testimonial-card {
    transition: transform 0.2s ease;
}
.testimonial-card:hover {
    transform: translateY(-2px);
}

/* ─── Google Places autocomplete dropdown ─── */
.pac-container {
    border-radius: 12px !important;
    margin-top: 4px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    border: 1px solid #e2e8f0 !important;
    font-family: 'Inter', sans-serif !important;
    overflow: hidden;
}
.pac-item {
    padding: 10px 16px !important;
    font-size: 14px !important;
    cursor: pointer;
    border-top: 1px solid #f1f5f9 !important;
}
.pac-item:first-child { border-top: none !important; }
.pac-item:hover { background: #eff6ff !important; }
.pac-item-selected { background: #eff6ff !important; }
.pac-matched { font-weight: 700 !important; color: #2563eb !important; }
.pac-icon { display: none !important; }

/* ─── Report preview card shimmer ─── */
.report-preview-card {
    position: relative;
    overflow: hidden;
}

/* ─── Trust badges ─── */
.trust-badge {
    transition: color 0.2s;
}

/* ─── FAQ ─── */
.faq-answer {
    border-top: 1px solid #f1f5f9;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
