/* ─── RECOMMENDATIONS PAGE STYLES ─── */

/* Hero */
.page-hero {
    padding: 180px 0 80px; text-align: center; position: relative;
    z-index: 10; max-width: 900px; margin: 0 auto;
}
.page-hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 800;
    line-height: 1.05; letter-spacing: -2px; margin-bottom: 25px;
}
.page-hero p { color: var(--text-muted); font-size: 1.2rem; line-height: 1.8; margin-bottom: 50px; }

/* Floating stats */
.stats-wrapper {
    position: relative; padding: 60px 5% 100px; max-width: 1400px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    min-height: 350px; z-index: 10;
}
.connecting-line {
    position: absolute; top: 50%; left: 5%; width: 90%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 1; box-shadow: 0 0 20px var(--accent); opacity: 0.5; transform: translateY(-50%);
}
.stat-float-box {
    background: var(--bg-surface); border: 1px solid var(--accent-glow);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    padding: 35px 25px; border-radius: 20px; text-align: center;
    position: relative; z-index: 2; width: 260px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 15px 35px rgba(0,0,0,0.5);
    animation: floatObj 6s ease-in-out infinite;
}
.stat-float-box:nth-child(2) { top: -40px; animation-delay: 0s; }
.stat-float-box:nth-child(3) { top: 40px; animation-delay: -1.5s; }
.stat-float-box:nth-child(4) { top: -20px; animation-delay: -3s; }
.stat-float-box:nth-child(5) { top: 30px; animation-delay: -4.5s; }
.stat-float-box h4 {
    font-family: 'JetBrains Mono'; font-size: 3.2rem; color: #fff; font-weight: 700;
    margin-bottom: 5px; text-shadow: 0 0 20px var(--accent-glow); line-height: 1;
}
.stat-float-box h4 span { color: var(--accent); }
.stat-float-box p { color: var(--accent-light); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-top: 10px; }
@media(max-width: 1000px) {
    .stats-wrapper { flex-direction: column; gap: 30px; padding: 40px 5%; min-height: auto; }
    .stat-float-box { width: 100%; top: 0 !important; animation: none; }
    .connecting-line { display: none; }
}

/* Featured quote word-by-word effect */
.featured-quote-section { padding: 140px 0; position: relative; z-index: 10; max-width: 1100px; margin: 0 auto; text-align: center; }
.featured-quote-text {
    font-family: 'Sora', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700; line-height: 1.6; font-style: italic; margin-bottom: 50px; letter-spacing: -1px;
}
.featured-quote-text .word { display: inline; color: rgba(255, 255, 255, 0.15); transition: color 0.1s ease; white-space: pre-wrap; }
.featured-quote-text .word.lit { color: #AFB9F6; }
.featured-author { display: flex; align-items: center; justify-content: center; gap: 20px; }
.featured-avatar {
    width: 70px; height: 70px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(120,130,238,0.2), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Sora'; font-weight: 800; border: 2px solid var(--accent-light);
    box-shadow: 0 10px 25px rgba(120,130,238,0.4); font-size: 1.3rem; color: #fff;
}
.featured-name { font-size: 1.3rem; font-weight: 700; color: #fff; text-align: left; line-height: 1.2; margin-bottom: 5px; }
.featured-role { font-family: 'JetBrains Mono'; font-size: 0.9rem; color: var(--accent-light); text-align: left; }

/* Tab section */
.tab-section { padding: 100px 0 160px; background: rgba(15,20,35,0.2); border-top: 1px solid var(--border); }
.process-tabs { justify-content: center; margin-left: auto; margin-right: auto; }
.tab-count {
    font-size: 0.72rem; background: rgba(255,255,255,0.15); padding: 2px 8px;
    border-radius: 100px; font-weight: 700; color: #fff;
}
.process-tab.active .tab-count { background: rgba(0,0,0,0.3); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeInPanel 0.5s ease forwards; }

/* Testimonial cards */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.glass-card.featured-candidate:hover { border-color: rgba(167, 139, 250, 0.5); box-shadow: inset 0 1px 0 rgba(167, 139, 250, 0.2), 0 20px 40px rgba(0,0,0,0.4); }
.card-type-label { font-family: 'JetBrains Mono'; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 25px; }
.label-company { color: var(--accent-light); }
.label-candidate { color: var(--purple); }
.testimonial-quote {
    font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; flex: 1; font-style: italic;
    margin-bottom: 35px; position: relative; z-index: 1;
}
.testimonial-quote::before {
    content: '\201C'; color: var(--accent); font-size: 2.5rem; font-family: 'Sora';
    line-height: 0; vertical-align: -0.4rem; margin-right: 8px; opacity: 0.8;
}
.candidate-card .testimonial-quote::before { color: var(--purple); }
.testimonial-meta { border-top: 1px solid var(--border); padding-top: 25px; display: flex; align-items: center; gap: 15px; position: relative; z-index: 1; }
.testimonial-avatar {
    width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-family: 'Sora'; font-weight: 800; color: #fff;
    font-size: 1rem; flex-shrink: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.avatar-company { background: linear-gradient(135deg, rgba(120,130,238,0.1), var(--accent)); border: 1px solid var(--accent); }
.avatar-candidate { background: linear-gradient(135deg, rgba(167,139,250,0.1), var(--purple)); border: 1px solid var(--purple); }
.testimonial-name { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.testimonial-role { font-family: 'JetBrains Mono'; font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; }

/* CTA section */
.cta-section { padding: 120px 0; background: rgba(3, 4, 8, 0.8); border-top: 1px solid var(--border); text-align: center; }
.cta-inner { max-width: 800px; margin: 0 auto; }
.cta-heading { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 800; margin-bottom: 20px; line-height: 1.1; letter-spacing: -1.5px; }
.cta-desc { font-size: 1.15rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 50px; }

/* ─── MOBILE ─── */
@media(max-width: 768px) {
    .page-hero { padding: 110px 5% 40px; }
    .page-hero h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
    .featured-quote-section { padding: 80px 5%; }
    .featured-quote-text { font-size: clamp(1.3rem, 5vw, 1.8rem); }
    .tab-section { padding: 60px 0 80px; }
    .testimonial-grid { grid-template-columns: 1fr; gap: 25px; }
    .cta-section { padding: 70px 5%; }
    .cta-heading { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    .cta-inner > div { flex-direction: column; align-items: center; }
}
