  :root {
    /* ── EXACT BRAND COLOURS from screenshot ── */
    --brand-blue:      #2d3fd4;   /* primary brand blue (nav logo, links) */
    --brand-blue-dark: #1a2db0;   /* deeper blue for gradients */
    --brand-blue-hero: #1e35c4;   /* hero section bg */
    --brand-orange:    #f47221;   /* CTA button orange */
    --brand-orange-dk: #d9610d;   /* hover state */
    --brand-yellow:    #f5c400;   /* headline accent yellow */

    /* ── PAGE PALETTE ── */
    --bg:           #f4f6fb;      /* very light blue-grey page bg */
    --surface:      #ffffff;
    --surface2:     #eef1f8;
    --border:       #dde3f0;
    --border-hover: #b8c4df;

    --text:         #0d1b3e;      /* deep navy body text */
    --text-muted:   #5a6a8a;
    --text-light:   #8fa0bf;

    /* ── SUBJECT COLOURS ── */
    --physics:      #0891b2;
    --physics-bg:   #ecfeff;
    --physics-bd:   #a5f3fc;

    --chemistry:    #7c3aed;
    --chemistry-bg: #f5f3ff;
    --chemistry-bd: #ddd6fe;

    --biology:      #059669;
    --biology-bg:   #ecfdf5;
    --biology-bd:   #6ee7b7;

    --Physics:      #0891b2;
    --Physics-bg:   #ecfeff;
    --Physics-bd:   #a5f3fc;

    --Chemistry:    #7c3aed;
    --Chemistry-bg: #f5f3ff;
    --Chemistry-bd: #ddd6fe;

    --Biology:      #059669;
    --Biology-bg:   #ecfdf5;
    --Biology-bd:   #6ee7b7;

    --red:          #dc2626;
    --red-bg:       #fef2f2;
    --red-bd:       #fca5a5;

    --radius-sm:    8px;
    --radius:       12px;
    --radius-lg:    18px;

    --sn-blue:        #2d3fd4;
    --sn-blue-dark:   #1a2db0;
    --sn-blue-deep:   #132490;
    --sn-orange:      #f47221;
    --sn-orange-dk:   #d9610d;
    --sn-yellow:      #f5c400;
    --sn-bg:          #f4f6fb;
    --sn-surface:     #ffffff;
    --sn-border:      #dde3f0;
    --sn-border-focus:#2d3fd4;
    --sn-text:        #0d1b3e;
    --sn-muted:       #5a6a8a;
    --sn-light:       #8fa0bf;
    --sn-error:       #dc2626;
    --sn-error-bg:    #fef2f2;
    --sn-success:     #059669;
    --radius-sm:      8px;
    --radius:         12px;
    --radius-lg:      18px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
   *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    font-size: 14px;
    line-height: 1.5;
  }

  /*Logo */
 .logo{font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:1.15rem; text-decoration:none; color:var(--brand-blue-deep);}
 .logo-accent{color:var(--brand-orange);}

  /* ════════════════════════════
     NAV — white bg, blue logo, orange CTA (exact match to screenshot)
  ════════════════════════════ */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 0 2.5rem;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 4px rgba(45,63,212,0.06);
  }

  .nav-logo {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--brand-blue);
    text-decoration: none;
    letter-spacing: -0.03em;
  }

  .nav-links {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    align-items: center;
  }

  .nav-links a {
    color: #4b5c7e;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
  }

  .nav-links a:hover   { color: var(--brand-blue); background: #eef1fb; }
  .nav-links a.active  { color: var(--brand-blue); background: #eef1fb; font-weight: 600; }

  /* Orange CTA — exact match */
  .nav-cta {
    background: var(--brand-orange) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.8125rem !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--radius-sm) !important;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s !important;
  }

  .nav-cta:hover {
    background: var(--brand-orange-dk) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(244,114,33,0.35) !important;
  }

.nav__cta,
.nav__cta:link,
.nav__cta:visited,
.nav__cta:hover {
    background: #f47221 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* The mobile CTA full-width button */
.mob-cta,
.mob-cta:link,
.mob-cta:visited {
    background: #f47221 !important;
    color: #ffffff !important;
}

  /* ════════════════════════════
     CONTAINER
  ════════════════════════════ */
  .container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2rem 1.75rem 5rem;
  }

  /* ════════════════════════════
     WELCOME BANNER
     Deep blue gradient + orange button + yellow accent — mirrors the hero
  ════════════════════════════ */
  .welcome-banner {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 55%, #132490 100%);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2.75rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.45s ease both;
    box-shadow: 0 8px 32px rgba(45,63,212,0.28);
  }

  /* decorative circles matching the landing page feel */
  .welcome-banner::before {
    content: '';
    position: absolute;
    right: -50px; top: -60px;
    width: 240px; height: 240px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
  }

  .welcome-banner::after {
    content: '';
    position: absolute;
    right: 120px; bottom: -80px;
    width: 180px; height: 180px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
  }

  .welcome-text { position: relative; z-index: 1; }

  .welcome-text h1 {
    font-size: 1.55rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-bottom: 0.6rem;
  }

  /* Yellow highlight — exactly like "Know Exactly" on the homepage */
  .welcome-text h1 .highlight { color: var(--brand-yellow); }

  .welcome-text p {
    color: rgba(255,255,255,0.72);
    font-size: 0.875rem;
    max-width: 450px;
    line-height: 1.7;
  }

  .welcome-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: stretch;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    min-width: 170px;
  }

  /* Orange primary button — matches landing page CTA exactly */
  .btn-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: var(--brand-orange);
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(244,114,33,0.4);
  }

  .btn-orange:hover {
    background: var(--brand-orange-dk);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(244,114,33,0.45);
  }

  .btn-ghost-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: transparent;
    color: rgba(255,255,255,0.8);
    font-family: inherit;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.28);
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
  }

  .btn-ghost-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
  }

  /* ════════════════════════════
     STATS ROW
  ════════════════════════════ */
  .stats-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
    animation: fadeUp 0.45s 0.08s ease both;
  }

  .stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.4rem;
    transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
  }

  .stat-card:hover {
    box-shadow: 0 4px 18px rgba(45,63,212,0.09);
    border-color: var(--border-hover);
    transform: translateY(-1px);
  }

  .stat-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }

  .stat-value-big {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.3rem;
    color: var(--brand-orange);
  }

  .stat-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.4;
  }

  .stat-card.countdown {
    background: linear-gradient(135deg, #fff5ee, #fff);
    border-color: #fdd0b0;
  }

  .not-assessed {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0;
  }


  .assessed {
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0;
  }

  .start-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-blue);
    text-decoration: none;
    transition: gap 0.15s;
  }

  .start-link:hover { gap: 0.5rem; color: var(--brand-orange); }

  .stat-card.Physics-card  { border-top: 3px solid var(--physics);   }
  .stat-card.Chemistry-card     { border-top: 3px solid var(--chemistry); }
  .stat-card.Biology-card      { border-top: 3px solid var(--biology);   }

  .stat-card.Physics-card  { border-top: 3px solid var(--Physics);   }
  .stat-card.Chemistry-card     { border-top: 3px solid var(--Chemistry); }
  .stat-card.Biology-card      { border-top: 3px solid var(--Biology);   }


  /* ════════════════════════════
     SECTION HEADERS
  ════════════════════════════ */
  .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
  }

  .section-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .info-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.22rem 0.65rem;
    border-radius: 20px;
    cursor: help;
    transition: border-color 0.15s;
  }

  .info-badge:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

  .info-badge:hover::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: var(--text);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.55rem 0.8rem;
    border-radius: var(--radius-sm);
    width: 230px;
    text-align: left;
    z-index: 99;
    line-height: 1.55;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    white-space: normal;
  }

  /* ════════════════════════════
     TWO-COL WIDGETS
  ════════════════════════════ */
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
    animation: fadeUp 0.45s 0.16s ease both;
  }

  .widget {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
  }

  .widget-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.1rem;
  }

  .activity-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.55rem;
    height: 72px;
  }

  .act-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }

  .act-bar {
    width: 100%;
    min-height: 4px;
    border-radius: 4px 4px 0 0;
    background: var(--surface2);
  }

  .act-label { font-size: 0.6rem; color: var(--text-light); }

  .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0 0.5rem;
    text-align: center;
    gap: 0.4rem;
  }

  .empty-icon { font-size: 1.9rem; opacity: 0.45; }

  .empty-state p {
    font-size: 0.78rem;
    color: var(--text-muted);
    max-width: 190px;
    line-height: 1.55;
  }

  .empty-cta {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--brand-blue);
    text-decoration: none;
    margin-top: 0.2rem;
  }

  .empty-cta:hover { color: var(--brand-orange); }

  /* ════════════════════════════
     SUBJECT CARDS
  ════════════════════════════ */
  .subjects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
    animation: fadeUp 0.45s 0.12s ease both;
  }

  .subject-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem 1.5rem;
    text-decoration: none;
    color: var(--text);
    transition: all 0.18s;
    display: block;
    position: relative;
    overflow: hidden;
  }

  .subject-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45,63,212,0.1);
    border-color: var(--border-hover);
  }

  .subject-card.physics   { border-top: 3px solid var(--physics);   }
  .subject-card.chemistry { border-top: 3px solid var(--chemistry); }
  .subject-card.biology   { border-top: 3px solid var(--biology);   }

  .subject-card.Physics   { border-top: 3px solid var(--Physics);   }
  .subject-card.Chemistry { border-top: 3px solid var(--Chemistry); }
  .subject-card.Biology   { border-top: 3px solid var(--Biology);   }

  .subject-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .subject-card.physics   .subject-icon { background: var(--physics-bg);   }
  .subject-card.chemistry .subject-icon { background: var(--chemistry-bg); }
  .subject-card.biology   .subject-icon { background: var(--biology-bg);   }

  .subject-card.Physics   .subject-icon { background: var(--Physics-bg);   }
  .subject-card.Chemistry .subject-icon { background: var(--Chemistry-bg); }
  .subject-card.Biology   .subject-icon { background: var(--Biology-bg);   }

  .subject-name {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
  }

  .subject-card.physics   .subject-name { color: var(--physics);   }
  .subject-card.chemistry .subject-name { color: var(--chemistry); }
  .subject-card.biology   .subject-name { color: var(--biology);   }

  .subject-card.Physics   .subject-name { color: var(--Physics);   }
  .subject-card.Chemistry .subject-name { color: var(--Chemistry); }
  .subject-card.Biology   .subject-name { color: var(--Biology);   }
  .subject-count {
    font-size: 0.775rem;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
  }

  .progress-bar {
    height: 4px;
    background: var(--surface2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.85rem;
  }

  .progress-fill { height: 100%; border-radius: 4px; }
  .physics   .progress-fill { background: var(--physics);   }
  .chemistry .progress-fill { background: var(--chemistry); }
  .biology   .progress-fill { background: var(--biology);   }

  .progress-fill { height: 100%; border-radius: 4px; }
  .Physics   .progress-fill { background: var(--Physics);   }
  .Chemistry .progress-fill { background: var(--Chemistry); }
  .Biology   .progress-fill { background: var(--Biology);   }

  .subject-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.775rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.15s;
  }

  .subject-card:hover .subject-cta {
    color: var(--brand-orange);
    gap: 0.55rem;
  }

  /* ════════════════════════════
     YEAR PAPERS
  ════════════════════════════ */
  .papers-section { animation: fadeUp 0.45s 0.2s ease both; }

  .papers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
  }

  .paper-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.18s;
    display: block;
  }

  .paper-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45,63,212,0.1);
    border-color: #a5b4fc;
  }

  .paper-year {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 0.2rem;
    color: var(--text);
  }

  .paper-meta {
    font-size: 0.68rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
  }

  .chip {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.22rem 0.65rem;
    border-radius: 20px;
    text-transform: uppercase;
  }

  /* Orange chip for "Start" — matches brand CTA */
  .chip-start {
    background: #fff5ee;
    color: var(--brand-orange);
    border: 1px solid #fdd0b0;
  }

  .chip-green {
    background: var(--biology-bg);
    color: var(--biology);
    border: 1px solid var(--biology-bd);
  }

  .chip-yellow {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
  }

  .paper-score {
    font-size: 0.7rem;
    color: var(--biology);
    font-weight: 700;
    margin-top: 0.35rem;
  }

  /* ════════════════════════════
     FOOTER
  ════════════════════════════ */
  .page-footer {
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.75rem;
  }

  .page-footer a { color: var(--text-muted); text-decoration: none; }
  .page-footer a:hover { color: var(--brand-blue); }

  /* ════════════════════════════
     BADGE
  ════════════════════════════ */
  .badge-new {
    display: inline-block;
    font-size: 0.56rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.1rem 0.42rem;
    border-radius: 4px;
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
    vertical-align: middle;
    margin-left: 0.3rem;
  }

  /* ════════════════════════════
     ANIMATIONS
  ════════════════════════════ */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ════════════════════════════
     HAMBURGER BUTTON
  ════════════════════════════ */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 7px 8px;
    transition: border-color 0.15s;
    flex-shrink: 0;
  }

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

  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.25s ease;
    transform-origin: center;
  }

  /* Animate to X when open */
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ════════════════════════════
     MOBILE DRAWER
  ════════════════════════════ */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 66px;
    left: 0; right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(13,27,62,0.1);
    z-index: 99;
    padding: 1rem 1.5rem 1.5rem;
    flex-direction: column;
    gap: 0.25rem;
    animation: slideDown 0.2s ease both;
  }

  .mobile-menu.open { display: flex; }

  .mobile-menu a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
  }

  .mobile-menu a:hover  { background: var(--surface2); color: var(--brand-blue); }
  .mobile-menu a.active { background: #eef1fb; color: var(--brand-blue); font-weight: 700; }

  .mobile-menu .mob-cta {
    display: block;
    text-align: center;
    background: var(--brand-orange);
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: var(--radius-sm);
    padding: 0.75rem !important;
    margin-top: 0.5rem;
    box-shadow: 0 3px 10px rgba(244,114,33,0.3);
  }

  .mobile-menu .mob-cta:hover { background: var(--brand-orange-dk) !important; }

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

  /* ════════════════════════════
     RESPONSIVE
  ════════════════════════════ */
  @media (max-width: 900px) {
    .stats-row      { grid-template-columns: 1fr 1fr; }
    .subjects-grid  { grid-template-columns: 1fr; }
    .papers-grid    { grid-template-columns: repeat(2, 1fr); }
    .two-col        { grid-template-columns: 1fr; }
    .welcome-banner { flex-direction: column; }
    .welcome-text p { max-width: 100%; }

    /* Hide desktop nav links, show hamburger */
    nav .nav-links { display: none; }
    .hamburger     { display: flex; }
  }

  @media (max-width: 480px) {
    .stats-row   { grid-template-columns: 1fr; }
    .papers-grid { grid-template-columns: repeat(2, 1fr); }
    .container   { padding: 1.25rem 1rem 4rem; }
    nav          { padding: 0 1rem; }
  }
