﻿.black-text,
.gray-text,
.wide {
    color: var(--dash-ink-soft) !important;
}

:root {
    --dash-ink: #19324a;
    --dash-ink-soft: #4b647b;
    --dash-accent: #5b79a6;
    --dash-accent-mid: #4d6f98;
    --dash-accent-deep: #2e4057;
    --dash-accent-light: #6f90bc;
    --dash-highlight: #d6e4f3;
    --dash-surface: #edf2f7;
    --dash-warm: #eef3f8;
}

.black-text {
    color: var(--dash-ink-soft) !important;
}
.gray-text {
    color: var(--dash-ink-soft) !important;
}
.wide {
    width: 100%;
    margin: 0 !important;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
    color: var(--dash-ink-soft) !important;
}
.circle-bg {
    background: linear-gradient(135deg, var(--dash-accent-mid) 0%, var(--dash-accent-light) 100%) !important;
    color: #fff !important;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    margin-bottom: 12px;
}
.btn.btn-white-text {
    color: #fff !important;
}

.result-title {
    text-align: left;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.06;
    margin-bottom: 26px;
    color: var(--dash-ink);
    letter-spacing: -0.03em;
    margin-top: 0;
    padding: 0;
}

.result-likelihood {
    text-align: left;
    font-size: 1.2rem;
    color: var(--dash-ink);
    margin: 20px 0 0 0;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-weight: 600;
    line-height: 1.6;
}

.result-retake {
    text-align: left;
    margin-top: 18px;
}

/* HOME PAGE TYPOGRAPHY CONSISTENCY */
.home-page h1,
.home-page h2 {
    font-family: 'Sora', 'Segoe UI', sans-serif;
    letter-spacing: -0.02em;
}

.home-page h3,
.home-page p,
.home-page a {
    font-family: 'Manrope', 'Segoe UI', sans-serif;
}

.home-page h1 {
    font-size: clamp(1.9rem, 5.2vw, 3rem);
    line-height: 1.15;
}

.home-page h2 {
    font-size: clamp(1.45rem, 3.2vw, 2.1rem);
    line-height: 1.25;
}

.home-page p {
    font-size: clamp(0.9rem, 2.2vw, 1.05rem);
    line-height: 1.6;
}

.home-page a {
    font-size: clamp(0.88rem, 2vw, 1rem);
    font-weight: 700;
}

@media (min-width: 769px) {
    .home-page .symptom-cards h3,
    .home-page .symptom-cards > article > p,
    .home-page .lifestyle-cards h3,
    .home-page .lifestyle-cards > article > p,
    .home-page .awareness-card-text {
        font-size: 0.875rem;
        line-height: 1.45;
    }
}
/* ========================================
   DASHBOARD PAGES - Home, Assessment, Summary
   ======================================== */

/* ========================================
   HOME PAGE STYLES
   ======================================== */

.hero {
    padding: 40px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    width: min(100%, 1400px);
    margin-left: auto;
    margin-right: auto;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.6;
}

.arrow-container {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.arrow-container:hover {
    transform: scale(1.05);
}

.arrow-img {
    width: min(300px, 100%);
}

/* Bottom Banner */
.banner {
    margin: 40px 100px;
    background: #aab4c4;
    border-radius: 40px;
    padding: 30px;
    display: flex;
    justify-content: center;
}

.banner img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
}

/* ========================================
   ASSESSMENT PAGE STYLES
   ======================================== */

.assessment-container {
    padding: 56px 24px 72px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    background:
        radial-gradient(circle at top left, rgba(214, 228, 243, 0.82), transparent 34%),
        radial-gradient(circle at bottom right, rgba(161, 187, 218, 0.34), transparent 30%),
        linear-gradient(135deg, var(--dash-warm) 0%, var(--dash-surface) 48%, #dbe7f2 100%);
    min-height: calc(100vh - 180px);
    position: relative;
    overflow: hidden;
}

.assessment-form {
    width: min(100%, 840px);
    position: relative;
    z-index: 1;
}

.assessment-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(214, 228, 243, 0.62) 0%, rgba(214, 228, 243, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.assessment-container::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(111, 144, 188, 0.18) 0%, rgba(111, 144, 188, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.category-box {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    min-width: 0;
    max-width: 840px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(91,121,166,0.15);
    display: flex;
    flex-direction: column;
    margin: 0;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(91,121,166,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 70px rgba(91,121,166,0.2);
}

.category-header {
    background: linear-gradient(160deg, #27435f 0%, #4d6f98 48%, #6f90bc 100%);
    color: #fff;
    text-align: center;
    padding: 32px 32px 28px;
    letter-spacing: -0.5px;
    flex-shrink: 0;
    border-radius: 32px 32px 0 0;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
}

.assessment-title {
    margin: 0;
    color: white;
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    font-weight: 700;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    position: relative;
    z-index: 1;
}

.category-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    filter: blur(40px);
}

.category-header::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: 10%;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    filter: blur(40px);
}

.category-header span {
    position: relative;
    z-index: 1;
}

.category-content {
    padding: 32px 40px 40px;
    background: white;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    display: grid;
    gap: 18px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: min(68dvh, 760px);
    min-height: min(560px, 68dvh);
    height: clamp(520px, 68dvh, 760px);
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
    overscroll-behavior: contain;
}

.category-content::-webkit-scrollbar {
    width: 10px;
}

.category-content::-webkit-scrollbar-track {
    background: #f5f7fa;
    border-radius: 10px;
}

.category-content::-webkit-scrollbar-thumb {
    background: var(--dash-accent);
    border-radius: 10px;
    border: 2px solid #f5f7fa;
}

.category-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--dash-accent-mid) 0%, var(--dash-accent) 100%);
}

.assessment-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, #f6fbff 0%, #edf4fb 100%);
    border: 1px solid rgba(91, 121, 166, 0.14);
}

.assessment-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dash-accent-mid);
}

.assessment-intro-copy {
    margin: 0;
    max-width: 62ch;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--dash-ink-soft);
}

.assessment-intro-note {
    margin: 10px 0 0 0;
    max-width: 62ch;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--dash-ink-soft);
}

.assessment-intro-note em {
    font-style: italic;
    color: inherit;
}

.assessment-progress {
    min-width: 140px;
    padding: 14px 16px;
    border-radius: 18px;
    background: white;
    border: 1px solid rgba(91, 121, 166, 0.16);
    box-shadow: 0 8px 24px rgba(91, 121, 166, 0.08);
    text-align: center;
}

.assessment-progress-label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6f88a5;
}

.assessment-progress strong {
    font-size: 1.25rem;
    color: var(--dash-ink);
}

.question {
    background: linear-gradient(135deg, #f8fbfd 0%, #f0f6fb 100%);
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 4px 16px rgba(91,121,166,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(91,121,166,0.1);
    position: relative;
    display: grid;
    gap: 14px;
    scroll-margin-top: 24px;
}

.question:hover {
    box-shadow: 0 8px 24px rgba(91,121,166,0.12);
    transform: translateY(-2px);
    border-color: rgba(91,121,166,0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f5f9fc 100%);
}

.question.is-active {
    border-color: rgba(59, 99, 157, 0.38);
    box-shadow: 0 12px 30px rgba(59, 99, 157, 0.14);
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

.question.is-answered {
    border-color: rgba(91, 155, 224, 0.28);
    background: linear-gradient(135deg, #ffffff 0%, #f6fbff 100%);
}

.question.locked {
    opacity: 0.58;
    pointer-events: none;
    box-shadow: none;
}

.question.locked h3 {
    color: #a8b8cf;
}

.question h3 {
    margin: 0;
    color: var(--dash-ink);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    line-height: 1.5;
}

.question .options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.question .scale-labels {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    font-size: 0.78rem;
    color: var(--dash-accent);
    font-weight: 600;
    margin: 0;
    text-align: center;
    line-height: 1.35;
}

.question label {
    cursor: pointer;
    position: relative;
    font-size: 1.05rem;
    color: #2f4a75;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 8px 8px;
    border-radius: 16px;
}

.question label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.question .circle {
    display: inline-block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2.5px solid var(--dash-accent-mid);
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f5f9fc 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(91,121,166,0.1);
    margin: 0 auto;
}

.question .circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dash-accent-mid) 0%, var(--dash-accent) 100%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.question label input[type="radio"]:checked + .circle::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.question label input[type="radio"]:checked + .circle {
    border-color: var(--dash-accent-mid);
    box-shadow: 0 4px 16px rgba(59,99,157,0.25);
    transform: scale(1.05);
    background: linear-gradient(135deg, #e8eef5 0%, #f0f6fb 100%);
}

.question label:hover .circle {
    border-color: var(--dash-accent-mid);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(91,121,166,0.2);
    background: linear-gradient(135deg, #f5f9fc 0%, #ffffff 100%);
}

.category-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dash-ink);
    margin: 12px 0 0;
    border-bottom: 3px solid var(--dash-accent-light);
    padding-bottom: 12px;
    letter-spacing: -0.3px;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    position: relative;
}

.assessment-section {
    margin-top: 40px;
    color: #2f4a75;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    letter-spacing: -0.3px;
}

.assessment-section:first-child {
    margin-top: 0;
}

.assessment-section-divider {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dash-ink);
    margin: 12px 0 0;
    border-bottom: 3px solid var(--dash-accent-light);
    padding-bottom: 12px;
    letter-spacing: -0.3px;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    position: relative;
}

.assessment-section-divider:first-of-type {
    margin-top: 0;
}

.button-group {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid rgba(91,121,166,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.button-group button, .button-group a {
    padding: 12px 28px;
    min-height: 48px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    letter-spacing: -0.3px;
    min-width: 170px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.button-group .btn.btn-white-text {
    padding: 12px 32px !important;
}
.button-group button[type="submit"],
.button-group .btn {
    background: var(--dash-accent);
    color: white;
    box-shadow: 0 4px 12px rgba(91,121,166,0.2);
    text-decoration: none;
    display: inline-block;
}

.button-group button[type="submit"]:hover,
.button-group .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(59,99,157,0.3);
}

.button-group button[type="submit"]:active,
.button-group .btn:active {
    transform: translateY(0);
}

.button-group #backButton {
    background: #6f90bc;
    color: #ffffff !important;
    border: 1px solid #6f90bc;
    box-shadow: 0 4px 12px rgba(91, 121, 166, 0.2);
    margin-right: auto;
}

.button-group #backButton:hover {
    background: #5b79a6;
    color: #ffffff !important;
    box-shadow: 0 8px 28px rgba(91, 121, 166, 0.28);
}

.button-group #backButton:active,
.button-group #backButton:focus-visible {
    background: #4d6f98;
    color: #ffffff !important;
}

.result-retake .btn.btn-white-text {
    background: #2e4057;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(46, 64, 87, 0.24);
}

.result-retake .btn.btn-white-text:hover,
.result-retake .btn.btn-white-text:focus-visible {
    background: #243447;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(46, 64, 87, 0.3);
}

/* RESULT STYLES */
.assessment-result-outer {
    background: transparent !important;
    min-height: auto;
    padding: 20px 0 10px 0 !important;
    position: relative;
    overflow: visible;
    margin-bottom: 0;
}

.assessment-result-outer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91,121,166,0.15) 0%, rgba(91,121,166,0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.assessment-result-outer::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(77,127,191,0.1) 0%, rgba(77,127,191,0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.result-wrapper {
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: flex-start;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    margin-top: -20px;
}

.vertical-result {
    /* vertical-result no longer used for result layout */
    display: none;
}

.result-image {
    width: 380px;
    min-height: 340px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f9fc 100%);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid #bfdbfe;
    box-shadow: 0 4px 12px rgba(91,121,166,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(91,121,166,0.12);
    border-color: #5576a8;
    background: linear-gradient(135deg, #ffffff 0%, #f0f6fb 100%);
}

.graph-card:hover {
    border-color: #5576a8 !important;
}
.result-chart-title {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2f4a75;
    letter-spacing: -0.3px;
}

.result-chart-wrap {
    flex: 1;
    height: 220px;
    position: relative;
}

.result-chart-disclaimer {
    margin: 14px 0 0 0;
    padding: 0;
    font-size: 0.75rem;
    color: #5b79a6;
    line-height: 1.4;
}

.result-copy {
    padding-top: 18px;
}

.result-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px 0;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(214, 228, 243, 0.55);
    color: var(--dash-accent-deep);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(91, 121, 166, 0.12);
}

.bar-container {
    position: relative;
    margin: 50px 0 24px 0;
}

.result-copy .result-likelihood {
    max-width: 34rem;
}

.result-copy .result-likelihood p {
    margin: 0;
    color: var(--dash-accent-deep);
}

.bar {
    height: 40px;
    border-radius: 20px;
    border: none;
    display: flex;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(91,121,166,0.2);
    background: white;
}

.segment {
    flex: 1;
    border-right: 2px solid rgba(255,255,255,0.3);
}

.segment:last-child {
    border-right: none;
}


.result-level {
    position: absolute;
    top: -48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 9px 18px;
    border-radius: 16px;
    font-weight: 600;
    color: white;
    background: inherit;
    box-shadow: 0 6px 20px rgba(59,99,157,0.25);
    font-size: 1.05rem;
    cursor: pointer;
    z-index: 2;
    min-width: 140px;
    max-width: 200px;
    white-space: nowrap;
    justify-content: center;
    transition: all 0.3s ease;
    letter-spacing: -0.3px;
}

.result-level:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59,99,157,0.35);
}

.result-level-triangle {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    /* border-top will be set inline to match label color */
    margin-top: -2px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    min-width: 0;
    width: auto;
    max-width: 320px;
    transition: left 1s ease-in-out;
}

.adaptive-label {
    width: auto !important;
    min-width: 0 !important;
    max-width: 320px;
    white-space: nowrap;
}

.info-icon {
    margin-right: 6px;
    font-weight: bold;
    border-radius: 50%;
    border: 2px solid #ffffff;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.result-level:hover .info-icon {
    background: rgba(255,255,255,0.35);
    border-color: #fff;
}

/* Wellness support (result page) */
.wellness-support {
    margin-top: 25px;
    padding: 30px 24px 20px 24px;
    border-top: 2px solid rgba(91,121,166,0.15);
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

.wellness-support-title {
    font-size: 1.8rem;
    color: #2f4a75;
    margin: 0 0 10px 0;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-align: center;
}

.wellness-support-intro {
    color: #4a657f;
    margin: 0 0 24px 0;
    line-height: 1.6;
    font-size: 1rem;
    text-align: center;
}


.wellness-support-grid.horizontal-cards {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.wellness-support-card.horizontal-card {
    background: linear-gradient(135deg, #ffffff 0%, #e6f1fb 100%);
    border-radius: 18px;
    padding: 24px 20px;
    border: 1px solid #bfdbfe;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 220px;
    max-width: 260px;
    flex: 1 1 220px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(91,121,166,0.06);
}

.wellness-support-card.horizontal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(91,121,166,0.12);
    border-color: #5576a8;
    background: linear-gradient(135deg, #ffffff 0%, #f0f6fb 100%);
}

.wellness-support-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.wellness-support-title-center {
    text-align: center;
    margin: 0.5em 0 0.5em 0;
    width: 100%;
}

.wellness-support-message.full-width {
    width: 100%;
    text-align: justify;
    margin: 0.5em 0 0 0;
}

.wellness-support-card:hover {
    box-shadow: 0 4px 12px rgba(91, 121, 166, 0.15);
}

.wellness-support-media {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.wellness-media-A {
    background-image: linear-gradient(135deg, #a8d5a2, #5b79a6);
}

.wellness-media-B {
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.wellness-support-card h3 {
    font-size: 1.1rem;
    color: #2f4a75;
    margin: 12px 0 12px 0;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.2px;
}

.wellness-support-card p {
    font-size: 0.95rem;
    color: #4a657f;
    margin: 0;
    line-height: 1.5;
    text-align: center;
}

.wellness-support-note {
    font-size: 0.8rem;
    color: #3b597b;
    font-style: italic;
    margin: 16px 0 0 0;
    line-height: 1.4;
    text-align: center;
}

/* ========================================
   SUMMARY PAGE STYLES
   ======================================== */

.summary-container {
    padding: 30px 100px;
}

/* BIG TOP BOX */
.top-summary {
    background: #8ea6c9;
    border-radius: 25px;
    margin-bottom: 50px;
    padding-bottom: 20px;
}

/* SMALL CARDS ROW */
.card-row {
    display: flex;
    justify-content: space-between;
}

.summary-card {
    width: 18%;
    height: 170px;
    background: #5576a8;
    border-radius: 25px;
}

/* Menu Alternative (for summary page) */
.menu.summary-menu {
    background: #e9e5db;
}

/* CUSTOM HOME SHAPES + FLOATING CARDS */
.floating-card {
    border-radius: 1rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .hero {
        width: auto;
        padding: 1.5rem;
    }

    .home-page h1 {
        font-size: clamp(1.65rem, 7vw, 2.2rem);
    }

    .home-page h2 {
        font-size: clamp(1.3rem, 5vw, 1.65rem);
    }

    .home-page p {
        font-size: clamp(0.86rem, 3.4vw, 0.98rem);
    }

    .home-page a {
        font-size: 0.9rem;
    }

    .hero-text h1 {
        font-size: 2.1rem;
    }
}

/* ========================================
   BRAIN FOG CONTENT STYLES
   ======================================== */

.content-section {
    padding: 60px 100px;
    background: #f7fafd;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.content-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 24px rgba(91,121,166,0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(91,121,166,0.15);
}

.content-card h2 {
    color: #5b79a6;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.content-card h3 {
    color: #2f4a75;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #1a2a3a;
    margin-bottom: 24px;
    font-weight: 500;
}

.question-text {
    font-size: 1.1rem;
    color: #4a5f7a;
    margin-bottom: 20px;
    font-weight: 500;
}

.symptoms-list,
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.symptoms-list li,
.benefits-list li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    color: #1a2a3a;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.symptoms-list li:last-child,
.benefits-list li:last-child {
    border-bottom: none;
}

.symptoms-list li:before,
.benefits-list li:before {
    content: "•";
    color: #5b79a6;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 12px;
}

.conclusion-text {
    font-size: 1.1rem;
    color: #2f4a75;
    margin: 24px 0;
    font-weight: 500;
    line-height: 1.6;
}

.definition-text {
    font-size: 1.1rem;
    color: #1a2a3a;
    line-height: 1.6;
    font-style: italic;
    background: #f7fafd;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #5b79a6;
}

.quote-text {
    font-size: 1.3rem;
    color: #5b79a6;
    text-align: center;
    font-weight: 600;
    margin: 24px 0;
    font-style: italic;
    background: #e8eef5;
    padding: 24px;
    border-radius: 16px;
    border: 2px solid #aab4c4;
}

.benefits-text {
    font-size: 1.1rem;
    color: #4a5f7a;
    margin-bottom: 20px;
    font-weight: 500;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.lifestyle-item {
    background: #f7fafd;
    border-radius: 16px;
    padding: 24px;
    border: 2px solid #e8eef5;
    transition: all 0.3s ease;
}

.lifestyle-item:hover {
    background: white;
    border-color: #5b79a6;
    box-shadow: 0 4px 16px rgba(91,121,166,0.1);
    transform: translateY(-2px);
}

.lifestyle-item h3 {
    color: #5b79a6;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.lifestyle-item p {
    color: #1a2a3a;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-section {
        padding: 40px 20px;
    }
    
    .content-card {
        padding: 24px;
        margin-bottom: 24px;
    }
    
    .content-card h2 {
        font-size: 1.8rem;
    }
    
    .lifestyle-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Assessment Responsive */
    .assessment-container {
        padding: 30px 12px 46px;
        min-height: auto;
    }
    
    .category-box {
        min-width: auto;
        max-width: 100%;
        margin: 0 auto;
        border-radius: 24px;
    }
    
    .category-header {
        padding: 20px 16px 16px;
        border-radius: 24px 24px 0 0;
    }

    .assessment-title {
        font-size: 1.65rem;
        line-height: 1.2;
    }
    
    .category-content {
        padding: 18px 14px 22px;
        gap: 16px;
        max-height: none;
        min-height: 0;
        height: auto;
        overflow: visible;
        scroll-padding-top: 12px;
    }

    .assessment-intro {
        flex-direction: column;
        padding: 14px 14px 12px;
        gap: 10px;
    }

    .assessment-intro-copy {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .assessment-intro-note {
        margin-top: 8px;
        font-size: 0.74rem;
        line-height: 1.45;
    }

    .assessment-progress {
        width: 100%;
    }
    
    .question {
        padding: 16px 14px;
        border-radius: 16px;
    }
    
    .question h3 {
        font-size: 0.96rem;
        margin-bottom: 12px;
        line-height: 1.45;
    }
    
    .question .options {
        gap: 8px;
    }

    .question label {
        padding: 8px 4px 6px;
        gap: 6px;
    }
    
    .question .circle {
        width: 36px;
        height: 36px;
        border: 2px solid #4d7fbf;
    }
    
    .question .scale-labels {
        gap: 8px;
        font-size: 10px;
    }
    
    .category-content h2 {
        font-size: 1.2rem;
        margin-top: 10px;
    }

    .assessment-intro-note {
        margin-top: 6px;
        font-size: 0.7rem;
        line-height: 1.4;
    }
    
    .assessment-section {
        font-size: 1.15rem;
    }
    
    .button-group {
        justify-content: stretch;
        gap: 12px;
        margin-top: 32px;
        border-top: 2px solid rgba(91,121,166,0.1);
    }
    
    .button-group button, .button-group a {
        padding: 11px 16px;
        font-size: 0.9rem;
        min-width: 0;
        flex: 1;
    }

    .button-group #backButton {
        margin-right: 0;
    }
}

@media (max-width: 1100px) {
    .hero {
        width: auto;
        padding: 28px 22px;
    }

    .banner {
        margin: 28px 22px;
        border-radius: 28px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .category-box {
        border-radius: 20px;
    }
    
    .category-header {
        font-size: 1.5rem;
        padding: 20px 12px 16px;
        border-radius: 20px 20px 0 0;
    }

    .assessment-title {
        font-size: 1.35rem;
        line-height: 1.25;
    }
    
    .category-content {
        padding: 16px 12px 18px;
    }
    
    .question {
        padding: 14px 12px;
    }
    
    .question h3 {
        font-size: 0.95rem;
    }
    
    .question .circle {
        width: 36px;
        height: 36px;
    }
    
    .question .options {
        gap: 6px;
    }

    .question .scale-labels {
        gap: 6px;
        font-size: 10px;
    }

    .question label {
        padding: 6px 2px 4px;
    }
    
    .question .circle::before {
        width: 18px;
        height: 18px;
    }
    
    .question .scale-labels {
        gap: 6px;
        font-size: 10px;
    }
    
    .category-content h2 {
        font-size: 1.1rem;
        margin-top: 8px;
    }

    .button-group {
        flex-direction: column-reverse;
    }

    .button-group button,
    .button-group a {
        width: 100%;
    }
}

/* ========================================
   RESULT PAGE - RESPONSIVE
   ======================================== */

@media (max-width: 900px) {
    .result-wrapper {
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
    }

    .result-image {
        width: 100%;
        min-height: auto;
    }

    .result-copy {
        padding-top: 0;
    }

    .wellness-support {
        padding: 24px 16px 16px;
    }

    .wellness-support-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .result-wrapper {
        padding: 0 12px;
        margin-top: 0;
    }

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

    .bar-container {
        margin: 40px 0 20px 0;
    }

    .result-level {
        font-size: 0.92rem;
        padding: 8px 14px;
        min-width: 110px;
    }

    .wellness-support-card.horizontal-card {
        min-width: 0;
        max-width: 100%;
        flex: 1 1 100%;
    }

    .wellness-support-title {
        font-size: 1.35rem;
    }

    .wellness-support-intro {
        font-size: 0.9rem;
        line-height: 1.55;
        margin: 0 0 16px 0;
    }
}

@media (max-width: 480px) {
    .wellness-support-intro {
        font-size: 0.82rem;
        line-height: 1.5;
        margin: 0 0 12px 0;
    }
}

/* ========================================
   SUMMARY PAGE - RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .summary-container {
        padding: 0 0 24px 0 !important;
    }

    .top-summary {
        padding: 20px 16px !important;
    }

    .modal-content {
        padding: 24px 18px 20px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 18px 12px 16px;
    }

    .modal-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 640px) {
    .card-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .summary-card {
        width: calc(50% - 5px);
        height: 120px;
    }

    .content-section {
        padding: 30px 16px;
    }

    .content-card {
        padding: 24px 16px;
    }
}

@media (max-width: 380px) {
    .summary-card {
        width: 100%;
    }
}

/* ========================================
   USER PAGES - MOBILE BUTTONS + SWEETALERT
   Applies to layout/main pages: home, assessment/result, summary
   ======================================== */

@media (max-width: 768px) {
    .btn,
    button.btn,
    a.btn,
    .button-group button,
    .button-group a {
        min-height: 44px;
        padding: 10px 16px;
        border-radius: 12px;
        font-size: 0.92rem;
        line-height: 1.25;
        font-weight: 700;
    }

    .button-group {
        gap: 10px;
    }

    .result-retake .btn,
    .assessment-actions .btn {
        width: 100%;
    }

    body .swal2-popup {
        width: min(92vw, 430px) !important;
        padding: 1rem 0.9rem 0.9rem !important;
        border-radius: 14px !important;
    }

    body .swal2-title {
        font-size: 1.08rem !important;
        line-height: 1.35 !important;
        padding: 0 0.25rem !important;
    }

    body .swal2-html-container {
        margin: 0.65rem 0.2rem 0.2rem !important;
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
    }

    body .swal2-actions {
        width: 100%;
        margin-top: 0.9rem !important;
        gap: 8px !important;
        flex-wrap: wrap;
    }

    body .swal2-styled {
        margin: 0 !important;
        min-height: 42px;
        padding: 9px 14px !important;
        border-radius: 10px !important;
        font-size: 0.9rem !important;
        line-height: 1.2 !important;
    }

    body .swal2-confirm,
    body .swal2-cancel,
    body .swal2-deny {
        flex: 1 1 140px;
    }
}

@media (max-width: 480px) {
    .btn,
    button.btn,
    a.btn {
        min-height: 42px;
        padding: 9px 14px;
        font-size: 0.88rem;
        border-radius: 10px;
    }

    body .swal2-popup {
        width: min(95vw, 360px) !important;
        padding: 0.9rem 0.75rem 0.8rem !important;
        border-radius: 12px !important;
    }

    body .swal2-title {
        font-size: 1rem !important;
    }

    body .swal2-html-container {
        font-size: 0.86rem !important;
    }

    body .swal2-styled {
        min-height: 40px;
        font-size: 0.84rem !important;
        padding: 8px 12px !important;
    }

    body .swal2-confirm,
    body .swal2-cancel,
    body .swal2-deny {
        flex: 1 1 100%;
    }
}

/* Final explicit override for assessment note style */
.assessment-intro p.assessment-intro-note {
    margin-top: 10px !important;
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
    color: var(--dash-ink-soft) !important;
}

.assessment-intro p.assessment-intro-note em {
    color: inherit !important;
    font-style: italic;
}

@media (max-width: 768px) {
    .assessment-intro p.assessment-intro-note {
        margin-top: 8px !important;
        font-size: 0.74rem !important;
        line-height: 1.45 !important;
    }
}

@media (max-width: 480px) {
    .assessment-intro p.assessment-intro-note {
        margin-top: 6px !important;
        font-size: 0.7rem !important;
        line-height: 1.4 !important;
    }
}
