.interview-page { background: var(--bg); }

/* Hero */
.prep-hero { position: relative; padding: 140px 0 80px; text-align: center; overflow: hidden; background: linear-gradient(180deg, #b2ebf2 0%, #e0f7fa 40%, #f0fdff 100%); }
.prep-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 70%, rgba(0,180,216,0.12) 0%, transparent 50%), radial-gradient(ellipse at 70% 30%, rgba(249,115,22,0.08) 0%, transparent 50%); }
.prep-hero-content { position: relative; max-width: 800px; margin: 0 auto; }
.prep-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; color: var(--text-heading); margin-bottom: 20px; line-height: 1.15; }
.prep-hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 650px; margin: 0 auto 36px; line-height: 1.8; }

/* How It Works Grid */
.hiw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hiw-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); transition: all 0.3s; position: relative; }
.hiw-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hiw-num { position: absolute; top: 16px; right: 20px; font-size: 2.5rem; font-weight: 800; color: rgba(0,119,182,0.08); }
.hiw-card h3 { font-size: 1.05rem; color: var(--text-heading); margin-bottom: 10px; }
.hiw-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Audience */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.audience-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: all 0.3s; }
.audience-card:hover { transform: translateY(-4px); border-color: var(--ocean); }
.audience-icon { font-size: 2rem; margin-bottom: 12px; }
.audience-card h3 { font-size: 1.05rem; color: var(--text-heading); margin-bottom: 8px; }
.audience-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Pricing */
.pricing-single { max-width: 480px; margin: 0 auto; }
.pricing-hero-card { background: var(--bg-card); border: 3px solid var(--coral); border-radius: var(--radius-lg); padding: 48px 40px; text-align: center; box-shadow: var(--shadow-lg); }
.pricing-amount { font-size: 4rem; font-weight: 800; color: var(--ocean); }
.pricing-per { font-size: 1rem; color: var(--text-muted); margin-bottom: 28px; }
.pricing-includes { text-align: left; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-includes li { font-size: 0.92rem; color: var(--text); font-weight: 500; }
.pricing-note { font-size: 0.82rem; color: var(--text-muted); font-style: italic; margin-top: 12px; }

/* Wizard */
.wizard-progress { margin-bottom: 40px; }
.progress-steps { display: flex; align-items: center; justify-content: center; }
.progress-step { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 70px; }
.progress-dot { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; border: 3px solid var(--border); color: var(--text-muted); background: #fff; transition: all 0.3s; }
.progress-step.active .progress-dot { background: var(--ocean); border-color: var(--ocean); color: #fff; }
.progress-step.done .progress-dot { background: var(--palm); border-color: var(--palm); color: #fff; }
.progress-step span { font-size: 0.7rem; font-weight: 600; color: var(--text-muted); }
.progress-step.active span { color: var(--ocean); }
.progress-step.done span { color: var(--palm); }
.progress-line { width: 36px; height: 3px; background: var(--border); border-radius: 2px; margin-bottom: 20px; }

.wizard-step { display: none; }
.wizard-step.active { display: block; }
.step-card { max-width: 900px; margin: 0 auto; }
.step-card h2 { font-size: 1.6rem; font-weight: 800; color: var(--text-heading); margin-bottom: 8px; text-align: center; }
.step-card > p { color: var(--text-muted); text-align: center; margin-bottom: 32px; }

/* Step 1 */
.upload-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.upload-box { border: 3px dashed var(--ocean-light); border-radius: 16px; padding: 40px 24px; text-align: center; cursor: pointer; transition: all 0.3s; background: #f8fafc; }
.upload-box:hover { border-color: var(--ocean); background: #f0f9ff; }
.upload-box .upload-icon { font-size: 2.8rem; margin-bottom: 8px; }
.upload-box h3 { font-size: 1rem; color: var(--text-heading); margin-bottom: 4px; }
.upload-box p { font-size: 0.88rem; color: var(--text-muted); }
.upload-box span { font-size: 0.78rem; color: var(--text-muted); }
.upload-box.uploaded { border-color: var(--palm); border-style: solid; background: #f0fdf4; }
.upload-status { margin-top: 8px; font-size: 0.85rem; font-weight: 600; }
.jd-paste-area { margin-bottom: 24px; }
.jd-paste-area label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.jd-paste-area textarea { width: 100%; min-height: 120px; padding: 14px; border: 2px solid var(--border); border-radius: 12px; font-size: 0.92rem; font-family: inherit; resize: vertical; outline: none; color: var(--text); }
.jd-paste-area textarea:focus { border-color: var(--ocean); }

/* Step 2 */
.match-card { display: flex; gap: 40px; align-items: center; background: #fff; border: 2px solid var(--ocean); border-radius: 20px; padding: 36px; margin-bottom: 28px; box-shadow: var(--shadow); }
.match-circle-wrap { text-align: center; min-width: 140px; }
.match-circle { width: 120px; height: 120px; border-radius: 50%; border: 6px solid var(--ocean); display: flex; align-items: center; justify-content: center; font-size: 2.4rem; font-weight: 800; color: var(--ocean); margin: 0 auto 8px; }
.match-verdict { font-size: 0.92rem; font-weight: 700; }
.match-info { flex: 1; }
.match-info h3 { font-size: 1.1rem; color: var(--text-heading); margin-bottom: 16px; }
.match-bar-item { margin-bottom: 12px; }
.match-bar-label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; display: flex; justify-content: space-between; }
.match-bar { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.match-bar-fill { height: 100%; border-radius: 4px; transition: width 0.8s; }

.match-strengths-gaps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.msg-col { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.msg-col h4 { font-size: 0.88rem; font-weight: 800; margin-bottom: 12px; }
.msg-col ul { padding-left: 18px; }
.msg-col li { font-size: 0.88rem; color: var(--text); margin-bottom: 6px; }

/* Step 3 */
.q-category { margin-bottom: 28px; }
.q-cat-header { padding: 12px 20px; border-radius: 10px; font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.q-cat-header.must { background: #fee2e2; }
.q-cat-header.should { background: #fef3c7; }
.q-cat-header.good { background: #dcfce7; }
.q-cat-header span { font-weight: 800; }
.q-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; margin-bottom: 8px; display: flex; gap: 12px; }
.q-num { font-weight: 800; color: var(--ocean); min-width: 24px; font-size: 0.85rem; }
.q-text { font-size: 0.92rem; color: var(--text-heading); }

/* Step 4 */
.prep-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.prep-q { padding: 16px 20px; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: background 0.2s; }
.prep-q:hover { background: #f8fafc; }
.prep-q .prep-badge { font-size: 0.6rem; font-weight: 800; padding: 3px 8px; border-radius: 4px; flex-shrink: 0; text-transform: uppercase; }
.prep-badge.must { background: #fee2e2; color: #991b1b; }
.prep-badge.should { background: #fef3c7; color: #92400e; }
.prep-badge.good { background: #dcfce7; color: #166534; }
.prep-q h4 { flex: 1; font-size: 0.9rem; font-weight: 600; color: var(--text-heading); }
.prep-q .arrow { color: var(--text-muted); transition: transform 0.2s; }
.prep-item.open .prep-q .arrow { transform: rotate(180deg); }
.prep-body { display: none; padding: 0 20px 20px; border-top: 1px solid var(--border); }
.prep-item.open .prep-body { display: block; padding-top: 16px; }
.prep-coach { background: #f0f9ff; border-radius: 10px; padding: 16px; margin-bottom: 14px; }
.prep-coach h5 { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--ocean); margin-bottom: 8px; }
.prep-coach p { font-size: 0.88rem; color: var(--text); line-height: 1.7; }
.prep-body textarea { width: 100%; padding: 12px; border: 2px solid var(--border); border-radius: 10px; font-size: 0.88rem; font-family: inherit; resize: vertical; min-height: 80px; outline: none; color: var(--text); }
.prep-body textarea:focus { border-color: var(--ocean); }
.prep-saved { font-size: 0.78rem; color: var(--palm); font-weight: 600; margin-top: 6px; display: none; }

.prep-progress-wrap { margin: 28px 0; text-align: center; }
.prep-bar { width: 100%; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.prep-bar-fill { height: 100%; background: var(--gradient); border-radius: 4px; transition: width 0.3s; width: 0; }
#prepCount { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; margin-top: 8px; display: inline-block; }

/* Step 5 */
.interview-room { display: grid; grid-template-columns: 5fr 3fr; gap: 24px; margin-bottom: 20px; }
.ir-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.ir-video { aspect-ratio: 4/3; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ir-video.you { background: #1e293b; color: #94a3b8; }
.ir-video.ai { background: linear-gradient(135deg, #0c4a6e, #164e63); color: #67e8f9; }
.ir-vid-icon { font-size: 2.5rem; margin-bottom: 6px; }
.ir-video span { font-size: 0.82rem; font-weight: 600; }
.ir-controls { display: flex; gap: 10px; justify-content: center; }
.ir-btn { padding: 10px 18px; border: 2px solid var(--border); border-radius: 10px; background: #fff; font-size: 0.82rem; font-weight: 600; cursor: pointer; font-family: inherit; color: var(--text); transition: all 0.2s; }
.ir-btn:hover { border-color: var(--ocean); }
.ir-btn.end { border-color: var(--danger); color: var(--danger); }
.ir-btn.end:hover { background: var(--danger); color: #fff; }
.ir-btn.on { background: var(--ocean); color: #fff; border-color: var(--ocean); }

.ir-sidebar { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.ir-current-q { background: #f0f9ff; border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.ir-q-label { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; color: var(--ocean); }
#irQuestion { font-size: 0.92rem; color: var(--text-heading); margin-top: 6px; font-weight: 500; }
.ir-q-counter { font-size: 0.75rem; color: var(--text-muted); margin-top: 6px; display: block; }
.ir-transcript h4 { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.ir-transcript-content { max-height: 180px; overflow-y: auto; background: #f8fafc; border-radius: 8px; padding: 12px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }
.ir-placeholder { font-style: italic; }
.iv-note { padding: 14px; background: #fef3c7; border-radius: 10px; font-size: 0.82rem; color: #92400e; }

/* Step 6 */
.readiness-hero { text-align: center; padding: 48px; background: #fff; border-radius: 20px; border: 2px solid var(--border); margin-bottom: 28px; box-shadow: var(--shadow); }
.readiness-big-score { display: inline; font-size: 5rem; font-weight: 800; }
.readiness-pct { display: inline; font-size: 2rem; font-weight: 800; color: var(--text-muted); }
.readiness-label { font-size: 0.92rem; color: var(--text-muted); font-weight: 600; margin-top: 4px; }
.readiness-verdict { font-size: 1.3rem; font-weight: 800; margin-top: 12px; }
.verdict-ready { color: var(--palm); }
.verdict-almost { color: var(--warning); }
.verdict-needs-work { color: var(--danger); }

.readiness-breakdown { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; margin-bottom: 24px; }
.rb-item { display: flex; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.rb-item:last-child { border-bottom: none; }
.rb-label { min-width: 160px; font-size: 0.88rem; color: var(--text); font-weight: 500; }
.rb-bar { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.rb-bar-fill { height: 100%; border-radius: 4px; }
.rb-score { min-width: 40px; text-align: right; font-weight: 800; font-size: 0.88rem; }

.readiness-feedback { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; margin-bottom: 28px; }
.readiness-feedback h3 { font-size: 1.1rem; color: var(--text-heading); margin-bottom: 16px; }
.fb-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.fb-item:last-child { border-bottom: none; }
.fb-item h4 { font-size: 0.88rem; color: var(--text-heading); margin-bottom: 4px; }
.fb-item p { font-size: 0.85rem; color: var(--text-muted); }
.readiness-actions { display: flex; gap: 16px; justify-content: center; }

.hidden { display: none !important; }

@media (max-width: 968px) {
    .hiw-grid, .audience-grid { grid-template-columns: 1fr; }
    .upload-pair, .match-strengths-gaps { grid-template-columns: 1fr; }
    .match-card { flex-direction: column; text-align: center; }
    .interview-room { grid-template-columns: 1fr; }
    .ir-videos { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .progress-step span { display: none; }
    .progress-dot { width: 28px; height: 28px; font-size: 0.7rem; }
    .progress-line { width: 16px; }
}
