 /*
Theme Name: test-series-theme2
Theme URI: https://testseries247.com
Author: Shivani
Author URI: https://testseries247.com
Description: Custom WordPress theme for the GridLearn Test Series website.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: testseries
Tags: custom-theme, education, blog, responsive
*/

 /* ── CSS VARIABLES ─────────────────────────────────────────────── */
 :root {
     --brand-red: #ef3e56;
     --brand-blue: #214396;
     --brand-navy: #1a2b6d; 
     --brand-dark: #111827;
     --accent-pink: #fff0f1;
     --accent-pink-border: #ffc2c7;
     --primary-bg: #fff0f2;
     --secondary-bg: #eef1fb;
     --text-dark: #111;
     --text-body: #3d4457;
     --text-muted: #7a8099;
     --surface: #fff;
     --surface-alt: #f7f8fc;
     --border: #e8eaf2;
     --card-radius: 14px;
     --card-shadow: 0 2px 14px rgba(0, 0, 0, .08);
     --fs-xs: 0.76rem;
     --fs-sm: 0.86rem;

     /* Mobile layout tokens */
     --mobile-gutter: clamp(16px, 5vw, 20px);
     --mobile-rail-gap: 12px;
     --radius-lg: 20px;
     --shadow-card: 0 2px 16px rgba(33, 67, 156, 0.07);
     --shadow-hover: 0 6px 28px rgba(33, 67, 156, 0.13);
 }

 /* ── RESET / BASE ──────────────────────────────────────────────── */
 *,
 *::before,
 *::after {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     font-family: 'Poppins', sans-serif !important;
     background: #fff;
     color: var(--brand-dark) !important;
     overflow-x: hidden;
 }

 a {
     text-decoration: none !important;
 }

 h1,
 h2,
 h3,
 h4,
 h5,
 .display-heading {
     font-family: 'Poppins', sans-serif;
     color: var(--text-dark);
     line-height: 1.25;
 }

 span,
 div {
     font-family: 'Poppins', sans-serif;
 }

 /* ── SECTION SNAP ──────────────────────────────────────────────── */
 .section-snap {
     min-height: 100vh;
     display: flex;
     flex-direction: column;
     justify-content: center;
 }

 /* ══════════════════════════════════════════════════════════════════
     1. ANNOUNCEMENT TICKER
  ══════════════════════════════════════════════════════════════════ */
 #announcement-bar {
     background: #0f0f0f;
     color: #e0e0e0;
     font-size: var(--fs-xs);
     height: 34px;
     display: flex;
     align-items: center;
     overflow: hidden;
     position: relative;
     z-index: 1100;
 }

 #announcement-bar .ticker-wrap {
     flex: 1;
     overflow: hidden;
     white-space: nowrap;
 }

 #announcement-bar .ticker-track {
     display: inline-block;
     animation: ticker-scroll 110s linear infinite;
     padding-left: 100%;
 }

 #announcement-bar .ticker-track span {
     padding: 0 28px;
     color: #ccc;
 }

 #announcement-bar .ticker-track span::before {
     content: "•";
     margin-right: 10px;
     color: var(--brand-red);
 }

 #announcement-bar .ticker-close {
     background: none;
     border: none;
     color: #999;
     font-size: 1rem;
     padding: 0 14px;
     cursor: pointer;
     flex-shrink: 0;
     line-height: 34px;
     transition: color .2s;
 }

 #announcement-bar .ticker-close:hover {
     color: #fff;
 }

 @keyframes ticker-scroll {
     0% {
         transform: translateX(0);
     }

     100% {
         transform: translateX(-50%);
     }
 }

 /* ══════════════════════════════════════════════════════════════════
     2. HEADER / NAVBAR
  ══════════════════════════════════════════════════════════════════ */
 #main-header {
     background: linear-gradient(160deg, #f7f8fc 0%, #eef1fb 100%);
     height: 64px;
     position: sticky;
     top: 0;
     z-index: 1050;
     /* box-shadow: 0 1px 8px rgba(0, 0, 0, .06); */
 }

 #main-header .header-inner {
     max-width: 1320px;
     margin: 0 auto;
     padding: 0 40px;
     height: 100%;
     display: flex;
     align-items: center;
     gap: 16px;
 }

 /* Logo */
 .header-logo {
     display: flex;
     align-items: center;
     text-decoration: none;
     flex-shrink: 0;
 }

 .header-logo-img {
     height: 38px;
     width: auto;
     display: block;
 }

 /* Search */
 .header-search {
     flex: 1;
     max-width: 480px;
     display: flex;
     align-items: center;
     gap: 0;
     margin-left: auto;
 }

 .header-search input {
     height: 40px;
     border: 1.5px solid #d0d5e0;
     border-right: none;
     border-radius: 8px 0 0 8px;
     padding: 0 14px;
     font-size: var(--fs-sm);
     color: #555;
     outline: none;
     flex: 1;
     background: #f9fafb;
     transition: border-color .2s;
 }

 .header-search input:focus {
     border-color: var(--brand-blue);
     background: #fff;
 }

 .header-search input::placeholder {
     color: #aaa;
 }

 .header-search .btn-search {
     height: 40px;
     background: var(--brand-blue);
     color: #fff;
     border: none;
     border-radius: 0 8px 8px 0;
     padding: 0 18px;
     font-size: var(--fs-sm);
     font-weight: 600;
     cursor: pointer;
     display: flex;
     align-items: center;
     gap: 6px;
     white-space: nowrap;
     transition: background .2s;
 }

 .header-search .btn-search:hover {
     background: #1448c0;
 }

 /* Nav buttons */
 .header-actions {
     display: flex;
     align-items: center;
     gap: 10px;
     flex-shrink: 0;
 }

 .btn-all-exams {
     height: 40px;
     border: 1.5px solid var(--brand-blue);
     color: var(--brand-blue);
     background: #fff;
     border-radius: 8px;
     padding: 0 16px;
     font-size: var(--fs-sm);
     font-weight: 600;
     cursor: pointer;
     display: flex;
     align-items: center;
     gap: 7px;
     transition: background .2s, color .2s;
     white-space: nowrap;
     position: relative;
 }

 .btn-all-exams:hover {
     background: #eff4ff;
 }

 .btn-all-exams .grid-icon {
     font-size: 1rem;
 }

 .btn-register {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     height: 40px;
     background: var(--brand-red);
     color: #fff;
     border: none;
     border-radius: 8px;
     padding: 0 22px;
     font-size: var(--fs-sm);
     font-weight: 700;
     cursor: pointer;
     transition: background .2s;
     white-space: nowrap;
     text-decoration: none;
 }

 .btn-register:hover {
     background: #c41224;
     color: #fff;
 }

 /* All Exams Dropdown */
 #all-exams-dropdown {
     display: none;
     position: absolute;
     top: calc(100% + 12px);
     right: 0;
     width: 1000px;
     background: #fff;
     border: 1px solid #e2e6f0;
     border-radius: 8px;
     box-shadow: 0 8px 32px rgba(0, 0, 0, .13);
     z-index: 2000;
     overflow: hidden;
     animation: dropdown-in .18s ease;
     padding: 16px;
 }

 #all-exams-dropdown.open {
     display: block;
 }

 @keyframes dropdown-in {
     from {
         opacity: 0;
         transform: translateY(-6px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 #all-exams-dropdown .dd-header {
     padding: 10px 14px 10px;
     font-size: var(--fs-sm);
     font-weight: 700;
     color: #333;
     border-bottom: 1px solid #f0f1f5;
 }

 #all-exams-dropdown .dd-listdiv {
     max-height: 500px;
     overflow-y: auto;
     scrollbar-width: thin;
     scrollbar-color: #dde0ea transparent;
 }

 #all-exams-dropdown .dd-listdiv::-webkit-scrollbar {
     width: 4px;
 }

 #all-exams-dropdown .dd-listdiv::-webkit-scrollbar-thumb {
     background: #dde0ea;
     border-radius: 4px;
 }

 #all-exams-dropdown .dd-item {
     padding: 10px 14px;
     cursor: pointer;
     transition: background .15s;
     text-decoration: none;
     color: inherit;
     width: 100%;
 }

 #all-exams-dropdown .dd-item:hover {
     background: #f5f7ff !important;
 }

 /* Selected category keeps its highlight even after the mouse moves off
    it — only swaps to whichever category is hovered next. Stronger tint
    + left accent bar than the plain :hover state so it stays legible at
    rest instead of blending back into the white list. */
 #all-exams-dropdown .dd-item.active {
     background: #eef1ff !important;
     box-shadow: inset 3px 0 0 var(--brand-blue) !important;
 }

 #all-exams-dropdown .dd-item .dd-icon {
     width: 34px;
     height: 34px;
     border-radius: 8px;
     background: #f0f4ff;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1rem;
     flex-shrink: 0;
 }

 #all-exams-dropdown .dd-item .dd-label {
     font-size: var(--fs-sm);
     font-weight: 600;
     color: #222;
 }

 #all-exams-dropdown .dd-item .dd-sub {
     font-size: var(--fs-xs);
     color: #888;
     margin-top: 1px;
 }

 #all-exams-dropdown .examlistul {
     min-height: 480px;
     grid-template-columns: 1fr 1fr;
     align-content: start;
 }

 #all-exams-dropdown .examlistul li {
     list-style: none;
 }

 #all-exams-dropdown .examlistul li a {
     padding: 10px 10px;
     box-shadow: var(--card-shadow);
     background: #fff;
     border: 1px solid #e8eaf0;
     border-radius: 10px;
     font-size: 13px;
     display: flex;
     justify-content: start;
     align-items: center;
     gap: 6px;
 }

 #all-exams-dropdown .examlistul li a img {
     width: 30px;
     object-fit: contain;
 }

 /* ══ Scroll reveal — Y-axis slide-up + fade, toggled via .is-visible
    by the IntersectionObserver in SPHome.php ══ */
 .reveal-up {
     opacity: 0;
     transform: translateY(40px);
     transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
 }

 .reveal-up.is-visible {
     opacity: 1;
     transform: none;
 }

 @media (prefers-reduced-motion: reduce) {
     .reveal-up {
         opacity: 1;
         transform: none;
         transition: none;
     }
 }

 /* ══════════════════════════════════════════════════════════════════
     3. HERO SECTION
  ══════════════════════════════════════════════════════════════════ */
 #hero-section {
     background: linear-gradient(160deg, #f7f8fc 0%, #eef1fb 50%, #fff0f2 100%);
     min-height: calc(100vh - 98px);
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     overflow: hidden;
 }

 .hero-inner {
     max-width: 1320px;
     margin: 0 auto;
     padding: 36px 40px 28px;
     width: 100%;
     display: flex;
     align-items: flex-end;
     gap: 40px;
 }

 /* Left */
 .hero-left {
     flex: 1;
     min-width: 0;
 }

 .hero-badge {
     display: inline-flex;
     align-items: center;
     gap: 7px;
     background: #ffe8ea;
     border: 1px solid var(--accent-pink-border);
     color: #c0142a;
     font-size: var(--fs-xs);
     font-weight: 600;
     padding: 6px 14px;
     border-radius: 20px;
     margin-bottom: 24px;
 }

 .hero-badge .badge-star {
     color: var(--brand-red);
     font-size: .85rem;
 }

 .hero-heading {
     font-size: 2.8rem;
     font-weight: 600;
     line-height: 1.18;
     color: var(--text-dark);
     margin-bottom: 18px;
     letter-spacing: -.5px;
 }

 .hero-heading .red {
     color: var(--brand-red);
 }

 .hero-subtext {
     font-size: 1rem;
     color: #555;
     line-height: 1.65;
     max-width: 420px;
     margin-bottom: 32px;
 }

 .btn-start-free {
     display: inline-block;
     background: var(--brand-red);
     color: #fff;
     font-size: 1rem;
     font-weight: 600;
     padding: 13px 32px;
     border-radius: 8px;
     border: none;
     cursor: pointer;
     text-decoration: none;
     transition: background .2s, transform .15s;
     letter-spacing: .2px;
 }

 .btn-start-free:hover {
     background: #c41224;
     transform: translateY(-1px);
     color: #fff;
 }

 /* ── HERO RIGHT ─────────────────────────────────────────── */
 .hero-right {
     flex: 0 0 600px;
     position: relative;
     height: 400px;
     overflow: visible;
 }

 /* Student image with bottom white fade */
 .hero-student-img {
     position: absolute;
     bottom: 36px;
     left: -44px;
     width: 252px;
     height: auto;
     z-index: 10;
     pointer-events: none;
     -webkit-mask-image: linear-gradient(to bottom, black 72%, transparent 100%);
     mask-image: linear-gradient(to bottom, black 72%, transparent 100%);
 }

 /* Speech-bubble shell wrapper */
 .hpc-shell-wrap {
     position: absolute;
     top: 65px;
     left: 170px;
     right: 0;
     height: 257px;
     z-index: 5;
     box-shadow: 0 10px 40px rgba(0, 0, 0, 0.09), 0 2px 8px rgba(0, 0, 0, 0.04);
     border-radius: 30px;
     background: #fff;
 }

 /* Speech-bubble tail — matches soft red gradient start.
    top offset reduced by the same 45px .hpc-shell-wrap moved down by,
    so the tail's absolute position (and .hero-student-img) stay put. */
 .hpc-shell-wrap::before {
     content: '';
     position: absolute;
     left: -26px;
     top: 45px;
     width: 0;
     height: 0;
     border-right: 28px solid #fff;
     border-top: 0 solid transparent;
     border-bottom: 50px solid transparent;
     z-index: 6;
 }

 /* Card shell — transparent (shell-wrap already has bg + shadow) */
 .hpc-shell {
     position: absolute;
     inset: 0;
     background: transparent;
     border-radius: 30px;
     display: flex;
     overflow: visible;
     padding: 10px;
     gap: 0;
 }

 /* Left: pricing panel — soft red-to-white gradient, no shadow */
 .hpc-left {
     flex: 0 0 228px;
     padding: 20px 22px 18px;
     background: linear-gradient(to right, #f5f8ff 0%, #fff 40%, #fff4f4 100%);
     border-radius: 22px;
     position: relative;
     z-index: 2;
     display: flex;
     flex-direction: column;
 }

 .hpc-starts-at {
     font-size: 0.95rem;
     font-weight: 400;
     color: #999;
     margin-bottom: 16px;
 }

 .hpc-price-row {
     display: flex;
     align-items: baseline;
     gap: 2px;
     margin-bottom: 6px;
     flex-wrap: wrap;
 }

 .hpc-price-sym {
     font-size: 3.4rem;
     font-weight: 400;
     color: var(--text-dark);
     line-height: 1;
 }

 .hpc-price-num {
     font-size: 3.4rem;
     font-weight: 400;
     color: var(--text-dark);
     line-height: 1;
 }

 .hpc-per-month {
     font-size: 0.85rem;
     color: #999;
     font-weight: 400;
     margin-left: 6px;
     align-self: flex-end;
     padding-bottom: 4px;
 }

 .hpc-cta {
     display: block;
     width: 100%;
     background: #fff;
     border: 1.5px solid #cdd0da;
     border-radius: 12px;
     font-size: 0.9rem;
     font-weight: 600;
     color: var(--text-dark);
     padding: 11px 0;
     text-align: center;
     text-decoration: none;
     cursor: pointer;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
     transition: background .2s, color .2s;
     margin-top: auto;
     margin-bottom: 12px;
     font-family: 'Poppins', sans-serif;
     box-sizing: border-box;
 }

 .hpc-cta:hover {
     background: var(--text-dark);
     color: #fff;
     border-color: var(--text-dark);
 }

 .hpc-unlimited {
     display: flex;
     align-items: center;
     gap: 7px;
     font-size: 0.85rem;
     color: #2a8a4a;
     font-weight: 500;
 }

 .hpc-unlimited .bi {
     font-size: 1.1rem;
 }

 /* Right: carousel — sits behind the plan card, clips at its own boundary */
 .hpc-track-wrap {
     flex: 1;
     overflow: hidden;
     position: relative;
     z-index: 1;
     border-radius: 20px;
 }

 .hpc-track {
     display: flex;
     height: 100%;
     will-change: transform;
 }

 .hpc-slide {
     flex: 0 0 100%;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     padding: 18px 24px 22px;
 }

 .hpc-slide-logo {
     width: 104px;
     height: 104px;
     object-fit: contain;
     margin-bottom: 10px;
 }

 .hpc-slide-title {
     font-size: 1.5rem;
     font-weight: 600;
     color: var(--text-dark);
     text-align: center;
     margin-bottom: 6px;
 }

 .hpc-slide-org {
     font-size: 0.78rem;
     color: #999;
     text-align: center;
     line-height: 1.5;
     overflow: hidden;
     display: -webkit-box;
     -webkit-line-clamp: 1;
     -webkit-box-orient: vertical;
 }

 .hpc-slide-sub {
     font-size: 0.78rem;
     color: #bbb;
     text-align: center;
     margin-top: 2px;
     line-height: 1.5;
     overflow: hidden;
     display: -webkit-box;
     -webkit-line-clamp: 1;
     -webkit-box-orient: vertical;
 }

 /* Offer timer */
 .hero-offer-timer {
     position: absolute;
     bottom: 0;
     right: 0;
     left: 170px;
     display: flex;
     align-items: center;
     justify-content: flex-end;
     gap: 8px;
     z-index: 12;
 }

 .hot-label {
     font-size: 1rem;
     color: var(--brand-red);
     font-weight: 400;
     white-space: nowrap;
 }

 .hot-block {
     background: #fff;
     border: 1px solid #e8ebf2;
     border-radius: 9px;
     height: 48px;
     padding: 0 14px;
     display: flex;
     flex-direction: row;
     align-items: center;
     justify-content: center;
     gap: 4px;
     box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
 }

 .hot-block .hb-num {
     font-size: 1.15rem;
     font-weight: 600;
     color: var(--text-dark);
     line-height: 1;
     font-variant-numeric: tabular-nums;
 }

 .hot-block .hb-unit {
     font-size: .72rem;
     color: #aaa;
     font-weight: 500;
     line-height: 1;
 }

 /* ══════════════════════════════════════════════════════════════════
     4. LIVE ACTIVITY STRIP
  ══════════════════════════════════════════════════════════════════ */
 #live-strip {
     width: min(1240px, 100%);
     margin: 0 auto;
     padding: 0 0 20px;
 }

 .live-strip-inner {
     --ls-gap: 24px;
     background: #2d4eb8;
     border-radius: 14px;
     height: 78px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 0 36px;
     gap: var(--ls-gap);
     box-shadow: 0 4px 20px rgba(45, 78, 184, .25);
 }

 /* Fixed, equal width — all three set to the widest one's natural width via JS
    (see footer.php's equalizeLiveStripBlocks()), then spaced equidistantly by
    .live-strip-inner's fixed gap. */
 .ls-block {
     flex: 0 0 auto;
     display: flex;
     flex-direction: column;
     justify-content: center;
     padding: 0;
     position: relative;
 }

 .ls-block:not(:last-child)::after {
     content: '';
     position: absolute;
     right: calc(var(--ls-gap) / -2);
     top: 50%;
     transform: translateY(-50%);
     width: 1px;
     height: 36px;
     background: rgba(255, 255, 255, .28);
 }

 .ls-block:last-child {
     flex: 0 0 auto;
 }

 .ls-stat-text {
     display: flex;
     flex-direction: column;
     gap: 4px;
 }

 .ls-stat-num-row {
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .ls-stat-num {
     font-size: 1.65rem;
     font-weight: 600;
     color: #fff;
     line-height: 1;
     white-space: nowrap;
     flex-shrink: 0;
 }

 .ls-stat-label {
     font-size: 0.875rem;
     color: rgba(255, 255, 255, .75);
 }

 .ls-stat-label .lbl-mobile {
     display: none;
 }

 .ls-live-badge {
     display: inline-block;
     background: transparent;
     color: #fbbf24;
     font-size: var(--fs-xs);
     font-weight: 700;
     letter-spacing: .3px;
     animation: pulse-live 1.8s ease-in-out infinite;
 }

 @keyframes pulse-live {

     0%,
     100% {
         opacity: 1;
     }

     50% {
         opacity: .45;
     }
 }

 /* Score text block */
 .ls-score-block {
     flex-direction: row !important;
     align-items: center;
     gap: 20px;
 }

 .ls-score-text {
     display: flex;
     flex-direction: column;
     gap: 4px;
 }

 .lsc-score {
     font-size: 1.2rem;
     font-weight: 600;
     color: #fff;
     line-height: 1;
 }

 .lsc-accent {
     color: #fbbf24;
     font-size: 0.8rem;
     font-weight: 500;
 }

 .lsc-time {
     font-size: var(--fs-xs);
     color: rgba(255, 255, 255, .65);
 }

 /* White user card on the right */
 .ls-user-card {
     background: #fff;
     border-radius: 10px;
     padding: 8px 14px;
     display: flex;
     align-items: center;
     gap: 10px;
     min-width: 210px;
 }

 .luc-avatar {
     width: 36px;
     height: 36px;
     border-radius: 50%;
     background: linear-gradient(135deg, #fde8dc, #f9a8a0);
     flex-shrink: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: .75rem;
     font-weight: 800;
     color: var(--brand-red);
     overflow: hidden;
 }

 .luc-name {
     font-size: var(--fs-sm);
     font-weight: 700;
     color: var(--text-dark);
     line-height: 1.2;
 }

 .luc-exam {
     font-size: var(--fs-xs);
     color: #777;
     margin-top: 2px;
 }

 /* ══════════════════════════════════════════════════════════════════
     RESPONSIVE
  ══════════════════════════════════════════════════════════════════ */
 @media (max-width: 991px) {
     .hero-inner {
         flex-direction: column;
         padding: 32px 20px;
         gap: 28px;
     }

     .hero-right {
         flex: 0 0 auto;
         width: 100%;
         height: 360px;
     }

     .hero-heading {
         font-size: 2rem;
     }

     .hpc-shell-wrap {
         left: 70px;
         top: 10px;
         height: 270px;
     }

     .hero-student-img {
         width: 170px;
         bottom: 48px;
         left: -10px;
     }

     .hpc-left {
         flex: 0 0 180px;
         padding: 20px 18px;
     }

     .hpc-price-num {
         font-size: 2.2rem;
     }

     .hero-offer-timer {
         left: 70px;
     }

     .live-strip-inner {
         flex-wrap: wrap;
         height: auto;
         padding: 16px 20px;
         gap: 16px;
     }

     .ls-block {
         flex: 1 1 45%;
         border-right: none;
         padding: 0;
     }

     .ls-block:last-child {
         padding-left: 0;
     }
 }

 @media (max-width: 575px) {
     .header-search {
         max-width: 100%;
     }

     .hero-heading {
         font-size: 1.65rem;
     }

     .ls-stat-num {
         font-size: 1.3rem;
     }

     .ls-score-card {
         min-width: auto;
     }
 }

 /* ── SHARED SECTION HEADING ──────────────────────────────────────── */
 .sec-heading {
     text-align: center;
     margin-bottom: 10px;
 }

 .sec-heading h2 {
     font-size: 2rem;
     font-weight: 600;
     color: var(--text-dark);
     display: inline-flex;
     align-items: center;
     gap: 10px;
     line-height: 1;
 }

 .sec-heading .red-badge {
     background: var(--brand-red);
     color: #fff;
     font-size: 1.8rem;
     font-weight: 600;
     padding: 3px 16px 5px;
     border-radius: 8px;
     line-height: 1.2;
 }

 .sec-underline {
     width: 52px;
     height: 3px;
     background: var(--brand-red);
     margin: 10px auto 28px;
     border-radius: 2px;
 }

 /* ══════════════════════════════════════════════════════════════════
   5. EXAMS IN FOCUS
══════════════════════════════════════════════════════════════════ */
 #exams-focus {
     background: #fff;
     padding: 52px 0 56px;
 }

 .focus-grid {
     max-width: 1320px;
     margin: 0 auto;
     padding: 0 40px;
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 22px;
     box-sizing: border-box;
     width: 100%;
 }

 .focus-card {
     position: relative;
     border-radius: var(--card-radius);
     overflow: visible;
     padding-top: 9px;
 }

 .fc-inner {
     position: relative;
     background: #fff;
     border: 1px solid rgba(200, 205, 230, 0.25);
     border-radius: var(--card-radius);
     padding: 22px 20px 20px;
     overflow: hidden;
     transition: transform .22s ease, box-shadow .22s ease;
 }

 .focus-card:hover .fc-inner {
     transform: translateY(-6px);
     box-shadow: 0 16px 32px rgba(17, 24, 60, 0.10), 0 4px 10px rgba(17, 24, 60, 0.05);
 }

 .fc-inner::before,
 .fc-inner::after {
     content: '';
     position: absolute;
     width: 220px;
     height: 220px;
     border-radius: 50%;
     filter: blur(54px);
     top: calc(50% - 110px);
     left: calc(50% - 110px);
     z-index: 0;
     pointer-events: none;
 }

 .fc-inner::before {
     background: rgba(33, 67, 156, 0.15);
     animation: blobBlueOrbit 24s linear infinite;
 }

 .fc-inner::after {
     background: rgba(239, 62, 86, 0.14);
     animation: blobPinkOrbit 24s linear infinite;
 }

 /* Blue blob orbits clockwise from top — 8 steps at 45° each = smooth circle */
 @keyframes blobBlueOrbit {
     0% {
         transform: translate(0, -130px);
     }

     12.5% {
         transform: translate(92px, -92px);
     }

     25% {
         transform: translate(130px, 0);
     }

     37.5% {
         transform: translate(92px, 92px);
     }

     50% {
         transform: translate(0, 130px);
     }

     62.5% {
         transform: translate(-92px, 92px);
     }

     75% {
         transform: translate(-130px, 0);
     }

     87.5% {
         transform: translate(-92px, -92px);
     }

     100% {
         transform: translate(0, -130px);
     }
 }

 /* Pink blob starts exactly 180° opposite — always diametrically across from blue */
 @keyframes blobPinkOrbit {
     0% {
         transform: translate(0, 130px);
     }

     12.5% {
         transform: translate(-92px, 92px);
     }

     25% {
         transform: translate(-130px, 0);
     }

     37.5% {
         transform: translate(-92px, -92px);
     }

     50% {
         transform: translate(0, -130px);
     }

     62.5% {
         transform: translate(92px, -92px);
     }

     75% {
         transform: translate(130px, 0);
     }

     87.5% {
         transform: translate(92px, 92px);
     }

     100% {
         transform: translate(0, 130px);
     }
 }

 /* All card children must sit above the blobs */
 .focus-card>* {
     position: relative;
     z-index: 1;
     height: stretch;
 }

 /* ── TRENDING BADGE — elevated floating tab ─────────────────────── */
 .fc-badge-ribbon {
     position: absolute;
     top: 0;
     left: 50%;
     transform: translateX(-50%);
     z-index: 2;
     display: inline-block;
     white-space: nowrap;
 }

 /* Image ribbon (TRENDING) */
 .fc-badge-img {
     line-height: 0;
 }

 .fc-badge-img img {
     height: 34px;
     width: auto;
     display: block;
 }

 /* top row: logo + explore */
 .fc-top-row {
     display: flex;
     align-items: flex-start;
     justify-content: space-between;
     margin-top: 18px;
     margin-bottom: 14px;
 }

 .fc-top-row img {
     width: 50px;
     object-fit: contain;
 }

 .fc-logo {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #fff;
     font-size: .6rem;
     font-weight: 900;
     text-align: center;
     line-height: 1.2;
     box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
 }

 .fc-explore {
     font-size: var(--fs-xs);
     color: var(--brand-blue);
     font-weight: 600;
     text-decoration: none;
     display: flex;
     align-items: center;
     gap: 3px;
     transition: gap .15s;
 }

 .fc-explore:hover,
 .focus-card:hover .fc-explore {
     gap: 6px;
     color: var(--brand-blue);
 }

 .fc-category {
     font-size: 1rem;
     font-weight: 600;
     color: var(--text-dark);
     margin-bottom: 3px;
 }

 .fc-name {
     font-size: 0.80rem;
     color: #555;
     margin-bottom: 16px;
     line-height: 1.4;
     min-height: 46px;
 }

 .fc-stats {
     border-top: 1px solid rgba(0, 0, 0, .07);
     padding-top: 14px;
     display: flex;
     flex-direction: column;
     gap: 8px;
 }

 .fc-stat-row {
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
     gap: 10px;
 }

 .fc-stat-label {
     font-size: 0.875rem;
     color: #888;
     white-space: nowrap;
     flex-shrink: 0;
 }

 .fc-stat-value {
     font-size: 0.875rem;
     font-weight: 600;
     color: #222;
     text-align: right;
     flex: 1;
     min-width: 0;
 }

 /* ══════════════════════════════════════════════════════════════════
   6. EXAM LIBRARY
══════════════════════════════════════════════════════════════════ */
 #exam-library {
     background: #f8f9fc;
     padding: 52px 0 56px;
 }

 .library-inner {
     max-width: 1320px;
     margin: 0 auto;
     padding: 0 40px;
 }

 /* Tabs */
 .library-inner .nav {
     -webkit-overflow-scrolling: touch;
     flex-wrap: nowrap;
     overflow-x: auto;
     overflow-y: hidden;
     white-space: nowrap;
 }

 .library-inner .nav::-webkit-scrollbar {
     display: none;
 }

 .lib-tab {
     height: 36px;
     min-width: 120px;
     padding: 0 20px !important;
     border-radius: 20px !important;
     border: 2px solid #d8dce8 !important;
     background: #fff !important;
     font-size: var(--fs-sm) !important;
     font-weight: 600 !important;
     color: #555 !important;
     cursor: pointer;
     display: flex !important;
     align-items: center;
     justify-content: center;
     gap: 12px;
     transition: all .18s !important;
     white-space: nowrap;
 }

 .lib-tab:hover {
     border-color: var(--brand-blue);
     color: var(--brand-blue);
 }

 .lib-tab.active {
     background: #fff !important;
     color: var(--brand-blue) !important;
     border: 2px solid var(--brand-blue) !important;
 }

 .lib-tab .tab-icon {
     font-size: .85rem;
 }

 /* Card grid */
 .lib-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 18px;
     overflow: auto;
     height: 530px;
     scrollbar-width: thin;
     scrollbar-color: #dde0ea transparent;
 }

 .lib-grid::-webkit-scrollbar {
     width: 4px;
 }

 .lib-grid::-webkit-scrollbar-thumb {
     background: #dde0ea;
     border-radius: 4px;
 }

 .lib-card {
     background: #fff;
     border: 1px solid #e8eaf0;
     border-radius: 12px;
     height: -webkit-fill-available;
     padding: 16px 18px 14px;
     box-shadow: var(--card-shadow);
     transition: box-shadow .2s, transform .2s;
     cursor: pointer;
 }

 .lib-card:hover {
     box-shadow: 0 6px 24px rgba(0, 0, 0, .11);
     transform: translateY(-2px);
 }

 .lib-card-top {
     display: flex;
     align-items: center;
     gap: 13px;
     margin-bottom: 8px;
     line-height: 26px;
 }

 .lib-card-top img {
     width: 42px;
     height: 42px;
     flex-shrink: 0;
     object-fit: contain;
 }

 .lib-logo {
     width: 44px;
     height: 44px;
     border-radius: 50%;
     flex-shrink: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #fff;
     font-size: .6rem;
     font-weight: 900;
     text-align: center;
     line-height: 1.2;
 }

 .lib-card-name {
     font-size: 0.92rem;
     font-weight: 500;
     color: var(--text-dark);
     line-height: 1.3;
 }

 .lib-card-tier {
     font-size: var(--fs-xs);
     color: #888;
     margin-top: 2px;
 }

 .lib-card-stats {
     border-top: 1px solid #f0f1f5;
     padding-top: 12px;
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 4px;
     text-align: center;
 }

 .lib-stat-val {
     font-size: 0.75rem;
     font-weight: 600;
     color: var(--brand-blue);
 }

 .lib-stat-label {
     font-size: .62rem;
     color: #aaa;
     margin-top: 2px;
 }

 .lib-stat-rating .lib-stat-val {
     color: #f59e0b;
 }

 /* ══════════════════════════════════════════════════════════════════
   7. DAILY CURRENT AFFAIRS + QUIZ
══════════════════════════════════════════════════════════════════ */
 #daily-section {
     background: #fff;
     padding: 52px 0 60px;
 }

 .daily-inner {
     max-width: 1320px;
     margin: 0 auto;
     padding: 0 40px;
     display: grid;
     grid-template-columns: 1fr 320px;
     gap: 24px;
     align-items: stretch;
 }

 /* ── SLIDE WRAPPER ── both panels clip and slide their inner content */
 .daily-panel {
     background: #fff;
     border: 1px solid #e8eaf0;
     border-radius: 14px;
     box-shadow: var(--card-shadow);
     overflow: hidden;
     position: relative;
     display: flex;
     flex-direction: column;
 }

 .daily-panel-inner {
     display: flex;
     width: 200%;
     flex: 1;
     transition: transform .42s cubic-bezier(.4, 0, .2, 1);
 }

 .daily-panel-inner.in-quiz {
     transform: translateX(-50%);
 }

 .daily-slot {
     width: 50%;
     flex-shrink: 0;
     display: flex;
     flex-direction: column;
 }

 /* ── LEFT PANEL — STATE 1: Current Affairs ── */
 .ca-list-head {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 12px;
     padding: 18px 20px 14px;
     border-bottom: 1px solid #f0f1f5;
     flex-wrap: wrap;
 }

 .ca-list-updated {
     font-size: 1rem;
     color: #777;
     line-height: 1.6;
 }

 .ca-list-controls {
     display: flex;
     align-items: center;
     gap: 16px;
     flex-shrink: 0;
 }

 .ca-list-date {
     font-size: var(--fs-xs);
     color: #aaa;
 }

 .ca-stale-notice {
     display: flex;
     align-items: flex-start;
     gap: 10px;
     margin: 14px 20px 0;
     padding: 12px 14px;
     background: #fff8e6;
     border: 1px solid #f5dfa0;
     border-radius: 10px;
     font-size: 0.8125rem;
     line-height: 1.5;
     color: #7a5c00;
 }

 .ca-stale-notice i {
     color: #e8a000;
     font-size: 1rem;
     margin-top: 1px;
     flex-shrink: 0;
 }

 .ca-stale-notice strong {
     color: #5c4400;
 }

 .ca-list {
     max-height: 430px;
     overflow-y: auto;
     scrollbar-width: thin;
     scrollbar-color: #dde0ea transparent;
 }

 .ca-list::-webkit-scrollbar {
     width: 4px;
 }

 .ca-list::-webkit-scrollbar-thumb {
     background: #dde0ea;
     border-radius: 4px;
 }

 .ca-item {
     display: flex;
     align-items: flex-start;
     gap: 13px;
     padding: 13px 20px;
     border-bottom: 1px solid #f3f4f8;
     transition: background .15s;
     cursor: pointer;
 }

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

 .ca-item:hover {
     background: #f9faff;
 }

 .ca-icon {
     width: 32px;
     height: 32px;
     border-radius: 7px;
     background: #e8eeff;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
     color: var(--brand-blue);
     font-size: .75rem;
 }

 .ca-text {
     flex: 1;
     min-width: 0;
 }

 .ca-title {
     font-size: 0.9rem;
     font-weight: 500;
     color: #222;
     line-height: 1.5;
 }

 .ca-category {
     font-size: 0.875rem;
     color: #aaa;
     margin-top: 3px;
     text-align: right;
     display: block;
 }

 /* bottom note bar */
 .ca-footer {
     padding: 10px 20px;
     border-top: 1px solid #f0f1f5;
     display: flex;
     align-items: center;
     justify-content: space-between;
     background: #fafbff;
 }

 .ca-footer-note {
     font-size: 0.8125rem;
     color: #666;
 }

 .ca-footer-note strong {
     color: #111;
 }

 .ca-footer-date {
     font-size: 0.8125rem;
     color: #aaa;
 }

 /* ── LEFT PANEL — STATE 2: Quiz Question ── */
 .qz-question-wrap {
     padding: 20px 22px 0;
 }

 .qz-q-label-row {
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin-bottom: 8px;
 }

 .qz-q-label {
     font-size: var(--fs-xs);
     color: #aaa;
     font-weight: 600;
 }

 .qz-question {
     font-size: .94rem;
     font-weight: 700;
     color: #111;
     line-height: 1.6;
     margin-bottom: 18px;
 }

 /* progress bar inside left panel */
 .qz-progress-bar-bg {
     height: 4px;
     background: #eee;
     border-radius: 4px;
     margin-bottom: 18px;
 }

 .qz-progress-bar-fill {
     height: 100%;
     background: var(--brand-blue);
     border-radius: 4px;
     transition: width .3s;
 }

 /* options */
 .qz-options {
     display: flex;
     flex-direction: column;
     gap: 9px;
     padding: 0 22px;
 }

 .qz-option {
     display: flex;
     align-items: center;
     gap: 12px;
     padding: 11px 16px;
     border: 1.5px solid #e8eaf0;
     border-radius: 50px;
     /* full pill */
     cursor: pointer;
     font-size: .86rem;
     font-weight: 500;
     color: #333;
     background: #fff;
     width: 100%;
     text-align: left;
     transition: border-color .15s, background .15s;
     position: relative;
 }

 .qz-option:hover {
     border-color: #c8d0e8;
     background: #fafbff;
 }

 /* radio dot */
 .qz-radio {
     width: 16px;
     height: 16px;
     border: 2px solid #ccc;
     border-radius: 50%;
     flex-shrink: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: border-color .15s;
 }

 .qz-radio::after {
     content: '';
     width: 7px;
     height: 7px;
     border-radius: 50%;
     background: transparent;
     transition: background .15s;
 }

 .qz-option.selected {
     border-color: #f9a8a8;
     background: #fff5f5;
 }

 .qz-option.selected .qz-radio {
     border-color: var(--brand-red);
 }

 .qz-option.selected .qz-radio::after {
     background: var(--brand-red);
 }

 .qz-option.correct {
     border-color: #86efac;
     background: #f0fdf4;
 }

 .qz-option.correct .qz-radio {
     border-color: #22c55e;
 }

 .qz-option.correct .qz-radio::after {
     background: #22c55e;
 }

 #qz-options.qz-locked .qz-option {
     pointer-events: none;
     cursor: default;
 }

 /* bottom navigation bar */
 #qz-question-slot {
     flex: 1;
 }

 .qz-nav-bar {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 14px 22px 16px;
     margin-top: auto;
     border-top: 1px solid #f0f1f5;
 }

 .qz-nav-prev {
     display: flex;
     align-items: center;
     gap: 10px;
     background: none;
     border: none;
     cursor: pointer;
     font-size: var(--fs-sm);
     color: #111;
     font-weight: 600;
     opacity: 1;
 }

 .qz-nav-prev:disabled {
     color: #aaa;
     opacity: .5;
     cursor: not-allowed;
 }

 .qz-nav-prev-avatar {
     width: 32px;
     height: 32px;
     border-radius: 50%;
     background: #111;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .qz-nav-prev-avatar i {
     color: #fff;
     font-size: .7rem;
 }

 .qz-nav-prev:disabled .qz-nav-prev-avatar {
     background: #ccc;
 }

 .qz-timer {
     display: flex;
     align-items: center;
     gap: 5px;
     font-size: var(--fs-xs);
     color: #e8a000;
     font-weight: 700;
     border: 1px solid #f0d080;
     background: #fffbeb;
     border-radius: 20px;
     padding: 5px 12px;
 }

 .qz-nav-next {
     width: 36px;
     height: 36px;
     border-radius: 50%;
     background: #111;
     border: none;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #fff;
     font-size: .85rem;
     transition: background .15s;
 }

 .qz-nav-next:hover {
     background: #333;
 }

 .qz-nav-next:disabled {
     opacity: .35;
     cursor: not-allowed;
     background: #111;
 }

 .qz-nav-next:disabled:hover {
     background: #111;
 }

 /* Branded submit-confirmation dialog */
 .qz-confirm-overlay {
     display: none;
     position: fixed;
     inset: 0;
     background: rgba(17, 24, 39, .5);
     z-index: 3000;
     align-items: center;
     justify-content: center;
     padding: 20px;
 }

 .qz-confirm-overlay.open {
     display: flex;
 }

 .qz-confirm-box {
     background: #fff;
     border-radius: 16px;
     padding: 26px 26px 20px;
     max-width: 360px;
     width: 100%;
     box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
     text-align: center;
     animation: qzConfirmIn .18s ease;
 }

 @keyframes qzConfirmIn {
     from {
         opacity: 0;
         transform: scale(.96) translateY(6px);
     }

     to {
         opacity: 1;
         transform: none;
     }
 }

 .qz-confirm-box p {
     font-size: 1.05rem;
     font-weight: 600;
     color: #111;
     line-height: 1.5;
     margin-bottom: 20px;
 }

 .qz-confirm-actions {
     display: flex;
     gap: 10px;
 }

 .qz-confirm-cancel,
 .qz-confirm-yes {
     flex: 1;
     min-height: 46px;
     border-radius: 10px;
     font-size: var(--fs-sm);
     font-weight: 600;
     cursor: pointer;
     font-family: 'Poppins', sans-serif;
 }

 .qz-confirm-cancel {
     background: #fff;
     border: 1.5px solid #d8dbe5;
     color: #444;
 }

 .qz-confirm-cancel:hover {
     background: #f5f6fa;
 }

 .qz-confirm-yes {
     background: var(--brand-blue);
     border: none;
     color: #fff;
 }

 .qz-confirm-yes:hover {
     background: #1a377e;
 }

 /* ── RIGHT PANEL — STATE 1: Daily Quiz card ── */
 #dq-info-view {
     display: flex;
     flex-direction: column;
     flex: 1;
 }

 .dq-card-body {
     padding: 20px 20px 0;
     flex: 1;
     display: flex;
     flex-direction: column;
 }

 .btn-start-quiz {
     margin-top: auto;
 }

 .dq-title {
     font-size: 1.5625rem;
     font-weight: 600;
     color: #111;
 }

 .dq-desc {
     font-size: 1rem;
     color: #777;
     line-height: 1.6;
     margin-bottom: 14px;
 }

 .dq-bullets {
     list-style: none;
     padding: 0;
     margin-bottom: 16px;
     display: flex;
     flex-direction: column;
     gap: 7px;
 }

 .dq-bullets li {
     font-size: 1rem;
     color: #444;
     display: flex;
     gap: 7px;
 }

 .dq-bullets li::before {
     content: '•';
     color: #333;
     font-weight: 900;
     flex-shrink: 0;
 }

 .dq-meta-strip {
     margin-top: auto;
     display: flex;
     align-items: center;
     gap: 18px;
     background: #f8f9fc;
     border-radius: 9px;
     padding: 11px 16px;
     margin-bottom: 16px;
     font-size: var(--fs-xs);
     color: #666;
 }

 .dq-meta-strip span {
     display: flex;
     align-items: center;
     gap: 5px;
     font-weight: 600;
     font-size: 0.9rem;
 }

 .btn-start-quiz {
     width: calc(100% - 40px);
     margin: 0 20px 20px;
     background: var(--brand-red);
     color: #fff;
     border: none;
     border-radius: 9px;
     padding: 13px 0;
     font-size: .9rem;
     font-weight: 700;
     cursor: pointer;
     display: block;
     transition: background .2s;
 }

 .btn-start-quiz:hover {
     background: #c41224;
 }

 .btn-score-result {
     margin-top: auto;
     display: flex;
     flex-direction: column;
     gap: 4px;
     background: #f0f4ff;
     border: 1.5px solid #c7d5f5;
     border-radius: 10px;
     padding: 13px 20px;
     cursor: default;
 }

 .bsr-row {
     display: flex;
     align-items: center;
     justify-content: space-between;
 }

 .bsr-label {
     font-size: var(--fs-sm);
     font-weight: 600;
     color: #555;
 }

 .bsr-score {
     font-size: 1.15rem;
     font-weight: 800;
     color: var(--brand-blue);
 }

 .bsr-note {
     font-size: var(--fs-xs, 12px);
     color: #7a86a3;
 }

 /* ── RIGHT PANEL — STATE 2: Question Navigator ── */
 .qnav-body {
     padding: 16px 18px;
     display: flex;
     flex-direction: column;
     flex: 1;
 }

 .dq-card-title-row {
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin-bottom: 6px;
 }

 .dq-panel-date {
     font-size: var(--fs-xs);
     color: #aaa;
 }

 .qnav-header-row {
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin-bottom: 14px;
 }

 .qnav-title {
     font-size: 1.05rem;
     font-weight: 800;
     color: #111;
 }

 .qnav-grid {
     display: grid;
     grid-template-columns: repeat(5, 1fr);
     gap: 7px;
     margin-bottom: 14px;
 }

 .qnav-num {
     width: 100%;
     aspect-ratio: 1;
     border-radius: 7px;
     border: 1.5px solid #e0e2ee;
     background: #fff;
     font-size: var(--fs-sm);
     font-weight: 700;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #555;
     transition: all .15s;
 }

 .qnav-num:hover {
     border-color: var(--brand-blue);
     color: var(--brand-blue);
 }

 .qnav-num.answered {
     background: var(--brand-blue);
     color: #fff;
     border-color: var(--brand-blue);
 }

 .qnav-num.current {
     border-color: var(--brand-blue);
     color: var(--brand-blue);
     box-shadow: 0 0 0 2px rgba(26, 86, 219, .2);
 }

 .qnav-num.answered.current {
     background: var(--brand-blue);
     color: #fff;
 }

 .qnav-legend {
     display: flex;
     gap: 14px;
     font-size: var(--fs-xs);
     color: #666;
     margin-bottom: 14px;
 }

 .qnav-legend span {
     display: flex;
     align-items: center;
     gap: 5px;
 }

 .legend-dot {
     width: 10px;
     height: 10px;
     border-radius: 3px;
     display: inline-block;
 }

 .legend-dot.answered {
     background: var(--brand-blue);
 }

 .legend-dot.unanswered {
     background: #e0e2ee;
     border: 1px solid #ccc;
 }

 .btn-submit-quiz {
     width: 100%;
     margin-top: auto;
     background: #16a34a;
     color: #fff;
     border: none;
     border-radius: 9px;
     padding: 12px 0;
     font-size: .9rem;
     font-weight: 700;
     cursor: pointer;
     margin-bottom: 0px;
     transition: background .2s;
 }

 .btn-submit-quiz:hover {
     background: #15803d;
 }

 .qnav-footer {
     display: flex;
     align-items: center;
     justify-content: space-between;
     font-size: var(--fs-xs);
     color: #aaa;
     padding-top: 4px;
 }

 .qnav-lang {
     font-size: var(--fs-xs);
     color: #555;
     display: flex;
     align-items: center;
     gap: 5px;
 }

 .qnav-lang select {
     border: 1px solid #dde0ea;
     border-radius: 5px;
     padding: 3px 7px;
     font-size: var(--fs-xs);
     color: #555;
     background: #fff;
     cursor: pointer;
 }

 /* Result screen (full-width overlay inside left panel) */
 .qz-result-wrap {
     padding: 36px 28px;
     text-align: center;
 }

 .qz-result-score {
     font-size: 3.2rem;
     font-weight: 900;
     color: var(--brand-blue);
     line-height: 1;
 }

 .qz-result-label {
     font-size: .88rem;
     color: #666;
     margin: 8px 0 24px;
 }

 .qz-res-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 12px;
     margin-bottom: 26px;
 }

 .qz-res-item {
     background: #f8f9fc;
     border-radius: 10px;
     padding: 14px 8px;
 }

 .qz-res-val {
     font-size: 1.3rem;
     font-weight: 800;
     color: #111;
 }

 .qz-res-lbl {
     font-size: var(--fs-xs);
     color: #999;
     margin-top: 3px;
 }

 .qz-result-btns {
     display: flex;
     gap: 12px;
     justify-content: center;
 }

 .qz-result-btns button {
     flex: 1;
     max-width: 160px;
     padding: 11px 0;
     border-radius: 9px;
     font-size: .86rem;
     font-weight: 700;
     cursor: pointer;
     border: none;
 }

 .btn-retake {
     background: var(--brand-blue);
     color: #fff;
 }

 .btn-close-res {
     background: #f0f1f5;
     color: #555;
 }

 /* ══════════════════════════════════════════════════════════════════
   8. ABOUT US
══════════════════════════════════════════════════════════════════ */
 #about-section {
     background: #eef1f8;
     position: relative;
     overflow: hidden;
     padding: 72px 0 0;
 }

 .about-map-bg {
     position: absolute;
     inset: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center;
     opacity: 0.55;
     pointer-events: none;
     user-select: none;
 }

 .about-inner {
     max-width: 1320px;
     margin: 0 auto;
     padding: 0 min(80px, 5vw);
     display: grid;
     grid-template-columns: 1fr 520px;
     align-items: center;
     gap: 60px;
     position: relative;
     z-index: 2;
     width: 100%;
     box-sizing: border-box;
 }

 .about-left {
     padding-bottom: 72px;
 }

 .about-label {
     font-size: 1.25rem;
     font-weight: 700;
     color: var(--brand-red);
     letter-spacing: 1.5px;
     text-transform: uppercase;
     margin-bottom: 14px;
 }

 .about-heading {
     font-size: 2.5rem;
     font-weight: 600;
     color: var(--text-dark);
     line-height: 1.2;
     margin-bottom: 20px;
 }

 .about-body {
     font-size: 0.9375rem;
     color: #555;
     line-height: 1.75;
     margin-bottom: 12px;
     max-width: 560px;
 }

 .about-body:last-of-type {
     margin-bottom: 32px;
 }

 .btn-read-more {
     display: inline-block;
     background: var(--brand-red);
     color: #fff;
     font-size: 0.9375rem;
     font-weight: 600;
     padding: 12px 32px;
     border-radius: 8px;
     text-decoration: none;
     transition: background .2s, transform .15s;
 }

 .btn-read-more:hover {
     background: #c41224;
     transform: translateY(-1px);
     color: #fff;
 }

 .about-right {
     display: flex;
     align-items: flex-end;
     justify-content: center;
 }

 .about-illustration {
     width: 100%;
     max-width: 500px;
     display: block;
 }

 /* ══════════════════════════════════════════════════════════════════
   9. TESTIMONIALS CAROUSEL
══════════════════════════════════════════════════════════════════ */
 #testimonials-section {
     background: #fff;
     padding: 64px 0 72px;
     overflow: hidden;
 }

 .testimonials-heading {
     text-align: center;
     font-size: 1.75rem;
     font-weight: 600;
     color: var(--text-dark);
     margin-bottom: 25px;
 }

 .testimonials-heading .red-badge {
     background: var(--brand-red);
     color: #fff;
     font-size: 1.75rem;
     font-weight: 600;
     padding: 4px 20px;
     border-radius: 6px;
 }

 .testimonials-underline {
     width: 48px;
     height: 3px;
     background: var(--brand-red);
     border-radius: 2px;
     margin: 0 auto 48px;
 }

 .tcarousel-wrap {
     position: relative;
     max-width: 1240px;
     margin: 0 auto;
     overflow: hidden;
 }

 /* fade masks */
 .tcarousel-wrap::before,
 .tcarousel-wrap::after {
     content: '';
     position: absolute;
     top: 0;
     bottom: 0;
     width: 180px;
     z-index: 2;
     pointer-events: none;
 }

 .tcarousel-wrap::before {
     left: 0;
     background: linear-gradient(to right, #fff 0%, transparent 100%);
 }

 .tcarousel-wrap::after {
     right: 0;
     background: linear-gradient(to left, #fff 0%, transparent 100%);
 }

 .tcarousel-track {
     display: flex;
     gap: 24px;
     width: max-content;
     animation: tscroll 40s linear infinite;
     padding-bottom: 10px;
 }

 .tcarousel-track:hover {
     animation-play-state: paused;
 }

 @keyframes tscroll {
     0% {
         transform: translateX(0);
     }

     100% {
         transform: translateX(-50%);
     }
 }

 .tcard {
     width: 380px;
     flex-shrink: 0;
     background: #fff;
     border: 1px solid #e4e7f0;
     border-radius: 14px;
     padding: 28px 28px 24px;
     display: flex;
     flex-direction: column;
     gap: 24px;
 }

 .tcard-quote {
     font-size: 0.9375rem;
     font-style: italic;
     color: #333;
     line-height: 1.7;
     flex: 1;
 }

 .tcard-footer {
     display: flex;
     align-items: center;
     gap: 14px;
 }

 .tcard-avatar {
     width: 48px;
     height: 48px;
     border-radius: 50%;
     object-fit: cover;
     flex-shrink: 0;
     background: #e8eaf0;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.1rem;
     font-weight: 700;
     color: #fff;
 }

 .tcard-meta-rank {
     font-size: 0.875rem;
     font-weight: 700;
     color: var(--text-dark);
     margin-bottom: 3px;
 }

 .tcard-meta-name {
     font-size: 0.8125rem;
     color: #888;
 }

 /* ── RESPONSIVE ──────────────────────────────────────────────────── */
 @media (max-width: 1100px) {
     .focus-grid {
         grid-template-columns: repeat(2, 1fr);
     }
 }

 @media (max-width: 991px) {
     .daily-inner {
         grid-template-columns: 1fr;
     }

     .quiz-card {
         position: static;
     }

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

 @media (max-width: 600px) {

     .focus-grid,
     .lib-grid {
         grid-template-columns: 1fr;
     }
 }


 /* ══════════════════════════════════════════════════════════════════
   SECTION 10 — PLANS & ADVANTAGE
══════════════════════════════════════════════════════════════════ */
 #plans-section {
     background: #f4f8ff;
     position: relative;
     padding: 52px 0 0;
     overflow: hidden;
 }

 .plans-fade {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     height: 110px;
     background: linear-gradient(to bottom, transparent 0%, #fff 100%);
     pointer-events: none;
     z-index: 2;
 }

 .plans-inner {
     max-width: 1640px;
     margin: 0 auto;
     padding: 0 clamp(24px, 8vw, 150px) 90px;
     display: grid;
     grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
     gap: clamp(20px, 3vw, 44px);
     align-items: stretch;
     box-sizing: border-box;
 }

 /* ── Advantage panel ── */
 .adv-panel {
     width: 100%;
     border: 1px solid #d4ddf0;
     border-radius: 10px;
     background: transparent;
     padding: 28px 28px 28px;
     box-sizing: border-box;
     display: flex;
     flex-direction: column;
 }

 .adv-eyebrow {
     font-size: clamp(14px, 1.3vw, 19px);
     font-weight: 700;
     color: var(--brand-red);
     margin: 0 0 12px;
     line-height: 1.3;
 }

 .adv-heading {
     font-size: 2.5rem;
     font-weight: 600;
     color: var(--brand-dark);
     line-height: 1.12;
     margin: 0 0 32px;
 }

 .adv-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 10px;
     flex: 1;
 }

 .adv-tile {
     background: #f8fbff;
     border-radius: 8px;
     padding: 14px 12px 10px;
     min-height: 88px;
     display: flex;
     flex-direction: column;
     gap: 8px;
 }

 .adv-icon {
     width: 36px;
     height: 36px;
     flex-shrink: 0;
 }

 .adv-label {
     font-size: 0.8125rem;
 }

 .adv-label-sub {
     font-size: 0.72rem;
     font-weight: 400;
     font-weight: 500;
     color: #555;
     line-height: 1.4;
 }

 /* ── Pricing cards column ── */
 .plans-right {
     display: flex;
     flex-direction: column;
     gap: 10px;
 }

 /* Individual card — horizontal 3-zone layout */
 .pcard {
     display: grid;
     grid-template-columns: 130px 1px 1fr auto;
     align-items: center;
     gap: 0;
     background: #eef3fc;
     border: 1px solid #dce4f5;
     border-radius: 16px;
     padding: 20px 22px;
     box-sizing: border-box;
     position: relative;
 }

 .pcard--selected {
     background: #fff;
     box-shadow: 0 6px 28px rgba(0, 0, 0, .10), 0 1px 4px rgba(0, 0, 0, .06);
 }

 .pcard-left {
     padding-right: 18px;
 }

 .pcard-old {
     font-size: var(--fs-sm);
     color: #aaa;
     text-decoration: line-through;
     font-weight: 400;
     line-height: 1.4;
 }

 .pcard-price {
     font-size: clamp(28px, 2.5vw, 40px);
     font-weight: 400;
     color: var(--brand-dark);
     line-height: 1.1;
 }

 .pcard-pass {
     font-size: var(--fs-sm);
     font-weight: 700;
     color: var(--brand-blue);
     margin-top: 3px;
     white-space: nowrap;
 }

 /* Zone 2 – divider */
 .pcard-divider {
     width: 1px;
     height: 72px;
     background: #dce4f5;
     flex-shrink: 0;
 }

 /* Zone 3 – benefits */
 .pcard-mid {
     display: flex;
     flex-direction: column;
     gap: 7px;
     padding: 0 20px;
     min-width: 0;
 }

 .pcard-benefit {
     display: flex;
     align-items: center;
     gap: 8px;
     font-size: var(--fs-sm);
     color: #333;
     font-weight: 500;
     white-space: nowrap;
 }

 .chk-icon {
     width: 16px;
     height: 16px;
     flex-shrink: 0;
 }

 /* Zone 4 – button + ribbon */
 .pcard-right {
     display: flex;
     flex-direction: column;
     align-items: flex-end;
     gap: 8px;
     padding-left: 16px;
 }

 .pcard-btn {
     padding: 10px 22px;
     border: 1.5px solid #cdd0da;
     border-radius: 10px;
     background: #fff;
     font-size: var(--fs-sm);
     font-weight: 600;
     color: var(--brand-dark);
     cursor: pointer;
     box-shadow: 0 2px 8px rgba(0, 0, 0, .07);
     font-family: 'Poppins', sans-serif;
     white-space: nowrap;
 }

 .pcard-btn:hover {
     background: #f9faff;
 }

 .pcard:not(.pcard--selected):hover {
     background: #ffffff;
     transition: background .2s;
 }

 /* Ribbon — mirrors the purchase-modal's .pp-badge chevron design (see
    get_purchase_modal.php's .pp-badge/.b-pop/.b-off) so the same plans
    read as one consistent ribbon style across the homepage cards and
    the popup modal's plan cards. */
 .pcard-ribbon {
     display: flex;
     flex-direction: row;
     overflow: visible;
     font-size: .66rem;
     font-weight: 600;
     letter-spacing: .01em;
     line-height: 1;
     width: fit-content;
     filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .18));
 }

 .ribbon-pop,
 .ribbon-off {
     position: relative;
     display: flex;
     align-items: center;
     justify-content: center;
     min-height: 26px;
     padding: 6px 15px;
     color: #fff;
     white-space: nowrap;
     font-weight: 600;
     border-radius: 0;
     clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%, 14% 50%);
 }

 .ribbon-pop {
     z-index: 1;
     min-width: 70px;
     padding-left: 16px;
     padding-right: 17px;
     margin-right: -10px;
     background: #42b8b6;
     transform: translateX(5px);
 }

 .ribbon-off {
     z-index: 2;
     min-width: 70px;
     padding-left: 16px;
     padding-right: 14px;
     background: var(--brand-red);
 }

 /* Only one ribbon rendered (no sibling to notch against) — standalone chevron */
 .ribbon-pop:only-child {
     min-width: 62px;
     margin-right: 0;
     padding-right: 14px;
     background: #0e9b8e;
     transform: none;
 }

 .ribbon-off:only-child,
 .pcard-ribbon--right .ribbon-off {
     min-width: 70px;
     padding: 6px 14px 6px 16px;
     margin-left: 0;
 }

 /* Countdown row */
 .plans-countdown {
     display: flex;
     align-items: center;
     justify-content: flex-end;
     gap: 8px;
     margin-top: 4px;
 }

 .pcd-label {
     font-size: var(--fs-sm);
     font-weight: 500;
     color: var(--brand-red);
     margin-right: 4px;
     white-space: nowrap;
 }

 .pcd-box {
     display: flex;
     align-items: baseline;
     gap: 3px;
     background: #fff;
     border: 1px solid #dce4f5;
     border-radius: 7px;
     padding: 7px 14px;
     box-shadow: 0 1px 5px rgba(0, 0, 0, .06);
     justify-content: center;
 }

 .pcd-num {
     font-size: 1.25rem;
     font-weight: 600;
     color: #222;
     font-variant-numeric: tabular-nums;
     line-height: 1;
 }

 .pcd-unit {
     font-size: 0.68rem;
     color: #aaa;
     font-weight: 500;
 }

 /* ── Breakpoints ── */
 @media (max-width: 1200px) {
     .plans-inner {
         grid-template-columns: 1fr 1fr;
     }
 }

 @media (max-width: 900px) {
     .plans-inner {
         grid-template-columns: 1fr;
     }

     .adv-panel {
         min-height: auto;
     }

     .adv-heading {
         font-size: 2rem;
     }
 }

 @media (max-width: 767px) {
     #plans-section {
         padding: 30px 0 0;
     }

     .plans-inner {
         padding: 0 var(--mobile-gutter) 40px;
         gap: 24px;
     }

     .adv-heading {
         font-size: 1.2rem;
         margin-bottom: 20px;
     }

     .adv-eyebrow {
         font-size: var(--fs-sm);
     }

     .adv-grid {
         grid-template-columns: repeat(2, 1fr);
         gap: 8px;
     }

     .adv-tile {
         padding: 14px 12px 12px;
         gap: 8px;
         font-size: 13px;
     }

     .adv-label {
         font-size: 0.78rem;
     }

     /* Stack cards vertically — no carousel */
     .plans-right {
         gap: 14px;
     }

     .pcard {
         grid-template-columns: 1fr;
         grid-template-rows: auto auto auto;
         gap: 5px;
         padding: 10px 18px 60px;
     }

     .pcard-left {
         padding-right: 0;
     }

     .pcard-price {
         font-size: 1.35rem;
     }

     .pcard-pass {
         font-size: var(--fs-sm);
     }

     .pcard-divider {
         display: none;
     }

     .pcard-mid {
         padding: 0;
     }

     .pcard-benefit {
         white-space: normal;
         font-size: var(--fs-sm);
     }

     /* Every card: button becomes a full-width bar pinned to the bottom edge,
        ribbon moves to its own top-right corner — freed from sharing space,
        so it keeps its original (non-shrunk) size. Layout only — each
        card's own background/shadow (e.g. .pcard--selected) is untouched. */
     .pcard-right {
         display: contents;
     }

     .pcard-btn {
         position: absolute;
         left: 18px;
         right: 18px;
         bottom: 14px;
         width: auto;
         text-align: center;
     }

     .pcard-ribbon {
         position: absolute;
         top: 10px;
         right: 14px;
         font-size: .66rem;
     }

     .ribbon-pop,
     .ribbon-off {
         min-height: 26px;
         padding: 6px 15px;
     }

     .ribbon-pop {
         min-width: 70px;
         padding-left: 16px;
         padding-right: 17px;
     }

     .ribbon-off {
         min-width: 70px;
         padding-left: 16px;
         padding-right: 14px;
     }

     .ribbon-pop:only-child {
         min-width: 62px;
         padding-right: 14px;
     }

     .ribbon-off:only-child {
         min-width: 70px;
         padding: 6px 14px 6px 16px;
     }

     .plans-countdown {
         justify-content: flex-start;
         flex-wrap: wrap;
         gap: 8px;
         margin-top: 0;
     }

     .plans-fade {
         height: 70px;
     }

     .pcd-box {
         padding: 7px 10px;
     }

     .pcd-num {
         font-size: 1.1rem;
     }

     .dq-bullets li {
         font-size: 0.9rem;
     }
 }

 /* ── RESPONSIVE ──────────────────────────────────────────────────── */
 @media (max-width: 1100px) {
     .focus-grid {
         grid-template-columns: repeat(2, 1fr);
     }
 }

 @media (max-width: 991px) {
     .daily-inner {
         grid-template-columns: 1fr;
     }

     .quiz-card {
         position: static;
     }

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

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

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

 /* ═══════════════════════════════════════════════════════════════════
   MOBILE-FIRST RESPONSIVE OVERHAUL v2
   Each component owns its own overflow — no blanket body clipping.
═══════════════════════════════════════════════════════════════════ */

 /* ── min-width:0 on all flex/grid children so text can shrink ── */
 * {
     min-width: 0;
 }

 /* ── Shared scroll-rail primitive ─────────────────────────────── */
 .mobile-rail {
     display: grid;
     grid-auto-flow: column;
     grid-auto-columns: minmax(0, calc(100% - 32px));
     gap: var(--mobile-rail-gap);
     overflow-x: auto;
     overscroll-behavior-inline: contain;
     scroll-snap-type: x mandatory;
     scroll-padding-inline: var(--mobile-gutter);
     padding-inline: var(--mobile-gutter);
     scrollbar-width: none;
 }

 .mobile-rail>* {
     min-width: 0;
     scroll-snap-align: start;
 }

 .mobile-rail::-webkit-scrollbar {
     display: none;
 }

 @media (max-width: 767px) {
     .section-snap {
         min-height: auto;
     }
 }

 /* ══ 2. HEADER ══ */
 @media (max-width: 767px) {
     #announcement-bar {
         height: 30px;
         font-size: 0.7rem;
     }

     #main-header {
         height: 56px;
     }

     #main-header .header-inner {
         padding: 0 16px;
         gap: 10px;
     }

     .header-search {
         display: none;
     }

     .btn-all-exams {
         display: none;
     }

     /* Compact register */
     .btn-register {
         padding: 0 14px;
         height: 36px;
         font-size: 0.78rem;
     }

     /* Show mobile search icon instead */
     .header-mobile-search-btn {
         display: flex;
         align-items: center;
         justify-content: center;
         width: 36px;
         height: 36px;
         background: #f0f4ff;
         border: 1.5px solid #d0d5e0;
         border-radius: 8px;
         color: var(--brand-blue);
         font-size: 1rem;
         cursor: pointer;
         flex-shrink: 0;
     }
 }

 @media (min-width: 768px) {
     .header-mobile-search-btn {
         display: none;
     }
 }

 /* ══ 3. HERO SECTION ══ */
 @media (max-width: 767px) {
     #hero-section {
         min-height: auto;
         padding-bottom: 0;
     }

     .hero-inner {
         flex-direction: column;
         padding: 24px 20px 0;
         gap: 24px;
         align-items: flex-start;
     }

     .hero-left {
         width: 100%;
     }

     .hero-badge {
         font-size: 0.7rem;
         padding: 5px 10px;
         margin-bottom: 14px;
     }

     .hero-heading {
         font-size: clamp(1.4rem, 6vw, 1.8rem);
         margin-bottom: 12px;
         letter-spacing: -0.3px;
     }

     .hero-subtext {
         font-size: 0.875rem;
         margin-bottom: 20px;
         max-width: 100%;
     }

     .btn-start-free {
         font-size: 0.9rem;
         padding: 11px 24px;
     }

     /* Hero right: compact card only, no absolute positioning chaos */
     .hero-right {
         width: 100%;
         flex: none;
         height: auto;
         overflow: visible;
         position: relative;
     }

     /* Hide student image on mobile — saves space, card is the focus */
     .hero-student-img {
         display: none;
     }

     /* Shell wrap: full width, no absolute offset */
     .hpc-shell-wrap {
         position: relative;
         left: auto;
         right: auto;
         top: auto;
         width: 100%;
         height: auto;
         min-height: 140px;
         border-radius: 20px;
     }

     /* Hide tail on mobile */
     .hpc-shell-wrap::before {
         display: none;
     }

     .hpc-shell {
         position: relative;
         inset: auto;
         display: flex;
         flex-direction: row;
         border-radius: 20px;
         padding: 0;
         overflow: hidden;
     }

     /* Left pricing: compact */
     .hpc-left {
         flex: 0 0 170px;
         padding: 14px 14px;
         border-radius: 0;
     }

     .hpc-starts-at {
         font-size: 0.72rem;
         margin-bottom: 6px;
     }

     .hpc-price-sym,
     .hpc-price-num {
         font-size: 2.1rem;
     }

     .hpc-per-month {
         font-size: 0.7rem;
         margin-left: 4px;
     }

     .hpc-cta {
         font-size: 0.75rem;
         padding: 8px 0;
         border-radius: 8px;
         margin-bottom: 8px;
     }

     .hpc-unlimited {
         font-size: 0.7rem;
         gap: 4px;
     }

     .hpc-unlimited .bi {
         font-size: 0.85rem;
     }

     /* Right carousel */
     .hpc-track-wrap {
         border-radius: 0;
     }

     .hpc-slide {
         padding: 12px 16px;
     }

     .hpc-slide-logo {
         width: 60px;
         height: 60px;
         margin-bottom: 6px;
     }

     .hpc-slide-title {
         font-size: 1rem;
         margin-bottom: 3px;
     }

     .hpc-slide-org,
     .hpc-slide-sub {
         font-size: 0.68rem;
     }

     /* Offer timer: below card, full width */
     .hero-offer-timer {
         position: relative;
         left: auto;
         right: auto;
         bottom: auto;
         justify-content: flex-start;
         /* flex-wrap: wrap; */
         padding: 12px 0 20px;
         gap: 6px;
     }

     .hot-label {
         font-size: 0.82rem;
     }

     .hot-block {
         height: 38px;
         padding: 0 10px;
         gap: 3px;
     }

     .hot-block .hb-num {
         font-size: 0.95rem;
     }

     .hot-block .hb-unit {
         font-size: 0.6rem;
     }
 }

 /* ══ 4. LIVE STRIP ══ */
 /* Desktop: centred at 1240px */
 #live-strip {
     width: min(1240px, 100%);
     margin: 0 auto;
     padding: 0 0 20px;
 }

 @media (max-width: 767px) {

     #live-strip {
         width: auto;
         margin-inline: var(--mobile-gutter);
         padding: 20px 0 24px;
     }

     /* All three stats sit side by side in one row, no scrolling */
     .live-strip-inner {
         width: 100%;
         min-width: 0;
         max-width: 100%;
         box-sizing: border-box;
         border-radius: 14px;
         height: auto;
         display: flex;
         flex-direction: row;
         flex-wrap: nowrap;
         align-items: stretch;
         gap: 3px;
         padding: 14px 10px;
         box-shadow: 0 4px 20px rgba(45, 78, 184, .20);
     }

     /* Equal thirds */
     .ls-block {
         flex: 1 1 0;
         min-width: 0;
         padding: 0;
         position: relative;
         border-right: none;
     }

     /* Very faint thin divider between each set of stats */
     .ls-block:not(:last-child)::after {
         content: '';
         display: block;
         position: absolute;
         right: -1.5px;
         top: 10%;
         bottom: 10%;
         width: 1px;
         background: rgba(255, 255, 255, .12);
     }

     /* Stat text */
     .ls-stat-text {
         align-items: flex-start;
         flex-direction: column;
         gap: 3px;
     }

     .ls-stat-num-row {
         flex-wrap: wrap;
         gap: 4px;
     }

     .ls-stat-num {
         font-size: 1.05rem;
     }

     .ls-stat-label {
         font-size: 0.62rem;
         line-height: 1.3;
         display: block;
         max-width: 100%;
         overflow: hidden;
         white-space: nowrap;
         text-overflow: ellipsis;
     }

     .ls-stat-label .lbl-desktop {
         display: none;
     }

     .ls-stat-label .lbl-mobile {
         display: inline;
     }

     .ls-live-badge {
         margin-top: 0;
         font-size: 0.6rem;
     }
 }

 /* ══ 5. EXAMS IN FOCUS — horizontal swipe rail ══ */
 @media (max-width: 767px) {
     #exams-focus {
         padding: 30px 0 30px;
     }

     /* Apply mobile-rail pattern; preserve existing 20px gutter */
     .focus-grid {
         display: grid;
         grid-auto-flow: column;
         grid-auto-columns: minmax(0, min(82vw, 300px));
         grid-template-columns: unset;
         gap: 14px;
         overflow-x: auto;
         overscroll-behavior-inline: contain;
         scroll-snap-type: x mandatory;
         scroll-padding-inline: var(--mobile-gutter);
         padding: 0 var(--mobile-gutter) 12px;
         scrollbar-width: none;
     }

     .focus-grid::-webkit-scrollbar {
         display: none;
     }

     .focus-card {
         scroll-snap-align: start;
         min-width: 0;
         padding-top: 9px;
     }
 }

 /* ══ 6. EXAM LIBRARY — tabs rail + card swipe rail ══ */
 @media (max-width: 767px) {
     #exam-library {
         padding: 30px 0 30px;
     }

     .library-inner {
         padding: 0 var(--mobile-gutter);
     }

     .lib-tab {
         height: 32px;
         padding: 0 14px;
         font-size: 0.75rem;
         scroll-snap-align: start;
     }

     /* Cards: snap rail showing one full card + next preview, as a flex row
        (not CSS grid — grid-auto-flow:column was still rendering broken on
        some mobile browsers). height/overflow-y reset the base rule's fixed
        height:530px + overflow:auto (both axes), which combined with the
        layout conflicts here to make cards render as an overlapping stack
        instead of a clean horizontal rail. */
     .lib-grid {
         
         flex-direction: row;
         flex-wrap: nowrap;
         grid-template-columns: unset;
         gap: var(--mobile-rail-gap);
         height: auto;
         overflow-x: auto;
         overflow-y: visible;
         overscroll-behavior-inline: contain;
         scroll-snap-type: x mandatory;
         scroll-padding-inline: var(--mobile-gutter);
         padding: 0 var(--mobile-gutter) 8px;
         scrollbar-width: none;
         margin-left: calc(-1 * var(--mobile-gutter));
         margin-right: calc(-1 * var(--mobile-gutter));
         max-height: 500px;
         overflow-y: auto;
         scrollbar-width: thin;
         scrollbar-color: #dde0ea transparent;
     }

     .lib-grid::-webkit-scrollbar {
         display: none;
     }

     .lib-card {
         flex: 0 0 calc(100% - 32px);
         scroll-snap-align: start;
         min-width: 0;
     }
 }

 /* ══ 7. DAILY CURRENT AFFAIRS + QUIZ — mobile ══ */
 @media (max-width: 767px) {
     #daily-section {
         padding: 30px 0 30px;
     }

     .daily-inner {
         padding: 0 var(--mobile-gutter);
         grid-template-columns: 1fr;
         gap: 20px;
     }

     /* Fix panel-inner: single-column, not 200% horizontal slide */
     .daily-panel-inner {
         width: 100% !important;
         min-width: 0;
         max-width: 100%;
         flex-direction: column;
         transition: none !important;
         transform: none !important;
     }

     .daily-slot {
         width: 100%;
         min-width: 0;
         max-width: 100%;
     }

     /* CA list */
     .ca-list {
         max-height: 360px;
     }

     .ca-item {
         padding: 10px 14px;
         gap: 10px;
     }

     .ca-title {
         font-size: 0.875rem;
         overflow-wrap: anywhere;
     }

     .ca-category {
         font-size: 0.72rem;
     }

     .ca-footer {
         flex-wrap: wrap;
         gap: 6px;
     }

     .ca-footer-note {
         font-size: 0.75rem;
     }

     /* Right panel (quiz info) */
     #dq-right-panel {
         position: static !important;
     }

     .dq-meta-strip {
         flex-wrap: wrap;
         gap: 8px;
     }

     .qz-nav-bar {
         padding: 10px 14px 14px;
         flex-wrap: wrap;
         gap: 8px;
     }

     .qz-timer {
         font-size: 0.7rem;
     }

     /* Left panel: hide question slot by default, show when quiz active */
     #ca-panel-inner>.daily-slot:nth-child(2) {
         display: none;
     }

     #ca-panel-inner.in-quiz>.daily-slot:nth-child(1) {
         display: none;
     }

     #ca-panel-inner.in-quiz>.daily-slot:nth-child(2) {
         display: flex;
         flex-direction: column;
     }

     /* Right panel: hide navigator/submit until quiz starts */
     #dq-panel-inner>.daily-slot:nth-child(2) {
         display: none;
     }

     #dq-panel-inner.in-quiz>.daily-slot:nth-child(1) {
         display: none;
     }

     #dq-panel-inner.in-quiz>.daily-slot:nth-child(2) {
         display: block;
     }
 }

 /* ══ 8. ABOUT SECTION ══ */
 @media (max-width: 767px) {
     #about-section {
         padding: 30px 0 0;
     }

     .about-inner {
         grid-template-columns: 1fr;
         padding: 0 20px;
         gap: 28px;
     }

     .about-left {
         padding-bottom: 0;
     }

     .about-label {
         font-size: 0.875rem;
         margin-bottom: 10px;
     }

     .about-heading {
         font-size: 20px;
         margin-bottom: 14px;
     }

     .about-body {
         font-size: 0.875rem;
         max-width: 100%;
     }

     .about-body:last-of-type {
         margin-bottom: 20px;
     }

     /* Clamp body copy to 3 lines, reveal with "Read More" */
     .about-body-clamp {
         overflow: hidden;
         display: -webkit-box;
         -webkit-line-clamp: 3;
         -webkit-box-orient: vertical;
     }

     /* Illustration: max 280px, below the text */
     .about-right {
         justify-content: flex-start;
     }

     .about-illustration {
         max-width: min(280px, 100%);
     }

     .about-map-bg {
         opacity: 0.3;
     }
 }

 /* ══ 9. TESTIMONIALS — single-card snap rail ══ */
 @media (max-width: 767px) {
     #testimonials-section {
         padding: 30px 0 30px;
     }

     .testimonials-heading {
         font-size: 1.25rem;
         margin-bottom: 18px;
     }

     .testimonials-heading .red-badge,
     .sec-heading .red-badge {
         font-size: 1.2rem;
         padding: 4px 14px;
     }

     .testimonials-underline {
         margin-bottom: 28px;
     }

     /* Carousel wrap becomes the scroll viewport with proper gutters */
     .tcarousel-wrap {
         max-width: 100%;
         overflow-x: auto;
         overscroll-behavior-inline: contain;
         scroll-snap-type: x mandatory;
         scroll-padding-inline: var(--mobile-gutter);
         padding-inline: var(--mobile-gutter);
         scrollbar-width: thin;
         scrollbar-color: #dde0ea transparent;
     }

     .tcarousel-wrap::-webkit-scrollbar {
         height: 4px;
     }

     .tcarousel-wrap::-webkit-scrollbar-thumb {
         background: #dde0ea;
         border-radius: 4px;
     }

     .tcarousel-wrap::before,
     .tcarousel-wrap::after {
         display: none;
     }

     /* Track: no auto-scroll animation; natural scrollable flex row */
     .tcarousel-track {
         animation: none !important;
         width: max-content;
         padding: 0;
         gap: 14px;
     }

     /* Card: full width minus gutter, leaving a peek of next card */
     .tcard {
         width: calc(100vw - (2 * var(--mobile-gutter)) - 24px);
         min-width: 0;
         flex-shrink: 0;
         scroll-snap-align: start;
         padding: 20px;
         gap: 16px;
     }

     .tcard-quote {
         font-size: 0.875rem;
         overflow: hidden;
         display: -webkit-box;
         -webkit-line-clamp: 4;
         -webkit-box-orient: vertical;
     }
 }

 /* ══ TABLET 768px–1023px ══ */
 @media (min-width: 768px) and (max-width: 1023px) {
     .hero-inner {
         padding: 28px 32px;
         gap: 28px;
         align-items: start;
     }

     .hero-heading {
         font-size: 2rem;
     }

     .hero-subtext {
         max-width: fit-content;
     }

     .hpc-slide-logo {
         width: 80px;
         height: 80px;
     }

     .hero-right {
         flex: 0 0 340px;
         height: 360px;
     }

     .hpc-shell-wrap {
         left: 170px;
         height: 230px;
         top: 15px;
     }

     .hero-student-img {
         width: 200px;
         left: -20px;
         bottom: 40px;
     }

     .hero-offer-timer {
         left: 120px;
     }

     .hpc-left {
         flex: 0 0 250px;
     }

     .hpc-price-sym,
     .hpc-price-num {
         font-size: 2.6rem;
     }

     #live-strip {
         width: 100%;
         padding: 0 32px 20px;
     }

     .focus-grid {
         padding: 0 32px;
         gap: 16px;
         grid-template-columns: repeat(2, 1fr);
     }

     .library-inner {
         padding: 0 32px;
     }

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

     .daily-inner {
         padding: 0 32px;
         grid-template-columns: 1fr 280px;
     }

     .about-inner {
         padding: 0 40px;
         grid-template-columns: 1fr 200px;
         gap: 40px;
     }

     .about-illustration {
         max-width: 360px;
     }
 }

 /* ══ LARGE DESKTOP 1024px+ ══ */
 @media (min-width: 1024px) {
     #live-strip {
         width: 1240px;
         max-width: 100%;
     }
 }

 /* ── SECTION HEADINGS MOBILE ── */
 @media (max-width: 767px) {
     .sec-heading h2 {
         font-size: 1.3rem !important;
     }

     .focus-inner,
     .library-inner,
     .daily-inner,
     .about-inner {
         max-width: 100%;
     }
 }

 /* ── TOUCH TARGETS ── */
 @media (max-width: 767px) {

     .lib-tab,
     .qz-option,
     .btn-start-free,
     .btn-read-more,
     .hpc-cta,
     .btn-register {
         min-height: 44px;
     }

     .lib-tab {
         min-height: 36px;
     }

     .qz-nav-next {
         width: 44px;
         height: 44px;
     }
 }

 /* ── REDUCED MOTION ── */
 @media (prefers-reduced-motion: reduce) {
     .tcarousel-track {
         animation: none;
     }

     #announcement-bar .ticker-track {
         animation: none;
     }

     .fc-inner::before,
     .fc-inner::after {
         animation: none;
     }
 }

 /* Mobile layout refinement: complete cards, centred content, and header search. */
 .mobile-search-popover {
     display: none;
 }

 @media (max-width: 767px) {
     #main-header .header-inner {
         gap: 8px;
     }

     .header-mobile-search-btn {
         margin-left: auto;
     }

     .header-actions {
         gap: 8px;
     }

     .mobile-search-popover {
         position: absolute;
         top: calc(100% + 8px);
         right: 16px;
         display: block;
         width: min(360px, calc(100vw - 32px));
         padding: 14px;
         background: #fff;
         border: 1px solid #e1e5ef;
         border-radius: 12px;
         box-shadow: 0 14px 36px rgba(23, 37, 84, .18);
         opacity: 0;
         visibility: hidden;
         transform: translateY(-6px) scale(.98);
         transform-origin: top right;
         transition: opacity .18s ease, transform .18s ease, visibility .18s;
     }

     .mobile-search-popover::before {
         content: '';
         position: absolute;
         right: 92px;
         top: -7px;
         width: 12px;
         height: 12px;
         background: #fff;
         border-left: 1px solid #e1e5ef;
         border-top: 1px solid #e1e5ef;
         transform: rotate(45deg);
     }

     .mobile-search-popover.open {
         opacity: 1;
         visibility: visible;
         transform: translateY(0) scale(1);
     }

     .mobile-search-popover label {
         display: block;
         margin-bottom: 8px;
         color: #172554;
         font-size: .75rem;
         font-weight: 700;
     }

     .mobile-search-field {
         position: relative;
     }

     .mobile-search-field i {
         position: absolute;
         left: 13px;
         top: 50%;
         color: #73809c;
         transform: translateY(-50%);
     }

     .mobile-search-field input {
         width: 100%;
         height: 44px;
         padding: 0 14px 0 38px;
         border: 1.5px solid #cfd6e6;
         border-radius: 9px;
         outline: none;
         font-size: .875rem;
     }

     .mobile-search-field input:focus {
         border-color: var(--brand-blue);
         box-shadow: 0 0 0 3px rgba(35, 82, 190, .10);
     }

     .mobile-search-results {
         display: grid;
         gap: 4px;
         max-height: 190px;
         margin-top: 8px;
         overflow-y: auto;
         scrollbar-width: thin;
         scrollbar-color: #dde0ea transparent;
     }

     .mobile-search-results::-webkit-scrollbar {
         width: 4px;
     }

     .mobile-search-results::-webkit-scrollbar-thumb {
         background: #dde0ea;
         border-radius: 4px;
     }

     .mobile-search-result {
         width: 100%;
         padding: 10px 11px;
         border: 0;
         border-radius: 8px;
         background: #f6f8fc;
         color: #27324a;
         text-align: left;
         font-size: .8rem;
         cursor: pointer;
     }

     .mobile-search-empty {
         padding: 8px 2px 2px;
         color: #7b8497;
         font-size: .75rem;
     }

     #exams-focus .sec-heading,
     #exam-library .sec-heading {
         text-align: center;
     }

     .focus-grid {
         display: flex;
         grid-template-columns: none;
         gap: 14px;
         padding: 0 var(--mobile-gutter) 12px;
         scroll-padding-inline: var(--mobile-gutter);
     }

     .focus-card {
         flex: 0 0 calc(100% - (2 * var(--mobile-gutter)));
         min-width: 0;
         scroll-snap-align: center;
     }

     .fc-inner {
         padding: 22px 20px 20px;
         text-align: center;
     }

     .fc-top-row {
         position: relative;
         justify-content: center;
         padding-top: 2px;
     }

     .fc-explore {
         position: absolute;
         right: 0;
         top: 0;
     }

     .fc-name {
         min-height: 0;
     }

     .fc-stat-row {
         text-align: left;
     }

     /* .lib-grid/.lib-card layout itself is owned by the single "EXAM LIBRARY —
        tabs rail + card swipe rail" @media(max-width:767px) block above —
        this one used to redeclare display/margin/padding a second time with a
        conflicting flex-based strategy, fighting that block's grid-based one. */
     .lib-card {
         text-align: center;
     }

     .lib-card-top {
         justify-content: flex-start;
     }

     .lib-card-top>div:last-child {
         text-align: left;
     }

     .lib-stat-val {
         font-size: 0.7rem;
     }

     .about-right {
         justify-content: center;
         width: 100%;
     }

     .about-illustration {
         width: min(92vw, 350px);
         max-width: 100%;
         margin-inline: auto;
     }

     .dq-title {
         font-size: 1.2rem;
     }
 }

 /* ══════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════ */
 #site-footer {
     background: #f8f9fc;
     color: #333;
     font-size: 0.8125rem;
     line-height: 1.6;
     border-top: 1px solid #e0e0e0;
 }

 .footer-top {
     max-width: 1240px;
     margin: 0 auto;
     padding: 40px 0px 36px;
     display: grid;
     grid-template-columns: 2fr 1fr 1.6fr 1.4fr;
     gap: 40px;
     box-sizing: border-box;
 }

 .footer-brand-logo {
     display: flex;
     align-items: center;
     gap: 10px;
     text-decoration: none;
     margin-bottom: 12px;
 }

 .footer-brand-logo img {
     height: 46px;
     width: auto;
 }

 .footer-brand-logo .fb-name {
     display: none;
 }

 .footer-brand-logo .fb-sub {
     font-size: 0.65rem;
     color: var(--brand-red);
     font-weight: 600;
     letter-spacing: .04em;
 }

 .footer-brand-desc {
     font-size: 0.9375rem;
     color: #777;
     line-height: 1.55;
     max-width: 320px;
 }

 .footer-col-title {
     font-size: 0.9375rem;
     font-weight: 700;
     color: var(--text-dark);
     margin: 0 0 14px;
 }

 .footer-col-links {
     list-style: none;
     padding: 0;
     margin: 0;
     display: flex;
     flex-direction: column;
     gap: 7px;
 }

 .footer-col-links a {
     color: #666;
     text-decoration: none;
     font-size: 0.9375rem;
 }

 .footer-col-links a:hover,
 .footer-col-links a:focus-visible {
     color: var(--text-dark);
     text-decoration: underline;
 }

 .footer-social-row {
     display: flex;
     align-items: center;
     gap: 12px;
     margin-bottom: 10px;
 }

 .footer-social-row a {
     color: #555;
     text-decoration: none;
     display: flex;
     align-items: center;
 }

 .footer-social-row a:hover {
     color: var(--text-dark);
     text-decoration: underline;
 }

 .footer-social-row svg {
     width: 20px;
     height: 20px;
 }

 .footer-contact-item {
     display: flex;
     align-items: center;
     gap: 7px;
     color: #666;
     font-size: 0.9375rem;
     margin-bottom: 6px;
     text-decoration: none;
 }

 .footer-contact-item svg {
     width: 15px;
     height: 15px;
     flex-shrink: 0;
     color: #888;
 }

 a.footer-contact-item:hover {
     color: var(--text-dark);
     text-decoration: underline;
 }

 .footer-app-badge {
     display: inline-block;
     margin-top: 2px;
 }

 .footer-app-badge img {
     height: 44px;
     width: auto;
     border-radius: 6px;
 }

 .footer-exams {
     max-width: 1240px;
     margin: 0 auto;
     padding: 0px;
     box-sizing: border-box;
 }

 .footer-section-title {
     font-size: 0.9375rem;
     font-weight: 700;
     color: var(--text-dark);
     margin: 0 0 8px;
 }

 .footer-section-divider {
     border: none;
     border-top: 1px solid #ddd;
     margin: 0 0 20px;
 }

 .footer-central-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     border: 1px solid #e0e0e0;
     margin-bottom: 28px;
 }

 .footer-exam-col {
     padding: 16px 16px 18px;
     border-right: 1px solid #e0e0e0;
     border-bottom: 1px solid #e0e0e0;
 }

 .footer-exam-col-title {
     font-size: 0.9375rem;
     font-weight: 700;
     color: var(--text-dark);
     margin: 0 0 10px;
 }

 .footer-exam-list {
     list-style: none;
     padding: 0;
     margin: 0;
     display: flex;
     flex-direction: column;
     gap: 4px;
 }

 .footer-exam-link {
     color: #666;
     text-decoration: none;
     font-size: 0.9375rem;
     line-height: 1.45;
     display: block;
 }

 .footer-exam-link:hover,
 .footer-exam-link:focus-visible {
     color: var(--brand-dark);
     text-decoration: underline;
     text-underline-offset: 2px;
 }

 .footer-state-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     border: 1px solid #e0e0e0;
     margin-bottom: 32px;
 }

 .footer-state-cell {
     padding: 16px 16px 18px;
     border-right: 1px solid #e0e0e0;
     border-bottom: 1px solid #e0e0e0;
 }

 .footer-state-cell:nth-child(4n) {
     border-right: none;
 }

 .footer-bottom {
     border-top: 1px solid #ddd;
     margin: 0 auto;
     padding: 14px 14px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     font-size: 0.9375rem;
     color: #888;
     box-sizing: border-box;
 }

 .footer-legal-links {
     display: flex;
     align-items: center;
 }

 .footer-legal-links a {
     color: #888;
     text-decoration: none;
     padding: 0 12px;
     border-right: 1px solid #ccc;
     font-size: 0.9375rem;
 }

 .footer-legal-links a:last-child {
     border-right: none;
     padding-right: 0;
 }

 .footer-legal-links a:hover {
     color: var(--text-dark);
     text-decoration: underline;
 }

 @media (max-width: 900px) {
     .footer-top {
         grid-template-columns: 1fr 1fr;
         padding: 32px 40px 28px;
         gap: 28px;
     }

     .footer-exams {
         padding: 0 40px;
     }

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

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

     .footer-state-cell:nth-child(4n) {
         border-right: 1px solid #e0e0e0;
     }

     .footer-state-cell:nth-child(2n) {
         border-right: none;
     }

     .footer-bottom {
         padding: 14px 40px;
     }
 }

 @media (max-width: 600px) {
     .footer-top {
         grid-template-columns: 1fr;
         padding: 28px var(--mobile-gutter) 24px;
         gap: 24px;
     }

     .footer-exams {
         padding: 0 var(--mobile-gutter);
     }

     .footer-central-grid {
         grid-template-columns: 1fr;
     }

     .footer-exam-col {
         border-right: none;
         border-bottom: 1px solid #e0e0e0;
         padding: 14px;
     }

     .footer-state-grid {
         grid-template-columns: 1fr;
     }

     .footer-state-cell {
         border-right: none !important;
     }

     .footer-bottom {
         flex-direction: column;
         gap: 10px;
         text-align: center;
         padding: 14px var(--mobile-gutter);
     }

     .footer-legal-links {
         flex-wrap: wrap;
         justify-content: center;
     }
 }

 /* single exam page */
 /* ── Breadcrumb ───────────────────────────────────────────────── */
 .breadcrumb-wrap {
     background: linear-gradient(160deg, #f7f8fc 0%, #eef1fb 100%);
     padding: 10px 0;
 }

 .breadcrumb {
     margin: 0;
     font-size: 13px;
 }

 .breadcrumb-item a {
     color: var(--brand-blue);
     text-decoration: none;
     font-size: 14px;
 }

 .breadcrumb-item.active {
     color: var(--text-muted);
 }

 .breadcrumb-item+.breadcrumb-item::before {
     color: var(--text-muted);
 }

 /* ── Hero Section ─────────────────────────────────────────────── */
 .exam-singlePage .hero-section {
     background: linear-gradient(160deg, #f7f8fc 0%, #eef1fb 50%, #fff0f2 100%);
     padding: 1.5rem 0 3rem;
     position: relative;
     overflow: hidden;
 }

 .exam-singlePage .hero-section::before {
     content: '';
     position: absolute;
     top: -60px;
     right: -80px;
     width: 320px;
     height: 320px;
     border-radius: 50%;
     background: radial-gradient(circle, rgba(239, 62, 86, 0.08) 0%, transparent 70%);
     pointer-events: none;
 }

 .exam-singlePage .hero-section::after {
     content: '';
     position: absolute;
     bottom: -80px;
     left: -60px;
     width: 280px;
     height: 280px;
     border-radius: 50%;
     background: radial-gradient(circle, rgba(33, 67, 156, 0.07) 0%, transparent 70%);
     pointer-events: none;
 }

 /* Two-column hero layout */
 .exam-singlePage .hero-inners {
     display: grid;
     grid-template-columns: 1fr 340px;
     gap: 2.5rem;
     align-items: start;
 }

 @media (max-width: 991.98px) {
     .exam-singlePage .hero-inners {
         grid-template-columns: 1fr;
         gap: 1.5rem;
     }

     .exam-singlePage .hero-promo-card {
         max-width: 480px;
     }

     .exam-singlePage .overview-section {
         padding: 2rem 0;
     }

     .exam-singlePage .section-header {
         margin-bottom: 1rem;
     }
 }

 /* Promo card */
 .exam-singlePage .hero-promo-card {
     background: #fff;
     border-radius: 20px;
     padding: 1.75rem;
     position: relative;
     z-index: 1;
     overflow: hidden;
     box-shadow: 0 12px 48px rgba(33, 67, 156, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
     border: 1px solid var(--border);
     display: flex;
     flex-direction: column;
     gap: 0;
 }

 .exam-singlePage .promo-card-top {
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin-bottom: 1.4rem;
 }

 .exam-singlePage .promo-tag {
     display: inline-flex;
     align-items: center;
     gap: 5px;
     background: var(--primary-bg);
     color: var(--brand-red);
     font-size: 11px;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 0.6px;
     padding: 5px 12px;
     border-radius: 100px;
 }

 .exam-singlePage .promo-tag .fire {
     font-size: 13px;
 }

 .exam-singlePage .promo-save-chip {
     background: #f0fdf4;
     color: #16a34a;
     font-size: 11px;
     font-weight: 600;
     padding: 4px 11px;
     border-radius: 100px;
 }

 .exam-singlePage .promo-card-body {
     display: flex;
     flex-direction: column;
 }

 .exam-singlePage .promo-only-text {
     font-size: 12px;
     color: var(--text-muted);
     font-weight: 500;
     margin-bottom: .15rem;
 }

 .exam-singlePage .promo-rate-row {
     display: flex;
     align-items: baseline;
     gap: 2px;
     margin-bottom: .5rem;
 }

 .exam-singlePage .promo-currency {
     font-size: 1.5rem;
     font-weight: 600;
     color: var(--text-dark);
     line-height: 1;
 }

 .exam-singlePage .promo-amount {
     font-size: 3.4rem;
     font-weight: 600;
     color: var(--text-dark);
     letter-spacing: -2px;
     line-height: 1;
 }

 .exam-singlePage .promo-period {
     font-size: 13px;
     font-weight: 500;
     color: var(--text-muted);
     margin-left: 3px;
 }

 .exam-singlePage .promo-divider-line {
     height: 1px;
     background: var(--border);
     margin: 1.1rem 0;
 }

 .exam-singlePage .promo-desc {
     font-size: 13px;
     color: var(--text-muted);
     font-weight: 400;
     line-height: 1.6;
     margin-bottom: 1.25rem;
 }

 .exam-singlePage .promo-cta-btn {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     width: 100%;
     padding: 13px;
     background: var(--brand-red);
     color: #fff;
     border: none;
     border-radius: 8px;
     font-weight: 600;
     font-size: 14px;
     text-decoration: none;
     cursor: pointer;
     transition: background .18s, transform .15s, box-shadow .18s;
     box-shadow: 0 4px 16px rgba(239, 62, 86, 0.32);
 }

 .exam-singlePage .promo-cta-btn:hover {
     background: var(--brand-red);
     color: #fff;
     transform: translateY(-2px);
     box-shadow: 0 8px 24px rgba(239, 62, 86, 0.42);
 }

 .exam-singlePage .promo-footnote {
     text-align: center;
     font-size: 11px;
     color: var(--text-muted);
     margin-top: .75rem;
 }

 .exam-singlePage .exam-badge {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     background: var(--secondary-bg);
     color: var(--brand-blue);
     font-size: 12px;
     font-weight: 600;
     letter-spacing: 0.5px;
     text-transform: uppercase;
     padding: 5px 14px;
     border-radius: 100px;
     margin-bottom: 1rem;
 }

 .exam-singlePage .exam-badge .dot {
     width: 6px;
     height: 6px;
     border-radius: 50%;
     background: var(--brand-red);
     display: inline-block;
 }

 .exam-singlePage h1.exam-title {
     font-size: clamp(1.9rem, 4vw, 2.9rem);
     font-weight: 600;
     color: var(--text-dark);
     letter-spacing: -0.5px;
     margin-bottom: .6rem;
 }

 .exam-singlePage h1.exam-title span {
     color: var(--brand-red);
 }

 .exam-singlePage .exam-subtitle {
     font-size: 1rem;
     color: #555;
     line-height: 1.7;
     text-align: justify;
     margin-bottom: 1.75rem;
 }

 .exam-singlePage .exam-subtitle.is-clamped {
     max-height: 6.8em;
     margin-bottom: .6rem;
     overflow: hidden;
     transition: max-height .35s ease;
 }

 .exam-singlePage .exam-subtitle.is-clamped.is-expanded {
     max-height: 30em;
 }

 .exam-singlePage .exam-subtitle-toggle {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     background: none;
     border: none;
     padding: 0;
     margin-bottom: 1.75rem;
     font-size: .85rem;
     font-weight: 700;
     color: var(--brand-blue);
     cursor: pointer;
 }

 .exam-singlePage .exam-subtitle-toggle:hover {
     color: var(--brand-red);
 }

 .exam-singlePage .exam-subtitle-toggle i {
     font-size: .7rem;
     transition: transform .25s ease;
 }

 .exam-singlePage .exam-subtitle-toggle.is-expanded i {
     transform: rotate(180deg);
 }

 .exam-singlePage .hero-actions {
     display: flex;
     align-items: center;
     gap: 1rem;
     flex-wrap: wrap;
 }

 .exam-singlePage .btn-primary-cta {
     background: var(--brand-red);
     color: #fff;
     border: none;
     padding: 13px 28px;
     border-radius: 8px;
     font-weight: 700;
     font-size: 15px;
     cursor: pointer;
     text-decoration: none;
     display: inline-flex;
     align-items: center;
     gap: 8px;
     transition: background .2s, transform .15s, box-shadow .2s;
     box-shadow: 0 4px 20px rgba(239, 62, 86, 0.3);
 }

 .exam-singlePage .btn-primary-cta:hover {
     background: var(--brand-red);
     color: #fff;
     transform: translateY(-2px);
     box-shadow: 0 8px 28px rgba(239, 62, 86, 0.38);
 }

 .exam-singlePage .btn-outline-plans {
     background: transparent;
     color: var(--brand-blue);
     border: 2px solid var(--brand-blue);
     padding: 11px 24px;
     border-radius: 100px;
     font-weight: 600;
     font-size: 15px;
     cursor: pointer;
     text-decoration: none;
     display: inline-flex;
     align-items: center;
     gap: 6px;
     transition: background .2s, color .2s, transform .15s;
 }

 .exam-singlePage .btn-outline-plans:hover {
     background: var(--brand-blue);
     color: #fff;
     transform: translateY(-2px);
 }

 /* Hero promo card */
 .exam-singlePage .hero-promo-card {
     display: inline-flex;
     align-items: center;
     gap: 1rem;
     background: #fff;
     border: 1.5px solid var(--border);
     border-radius: var(--radius-lg);
     padding: .9rem 1.25rem;
     margin-top: 1.75rem;
     box-shadow: 0 4px 24px rgba(33, 67, 156, 0.09);
     max-width: 100%;
     flex-wrap: wrap;
 }

 .exam-singlePage .promo-badge {
     background: var(--brand-red);
     color: #fff;
     font-size: 10px;
     font-weight: 600;
     letter-spacing: 0.8px;
     text-transform: uppercase;
     padding: 4px 10px;
     border-radius: 8px;
     flex-shrink: 0;
     white-space: nowrap;
 }

 .exam-singlePage .promo-divider {
     width: 1px;
     height: 32px;
     background: var(--border);
     flex-shrink: 0;
 }

 .exam-singlePage .promo-price-group {
     display: flex;
     align-items: baseline;
     gap: 4px;
     flex-shrink: 0;
 }

 .exam-singlePage .promo-price-label {
     font-size: 12px;
     color: var(--text-muted);
     font-weight: 500;
 }

 .exam-singlePage .promo-price-amount {
     font-size: 1.5rem;
     font-weight: 600;
     color: var(--brand-blue);
     letter-spacing: -0.5px;
     line-height: 1;
 }

 .exam-singlePage .promo-price-period {
     font-size: 12px;
     color: var(--text-muted);
     font-weight: 500;
 }

 .exam-singlePage .promo-text-group {
     flex: 1;
     min-width: 0;
 }

 .exam-singlePage .promo-headline {
     font-size: 14px;
     font-weight: 700;
     color: var(--text-dark);
     line-height: 1.3;
 }

 .exam-singlePage .promo-sub {
     font-size: 12px;
     color: var(--text-muted);
     margin-top: 1px;
 }

 .exam-singlePage .promo-cta {
     display: inline-flex;
     align-items: center;
     gap: 5px;
     background: var(--brand-blue);
     color: #fff;
     font-family: 'Poppins', sans-serif;
     font-weight: 700;
     font-size: 13px;
     padding: 9px 18px;
     border-radius: 8px;
     text-decoration: none;
     white-space: nowrap;
     flex-shrink: 0;
     transition: background .18s, transform .15s;
 }

 .exam-singlePage .promo-cta:hover {
     background: var(--brand-navy);
     color: #fff;
     transform: translateY(-1px);
 }

 .exam-singlePage .promo-cta svg {
     flex-shrink: 0;
 }

 @media (max-width: 575.98px) {
     .exam-singlePage .hero-promo-card {
         gap: .75rem;
         margin-top: 1rem;
     }

     .exam-singlePage .promo-divider {
         display: none;
     }
 }

 /* Hero stats strip */
 .exam-singlePage .hero-stats {
     display: flex;
     flex-wrap: wrap;
     gap: 1.5rem;
     margin-top: 2.5rem;
     padding-top: 1.75rem;
     border-top: 1px solid var(--border);
 }

 .exam-singlePage .stat-item {
     display: flex;
     flex-direction: column;
 }

 .exam-singlePage .stat-label {
     font-size: 12px;
     font-weight: 500;
     color: var(--text-muted);
     text-transform: uppercase;
     letter-spacing: 0.4px;
     margin-bottom: 2px;
 }

 .exam-singlePage .stat-value {
     font-size: 1.25rem;
     font-weight: 600;
     color: var(--text-dark);
 }

 .exam-singlePage .stat-value.accent {
     color: var(--brand-red);
 }

 /* ── Section Headings ─────────────────────────────────────────── */
 .exam-singlePage .section-eyebrow {
     font-size: 11.5px;
     font-weight: 700;
     letter-spacing: 1.2px;
     text-transform: uppercase;
     color: var(--brand-red);
     margin-bottom: .35rem;
 }

 .exam-singlePage .section-title {
     font-size: 1.6rem;
     font-weight: 600;
     color: var(--text-dark);
     letter-spacing: -0.3px;
     margin-bottom: .4rem;
 }

 .exam-singlePage .section-lead {
     color: var(--text-muted);
     font-size: 14.5px;
     max-width: 540px;
     margin-bottom: 0;
 }

 .exam-singlePage .section-header {
     margin-bottom: 2.2rem;
 }

 /* ── Overview — modern stat tiles ────────────────────────────── */
 .exam-singlePage .overview-section {
     padding: 4rem 0;
     background: var(--surface);
 }

 .exam-singlePage .overview-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 1px;
     background: var(--border);
     border: 1px solid var(--border);
     border-radius: var(--radius-lg);
     overflow: hidden;
     box-shadow: var(--shadow-card);
 }

 .exam-singlePage .ov-tile {
     background: var(--surface);
     padding: 1.75rem 1.6rem;
     display: flex;
     flex-direction: column;
     gap: .35rem;
     transition: background .18s;
 }

 .exam-singlePage .ov-tile:hover {
     background: #fafbff;
 }

 .exam-singlePage .ov-tile-icon {
     width: 34px;
     height: 34px;
     border-radius: 8px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 16px;
     margin-bottom: .5rem;
     flex-shrink: 0;
 }

 .exam-singlePage .icon-bg-blue {
     background: var(--secondary-bg);
 }

 .exam-singlePage .icon-bg-red {
     background: var(--primary-bg);
 }

 .exam-singlePage .icon-bg-green {
     background: #f0fdf4;
 }

 .exam-singlePage .icon-bg-amber {
     background: #fffbeb;
 }

 .exam-singlePage .ov-tile-label {
     font-size: 11px;
     font-weight: 700;
     color: var(--text-muted);
     text-transform: uppercase;
     letter-spacing: 0.7px;
 }

 .exam-singlePage .ov-tile-value {
     font-size: 1.45rem;
     font-weight: 600;
     color: var(--text-dark);
     letter-spacing: -0.3px;
     line-height: 1.15;
 }

 .exam-singlePage .ov-tile-value.val-blue {
     color: var(--brand-blue);
 }

 .exam-singlePage .ov-tile-value.val-red {
     color: var(--brand-red);
 }

 .exam-singlePage .ov-tile-value.val-green {
     color: #16a34a;
 }

 .exam-singlePage .ov-tile-sub {
     font-size: 12.5px;
     color: var(--text-muted);
     margin-top: 1px;
 }

 .exam-singlePage .ov-tile-sub span {
     display: inline-block;
     background: var(--secondary-bg);
     color: var(--brand-blue);
     font-weight: 600;
     font-size: 11px;
     padding: 2px 8px;
     border-radius: 100px;
     margin-right: 4px;
 }

 @media (max-width: 767.98px) {
     .exam-singlePage .overview-grid {
         grid-template-columns: 1fr 1fr;
     }
 }

 @media (max-width: 479px) {
     .exam-singlePage .overview-grid {
         grid-template-columns: 1fr;
     }
 }

 /* ── Timeline Section ─────────────────────────────────────────── */
 .exam-singlePage .timeline-section {
     padding: 4rem 0;
     background: var(--surface-alt);
 }

 /* ── Desktop/Tablet: single scrollable row, count-agnostic (item count varies per exam) ── */
 .exam-singlePage .timeline-track {
     display: flex;
     flex-wrap: nowrap;
     overflow-x: auto;
     overflow-y: hidden;
     position: relative;
     gap: 0;
     padding-bottom: 10px;
     -webkit-overflow-scrolling: touch;
     scrollbar-width: thin;
     scrollbar-color: #dde0ea transparent;
 }

 .exam-singlePage .timeline-track::-webkit-scrollbar {
     width: 4px;
     height: 4px;
 }

 .exam-singlePage .timeline-track::-webkit-scrollbar-thumb {
     background: #dde0ea;
     border-radius: 4px;
 }

 .exam-singlePage .timeline-item {
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
     padding: 0 10px;
     position: relative;
     z-index: 1;
     /* grow to fill the row when there are few items (so the track spans the full width
        instead of clustering left); min-width floors the shrink so a full item count still
        overflows into the existing horizontal scroll instead of squeezing everything down. */
     flex: 1 1 150px;
     min-width: 150px;
 }

 /* Connector line: one segment per item, running from this dot's centre to the next
    dot's centre. Sized relative to the item's own (fixed) width, so it stays correct
    no matter how many items there are or how far the row is scrolled. */
 .exam-singlePage .timeline-item:not(:last-child)::before {
     content: '';
     position: absolute;
     top: 20px;
     left: 50%;
     width: 100%;
     height: 2px;
     background: var(--border);
     z-index: 0;
 }

 .exam-singlePage .timeline-item.state-done:not(:last-child)::before {
     background: linear-gradient(90deg, var(--brand-blue), #3b62d4);
 }

 /* Dot */
 .exam-singlePage .tl-dot {
     width: 40px;
     height: 40px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: .85rem;
     flex-shrink: 0;
     position: relative;
     z-index: 2;
     transition: transform .2s;
     border: 2.5px solid var(--border);
     background: var(--surface-alt);
 }

 .exam-singlePage .timeline-item:hover .tl-dot {
     transform: scale(1.08);
 }

 /* dot states */
 .exam-singlePage .tl-dot.dot-done {
     background: var(--brand-blue);
     border-color: var(--brand-blue);
 }

 .exam-singlePage .tl-dot.dot-done::after {
     content: '';
     display: block;
     width: 10px;
     height: 6px;
     border-left: 2px solid #fff;
     border-bottom: 2px solid #fff;
     transform: rotate(-45deg) translateY(-1px);
 }

 .exam-singlePage .tl-dot.dot-active {
     background: var(--primary-bg);
     border-color: var(--brand-red);
     border-width: 2.5px;
 }

 .exam-singlePage .tl-dot.dot-active::before {
     content: '';
     position: absolute;
     inset: -6px;
     border-radius: 50%;
     border: 2px solid var(--brand-red);
     opacity: .3;
     animation: pulse-ring 1.8s ease-out infinite;
 }

 .exam-singlePage .tl-dot-active-inner {
     width: 10px;
     height: 10px;
     border-radius: 50%;
     background: var(--brand-red);
 }

 .exam-singlePage .tl-dot.dot-soon {
     background: var(--surface);
     border-color: var(--border);
     border-style: dashed;
 }

 .exam-singlePage .tl-dot-soon-inner {
     width: 8px;
     height: 8px;
     border-radius: 50%;
     background: var(--text-muted);
     opacity: .5;
 }

 @keyframes pulse-ring {
     0% {
         transform: scale(1);
         opacity: .35;
     }

     70% {
         transform: scale(1.4);
         opacity: 0;
     }

     100% {
         transform: scale(1.4);
         opacity: 0;
     }
 }

 /* Text under dot */
 .exam-singlePage .tl-label {
     font-size: 11px;
     font-weight: 600;
     color: var(--text-muted);
     text-transform: uppercase;
     letter-spacing: 0.5px;
     margin-bottom: 3px;
     line-height: 1.3;
 }

 /* entity_text from the dates API, e.g. "Re-Open" */
 .exam-singlePage .tl-badge {
     display: inline-block;
     margin-left: 4px;
     padding: 1px 7px;
     font-size: 9.5px;
     font-weight: 700;
     text-transform: none;
     letter-spacing: normal;
     border-radius: 100px;
     background: var(--secondary-bg);
     color: var(--brand-blue);
     vertical-align: middle;
 }

 .exam-singlePage .tl-date {
     font-size: 12.5px;
     font-weight: 600;
     color: var(--text-dark);
     margin-bottom: 5px;
     line-height: 1.3;
 }

 .exam-singlePage .tl-status {
     display: inline-block;
     font-size: 10.5px;
     font-weight: 600;
     padding: 2px 9px;
     border-radius: 100px;
 }

 .exam-singlePage .status-done {
     background: #f0fdf4;
     color: #16a34a;
 }

 .exam-singlePage .status-live {
     background: var(--primary-bg);
     color: var(--brand-red);
 }

 .exam-singlePage .status-soon {
     background: var(--secondary-bg);
     color: var(--brand-blue);
 }

 /* ── Mobile: vertical left-border list ── */
 @media (max-width: 767.98px) {
     .exam-singlePage .content-wrap {
         padding: 0 20px !important;
     }

     .exam-singlePage .promo-tag {
         font-size: 10px;
         padding: 5px 6px;
     }

     .exam-singlePage .timeline-track {
         flex-direction: column;
         flex-wrap: nowrap;
         overflow-x: visible;
         gap: 0;
         padding-left: 1.5rem;
         padding-bottom: 0;
         border-left: 2px solid var(--border);
         max-height: 420px;
         overflow-y: auto;
     }

     .exam-singlePage .timeline-item {
         flex: 1 1 auto;
         min-width: 0;
         width: 100%;
         flex-direction: row;
         align-items: flex-start;
         text-align: left;
         padding: 0 0 1.5rem 1.25rem;
         gap: 1rem;
     }

     .exam-singlePage .timeline-item:last-child {
         padding-bottom: 0;
     }

     /* the desktop per-item horizontal connector doesn't apply to this vertical list */
     .exam-singlePage .timeline-item:not(:last-child)::before {
         display: none;
     }

     .exam-singlePage .timeline-track::before {
         content: '';
         position: absolute;
         z-index: 0;
         top: 20px;
         left: 33px;
         right: auto;
         width: 2px;
         height: calc(100% - 40px);
         background: var(--border);
     }

     .exam-singlePage .timeline-track::after {
         content: '';
         position: absolute;
         z-index: 0;
         top: 20px;
         left: 33px;
         width: 2px;
         height: calc(100% - 170px);
         background: linear-gradient(180deg, var(--brand-blue), #3b62d4);
     }

     .exam-singlePage .tl-dot {
         margin-bottom: 0;
         margin-left: -1.75rem;
         flex-shrink: 0;
         width: 34px;
         height: 34px;
     }

     .exam-singlePage .tl-text {
         display: flex;
         flex-direction: column;
         gap: 3px;
     }
 }

 /* ── Exam Pattern ─────────────────────────────────────────────── */
 .exam-singlePage .pattern-section {
     padding: 4rem 0;
     background: var(--surface);
 }

 /* Pattern Table */
 .exam-singlePage .pattern-table-wrap {
     border: 1px solid var(--border);
     border-radius: var(--radius-lg);
     overflow: hidden;
     box-shadow: var(--shadow-card);
 }

 .exam-singlePage .pattern-table {
     width: 100%;
     border-collapse: collapse;
     font-size: 14.5px;
 }

 .exam-singlePage .pattern-table thead tr {
     background: var(--secondary-bg);
 }

 .exam-singlePage .pattern-table thead th {
     font-size: 13px;
     font-weight: 700;
     color: var(--brand-blue);
     text-transform: uppercase;
     letter-spacing: 0.5px;
     padding: 14px 20px;
     border: none;
 }

 .exam-singlePage .pattern-table thead th:not(:first-child) {
     text-align: center;
 }

 .exam-singlePage .pattern-table tbody tr {
     border-bottom: 1px solid var(--border);
     transition: background .15s;
 }

 .exam-singlePage .pattern-table tbody tr:last-child {
     border-bottom: none;
 }

 .exam-singlePage .pattern-table tbody tr:hover {
     background: #fafbff;
 }

 .exam-singlePage .pattern-table tbody td {
     padding: 15px 20px;
     color: var(--text-body);
     border: none;
     vertical-align: middle;
 }

 .exam-singlePage .pattern-table tbody td:not(:first-child) {
     text-align: center;
     font-weight: 700;
     font-size: 15px;
     color: var(--text-dark);
 }

 .exam-singlePage .subject-name {
     font-weight: 500;
     color: var(--text-dark);
     font-size: 14.5px;
 }

 .exam-singlePage .subject-optional {
     font-size: 12px;
     font-weight: 600;
     color: var(--brand-red);
     background: var(--primary-bg);
     padding: 2px 8px;
     border-radius: 100px;
     margin-left: 6px;
     vertical-align: middle;
 }

 .exam-singlePage .pattern-table tfoot tr {
     background: var(--secondary-bg);
 }

 .exam-singlePage .pattern-table tfoot td {
     padding: 14px 20px;
     font-weight: 600;
     font-size: 15px;
     color: var(--brand-blue);
     border: none;
 }

 .exam-singlePage .pattern-table tfoot td:not(:first-child) {
     text-align: center;
     font-size: 17px;
 }

 .exam-singlePage .pattern-footer-strip {
     background: var(--brand-blue);
     border-radius: 0 0 var(--radius-lg) var(--radius-lg);
     padding: 12px 20px;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 2rem;
     flex-wrap: wrap;
 }

 .exam-singlePage .pfooter-item {
     font-size: 13px;
     color: rgba(255, 255, 255, 0.85);
     display: flex;
     align-items: center;
     gap: 6px;
 }

 .exam-singlePage .pfooter-item strong {
     color: #fff;
     font-weight: 700;
 }

 .exam-singlePage .pfooter-sep {
     width: 1px;
     height: 16px;
     background: rgba(255, 255, 255, 0.25);
 }

 .exam-singlePage .pfooter-item.negative strong {
     color: #fca5a5;
 }

 /* ── Pricing Section ──────────────────────────────────────────── */
 .exam-singlePage .pricing-section {
     padding: 4.5rem 0;
     background: var(--surface-alt);
 }

 /* ── 2-column layout ── */
 .exam-singlePage .pricing-layout {
     display: grid;
     grid-template-columns: 1fr 600px;
     gap: 2rem;
     align-items: start;
 }

 @media (max-width: 991.98px) {
     .exam-singlePage .pricing-layout {
         grid-template-columns: 1fr;
         gap: 2.5rem;
     }
 }

 /* ── LEFT: plan details panel ── */
 .exam-singlePage .pricing-details-panel {
     padding-top: .5rem;
 }

 .exam-singlePage .pricing-details-panel .section-eyebrow {
     text-align: left;
 }

 .exam-singlePage .pricing-details-panel .section-title {
     text-align: left;
     font-size: 1.9rem;
 }

 .exam-singlePage .pricing-details-panel .section-lead {
     text-align: left;
     max-width: 100%;
 }

 .exam-singlePage .plan-details-block {
     margin-top: 2rem;
     display: flex;
     flex-direction: column;
     gap: 1.25rem;
 }

 .exam-singlePage .plan-detail-item {
     display: flex;
     align-items: flex-start;
     gap: 1rem;
 }

 .exam-singlePage .plan-detail-icon {
     width: 44px;
     height: 44px;
     border-radius: 12px;
     background: var(--secondary-bg);
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
 }

 .exam-singlePage .plan-detail-icon svg {
     width: 20px;
     height: 20px;
     stroke: var(--brand-blue);
     fill: none;
     stroke-width: 2;
     stroke-linecap: round;
     stroke-linejoin: round;
 }

 .exam-singlePage .plan-detail-title {
     font-size: 15px;
     font-weight: 600;
     color: var(--text-dark);
     margin-bottom: 2px;
 }

 .exam-singlePage .plan-detail-desc {
     font-size: 13px;
     color: var(--text-muted);
     line-height: 1.55;
 }

 .exam-singlePage .pricing-trust-row {
     display: flex;
     flex-wrap: wrap;
     gap: .6rem;
     margin-top: 2rem;
 }

 .exam-singlePage .trust-chip {
     display: inline-flex;
     align-items: center;
     gap: 5px;
     font-size: 12px;
     font-weight: 600;
     color: var(--text-body);
     background: var(--surface);
     border: 1px solid var(--border);
     border-radius: 100px;
     padding: 5px 13px;
 }

 .exam-singlePage .trust-chip .tc-dot {
     width: 7px;
     height: 7px;
     border-radius: 50%;
     background: #22c55e;
     flex-shrink: 0;
 }

 /* ── RIGHT: pricing cards stack ── */
 .exam-singlePage .pricing-stack {
     display: flex;
     flex-direction: column;
     gap: .9rem;
 }

 .exam-singlePage .plan-card {
     background: var(--surface);
     border: 1.5px solid var(--border);
     border-radius: var(--radius-lg);
     padding: 1rem 1.25rem;
     transition: box-shadow .22s;
     position: relative;
     overflow: hidden;
 }

 .exam-singlePage .plan-card:hover {
     box-shadow: var(--shadow-hover);
 }

 .exam-singlePage .plan-card.plan-popular {
     border-color: var(--brand-red);
     border-width: 2px;
 }

 /* Popular ribbon */
 .exam-singlePage .plan-popular-ribbon {
     position: absolute;
     top: 0;
     right: 0;
     background: var(--brand-red);
     color: #fff;
     font-size: 10.5px;
     font-weight: 700;
     padding: 4px 14px 4px 10px;
     border-bottom-left-radius: 10px;
     letter-spacing: .4px;
 }

 .exam-singlePage .plan-card-top {
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin-bottom: .85rem;
 }

 .exam-singlePage .plan-name {
     font-size: 13px;
     font-weight: 700;
     color: var(--brand-blue);
     text-transform: uppercase;
     letter-spacing: .5px;
 }

 .exam-singlePage .plan-badge-off {
     background: var(--primary-bg);
     color: var(--brand-red);
     font-size: 11.5px;
     font-weight: 700;
     padding: 3px 10px;
     border-radius: 100px;
 }

 .exam-singlePage .plan-price-row {
     display: flex;
     align-items: baseline;
     gap: .3rem;
     margin-bottom: .5rem;
 }

 .exam-singlePage .plan-orig {
     font-size: 13px;
     font-weight: 600;
     color: var(--text-muted);
     text-decoration: line-through;
 }

 .exam-singlePage .plan-curr {
     font-size: 2.2rem;
     font-weight: 600;
     color: var(--text-dark);
     letter-spacing: -1px;
     line-height: 1;
 }

 .exam-singlePage .plan-curr .rupee {
     font-size: 1.3rem;
     font-weight: 600;
     vertical-align: 2px;
 }

 .exam-singlePage .plan-per {
     font-size: 12.5px;
     color: var(--text-muted);
     font-weight: 500;
 }

 .exam-singlePage .plan-divider {
     height: 1px;
     background: var(--border);
     margin: .6rem 0;
 }

 .exam-singlePage .plan-features-inline {
     display: flex;
     flex-wrap: wrap;
     gap: .5rem .9rem;
     list-style: none;
     margin: 0;
     padding: 0;
     margin-bottom: 1rem;
 }

 .exam-singlePage .plan-features-inline li {
     display: flex;
     align-items: center;
     gap: 5px;
     font-size: 12.5px;
     color: var(--text-body);
 }

 .exam-singlePage .plan-features-inline li .fi-dot {
     width: 6px;
     height: 6px;
     border-radius: 50%;
     background: #22c55e;
     flex-shrink: 0;
 }

 .exam-singlePage .btn-plan-cta {
     display: block;
     text-align: center;
     padding: 11px;
     border-radius: 8px;
     font-weight: 600;
     font-size: 14px;
     text-decoration: none;
     transition: background .18s, color .18s;
 }

 .exam-singlePage .btn-plan-cta.cta-primary {
     background: var(--brand-red);
     color: #fff;
     box-shadow: 0 4px 14px rgba(239, 62, 86, .28);
 }

 .exam-singlePage .btn-plan-cta.cta-primary:hover {
     background: var(--brand-red);
     color: #fff;
 }

 .exam-singlePage .btn-plan-cta.cta-outline {
     border: 1.5px solid var(--border);
     background: var(--surface);
     color: var(--text-dark);
 }

 .exam-singlePage .btn-plan-cta.cta-outline:hover {
     border-color: var(--brand-blue);
     color: var(--brand-blue);
 }

 .exam-singlePage .pricing-note {
     text-align: center;
     font-size: 12px;
     color: var(--text-muted);
     margin-top: 1rem;
 }

 .exam-singlePage .pricing-note a {
     color: var(--brand-red);
     text-decoration: none;
     font-weight: 600;
 }

 /* ── FAQ Section ──────────────────────────────────────────────── */
 .exam-singlePage .faq-section {
     padding: 4rem 0;
     background: var(--surface);
 }

 .exam-singlePage .accordion-button {
     font-weight: 600;
     font-size: 15px;
     color: var(--text-dark);
 }

 .exam-singlePage .accordion-button:not(.collapsed) {
     color: var(--brand-blue);
     background: var(--secondary-bg);
     box-shadow: none;
 }

 .exam-singlePage .accordion-button:focus {
     box-shadow: none;
 }

 .exam-singlePage .accordion-body {
     font-size: 14.5px;
     color: var(--text-body);
     line-height: 1.7;
 }

 .exam-singlePage .accordion-item {
     border: 1px solid var(--border);
     border-radius: 8px !important;
     margin-bottom: .5rem;
     overflow: hidden;
 }

 /* ── Layout wrapper ───────────────────────────────────────────── */
 .exam-singlePage .content-wrap {
     max-width: 1320px;
     margin: 0 auto;
     padding: 0 40px;
 }

 /* ── Responsive tweaks ────────────────────────────────────────── */
 @media (max-width: 991.98px) {
     .exam-singlePage .pricing-card.featured {
         transform: none;
     }

     .exam-singlePage .pricing-card.featured:hover {
         transform: translateY(-4px);
     }
 }

 @media (max-width: 767.98px) {
     .exam-singlePage .hero-section {
         padding: 1.5rem 0 2rem;
     }

     .exam-singlePage h1.exam-title {
         font-size: 1.8rem;
     }

     .exam-singlePage .overview-section {
         padding: 1.5rem 0;
     }

     .exam-singlePage .hero-stats {
         gap: 1rem;
         margin-top: 1rem;
         padding-top: 1.5rem;
     }

     .exam-singlePage .section-title {
         font-size: 1.2rem;
     }

     .exam-singlePage .nav-links {
         display: none;
     }

     .exam-singlePage .vacancy-number {
         font-size: 2.4rem;
     }

     .exam-singlePage .pricing-section,
     .exam-singlePage .pattern-section,
     .exam-singlePage .faq-section,
     .exam-singlePage .timeline-section {
         padding: 1.5rem 0;
     }

     .exam-singlePage .pricing-details-panel .section-title {
         font-size: 1.1rem;
     }

     .exam-singlePage .pattern-footer-strip {
         gap: 1rem
     }

     .exam-singlePage .plan-curr {
         font-size: 1.7rem;
     }

     .exam-singlePage .footer-links {
         flex-direction: column;
         gap: 0.5rem;
     }

     .exam-singlePage .breadcrumb {
         font-size: 12px;
     }

     .exam-singlePage .exam-subtitle {
         font-size: 0.9rem;
         margin-bottom: 1.2rem;
     }

     .exam-singlePage .ov-tile-value {
         font-size: 1.2rem;
     }

     /* center the dropdown on the viewport instead of right-anchoring it
        off the trigger button */
     #all-exams-dropdown {
         position: fixed;
         top: 64px;
         left: 50%;
         right: auto;
         transform: translateX(-50%);
         width: min(340px, calc(100vw - 24px));
         max-height: calc(100vh - 80px);
         overflow-y: auto;
         padding: 8px 14px;
         scrollbar-width: thin;
         scrollbar-color: #dde0ea transparent;
     }

     #all-exams-dropdown::-webkit-scrollbar {
         width: 4px;
     }

     #all-exams-dropdown::-webkit-scrollbar-thumb {
         background: #dde0ea;
         border-radius: 4px;
     }

     /* single-column inline accordion — category rows stack full width;
        footer.php relocates each category's exam-list pane to sit right
        after its row once the dropdown opens on mobile */
     #all-exams-dropdown .row {
         flex-direction: column;
     }

     #all-exams-dropdown .dd-listdiv {
         flex: 1 1 auto;
         max-width: 100%;
         max-height: none;
         overflow: visible;
     }

     #all-exams-dropdown .dd-examlist-col {
         display: none;
     }

     #all-exams-dropdown .dd-item {
         width: 100%;
         padding: 14px 2px;
         border-bottom: 1px solid #f0f1f5;
     }

     /* :last-of-type (by tag, not :last-child) so this still targets the
        last category row after JS interleaves .tab-pane divs between rows */
     #all-exams-dropdown .dd-listdiv button.dd-item:last-of-type {
         border-bottom: none;
     }

     #all-exams-dropdown .dd-icon {
         width: 30px;
         height: 30px;
         background: none;
         border-radius: 0;
         font-size: 1.3rem;
     }

     #all-exams-dropdown .dd-chevron {
         margin-left: auto;
         color: #b6c0d2;
         font-size: .85rem;
         flex-shrink: 0;
         transition: transform .2s, color .2s;
     }

     #all-exams-dropdown .dd-item.active .dd-label {
         color: var(--brand-blue);
         font-weight: 700;
     }

     #all-exams-dropdown .dd-item.active .dd-chevron {
         color: var(--brand-blue);
         transform: rotate(180deg);
     }

     #all-exams-dropdown .examlistul {
         grid-template-columns: 1fr;
         min-height: 0;
         max-height: none;
         padding: 8px 0 10px;
     }

     /* Bootstrap only shows/hides tab-panes via ".tab-content > .active"
        (a direct-child selector) — once JS relocates a pane out of
        .tab-content into the accordion, that rule stops matching, so
        visibility has to be re-driven here by the .active class alone. */
     #all-exams-dropdown .tab-pane {
         display: none;
     }

     #all-exams-dropdown .tab-pane.active {
         display: block;
     }
 }

 .exam-singlePage .pattern-table tbody tr.row-visible {
     opacity: 1 !important;
     transform: none !important;
 }

 /* blogs page */
 .blogPageSec {
     background: #fff;
     padding: 50px 0 50px;
 }

 .blogPageSec .blog-linnerPage {
     max-width: 1320px;
     margin: 0 auto;
     padding: 0 40px;
 }

 .blogPageSec .blog-linnerPage .section-title {
     font-size: 1.6rem;
     font-weight: 600;
     color: var(--text-dark);
     letter-spacing: -0.3px;
     margin-bottom: 1rem;
 }

 .blogPageSec .blog-linnerPage .blogcard {
     background: #fff;
     border: 1px solid #e8eaf0;
     border-radius: 12px;
     padding: 16px 18px 14px;
     box-shadow: var(--card-shadow);
     transition: box-shadow .2s, transform .3s ease;
     border-left: 3px solid rgb(213, 211, 211);
     cursor: pointer;
 }

 .blogPageSec .blog-linnerPage .blogcard:hover {
     border-left: 3px solid var(--brand-red);
 }

 .blogPageSec .blog-linnerPage .blogcard .card-title {
     font-size: 1.1rem;
     font-weight: 600;
     color: var(--text-dark);
     line-height: 1.3;
     margin-bottom: 10px;
 }

 .blogPageSec .blog-linnerPage .blogcard .card-para p {
     font-size: 0.9rem;
     color: #555;
     line-height: 1.6;
     margin-bottom: 0px;
 }

 @media (max-width: 767.98px) {
     .blogPageSec .blog-linnerPage {
         padding: 0 20px;
     }
 }

/* ══════════════════════════════════════════════════════════════
   PURCHASE MODAL — dynamically loaded via api/get_purchase_modal.php,
   triggered from .js-open-purchase buttons (SPHome.php pcards,
   tt_exam_detail_page.php pcards). See footer.php for the JS.
   ══════════════════════════════════════════════════════════════ */
body.purchase-open { overflow: hidden; }
.purchase-modal {
  --pm-blue: #214396; --pm-navy: #1a2b6d; --pm-blue-soft: #3b62d4;
  --pm-green: #16a34a; --pm-green-bright: #22c55e; --pm-red: #ef3e56;
  --pm-teal: #0e9b8e; --pm-amber: #fbbf24; --pm-ink: #111827; --pm-muted: #6b7280;
  --pm-line: #e8eaf2; --pm-surface: #f7f8fc;
  position: fixed; inset: 0; z-index: 5000; display: none; align-items: center; justify-content: center; padding: 18px;
}
.purchase-modal.is-open { display: flex; }
.purchase-backdrop { position: absolute; inset: 0; background: rgba(17,24,39,.62); backdrop-filter: blur(3px); }
.purchase-dialog {
  position: relative; width: min(1040px,100%); max-height: min(800px,calc(100dvh - 36px));
  display: grid; grid-template-columns: 272px minmax(0,1fr); overflow: visible;
  background: var(--pm-surface); border-radius: 20px; box-shadow: 0 24px 70px rgba(17,24,39,.28);
  animation: pm-dialog-in .26s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes pm-dialog-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.purchase-close {
  position: absolute; top: 0; right: -58px; z-index: 5; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px;
  background: rgba(255,255,255,.14); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: 0 5px 20px rgba(0,0,0,.2);
  backdrop-filter: blur(12px) saturate(145%); -webkit-backdrop-filter: blur(12px) saturate(145%); transition: background .18s, transform .18s;
}
.purchase-close:hover { background: rgba(255,255,255,.24); transform: rotate(90deg); }

.purchase-benefits {
  position: relative; color: #fff; padding: 32px 26px; overflow: hidden;
  border-radius: 20px 0 0 20px;
  background: linear-gradient(160deg,var(--pm-navy) 0%,var(--pm-blue) 58%,#2a55b8 100%);
}
.purchase-benefits::before {
  content: ""; position: absolute; inset: -25%; z-index: 0; pointer-events: none;
  background: linear-gradient(115deg,
    rgba(79,134,255,0) 8%, rgba(20,200,182,.34) 30%,
    rgba(111,157,255,.42) 52%, rgba(79,134,255,.28) 68%, rgba(33,67,150,0) 90%);
  background-size: 230% 230%; filter: blur(34px); will-change: background-position, transform;
  animation: pm-aurora 19s ease-in-out infinite;
}
@keyframes pm-aurora {
  0%   { background-position: 0% 45%;   transform: rotate(0deg) scale(1.02); }
  50%  { background-position: 100% 55%;  transform: rotate(6deg)  scale(1.1); }
  100% { background-position: 0% 45%;   transform: rotate(0deg) scale(1.02); }
}
.purchase-blobs { position: absolute; inset: 0; z-index: 0 !important; overflow: hidden; pointer-events: none; }
.purchase-blobs span {
  position: absolute; display: block; border-radius: 42% 58% 52% 48%/50% 45% 55% 50%;
  filter: blur(24px); will-change: transform;
}
.purchase-blobs span:nth-child(1) { width: 200px; height: 200px; top: -30px; left: -55px; background: #22d3ee; opacity: .9; animation: pm-drift-a 16s ease-in-out infinite; }
.purchase-blobs span:nth-child(2) { width: 250px; height: 250px; bottom: -70px; right: -70px; background: #14c8b6; opacity: .95; animation: pm-drift-b 20s ease-in-out infinite; }
.purchase-blobs span:nth-child(3) { width: 180px; height: 180px; top: 46%; left: -40px; background: #38bdf8; opacity: .85; animation: pm-drift-c 13s ease-in-out infinite; }
@keyframes pm-drift-a {
  0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  33%  { transform: translate3d(70px,44px,0) rotate(60deg) scale(1.14); }
  66%  { transform: translate3d(30px,96px,0) rotate(120deg) scale(.94); }
  100% { transform: translate3d(0,0,0) rotate(180deg) scale(1); }
}
@keyframes pm-drift-b {
  0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(-84px,-58px,0) rotate(-90deg) scale(1.2); }
  100% { transform: translate3d(0,0,0) rotate(-180deg) scale(1); }
}
@keyframes pm-drift-c {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(64px,-72px,0) scale(1.28); }
  100% { transform: translate3d(0,0,0) scale(1); }
}
.purchase-benefits > * { position: relative; z-index: 1; }
.purchase-brand-logo { display: block; width: min(190px,100%); height: auto; margin-bottom: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.94); }
.purchase-tagline { font-size: var(--fs-sm); opacity: .9; margin-bottom: 24px; }
.purchase-access { margin: 0 -26px 18px; padding: 11px 26px; background: rgba(255,255,255,.12); border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); text-align: center; font-size: var(--fs-sm); font-weight: 600; letter-spacing: .01em; }
.purchase-benefit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.purchase-benefit-list li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; font-size: var(--fs-sm); line-height: 1.35; animation: pm-feat-in .32s ease both; }
.purchase-benefit-list i {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; font-size: 1.05rem; flex-shrink: 0;
  background: rgba(255,255,255,.1); backdrop-filter: blur(9px) saturate(140%); -webkit-backdrop-filter: blur(9px) saturate(140%);
  border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 10px rgba(6,18,52,.22);
}
.purchase-benefit-list li.pm-bonus { background: rgba(251,191,36,.14); border: 1px solid rgba(251,191,36,.4); border-radius: 12px; padding: 10px 12px; grid-template-columns: 1fr; gap: 7px; font-weight: 600; }
.purchase-benefit-list li.pm-bonus .pm-bonus-title { font-size: var(--fs-sm); line-height: 1.35; }
.pm-bonus-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.purchase-benefit-list li.pm-bonus .pm-bonus-sub { font-size: var(--fs-xs); font-weight: 500; opacity: .85; }
.purchase-benefit-list li.pm-bonus .pm-bonus-free { flex-shrink: 0; padding: 2px 10px; border-radius: 20px; background: var(--pm-amber); color: #5a3d05; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em; }
@keyframes pm-feat-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.purchase-main { position: relative; min-height: 0; max-height: min(800px,calc(100dvh - 36px)); padding: 28px 32px 26px; display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; border-radius: 0 20px 20px 0; background: var(--pm-surface); scrollbar-width: thin; scrollbar-color: #dde0ea transparent; }
.purchase-main::-webkit-scrollbar { width: 4px; }
.purchase-main::-webkit-scrollbar-thumb { background: #dde0ea; border-radius: 4px; }
.purchase-heading-row { margin-bottom: 16px; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.purchase-heading { font-size: 1.28rem; font-weight: 700; color: var(--pm-ink); letter-spacing: -.01em; }
.purchase-plans { display: grid; gap: 12px; }
.purchase-plan {
  position: relative; display: grid; grid-template-columns: 22px minmax(88px,auto) minmax(0,1fr) auto;
  align-items: center; gap: 14px; width: 100%;
  padding: 14px 18px; border: 1.5px solid var(--pm-line); border-radius: 14px; background: #fff; text-align: left;
  cursor: pointer; font-family: inherit; transition: border-color .18s, box-shadow .18s, transform .18s;
}
.purchase-plan:hover { border-color: #c3ccdd; }
.purchase-plan.is-selected { border-color: var(--pm-blue); box-shadow: 0 0 0 1px var(--pm-blue), 0 6px 22px rgba(33,67,156,.12); }
.purchase-radio { width: 22px; height: 22px; border: 2px solid #b6c0d2; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; transition: border-color .18s; }
.purchase-plan.is-selected .purchase-radio { border-color: var(--pm-blue); }
.purchase-plan.is-selected .purchase-radio::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--pm-blue); }
.pp-price-block { display: grid; gap: 1px; justify-items: start; }
.pp-price-block del { color: var(--pm-muted); font-size: var(--fs-sm); }
.pp-price-block strong { font-size: 1.55rem; font-weight: 600; letter-spacing: -.01em; color: var(--pm-ink); line-height: 1.15; }
.purchase-plan-name { font-size: var(--fs-sm); font-weight: 700; color: var(--pm-blue); }
.pp-feats { display: grid; grid-template-columns: repeat(2,max-content); gap: 8px 16px; align-items: center; justify-items: start; padding-left: 14px; }
.pp-feats span { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-sm); color: #374151; }
.pp-feats span::before { content: "\F26E"; font-family: "bootstrap-icons"; font-size: .95rem; color: var(--pm-green); line-height: 1; }
.pp-permonth { font-weight: 600; color: var(--pm-ink); }
.pp-bonus { grid-column: 1 / -1; color: #374151; font-size: var(--fs-sm); font-weight: 600; }
.pp-bonus::before { content: none !important; }
.pp-badge { display: flex; flex-direction: row; overflow: visible; border-radius: 0; font-size: .66rem; font-weight: 600; letter-spacing: .01em; line-height: 1; width: fit-content; justify-self: end; align-self: center; text-align: center; filter: drop-shadow(0 1px 1px rgba(0,0,0,.18)); }
.pp-badge b { position: relative; display: flex; align-items: center; justify-content: center; min-height: 30px; padding: 6px 15px; color: #fff; white-space: nowrap; font-weight: 400; }
.pp-badge .b-pop { z-index: 1; min-width: 86px; padding-left: 20px; padding-right: 21px; margin-right: -12px; background: #42b8b6; clip-path: polygon(0 0,82% 0,100% 50%,82% 100%,0 100%,14% 50%); transform: translateX(6px); }
.pp-badge .b-off { z-index: 2; min-width: 86px; padding-left: 20px; padding-right: 17px; margin-left: 0; background: #ef3e56; clip-path: polygon(0 0,82% 0,100% 50%,82% 100%,0 100%,14% 50%); font-weight: 400; }
.pp-badge .b-off:only-child { min-height: 30px; min-width: 86px; padding: 6px 17px 6px 20px; margin-left: 0; }
.pp-badge .b-pop:only-child { min-width: 74px; margin-right: 0; padding-right: 17px; background: #0e9b8e; transform: none; }
.purchase-plan.is-topic .purchase-plan-name { color: #0b7d72; }
.purchase-plan.is-topic { background: linear-gradient(180deg,#fff, #f2fbfa); border-color: #bfe6e2; }
.purchase-plan.is-topic:hover { border-color: #8fd4cd; }
.purchase-plan.is-topic.is-selected { border-color: var(--pm-teal); box-shadow: 0 0 0 1px var(--pm-teal), 0 6px 22px rgba(14,155,142,.15); }
.purchase-plan.is-topic .purchase-radio { border-color: #9bd6cf; }
.purchase-plan.is-topic.is-selected .purchase-radio { border-color: var(--pm-teal); }
.purchase-plan.is-topic.is-selected .purchase-radio::after { background: var(--pm-teal); }
.purchase-plan.is-topic .pp-feats span::before { color: var(--pm-teal); }

.purchase-summary { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--pm-line); }
.purchase-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: var(--fs-sm); font-weight: 600; color: var(--pm-ink); }
.purchase-total-label { position: relative; display: inline-flex; align-items: center; gap: 7px; }
.purchase-price-tip { position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 6; width: 230px; padding: 11px 13px; border: 1px solid #dbe2ef; border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgba(17,24,39,.18); color: #374151; font-size: var(--fs-xs); font-weight: 500; line-height: 1.7; opacity: 0; visibility: hidden; transform: translateY(4px); transition: .16s ease; pointer-events: none; }
.purchase-total-label:hover .purchase-price-tip { opacity: 1; visibility: visible; transform: none; }
.purchase-price-tip span { display: flex; justify-content: space-between; gap: 12px; }
.purchase-price-tip span:last-child { margin-top: 3px; padding-top: 3px; border-top: 1px solid var(--pm-line); color: var(--pm-ink); font-weight: 600; }
#tip-mrp, #tip-discount { font-weight: 400; }
#tip-discount { color: var(--pm-red); }
#tip-discount::before { content: "\2212 "; }
#tip-payable { color: var(--pm-green); font-weight: 500; }
.purchase-total strong { font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; }
.purchase-pay {
  width: 100%; min-height: 50px; border: 0; border-radius: 12px; background: var(--pm-green); color: #fff;
  font: 700 var(--fs-base, 1rem)/1 Poppins,sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px;
  box-shadow: 0 8px 22px rgba(22,163,74,.28); transition: background .18s, transform .12s, box-shadow .18s;
}
.purchase-pay::after { content: "\F138"; font-family: "bootstrap-icons"; font-size: 1.05rem; }
.purchase-pay:hover { background: #12923f; box-shadow: 0 10px 26px rgba(22,163,74,.34); }
.purchase-pay:active { transform: translateY(1px); }
.purchase-pay:disabled { opacity: .6; cursor: not-allowed; }
.purchase-pay-msg { margin-top: 10px; font-size: var(--fs-xs); color: var(--pm-red, #ef3e56); text-align: center; min-height: 16px; }

@media (prefers-reduced-motion: reduce) {
  .purchase-blobs span, .purchase-benefits::before { animation: none !important; }
  .purchase-dialog, .purchase-benefit-list li { animation: none !important; }
  .purchase-close:hover { transform: none; }
}

@media (max-width: 820px) {
  .purchase-modal { padding: 16px; align-items: center; }
  .purchase-dialog {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 32px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    border-radius: 18px;
    scrollbar-width: thin;
    scrollbar-color: #dde0ea transparent;
  }
  .purchase-dialog::-webkit-scrollbar { width: 4px; }
  .purchase-dialog::-webkit-scrollbar-thumb { background: #dde0ea; border-radius: 4px; }
  .purchase-close { top: 10px; right: 10px; }
  .purchase-benefits { padding: 20px 22px 16px; border-radius: 18px 18px 0 0; }
  .purchase-brand-logo { width: min(150px,100%); }
  .purchase-tagline { margin-bottom: 12px; }
  .purchase-access { margin: 0 -22px 12px; padding: 9px 22px; }
  .purchase-benefit-list { grid-template-columns: 1fr 1fr; gap: 9px 14px; }
  .purchase-benefit-list li { grid-template-columns: 26px 1fr; gap: 8px; font-size: var(--fs-xs); }
  .purchase-benefit-list i { width: 26px; height: 26px; border-radius: 8px; font-size: .8rem; }
  .purchase-benefit-list li.pm-bonus { grid-column: 1/-1; grid-template-columns: 1fr; }
  .purchase-blobs span { filter: blur(38px); }
  .purchase-main { min-height: 0; max-height: none; padding: 18px 16px 16px; overflow: visible; border-radius: 0 0 18px 18px; }
  .purchase-heading-row { margin-bottom: 12px; }
  .purchase-heading { font-size: 1.08rem; }
  .purchase-plans { gap: 9px; }
  .purchase-plan { grid-template-columns: 18px minmax(0,1fr); gap: 8px 10px; padding: 28px 13px 11px; }
  .purchase-radio { width: 18px; height: 18px; }
  .purchase-plan.is-selected .purchase-radio::after { width: 9px; height: 9px; }
  .pp-price-block strong { font-size: 1.15rem; }
  .pp-price-block del { font-size: var(--fs-xs); }
  .purchase-plan-name { font-size: var(--fs-xs); }
  .pp-feats { grid-column: 2; grid-row: auto; grid-template-columns: 1fr; gap: 5px 0; padding-left: 0; }
  .pp-feats span { font-size: var(--fs-xs); gap: 5px; }
  .pp-feats span::before { font-size: .8rem; }
  .pp-badge { position: absolute; top: 8px; right: 8px; grid-column: auto; grid-row: auto; justify-self: auto; flex-wrap: wrap; margin-top: 0; font-size: .58rem; }
  .pp-badge b { min-height: 24px; padding: 4px 10px; }
  .pp-badge .b-pop, .pp-badge .b-off { min-width: 64px; padding-left: 14px; padding-right: 14px; }
  .purchase-summary { margin-top: 8px; padding-top: 8px; }
  .purchase-total { margin-bottom: 10px; }
  .purchase-total strong { font-size: 1.2rem; }
  .purchase-pay { min-height: 44px; font-size: var(--fs-sm); }
 }
@media (max-width: 430px) {
  .purchase-modal { padding: 12px; }
  .purchase-dialog { max-height: calc(100dvh - 24px); }
  .purchase-benefit-list { grid-template-columns: 1fr; }
  .purchase-heading { font-size: 1rem; }
  .purchase-plan { padding: 26px 11px 10px; }
  .pp-price-block strong { font-size: 1.05rem; }
 }

/* ── Coupon code (Apply Coupon toggle + popover on "Pick your plan") ── */
.purchase-coupon-wrap { position: relative; margin-left: auto; }
.purchase-coupon-toggle {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: none;
  color: var(--pm-blue); font-weight: 700; font-size: var(--fs-sm); cursor: pointer; padding: 6px 4px;
}
.purchase-coupon-toggle i { color: #f5b400; }
.purchase-coupon-toggle:hover { text-decoration: underline; }
.purchase-coupon-pop {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 6; width: min(280px,78vw);
  background: #fff; border: 1px solid var(--pm-line); border-radius: 14px;
  box-shadow: 0 14px 34px rgba(17,24,39,.16); padding: 14px;
}
.purchase-coupon-row { display: flex; gap: 8px; }
.purchase-coupon-input {
  flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--pm-line); border-radius: 10px;
  font-size: var(--fs-sm); color: var(--pm-ink); font-family: inherit;
}
.purchase-coupon-input:focus { outline: none; border-color: var(--pm-blue); }
.purchase-coupon-apply {
  flex-shrink: 0; padding: 0 16px; border: none; border-radius: 10px; background: var(--pm-blue); color: #fff;
  font-weight: 700; font-size: var(--fs-sm); cursor: pointer; transition: opacity .15s; font-family: inherit;
}
.purchase-coupon-apply:hover { opacity: .9; }
.purchase-coupon-apply:disabled { opacity: .6; cursor: not-allowed; }
.purchase-coupon-msg { margin-top: 8px; font-size: var(--fs-xs); color: var(--pm-muted); min-height: 14px; }
.purchase-coupon-msg.is-err { color: var(--pm-red); }
.purchase-coupon-applied {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px;
  background: #ecfdf3; border: 1px solid #a7e8bf; color: #0a6b34; font-size: var(--fs-xs); font-weight: 600;
}
.purchase-coupon-applied i { color: var(--pm-green); flex-shrink: 0; }
.purchase-coupon-remove {
  margin-left: auto; flex-shrink: 0; border: none; background: none; color: #0a6b34; cursor: pointer;
  display: flex; align-items: center; padding: 2px; opacity: .7;
}
.purchase-coupon-remove:hover { opacity: 1; }
#tip-coupon { font-weight: 400; color: var(--pm-red); }
#tip-coupon::before { content: "\2212 "; }

/* ══════════════════════════════════════════════════════════════════
   STATIC CONTENT PAGES (About Us, Contact Us, Privacy, Terms, Disclaimer)
══════════════════════════════════════════════════════════════════ */
.static-page-section {
    padding: 2.5rem 0 4.5rem;
    background: var(--surface);
}

.static-page-heading {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: .5rem;
}

.static-page-heading .red {
    color: var(--brand-red);
}

.static-page-lead {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 760px;
    margin-bottom: 2rem;
}

/* Rich text body shared by Privacy / Terms / Disclaimer */
.static-content {
    max-width: 900px;
}

.static-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 2rem 0 .75rem;
}

.static-content h2:first-child {
    margin-top: 0;
}

.static-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1.5rem 0 .5rem;
}

.static-content p {
    color: #444;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.static-content ul,
.static-content ol {
    color: #444;
    line-height: 1.75;
    margin-bottom: 1rem;
    padding-left: 1.4rem;
}

.static-content a {
    color: var(--brand-blue);
}

/* ── About Us: features list ── */
.about-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #333;
    font-size: .98rem;
    line-height: 1.5;
}

.about-feat-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-img {
    width: 100%;
    max-width: 320px;
    display: block;
    margin: 0 auto;
}

/* ── Contact Us ── */
.contact-form-card,
.contact-info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: 28px;
    box-shadow: 0 4px 18px rgba(20, 30, 60, .05);
}

.contact-form-card h4,
.contact-info-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border);
}

.contact-form-card .form-label {
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--text-dark);
}

.contact-form-card .btn-submit-query {
    background: var(--brand-red);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 10px;
}

.contact-form-card .btn-submit-query:hover {
    background: #d63450;
    color: #fff;
}

.contact-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #333;
    font-size: var(--fs-sm);
}

.contact-info-card li i {
    color: var(--brand-blue);
    margin-top: 3px;
}

.contact-social-label {
    align-self: center;
}

@media (max-width: 767.98px) {
    .static-page-section {
        padding: 1.75rem 0 3rem;
    }
}