/* ==========================================================================
   JAGA DATA PRIBADI, LINDUNGI DIRI DAN KELUARGA
   Projector-Optimized Full-Width Design System & Responsive Stylesheet
   ========================================================================== */

:root {
  --navy: #101A30;
  --dark-blue: #172640;
  --teal: #16A085;
  --teal-dark: #0E6B58;
  --cyan: #38BDF8;
  --white: #FFFFFF;
  --light-bg: #ECF2F8;
  --border-soft: #CBD5E1;
  --text-main: #111827;
  --text-body: #17233B;
  --text-muted: #2B3B55;
  --warning: #D97706;
  --warning-bg: #FEF3C7;
  --danger: #DC2626;
  --danger-bg: #FEE2E2;
  --success: #16A34A;
  --success-bg: #DCFCE7;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 6px 18px rgba(16, 26, 48, 0.08);
  --shadow-md: 0 12px 32px rgba(16, 26, 48, 0.12);
  --shadow-lg: 0 22px 48px rgba(16, 26, 48, 0.2);

  --font-sans: "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.0625rem, 0.35vw + 1rem, 1.25rem); /* ~19px on 1366, ~20px on 1920 */
  font-weight: 500;
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

body.presenter-active {
  padding-bottom: 98px;
  font-size: clamp(1.125rem, 0.45vw + 1.02rem, 1.3125rem); /* 20-21px on projector */
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

code {
  font-family: Consolas, "Courier New", monospace;
  background: rgba(16, 26, 48, 0.1);
  color: var(--text-main);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.92em;
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 2000;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* FULL-WIDTH PROJECTOR CONTAINER (94% width up to 1600px) */
.container {
  width: 94%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 18px;
}

body.presenter-active .container {
  width: 96%;
  max-width: 1760px;
  padding: 0 14px;
}

@media (min-width: 1280px) {
  body.presenter-active:has(.presenter-notes-drawer:not([hidden])) .section > .container {
    width: calc(97% - 355px);
    max-width: 1420px;
    margin-left: 1.5%;
    margin-right: auto;
    transition: width 0.25s ease;
  }
}

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(16, 26, 48, 0.18);
  z-index: 1100;
}

.reading-progress__bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  transition: width 0.12s linear;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(16, 26, 48, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand__text strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand__text small {
  font-size: 0.78rem;
  color: var(--cyan);
  font-weight: 600;
}

.main-nav {
  flex: 1;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-block;
  padding: 6px 7px;
  border-radius: 8px;
  color: #E2E8F0;
  text-decoration: none;
  font-size: clamp(0.78rem, 0.22vw + 0.6rem, 0.92rem);
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(56, 189, 248, 0.22);
  color: var(--white);
}

.nav-link.is-active {
  box-shadow: inset 0 -2px 0 var(--cyan);
}

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

.btn-presenter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 160, 133, 0.28);
  color: var(--white);
  border: 1.5px solid rgba(56, 189, 248, 0.55);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 46px;
}

.btn-presenter-toggle[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--cyan);
}

.presenter-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
}

/* ==========================================================================
   BUTTONS & COMMON UI (17-18px minimum for Projector Clarity)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  min-height: 52px;
  border-radius: 12px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 1.08rem; /* ~17.3px */
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.15rem; /* ~18.4px */
  min-height: 56px;
}

.btn-sm {
  padding: 10px 18px;
  min-height: 46px;
  font-size: 1.0625rem; /* 17px */
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(22, 160, 133, 0.35);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-secondary {
  background: var(--cyan);
  color: var(--navy);
}

.btn-secondary:hover {
  background: #67CEFA;
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}

.btn-teal:hover {
  background: var(--teal-dark);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-outline-dark {
  background: var(--white);
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-danger-soft {
  background: rgba(239, 68, 68, 0.24);
  border-color: rgba(248, 113, 113, 0.7);
  color: #FFFFFF;
}

/* ==========================================================================
   SECTIONS & TYPOGRAPHY (Projector Hierarchy)
   ========================================================================== */
.section {
  padding: 72px 0;
  scroll-margin-top: 74px;
}

body.presenter-active .section {
  padding: 48px 0;
}

.section--light {
  background: var(--light-bg);
}

.section--white {
  background: var(--white);
}

.section--dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--dark-blue) 100%);
  color: var(--white);
}

.section-header {
  max-width: 1180px;
  margin-bottom: 36px;
}

body.presenter-active .section-header {
  max-width: 1400px;
  margin-bottom: 26px;
}

.section-tag {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(22, 160, 133, 0.14);
  color: var(--teal-dark);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.section-tag--cyan {
  background: rgba(56, 189, 248, 0.2);
  color: #7DD3FC;
}

.section-tag--danger {
  background: var(--danger-bg);
  color: #991B1B;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(2.05rem, 2.2vw + 0.45rem, 2.6rem); /* ~34-41px */
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

body.presenter-active .section-title {
  font-size: clamp(2.2rem, 2.4vw + 0.5rem, 2.8rem);
}

.section-header--light .section-title {
  color: var(--white);
}

.section-lead {
  margin: 0;
  font-size: clamp(1.2rem, 0.75vw + 0.7rem, 1.5rem); /* ~20-24px */
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 72ch;
}

.section-header--light .section-lead {
  color: #E2E8F0;
}

.subsection-block {
  margin-top: 48px;
}

.subsection-title {
  margin: 0 0 24px;
  font-size: clamp(1.45rem, 1vw + 0.65rem, 1.75rem); /* 24-28px */
  font-weight: 700;
  color: var(--text-main);
}

.card {
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.card p,
.card li {
  color: var(--text-body);
}

.bullet-list {
  margin: 12px 0;
  padding-left: 22px;
}

.bullet-list li {
  margin-bottom: 8px;
}

/* ==========================================================================
   SECTION 1 — HERO
   ========================================================================== */
.section--hero {
  position: relative;
  background: radial-gradient(circle at top right, #1F355D 0%, var(--dark-blue) 45%, var(--navy) 100%);
  color: var(--white);
  padding: 64px 0 74px;
  overflow: hidden;
}

body.presenter-active .section--hero {
  padding: 44px 0 56px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}

.hero-orb--1 {
  width: 380px;
  height: 380px;
  background: var(--teal);
  top: -80px;
  right: 8%;
}

.hero-orb--2 {
  width: 300px;
  height: 300px;
  background: var(--cyan);
  bottom: -60px;
  left: -40px;
}

.hero-grid-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  color: #BAE6FD;
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ADE80;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 3.1vw + 0.65rem, 3.45rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
}

.hero-subtitle {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 1vw + 0.7rem, 1.7rem); /* 24-27px */
  font-weight: 600;
  color: #F1F5F9;
}

.hero-tagline {
  margin: 0 0 28px;
  color: #E2E8F0;
  max-width: 62ch;
  font-size: clamp(1.125rem, 0.4vw + 0.9rem, 1.3rem);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.hero-stat strong {
  display: block;
  color: #7DD3FC;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.hero-stat span {
  font-size: 1.0625rem;
  color: #F1F5F9;
}

.hero-illustration-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}

.spin-slow {
  transform-origin: 230px 200px;
  animation: spinSlow 28s linear infinite;
}

.float-badge {
  animation: floatGentle 4.5s ease-in-out infinite;
}

.float-badge--2 {
  animation-delay: 1.1s;
}

.float-badge--3 {
  animation-delay: 2.2s;
}

.scroll-indicator {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin: 28px auto 0;
  color: #E2E8F0;
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 700;
}

.scroll-arrow {
  font-size: 1.35rem;
  animation: bounceY 1.8s ease-in-out infinite;
}

/* ==========================================================================
   SECTION 2 — PENGENALAN
   ========================================================================== */
.two-col-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.concept-card h3 {
  margin: 14px 0 10px;
  font-size: clamp(1.32rem, 0.7vw + 0.85rem, 1.55rem); /* 21-25px */
  font-weight: 700;
  color: var(--text-main);
}

.card-note {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--light-bg);
  border: 1px solid var(--border-soft);
  font-size: 1.0625rem;
  color: var(--text-body);
}

.audience-questions-box {
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.audience-questions-header h3 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 0.7vw + 0.85rem, 1.6rem);
  color: var(--text-main);
}

.audience-questions-header p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

.accordion-item {
  border-top: 1px solid var(--border-soft);
}

.accordion-item:last-child {
  border-bottom: 1px solid var(--border-soft);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 6px;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: inherit;
  font-size: clamp(1.125rem, 0.4vw + 0.9rem, 1.3rem);
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

.accordion-plus {
  font-size: 1.5rem;
  color: var(--teal-dark);
  flex-shrink: 0;
}

.accordion-panel {
  display: none;
  padding: 0 6px 20px;
  color: var(--text-body);
}

.accordion-panel.is-open {
  display: block;
}

.five-reasons-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.reason-card {
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-top: 5px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}

.reason-num {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.reason-card h4 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 0.5vw + 0.85rem, 1.4rem); /* 20-23px */
  font-weight: 700;
  color: var(--text-main);
}

.reason-card p {
  margin: 0;
  font-size: 1.08rem;
  color: var(--text-body);
}

/* ==========================================================================
   SECTION 3 — JENIS DATA PRIBADI
   ========================================================================== */
.legal-callout {
  background: #EFF6FF;
  border: 1.5px solid #93C5FD;
  border-left: 7px solid #0284C7;
  border-radius: var(--radius-md);
  padding: 26px 30px;
  margin-bottom: 34px;
  color: var(--text-main);
}

.legal-callout__badge {
  display: inline-block;
  background: #0369A1;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.legal-callout p {
  margin: 0 0 10px;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.legal-callout--compact {
  margin-bottom: 28px;
}

.data-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.data-cat-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.cat-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.data-cat-card h3 {
  margin: 0;
  font-size: clamp(1.32rem, 0.7vw + 0.85rem, 1.55rem);
  font-weight: 700;
  color: var(--text-main);
}

.cat-detail-box {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 1.08rem;
  color: var(--text-body);
}

.cat-detail-box p {
  margin: 4px 0 0;
}

.cat-detail-box--risk {
  background: #FFF7ED;
  border-left: 5px solid var(--warning);
}

.cat-detail-box--safe {
  background: #ECFDF5;
  border-left: 5px solid var(--teal);
}

/* ==========================================================================
   SECTION 4 — DATA FLOW, METHODS & THREATS
   ========================================================================== */
.dataflow-panel {
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.dataflow-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.dataflow-header h3 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 0.7vw + 0.85rem, 1.65rem);
  color: var(--text-main);
}

.dataflow-header p {
  margin: 0;
  color: var(--text-muted);
}

.dataflow-track {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}

.flow-node {
  flex: 1;
  text-align: left;
  background: var(--light-bg);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-main);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.flow-node.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.flow-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.flow-node strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.flow-node small {
  display: block;
  font-size: 1.04rem;
  line-height: 1.45;
  opacity: 0.95;
}

.flow-arrow {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--teal-dark);
  flex-shrink: 0;
}

.dataflow-detail {
  margin-top: 20px;
  padding: 18px 22px;
  background: #ECFDF5;
  border: 1.5px solid #86EFAC;
  border-radius: var(--radius-sm);
  color: var(--text-main);
}

.accuracy-note {
  margin: 16px 0 0;
  padding: 16px 20px;
  background: #FFFBEB;
  border-left: 5px solid var(--warning);
  border-radius: 10px;
  font-size: 1.08rem;
  color: var(--text-main);
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.method-head {
  margin-bottom: 12px;
}

.method-badge {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: rgba(22, 160, 133, 0.14);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.method-card h4 {
  margin: 0;
  font-size: clamp(1.28rem, 0.5vw + 0.88rem, 1.45rem);
  font-weight: 700;
  color: var(--text-main);
}

.method-meta p {
  margin: 10px 0 0;
  font-size: 1.08rem;
}

.warn-line {
  color: #92400E;
}

.tip-line {
  color: #0E6B58;
}

.threats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.threat-icon {
  font-size: 2.1rem;
  margin-bottom: 10px;
}

.threat-card h4 {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 0.5vw + 0.9rem, 1.48rem);
  font-weight: 700;
  color: var(--text-main);
}

.threat-card p {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.threat-tip {
  margin-top: 14px !important;
  padding-top: 12px;
  border-top: 1.5px dashed var(--border-soft);
  color: #0E6B58;
}

/* ==========================================================================
   SECTION 5 — INTERACTIVE ANIMATED CASE STUDIES (PROJECTOR STAGE)
   ========================================================================== */
.case-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.case-tab {
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  color: var(--white);
  font-family: inherit;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.case-tab:hover {
  background: rgba(255, 255, 255, 0.16);
}

.case-tab.is-active {
  background: var(--white);
  color: var(--text-main);
  border-color: var(--cyan);
  box-shadow: var(--shadow-lg);
}

.case-tab__num {
  display: inline-block;
  font-size: 1.02rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #7DD3FC;
  margin-bottom: 4px;
}

.case-tab.is-active .case-tab__num {
  color: var(--teal-dark);
}

.case-tab strong {
  display: block;
  font-size: 1.18rem;
  line-height: 1.35;
}

.sim-shell {
  background: var(--white);
  color: var(--text-body);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

body.presenter-active .sim-shell {
  padding: 26px 30px;
}

.sim-intro-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid var(--border-soft);
  margin-bottom: 22px;
}

.sim-intro-banner h3 {
  margin: 0 0 6px;
  font-size: clamp(1.38rem, 0.8vw + 0.85rem, 1.7rem);
  font-weight: 700;
  color: var(--text-main);
}

.sim-intro-banner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.sim-fictional-badge {
  background: #E0F2FE;
  color: #0369A1;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
}

.sim-two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

body.presenter-active .sim-two-col {
  grid-template-columns: 1.18fr 0.82fr;
  gap: 30px;
}

/* LEFT STAGE */
.sim-stage {
  background: linear-gradient(180deg, #0F172A 0%, #172640 100%);
  border-radius: var(--radius-md);
  padding: 24px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 490px;
  position: relative;
  overflow: hidden;
}

body.presenter-active .sim-stage {
  min-height: 520px;
  padding: 26px;
}

.sim-stage__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.stage-pill {
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.22);
  color: #BAE6FD;
}

.stage-pill--danger {
  background: rgba(239, 68, 68, 0.3);
  color: #FECACA;
}

.stage-pill--safe {
  background: rgba(34, 197, 94, 0.3);
  color: #BBF7D0;
}

.sim-devices-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  flex: 1;
}

.sim-devices-row.is-single {
  grid-template-columns: 1fr;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.device-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 14px;
}

.device-card--victim {
  border-color: rgba(56, 189, 248, 0.55);
}

.device-card--attacker {
  border-color: rgba(248, 113, 113, 0.65);
  background: rgba(239, 68, 68, 0.1);
}

.device-card--family {
  border-color: rgba(251, 191, 36, 0.65);
}

.device-owner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1.0625rem;
  font-weight: 700;
}

.avatar-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.avatar-dot--victim {
  background: var(--cyan);
  color: var(--navy);
}

.avatar-dot--attacker {
  background: var(--danger);
  color: var(--white);
}

.avatar-dot--family {
  background: #FBBF24;
  color: var(--navy);
}

.phone-screen {
  background: #FFFFFF;
  color: var(--text-main);
  border-radius: 14px;
  padding: 14px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.02rem;
  line-height: 1.48;
  box-shadow: inset 0 0 0 2px #CBD5E1;
}

body.presenter-active .phone-screen {
  min-height: 295px;
  font-size: 1.08rem;
}

.phone-screen--dark {
  background: #0B1222;
  color: #F1F5F9;
  box-shadow: inset 0 0 0 2px #475569;
}

.phone-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.94rem;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.wa-header {
  background: #075E54;
  color: var(--white);
  margin: -14px -14px 4px;
  padding: 10px 12px;
  border-radius: 12px 12px 0 0;
  font-weight: 700;
  font-size: 0.96rem;
}

.chat-bubble {
  padding: 10px 12px;
  border-radius: 10px;
  line-height: 1.45;
  animation: fadeSlideUp 0.45s ease both;
}

.chat-bubble--in {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  color: var(--text-main);
  align-self: flex-start;
  max-width: 96%;
}

.chat-bubble--out {
  background: #DCF8C6;
  color: var(--text-main);
  align-self: flex-end;
  max-width: 94%;
}

.chat-bubble--alert {
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  color: #7F1D1D;
}

.fake-link-pill {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 9px;
  background: #E0F2FE;
  color: #0369A1;
  border-radius: 6px;
  font-family: Consolas, monospace;
  font-size: 0.88rem;
  font-weight: 700;
  word-break: break-all;
}

.fake-form-box {
  background: #FFFFFF;
  border: 1.5px solid #94A3B8;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fake-input-row {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 0.94rem;
}

.otp-box {
  background: #FEF3C7;
  border: 2px dashed #B45309;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 1.0625rem;
  color: #78350F;
  animation: pulseSoft 1.6s ease-in-out infinite;
}

.apk-attachment {
  background: #FFF7ED;
  border: 1.5px solid #F97316;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #7C2D12;
}

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

.perm-chip {
  background: #FEE2E2;
  border: 1.5px solid #F87171;
  color: #7F1D1D;
  border-radius: 8px;
  padding: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  animation: fadeSlideUp 0.45s ease both;
}

.call-screen {
  background: linear-gradient(180deg, #1E293B, #0F172A);
  color: var(--white);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: center;
}

.call-pulse {
  width: 50px;
  height: 50px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseSoft 1.4s ease-in-out infinite;
}

.data-transfer-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  min-width: 82px;
}

.transfer-dots {
  display: flex;
  gap: 5px;
}

.transfer-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FBBF24;
  animation: travelDot 1.1s ease-in-out infinite;
}

.transfer-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.transfer-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.transfer-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FDE68A;
}

.stage-warning-banner {
  margin-top: 16px;
  background: rgba(220, 38, 38, 0.28);
  border: 2px solid #F87171;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  text-align: center;
  font-size: 1.08rem;
}

.stage-warning-banner--safe {
  background: rgba(22, 163, 74, 0.28);
  border-color: #4ADE80;
  color: #FFFFFF;
}

/* RIGHT STORY PANEL */
.sim-story {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scene-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.scene-counter {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: rgba(22, 160, 133, 0.14);
  padding: 5px 14px;
  border-radius: 999px;
}

.sim-story h4 {
  margin: 0;
  font-size: clamp(1.35rem, 0.8vw + 0.85rem, 1.65rem);
  font-weight: 700;
  color: var(--text-main);
}

.story-box {
  border-radius: 12px;
  padding: 16px 18px;
  color: var(--text-main);
}

.story-box--narration {
  background: var(--light-bg);
  border-left: 5px solid var(--navy);
}

.story-box--explain {
  background: #F0F9FF;
  border-left: 5px solid #0284C7;
}

.story-box--warn {
  background: #FFFBEB;
  border-left: 5px solid var(--warning);
}

.story-box--accuracy {
  background: #F8FAFC;
  border: 1.5px solid var(--border-soft);
  font-size: 1rem;
  color: var(--text-body);
}

.dialogue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dialogue-item {
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 1.08rem;
  color: var(--text-main);
}

.dialogue-item strong {
  color: var(--navy);
}

/* CONTROLS & TIMELINE */
.sim-timeline-wrap {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1.5px solid var(--border-soft);
}

.sim-progress-bar {
  width: 100%;
  height: 12px;
  background: var(--light-bg);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}

.sim-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  transition: width 0.3s ease;
}

.sim-steps-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.timeline-step-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border-soft);
  background: var(--light-bg);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1.04rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}

.timeline-step-btn.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.sim-controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.sim-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.presenter-active .sim-btn-group .btn {
  min-height: 54px;
  padding: 12px 22px;
  font-size: 1.125rem;
}

.autoplay-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text-main);
  cursor: pointer;
}

.autoplay-toggle input {
  width: 22px;
  height: 22px;
  accent-color: var(--teal);
}

/* COMPLETION SUMMARY SCREEN */
.sim-completion {
  background: var(--light-bg);
  border: 2px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 28px;
}

.sim-completion__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.sim-completion__head h4 {
  margin: 0;
  font-size: clamp(1.38rem, 0.7vw + 0.9rem, 1.65rem);
  color: var(--text-main);
}

.summary-5-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.summary-point {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px;
  border: 1.5px solid var(--border-soft);
  color: var(--text-body);
}

.summary-point strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.summary-contrast {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contrast-box {
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  color: var(--text-main);
}

.contrast-box--unsafe {
  background: var(--danger-bg);
  border: 1.5px solid #F87171;
}

.contrast-box--safe {
  background: var(--success-bg);
  border: 1.5px solid #4ADE80;
}

.sim-completion .stage-warning-banner--safe {
  background: #0E6B58;
  border-color: #16A085;
  color: #FFFFFF;
}

/* ==========================================================================
   SECTION 6 — IMPACTS
   ========================================================================== */
.impacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.impact-card {
  border-top: 6px solid var(--teal);
}

.impact-card--red {
  border-top-color: var(--danger);
}

.impact-card--orange {
  border-top-color: var(--warning);
}

.impact-card--blue {
  border-top-color: #0284C7;
}

.impact-card h3 {
  margin: 12px 0 10px;
  font-size: clamp(1.32rem, 0.6vw + 0.9rem, 1.55rem);
  color: var(--text-main);
}

/* ==========================================================================
   SECTION 7 — PROTECTIVE HABITS & CHECKLIST
   ========================================================================== */
.checklist-summary-bar {
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  margin-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
}

.habit-progress-track {
  width: 300px;
  max-width: 100%;
  height: 14px;
  background: var(--light-bg);
  border-radius: 999px;
  overflow: hidden;
}

.habit-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--success);
  transition: width 0.25s ease;
}

.habits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.habit-card.is-checked {
  border-color: var(--success);
  background: #F7FEE7;
}

.habit-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.habit-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: rgba(22, 160, 133, 0.14);
  padding: 5px 12px;
  border-radius: 999px;
}

.habit-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text-main);
  cursor: pointer;
}

.habit-check input {
  width: 24px;
  height: 24px;
  accent-color: var(--success);
}

.habit-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 0.55vw + 0.9rem, 1.5rem);
  color: var(--text-main);
}

.habit-example {
  font-size: 1.08rem;
  color: var(--text-body);
}

.compare-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
  font-size: 1.04rem;
  color: var(--text-main);
}

.compare-bad {
  background: var(--danger-bg);
  border: 1px solid #FCA5A5;
  padding: 12px 14px;
  border-radius: 10px;
}

.compare-good {
  background: var(--success-bg);
  border: 1px solid #86EFAC;
  padding: 12px 14px;
  border-radius: 10px;
}

/* ==========================================================================
   SECTION 8 — SMARTPHONE TUTORIALS
   ========================================================================== */
.tutorial-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.tutorial-tab {
  background: var(--light-bg);
  border: 2px solid var(--border-soft);
  border-radius: 12px;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  min-height: 52px;
}

.tutorial-tab.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.tutorial-stage {
  background: var(--light-bg);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.tutorial-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 32px;
  align-items: center;
}

.tutorial-phone-frame {
  background: var(--navy);
  border-radius: 28px;
  padding: 18px;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.tutorial-phone-inner {
  background: var(--white);
  border-radius: 18px;
  padding: 18px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text-main);
}

.mock-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--light-bg);
  font-size: 1.04rem;
  font-weight: 600;
}

.mock-menu-row.is-highlighted {
  background: #CCFBF1;
  border: 2px solid var(--teal);
  color: var(--text-main);
}

.tutorial-steps-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tutorial-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--border-soft);
  color: var(--text-body);
}

.step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   SECTION 9 — EMERGENCY RESPONSE
   ========================================================================== */
.emergency-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.emergency-step {
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-top: 5px solid var(--danger);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}

.emergency-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--danger);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 12px;
}

.emergency-step h3 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 0.5vw + 0.85rem, 1.42rem);
  color: var(--text-main);
}

.emergency-step p {
  margin: 0;
  font-size: 1.08rem;
  color: var(--text-body);
}

.situation-box {
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.situation-box h3 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 0.7vw + 0.85rem, 1.6rem);
  color: var(--text-main);
}

.situation-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 22px;
}

.situation-pill {
  background: var(--light-bg);
  border: 2px solid var(--border-soft);
  border-radius: 999px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  min-height: 48px;
}

.situation-pill.is-active {
  background: var(--danger);
  color: var(--white);
  border-color: var(--danger);
}

.situation-content {
  background: #FFF5F5;
  border: 1.5px solid #FCA5A5;
  border-radius: var(--radius-sm);
  padding: 24px;
  color: var(--text-main);
}

.reporting-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.report-card h4 {
  margin: 0 0 10px;
  color: var(--text-main);
  font-size: clamp(1.28rem, 0.55vw + 0.88rem, 1.48rem);
}

.report-role {
  margin: 0 0 16px;
  font-size: 1.08rem;
}

.disclaimer-banner {
  margin-top: 24px;
  background: var(--warning-bg);
  border: 1.5px solid #F59E0B;
  border-left: 7px solid var(--warning);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  color: var(--text-main);
}

/* ==========================================================================
   SECTION 10 — QUIZ
   ========================================================================== */
.quiz-container {
  background: var(--light-bg);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 34px;
  width: 100%;
  max-width: 1360px;
}

.quiz-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-main);
}

.quiz-progress-bar {
  width: 100%;
  height: 12px;
  background: #CBD5E1;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--teal);
  transition: width 0.3s ease;
}

.quiz-question {
  margin: 0 0 22px;
  font-size: clamp(1.38rem, 0.85vw + 0.9rem, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.quiz-option-label {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 2px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-main);
  min-height: 60px;
  transition: border-color var(--transition), background var(--transition);
}

.quiz-option-label:hover {
  border-color: var(--cyan);
}

.quiz-option-label.is-selected {
  border-color: var(--navy);
  background: #EFF6FF;
}

.quiz-option-label.is-correct {
  border-color: var(--success);
  background: var(--success-bg);
}

.quiz-option-label.is-wrong {
  border-color: var(--danger);
  background: var(--danger-bg);
}

.quiz-option-label input {
  width: 24px;
  height: 24px;
  accent-color: var(--teal);
  flex-shrink: 0;
}

.quiz-feedback {
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.quiz-feedback--correct {
  background: var(--success-bg);
  border: 1.5px solid #4ADE80;
}

.quiz-feedback--wrong {
  background: var(--danger-bg);
  border: 1.5px solid #F87171;
}

.quiz-feedback--warn {
  background: var(--warning-bg);
  border: 1.5px solid #FBBF24;
}

.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.quiz-result-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 2px solid var(--teal);
  color: var(--text-main);
}

.quiz-score-big {
  font-size: clamp(2.1rem, 2vw + 1rem, 2.8rem);
  font-weight: 700;
  color: var(--teal-dark);
  margin: 10px 0;
}

/* ==========================================================================
   SECTION 11 — REFERENCES & FOOTER
   ========================================================================== */
.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.ref-num {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.ref-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 0.5vw + 0.85rem, 1.42rem);
  color: var(--text-main);
}

.ref-publisher,
.ref-topic {
  margin: 0 0 10px;
  font-size: 1.0625rem;
}

.ref-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0369A1;
  word-break: break-all;
}

.site-footer {
  background: var(--navy);
  color: #E2E8F0;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-inner strong {
  color: var(--white);
  font-size: 1.15rem;
}

.footer-inner p {
  margin: 6px 0 0;
  font-size: 1.04rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #7DD3FC;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
}

/* ==========================================================================
   PRESENTER MODE BAR & NOTES DRAWER (PROJECTOR OPTIMIZED)
   ========================================================================== */
.presenter-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: rgba(16, 26, 48, 0.98);
  color: var(--white);
  border-top: 3px solid var(--cyan);
  padding: 14px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
}

.presenter-bar[hidden],
.presenter-notes-drawer[hidden] {
  display: none !important;
}

.presenter-bar__info {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
}

.presenter-badge {
  background: var(--teal);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 700;
}

.presenter-bar__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.presenter-bar__controls .btn {
  min-height: 48px;
  padding: 10px 18px;
  font-size: 1.0625rem;
}

.presenter-notes-drawer {
  position: fixed;
  right: 16px;
  bottom: 92px;
  width: min(340px, calc(100vw - 32px));
  max-height: calc(100vh - 190px);
  z-index: 1190;
  background: var(--white);
  color: var(--text-main);
  border: 2.5px solid var(--navy);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.presenter-notes-header {
  background: var(--navy);
  color: var(--white);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.notes-kicker {
  display: block;
  font-size: 0.9rem;
  color: #7DD3FC;
  font-weight: 700;
}

.presenter-notes-header h3 {
  margin: 2px 0 0;
  font-size: 1.15rem;
}

.notes-close-btn {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border: 0;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 1.15rem;
}

.presenter-notes-body {
  padding: 18px 20px;
  overflow-y: auto;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.presenter-notes-footer {
  padding: 10px 18px;
  background: var(--light-bg);
  border-top: 1px solid var(--border-soft);
  font-size: 0.92rem;
  color: var(--text-body);
}

/* ==========================================================================
   WIDE PROJECTOR GRIDS (>= 1480px)
   ========================================================================== */
@media (min-width: 1480px) {
  .habits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .impacts-grid,
  .reporting-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   ANIMATIONS & REDUCED MOTION
   ========================================================================== */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes bounceY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

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

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes travelDot {
  0%, 100% { opacity: 0.35; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (1366px, 1024px, 768px, 390px)
   ========================================================================== */
@media (max-width: 1220px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link {
    padding: 12px 14px;
    font-size: 1.0625rem;
  }

  .nav-toggle {
    display: flex;
  }

  .five-reasons-grid,
  .emergency-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-grid-layout,
  .sim-two-col,
  .tutorial-layout,
  .threats-grid {
    grid-template-columns: 1fr;
  }

  .case-tabs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 18px;
  }

  .section {
    padding: 56px 0;
  }

  .two-col-cards,
  .data-categories-grid,
  .impacts-grid,
  .habits-grid,
  .reporting-grid,
  .summary-contrast,
  .hero-highlights,
  .five-reasons-grid,
  .emergency-steps-grid {
    grid-template-columns: 1fr;
  }

  .dataflow-track {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  .sim-devices-row {
    grid-template-columns: 1fr;
  }

  .data-transfer-bridge {
    flex-direction: row;
    justify-content: center;
    padding: 4px 0;
  }

  .compare-pair {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }

  .container {
    width: 100%;
    padding: 0 12px;
  }

  .header-inner {
    gap: 8px;
  }

  .brand {
    gap: 7px;
  }

  .brand__text strong {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand__text small {
    font-size: 0.66rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card,
  .sim-shell,
  .tutorial-stage,
  .quiz-container {
    padding: 18px;
  }

  .btn-presenter-toggle {
    padding: 7px 9px;
    font-size: 0.75rem;
    gap: 5px;
    min-height: 38px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
    padding: 7px;
  }

  .presenter-bar {
    padding: 10px 14px;
  }

  .references-grid,
  .methods-grid {
    grid-template-columns: 1fr;
  }
}
