:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  color: #edf5ff;
  background:
    radial-gradient(
      ellipse at 12% 8%,
      rgba(52, 140, 217, 0.24),
      transparent 34rem
    ),
    radial-gradient(
      ellipse at 88% 18%,
      rgba(128, 83, 190, 0.18),
      transparent 32rem
    ),
    radial-gradient(
      ellipse at 55% 72%,
      rgba(35, 155, 143, 0.12),
      transparent 38rem
    ),
    linear-gradient(145deg, #07111f, #0a1727 52%, #0c1a2a);
  background-attachment: fixed;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
textarea {
  font: inherit;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1120px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #edf5ff;
  font-weight: 700;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 18, 31, 0.76);
  border-bottom: 1px solid rgba(192, 216, 245, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
  position: relative;
}
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}
.brand-wrap:hover {
  transform: translateY(-1px);
}
.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  background: linear-gradient(135deg, #77d7ff, #76f0d1 58%, #b6a4ff);
  color: #07212b;
  font-size: 1.35rem;
  box-shadow: 0 10px 24px rgba(91, 196, 236, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brand-wrap:hover .brand-mark {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 12px 30px rgba(91, 196, 236, 0.42);
}
.brand-info {
  display: flex;
  flex-direction: column;
}
.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 2px;
  color: #8edbcf;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #edf5ff;
  line-height: 1.2;
}
.brand-accent {
  background: linear-gradient(120deg, #78d5ff, #72ebce);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eyebrow,
.footer-label {
  margin: 0 0 2px;
  color: #a9bad0;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow.accent {
  display: inline-block;
  color: #8edbcf;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  color: #c0cede;
}
.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: #c0cede;
  padding: 8px 6px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-link:hover,
.nav-link:focus-visible {
  color: #ffffff;
}
.nav-link.active {
  color: #72ebce;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 6px;
  right: 6px;
  height: 2px;
  border-radius: 2px;
  background: #72ebce;
  box-shadow: 0 0 10px rgba(114, 235, 206, 0.75);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.52rem 1.1rem;
  border: 1px solid rgba(114, 235, 206, 0.45);
  border-radius: 999px;
  background: rgba(114, 235, 206, 0.12);
  color: #7ef0d5 !important;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(114, 235, 206, 0.16);
  transition: all 0.22s ease;
}
.nav-cta i {
  font-size: 0.95rem;
}
.nav-cta:hover,
.nav-cta:focus-visible {
  background: rgba(114, 235, 206, 0.24);
  border-color: rgba(114, 235, 206, 0.75);
  box-shadow: 0 6px 22px rgba(114, 235, 206, 0.32);
  transform: translateY(-1px);
  color: #ffffff !important;
}
.nav-cta.active {
  background: linear-gradient(120deg, #78d5ff, #72ebce);
  border-color: transparent;
  color: #07212b !important;
  box-shadow: 0 6px 22px rgba(70, 193, 205, 0.36);
}
.nav-cta.active::after {
  display: none;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(203, 224, 248, 0.22);
  border-radius: 12px;
  background: rgba(223, 239, 255, 0.07);
  color: #edf5ff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.menu-toggle:hover {
  background: rgba(223, 239, 255, 0.14);
  border-color: rgba(203, 224, 248, 0.45);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}
.button-primary {
  padding: 0.9rem 1.5rem;
  border: 1px solid transparent;
  background: linear-gradient(120deg, #78d5ff, #72ebce);
  color: #07212b;
  box-shadow: 0 12px 30px rgba(70, 193, 205, 0.22);
}
.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 16px 36px rgba(70, 193, 205, 0.34);
}
.button-secondary {
  padding: 0.9rem 1.5rem;
  border: 1px solid rgba(203, 224, 248, 0.22);
  background: rgba(223, 239, 255, 0.07);
  color: #edf5ff;
}
.button-secondary.small {
  padding: 0.7rem 1.1rem;
  font-size: 0.88rem;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(203, 224, 248, 0.22);
  border-radius: 999px;
  background: rgba(223, 239, 255, 0.07);
  color: #edf5ff;
  font-weight: 600;
  cursor: pointer;
}
.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: rgba(203, 224, 248, 0.45);
}
.theme-toggle:focus-visible {
  outline: 2px solid #8ee3d2;
  outline-offset: 3px;
}

.hero {
  padding: clamp(48px, 7vw, 88px) 0 52px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.hero-grid > *,
.action-layout > *,
.detector-grid > *,
.detector-workspace > *,
.edu-grid > *,
.gov-grid > *,
.checklist-grid > * {
  min-width: 0;
}
.hero-copy h2 {
  max-width: 650px;
  margin: 18px 0 16px;
  font-size: clamp(2.6rem, 4.1vw, 4.15rem);
  letter-spacing: -0.045em;
  line-height: 1.06;
}
.hero-copy h2 span {
  color: #80e6d3;
}
.hero-copy p,
.pillar-card p,
.scam-card p,
.info-card p,
.detector-copy p,
.site-footer p,
.site-footer li,
.channel-panel > .channels-list li > span,
.steps-list li div,
.check-item {
  color: #a9bad0;
}
.hero-copy p {
  max-width: 560px;
  margin: 0;
}
.badge,
.tag {
  display: inline-flex;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(133, 216, 223, 0.2);
  border-radius: 999px;
  background: rgba(117, 204, 221, 0.1);
  color: #c7f5eb;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.stat-row {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}
.stat-row div {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(192, 216, 245, 0.12);
  border-radius: 16px;
  background: rgba(227, 241, 255, 0.045);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.stat-row strong,
.stat-row span {
  display: block;
}
.stat-row strong {
  margin-bottom: 4px;
  color: #dff5f0;
  font-size: 1.15rem;
}
.stat-row span {
  color: #a9bad0;
  font-size: 0.8rem;
}
.hero-visual {
  display: flex;
  align-items: center;
}

.message-preview,
.pillar-card,
.info-card,
.scam-card,
.steps-panel,
.channel-panel,
.detector-panel,
.result-card,
.check-item {
  border: 1px solid rgba(192, 216, 245, 0.17);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(28, 48, 71, 0.74), rgba(13, 26, 43, 0.7));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.message-preview {
  width: 100%;
  padding: clamp(20px, 3vw, 30px);
}
.message-topline {
  display: flex;
  align-items: center;
  gap: 12px;
}
.message-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 198, 111, 0.14);
  color: #ffd58a;
  font-weight: 750;
}
.message-topline strong,
.message-topline small {
  display: block;
}
.message-topline strong,
.message-review strong {
  color: #e8f4ff;
}
.message-topline small,
.message-time {
  color: #9eb2c8;
  font-size: 0.78rem;
}
.message-time {
  margin-left: auto;
}
.message-bubble {
  margin: 22px 0 20px 50px;
  padding: 16px 18px;
  border: 1px solid rgba(192, 216, 245, 0.1);
  border-radius: 4px 14px 14px;
  background: rgba(6, 16, 29, 0.52);
  color: #dce9f7;
}
.message-review {
  padding-top: 18px;
  border-top: 1px solid rgba(192, 216, 245, 0.14);
}
.message-review ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.message-review li {
  position: relative;
  padding-left: 24px;
  color: #a9bad0;
  font-size: 0.9rem;
}
.message-review li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 190, 87, 0.14);
  color: #ffd078;
  content: "!";
  font-size: 0.7rem;
  font-weight: 800;
}
.message-caption {
  margin: 20px 0 0;
  color: #86e6cf;
  font-size: 0.86rem;
  font-weight: 650;
}

.pillar-section,
.content-section,
.mini-section {
  padding: clamp(40px, 6vw, 68px) 0 24px;
}
.section-heading {
  margin-bottom: 28px;
}
.section-heading.center {
  text-align: center;
}
.section-heading h3 {
  max-width: 760px;
  margin: 8px 0 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.pillar-grid,
.warning-grid,
.scam-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.pillar-card,
.info-card,
.scam-card {
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}
.pillar-card:hover,
.info-card:hover,
.scam-card:hover {
  transform: translateY(-4px);
  border-color: rgba(140, 222, 222, 0.32);
}
.pillar-card {
  padding: 24px;
}
.icon-wrap {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  font-size: 1.45rem;
}
.pillar-card[data-accent="red"] .icon-wrap {
  background: rgba(255, 130, 145, 0.14);
  color: #ff8291;
}
.pillar-card[data-accent="amber"] .icon-wrap {
  background: rgba(255, 190, 87, 0.14);
  color: #ffd078;
}
.pillar-card[data-accent="green"] .icon-wrap {
  background: rgba(81, 220, 174, 0.14);
  color: #70e4bd;
}
.pillar-card h4,
.scam-card h4,
.channel-panel h4 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}
.pillar-card p,
.scam-card p,
.info-card p {
  margin-bottom: 0;
}
.info-card {
  padding: 22px 20px 18px;
}
.info-card.red {
  border-top: 3px solid rgba(255, 130, 145, 0.7);
}
.info-card.amber {
  border-top: 3px solid rgba(255, 208, 120, 0.7);
}
.info-card.blue {
  border-top: 3px solid rgba(131, 196, 255, 0.7);
}
.info-card.green {
  border-top: 3px solid rgba(112, 228, 189, 0.7);
}
.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 700;
}
.card-top i {
  font-size: 1.2rem;
}
.info-card.red i {
  color: #ff8291;
}
.info-card.amber i {
  color: #ffd078;
}
.info-card.blue i {
  color: #83c4ff;
}
.info-card.green i {
  color: #70e4bd;
}
.alt-bg {
  background: rgba(4, 12, 23, 0.28);
}
.scam-card {
  padding: 24px 20px 18px;
}
.tag {
  margin-bottom: 12px;
  padding: 0.4rem 0.65rem;
  font-size: 0.7rem;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.example-list {
  display: grid;
  gap: 10px;
}
.checklist-progress,
.disclaimer {
  color: #a9bad0;
  font-size: 0.85rem;
}
.checklist-progress {
  margin: 0;
}
.disclaimer {
  max-width: 620px;
}

.action-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
}
.steps-panel,
.channel-panel,
.detector-panel {
  padding: 26px;
}
.steps-list,
.channels-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps-list {
  gap: 18px;
}
.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.steps-list li strong {
  color: #edf5ff;
}
.steps-list li span {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(133, 216, 223, 0.16);
  border-radius: 12px;
  background: rgba(117, 204, 221, 0.12);
  color: #9be8da;
  font-size: 0.84rem;
  font-weight: 800;
}
.channels-list {
  gap: 12px;
  margin-top: 18px;
}
.channels-list li {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(192, 216, 245, 0.12);
  border-radius: 16px;
  background: rgba(5, 15, 27, 0.32);
}
.channels-list li > span {
  font-size: 0.88rem;
}
.channel-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border: 1px solid rgba(129, 218, 210, 0.28);
  border-radius: 12px;
  background: linear-gradient(
    115deg,
    rgba(76, 182, 191, 0.18),
    rgba(102, 158, 232, 0.13)
  );
  color: #d9fff4;
  font-weight: 750;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}
.channel-link:hover,
.channel-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(143, 241, 220, 0.65);
  background: linear-gradient(
    115deg,
    rgba(76, 182, 191, 0.28),
    rgba(102, 158, 232, 0.2)
  );
}
.channel-link:focus-visible {
  outline: 2px solid #8ee3d2;
  outline-offset: 3px;
}
.channel-link i {
  color: #94e5db;
  font-size: 0.86rem;
}

.detector-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}
.example-list {
  margin-top: 24px;
}
.example-button {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(192, 216, 245, 0.17);
  border-radius: 12px;
  background: rgba(227, 241, 255, 0.055);
  color: #e3effb;
  text-align: left;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}
.example-button:hover,
.example-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(142, 227, 210, 0.45);
  background: rgba(117, 204, 221, 0.1);
}
.detector-panel label {
  display: block;
  margin-bottom: 10px;
  color: #e6f1fc;
  font-weight: 600;
}
.detector-panel textarea {
  display: block;
  width: 100%;
  min-height: 180px;
  padding: 16px;
  border: 1px solid rgba(192, 216, 245, 0.2);
  border-radius: 14px;
  background: rgba(5, 15, 27, 0.56);
  color: #edf5ff;
  resize: vertical;
}
.detector-panel textarea::placeholder {
  color: #8296ad;
}
.detector-panel textarea:focus {
  border-color: rgba(112, 228, 189, 0.55);
  background: rgba(5, 15, 27, 0.7);
  color: #edf5ff;
  box-shadow: 0 0 0 0.2rem rgba(112, 228, 189, 0.15);
}
.checker-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.result-card {
  margin-top: 18px;
  padding: 18px 18px 12px;
}
.result-card.neutral {
  background: rgba(7, 17, 30, 0.4);
}
.result-card.low {
  border-color: rgba(112, 228, 189, 0.32);
  background: rgba(62, 153, 114, 0.1);
}
.result-card.medium {
  border-color: rgba(255, 208, 120, 0.34);
  background: rgba(178, 132, 48, 0.1);
}
.result-card.high,
.result-card.critical {
  border-color: rgba(255, 130, 145, 0.34);
  background: rgba(177, 73, 78, 0.1);
}
.result-badge {
  color: #a9bad0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#risk-level {
  font-size: 1.05rem;
}
#result-message {
  margin: 14px 0 10px;
}
#rule-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#rule-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a9bad0;
  font-size: 0.94rem;
}
#rule-list li::before {
  color: #ffd078;
  content: "•";
  font-size: 1.2rem;
}

.checklist-wrap {
  display: grid;
  gap: 18px;
}
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.check-item {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}
.check-item input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #70e4bd;
}
.site-footer {
  margin-top: 38px;
  padding: 32px 0 54px;
  border-top: 1px solid rgba(192, 216, 245, 0.1);
  background: rgba(5, 13, 24, 0.4);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
}
.footer-label {
  margin-bottom: 10px;
}
.site-footer h4 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}
.site-footer ul {
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 1080px) {
  .container {
    width: min(100% - 40px, 940px);
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
    gap: 34px;
  }
  .warning-grid,
  .scam-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pillar-grid {
    gap: 14px;
  }
  .pillar-card {
    padding: 20px;
  }
}
@media (max-width: 850px) {
  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: none !important;
    transition-property: opacity !important;
  }
  .hero-grid,
  .action-layout,
  .detector-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 620px;
  }
  .pillar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .checklist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }
  .nav-shell {
    flex-wrap: nowrap;
    min-height: 72px;
    padding: 10px 0;
    gap: 8px;
  }
  .brand-wrap {
    min-width: 0;
    gap: 8px;
  }
  .brand-info {
    min-width: 0;
  }
  .nav-actions {
    flex: 0 0 auto;
    gap: 8px;
    margin-left: auto;
  }
  .theme-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
  }
  .theme-toggle span {
    display: none;
  }
  .main-nav {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    right: 0;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px;
    margin-top: 0;
    background: rgba(10, 22, 38, 0.97);
    border: 1px solid rgba(192, 216, 245, 0.2);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(20px);
    animation: fadeInDown 0.25s ease forwards;
  }
  .main-nav.show-mobile {
    display: flex;
  }
  .nav-link {
    padding: 10px 14px;
    border-radius: 10px;
  }
  .nav-link:hover {
    background: rgba(223, 239, 255, 0.08);
  }
  .nav-link.active::after {
    display: none;
  }
  .nav-cta {
    justify-content: center;
    padding: 0.75rem 1.2rem;
  }
}
@media (max-width: 720px) {
  .container {
    width: calc(100% - 32px);
  }
  .nav-shell {
    flex-wrap: nowrap;
    padding: 10px 0;
  }
  .nav-actions {
    margin-left: auto;
  }
  .hero {
    padding: 42px 0 28px;
  }
  .hero-copy h2 {
    font-size: clamp(2.3rem, 9vw, 3.25rem);
  }
  .hero-actions,
  .checker-actions,
  .footer-grid {
    display: flex;
    flex-direction: column;
  }
  .hero-actions .button,
  .checker-actions .button {
    width: 100%;
  }
  .stat-row {
    gap: 6px;
  }
  .stat-row div {
    padding: 10px;
  }
  .stat-row strong {
    font-size: 1rem;
  }
  .stat-row span {
    font-size: 0.73rem;
  }
  .pillar-grid,
  .warning-grid,
  .scam-grid,
  .checklist-grid {
    grid-template-columns: 1fr;
  }
  .section-heading h3 {
    font-size: clamp(1.7rem, 7vw, 2.25rem);
  }
  .steps-panel,
  .channel-panel,
  .detector-panel {
    padding: 20px 16px;
  }
  .message-bubble {
    margin-left: 0;
  }
}
@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }
  .stat-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .brand-wrap {
    gap: 4px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .brand-wrap .brand-name {
    font-size: 0.82rem;
  }
  .theme-toggle,
  .menu-toggle {
    width: 34px;
    height: 34px;
  }
  .nav-actions {
    gap: 3px;
  }
  .main-nav {
    font-size: 0.78rem;
  }
}
@media (max-width: 320px) {
  .brand-mark,
  .theme-toggle,
  .menu-toggle {
    width: 30px;
    height: 30px;
  }
  .brand-wrap .brand-name {
    font-size: 0.76rem;
  }
  .nav-shell {
    gap: 4px;
  }
}
@media (max-width: 480px) {
  .brand-wrap {
    gap: 7px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .brand-tag {
    display: none;
  }
  .brand-wrap .brand-name {
    font-size: 1rem;
  }
  .theme-toggle,
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav-actions {
    gap: 6px;
  }
  .card-header-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* ==========================================================================
   HALAMAN DETEKTOR PESAN (cek-pesan.html) & KOMPONEN TAMBAHAN
   ========================================================================== */
.breadcrumb-wrap {
  padding: 18px 0 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #a9bad0;
}
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8edbcf;
  transition: color 0.2s ease;
}
.breadcrumb a:hover {
  color: #ffffff;
}
.breadcrumb-separator {
  opacity: 0.5;
}
.breadcrumb-current {
  color: #edf5ff;
  font-weight: 600;
}

.detector-hero-header {
  padding: 30px 0 20px;
}
.detector-hero-header h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  letter-spacing: -0.035em;
  margin: 14px 0 12px;
  line-height: 1.15;
}
.detector-hero-header h2 span {
  color: #80e6d3;
}
.detector-hero-header p {
  max-width: 780px;
  color: #a9bad0;
  font-size: 1.05rem;
  margin: 0;
}
.privacy-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-top: 18px;
  border: 1px solid rgba(114, 235, 206, 0.3);
  border-radius: 12px;
  background: rgba(114, 235, 206, 0.08);
  color: #c5f4ea;
  font-size: 0.88rem;
  font-weight: 500;
}
.privacy-banner i {
  color: #72ebce;
  font-size: 1.1rem;
}

/* Workspace Grid (Input & Hasil) */
.detector-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px;
  margin: 32px 0 54px;
  align-items: start;
}
.detector-card {
  border: 1px solid rgba(192, 216, 245, 0.17);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(28, 48, 71, 0.74), rgba(13, 26, 43, 0.7));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  padding: clamp(22px, 3vw, 32px);
}
.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.card-header-bar label,
.card-header-bar h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #edf5ff;
}
.char-counter {
  font-size: 0.8rem;
  color: #8fa5bf;
  font-variant-numeric: tabular-nums;
}
.detector-textarea {
  width: 100%;
  min-height: 170px;
  padding: 16px;
  border: 1px solid rgba(192, 216, 245, 0.18);
  border-radius: 16px;
  background: rgba(6, 15, 27, 0.65);
  color: #edf5ff;
  font-size: 0.95rem;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.detector-textarea:focus {
  outline: none;
  border-color: #72ebce;
  box-shadow: 0 0 0 3px rgba(114, 235, 206, 0.18);
}
.detector-textarea::placeholder {
  color: #687e97;
}

/* Preset Chips */
.presets-section {
  margin: 18px 0 22px;
}
.presets-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8fa5bf;
  margin-bottom: 10px;
}
.presets-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.preset-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid rgba(192, 216, 245, 0.15);
  border-radius: 999px;
  background: rgba(223, 239, 255, 0.05);
  color: #c9dbed;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.preset-chip:hover {
  background: rgba(114, 235, 206, 0.15);
  border-color: rgba(114, 235, 206, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}
.preset-chip.chip-safe:hover {
  background: rgba(112, 228, 189, 0.18);
  border-color: rgba(112, 228, 189, 0.5);
}

/* Action Buttons Toolbar */
.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.toolbar-actions .button {
  padding: 0.82rem 1.4rem;
}

/* Result Dashboard (Kanan) */
.result-display-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  min-height: 480px;
}

/* Empty / Ready State */
.result-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 400px;
  padding: 30px;
  color: #8fa5bf;
}
.pulse-radar-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(114, 235, 206, 0.1);
  border: 1px solid rgba(114, 235, 206, 0.25);
  color: #72ebce;
  font-size: 2rem;
  margin-bottom: 18px;
  animation: pulseGlow 2.5s infinite ease-in-out;
}
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(114, 235, 206, 0.25);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(114, 235, 206, 0);
    transform: scale(1.04);
  }
}
.result-placeholder h4 {
  margin: 0 0 8px;
  color: #edf5ff;
  font-size: 1.2rem;
}
.result-placeholder p {
  max-width: 320px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Active Result Content */
.result-content {
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.3s ease forwards;
}
.result-content.show {
  display: flex;
}

/* Status Header & Score */
.result-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(192, 216, 245, 0.12);
}
.risk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.risk-badge.high {
  background: rgba(255, 99, 115, 0.18);
  border: 1px solid rgba(255, 99, 115, 0.45);
  color: #ff919d;
}
.risk-badge.medium {
  background: rgba(255, 193, 7, 0.18);
  border: 1px solid rgba(255, 193, 7, 0.45);
  color: #ffd866;
}
.risk-badge.low {
  background: rgba(74, 222, 128, 0.18);
  border: 1px solid rgba(74, 222, 128, 0.45);
  color: #86efac;
}

.score-display {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.score-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: #edf5ff;
}
.score-caption {
  font-size: 0.75rem;
  color: #8fa5bf;
}

/* Score Bar */
.score-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: -6px;
}
.score-bar {
  height: 100%;
  border-radius: 999px;
  width: 0%;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}
.score-bar.high {
  background: linear-gradient(90deg, #ff8b7b, #ff4d6d);
}
.score-bar.medium {
  background: linear-gradient(90deg, #ffd078, #ffaa00);
}
.score-bar.low {
  background: linear-gradient(90deg, #72ebce, #22c55e);
}

.summary-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #d8e5f5;
}

/* Highlight Box */
.highlight-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.highlight-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8fa5bf;
}
.highlight-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(6, 15, 27, 0.7);
  border: 1px solid rgba(192, 216, 245, 0.12);
  font-size: 0.9rem;
  line-height: 1.7;
  color: #c9dbed;
  max-height: 150px;
  overflow-y: auto;
  word-break: break-word;
}
.highlight-box mark.kw-danger {
  background: rgba(255, 77, 109, 0.28);
  color: #ffa8b5;
  border: 1px solid rgba(255, 77, 109, 0.5);
  border-radius: 4px;
  padding: 1px 5px;
  font-weight: 700;
}
.highlight-box mark.kw-warning {
  background: rgba(255, 170, 0, 0.26);
  color: #ffd880;
  border: 1px solid rgba(255, 170, 0, 0.45);
  border-radius: 4px;
  padding: 1px 5px;
  font-weight: 700;
}

/* Matched Threats List */
.threats-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.threats-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8fa5bf;
  margin: 0;
}
.threat-grid-items {
  display: grid;
  gap: 10px;
}
.threat-item-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(192, 216, 245, 0.1);
}
.threat-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.threat-icon-wrap.high {
  background: rgba(255, 99, 115, 0.18);
  color: #ff919d;
}
.threat-icon-wrap.medium {
  background: rgba(255, 193, 7, 0.18);
  color: #ffd866;
}
.threat-icon-wrap.low {
  background: rgba(74, 222, 128, 0.18);
  color: #86efac;
}
.threat-details strong {
  display: block;
  font-size: 0.9rem;
  color: #edf5ff;
  margin-bottom: 2px;
}
.threat-details p {
  margin: 0;
  font-size: 0.8rem;
  color: #a9bad0;
  line-height: 1.45;
}

/* Action Checklist Box */
.action-box {
  padding: 16px;
  border-radius: 16px;
  background: rgba(114, 235, 206, 0.06);
  border: 1px solid rgba(114, 235, 206, 0.22);
}
.action-box h5 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8edbcf;
}
.action-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.action-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: #d1dfed;
  line-height: 1.45;
}
.action-list li i {
  color: #72ebce;
  margin-top: 3px;
  font-size: 0.82rem;
  flex-shrink: 0;
}

/* Output actions */
.result-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

/* Educational Info Cards */
.edu-section {
  padding: 50px 0;
}
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.edu-card {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(28, 48, 71, 0.6), rgba(13, 26, 43, 0.6));
  border: 1px solid rgba(192, 216, 245, 0.14);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.edu-card:hover {
  transform: translateY(-2px);
  border-color: rgba(114, 235, 206, 0.35);
}
.edu-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(114, 235, 206, 0.12);
  color: #72ebce;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.edu-card h4 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}
.edu-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #a9bad0;
}

/* Government Channels Grid */
.gov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.gov-card {
  padding: 20px;
  border-radius: 18px;
  background: rgba(223, 239, 255, 0.04);
  border: 1px solid rgba(192, 216, 245, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: all 0.2s ease;
}
.gov-card:hover {
  background: rgba(223, 239, 255, 0.07);
  border-color: rgba(114, 235, 206, 0.3);
  transform: translateY(-2px);
}
.gov-card-top strong {
  display: block;
  font-size: 1.05rem;
  color: #edf5ff;
  margin-bottom: 4px;
}
.gov-card-top p {
  margin: 0;
  font-size: 0.85rem;
  color: #a9bad0;
  line-height: 1.45;
}
.gov-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #72ebce;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.gov-link:hover {
  text-decoration: underline;
}

/* FAQ Accordion */
.faq-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  max-width: 860px;
}
.faq-item {
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(223, 239, 255, 0.04);
  border: 1px solid rgba(192, 216, 245, 0.12);
}
.faq-item h4 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: #edf5ff;
}
.faq-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #a9bad0;
  line-height: 1.55;
}

/* Promo Banner in Index */
.detector-promo-banner {
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(114, 235, 206, 0.12), rgba(120, 213, 255, 0.08));
  border: 1px solid rgba(114, 235, 206, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.detector-promo-text h4 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: #edf5ff;
}
.detector-promo-text p {
  margin: 0;
  color: #c9dbed;
  font-size: 0.9rem;
}

/* Toast Alert */
.toast-alert {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #0f2735;
  border: 1px solid #72ebce;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.toast-alert.show {
  transform: translateY(0);
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 850px) {
  .detector-workspace {
    grid-template-columns: 1fr;
  }
  .edu-grid {
    grid-template-columns: 1fr;
  }
}


.preset-chip.chip-safe i {
  color: #72ebce;
}
.section-subheading {
  color: #a9bad0;
  margin-top: 8px;
  font-size: 0.95rem;
}
.footer-highlight {
  color: #72ebce !important;
  font-weight: 700;
}
.footer-highlight:hover {
  text-decoration: underline;
}
.threat-level-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
.threat-level-pill.high {
  background: rgba(255, 99, 115, 0.22);
  color: #ff919d;
  border: 1px solid rgba(255, 99, 115, 0.45);
}
.threat-level-pill.medium {
  background: rgba(255, 193, 7, 0.22);
  color: #ffd866;
  border: 1px solid rgba(255, 193, 7, 0.45);
}
.threat-level-pill.low {
  background: rgba(74, 222, 128, 0.22);
  color: #86efac;
  border: 1px solid rgba(74, 222, 128, 0.45);
}
.checklist-progress.completed {
  color: #72ebce;
  font-weight: 700;
}

:root[data-theme="light"] {
  color-scheme: light;
}

/* ==========================================================================
   TEMA TERANG (LIGHT MODE) - TAMPILAN TAJAM, JELAS, & KONTRAS TINGGI
   ========================================================================== */
:root[data-theme="light"] body {
  color: #1e293b;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(2, 132, 199, 0.08), transparent 32rem),
    radial-gradient(ellipse at 88% 18%, rgba(14, 165, 233, 0.07), transparent 30rem),
    radial-gradient(ellipse at 50% 80%, rgba(16, 185, 129, 0.06), transparent 34rem),
    #f8fafc;
  background-attachment: fixed;
}

/* Tipografi & Judul */
:root[data-theme="light"] h1,
:root[data-theme="light"] h2,
:root[data-theme="light"] h3,
:root[data-theme="light"] h4,
:root[data-theme="light"] h5,
:root[data-theme="light"] h6 {
  color: #0f172a;
}
:root[data-theme="light"] .hero-copy h2 span,
:root[data-theme="light"] .detector-hero-header h2 span {
  background: linear-gradient(120deg, #0284c7, #0d9488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
:root[data-theme="light"] .eyebrow,
:root[data-theme="light"] .footer-label {
  color: #64748b;
  font-weight: 700;
}
:root[data-theme="light"] .eyebrow.accent {
  color: #0d9488;
  font-weight: 800;
}
:root[data-theme="light"] .hero-copy p,
:root[data-theme="light"] .detector-hero-header p,
:root[data-theme="light"] .detector-copy p,
:root[data-theme="light"] .pillar-card p,
:root[data-theme="light"] .scam-card p,
:root[data-theme="light"] .info-card p,
:root[data-theme="light"] .site-footer p,
:root[data-theme="light"] .site-footer li,
:root[data-theme="light"] .steps-list li div,
:root[data-theme="light"] .disclaimer {
  color: #334155;
  font-weight: 450;
}

/* Navbar & Brand */
:root[data-theme="light"] .topbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
:root[data-theme="light"] .brand-mark {
  background: linear-gradient(135deg, #0284c7, #0d9488);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.28);
}
:root[data-theme="light"] .brand-name {
  color: #0f172a;
}
:root[data-theme="light"] .brand-tag {
  color: #0d9488;
  font-weight: 800;
}
:root[data-theme="light"] .brand-accent {
  background: linear-gradient(120deg, #0284c7, #0d9488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}
:root[data-theme="light"] .main-nav {
  color: #475569;
}
:root[data-theme="light"] .nav-link {
  color: #475569;
}
:root[data-theme="light"] .nav-link:hover,
:root[data-theme="light"] .nav-link:focus-visible {
  color: #0284c7;
}
:root[data-theme="light"] .nav-link.active {
  color: #0284c7;
  font-weight: 700;
}
:root[data-theme="light"] .nav-link.active::after {
  background: #0284c7;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.5);
}
:root[data-theme="light"] .nav-cta {
  background: #f0fdfa;
  border: 1.5px solid #0d9488;
  color: #0f766e !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.16);
}
:root[data-theme="light"] .nav-cta:hover {
  background: #ccfbf1;
  border-color: #0f766e;
  color: #115e59 !important;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.26);
}
:root[data-theme="light"] .nav-cta.active {
  background: linear-gradient(135deg, #0284c7, #0d9488);
  border-color: transparent;
  color: #ffffff !important;
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.35);
}
:root[data-theme="light"] .theme-toggle {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
:root[data-theme="light"] .theme-toggle:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f8fafc;
}
:root[data-theme="light"] .menu-toggle {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
}
:root[data-theme="light"] .main-nav.show-mobile {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
}

/* Tombol-tombol Utama */
:root[data-theme="light"] .button-primary {
  background: linear-gradient(135deg, #0284c7, #0d9488);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.28);
}
:root[data-theme="light"] .button-primary:hover,
:root[data-theme="light"] .button-primary:focus-visible {
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.38);
  transform: translateY(-1px);
}
:root[data-theme="light"] .button-secondary {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
:root[data-theme="light"] .button-secondary:hover,
:root[data-theme="light"] .button-secondary:focus-visible {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

/* Kartu & Container */
:root[data-theme="light"] .detector-card,
:root[data-theme="light"] .pillar-card,
:root[data-theme="light"] .info-card,
:root[data-theme="light"] .scam-card,
:root[data-theme="light"] .steps-panel,
:root[data-theme="light"] .channel-panel,
:root[data-theme="light"] .detector-panel,
:root[data-theme="light"] .message-preview,
:root[data-theme="light"] .check-item,
:root[data-theme="light"] .edu-card,
:root[data-theme="light"] .gov-card,
:root[data-theme="light"] .faq-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
:root[data-theme="light"] .alt-bg {
  background: #f1f5f9;
}
:root[data-theme="light"] .badge,
:root[data-theme="light"] .tag {
  background: #e0f2fe;
  border: 1.5px solid #bae6fd;
  color: #0369a1;
  font-weight: 800;
}
:root[data-theme="light"] .privacy-banner {
  background: #f0fdfa;
  border: 1.5px solid #99f6e4;
  color: #0f766e;
  font-weight: 600;
}
:root[data-theme="light"] .privacy-banner i {
  color: #0d9488;
}

/* Pilar Kartu & Ikon Aksen Berwarna */
:root[data-theme="light"] .pillar-card[data-accent="red"] .icon-wrap,
:root[data-theme="light"] .info-card.red i {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}
:root[data-theme="light"] .info-card.red {
  border-top: 4px solid #ef4444;
}
:root[data-theme="light"] .pillar-card[data-accent="amber"] .icon-wrap,
:root[data-theme="light"] .info-card.amber i {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}
:root[data-theme="light"] .info-card.amber {
  border-top: 4px solid #f59e0b;
}
:root[data-theme="light"] .pillar-card[data-accent="green"] .icon-wrap,
:root[data-theme="light"] .info-card.green i {
  background: #dcfce7;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}
:root[data-theme="light"] .info-card.green {
  border-top: 4px solid #22c55e;
}
:root[data-theme="light"] .info-card.blue i {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}
:root[data-theme="light"] .info-card.blue {
  border-top: 4px solid #0284c7;
}

/* Input Area Detektor */
:root[data-theme="light"] .card-header-bar label,
:root[data-theme="light"] .card-header-bar h3,
:root[data-theme="light"] .detector-panel label {
  color: #0f172a;
  font-weight: 800;
}
:root[data-theme="light"] .char-counter {
  color: #64748b;
  font-weight: 600;
}
:root[data-theme="light"] .detector-textarea,
:root[data-theme="light"] .detector-panel textarea {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
  font-weight: 500;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}
:root[data-theme="light"] .detector-textarea:focus,
:root[data-theme="light"] .detector-panel textarea:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.18);
}
:root[data-theme="light"] .detector-textarea::placeholder,
:root[data-theme="light"] .detector-panel textarea::placeholder {
  color: #94a3b8;
}

/* Preset Chips (Tombol Contoh Kasus) */
:root[data-theme="light"] .presets-label {
  color: #475569;
  font-weight: 800;
}
:root[data-theme="light"] .preset-chip {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  font-weight: 700;
}
:root[data-theme="light"] .preset-chip:hover {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0369a1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}
:root[data-theme="light"] .preset-chip.chip-safe {
  border-color: #86efac;
  background: #f0fdf4;
  color: #15803d;
}
:root[data-theme="light"] .preset-chip.chip-safe:hover {
  background: #dcfce7;
  border-color: #22c55e;
  color: #166534;
}
:root[data-theme="light"] .example-button {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  font-weight: 600;
}
:root[data-theme="light"] .example-button:hover {
  border-color: #0284c7;
  background: #e0f2fe;
  color: #0369a1;
}

/* ==========================================================================
   HASIL DETEKSI (DASHBOARD KANAN) - SANGAT JELAS & KONTRAS TINGGI
   ========================================================================== */
:root[data-theme="light"] .result-placeholder .pulse-radar-icon {
  background: #e0f2fe;
  border: 2px solid #38bdf8;
  color: #0284c7;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}
:root[data-theme="light"] .result-placeholder h4 {
  color: #0f172a;
  font-weight: 800;
}
:root[data-theme="light"] .result-placeholder p {
  color: #475569;
  font-weight: 500;
}

/* Badge Tingkat Risiko */
:root[data-theme="light"] .risk-badge.high {
  background: #fee2e2;
  border: 2px solid #ef4444;
  color: #b91c1c;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.2);
}
:root[data-theme="light"] .risk-badge.high i {
  color: #dc2626;
}
:root[data-theme="light"] .risk-badge.medium {
  background: #fef3c7;
  border: 2px solid #f59e0b;
  color: #92400e;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
}
:root[data-theme="light"] .risk-badge.medium i {
  color: #d97706;
}
:root[data-theme="light"] .risk-badge.low {
  background: #dcfce7;
  border: 2px solid #22c55e;
  color: #15803d;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.2);
}
:root[data-theme="light"] .risk-badge.low i {
  color: #16a34a;
}

/* Angka Skor & Bilah Pengukur */
:root[data-theme="light"] .score-number {
  color: #0f172a;
  font-weight: 900;
}
:root[data-theme="light"] .score-caption {
  color: #64748b;
  font-weight: 600;
}
:root[data-theme="light"] .score-track {
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  height: 10px;
}
:root[data-theme="light"] .score-bar.high {
  background: linear-gradient(90deg, #f87171, #dc2626);
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.4);
}
:root[data-theme="light"] .score-bar.medium {
  background: linear-gradient(90deg, #fbbf24, #d97706);
  box-shadow: 0 0 12px rgba(217, 119, 6, 0.4);
}
:root[data-theme="light"] .score-bar.low {
  background: linear-gradient(90deg, #4ade80, #16a34a);
  box-shadow: 0 0 12px rgba(22, 163, 74, 0.4);
}

/* Teks Ringkasan Analisis */
:root[data-theme="light"] .summary-text {
  color: #1e293b !important;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
}
:root[data-theme="light"] .summary-text strong {
  color: #0f172a;
  font-weight: 800;
}

/* Kotak Sorotan (Highlight) Kata Kunci */
:root[data-theme="light"] .highlight-title {
  color: #475569;
  font-weight: 800;
}
:root[data-theme="light"] .highlight-box {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
  font-weight: 500;
}
:root[data-theme="light"] .highlight-box mark.kw-danger {
  background: #fecaca !important;
  color: #991b1b !important;
  border: 1.5px solid #ef4444 !important;
  font-weight: 800 !important;
}
:root[data-theme="light"] .highlight-box mark.kw-warning {
  background: #fef08a !important;
  color: #854d0e !important;
  border: 1.5px solid #eab308 !important;
  font-weight: 800 !important;
}

/* Kartu Rincian Ancaman (Threats List) */
:root[data-theme="light"] .threats-title {
  color: #475569;
  font-weight: 800;
}
:root[data-theme="light"] .threat-item-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
:root[data-theme="light"] .threat-item-card strong {
  color: #0f172a;
  font-weight: 800;
}
:root[data-theme="light"] .threat-item-card p {
  color: #334155;
  font-weight: 500;
}
:root[data-theme="light"] .threat-icon-wrap.high {
  background: #fee2e2;
  color: #dc2626;
  border: 1.5px solid #fca5a5;
}
:root[data-theme="light"] .threat-icon-wrap.medium {
  background: #fef3c7;
  color: #d97706;
  border: 1.5px solid #fde68a;
}
:root[data-theme="light"] .threat-icon-wrap.low {
  background: #dcfce7;
  color: #16a34a;
  border: 1.5px solid #bbf7d0;
}

/* Kotak Rekomendasi Langkah Pencegahan */
:root[data-theme="light"] .action-box {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.08);
}
:root[data-theme="light"] .action-box h5 {
  color: #15803d;
  font-weight: 800;
  font-size: 0.95rem;
}
:root[data-theme="light"] .action-list li {
  color: #1e293b;
  font-weight: 500;
  font-size: 0.88rem;
}
:root[data-theme="light"] .action-list li i {
  color: #16a34a;
  font-size: 0.95rem;
}

/* Hasil Detektor pada index.html */
:root[data-theme="light"] .result-card.neutral {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
}
:root[data-theme="light"] .result-card.neutral #risk-level {
  color: #475569;
}
:root[data-theme="light"] .result-card.high,
:root[data-theme="light"] .result-card.critical {
  background: #fff5f5;
  border: 2px solid #ef4444;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.15);
}
:root[data-theme="light"] .result-card.high #risk-level {
  color: #b91c1c;
  font-weight: 800;
}
:root[data-theme="light"] .result-card.high #rule-list li {
  color: #991b1b;
  font-weight: 600;
}
:root[data-theme="light"] .result-card.high #rule-list li::before {
  color: #ef4444;
}
:root[data-theme="light"] .result-card.medium {
  background: #fffbeb;
  border: 2px solid #f59e0b;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.15);
}
:root[data-theme="light"] .result-card.medium #risk-level {
  color: #b45309;
  font-weight: 800;
}
:root[data-theme="light"] .result-card.medium #rule-list li {
  color: #92400e;
  font-weight: 600;
}
:root[data-theme="light"] .result-card.medium #rule-list li::before {
  color: #f59e0b;
}
:root[data-theme="light"] .result-card.low {
  background: #f0fdf4;
  border: 2px solid #22c55e;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.15);
}
:root[data-theme="light"] .result-card.low #risk-level {
  color: #15803d;
  font-weight: 800;
}
:root[data-theme="light"] .result-card.low #rule-list li {
  color: #166534;
  font-weight: 600;
}
:root[data-theme="light"] .result-card.low #rule-list li::before {
  color: #22c55e;
}

/* Banner Promosi pada index.html */
:root[data-theme="light"] .detector-promo-banner {
  background: linear-gradient(135deg, #f0fdfa, #eff6ff);
  border: 2px solid #5eead4;
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.12);
}
:root[data-theme="light"] .detector-promo-text h4 {
  color: #0f172a;
  font-weight: 800;
}
:root[data-theme="light"] .detector-promo-text p {
  color: #334155;
  font-weight: 500;
}

/* Checklist Keamanan */
:root[data-theme="light"] .check-item {
  color: #1e293b;
  font-weight: 500;
}
:root[data-theme="light"] .check-item input[type="checkbox"] {
  accent-color: #0d9488;
}
:root[data-theme="light"] .checklist-progress {
  color: #475569;
  font-weight: 600;
}

/* Saluran Resmi & Edukasi */
:root[data-theme="light"] .edu-card-icon {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}
:root[data-theme="light"] .gov-card-top strong {
  color: #0f172a;
  font-weight: 800;
}
:root[data-theme="light"] .gov-card-top p {
  color: #334155;
}
:root[data-theme="light"] .gov-link {
  color: #0284c7;
  font-weight: 800;
}
:root[data-theme="light"] .gov-link:hover {
  color: #0369a1;
}
:root[data-theme="light"] .channels-list li {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
}
:root[data-theme="light"] .channel-link {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  color: #0f766e;
  font-weight: 700;
}
:root[data-theme="light"] .channel-link:hover {
  background: #ccfbf1;
  border-color: #0d9488;
  color: #115e59;
}
:root[data-theme="light"] .channel-link i {
  color: #0d9488;
}
:root[data-theme="light"] .steps-list li span {
  background: #e0f2fe;
  border: 1.5px solid #bae6fd;
  color: #0284c7;
  font-weight: 800;
}
:root[data-theme="light"] .steps-list li strong {
  color: #0f172a;
}
:root[data-theme="light"] .breadcrumb a {
  color: #0284c7;
  font-weight: 600;
}
:root[data-theme="light"] .breadcrumb-current {
  color: #0f172a;
  font-weight: 700;
}
:root[data-theme="light"] .site-footer {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}
:root[data-theme="light"] .toast-alert {
  background: #0f172a;
  border: 1.5px solid #0284c7;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.25);
}


:root[data-theme="light"] .preset-chip.chip-safe i {
  color: #16a34a;
}
:root[data-theme="light"] .section-subheading {
  color: #334155;
}
:root[data-theme="light"] .footer-highlight {
  color: #0d9488 !important;
}
:root[data-theme="light"] .threat-level-pill.high {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #f87171;
}
:root[data-theme="light"] .threat-level-pill.medium {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
}
:root[data-theme="light"] .threat-level-pill.low {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #22c55e;
}
:root[data-theme="light"] .checklist-progress.completed {
  color: #0d9488;
  font-weight: 800;
}


/* ==========================================================================
   PERBAIKAN SPESIFIK ELEMEN INDEX.HTML DI TEMA TERANG (KONTRAST TINGGI & TEBAL)
   ========================================================================== */

/* 1. Baris Statistik Hero (stat-row) */
:root[data-theme="light"] .stat-row div {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
}
:root[data-theme="light"] .stat-row strong {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 1.25rem !important;
}
:root[data-theme="light"] .stat-row span {
  color: #334155 !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
}

/* 2. Kartu Preview Pesan Hero (message-preview) */
:root[data-theme="light"] .message-preview {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08) !important;
}
:root[data-theme="light"] .message-avatar {
  background: #fef3c7 !important;
  color: #b45309 !important;
  border: 1.5px solid #fde68a !important;
  font-weight: 800 !important;
}
:root[data-theme="light"] .message-topline strong {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
}
:root[data-theme="light"] .message-topline small {
  color: #475569 !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
}
:root[data-theme="light"] .message-time {
  color: #64748b !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
}
:root[data-theme="light"] .message-bubble {
  background: #f1f5f9 !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-weight: 550 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}
:root[data-theme="light"] .message-review {
  border-top: 1.5px solid #e2e8f0 !important;
}
:root[data-theme="light"] .message-review strong {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 0.98rem !important;
}
:root[data-theme="light"] .message-review li {
  color: #1e293b !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
}
:root[data-theme="light"] .message-review li::before {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border: 1.5px solid #fca5a5 !important;
  font-weight: 900 !important;
}
:root[data-theme="light"] .message-caption {
  color: #b91c1c !important;
  font-weight: 750 !important;
  font-size: 0.88rem !important;
}
:root[data-theme="light"] .message-caption i {
  color: #dc2626 !important;
}

/* 3. Kartu Tanda Bahaya (Kenali Section) */
:root[data-theme="light"] .card-top span {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
}
:root[data-theme="light"] .info-card p {
  color: #1e293b !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

/* 4. Kartu Modus Penipuan (Belajar Section) */
:root[data-theme="light"] .scam-card .tag {
  background: #e0f2fe !important;
  border: 1.5px solid #7dd3fc !important;
  color: #0369a1 !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
}
:root[data-theme="light"] .scam-card h4 {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
}
:root[data-theme="light"] .scam-card p {
  color: #1e293b !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

/* 5. Langkah & Saluran Resmi (Bertindak Section) */
:root[data-theme="light"] .steps-list li strong {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
}
:root[data-theme="light"] .steps-list li div {
  color: #1e293b !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}
:root[data-theme="light"] .steps-list li span {
  background: #e0f2fe !important;
  border: 1.5px solid #7dd3fc !important;
  color: #0284c7 !important;
  font-weight: 900 !important;
  font-size: 0.95rem !important;
}
:root[data-theme="light"] .channel-panel h4 {
  color: #0f172a !important;
  font-weight: 800 !important;
}
:root[data-theme="light"] .channels-list li {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
}
:root[data-theme="light"] .channel-link {
  background: #f0fdfa !important;
  border: 1.5px solid #5eead4 !important;
  color: #0f766e !important;
  font-weight: 800 !important;
}
:root[data-theme="light"] .channel-link span {
  color: #0f766e !important;
  font-weight: 800 !important;
  font-size: 0.98rem !important;
}
:root[data-theme="light"] .channel-link i {
  color: #0d9488 !important;
}
:root[data-theme="light"] .channels-list li > span,
:root[data-theme="light"] .channel-panel > .channels-list li > span {
  color: #1e293b !important;
  font-weight: 550 !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
}

/* 6. Detektor Pesan Cepat di Index (detektor section) */
:root[data-theme="light"] .detector-copy h3 {
  color: #0f172a !important;
  font-weight: 800 !important;
}
:root[data-theme="light"] .detector-copy p {
  color: #1e293b !important;
  font-weight: 500 !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
}
:root[data-theme="light"] .example-button {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-weight: 750 !important;
  font-size: 0.88rem !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}
:root[data-theme="light"] .example-button:hover {
  background: #e0f2fe !important;
  border-color: #0284c7 !important;
  color: #0369a1 !important;
}
:root[data-theme="light"] .detector-panel {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}
:root[data-theme="light"] .detector-panel label {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 0.98rem !important;
}
:root[data-theme="light"] .detector-panel textarea {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
}
:root[data-theme="light"] .result-card {
  border: 1.5px solid #cbd5e1 !important;
}
:root[data-theme="light"] .result-card.neutral {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}
:root[data-theme="light"] .result-badge {
  color: #475569 !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}
:root[data-theme="light"] .result-card.neutral #risk-level {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
}
:root[data-theme="light"] #result-message {
  color: #1e293b !important;
  font-weight: 550 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}
:root[data-theme="light"] #rule-list li {
  color: #1e293b !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
}

/* 7. Checklist Siap Aman di Index */
:root[data-theme="light"] .checklist-wrap h3 {
  color: #0f172a !important;
  font-weight: 800 !important;
}
:root[data-theme="light"] .check-item {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-weight: 650 !important;
  font-size: 0.95rem !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
}
:root[data-theme="light"] .check-item:hover {
  border-color: #0d9488 !important;
  background: #f0fdfa !important;
}
:root[data-theme="light"] .check-item input[type="checkbox"] {
  accent-color: #0d9488 !important;
  width: 20px !important;
  height: 20px !important;
}
:root[data-theme="light"] #checklist-progress {
  color: #334155 !important;
  font-weight: 750 !important;
  font-size: 1rem !important;
}
:root[data-theme="light"] #checklist-progress.completed {
  color: #0d9488 !important;
  font-weight: 900 !important;
}

/* 8. Footer di Index & Halaman Lain */
:root[data-theme="light"] .site-footer {
  background: #f1f5f9 !important;
  border-top: 1.5px solid #e2e8f0 !important;
}
:root[data-theme="light"] .site-footer h4 {
  color: #0f172a !important;
  font-weight: 900 !important;
  font-size: 1.25rem !important;
}
:root[data-theme="light"] .site-footer p {
  color: #334155 !important;
  font-weight: 500 !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
}
:root[data-theme="light"] .site-footer .disclaimer {
  color: #64748b !important;
  font-weight: 550 !important;
  font-size: 0.85rem !important;
  line-height: 1.55 !important;
}
:root[data-theme="light"] .footer-label {
  color: #475569 !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}
:root[data-theme="light"] .site-footer ul li a {
  color: #1e293b !important;
  font-weight: 650 !important;
  font-size: 0.92rem !important;
}
:root[data-theme="light"] .site-footer ul li a:hover {
  color: #0284c7 !important;
  text-decoration: underline !important;
}
:root[data-theme="light"] .footer-highlight {
  color: #0d9488 !important;
  font-weight: 850 !important;
}

/* 9. Paragraf & Teks Umum Lainnya */
:root[data-theme="light"] .hero-copy p,
:root[data-theme="light"] .pillar-card p {
  color: #1e293b !important;
  font-weight: 500 !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
}
:root[data-theme="light"] .pillar-card h4 {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
}
:root[data-theme="light"] .badge {
  background: #e0f2fe !important;
  border: 1.5px solid #7dd3fc !important;
  color: #0369a1 !important;
  font-weight: 800 !important;
}

.welcome-page {
  display: grid;
  min-height: calc(100vh - 80px);
  min-height: calc(100svh - 80px);
  place-items: center;
  padding: clamp(42px, 7vw, 88px) 24px;
  overflow: hidden;
}
.welcome-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
  width: min(100%, 1120px);
}
.welcome-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(133, 216, 223, 0.24);
  border-radius: 999px;
  background: rgba(117, 204, 221, 0.08);
  color: #8edbcf;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.welcome-copy h1 {
  max-width: 700px;
  margin: 24px 0 18px;
  font-size: clamp(3.2rem, 6.2vw, 5.7rem);
  letter-spacing: -0.06em;
  line-height: 1.03;
}
.welcome-copy h1 span {
  color: #80e6d3;
}
.welcome-brand {
  max-width: 500px;
  margin: 0;
  color: #a9bad0;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.7;
}
.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}
.welcome-actions .button {
  min-height: 52px;
  padding-inline: 1.45rem;
}
.welcome-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c0cede;
  font-size: 0.92rem;
  font-weight: 650;
  transition: color 0.2s ease;
}
.welcome-text-link:hover,
.welcome-text-link:focus-visible {
  color: #80e6d3;
}
.welcome-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 36px;
  color: #a9bad0;
  font-size: 0.83rem;
}
.welcome-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.welcome-points i {
  color: #80e6d3;
}
.welcome-visual {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
}
.welcome-visual::before {
  position: absolute;
  z-index: 0;
  width: min(92%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 196, 236, 0.18), rgba(114, 235, 206, 0.06) 48%, transparent 72%);
  content: "";
}
.welcome-message-card {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  padding: 24px;
  border: 1px solid rgba(192, 216, 245, 0.2);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(28, 48, 71, 0.94), rgba(13, 26, 43, 0.94));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.welcome-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.welcome-message-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: rgba(120, 213, 255, 0.12);
  color: #8cddf6;
}
.welcome-card-top strong,
.welcome-card-top small {
  display: block;
}
.welcome-card-top strong {
  color: #edf5ff;
  font-size: 0.95rem;
}
.welcome-card-top small {
  color: #9eb2c8;
  font-size: 0.76rem;
}
.welcome-card-top > .fa-ellipsis {
  margin-left: auto;
  color: #9eb2c8;
}
.welcome-message-card > p {
  margin: 22px 0;
  padding: 16px;
  border: 1px solid rgba(192, 216, 245, 0.1);
  border-radius: 5px 16px 16px;
  background: rgba(6, 16, 29, 0.5);
  color: #dce9f7;
  line-height: 1.7;
}
.welcome-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 198, 111, 0.2);
  border-radius: 14px;
  background: rgba(255, 198, 111, 0.08);
  color: #ffd58a;
  font-size: 0.84rem;
  line-height: 1.5;
}
.welcome-warning i {
  margin-top: 3px;
}
:root[data-theme="light"] .welcome-brand {
  color: #475569;
}
:root[data-theme="light"] .welcome-label {
  border-color: #bae6fd;
  background: #f0f9ff;
  color: #0369a1;
}
:root[data-theme="light"] .welcome-copy h1 span {
  color: #0d9488;
}
:root[data-theme="light"] .welcome-text-link {
  color: #334155;
}
:root[data-theme="light"] .welcome-points {
  color: #475569;
}
:root[data-theme="light"] .welcome-points i {
  color: #0d9488;
}
:root[data-theme="light"] .welcome-visual::before {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12), rgba(13, 148, 136, 0.06) 48%, transparent 72%);
}
:root[data-theme="light"] .welcome-message-card {
  border-color: #dbe5ef;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}
:root[data-theme="light"] .welcome-card-top strong {
  color: #0f172a;
}
:root[data-theme="light"] .welcome-card-top small {
  color: #64748b;
}
:root[data-theme="light"] .welcome-card-top > .fa-ellipsis {
  color: #64748b;
}
:root[data-theme="light"] .welcome-message-icon {
  background: #e0f2fe;
  color: #0284c7;
}
:root[data-theme="light"] .welcome-message-card > p {
  border-color: #e2e8f0;
  background: #f1f5f9;
  color: #334155;
}
:root[data-theme="light"] .welcome-warning {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}
@media (max-width: 768px) {
  :root[data-theme="light"] .main-nav {
    border-color: #dbe5ef;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  }
  :root[data-theme="light"] .nav-link {
    color: #334155;
  }
  :root[data-theme="light"] .nav-link:hover,
  :root[data-theme="light"] .nav-link:focus-visible {
    background: #f1f5f9;
    color: #0369a1;
  }
}
@media (max-width: 720px) {
  .welcome-page {
    min-height: auto;
    padding: 48px 16px 64px;
  }
  .welcome-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .welcome-copy h1 {
    font-size: clamp(2.85rem, 12vw, 4.3rem);
  }
  .welcome-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
  }
  .welcome-points {
    flex-direction: column;
    gap: 8px;
    margin-top: 26px;
  }
  .welcome-message-card {
    width: min(88%, 390px);
    padding: 20px;
  }
}
@media (max-width: 380px) {
  .welcome-label {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }
  .welcome-copy h1 {
    font-size: 2.7rem;
  }
  .welcome-message-card {
    padding: 16px;
  }
}
@media (max-width: 280px) {
  .gov-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
