@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@400;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ============================================================
   PT-STYLE.CSS  •  Brand color: #25585e
   ============================================================ */

:root {
    --brand:        #25585e;
    --brand-dark:   #1a3e43;
    --brand-light:  #e8f3f4;
    --text:         #1a1a1a;
    --text-muted:   #6b7280;
    --border:       #e2e2e2;
    --bg-page:      #e8ecef;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-page);
    color: var(--text);
    min-height: 100vh;
}

/* ── NAV ── */
.pt-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0 30px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.pt-logo {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
}
.pt-nav-links { display: flex; gap: 30px; }
.pt-nav-links a { color: #444; text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.pt-nav-links a:hover { color: var(--brand); }

/* ── PAGE ── */
.pt-page { max-width: 1180px; margin: 0 auto; padding: 0 20px 60px; }

.pt-breadcrumb { padding: 14px 0; font-size: 0.85rem; color: #777; }
.pt-breadcrumb a { color: #555; text-decoration: none; }
.pt-breadcrumb a:hover { text-decoration: underline; }

/* ── HERO BANNER ── */
.pt-hero {
    background: var(--brand);
    border-radius: 8px 8px 0 0;
    text-align: center;
    padding: 50px 30px 45px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.pt-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0) 70%);
}
.pt-hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 18px;
    position: relative;
}
.pt-hero-badge {
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.pt-hero h1 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
}
.pt-hero p {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    position: relative;
}

/* ── TEST BODY ── */
.pt-test-body {
    background: #fff;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.pt-wave {
    display: block;
    width: 100%;
    height: 50px;
    overflow: hidden;
    line-height: 0;
}

/* ── SCALE LEGEND ── */
.pt-scale-legend {
    display: flex;
    justify-content: center;
    background: var(--brand);
    border-radius: 4px;
    overflow: hidden;
    max-width: 600px;
    margin: 30px auto 10px;
}
.pt-scale-legend span {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.pt-test-header-wrap, .pt-test-questions-wrap { padding: 0 80px; }

/* ── QUESTIONS ── */
.pt-question {
    padding: 40px 80px;
    border-bottom: 1px solid #ebebeb;
    text-align: center;
    transition: opacity 0.3s;
}
.pt-question:last-of-type { border-bottom: none; }
.pt-question.unanswered { opacity: 0.45; }

.pt-question-num { font-size: 1.2rem; font-weight: 700; color: #1a1a1a; line-height: 1.5; }
.pt-question-text { font-size: 1.15rem; line-height: 1.5; color: #222; }

/* ── LIKERT CIRCLES ── (exact PT colors) */
.pt-likert {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
}
.pt-likert-option { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.pt-likert-option input[type="radio"] { display: none; }

.pt-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 3px solid;
    background: transparent;
    display: block;
    transition: background 0.15s, transform 0.12s;
}

.pt-likert-option:nth-child(1) .pt-circle { border-color: #8b1a1a; }
.pt-likert-option:nth-child(2) .pt-circle { border-color: #c0392b; }
.pt-likert-option:nth-child(3) .pt-circle { border-color: #b8960a; }
.pt-likert-option:nth-child(4) .pt-circle { border-color: #3d4a8a; }
.pt-likert-option:nth-child(5) .pt-circle { border-color: #1a2766; }

.pt-likert-option:nth-child(1) input:checked ~ .pt-circle { background:#8b1a1a; transform:scale(1.1); }
.pt-likert-option:nth-child(2) input:checked ~ .pt-circle { background:#c0392b; transform:scale(1.1); }
.pt-likert-option:nth-child(3) input:checked ~ .pt-circle { background:#b8960a; transform:scale(1.1); }
.pt-likert-option:nth-child(4) input:checked ~ .pt-circle { background:#3d4a8a; transform:scale(1.1); }
.pt-likert-option:nth-child(5) input:checked ~ .pt-circle { background:#1a2766; transform:scale(1.1); }

.pt-likert-labels {
    display: flex;
    justify-content: space-between;
    max-width: 376px;
    margin: 12px auto 0;
}
.pt-likert-labels span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #555;
}

/* ── SUBMIT ── */
.pt-submit-wrap { text-align: center; padding: 40px 0 60px; }
.pt-btn-score {
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 14px 52px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}
.pt-btn-score:hover { background: var(--brand-dark); }

/* ── POP QUIZ PILLS ── */
.pt-popquiz-options { max-width: 560px; margin: 28px auto 0; display: flex; flex-direction: column; gap: 12px; }
.pt-popquiz-opt {
    display: block;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 30px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    width: 100%;
    text-align: left;
}
.pt-popquiz-opt:hover { border-color: var(--brand); background: var(--brand-light); }
.pt-popquiz-opt.correct { border-color: #1a7a4a; background: #e8f8ef; color: #0e5c35; font-weight: 600; }
.pt-popquiz-opt.incorrect { border-color: #c0392b; background: #fdecea; color: #8b1a1a; }
.pt-popquiz-opt.disabled { cursor: default; }

/* ══════════════════
   RESULTS — LIKERT
   ══════════════════ */
.pt-results-hero {
    background: var(--brand);
    border-radius: 8px 8px 0 0;
    text-align: center;
    padding: 40px 30px;
    color: #fff;
}
.pt-results-hero h1 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
}
.pt-results-wrap { background: var(--brand); border-radius: 0 0 8px 8px; padding: 0 30px 40px; }
.pt-results-card {
    background: #fff;
    border-radius: 10px;
    padding: 35px 40px 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.pt-results-inner { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.pt-chart-title { font-size: 1.15rem; font-weight: 700; color: #1a1a1a; margin-bottom: 18px; }
.pt-chart-area { position: relative; }
.pt-chart-area svg { display: block; width: 100%; height: auto; }

.pt-you-label {
    background: var(--brand);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
}

.pt-rubric-legend h3 { font-size: 1.05rem; font-weight: 700; color: #1a1a1a; margin-bottom: 16px; }
.pt-rubric-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--text);
}
.pt-rubric-row.active { background: var(--brand); color: #fff; font-weight: 700; }
.pt-rubric-score { font-weight: 700; min-width: 52px; }
.pt-rubric-dash { color: #aaa; }
.pt-rubric-row.active .pt-rubric-dash { color: rgba(255,255,255,0.6); }

.pt-result-desc-box { margin-top: 18px; padding: 16px; background: #f8fafc; border-radius: 8px; font-size: 0.92rem; line-height: 1.6; color: #444; }
.pt-chart-footnote { font-size: 0.78rem; color: #888; margin-top: 16px; line-height: 1.5; }
.pt-chart-footnote span { color: var(--brand); }

.pt-result-ctas { display: flex; justify-content: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.pt-cta-btn {
    padding: 11px 26px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid #ccc;
    background: #fff;
    color: #333;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.pt-cta-btn:hover { border-color: var(--brand); color: var(--brand); }

/* ══════════════════
   RESULTS — POP QUIZ
   ══════════════════ */
.pt-popresult-wrap {
    background: #e0eaeb;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 50px 20px;
}
.pt-popresult-card {
    background: #edf3f4;
    border-radius: 20px;
    padding: 45px 55px;
    max-width: 560px;
    width: 100%;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}
.pt-ring-wrap { width: 160px; height: 160px; margin: 0 auto 28px; position: relative; }
.pt-ring-wrap svg { position: absolute; inset: 0; }
.pt-ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pt-ring-score { font-size: 2rem; font-weight: 800; color: var(--text); line-height: 1; }
.pt-ring-sublabel { font-size: 0.8rem; color: #666; font-weight: 500; margin-top: 4px; line-height: 1.3; }
.pt-popresult-card h2 { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.9rem; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.pt-popresult-card p { font-size: 1rem; line-height: 1.7; color: #444; }
.pt-popresult-card a { color: var(--brand); }
.pt-popresult-divider { border: none; border-top: 1px solid #c8d6d8; margin: 28px 0 20px; }
.pt-popresult-invite { font-size: 0.9rem; color: #666; text-decoration: none; }

/* ── HOME PAGE ── */
.pt-home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-top: 30px; }
.pt-test-card {
    background: #fff;
    border-radius: 8px;
    padding: 26px 22px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    transition: box-shadow 0.2s, border-color 0.2s;
    display: block;
}
.pt-test-card:hover { box-shadow: 0 6px 20px rgba(37,88,94,0.15); border-color: var(--brand); }
.pt-test-card-type { font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.pt-test-card h2 { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.3rem; font-weight: 700; color: var(--text); }
.pt-test-card-meta { font-size: 0.85rem; color: #888; margin-top: 10px; }
/* ── RESPONSIVENESS ── */
@media (max-width: 768px) {
    .pt-page { padding: 0 10px 40px; }
    .pt-hero { padding: 40px 20px; }
    .pt-hero h1 { font-size: 1.8rem; }
    .pt-test-header-wrap, .pt-test-questions-wrap { padding: 0 15px; }
    
    .pt-question { padding: 30px 10px; }
    .pt-question-num { font-size: 1.1rem; }
    .pt-question-text { font-size: 1.05rem; }

    .pt-likert { gap: 8px; }
    .pt-circle { width: 44px; height: 44px; border-width: 2px; }
    
    .pt-scale-legend { margin: 20px 0 10px; }
    .pt-scale-legend span { font-size: 0.65rem; padding: 8px 4px; }
    
    .pt-likert-labels { max-width: 100%; }
    .pt-likert-labels span { font-size: 0.65rem; }

    .pt-results-inner { grid-template-columns: 1fr; gap: 30px; }
    .pt-results-card { padding: 25px 20px; }
    .pt-results-hero h1 { font-size: 2.2rem; }
    
    .pt-popresult-card { padding: 30px 25px; }
    .pt-popquiz-opt { padding: 12px 20px; font-size: 0.95rem; }
}
