/* ============================================================
   MundenInteractive_v2 — style.css
   Blue & White Theme
   Primary:   #1565C0
   Dark:      #0D47A1
   Accent:    #42A5F5
   Text:      #212121
   BG:        #FFFFFF
============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #FFFFFF;
  color: #212121;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1565C0; text-decoration: none; }
a:hover { text-decoration: underline; color: #0D47A1; }
ul { list-style: none; }

/* --- Container --- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* --- Typography --- */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: #0D47A1; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem,  3vw, 2rem); }
h3 { font-size: clamp(1.1rem,  2vw, 1.5rem); }
p  { margin-bottom: 1rem; }

/* --- Buttons --- */
.btn, button, input[type="submit"], input[type="button"] {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border: none; border-radius: 6px;
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .1s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary, .btn-primary-sm {
  background: #1565C0; color: #FFF;
}
.btn-primary:hover, .btn-primary-sm:hover {
  background: #0D47A1; box-shadow: 0 4px 12px rgba(13,71,161,.3);
}
.btn-outline-sm {
  background: transparent; color: #1565C0;
  border: 2px solid #1565C0;
}
.btn-outline-sm:hover { background: #1565C0; color: #FFF; }
.btn-accent {
  background: #42A5F5; color: #FFF;
}
.btn-accent:hover { background: #1E88E5; }
.btn-danger  { background: #d32f2f; color: #FFF; }
.btn-danger:hover { background: #b71c1c; }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* --- Header --- */
.site-header {
  background: #1565C0;
  color: #FFF;
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
  gap: 16px;
}
.site-logo { display: flex; align-items: center; text-decoration: none; }
.logo-mi   { font-size: 1.6rem; font-weight: 800; color: #FFF; letter-spacing: -1px; }
.logo-interactive { font-size: 1.6rem; font-weight: 300; color: #BBDEFB; letter-spacing: -1px; }
.footer-logo .logo-mi { color: #42A5F5; }
.footer-logo .logo-interactive { color: #BBDEFB; }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  color: #BBDEFB; padding: 6px 10px; border-radius: 5px;
  font-size: 0.9rem; font-weight: 500; transition: background .15s, color .15s;
  text-decoration: none;
}
.site-nav a:hover { background: rgba(255,255,255,.15); color: #FFF; }
.site-nav .btn-admin {
  background: #FFD600; color: #0D47A1; padding: 6px 12px; border-radius: 5px;
}
.site-nav .btn-primary-sm {
  background: #FFF; color: #1565C0; padding: 7px 16px; border-radius: 5px;
}
.site-nav .btn-outline-sm {
  border: 1.5px solid rgba(255,255,255,.6); color: #FFF; padding: 6px 14px;
  border-radius: 5px;
}
.site-nav .btn-outline-sm:hover { background: rgba(255,255,255,.15); }

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  background: #0D47A1; border-radius: 8px;
  min-width: 180px; padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 9px 18px; color: #BBDEFB; font-size: 0.9rem;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,.1); color: #FFF; }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #FFF; border-radius: 2px; transition: .3s; }

/* --- Floating Social Sidebar --- */
.social-sidebar {
  position: fixed; left: 0; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 2px; z-index: 900;
}
.social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: #1565C0; color: #FFF;
  transition: width .25s, background .2s;
  overflow: hidden;
  text-decoration: none;
  border-radius: 0 6px 6px 0;
}
.social-btn:hover { background: #0D47A1; width: 48px; }
.social-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.social-btn.facebook { background: #1877F2; }
.social-btn.instagram { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-btn.tiktok   { background: #010101; }
.social-btn.twitter  { background: #1DA1F2; }

/* --- Breadcrumbs --- */
.breadcrumbs { background: #E3F2FD; padding: 8px 0; font-size: 0.85rem; }
.breadcrumbs ol { display: flex; gap: 6px; list-style: none; flex-wrap: wrap; }
.breadcrumbs li + li::before { content: '›'; color: #90A4AE; margin-right: 6px; }
.breadcrumbs a { color: #1565C0; }
.breadcrumbs span { color: #546E7A; }

/* --- Flash Messages --- */
.flash { padding: 12px 20px; border-radius: 6px; margin: 12px auto; font-weight: 500; }
.flash-success { background: #E8F5E9; color: #2E7D32; border-left: 4px solid #4CAF50; }
.flash-error   { background: #FFEBEE; color: #C62828; border-left: 4px solid #F44336; }
.flash-info    { background: #E3F2FD; color: #1565C0; border-left: 4px solid #42A5F5; }

/* --- Main --- */
.site-main { flex: 1; }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #1565C0 0%, #0D47A1 60%, #01579B 100%);
  color: #FFF; text-align: center;
  padding: 90px 20px 70px;
}
.hero h1 { color: #FFF; margin-bottom: 18px; }
.hero p  { font-size: 1.15rem; color: #BBDEFB; max-width: 640px; margin: 0 auto 30px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn-primary { background: #FFF; color: #1565C0; }
.hero .btn-primary:hover { background: #E3F2FD; }
.hero .btn-outline-sm { border-color: rgba(255,255,255,.7); color: #FFF; }
.hero .btn-outline-sm:hover { background: rgba(255,255,255,.15); }

/* --- Section --- */
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header p { color: #546E7A; font-size: 1.05rem; max-width: 600px; margin: 10px auto 0; }
.section-alt { background: #F5F9FF; }

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: #FFF; border: 1px solid #E3EAF2;
  border-radius: 12px; padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(21,101,192,.06);
  transition: box-shadow .25s, transform .2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(21,101,192,.14); transform: translateY(-3px); }
.card-icon { font-size: 2.2rem; margin-bottom: 12px; }
.card h3 { color: #1565C0; margin-bottom: 8px; }
.card p   { color: #546E7A; font-size: 0.95rem; }
.card-footer { margin-top: 16px; }

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; max-width: 860px; margin: 0 auto;
}
.price-card {
  border: 2px solid #E3EAF2; border-radius: 12px;
  padding: 32px 24px; text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.price-card.featured { border-color: #1565C0; box-shadow: 0 8px 30px rgba(21,101,192,.18); }
.price-card .badge { background: #1565C0; color: #FFF; font-size: 0.75rem; padding: 3px 10px; border-radius: 20px; display: inline-block; margin-bottom: 10px; }
.price-card .price { font-size: 2.4rem; font-weight: 800; color: #0D47A1; }
.price-card .price span { font-size: 1rem; font-weight: 400; color: #546E7A; }
.price-card ul { text-align: left; margin: 18px 0; }
.price-card ul li { padding: 5px 0; font-size: 0.9rem; color: #546E7A; }
.price-card ul li::before { content: '✓ '; color: #1565C0; font-weight: 700; }

/* --- Forms --- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; color: #374151; }
.form-control {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid #BDBDBD; border-radius: 6px;
  font-size: 0.95rem; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  background: #FFF; color: #212121;
}
.form-control:focus { outline: none; border-color: #1565C0; box-shadow: 0 0 0 3px rgba(21,101,192,.15); }
.form-control.error { border-color: #F44336; }
.form-hint { font-size: 0.8rem; color: #78909C; margin-top: 4px; }
.form-error { color: #C62828; font-size: 0.85rem; margin-top: 4px; }
select.form-control { cursor: pointer; }
textarea.form-control { min-height: 120px; resize: vertical; }

/* --- Tables --- */
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th { background: #1565C0; color: #FFF; padding: 12px 14px; text-align: left; font-weight: 600; }
td { padding: 11px 14px; border-bottom: 1px solid #E3EAF2; }
tr:hover td { background: #F5F9FF; }

/* --- Quiz --- */
.quiz-container { max-width: 780px; margin: 0 auto; padding: 30px 0; }
.quiz-progress { margin-bottom: 20px; }
.progress-bar-track { background: #E3EAF2; border-radius: 20px; height: 8px; }
.progress-bar-fill  { background: #1565C0; height: 8px; border-radius: 20px; transition: width .4s; }
.progress-label { font-size: 0.85rem; color: #546E7A; margin-top: 5px; text-align: right; }

.question-card {
  background: #FFF; border: 1px solid #E3EAF2; border-radius: 12px;
  padding: 32px; box-shadow: 0 2px 10px rgba(21,101,192,.07);
  margin-bottom: 20px; position: relative;
}
.question-domain { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #1565C0; margin-bottom: 10px; }
.question-text { font-size: 1.1rem; font-weight: 600; color: #212121; margin-bottom: 20px; }
.question-image { border-radius: 8px; margin-bottom: 18px; max-height: 280px; object-fit: cover; width: 100%; }
.question-video { margin-bottom: 18px; }
.question-video iframe { width: 100%; border-radius: 8px; border: none; height: 250px; }

/* Answer options */
.answers-list { display: flex; flex-direction: column; gap: 10px; }
.answer-option {
  display: flex; align-items: flex-start; gap: 12px;
  border: 2px solid #E3EAF2; border-radius: 8px; padding: 14px 16px;
  cursor: pointer; transition: border-color .15s, background .15s;
  font-size: 0.95rem;
}
.answer-option:hover { border-color: #42A5F5; background: #F0F8FF; }
.answer-option.selected { border-color: #1565C0; background: #E3F2FD; }
.answer-option.correct  { border-color: #4CAF50; background: #E8F5E9 !important; }
.answer-option.incorrect { border-color: #F44336; background: #FFEBEE !important; }
.answer-option input { margin-top: 2px; width: 18px; height: 18px; accent-color: #1565C0; }

/* Explanation */
.explanation-box {
  margin-top: 20px; padding: 18px 20px;
  background: #E8F5E9; border-left: 4px solid #4CAF50;
  border-radius: 0 8px 8px 0; font-size: 0.95rem;
  display: none;
}
.explanation-box.show { display: block; }
.explanation-box h4 { color: #2E7D32; margin-bottom: 8px; }

/* References */
.refs-toggle { margin-top: 14px; }
.refs-toggle button { background: none; border: none; color: #1565C0; cursor: pointer; font-size: 0.9rem; padding: 0; }
.refs-toggle button:hover { text-decoration: underline; }
.refs-list { margin-top: 8px; padding-left: 16px; display: none; }
.refs-list.open { display: block; }
.refs-list li { margin-bottom: 4px; }
.refs-list a { font-size: 0.875rem; }

/* Flag button */
.flag-btn {
  position: absolute; top: 16px; right: 16px;
  background: none; border: 1.5px solid #BDBDBD;
  color: #BDBDBD; border-radius: 6px; padding: 4px 10px;
  font-size: 0.8rem; cursor: pointer; transition: .2s;
}
.flag-btn:hover { border-color: #F44336; color: #F44336; }

/* Quiz controls */
.quiz-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; flex-wrap: wrap; gap: 10px; }

/* --- Dashboard --- */
.readiness-meter {
  text-align: center; padding: 30px;
  background: #FFF; border-radius: 12px; border: 1px solid #E3EAF2;
  box-shadow: 0 2px 8px rgba(21,101,192,.07);
}
.readiness-circle {
  width: 140px; height: 140px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem; font-weight: 800;
  border: 8px solid;
}
.readiness-circle.green  { border-color: #4CAF50; color: #2E7D32; }
.readiness-circle.yellow { border-color: #FFC107; color: #F57F17; }
.readiness-circle.red    { border-color: #F44336; color: #B71C1C; }
.readiness-circle small  { font-size: 0.75rem; font-weight: 400; }

.domain-bars { display: flex; flex-direction: column; gap: 14px; }
.domain-bar-row { display: flex; align-items: center; gap: 12px; }
.domain-bar-label { width: 170px; font-size: 0.88rem; font-weight: 600; flex-shrink: 0; }
.domain-bar-track { flex: 1; background: #E3EAF2; border-radius: 20px; height: 18px; overflow: hidden; }
.domain-bar-fill { height: 100%; border-radius: 20px; transition: width .6s; }
.domain-bar-fill.green  { background: #4CAF50; }
.domain-bar-fill.yellow { background: #FFC107; }
.domain-bar-fill.red    { background: #F44336; }
.domain-bar-pct { width: 42px; text-align: right; font-size: 0.85rem; font-weight: 600; }

/* --- Forum --- */
.topic-list { display: flex; flex-direction: column; gap: 1px; }
.topic-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px; background: #FFF;
  border-bottom: 1px solid #E3EAF2;
  transition: background .15s;
}
.topic-row:hover { background: #F5F9FF; }
.topic-row .topic-title { flex: 1; font-weight: 600; color: #1565C0; }
.topic-row .topic-meta  { font-size: 0.82rem; color: #78909C; }
.topic-pinned { background: #E3F2FD !important; }

/* --- Admin --- */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 230px; flex-shrink: 0;
  background: #0D47A1; color: #FFF;
  padding: 24px 0;
}
.admin-sidebar a {
  display: block; padding: 11px 20px;
  color: #BBDEFB; font-size: 0.9rem; font-weight: 500;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.12); color: #FFF; }
.admin-sidebar .sidebar-section { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: #90CAF9; padding: 18px 20px 6px; }
.admin-content { flex: 1; padding: 32px; background: #F5F9FF; }
.admin-content h1 { margin-bottom: 24px; }
.admin-card { background: #FFF; border: 1px solid #E3EAF2; border-radius: 10px; padding: 24px; margin-bottom: 24px; }
.admin-card h3 { margin-bottom: 14px; }
.help-text { font-size: 0.85rem; color: #78909C; background: #F5F9FF; border-left: 3px solid #42A5F5; padding: 10px 14px; border-radius: 0 6px 6px 0; margin-bottom: 16px; }
.stats-row { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.stat-box { flex: 1; min-width: 130px; background: #FFF; border: 1px solid #E3EAF2; border-radius: 10px; padding: 20px; text-align: center; }
.stat-box .stat-num { font-size: 2rem; font-weight: 800; color: #1565C0; }
.stat-box .stat-label { font-size: 0.82rem; color: #78909C; margin-top: 4px; }
.badge-status { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.badge-pending  { background: #FFF8E1; color: #F57F17; }
.badge-approved { background: #E8F5E9; color: #2E7D32; }
.badge-rejected { background: #FFEBEE; color: #C62828; }
.badge-active   { background: #E3F2FD; color: #1565C0; }

/* --- Store --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.product-card { border: 1px solid #E3EAF2; border-radius: 12px; overflow: hidden; background: #FFF; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: 0 8px 24px rgba(21,101,192,.14); transform: translateY(-3px); }
.product-card .product-img { background: #E3F2FD; height: 180px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.product-card img { width: 100%; height: 180px; object-fit: cover; }
.product-card .product-body { padding: 18px; }
.product-card .product-name { font-weight: 700; margin-bottom: 6px; color: #0D47A1; }
.product-card .product-desc { font-size: 0.88rem; color: #546E7A; margin-bottom: 12px; }
.product-card .product-price { font-size: 1.3rem; font-weight: 800; color: #1565C0; }
.product-card .product-type-badge { font-size: 0.72rem; background: #E3F2FD; color: #1565C0; padding: 2px 8px; border-radius: 12px; display: inline-block; margin-bottom: 8px; }

/* --- Modal --- */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 2000;
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #FFF; border-radius: 14px; padding: 32px;
  max-width: 520px; width: calc(100% - 40px);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: fadeUp .2s ease;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-box h3 { margin-bottom: 14px; }
.modal-close { float: right; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: #78909C; }

/* --- Readiness gauge colors --- */
.color-green  { color: #4CAF50; }
.color-yellow { color: #FFC107; }
.color-red    { color: #F44336; }

/* --- Alerts --- */
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-size: 0.95rem; }
.alert-info    { background: #E3F2FD; color: #1565C0; border: 1px solid #90CAF9; }
.alert-warning { background: #FFF8E1; color: #F57F17; border: 1px solid #FFD54F; }
.alert-success { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.alert-danger  { background: #FFEBEE; color: #C62828; border: 1px solid #EF9A9A; }

/* --- Footer --- */
.site-footer { background: #0D47A1; color: #BBDEFB; padding: 50px 0 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { font-size: 0.9rem; margin-top: 12px; color: #90CAF9; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { color: #90CAF9; font-size: 0.8rem; font-weight: 700; border: 1px solid rgba(255,255,255,.2); padding: 5px 10px; border-radius: 5px; transition: background .15s; }
.footer-social a:hover { background: rgba(255,255,255,.1); color: #FFF; text-decoration: none; }
.footer-links h4 { color: #FFF; margin-bottom: 14px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul { display: flex; flex-direction: column; gap: 6px; }
.footer-links ul li a { color: #90CAF9; font-size: 0.88rem; transition: color .15s; }
.footer-links ul li a:hover { color: #FFF; text-decoration: none; }
.footer-bottom { background: #0A3578; padding: 18px 0; text-align: center; }
.footer-bottom p { color: #78909C; font-size: 0.82rem; }
.footer-disclaimer { margin-top: 4px; font-size: 0.77rem !important; }

/* --- Utilities --- */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.flex   { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; background: #E3F2FD; color: #1565C0; }

/* --- CAT Exam Result --- */
.result-box { text-align: center; padding: 50px 30px; }
.result-badge { font-size: 5rem; }
.result-PASS { color: #4CAF50; }
.result-FAIL { color: #F44336; }
.result-box h2 { font-size: 2.5rem; margin: 10px 0; }

/* --- Payment Gateways Grid --- */
.gateway-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.gateway-card { border: 2px solid #E3EAF2; border-radius: 10px; padding: 16px; text-align: center; cursor: pointer; transition: border-color .2s; }
.gateway-card.selected { border-color: #1565C0; background: #E3F2FD; }
.gateway-card .gw-name { font-weight: 700; margin-top: 8px; font-size: 0.9rem; }
.gateway-card .gw-icon { font-size: 2rem; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; }
}
@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #1565C0; padding: 12px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 20px; border-radius: 0; }
  .nav-dropdown-menu { position: static; box-shadow: none; padding-left: 20px; }
  .social-sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .quiz-controls { flex-direction: column; }
  .domain-bar-label { width: 110px; font-size: 0.78rem; }
  .stats-row { flex-wrap: wrap; }
  .header-inner { position: relative; }
}
@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
