/* ═══════════════════════════════════════════════════════════
   UJYALO — MASTER STYLES v3
═══════════════════════════════════════════════════════════ */

:root {
  --brand: #1E5FA8;
  --brand-dark: #154A8A;
  --brand-light: #DBEAFE;
  --brand-50: #EBF1F9;
  --sun: #F59E0B;
  --sun-light: #FEF3C7;
  --sun-50: #FEF7E6;
  --ink-50: #F6F8FB;
  --ink-100: #EDF1F7;
  --ink-200: #D9E1EC;
  --ink-300: #B5C0D0;
  --ink-500: #5C6B82;
  --ink-700: #1F2D44;
  --ink-900: #0A1628;
  --green: #15803D;
  --green-light: #D1FAE5;
  --red: #B91C1C;
  --red-light: #FEE2E2;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: white;
  color: var(--ink-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.font-display { font-family: 'Fraunces', Georgia, serif; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.container-tiny { max-width: 440px; margin: 0 auto; padding: 0 24px; }

/* ═══ NAV (visitor — public pages) ═══ */
.nav-public {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-100);
  padding: 16px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--brand);
  letter-spacing: -0.4px;
}
.nav-links { display: none; gap: 28px; font-size: 14px; color: var(--ink-700); font-weight: 500; align-items: center; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--brand); }
.nav-links a.active { color: var(--brand); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ═══ NAV (student app) ═══ */
.nav-app {
  position: sticky; top: 0; z-index: 50;
  background: white;
  border-bottom: 1px solid var(--ink-100);
  padding: 12px 0;
}
.nav-app .nav-links { display: flex; font-size: 14px; gap: 24px; }
.nav-app .nav-links a { color: var(--ink-500); padding: 6px 0; transition: color 0.2s; }
.nav-app .nav-links a:hover { color: var(--ink-900); }
.nav-app .nav-links a.active { color: var(--brand); font-weight: 600; }
@media (max-width: 767px) {
  .nav-app .nav-links { gap: 14px; font-size: 12px; }
}

/* ═══ NAV (admin) ═══ */
.nav-admin {
  background: var(--ink-900);
  color: white;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-700);
  position: sticky; top: 0; z-index: 50;
}
.nav-admin .logo { color: var(--sun); }
.nav-admin .admin-tag {
  font-family: 'Fraunces', serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sun);
  font-weight: 600;
  margin-left: 8px;
}
.nav-admin .nav-links a { color: rgba(255,255,255,0.7); transition: color 0.2s; padding: 6px 0; }
.nav-admin .nav-links a:hover { color: white; }
.nav-admin .nav-links a.active { color: var(--sun); font-weight: 600; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 22px;
  border: none; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.25s;
  text-decoration: none;
}
.btn-primary { background: var(--ink-900); color: white; box-shadow: 0 8px 20px -8px rgba(10,22,40,0.25); }
.btn-primary:hover { background: var(--brand); transform: translateY(-1px); }
.btn-blue { background: var(--brand); color: white; }
.btn-blue:hover { background: var(--brand-dark); }
.btn-sun { background: var(--sun); color: var(--ink-900); }
.btn-sun:hover { background: #D88708; }
.btn-secondary { background: white; color: var(--ink-900); border: 1px solid var(--ink-200); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--ink-700); padding: 10px 16px; font-weight: 500; }
.btn-ghost:hover { color: var(--brand); }
.btn-block { width: 100%; justify-content: center; padding: 14px 24px; }
.btn-large { padding: 16px 32px; font-size: 15px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ═══ CARDS ═══ */
.card {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s;
}
.card-soft { background: var(--ink-50); border-radius: var(--radius-lg); padding: 20px; }
.card-hover:hover { border-color: var(--brand); transform: translateY(-2px); }

/* ═══ INPUTS ═══ */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-700); margin-bottom: 6px; }
.input, .textarea, .select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  font-size: 15px; background: white;
  color: var(--ink-900); transition: all 0.2s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30,95,168,0.1);
}
.textarea { resize: vertical; min-height: 100px; }
.checkbox-row { display: flex; gap: 10px; align-items: start; padding: 12px; background: var(--ink-50); border-radius: var(--radius-md); }
.checkbox-row input { margin-top: 4px; }

/* ═══ BADGES ═══ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; background: white;
  border: 1px solid var(--ink-200); border-radius: var(--radius-pill);
  font-size: 12px; color: var(--ink-700); font-weight: 500;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.badge-blue { background: var(--brand-light); color: var(--brand); border: none; font-weight: 600; }
.badge-sun { background: var(--sun-light); color: #854F0B; border: none; font-weight: 600; }
.badge-green { background: var(--green-light); color: var(--green); border: none; font-weight: 600; }
.badge-gold { background: var(--sun-light); color: #854F0B; border: 1px solid #fde68a; font-weight: 600; }
.badge-red { background: var(--red-light); color: var(--red); border: none; font-weight: 600; }
.streak-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; background: var(--sun-light); color: #854F0B;
  border-radius: var(--radius-pill); font-size: 13px; font-weight: 700;
}

/* ═══ TYPOGRAPHY ═══ */
.label-tiny {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--brand); font-weight: 600;
}
.text-muted { color: var(--ink-500); }
.text-tiny { color: var(--ink-300); font-size: 12px; }
.section-label-tag {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 16px; color: var(--brand); margin-bottom: 12px;
}

/* ── LARGE HEADINGS — Plus Jakarta Sans ── */
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -2px; line-height: 1.05; margin-bottom: 16px;
}
.section-title em { font-style: italic; font-weight: 700; color: var(--ink-500); }

/* ═══ HERO ═══ */
.hero {
  position: relative; padding: 100px 0 80px;
  background:
    radial-gradient(at 20% 0%, var(--sun-50) 0px, transparent 50%),
    radial-gradient(at 80% 10%, var(--brand-50) 0px, transparent 50%), white;
  text-align: center; overflow: hidden;
}
.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.02; letter-spacing: -3px; margin-bottom: 24px;
}
.hero-title em { font-style: italic; font-weight: 700; color: var(--ink-500); }
.hero-title .gradient {
  background: linear-gradient(135deg, var(--brand) 0%, var(--sun) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: 18px; color: var(--ink-500);
  max-width: 580px; margin: 0 auto 36px; line-height: 1.6;
}
.hero-mark {
  background: linear-gradient(180deg, transparent 60%, var(--sun-light) 60%);
  padding: 0 4px;
}

/* ═══ SECTIONS ═══ */
.section { padding: 100px 0; }
.section-bg-soft { background: var(--ink-50); }
.section-narrow { padding: 60px 0; }

/* ═══ PAGE HEADERS ═══ */
.page-header {
  padding: 80px 0 60px;
  background:
    radial-gradient(at 20% 0%, var(--sun-50) 0px, transparent 50%),
    radial-gradient(at 80% 10%, var(--brand-50) 0px, transparent 50%), white;
  text-align: center;
}
.page-title {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -2px; line-height: 1.05; margin-bottom: 16px;
}
.page-title em { font-style: italic; font-weight: 700; color: var(--ink-500); }
.page-sub {
  font-size: 18px; color: var(--ink-500);
  max-width: 580px; margin: 0 auto; line-height: 1.6;
}

/* ═══ FOOTER ═══ */
.site-footer {
  background: var(--ink-900);
  color: white;
  padding: 80px 0 32px;
  margin-top: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 767px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-brand .logo { color: var(--sun); margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--ink-300); max-width: 280px; line-height: 1.6; }
.footer-col h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--sun); font-weight: 600; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px; color: var(--ink-300); transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom-left { font-size: 13px; color: var(--ink-300); }
.footer-bottom-right { font-family: 'Fraunces', serif; font-style: italic; font-size: 14px; color: var(--ink-300); }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  color: var(--ink-300);
}
.footer-social a:hover { background: var(--sun); color: var(--ink-900); }

/* ═══ HELP BUBBLE ═══ */
.help-bubble {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  background: var(--ink-900); color: white;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600;
  box-shadow: 0 12px 32px -8px rgba(10,22,40,0.4);
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; transition: all 0.25s;
  text-decoration: none;
}
.help-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(10,22,40,0.5);
  background: var(--brand);
}
.help-bubble-icon {
  width: 24px; height: 24px;
  background: var(--sun); color: var(--ink-900);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
@media (max-width: 480px) {
  .help-bubble { bottom: 16px; right: 16px; padding: 12px 16px; font-size: 13px; }
}

/* ═══ HOMEPAGE STICKERS ═══ */
.sticker {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  padding: 28px 20px; text-align: center;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 1;
}
.sticker:hover { transform: rotate(-2deg) scale(1.04); border-color: var(--brand); }
.sticker-emoji { font-size: 36px; }
.sticker-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px; margin-top: auto; }
.sticker-detail { font-size: 11px; color: var(--ink-500); margin-top: 4px; }

.step-num {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: 80px; line-height: 1; margin-bottom: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--ink-200);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl); overflow: hidden;
}
.feature-cell { background: white; padding: 36px; }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 24px;
}

/* ═══ PRICING ═══ */
.price-card {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.price-card.featured { background: var(--ink-900); color: white; position: relative; }
.price-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--sun); color: var(--ink-900);
  padding: 4px 14px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
}
.price-name { font-size: 13px; color: var(--ink-500); font-weight: 500; margin-bottom: 8px; }
.featured .price-name { color: var(--sun); }
.price-amount { font-family: 'Fraunces', serif; font-weight: 700; font-size: 48px; line-height: 1; }
.price-suffix { font-size: 13px; font-weight: 400; color: var(--ink-500); margin-top: 4px; display: block; }
.featured .price-suffix { color: var(--ink-300); }
.price-features { list-style: none; margin: 24px 0; }
.price-features li { font-size: 14px; padding: 6px 0; display: flex; align-items: start; gap: 8px; }
.price-features li::before { content: "✓"; color: var(--brand); font-weight: 700; }
.featured .price-features li::before { color: var(--sun); }

/* ═══ STATS ═══ */
.stat-card { background: var(--ink-50); border-radius: var(--radius-md); padding: 16px 18px; }
.stat-num {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: 32px; color: var(--ink-900); line-height: 1;
}
.stat-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-500); margin-top: 6px; font-weight: 500;
}

/* ═══ STUDENT DASHBOARD ═══ */
.welcome-title {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 40px; font-weight: 800;
  letter-spacing: -2px; line-height: 1.1; margin-bottom: 6px;
}
.welcome-title em { font-style: italic; font-weight: 700; color: var(--ink-500); }
.challenge-card {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white; padding: 28px;
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.challenge-card::after {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px;
  background: rgba(245,158,11,0.15); border-radius: 50%;
}

/* ═══ PROGRESS PAGE ═══ */
.chart-card { background: white; border: 1px solid var(--ink-100); border-radius: var(--radius-lg); padding: 24px; }
.chapter-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--ink-100); font-size: 14px;
}
.chapter-row:last-child { border-bottom: none; }
.progress-bar {
  height: 8px; background: var(--ink-100);
  border-radius: var(--radius-pill); overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand) 0%, var(--sun) 100%);
  border-radius: var(--radius-pill);
  transition: width 0.6s cubic-bezier(0.16,1,0.3,1);
}

/* ═══ PRACTICE PAGE ═══ */
.subject-btn {
  background: white;
  border: 2px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 14px; text-align: left;
  display: flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 14px;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
}
.subject-btn:hover:not(.selected) { transform: translateY(-2px); border-color: var(--ink-300); }
.subject-btn.selected { background: var(--ink-900); color: white; border-color: var(--ink-900); }
.dot-loader { display: inline-flex; gap: 4px; }
.dot-loader span {
  width: 6px; height: 6px;
  background: var(--ink-500); border-radius: 50%;
  animation: dotBounce 1.4s ease-in-out infinite both;
}
.dot-loader span:nth-child(1) { animation-delay: -0.32s; }
.dot-loader span:nth-child(2) { animation-delay: -0.16s; }
@keyframes dotBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

/* ═══ ADMIN ═══ */
.admin-bg { background: var(--ink-900); color: white; min-height: 100vh; }
.admin-card {
  background: var(--ink-700); border-radius: var(--radius-md);
  padding: 24px; border: 1px solid rgba(255,255,255,0.1);
}
.admin-stat-card {
  background: var(--ink-700); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); padding: 20px;
}
.admin-stat-num {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: 32px; color: white; line-height: 1;
}
.admin-stat-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-300); margin-top: 6px;
}
.admin-input, .admin-textarea, .admin-select {
  width: 100%; padding: 12px 14px;
  background: var(--ink-900); border: 1px solid var(--ink-700); color: white;
  border-radius: var(--radius-md); font-size: 14px; transition: all 0.2s;
}
.admin-input:focus, .admin-textarea:focus, .admin-select:focus {
  outline: none; border-color: var(--sun);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
}
.admin-textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.admin-label {
  display: block; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--ink-300);
  margin-bottom: 6px; font-weight: 500;
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes pulse-soft { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-up { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.spin-slow { animation: spinSlow 30s linear infinite; transform-origin: center; }
.pulse-dot { animation: pulse-soft 2s ease-in-out infinite; }
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ UTILITIES ═══ */
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
.hidden { display: none; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }

/* ═══ FAQ ACCORDION ═══ */
.faq-item {
  border-bottom: 1px solid var(--ink-100);
  padding: 20px 0;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; padding: 4px 0;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 17px;
}
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: transform 0.3s;
  color: var(--brand);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
  color: var(--ink-500); font-size: 15px; line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 500px; margin-top: 12px; }

/* ═══ CONTACT FORM ═══ */
.contact-card {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 40px;
}

/* ═══ 404 PAGE ═══ */
.error-page {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px;
}
.error-num {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: clamp(120px, 20vw, 200px);
  line-height: 1; letter-spacing: -4px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--sun) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════════
   ADDITIONS v4
═══════════════════════════════════════════════════════════ */

/* ═══ ANNOUNCEMENT BAR ═══ */
.announcement-bar {
  background: var(--sun);
  color: var(--ink-900);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.announcement-bar a { color: var(--brand-dark); text-decoration: underline; }

/* ═══ PAGE HERO ═══ */
.page-hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 64px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(245,158,11,0.18) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero-label {
  display: inline-block;
  background: rgba(245,158,11,0.2);
  border: 1px solid rgba(245,158,11,0.3);
  color: #fcd34d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
  color: white;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.page-hero h1 em { font-style: italic; color: #fcd34d; }
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ═══ HIGHLIGHT QUOTE ═══ */
.highlight-quote {
  background: var(--brand-light);
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 17px;
  font-style: italic;
  color: var(--brand-dark);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.5;
}

/* ═══ TESTIMONIAL CARDS ═══ */
.testimonial-card {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-stars { color: var(--sun); font-size: 14px; letter-spacing: 3px; margin-bottom: 12px; }
.testimonial-card blockquote {
  font-size: 15px; color: var(--ink-700);
  line-height: 1.75; margin-bottom: 18px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-light), #dbeafe);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.testimonial-author-info strong { display: block; font-size: 14px; font-weight: 700; color: var(--ink-900); }
.testimonial-author-info span { font-size: 12px; color: var(--ink-500); }
.testimonials-note { text-align: center; margin-top: 20px; font-size: 12px; color: var(--ink-300); font-style: italic; }

/* ═══ TEAM CARDS ═══ */
.team-card { text-align: center; }
.team-photo {
  width: 120px; height: 120px; border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--brand-light), #dbeafe);
  border: 3px solid var(--ink-100);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.team-photo-emoji { font-size: 2.4rem; line-height: 1; }
.team-photo-label { font-size: 9px; color: var(--brand); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.team-card h3 { font-weight: 700; font-size: 16px; margin-bottom: 4px; color: var(--ink-900); }
.team-card .team-role { font-size: 13px; color: var(--brand); font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: 14px; color: var(--ink-500); line-height: 1.65; max-width: 220px; margin: 0 auto; }

/* ═══ CTA SECTION ═══ */
.cta-section {
  background: var(--sun-light);
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-section h2 em { font-style: italic; color: var(--brand); }
.cta-section p {
  color: var(--ink-500); font-size: 16px; margin-bottom: 28px;
  max-width: 460px; margin-left: auto; margin-right: auto; line-height: 1.75;
}

/* ═══ LIVE BAR ═══ */
.live-bar {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px; padding: 10px 20px;
  font-size: 13px; color: rgba(255,255,255,0.88);
  flex-wrap: wrap; justify-content: center;
}
.live-dot {
  width: 8px; height: 8px; background: #4ade80;
  border-radius: 50%; flex-shrink: 0;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.live-bar strong { color: #fcd34d; }

/* ═══ PARENT REPORT CARD ═══ */
.report-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg); padding: 24px;
}
.report-card-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #fcd34d; margin-bottom: 18px;
}
.report-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 14px;
}
.report-row:last-child { border-bottom: none; }
.report-label { color: rgba(255,255,255,0.65); }
.report-value { font-weight: 700; color: white; }
.report-value.good { color: #4ade80; }
.report-value.warn { color: #fcd34d; }

/* ═══ SUBJECT PILLS ═══ */
.subject-pill-link {
  display: flex; align-items: center; gap: 10px;
  background: var(--brand-light);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 14px 20px; text-decoration: none;
  color: var(--brand-dark); font-weight: 600; font-size: 15px;
  transition: all 0.2s;
}
.subject-pill-link:hover {
  background: var(--brand); color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(30,95,168,0.2);
}
.subject-pill-link .pill-emoji { font-size: 1.4rem; }
.subject-pill-link .pill-sub { font-size: 11px; font-weight: 400; opacity: 0.72; display: block; }
