/* ============================================
   positionOS Interview — Design System
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    background: #fff;
    font-size: 0.95rem;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   Nav
   ============================================ */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 64px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-logo {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.logo-position {
    color: #111;
}

.logo-os {
    color: #f97316;
}

.logo-interview {
    font-weight: 400;
    color: #111;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    transition: color 0.15s;
}

.nav-link:hover {
    color: #111;
}

.nav-cta {
    background: #111;
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.15s;
    border: none;
    cursor: pointer;
}

.nav-cta:hover {
    background: #333;
}

/* ============================================
   Hero
   ============================================ */
.hero-wrap {
    background: url('/static/hero-bg.png') center 30% / cover no-repeat;
    position: relative;
}

.hero-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero {
    text-align: center;
    padding: 100px 24px 72px;
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.65;
    max-width: 780px;
    margin: 0 auto 36px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-trust {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 28px;
    letter-spacing: 0.2px;
}

/* Hero-specifikus gomb felülírások */
.hero-wrap .hero-btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}

.hero-wrap .hero-btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    background: #f97316;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}

.hero-btn-primary:hover {
    background: #ea580c;
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    background: #fff;
    color: #111;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}

.hero-btn-secondary:hover {
    border-color: #ccc;
    background: #fafafa;
}

/* ============================================
   Sections
   ============================================ */
.section-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111;
    text-align: center;
    margin-bottom: 40px;
}

/* How it works */
.how-it-works {
    padding: 60px 0 80px;
    background: #f5f5f7;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffedd5;
    color: #f97316;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

/* Features */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ffedd5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    border-top: 1px solid #f0f0f0;
    padding: 48px 32px 0;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
}

.footer-brand {
    flex: 1.2;
}

.footer-brand-name {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.6;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 0.82rem;
    color: #888;
    transition: color 0.15s;
}

.footer-col a:hover {
    color: #f97316;
}

.footer-bottom {
    max-width: 900px;
    margin: 32px auto 0;
    padding: 16px 0;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #aaa;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
}

/* ============================================
   Form Card (shared)
   ============================================ */
.form-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.form-card-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #1a1a1a;
    background: #fff;
    transition: border-color 0.15s;
}

.form-input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.form-group {
    flex: 1;
}

.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #1a1a1a;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.15s;
    background: #fff;
}

.form-textarea:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea::placeholder {
    color: #999;
}

.form-divider-text {
    text-align: center;
    color: #999;
    font-size: 0.82rem;
    margin: 16px 0;
    position: relative;
}

.form-divider-text::before,
.form-divider-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 20px);
    height: 1px;
    background: #eee;
}

.form-divider-text::before { left: 0; }
.form-divider-text::after { right: 0; }

/* File upload */
.file-upload-area {
    position: relative;
    border: 2px dashed #e5e7eb;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
}

.file-upload-area:hover,
.file-upload-area.drag-over {
    border-color: #f97316;
    background: #fff7ed;
}

.file-upload-area.file-selected {
    border-color: #059669;
    background: #ecfdf5;
}

.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.file-upload-text {
    font-size: 0.85rem;
    color: #999;
}

/* Radio group */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.15s;
}

.radio-option:hover {
    border-color: #f97316;
}

.radio-option input[type="radio"] {
    accent-color: #f97316;
}

.radio-option input[type="radio"]:checked + .radio-label {
    color: #f97316;
    font-weight: 600;
}

.radio-option:has(input:checked) {
    border-color: #f97316;
    background: #fff7ed;
}

.radio-label {
    font-size: 0.9rem;
    color: #555;
}

/* ============================================
   Setup page
   ============================================ */
.setup-page {
    background: #f5f5f7;
    min-height: calc(100vh - 64px);
    padding: 40px 32px 80px;
}

.setup-inner {
    max-width: 640px;
    margin: 0 auto;
}

.setup-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
}

.setup-subtitle {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 32px;
}

/* URL parse row */
.url-parse-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.url-parse-row .form-input {
    flex: 1;
}

.url-parse-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.url-parse-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.parse-status {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.parse-status-loading {
    background: #ffedd5;
    color: #9a3412;
    display: flex;
    align-items: center;
    gap: 10px;
}

.parse-status-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #bbf7d0;
}

.parse-status-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.spinner-small {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-top-color: #f97316;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

.setup-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
    margin-top: 8px;
}

/* ============================================
   Session page (live interview)
   ============================================ */
.session-page {
    background: #f5f5f7;
    height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.session-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 32px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.session-timer {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    font-variant-numeric: tabular-nums;
}

.session-interviewer {
    text-align: center;
}

.interviewer-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
    display: block;
}

.interviewer-company {
    font-size: 0.78rem;
    color: #999;
}

.session-status {
    font-size: 0.82rem;
    color: #64748b;
}

/* Voice circle */
.session-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
}

.voice-circle-container {
    text-align: center;
}

.voice-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    transition: all 0.3s;
}

.voice-circle-inner {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: relative;
    z-index: 2;
}

/* Idle state */
.voice-circle.idle {
    background: #e5e7eb;
}

.voice-circle.idle .voice-circle-inner {
    color: #999;
}

/* AI speaking */
.voice-circle.ai-speaking {
    background: #f97316;
    animation: pulse-ai 1.5s ease-in-out infinite;
}

.voice-circle.ai-speaking .voice-circle-inner {
    color: #f97316;
}

@keyframes pulse-ai {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    50% { box-shadow: 0 0 0 24px rgba(37, 99, 235, 0); }
}

/* User speaking */
.voice-circle.user-speaking {
    background: #059669;
    animation: pulse-user 1s ease-in-out infinite;
}

.voice-circle.user-speaking .voice-circle-inner {
    color: #059669;
}

@keyframes pulse-user {
    0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(5, 150, 105, 0); }
}

.voice-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
}

/* Camera preview */
.camera-preview-wrapper {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 50;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.8);
    background: #000;
}

.camera-preview-wrapper video {
    display: block;
    width: 180px;
    height: auto;
    transform: scaleX(-1);
}

/* Transcript */
.session-transcript-box {
    padding: 0 32px 16px;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    flex-shrink: 1;
    min-height: 0;
    overflow: hidden;
}

.transcript-card {
    padding: 20px 24px;
    max-height: 160px;
    overflow-y: auto;
}

.transcript-content {
    font-size: 0.9rem;
    color: #1a1a1a;
    line-height: 1.6;
}

.transcript-placeholder {
    color: #999;
    text-align: center;
    font-style: italic;
}

.transcript-line {
    margin-bottom: 8px;
    padding: 4px 0;
}

.transcript-line .speaker {
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
}

.transcript-line .speaker.ai { color: #f97316; }
.transcript-line .speaker.user { color: #059669; }

/* Controls */
.session-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 32px 32px;
}

.control-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}

.mute-btn {
    background: #fff;
    color: #111;
    border: 1px solid #eee;
}

.mute-btn:hover {
    border-color: #ccc;
    background: #fafafa;
}

.mute-btn.muted {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fca5a5;
}

.end-btn {
    background: #dc2626;
    color: #fff;
}

.end-btn:hover {
    background: #b91c1c;
}

/* ============================================
   Result page
   ============================================ */
.result-page {
    background: #f5f5f7;
    min-height: calc(100vh - 64px);
    padding: 40px 32px 80px;
}

.result-inner {
    max-width: 700px;
    margin: 0 auto;
}

.result-header {
    margin-bottom: 24px;
}

.result-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 4px;
}

.result-meta {
    font-size: 0.85rem;
    color: #64748b;
}

.advance-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

/* Communication assessment */
.comm-score-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.comm-score-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
}

.comm-score-value {
    font-size: 1.1rem;
    font-weight: 800;
}

.text-pass { color: #059669; }
.text-partial { color: #d97706; }
.text-fail { color: #dc2626; }

.eval-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.eval-grid-item {
    padding: 12px 16px;
    background: #f5f5f7;
    border-radius: 8px;
}

.eval-grid-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.eval-grid-value {
    font-size: 0.85rem;
    color: #1a1a1a;
    line-height: 1.5;
}

.comm-warnings {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.comm-warning-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
}

.warn-flag {
    background: #fffbeb;
    color: #92400e;
    padding: 6px 14px;
    border-radius: 20px;
}

.comm-suggestions {
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

/* Gap analysis */
.gap-section {
    margin-bottom: 20px;
}

.gap-section:last-child {
    margin-bottom: 0;
}

.gap-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 10px;
}

.gap-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gap-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
}

.gap-tag-red {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.gap-tag-yellow {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Score card */
.score-card {
    text-align: center;
    padding: 40px 32px;
}

.score-circle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.score-pass {
    background: #ecfdf5;
    border: 3px solid #bbf7d0;
}

.score-pass .score-number {
    color: #059669;
}

.score-partial {
    background: #fffbeb;
    border: 3px solid #fde68a;
}

.score-partial .score-number {
    color: #d97706;
}

.score-fail {
    background: #fef2f2;
    border: 3px solid #fca5a5;
}

.score-fail .score-number {
    color: #dc2626;
}

.score-number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.score-label {
    font-size: 0.82rem;
    color: #999;
    font-weight: 500;
}

.score-summary {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
}

/* Question evaluations */
.question-eval {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.question-eval:last-child {
    margin-bottom: 0;
}

.eval-pass { background: #ecfdf5; }
.eval-partial { background: #fffbeb; }
.eval-fail { background: #fef2f2; }

.eval-header {
    margin-bottom: 12px;
}

.eval-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-pass {
    background: #bbf7d0;
    color: #065f46;
}

.badge-partial {
    background: #fde68a;
    color: #92400e;
}

.badge-fail {
    background: #fca5a5;
    color: #991b1b;
}

.eval-question {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.eval-answer {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.5;
}

.eval-answer-label {
    font-weight: 600;
    color: #111;
}

.eval-feedback {
    font-size: 0.85rem;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.5;
}

.eval-better {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    padding-top: 8px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.eval-better-label {
    font-weight: 600;
    color: #111;
    display: block;
    margin-bottom: 4px;
}

/* Tips */
.tips-list {
    list-style: none;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: #1a1a1a;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.tip-item:last-child {
    border-bottom: none;
}

.tip-item svg {
    flex-shrink: 0;
    margin-top: 3px;
}

/* Result actions */
.result-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* ============================================
   Spinner
   ============================================ */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-top-color: #f97316;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Loading overlay
   ============================================ */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(245, 245, 247, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 200;
}

.loading-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
}

/* ============================================
   Auth pages
   ============================================ */
.auth-page {
    background: #f5f5f7;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.auth-card {
    max-width: 420px;
    width: 100%;
}

.auth-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 24px;
}

.auth-submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.auth-footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #555;
}

.auth-link {
    color: #f97316;
    font-weight: 600;
}

/* Google OAuth button */
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 0;
    border: 1.5px solid #dadce0;
    border-radius: 8px;
    background: #fff;
    color: #3c4043;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.google-btn:hover {
    background: #f7f8f8;
    box-shadow: 0 1px 3px rgba(60,64,67,0.15);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 18px 0 14px;
    color: #aaa;
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.auth-divider span {
    padding: 0 14px;
}

.form-field {
    margin-bottom: 16px;
}

.form-hint {
    display: block;
    font-size: 0.78rem;
    color: #999;
    margin-top: 4px;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #bbf7d0;
}

/* ============================================
   Dashboard
   ============================================ */
.dashboard-page {
    background: #f5f5f7;
    min-height: calc(100vh - 64px);
    padding: 40px 32px 80px;
}

.dashboard-inner {
    max-width: 800px;
    margin: 0 auto;
}

.dashboard-header {
    margin-bottom: 24px;
}

.dashboard-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.card-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 0;
}

.status-ok { color: #059669; }
.status-warn { color: #d97706; }

.empty-state {
    color: #999;
    font-size: 0.85rem;
    font-style: italic;
    padding: 12px 0;
}

/* Interview list */
.interview-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.interview-list-item:last-child { border-bottom: none; }

.interview-list-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    display: block;
}

.interview-list-meta {
    font-size: 0.78rem;
    color: #999;
}

.btn-small {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.15s;
}

.btn-secondary {
    background: #f5f5f7;
    color: #111;
    border: 1px solid #eee;
}

.btn-secondary:hover { border-color: #ccc; }

.btn-danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.btn-danger:hover { background: #fee2e2; }

.badge-status {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

/* ============================================
   Profile page
   ============================================ */
.profile-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111;
    margin: 20px 0 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.profile-section-title:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.uploads-list {
    margin-bottom: 8px;
}

.upload-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #f5f5f7;
    border-radius: 8px;
    margin-bottom: 8px;
}

.upload-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.upload-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
}

.upload-meta {
    font-size: 0.78rem;
    color: #999;
}

/* ============================================
   Dashboard Layout — Sidebar + Topbar
   ============================================ */

.has-sidebar {
    background: #f5f5f7;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background: #fff;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    z-index: 200;
    transition: width 0.2s ease;
}

.sidebar-logo {
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-logo a {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-nav {
    flex: 1;
    padding: 12px 8px;
    overflow-y: auto;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    transition: all 0.15s;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-item:hover {
    background: #f5f5f7;
    color: #111;
}

.sidebar-item.active {
    background: #fff7ed;
    color: #f97316;
}

.sidebar-item.active svg {
    stroke: #f97316;
}

.sidebar-item svg {
    flex-shrink: 0;
}

.sidebar-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 8px 12px;
}

.sidebar-bottom {
    padding: 8px;
    border-top: 1px solid #f0f0f0;
}

.sidebar-logout {
    color: #999;
}

.sidebar-logout:hover {
    color: #ef4444;
    background: #fef2f2;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 199;
}

.sidebar-overlay.visible {
    display: block;
}

/* Topbar */
.db-topbar {
    position: fixed;
    top: 0;
    left: 220px;
    right: 0;
    height: 64px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    z-index: 150;
    transition: left 0.2s ease;
}

.db-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.db-topbar-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #555;
    border-radius: 6px;
}

.hamburger-btn:hover {
    background: #f0f0f0;
}

.db-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Profile dropdown */
.db-profile-menu {
    position: relative;
}

.db-profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.15s;
}

.db-profile-btn:hover {
    background: #f5f5f7;
}

.db-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f97316;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.db-profile-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.db-profile-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 6px;
    z-index: 300;
}

.db-profile-dropdown.show {
    display: block;
}

.db-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 7px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #333;
    transition: background 0.12s;
}

.db-dropdown-item:hover {
    background: #f5f5f7;
}

.db-dropdown-logout:hover {
    background: #fef2f2;
    color: #ef4444;
}

.db-dropdown-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 4px 6px;
}

/* Main content area */
.db-main {
    margin-left: 220px;
    margin-top: 64px;
    min-height: calc(100vh - 64px);
    transition: margin-left 0.2s ease;
}

.db-content {
    padding: 32px 28px 80px;
}

.db-content-inner {
    max-width: 800px;
    margin: 0 auto;
}

.db-welcome {
    margin-bottom: 24px;
}

.db-welcome-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111;
}

/* Override setup-page/result-page styles inside dashboard layout */
.has-sidebar .setup-title {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.has-sidebar .setup-subtitle {
    margin-bottom: 24px;
}

/* ============================================
   Dashboard Layout — Responsive
   ============================================ */

/* Tablet: icon-only sidebar */
@media (max-width: 800px) {
    .sidebar {
        width: 64px;
    }

    .sidebar-logo a {
        font-size: 0;
    }

    .sidebar-logo .logo-os {
        font-size: 1.1rem;
    }

    .sidebar-logo .logo-position,
    .sidebar-logo .logo-interview {
        font-size: 0;
    }

    .sidebar-label {
        display: none;
    }

    .sidebar-item {
        justify-content: center;
        padding: 10px;
        gap: 0;
    }

    .db-topbar {
        left: 64px;
    }

    .db-main {
        margin-left: 64px;
    }
}

/* Mobile: hidden sidebar + hamburger */
@media (max-width: 480px) {
    .sidebar {
        width: 220px;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-label {
        display: inline;
    }

    .sidebar-item {
        justify-content: flex-start;
        padding: 10px 12px;
        gap: 12px;
    }

    .sidebar-logo a {
        font-size: 1rem;
    }

    .sidebar-logo .logo-position,
    .sidebar-logo .logo-interview,
    .sidebar-logo .logo-os {
        font-size: inherit;
    }

    .hamburger-btn {
        display: flex;
    }

    .db-topbar {
        left: 0;
    }

    .db-main {
        margin-left: 0;
    }

    .db-profile-name {
        display: none;
    }

    .db-content {
        padding: 24px 16px 60px;
    }
}

/* ============================================
   Nav Dropdown (Blog)
   ============================================ */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-dropdown-toggle::after {
    content: '';
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.5;
    transition: transform 0.15s;
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    padding: 6px 0;
    z-index: 300;
}

/* Invisible bridge to prevent hover gap */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    transition: background 0.12s;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: #f3f4f6;
    color: #111;
}

.nav-dropdown-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 4px 0;
}

.nav-dropdown-all {
    color: #f97316 !important;
    font-weight: 600 !important;
}

/* ============================================
   Blog Tags
   ============================================ */
.blog-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
    align-self: flex-start;
}

.tag-blue { background: #eff6ff; color: #1e40af; }
.tag-amber { background: #fffbeb; color: #92400e; }
.tag-green { background: #ecfdf5; color: #065f46; }

/* ============================================
   Blog Section (Homepage)
   ============================================ */
.section-alt {
    background: #fff;
}

.section-block {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-block h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.8px;
    text-align: center;
    margin-bottom: 12px;
}

.section-sub {
    text-align: center;
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 48px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 28px;
    transition: box-shadow 0.2s, border-color 0.2s;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-color: #ddd;
}

.blog-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
}

.blog-meta {
    font-size: 0.78rem;
    color: #aaa;
    margin-top: 16px;
}

/* ============================================
   Blog Article Page
   ============================================ */
.blog-article {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #f97316;
    margin-bottom: 24px;
}

.blog-back:hover {
    text-decoration: underline;
}

.blog-article-header {
    margin-bottom: 36px;
}

.blog-article-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.blog-article-meta {
    font-size: 0.85rem;
    color: #999;
}

.blog-article-body {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #333;
}

.blog-article-body h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.5px;
    margin: 40px 0 16px;
}

.blog-article-body h2:first-child {
    margin-top: 0;
}

.blog-article-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin: 28px 0 10px;
}

.blog-article-body p {
    margin-bottom: 18px;
}

.blog-article-body ul,
.blog-article-body ol {
    margin: 0 0 18px 20px;
}

.blog-article-body li {
    margin-bottom: 8px;
}

.blog-article-body strong {
    color: #111;
}

.blog-article-body em {
    color: #555;
}

/* Hero illustration */
.blog-article-hero {
    margin-bottom: 40px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff7ed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

/* Tip box (blue) */
.blog-tip-box {
    background: #fff7ed;
    border-left: 4px solid #f97316;
    border-radius: 0 10px 10px 0;
    padding: 18px 22px;
    margin: 24px 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #7c2d12;
}

.blog-tip-box strong {
    color: #9a3412;
}

/* Warning box (amber) */
.blog-warn-box {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: 0 10px 10px 0;
    padding: 18px 22px;
    margin: 24px 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #78350f;
}

.blog-warn-box strong {
    color: #92400e;
}

/* Mistake cards */
.blog-mistake-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
}

.blog-mistake-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #111;
    color: #fff;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-mistake-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.blog-mistake-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

.blog-mistake-fix {
    margin-top: 10px;
    padding: 10px 14px;
    background: #f0fdf4;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #166534;
}

.blog-mistake-fix strong {
    color: #065f46;
}

/* Inline illustration */
.blog-inline-img {
    margin: 28px 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    border: 1px solid #eee;
}

/* CTA box at bottom of article */
.blog-cta-box {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 40px 32px;
    text-align: center;
    margin-top: 48px;
}

.blog-cta-box h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
}

.blog-cta-box p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 24px;
}

/* ============================================
   Cross-promo (blog article)
   ============================================ */
.cross-promo {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #fff7ed 100%);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-top: 24px;
}

.cross-promo-icon {
    flex-shrink: 0;
}

.cross-promo-body {
    flex: 1;
    min-width: 0;
}

.cross-promo-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    margin-bottom: 2px;
}

.cross-promo-body p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.cross-promo-link {
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2563eb;
    white-space: nowrap;
    transition: color 0.15s;
}

.cross-promo-link:hover {
    color: #1d4ed8;
}

/* ============================================
   Cross-section (homepage ecosystem)
   ============================================ */
.cross-section {
    padding: 40px 32px;
    background: #f5f5f7;
}

.cross-inner {
    max-width: 900px;
    margin: 0 auto;
}

.cross-duo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.cross-card {
    flex: 0 1 320px;
    padding: 32px 28px;
    border-radius: 14px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cross-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.cross-card-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.cross-card-cv .cross-card-badge {
    background: #dbeafe;
    color: #1e40af;
}

.cross-card-interview .cross-card-badge {
    background: #ffedd5;
    color: #9a3412;
}

.cross-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
}

.cross-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
}

.cross-card-action {
    font-size: 0.82rem;
    font-weight: 600;
    color: #2563eb;
}

.cross-card-cv:hover .cross-card-action {
    color: #1d4ed8;
}

.cross-card-current {
    border-color: #f97316;
    border-width: 2px;
    cursor: default;
}

.cross-card-current-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #f97316;
}

.cross-connector {
    flex-shrink: 0;
    padding: 0 8px;
}

/* ============================================
   Gate Page (Site Password)
   ============================================ */
.gate-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f7;
    padding: 24px;
}

.gate-card {
    max-width: 380px;
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.gate-logo {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

.gate-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 24px;
}

.gate-submit {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
    cursor: pointer;
}

/* ============================================
   Responsive (public pages)
   ============================================ */
@media (max-width: 768px) {
    .nav {
        padding: 0 16px;
    }

    .hero {
        padding: 60px 20px 48px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-inner {
        padding: 0 16px;
    }

    .setup-page,
    .result-page,
    .dashboard-page {
        padding: 24px 16px 60px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 24px 20px;
    }

    .radio-group {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
    }

    .eval-grid {
        grid-template-columns: 1fr;
    }

    .session-topbar {
        padding: 12px 16px;
    }

    .session-center {
        padding: 24px 16px;
    }

    .voice-circle {
        width: 140px;
        height: 140px;
    }

    .voice-circle-inner {
        width: 90px;
        height: 90px;
    }

    .session-transcript-box {
        padding: 0 16px 16px;
    }

    .session-controls {
        padding: 16px 16px 24px;
    }

    .result-actions {
        flex-direction: column;
    }

    .result-actions .hero-btn-primary,
    .result-actions .hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-article {
        padding: 32px 16px 60px;
    }

    .blog-article-header h1 {
        font-size: 1.6rem;
    }

    .blog-article-hero {
        padding: 28px 16px;
    }

    .blog-inline-img {
        padding: 20px 12px;
    }

    .section-block {
        padding: 48px 16px;
    }

    .cross-promo {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .cross-duo {
        flex-direction: column;
        gap: 0;
    }

    .cross-card {
        flex: none;
        width: 100%;
    }

    .cross-connector {
        padding: 8px 0;
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 48px 16px 40px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .voice-circle {
        width: 120px;
        height: 120px;
    }

    .voice-circle-inner {
        width: 76px;
        height: 76px;
    }

    #mic-icon {
        width: 32px;
        height: 32px;
    }
}
