/* ══════════════════════════════════════
   SOLUTION PAGES — Styles
   CBSE, ICSE, State Boards, Play Schools
   ══════════════════════════════════════ */

/* ──────────────────────────────────────
   BASE LAYOUT
   ────────────────────────────────────── */
.wzl-solution-page {
    position: relative;
    z-index: 1;
}

.sol-section {
    padding: var(--section-pad) 0;
    position: relative;
    z-index: 1;
}

.sol-alt {
    background: rgba(255, 255, 255, 0.015);
}

body.light .sol-alt {
    background: rgba(241, 245, 249, 0.5);
}

/* Conditional sections — hidden when JS hasn't filled them */
.sol-conditional:not(.sol-filled) {
    display: none;
}

/* ──────────────────────────────────────
   HERO — Shared Base
   ────────────────────────────────────── */
.sol-hero {
    padding: 120px 0 80px;
    position: relative;
    z-index: 1;
    text-align: center;
    overflow: hidden;
}

.sol-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.sol-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 16px;
    border-radius: 20px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.15);
    font-size: 11px;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
}

.sol-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--t1);
}

.sol-hero h1 span {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sol-hero .sub {
    font-size: 17px;
    color: var(--t3);
    max-width: 680px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.sol-hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.sol-hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.sol-hero-stats .hs {
    text-align: center;
}

.sol-hero-stats .hs-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--t1);
}

.sol-hero-stats .hs-label {
    font-size: 12px;
    color: var(--t3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ──────────────────────────────────────
   BOARD PILLS — Navigation between pages
   ────────────────────────────────────── */
.board-pills {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.board-pill {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--t3);
    border: 1px solid var(--bdr);
    background: var(--bg-card);
    transition: all 0.2s;
    text-decoration: none;
}

.board-pill:hover {
    border-color: var(--bdr-h);
    color: var(--t1);
}

.board-pill.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

body.light .board-pill {
    background: #fff;
    border-color: #e2e8f0;
    color: #64748b;
}

body.light .board-pill:hover {
    border-color: rgba(37, 99, 235, 0.3);
    color: #0f172a;
}

body.light .board-pill.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

/* ──────────────────────────────────────
   HERO — Split Variant (ICSE)
   ────────────────────────────────────── */
.sol-hero.hero-split {
    text-align: left;
}

.sol-hero.hero-split .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sol-hero.hero-split .sol-hero-ctas {
    justify-content: flex-start;
}

.sol-hero.hero-split .board-pills {
    justify-content: flex-start;
}

.float-cards {
    position: relative;
    min-height: 500px;
}

.float-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--bdr);
    border-radius: var(--card-r);
    padding: 16px 20px;
    backdrop-filter: blur(12px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.float-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.float-card.f1 { top: 0; left: 0; right: 40px; }
.float-card.f2 { top: 130px; right: 0; width: 200px; }
.float-card.f3 { top: 250px; left: 0; width: 260px; }
.float-card.f4 { bottom: 100px; right: 0; width: 220px; }
.float-card.f5 { bottom: 0; left: 20px; right: 60px; }

.fc-title {
    font-size: 11px;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.fc-stats {
    display: flex;
    gap: 20px;
}

.fc-stat .fc-num {
    font-size: 20px;
    font-weight: 800;
    color: var(--t1);
}

.fc-stat .fc-label {
    font-size: 11px;
    color: var(--t3);
}

.fc-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fc-price-val {
    font-size: 22px;
    font-weight: 800;
    color: var(--t1);
}

.fc-price-val span {
    font-size: 13px;
    color: var(--t3);
    font-weight: 400;
}

.fc-price-desc {
    font-size: 11px;
    color: var(--t3);
    margin-top: 4px;
}

.fc-mini-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--t2);
}

.fc-mini-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.fc-mini-bar span {
    display: block;
    height: 100%;
    border-radius: 2px;
}

.fc-mini-mark {
    font-size: 12px;
    font-weight: 700;
    color: var(--t1);
    min-width: 22px;
    text-align: right;
}

.fc-feat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fc-feat-text h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--t1);
    margin: 0;
}

.fc-feat-text p {
    font-size: 11px;
    color: var(--t3);
    margin: 2px 0 0;
}

body.light .float-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

body.light .float-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

body.light .fc-mini-bar {
    background: #e2e8f0;
}

/* ──────────────────────────────────────
   HERO — State Tabs Variant (State Boards)
   ────────────────────────────────────── */
.state-tabs {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.state-tab {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--t3);
    border: 1px solid var(--bdr);
    background: var(--bg-card);
    cursor: pointer;
    transition: all 0.2s;
}

.state-tab:hover {
    border-color: var(--bdr-h);
    color: var(--t1);
}

.state-tab.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--blue);
}

.state-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.state-panel.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.state-stat {
    background: var(--bg-card);
    border: 1px solid var(--bdr);
    border-radius: var(--card-r);
    padding: 20px;
    text-align: left;
}

.state-stat .ss-val {
    font-size: 18px;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 4px;
}

.state-stat .ss-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 6px;
}

.state-stat .ss-desc {
    font-size: 12px;
    color: var(--t3);
    line-height: 1.5;
}

body.light .state-tab {
    background: #fff;
    border-color: #e2e8f0;
    color: #64748b;
}

body.light .state-tab.active {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--blue);
}

body.light .state-stat {
    background: rgba(255, 255, 255, 0.85);
    border-color: #e2e8f0;
}

/* ──────────────────────────────────────
   HERO — Playful Variant (Play Schools)
   ────────────────────────────────────── */
.sol-hero.hero-playful::before {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, rgba(139, 92, 246, 0.04) 50%, transparent 70%);
}

.sol-hero.hero-playful h1 .w1 {
    background: linear-gradient(135deg, var(--amber), #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sol-hero.hero-playful h1 .w2 {
    background: linear-gradient(135deg, var(--green), #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sol-hero.hero-playful h1 .w3 {
    background: linear-gradient(135deg, var(--purple), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sol-chip.chip-warm {
    background: rgba(245, 158, 11, 0.06);
    border-color: rgba(245, 158, 11, 0.15);
    color: var(--amber);
}

.btn-warm {
    background: linear-gradient(135deg, var(--amber), #ea580c);
    color: #fff;
    border-radius: var(--btn-r);
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-warm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

/* Hero pills — small feature cards */
.hp-pills {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hp-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--bdr);
    border-radius: 10px;
}

.hp-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hp-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hp-pill-text h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--t1);
    margin: 0;
}

.hp-pill-text p {
    font-size: 11px;
    color: var(--t3);
    margin: 0;
}

/* Activity emoji cards */
.act-cards {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.act-card {
    background: var(--bg-card);
    border: 1px solid var(--bdr);
    border-radius: 12px;
    padding: 14px 18px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.act-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.act-card .act-emoji {
    font-size: 28px;
    margin-bottom: 6px;
}

.act-card .act-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 4px;
}

.act-card .act-tag {
    font-size: 10px;
    color: var(--t3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.act-card.c1 { border-color: rgba(245, 158, 11, 0.2); }
.act-card.c2 { border-color: rgba(239, 68, 68, 0.2); }
.act-card.c3 { border-color: rgba(139, 92, 246, 0.2); }
.act-card.c4 { border-color: rgba(59, 130, 246, 0.2); }
.act-card.c5 { border-color: rgba(16, 185, 129, 0.2); }

body.light .hp-pill {
    background: #fff;
    border-color: #e2e8f0;
}

body.light .act-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: #e2e8f0;
}

body.light .act-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ──────────────────────────────────────
   ICON BOX UTILITY — Used across sections
   ────────────────────────────────────── */
.sol-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.sol-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sol-icon.ic-blue { background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.15); }
.sol-icon.ic-blue svg { stroke: var(--blue); }
.sol-icon.ic-green { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.15); }
.sol-icon.ic-green svg { stroke: var(--green); }
.sol-icon.ic-amber { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.15); }
.sol-icon.ic-amber svg { stroke: var(--amber); }
.sol-icon.ic-red { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.15); }
.sol-icon.ic-red svg { stroke: var(--red); }
.sol-icon.ic-purple { background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.15); }
.sol-icon.ic-purple svg { stroke: var(--purple); }
.sol-icon.ic-pink { background: rgba(236, 72, 153, 0.1); border: 1px solid rgba(236, 72, 153, 0.15); }
.sol-icon.ic-pink svg { stroke: var(--pink); }
.sol-icon.ic-teal { background: rgba(6, 182, 212, 0.1); border: 1px solid rgba(6, 182, 212, 0.15); }
.sol-icon.ic-teal svg { stroke: var(--cyan); }

/* ──────────────────────────────────────
   PAIN POINTS — 2x2 Grid
   ────────────────────────────────────── */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.pain-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.pain-card .sol-icon {
    margin-top: 2px;
}

.pain-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 8px;
}

.pain-card p {
    font-size: 14px;
    color: var(--t3);
    line-height: 1.6;
}

.card:hover .sol-icon {
    transform: scale(1.1);
}

/* ──────────────────────────────────────
   FEATURES — 3-Column Grid
   ────────────────────────────────────── */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.feat-card .sol-icon {
    margin-bottom: 16px;
}

.feat-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 8px;
}

.feat-card p {
    font-size: 14px;
    color: var(--t3);
    line-height: 1.6;
    margin-bottom: 12px;
}

.feat-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.08);
    color: var(--blue);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

body.light .feat-tag {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.12);
}

/* ──────────────────────────────────────
   MODULES — 4-Column Grid
   ────────────────────────────────────── */
.mod-grid-sol {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.mod-card-sol {
    text-align: center;
}

.mod-card-sol .sol-icon {
    margin: 0 auto 12px;
}

.mod-card-sol h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 6px;
}

.mod-card-sol p {
    font-size: 12px;
    color: var(--t3);
    line-height: 1.5;
}

/* Plan badges */
.mp-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.mp-free { background: rgba(16, 185, 129, 0.1); color: var(--green); border: 1px solid rgba(16, 185, 129, 0.2); }
.mp-basic { background: rgba(59, 130, 246, 0.1); color: var(--blue); border: 1px solid rgba(59, 130, 246, 0.2); }
.mp-std { background: rgba(245, 158, 11, 0.1); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.2); }
.mp-pro { background: rgba(139, 92, 246, 0.1); color: var(--purple); border: 1px solid rgba(139, 92, 246, 0.2); }

body.light .mp-free { background: rgba(5, 150, 105, 0.08); color: #047857; }
body.light .mp-basic { background: rgba(37, 99, 235, 0.08); color: #1d4ed8; }
body.light .mp-std { background: rgba(217, 119, 6, 0.08); color: #b45309; }
body.light .mp-pro { background: rgba(124, 58, 237, 0.08); color: #6d28d9; }

/* ──────────────────────────────────────
   SCREENSHOT / DEMO FRAME
   ────────────────────────────────────── */
.screen-wrap-sol {
    max-width: 900px;
    margin: 48px auto 0;
    border-radius: 16px;
    border: 1px solid var(--bdr);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.screen-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--bdr);
}

.screen-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.screen-bar .dr { background: #ef4444; }
.screen-bar .dy { background: #f59e0b; }
.screen-bar .dg { background: #10b981; }

.screen-bar .sb-title {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: var(--t3);
    font-weight: 500;
}

.screen-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--bdr);
}

.screen-tab {
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--t3);
    cursor: default;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.screen-tab.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.screen-body {
    padding: 24px;
}

/* Report card styles */
.rc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bdr);
}

.rc-header-left h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 2px;
}

.rc-header-left p {
    font-size: 12px;
    color: var(--t3);
}

.rc-lang-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple);
    margin-top: 4px;
}

.rc-rank {
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    white-space: nowrap;
}

/* Report card column headers */
.rc-cols {
    display: grid;
    grid-template-columns: 180px 1fr 70px 50px;
    gap: 8px;
    padding: 8px 0;
    font-size: 10px;
    font-weight: 700;
    color: var(--t4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--bdr);
    margin-bottom: 8px;
}

.rc-cols-5 {
    grid-template-columns: 150px 70px 50px 1fr 60px;
}

.rc-row {
    display: grid;
    grid-template-columns: 180px 1fr 70px 50px;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.rc-row-5 {
    grid-template-columns: 150px 70px 50px 1fr 60px;
}

.rc-row.rc-total {
    border-top: 1px solid var(--bdr);
    margin-top: 4px;
    padding-top: 12px;
}

.rc-subj {
    font-size: 13px;
    font-weight: 600;
    color: var(--t1);
}

.rc-bar-wrap {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.rc-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease;
}

.rc-score {
    font-size: 13px;
    font-weight: 600;
    color: var(--t2);
}

.rc-total .rc-score {
    color: var(--t1);
    font-weight: 700;
}

/* Grade badges */
.g-green {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.12);
    color: var(--green);
}

.g-blue {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(59, 130, 246, 0.12);
    color: var(--blue);
}

.g-amber {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(245, 158, 11, 0.12);
    color: var(--amber);
}

/* Co-scholastic / supernumerary */
.rc-coscho {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--bdr);
}

.rc-coscho h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--t2);
    margin-bottom: 12px;
}

.rc-coscho-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.rc-coscho-row span:first-child {
    font-size: 13px;
    color: var(--t2);
}

/* Activity timeline (Play Schools screenshot) */
.act-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.act-child {
    margin-bottom: 28px;
}

.act-child-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bdr);
}

.act-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.act-child-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--t1);
}

.act-child-meta {
    font-size: 12px;
    color: var(--t3);
}

.act-child-mood {
    margin-left: auto;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
    font-weight: 600;
}

.tl-item {
    display: flex;
    gap: 12px;
    padding-left: 8px;
    margin-bottom: 4px;
}

.tl-dot-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 12px;
}

.tl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tl-dot.td-green { background: var(--green); }
.tl-dot.td-amber { background: var(--amber); }
.tl-dot.td-purple { background: var(--purple); }
.tl-dot.td-blue { background: var(--blue); }

.tl-line {
    width: 2px;
    flex: 1;
    background: var(--bdr);
    margin: 2px 0;
}

.tl-content {
    flex: 1;
    padding-bottom: 14px;
}

.tl-time {
    font-size: 11px;
    color: var(--t4);
    font-weight: 600;
}

.tl-activity {
    font-size: 13px;
    font-weight: 700;
    color: var(--t1);
    margin: 2px 0;
}

.tl-desc {
    font-size: 12px;
    color: var(--t3);
}

.tl-photo {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    font-size: 11px;
    color: var(--blue);
    font-weight: 600;
}

body.light .screen-wrap-sol {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

body.light .screen-bar {
    background: #f8fafc;
    border-bottom-color: #e2e8f0;
}

body.light .screen-tabs {
    border-bottom-color: #e2e8f0;
}

body.light .screen-tab {
    color: #94a3b8;
}

body.light .screen-tab.active {
    color: var(--blue);
}

body.light .rc-header {
    border-bottom-color: #e2e8f0;
}

body.light .rc-cols {
    border-bottom-color: #e2e8f0;
}

body.light .rc-row {
    border-bottom-color: #f1f5f9;
}

body.light .rc-row.rc-total {
    border-top-color: #e2e8f0;
}

body.light .rc-bar-wrap {
    background: #e2e8f0;
}

body.light .rc-coscho {
    border-top-color: #e2e8f0;
}

body.light .rc-coscho-row {
    border-bottom-color: #f1f5f9;
}

/* ──────────────────────────────────────
   TESTIMONIALS — 3-Column Grid
   ────────────────────────────────────── */
.testi-grid-sol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.testi-card-sol .testi-stars {
    font-size: 14px;
    color: var(--amber);
    margin-bottom: 16px;
}

.testi-card-sol .testi-quote {
    font-size: 14px;
    color: var(--t2);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testi-card-sol .testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--bdr);
}

.testi-card-sol .testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.testi-card-sol .testi-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--t1);
}

.testi-card-sol .testi-role {
    font-size: 12px;
    color: var(--t3);
}

body.light .testi-card-sol .testi-author {
    border-top-color: #f1f5f9;
}

/* ──────────────────────────────────────
   PRICING GRID OVERRIDE (4 cols on solution pages)
   ────────────────────────────────────── */
.wzl-solution-page .price-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .wzl-solution-page .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .wzl-solution-page .price-grid {
        grid-template-columns: 1fr;
    }
}

/* ──────────────────────────────────────
   ROI CALCULATOR (Coaching Centers)
   ────────────────────────────────────── */
.roi-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.roi-strip-card {
    display: flex;
    align-items: center;
    gap: 18px;
    transition: border-color 0.25s, transform 0.25s;
}

.roi-strip-card:hover {
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.roi-strip-num {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
}

.roi-strip-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 2px;
}

.roi-strip-text p {
    font-size: 12px;
    color: var(--t3);
    line-height: 1.4;
}

/* Single-card calculator */
.roi-calc {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 32px;
    align-items: start;
}

.roi-calc-divider {
    background: var(--bdr);
    height: 100%;
    min-height: 100%;
}

.roi-calc-heading {
    font-size: 12px;
    font-weight: 700;
    color: var(--t3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.roi-calc-heading .sol-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.roi-calc-heading .sol-icon svg {
    width: 16px;
    height: 16px;
}

/* Input groups */
.ig {
    margin-bottom: 18px;
}

.ig:last-child {
    margin-bottom: 0;
}

.ig label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 12px;
    color: var(--t3);
    margin-bottom: 6px;
}

.ig label strong {
    color: var(--blue);
    font-weight: 800;
    font-size: 16px;
}

.ig input[type="range"] {
    width: 100%;
    height: 5px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    outline: none;
    margin-top: 2px;
}

.ig input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--blue);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.ig input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--blue);
    cursor: pointer;
    border: none;
}

.ig-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--t3);
    margin-top: 4px;
    opacity: 0.6;
}

/* Output rows */
.output-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--bdr);
}

.output-row:last-of-type {
    border-bottom: none;
}

.output-row .lbl {
    font-size: 13px;
    color: var(--t2);
}

.output-row .val {
    font-size: 20px;
    font-weight: 800;
}

.output-row .note {
    font-size: 11px;
    color: var(--t3);
    margin-top: 1px;
}

/* Total ROI box */
.roi-total-box {
    margin-top: 16px;
    padding: 18px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.roi-total-box .lbl {
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
}

.roi-total-box .sub {
    font-size: 11px;
    color: var(--t3);
    margin-top: 2px;
}

.roi-total-box .val {
    font-size: 28px;
    font-weight: 800;
    color: var(--green);
}

body.light .ig input[type="range"] {
    background: #e2e8f0;
}

body.light .roi-total-box {
    background: rgba(5, 150, 105, 0.06);
    border-color: rgba(5, 150, 105, 0.15);
}

body.light .output-row {
    border-bottom-color: #f1f5f9;
}

/* ──────────────────────────────────────
   BEFORE / AFTER TABLE (Coaching Centers)
   ────────────────────────────────────── */
.ba-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
    border-radius: var(--card-r);
    overflow: hidden;
    border: 1px solid var(--bdr);
}

.ba-table thead tr {
    background: rgba(255, 255, 255, 0.03);
}

.ba-table th {
    padding: 16px 24px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--bdr);
}

.ba-table th.th-r {
    text-align: left;
    color: var(--red);
    border-right: 1px solid var(--bdr);
    width: 50%;
    position: relative;
}

.ba-table th.th-r::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--red);
}

.ba-table th.th-g {
    text-align: left;
    color: var(--green);
    position: relative;
}

.ba-table th.th-g::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green);
}

.ba-table td {
    padding: 16px 24px;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid var(--bdr);
    vertical-align: middle;
}

.ba-table td.td-r {
    color: var(--t2);
    border-right: 1px solid var(--bdr);
    background: rgba(239, 68, 68, 0.015);
}

.ba-table td.td-g {
    color: var(--t1);
    font-weight: 600;
    background: rgba(16, 185, 129, 0.015);
}

.ba-table tr:last-child td {
    border-bottom: none;
}

.ba-table tr:hover td.td-r {
    background: rgba(239, 68, 68, 0.035);
}

.ba-table tr:hover td.td-g {
    background: rgba(16, 185, 129, 0.035);
}

body.light .ba-table {
    border-color: #e2e8f0;
}

body.light .ba-table thead tr {
    background: #f8fafc;
}

body.light .ba-table th {
    border-bottom-color: #e2e8f0;
}

body.light .ba-table th.th-r {
    border-right-color: #e2e8f0;
}

body.light .ba-table td {
    border-bottom-color: #f1f5f9;
}

body.light .ba-table td.td-r {
    border-right-color: #e2e8f0;
    background: rgba(239, 68, 68, 0.02);
}

body.light .ba-table td.td-g {
    background: rgba(5, 150, 105, 0.02);
}

body.light .ba-table tr:hover td.td-r {
    background: rgba(239, 68, 68, 0.04);
}

body.light .ba-table tr:hover td.td-g {
    background: rgba(5, 150, 105, 0.04);
}

/* Impact stats grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.impact-card {
    text-align: center;
    transition: border-color 0.25s, transform 0.25s;
}

.impact-card:hover {
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.impact-num {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.impact-label {
    font-size: 12px;
    color: var(--t3);
    line-height: 1.4;
}

/* CTA strip inside B/A section */
.ba-cta-strip {
    margin-top: 40px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ba-cta-strip h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--t1);
}

.ba-cta-strip h3 span {
    color: var(--blue);
}

.ba-cta-strip p {
    color: var(--t2);
    font-size: 14px;
    margin-top: 4px;
}

.ba-cta-btns {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ──────────────────────────────────────
   RESPONSIVE — 768px
   ────────────────────────────────────── */
@media (max-width: 768px) {
    .sol-hero {
        padding: 100px 0 60px;
    }

    .sol-hero h1 {
        font-size: 32px;
    }

    .sol-section {
        padding: 60px 0;
    }

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

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

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

    .testi-grid-sol {
        grid-template-columns: 1fr;
    }

    /* Split hero stacks on mobile */
    .sol-hero.hero-split .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sol-hero.hero-split .sol-hero-ctas {
        justify-content: center;
    }

    .sol-hero.hero-split .board-pills {
        justify-content: center;
    }

    .float-cards {
        display: none;
    }

    /* State panels stack */
    .state-panel.active {
        grid-template-columns: 1fr;
    }

    /* Report card adjusts */
    .rc-cols,
    .rc-row {
        grid-template-columns: 120px 1fr 60px 40px;
    }

    .rc-cols-5,
    .rc-row-5 {
        grid-template-columns: 110px 50px 40px 1fr 50px;
        font-size: 11px;
    }

    .rc-subj {
        font-size: 12px;
    }

    /* CTA form stacks */
    #solCta .form-row {
        grid-template-columns: 1fr;
    }

    .sol-hero-stats {
        gap: 20px;
    }

    .hp-pills {
        gap: 8px;
    }

    /* ROI calculator */
    .roi-strip {
        grid-template-columns: 1fr;
    }

    .roi-calc {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .roi-calc-divider {
        height: 1px;
        width: 100%;
        min-height: auto;
    }

    .roi-total-box {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* Before/After table */
    .ba-table th,
    .ba-table td {
        padding: 12px 16px;
        font-size: 13px;
    }

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

    .ba-cta-strip {
        flex-direction: column;
        text-align: center;
    }
}

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

    .board-pills {
        gap: 6px;
    }

    .board-pill {
        padding: 6px 14px;
        font-size: 12px;
    }

    .act-cards {
        gap: 6px;
    }

    .act-card {
        padding: 10px 12px;
    }

    /* Hero: compact */
    .sol-hero {
        padding: 80px 0 40px;
    }

    .sol-hero h1 {
        font-size: 26px;
    }

    .sol-hero .section-sub {
        font-size: 14px;
    }

    .sol-chip {
        font-size: 10px;
        padding: 4px 12px;
        margin-bottom: 14px;
    }

    .sol-section {
        padding: 40px 0;
    }

    /* Section titles */
    .wzl-solution-page .section-title {
        font-size: 22px;
    }

    /* Pain grid: single column, compact cards */
    .pain-grid .card {
        padding: 16px;
    }

    /* Feature cards: compact */
    .feat-grid .card {
        padding: 16px;
    }

    /* ROI strip */
    .roi-strip-num {
        font-size: 28px;
    }

    .roi-strip-card {
        gap: 12px;
    }

    /* Impact grid: single column */
    .impact-grid {
        grid-template-columns: 1fr;
    }

    /* Report card: tighter grid */
    .rc-cols,
    .rc-row {
        grid-template-columns: 100px 1fr 50px 36px;
        font-size: 11px;
    }

    .rc-cols-5,
    .rc-row-5 {
        grid-template-columns: 90px 40px 36px 1fr 44px;
        font-size: 10px;
    }

    /* Hero stats */
    .sol-hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    /* CTA form */
    #solCta .form-row input,
    #solCta .form-row select {
        padding: 10px 14px;
        font-size: 14px;
    }

    /* Before/After table */
    .ba-table th,
    .ba-table td {
        padding: 10px 12px;
        font-size: 12px;
    }

    /* BA CTA strip */
    .ba-cta-strip {
        gap: 12px;
        padding: 16px;
    }
}
