/* ============================================================
   SCHOOLS24 OLYMPIAD FOUNDATION — DESIGN SYSTEM
   Theme: schools24.in dark minimal, Inter typeface
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --black:        #000000;
  --bg:           #040407;
  --bg-card:      #0a0b10;
  --bg-panel:     #0d0e15;
  --bg-row:       #111218;
  --border:       rgba(255,255,255,0.07);
  --border-md:    rgba(255,255,255,0.12);

  --amber:        #f59e0b;
  --amber-dim:    rgba(245,158,11,0.12);
  --amber-glow:   rgba(245,158,11,0.3);
  --purple:       #7c3aed;
  --purple-dim:   rgba(124,58,237,0.12);
  --green:        #10b981;
  --green-dim:    rgba(16,185,129,0.12);
  --rose:         #f43f5e;

  --text:         #ffffff;
  --text-2:       #94a3b8;
  --text-3:       #94a3b8;

  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:         'JetBrains Mono', 'Fira Code', monospace;

  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   22px;
  --r-pill: 9999px;

  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --dur:    0.2s;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--black);
  color: var(--text);
}

body {
  font-family: var(--font);
  background-color: #030305;
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; border: none; background: none; }
button { cursor: pointer; }

/* ============================================================
   LAYOUT
============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   HEADER & NAVIGATION
============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 200;
  height: 72px;
  background: rgba(4,4,7,0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 42px;
  max-height: 42px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 10px rgba(245,158,11,0.15));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color var(--dur) var(--ease);
}

.nav-link:hover {
  color: var(--amber);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-signin {
  height: 40px;
  padding: 0 1.2rem;
  border-radius: var(--r-pill);
  background: var(--amber);
  color: #000;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow: 0 0 20px var(--amber-glow);
}

.btn-signin:hover {
  background: #fbbf24;
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(245,158,11,0.45);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 44px;
  padding: 0 1.4rem;
  border-radius: var(--r-pill);
  background: var(--amber);
  color: #000;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow: 0 0 24px var(--amber-glow);
}

.btn-primary:hover {
  background: #fbbf24;
  transform: translateY(-1px);
  box-shadow: 0 0 36px rgba(245,158,11,0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 44px;
  padding: 0 1.2rem;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-md);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--dur) var(--ease), border-color var(--dur);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.22);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 1.2rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  transition: color var(--dur), border-color var(--dur), background var(--dur);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-md);
  background: rgba(255,255,255,0.07);
}

.btn-back {
  height: 36px;
  padding: 0 1rem;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  transition: color var(--dur), border-color var(--dur);
}

.btn-back:hover { color: var(--text); border-color: var(--border-md); }

.btn-sm {
  height: 36px;
  padding: 0 0.9rem;
  border-radius: var(--r-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  white-space: nowrap;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}

.btn-sm:hover { background: rgba(255,255,255,0.09); color: var(--text); }

.btn-sm-primary {
  background: var(--amber-dim);
  color: var(--amber);
  border-color: rgba(245,158,11,0.25);
}

.btn-sm-primary:hover { background: rgba(245,158,11,0.2); }

.btn-autofill {
  height: 26px;
  padding: 0 0.65rem;
  border-radius: var(--r-pill);
  background: var(--purple);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ============================================================
   VIEWS & HERO
============================================================ */
.view { display: none; }
.view.active { display: block; }

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 0 0;
  background-color: #030305;
  overflow: hidden;
  perspective: 1200px;
  box-sizing: border-box;
}

.hero-content-container {
  position: relative;
  z-index: 10;
  text-align: center;
  pointer-events: auto;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  pointer-events: auto;
}

.hero-heading {
  font-size: clamp(2.8rem, 6.2vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-highlight {
  color: var(--amber);
  text-shadow: 0 0 50px rgba(245, 158, 11, 0.35);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: #94a3b8;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
  font-weight: 400;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-pill);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-actions .btn-primary {
  height: 52px;
  padding: 0 1.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--r-pill);
}

.hero-actions .btn-ghost {
  height: 52px;
  padding: 0 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--r-pill);
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-2);
  font-weight: 500;
}

.trust-icon {
  color: var(--green);
  font-weight: 700;
}

/* ============================================================
   CINEMATIC FLOATING STAGE (INTERACTIVE OLYMPIAD VISUALS)
============================================================ */
.hero-cinematic-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
  transform-style: preserve-3d;
}

.cinematic-card {
  position: absolute;
  width: clamp(190px, 16vw, 260px);
  height: clamp(125px, 11vw, 175px);
  border-radius: 12px;
  overflow: hidden;
  background: #090a10;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.88), 0 0 1px rgba(255, 255, 255, 0.2);
  pointer-events: auto;
  cursor: pointer;
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
  will-change: transform, opacity;
}

.cinematic-card:hover,
.cinematic-card:focus-visible {
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 32px 75px rgba(0, 0, 0, 0.95), 0 0 25px rgba(245, 158, 11, 0.35);
  z-index: 25 !important;
  outline: none;
}

.cinematic-card .card-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cinematic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-card:hover img {
  transform: scale(1.08);
}

.card-overlay-badge {
  display: none !important;
}

/* Fluid responsive placement around headline */
.cinematic-card.card-tl {
  top: 7%;
  left: 2.5%;
  z-index: 3;
}

.cinematic-card.card-tr {
  top: 5%;
  right: 2.5%;
  z-index: 4;
}

.cinematic-card.card-ml {
  top: 42%;
  left: 1.5%;
  z-index: 2;
}

.cinematic-card.card-mr {
  top: 40%;
  right: 1.5%;
  z-index: 5;
}

.cinematic-card.card-bl {
  bottom: 6%;
  left: 3%;
  z-index: 4;
}

.cinematic-card.card-br {
  bottom: 6%;
  right: 3%;
  z-index: 3;
}

/* ============================================================
   INTERACTIVE CURSOR FALLING IMAGES
============================================================ */
.cursor-trail-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
  overflow: hidden;
}

.cursor-falling-card {
  position: absolute;
  width: 125px;
  height: 82px;
  border-radius: 8px;
  overflow: hidden;
  background: #090a10;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 15px rgba(245, 158, 11, 0.2);
  pointer-events: none;
  will-change: transform, opacity;
  transform-origin: center center;
}

.cursor-falling-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   ISOLATED PORTAL APPBAR
============================================================ */
.portal-appbar {
  position: sticky;
  top: 0;
  z-index: 250;
  height: 72px;
  background: rgba(8, 9, 14, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-md);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.portal-appbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.portal-appbar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.portal-brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.portal-title-block {
  display: flex;
  flex-direction: column;
}

.portal-app-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.portal-app-subtitle {
  font-size: 0.75rem;
  color: var(--text-2);
  margin-top: 2px;
}

.portal-app-subtitle strong { color: #fff; }

.portal-badge-role {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-pill);
  text-transform: uppercase;
}

.portal-badge-role.organizer {
  background: var(--purple-dim);
  color: #c4b5fd;
  border: 1px solid rgba(124,58,237,0.3);
}

.portal-badge-role.school {
  background: var(--amber-dim);
  color: var(--amber);
  border: 1px solid rgba(245,158,11,0.3);
}

.portal-badge-role.student {
  background: var(--green-dim);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,0.3);
}

.portal-appbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sys-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-2);
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.pulse-dot.green {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.btn-portal-exit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 38px;
  padding: 0 1rem;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-md);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background var(--dur), border-color var(--dur), transform var(--dur);
}

.btn-portal-exit:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

.portal-content-area {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

/* ============================================================
   MODAL — clean, no heavy border or background
============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-overlay.active {
  display: flex;
}

.modal-panel {
  width: 100%;
  max-width: 520px;
  background: var(--bg-card);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.06);
}

.modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.modal-subtitle {
  font-size: 0.8rem;
  color: var(--text-2);
  margin-top: 0.2rem;
}

.modal-close {
  color: var(--text-3);
  padding: 0.2rem;
  transition: color var(--dur);
  flex-shrink: 0;
}

.modal-close:hover { color: var(--text); }

.modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}

.modal-tab {
  flex: 1;
  padding: 0.9rem 0.5rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  border-bottom: 2px solid transparent;
  transition: color var(--dur), border-color var(--dur);
}

.modal-tab:hover { color: #fff; }

.modal-tab.active {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.modal-body {
  padding: 1.75rem;
}

.tab-pane { display: none; }
.tab-pane.active { display: block; }

.hint-row {
  font-size: 0.8rem;
  color: var(--text-2);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hint-row strong { color: var(--text); }

/* ============================================================
   FORM FIELDS
============================================================ */
.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.field input,
.field select,
input[class=""],
select[class=""] {
  width: 100%;
  height: 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  padding: 0 0.875rem;
  font-size: 0.9rem;
  color: #fff;
  transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: rgba(245,158,11,0.5);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
  background: rgba(255,255,255,0.07);
}

.field select option { background: #1a1b26; }

.btn-submit {
  width: 100%;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--amber);
  color: #000;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
  box-shadow: 0 0 20px var(--amber-glow);
}

.btn-submit:hover {
  background: #fbbf24;
  transform: translateY(-1px);
}

.btn-submit-org {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 20px rgba(124,58,237,0.3);
}

.btn-submit-org:hover { background: #6d28d9; }

/* ============================================================
   PORTAL WORKSPACE
============================================================ */
.portal-workspace {
  min-height: 100vh;
  padding: calc(72px + 2rem) 0 5rem;
  box-sizing: border-box;
}

.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.portal-header h2 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.portal-header p {
  font-size: 0.875rem;
  color: var(--text-2);
  margin-top: 0.2rem;
}

/* KPI Cards */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.kpi {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
}

.kpi span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kpi strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-top: 0.2rem;
}

.kpi strong.amber { color: var(--amber); }
.kpi strong.purple { color: var(--purple); }
.kpi strong.green { color: var(--green); }

/* Tab bar */
.tab-bar {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  padding-bottom: 0;
}

.tab-btn {
  padding: 0.75rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--dur), border-color var(--dur);
}

.tab-btn:hover { color: #fff; }
.tab-btn.active { color: var(--amber); border-bottom-color: var(--amber); }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* Panels */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.panel-head h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.panel-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.panel-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.panel-title.amber { color: var(--amber); }
.panel-title.purple { color: var(--purple); }
.panel-title.green { color: var(--green); }

.panel-desc {
  font-size: 0.8rem;
  color: var(--text-2);
  margin-bottom: 1.1rem;
}

/* ============================================================
   TABLE
============================================================ */
.table-wrap { width: 100%; overflow-x: auto; }

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.tbl th {
  background: rgba(0,0,0,0.35);
  color: #cbd5e1;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.tbl td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: #e2e8f0;
  vertical-align: middle;
}

.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: rgba(255,255,255,0.02); }

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-amber { background: var(--amber-dim); color: var(--amber); font-size: 0.8rem; }
.tag-green { background: var(--green-dim); color: var(--green); }
.tag-rose { background: rgba(244,63,94,0.12); color: var(--rose); }
.tag-muted { background: rgba(255,255,255,0.06); color: var(--text-2); }

/* ============================================================
   QR CARD
============================================================ */
.qr-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
}

.qr-box {
  background: #ffffff;
  border-radius: var(--r-md);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.qr-box canvas { display: block; }

.qr-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.qr-info p {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.link-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.link-input {
  flex: 1;
  min-width: 140px;
  height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  padding: 0 0.75rem;
  font-size: 0.8rem;
  font-family: var(--mono);
  color: var(--text-2);
}

.link-small {
  font-size: 0.78rem;
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--dur);
}

.link-small:hover { opacity: 0.8; }

/* ============================================================
   FORM GRIDS
============================================================ */
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.inline-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.inline-form input {
  flex: 1;
  height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  padding: 0 0.75rem;
  font-size: 0.85rem;
  color: #fff;
  outline: none;
}

.inline-form input:focus {
  border-color: rgba(245,158,11,0.5);
}

.chips-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
}

.chip-del {
  cursor: pointer;
  color: var(--text-3);
  font-size: 0.9rem;
  transition: color var(--dur);
}

.chip-del:hover { color: var(--rose); }

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-2);
  gap: 0.5rem;
}

/* ============================================================
   OMR GRID
============================================================ */
.omr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.6rem;
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(0,0,0,0.3);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}

.omr-q {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.5rem;
  text-align: center;
}

.omr-q-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-3);
  display: block;
  margin-bottom: 0.3rem;
}

.omr-opts {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
}

.omr-opt {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-md);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}

.omr-opt.selected {
  background: var(--amber);
  color: #000;
  border-color: var(--amber);
  box-shadow: 0 0 8px var(--amber-glow);
}

/* ============================================================
   SCHOOL PORTAL SPECIFICS
============================================================ */
.action-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

/* ============================================================
   STUDENT PORTAL & DIAGNOSTIC STYLING
============================================================ */
.sub-tabs-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.sub-tab-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-md);
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--dur) var(--ease);
}

.sub-tab-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.sub-tab-btn.active {
  background: var(--amber-dim);
  border-color: rgba(245, 158, 11, 0.45);
  color: var(--amber);
}

.section-scores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
}

.sec-score-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.85rem 1rem;
}

.sec-score-box span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 0.25rem;
}

.sec-score-box strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.diag-insight-box {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--r-lg);
  padding: 1.25rem;
}

.diag-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-pill);
  background: var(--purple);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.diag-insight-box p {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.65;
}

/* ============================================================
   LANDING PAGE SECTIONS SYSTEM
============================================================ */
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.section-head-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.85rem;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.phase-tag-clean {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.02em;
}

.phase-tag-clean .phase-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  font-weight: 800;
  color: #38bdf8;
}

.honour-kicker-clean {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.honour-kicker-clean.gold { color: #f59e0b; }
.honour-kicker-clean.cyan { color: #38bdf8; }

.pill-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.85rem;
}

.pill-tag.amber { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(245,158,11,0.3); }
.pill-tag.purple { background: var(--purple-dim); color: #c4b5fd; border: 1px solid rgba(124,58,237,0.3); }
.pill-tag.green { background: var(--green-dim); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* Why Schools Partner Grid & Affiliation Advantages */
.section-why-schools {
  padding: 5rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
}

.why-schools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.why-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.why-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-cat-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.why-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.why-card p {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.why-card-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.why-card-specs li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.why-card-specs .spec-check {
  flex-shrink: 0;
  margin-top: 2px;
}

.school-cta-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(13, 14, 22, 0.95) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--r-xl);
  padding: 2.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.school-cta-content {
  max-width: 650px;
}

.school-cta-content h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0.6rem 0 0.5rem;
  line-height: 1.25;
}

.school-cta-content p {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.school-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Olympiad Disciplines Grid */
.olympiad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.olympiad-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.olympiad-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245,158,11,0.35);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.oly-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.oly-code {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-pill);
}

.oly-code.amber { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(245,158,11,0.3); }
.oly-code.green { background: var(--green-dim); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
.oly-code.purple { background: var(--purple-dim); color: #c4b5fd; border: 1px solid rgba(124,58,237,0.3); }

.oly-classes {
  font-size: 0.78rem;
  color: var(--text-2);
  font-weight: 600;
}

.oly-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.oly-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.oly-meta {
  display: flex;
  gap: 1.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  color: var(--text-2);
}

.oly-meta span strong {
  color: #fff;
}

.oly-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* ============================================================
   CHRONOLOGICAL EXAMINATION TIMELINE
============================================================ */
.examination-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.timeline-phase-block {
  background: rgba(13, 14, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
  padding: 1.75rem 2rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.phase-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.phase-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}

.phase-badge.phase-1 {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.phase-badge.phase-2 {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.phase-badge.phase-3 {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.phase-window {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.phase-milestones-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.milestone-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.milestone-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.milestone-card.active-milestone {
  border-color: rgba(16, 185, 129, 0.45);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.milestone-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.milestone-step-index {
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 800;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.milestone-status-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.milestone-status-chip.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.milestone-status-chip.upcoming {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.milestone-status-chip.scheduled {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.milestone-date {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--amber);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.milestone-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.milestone-card p {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.milestone-deliverable {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 0.6rem 0.85rem;
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.milestone-deliverable .deliverable-label {
  color: var(--amber);
  font-weight: 700;
  margin-right: 0.35rem;
}

/* ============================================================
   NATIONAL REWARDS, MEDALS & HONOURS ARCHITECTURE
============================================================ */
.honours-hero-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.honour-card {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.honour-card:hover {
  transform: translateY(-3px);
}

.grand-tablet-card {
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, rgba(13, 14, 22, 0.95) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.04);
}

.medals-classroom-card {
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.05) 0%, rgba(13, 14, 22, 0.95) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.honour-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.honour-category-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.honour-category-tag.gold {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.honour-category-tag.cyan {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.honour-eligibility-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.honour-title-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.honour-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.honour-icon-circle.gold {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.honour-icon-circle.cyan {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.honour-prize-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.honour-prize-subtitle {
  font-size: 0.82rem;
  color: #94a3b8;
}

.tablet-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.spec-pill {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
}

.spec-pill strong {
  font-size: 0.82rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.spec-pill span {
  font-size: 0.72rem;
  color: #94a3b8;
}

.honour-perks-box {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
}

.perk-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: #e2e8f0;
  line-height: 1.4;
}

.medals-tiered-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.medal-tier-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}

.medal-tier-row.gold { border-left: 4px solid #f59e0b; }
.medal-tier-row.silver { border-left: 4px solid #cbd5e1; }
.medal-tier-row.bronze { border-left: 4px solid #d97706; }

.medal-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  flex-shrink: 0;
}

.medal-circle.gold {
  background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
  color: #000;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.medal-circle.silver {
  background: linear-gradient(135deg, #f1f5f9 0%, #64748b 100%);
  color: #000;
}

.medal-circle.bronze {
  background: linear-gradient(135deg, #f97316 0%, #78350f 100%);
  color: #fff;
}

.medal-tier-info strong {
  font-size: 0.85rem;
  color: #ffffff;
  display: block;
  margin-bottom: 2px;
}

.medal-tier-info p {
  font-size: 0.76rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

.classroom-guarantee-note {
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin-top: auto;
}

.classroom-guarantee-note strong {
  color: #38bdf8;
}

.honours-secondary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
}

.honour-panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.honour-panel-card:hover {
  transform: translateY(-2px);
}

.school-partnership-panel {
  border-color: rgba(16, 185, 129, 0.3);
}

.teacher-student-panel {
  border-color: rgba(56, 189, 248, 0.3);
}

.panel-header-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  display: inline-block;
}

.panel-header-badge.green { color: #34d399; }
.panel-header-badge.blue { color: #38bdf8; }

.panel-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.panel-desc {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.panel-deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.panel-deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.panel-deliverables-list li strong {
  color: #ffffff;
}

.panel-cta-wrap {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.panel-cta-wrap.dual-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-honor-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 40px;
  padding: 0 1.25rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-honor-action:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

.btn-honor-action.primary-blue {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.btn-honor-action.primary-blue:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}

.btn-honor-action.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-honor-action.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Technology & Integrity */
.tech-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl);
  padding: 3rem;
  overflow: hidden;
}

.tech-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.tech-feat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feat-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
}

.tech-feat strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.tech-feat p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
}

.tech-visual {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-md);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

.tech-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-align: left;
  transition: color var(--dur), background var(--dur);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--amber);
}

.faq-arrow {
  font-size: 1.25rem;
  color: var(--amber);
  transition: transform var(--dur);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-card.open .faq-arrow {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.65;
}

.faq-card.open .faq-answer {
  display: block;
}

/* CTA Banner */
.cta-banner {
  background: radial-gradient(circle at 10% 50%, rgba(245,158,11,0.12) 0%, rgba(124,58,237,0.08) 50%, rgba(10,11,16,0.95) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--r-xl);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.8);
}

.cta-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.cta-desc {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 580px;
  line-height: 1.55;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-md);
  background: #020204;
  padding: 5rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  height: 38px;
  margin-bottom: 1.25rem;
}

.footer-bio {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-bio a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-reg-info {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.5;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-2);
  transition: color var(--dur);
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-contact-line {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.footer-contact-line strong {
  color: #cbd5e1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.78rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #94a3b8;
  transition: color var(--dur);
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* Modal Wide for Sample Papers & Print Sheets */
.modal-panel-wide {
  max-width: 820px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-panel-wide .modal-body {
  overflow-y: auto;
}

.sample-paper-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sample-q-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem;
}

.sample-q-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.sample-q-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.sample-options-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.sample-opt {
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-md);
  font-size: 0.85rem;
  color: var(--text-2);
}

.sample-opt.correct {
  background: rgba(16,185,129,0.12);
  border-color: rgba(16,185,129,0.4);
  color: #6ee7b7;
  font-weight: 700;
}

.sample-explanation {
  font-size: 0.82rem;
  color: #cbd5e1;
  background: rgba(0,0,0,0.3);
  padding: 0.75rem 1rem;
  border-radius: var(--r-sm);
  border-left: 3px solid var(--amber);
}

/* ============================================================
   ENROLLMENT FORM & MODALS
============================================================ */
.enrollment-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.subject-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color var(--dur), background var(--dur);
  font-size: 0.83rem;
  color: var(--text-2);
}

.subject-chip:hover { border-color: var(--border-md); color: #fff; }

.subject-chip.selected {
  border-color: rgba(245,158,11,0.45);
  background: var(--amber-dim);
  color: var(--amber);
}

.fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  margin-top: 0.75rem;
}

/* ============================================================
   TOAST
============================================================ */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  background: var(--bg-panel);
  border: 1px solid var(--border-md);
  border-left: 3px solid var(--amber);
  color: #fff;
  padding: 0.875rem 1.25rem;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 16px 32px rgba(0,0,0,0.7);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================================
   RESPONSIVE DESIGN (BALANCED BREAKPOINTS, NO VOIDS)
============================================================ */
@media (max-width: 1400px) {
  .cinematic-card.card-tl { left: 1%; top: 5%; }
  .cinematic-card.card-tr { right: 1%; top: 4%; }
  .cinematic-card.card-ml { left: 0.5%; top: 40%; }
  .cinematic-card.card-mr { right: 0.5%; top: 38%; }
  .cinematic-card.card-bl { left: 1.5%; bottom: 4%; }
  .cinematic-card.card-br { right: 1.5%; bottom: 4%; }
}

@media (max-width: 1100px) {
  .hero-cinematic-stage {
    opacity: 0.45;
  }
  .tech-card {
    grid-template-columns: 1fr;
    padding: 2.25rem;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .hero {
    min-height: auto;
    padding: 4.5rem 0 3.5rem;
  }
  .hero-cinematic-stage {
    opacity: 0.2;
    transform: scale(0.9);
  }
  .hero-heading { font-size: 2.5rem; }
  .cta-banner { padding: 2.5rem; }
}

@media (max-width: 640px) {
  .hero-cinematic-stage { display: none; }
  .hero { padding: 3.5rem 0 2.5rem; }
  .hero-heading { font-size: 2.1rem; }
  .hero-trust-strip { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  .verify-card { padding: 1.5rem; }
  .verify-inputs { flex-direction: column; }
  .field-inline { width: 100%; }
  .btn-verify-submit { width: 100%; }
  .sample-options-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .modal-tabs { flex-wrap: wrap; }
  .modal-tab { flex: 1 1 30%; font-size: 0.75rem; }
}

/* ============================================================
   ACCESSIBILITY: PREFERS REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cinematic-card {
    transform: none !important;
    transition: none !important;
  }
}

/* Student Portal Medal Badges */
.std-medal-badge,
.medal-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.std-medal-badge.gold,
.medal-badge-icon.gold {
  background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
  color: #000;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.std-medal-badge.silver,
.medal-badge-icon.silver {
  background: linear-gradient(135deg, #f1f5f9 0%, #64748b 100%);
  color: #000;
}

.std-medal-badge.bronze,
.medal-badge-icon.bronze {
  background: linear-gradient(135deg, #f97316 0%, #78350f 100%);
  color: #fff;
}

.medal-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.medal-tag.gold {
  background: rgba(245, 158, 11, 0.18);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.medal-tag.silver {
  background: rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.medal-tag.bronze {
  background: rgba(217, 119, 6, 0.18);
  color: #fb923c;
  border: 1px solid rgba(217, 119, 6, 0.35);
}

/* ============================================================
   SUB TABS BAR & PROGRESSION PANES
============================================================ */
.sub-tabs-bar {
  display: inline-flex;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.3rem;
  border-radius: var(--r-pill);
}

.sub-tab-btn {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sub-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.sub-tab-btn.active {
  background: var(--amber);
  color: #000;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.progression-pane {
  display: none;
}

.progression-pane.active {
  display: block;
}

/* ============================================================
   CAMERA OMR SCANNER STYLES
============================================================ */
@keyframes scanLaser {
  0% { top: 4%; opacity: 0.8; }
  50% { top: 96%; opacity: 1; }
  100% { top: 4%; opacity: 0.8; }
}

@media (max-width: 820px) {
  .camera-scanner-layout {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   CANVA-LIKE CERTIFICATE STUDIO
============================================================ */
.certificate-studio-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .certificate-studio-grid {
    grid-template-columns: 1fr;
  }
}

.certificate-canvas {
  font-family: 'Cinzel', 'Georgia', serif;
  transition: all 0.25s ease;
}

.certificate-canvas.double-gold {
  border: 12px double #f59e0b !important;
}

.certificate-canvas.sapphire-academic {
  border: 12px double #0284c7 !important;
}

.certificate-canvas.emerald-honor {
  border: 12px double #10b981 !important;
}

.certificate-canvas.modern-hairline {
  border: 3px solid #64748b !important;
}

/* ============================================================
   PRINT MEDIA STYLESHEET (@media print)
============================================================ */
@media print {
  body {
    background: #ffffff !important;
    color: #0f172a !important;
  }

  .site-header,
  .portal-appbar,
  .hero,
  .section,
  .site-footer,
  .cursor-trail-container,
  .no-print,
  .toast,
  .modal-close,
  button,
  .tab-bar,
  .action-row {
    display: none !important;
  }

  .modal-overlay {
    position: static !important;
    background: none !important;
    display: block !important;
    padding: 0 !important;
  }

  .modal-panel,
  .printable-panel {
    max-width: 100% !important;
    background: #ffffff !important;
    box-shadow: none !important;
    border: none !important;
    color: #0f172a !important;
  }

  .printable-sheet {
    display: block !important;
    background: #ffffff !important;
    color: #0f172a !important;
    padding: 1.5cm !important;
    font-size: 11pt !important;
  }

  .print-header {
    border-bottom: 2px solid #0f172a;
    padding-bottom: 12px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .print-header h1 {
    font-size: 16pt;
    font-weight: 800;
    color: #0f172a;
  }

  .print-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
  }

  .print-table th,
  .print-table td {
    border: 1px solid #cbd5e1;
    padding: 8px 12px;
    text-align: left;
    color: #0f172a;
  }

  .print-table th {
    background: #f1f5f9 !important;
    font-weight: 700;
  }
}

/* ==========================================================================
   DEDICATED SIGN IN PAGE STYLES (No Neon, Clean Institutional Aesthetic)
========================================================================== */
.signin-page-view {
  min-height: 100vh;
  display: none;
  background: #090d16 radial-gradient(circle at 50% -10%, #172554 0%, #090d16 65%);
  color: #f8fafc;
  padding: 1.5rem 1.5rem 4rem;
}

.signin-page-view.active {
  display: flex !important;
  flex-direction: column;
}

.signin-page-header {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.signin-page-body {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.signin-card {
  background: #0d1526;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.signin-card-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.signin-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.signin-subtitle {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

.signin-role-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 1.75rem;
}

.signin-role-switcher .role-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.5rem;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.signin-role-switcher .role-tab:hover {
  color: #ffffff;
}

.signin-role-switcher .role-tab.active {
  background: #1e293b;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.signin-pane {
  display: none;
}

.signin-pane.active {
  display: block;
}

.signin-pane-header {
  margin-bottom: 1.25rem;
}

.signin-pane-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.25rem;
}

.signin-pane-header p {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
}

.demo-credential-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.demo-credential-strip strong {
  color: #38bdf8;
}

.btn-demo-quick {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-demo-quick:hover {
  background: rgba(56, 189, 248, 0.22);
}

.signin-submit-btn {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  margin-top: 1rem;
}

.signin-extra-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: #94a3b8;
}

.signin-extra-link a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
}

.signin-extra-link a:hover {
  text-decoration: underline;
}

.signin-trust-footer {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: #64748b;
}
