:root {
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --brand: #14b8a6;
  --brand-hover: #0d9488;
  --brand-dark: #0f766e;
  --brand-soft: #f0fdfa;
  --brand-border: #ccfbf1;
  --accent: #0f766e;
  --text: #0f172a;
  --text-body: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-input: #cbd5e1;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.10);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --container: 1180px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-logo,
.brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(20, 184, 166, 0.16);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.94rem;
  letter-spacing: -0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  color: var(--text);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--muted);
}

.nav-menu a {
  font-weight: 600;
}

.nav-menu a:hover {
  color: var(--brand-dark);
}

.nav-menu a.is-active {
  color: var(--brand-dark);
  position: relative;
}

.nav-menu a.is-active:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
}

.nav-menu-minimal {
  display: flex;
  align-items: center;
}

.inline-form {
  margin: 0;
}

.teacher-profile-menu {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}

.teacher-profile-menu > summary {
  list-style: none;
}

.teacher-profile-menu > summary::-webkit-details-marker {
  display: none;
}

.teacher-profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.5rem 0.65rem 0.5rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.teacher-profile-trigger:hover,
.teacher-profile-menu[open] > .teacher-profile-trigger {
  border-color: rgba(20, 184, 166, 0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.teacher-profile-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), #38bdf8);
  color: white;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  flex: 0 0 auto;
}

.teacher-profile-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.1;
}

.teacher-profile-copy strong {
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

.teacher-profile-copy small {
  color: var(--muted);
  font-size: 0.72rem;
}

.teacher-profile-chevron {
  color: var(--muted);
  font-size: 0.78rem;
  transition: transform 0.18s ease;
}

.teacher-profile-menu[open] .teacher-profile-chevron {
  transform: rotate(180deg);
}

.teacher-profile-dropdown {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  width: min(230px, 78vw);
  padding: 0.45rem;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 0.35rem;
  z-index: 20;
}

.teacher-profile-dropdown a,
.teacher-profile-dropdown button {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.82rem 0.9rem;
  border-radius: 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.teacher-profile-dropdown a:hover,
.teacher-profile-dropdown button:hover {
  background: rgba(20, 184, 166, 0.08);
  color: var(--brand-dark);
}

.teacher-profile-dropdown i {
  width: 1rem;
  color: var(--brand-dark);
}

.teacher-profile-logout {
  margin: 0;
}

.nav-progress {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(153, 246, 228, 0.95);
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.nav-progress-label {
  letter-spacing: -0.01em;
}

.nav-progress-shell {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: end;
}

.nav-progress-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  min-height: 40px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.16);
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav-test {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 255, 252, 0.84)),
    rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(167, 243, 208, 0.72);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.nav-inner-test {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
}

.site-nav-test .brand {
  padding: 0.45rem 0.7rem 0.45rem 0.45rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(204, 251, 241, 0.95);
  box-shadow: 0 10px 26px rgba(20, 184, 166, 0.08);
}

.site-nav-test .brand-logo {
  width: 46px;
  height: 46px;
}

.site-nav-test .brand-text strong {
  font-size: 0.98rem;
}

.site-nav-test .brand-text small {
  color: #5b7183;
}

.site-main {
  position: relative;
}

.site-shell-superadmin {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  min-height: 100vh;
}

.site-shell-content {
  min-width: 0;
}

.site-main-superadmin {
  padding: 1.5rem 0 2.5rem;
}

.site-shell-teacher {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.site-main-teacher {
  padding: 1.5rem 0 2.5rem;
}

.site-main-superadmin .container,
.site-main-teacher .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.superadmin-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
  border-right: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
}

.superadmin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(248, 250, 249, 0.9);
  box-shadow: var(--shadow-sm);
}

.superadmin-sidebar-brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.superadmin-sidebar-brand-copy,
.superadmin-sidebar-profile-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.superadmin-sidebar-brand-copy strong,
.superadmin-sidebar-profile-copy strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.superadmin-sidebar-brand-copy small,
.superadmin-sidebar-profile-copy small {
  color: var(--muted);
  line-height: 1.4;
}

.superadmin-sidebar-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(20, 184, 166, 0.18);
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.72), rgba(255, 255, 255, 0.95));
  box-shadow: var(--shadow-sm);
}

.superadmin-sidebar-avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.superadmin-sidebar-section {
  display: grid;
  gap: 0.75rem;
}

.superadmin-sidebar-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.superadmin-sidebar-nav {
  display: grid;
  gap: 0.55rem;
}

.superadmin-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 700;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.superadmin-sidebar-nav a:hover {
  transform: translateX(2px);
  background: rgba(20, 184, 166, 0.06);
  border-color: rgba(20, 184, 166, 0.16);
}

.superadmin-sidebar-nav a.is-active {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.14), rgba(204, 251, 241, 0.88));
  border-color: rgba(20, 184, 166, 0.24);
  color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
}

.superadmin-sidebar-nav i {
  width: 1.1rem;
  text-align: center;
  color: currentColor;
}

.superadmin-sidebar-section-footer {
  margin-top: auto;
  padding-top: 0.75rem;
}

.superadmin-sidebar-section-footer .btn {
  width: 100%;
}

.site-main-centered {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 76px);
}

@media (max-width: 1024px) {
  .site-shell-superadmin {
    grid-template-columns: 1fr;
  }

  .superadmin-sidebar {
    position: relative;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  }
}

@media (max-width: 640px) {
  .superadmin-sidebar {
    padding: 1rem;
  }

  .superadmin-sidebar-nav a {
    min-height: 44px;
    padding: 0.8rem 0.9rem;
  }
}

.hero {
  padding: 5.5rem 0 3rem;
}

.landing-hero {
  padding-bottom: 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1,
.panel h1 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.04;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.hero-copy p,
.panel p,
.section-heading p,
.feature-card p,
.step-card p,
.metric-card p,
.auth-head p,
.empty-state p,
.footer-inner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(153, 246, 228, 0.6);
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.hero-proof {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
}

.hero-proof strong {
  color: var(--text);
}

.hero-proof-divider {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 1rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.hero-illustration {
  isolation: isolate;
}

.visual-backdrop {
  position: absolute;
  inset: 12%;
  border-radius: 38px;
  background: var(--surface-strong);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-lg);
}

.visual-card,
.hero-illustration-card {
  position: absolute;
  width: min(320px, 84%);
  padding: 1.15rem 1.2rem;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.visual-card-primary,
.hero-illustration-card-main {
  top: 13%;
  left: 8%;
  transform: rotate(-4deg);
}

.visual-card-secondary,
.hero-illustration-card-secondary {
  top: 38%;
  right: 4%;
  transform: rotate(6deg);
}

.visual-card-tertiary,
.hero-illustration-card-tertiary {
  bottom: 9%;
  left: 18%;
  transform: rotate(-2deg);
}

.visual-card-label,
.metric-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.visual-card-value {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.visual-card p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.result-stack {
  display: grid;
  gap: 0.55rem;
}

.result-stack span,
.module-meter span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  background: #f8fbff;
  color: var(--text);
  font-weight: 700;
}

.module-meter {
  display: grid;
  gap: 0.6rem;
}

.module-meter span {
  justify-content: space-between;
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.visual-bars {
  display: grid;
  gap: 0.5rem;
}

.visual-bars span {
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-row span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.82rem;
}

.stat-strip {
  padding: 1rem 0 0.25rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-grid-bar {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1rem;
  border-radius: 30px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
}

.stat-card,
.step-card,
.feature-card,
.metric-card,
.panel,
.auth-card,
.cta-panel,
.empty-state {
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
}

.stat-card {
  padding: 1.2rem 1.25rem;
  border-radius: 20px;
}

.stat-card strong {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.93rem;
}

.content-section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.45), rgba(248, 251, 255, 0.25));
}

.section-heading {
  max-width: 720px;
  margin-bottom: 1.8rem;
}

.section-heading p {
  margin-top: 0.6rem;
  max-width: 66ch;
}

.section-heading h2 {
  margin: 0;
  letter-spacing: -0.04em;
  font-size: clamp(1.8rem, 3vw, 2.9rem);
}

.step-grid,
.feature-grid,
.metric-grid {
  display: grid;
  gap: 1rem;
}

.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card,
.feature-card,
.metric-card {
  border-radius: 24px;
  padding: 1.35rem;
}

.step-card-flow {
  display: grid;
  align-content: start;
  gap: 0.15rem;
}

.step-card-flow,
.feature-card,
.result-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--brand);
  margin-bottom: 0.85rem;
  box-shadow: 0 10px 22px rgba(20, 184, 166, 0.14);
}

.step-arrow {
  align-self: center;
  justify-self: center;
  color: var(--brand-dark);
  font-size: 1.3rem;
}

.step-card-flow:hover,
.feature-card:hover,
.result-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 800;
  margin-bottom: 1rem;
}

.step-card h3,
.feature-card h3,
.metric-card strong,
.panel h2,
.panel h3,
.auth-card h1,
.auth-card h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

.feature-card i {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--brand);
  margin-bottom: 1rem;
  box-shadow: 0 10px 22px rgba(20, 184, 166, 0.14);
}

.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.5rem;
  align-items: center;
}

.results-preview {
  display: flex;
  justify-content: center;
}

.results-device {
  width: min(100%, 430px);
  border-radius: 30px;
  padding: 0.95rem;
  background: #0f172a;
  box-shadow: var(--shadow-lg);
}

.results-device-header {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.95rem;
}

.results-device-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.75);
}

.results-device-body {
  display: grid;
  gap: 0.9rem;
}

.results-device-card {
  border-radius: 22px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.95);
}

.results-device-card strong {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.results-device-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.results-device-card-primary {
  background: var(--brand-soft);
}

.mini-chart {
  display: grid;
  gap: 0.45rem;
}

.mini-chart span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
}

.result-grid-feature {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.result-page {
  padding-top: 2rem;
}

.result-container {
  display: grid;
  gap: 1.5rem;
}

.result-container-embed {
  display: grid;
  gap: 1.35rem;
}

.result-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.result-page-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.result-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  border-radius: 30px;
  padding: 1.5rem;
  background: var(--brand);
  color: white;
  box-shadow: var(--shadow-lg);
}

.result-hero .eyebrow,
.result-hero p,
.result-hero h1 {
  color: white;
}

.result-hero-avatar {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 2rem;
  font-weight: 900;
}

.result-hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.result-hero-date {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.88) !important;
}

.result-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.result-badge strong {
  font-weight: 800;
}

.result-chart-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
  align-items: stretch;
}

.result-chart-wrap {
  position: relative;
  height: 360px;
  border-radius: 24px;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--border);
}

.result-chart-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

.result-insight {
  display: grid;
  gap: 1rem;
}

.result-insight-card {
  border-radius: 24px;
  padding: 1.25rem;
  background: var(--surface-strong);
  border: 1px solid rgba(153, 246, 228, 0.75);
}

.result-insight-card h3 {
  margin: 0.4rem 0 0.6rem;
  letter-spacing: -0.03em;
}

.result-insight-label {
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.mini-score {
  padding: 0.9rem;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--border);
  display: grid;
  gap: 0.35rem;
}

.mini-score span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.mini-score strong {
  font-size: 1.1rem;
}

.talent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.talent-card {
  padding: 1rem;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--border);
}

.talent-card.is-dominant {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 12px 26px rgba(59, 130, 246, 0.1);
}

.talent-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.progress-line {
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}

.progress-line-brand span {
  background: var(--brand);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.chip-primary {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.recommendation-card {
  padding: 1.15rem;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--border);
  display: grid;
  gap: 0.95rem;
}

.recommendation-card.is-primary {
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 14px 34px rgba(59, 130, 246, 0.08);
}

.recommendation-card-head,
.career-item-main,
.career-meter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.recommendation-rank {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 900;
}

.match-label {
  color: var(--brand-dark);
  font-weight: 800;
  margin-top: 0 !important;
  line-height: 1.4;
}

.recommendation-card h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.recommendation-card > p:not(.match-label) {
  margin: 0;
  line-height: 1.68;
  color: #334155;
}

.match-fit-reason {
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: var(--brand-soft);
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.match-fit-reason strong {
  color: var(--brand-dark);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.95);
  color: var(--brand-dark);
  border: 1px solid rgba(191, 219, 254, 0.95);
  font-size: 0.8rem;
  font-weight: 700;
}

.tag-pill-muted {
  background: rgba(248, 250, 252, 0.95);
  color: #475569;
  border-color: rgba(226, 232, 240, 0.95);
}

.major-detail-stack {
  display: grid;
  gap: 1.5rem;
  padding-top: 0.35rem;
}

.major-detail-block {
  display: grid;
  gap: 0.75rem;
}

.major-detail-block strong {
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.major-detail-block p {
  margin: 0;
  line-height: 1.72;
  color: #334155;
}

.major-detail-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.72;
}

.major-detail-list li {
  line-height: inherit;
}

.career-list {
  display: grid;
  gap: 0.9rem;
}

.career-item {
  border-radius: 22px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  background: white;
  display: grid;
  gap: 0.85rem;
}

.career-item.is-primary {
  border-color: rgba(59, 130, 246, 0.6);
  background: rgba(239, 246, 255, 0.7);
}

.career-item-main {
  justify-content: flex-start;
  align-items: flex-start;
}

.career-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: white;
}

.career-meter {
  justify-content: flex-end;
}

.career-meter strong {
  min-width: 68px;
  text-align: right;
}

.tips-card {
  padding: 1.25rem;
}

.tips-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.tips-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(236, 253, 245, 0.95);
  border: 1px solid rgba(167, 243, 208, 0.9);
}

.tips-list i {
  color: var(--success);
  margin-top: 0.18rem;
}

.share-panel {
  display: grid;
  gap: 1rem;
}

.share-link-group {
  display: grid;
  gap: 0.55rem;
}

.share-link-group span {
  font-weight: 800;
}

.share-link-row {
  display: flex;
  gap: 0.75rem;
}

.share-link-row input {
  flex: 1;
  min-width: 0;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 0.95rem 1rem;
  background: white;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.share-link-row .btn,
.share-actions .btn {
  padding: 1rem 1.45rem;
  min-height: 56px;
  border-radius: 16px;
}

.share-note {
  margin: 0;
  color: var(--muted);
}

.teacher-result-inline-section {
  padding-top: 1.5rem;
}

.teacher-result-inline-host {
  position: relative;
}

.teacher-result-inline-host .result-page-embed {
  padding-top: 0;
}

.result-page {
  position: relative;
  padding-top: 2.25rem;
  overflow: clip;
}

.result-page::before,
.result-page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  pointer-events: none;
  opacity: 0.7;
}

.result-page::before {
  top: 6rem;
  left: max(-10rem, calc(50% - 42rem));
  width: 22rem;
  height: 22rem;
  background: rgba(45, 212, 191, 0.1);
}

.result-page::after {
  top: 28rem;
  right: max(-9rem, calc(50% - 46rem));
  width: 26rem;
  height: 26rem;
  background: rgba(59, 130, 246, 0.08);
}

.result-page-embed {
  padding-top: 0;
}

.result-page-embed::before,
.result-page-embed::after {
  opacity: 0.48;
  transform: scale(0.92);
}

.result-page .content-section {
  padding: 4rem 0;
}

.result-page .section-heading {
  max-width: 860px;
  margin-bottom: 1.5rem;
}

.result-page .section-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.18);
  color: var(--brand-dark);
}

.result-page .panel {
  border-color: rgba(203, 213, 225, 0.7);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.result-page-nav {
  position: relative;
  z-index: 1;
  padding: 0.8rem 0.95rem;
  border-radius: 26px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 254, 253, 0.92));
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.result-page-nav .brand {
  padding: 0.25rem 0.35rem;
}

.result-hero {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  padding: 2rem;
  color: #0f172a;
  border: 1px solid rgba(203, 213, 225, 0.85);
  background: #ffffff;
  box-shadow:
    0 28px 60px rgba(15, 23, 42, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.result-hero > * {
  position: relative;
  z-index: 1;
}

.result-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.82fr) minmax(300px, 0.82fr);
  gap: 1.5rem;
  align-items: stretch;
}

.result-hero-main {
  display: grid;
  gap: 1.35rem;
}

.result-hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.result-hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.result-hero-kicker,
.result-hero-slug {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-hero-kicker {
  color: #0f766e;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.18);
}

.result-hero-slug {
  color: #334155;
  background: #f8fafc;
  border: 1px solid rgba(203, 213, 225, 0.85);
}

.result-hero-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.15rem;
  border-radius: 28px;
  background: #f8fafc;
  border: 1px solid rgba(203, 213, 225, 0.82);
}

.result-hero-brief {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  padding: 1.15rem;
  border-radius: 28px;
  background: #f8fafc;
  border: 1px solid rgba(203, 213, 225, 0.82);
}

.result-hero-brief-note {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.result-hero-brief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.result-hero-mini-stat {
  display: grid;
  gap: 0.32rem;
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.result-hero-mini-stat span {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.result-hero-mini-stat strong {
  color: #0f172a;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.result-hero-avatar {
  width: 98px;
  height: 98px;
  border-radius: 30px;
  background: #0f766e;
  border: 1px solid rgba(15, 118, 110, 0.2);
  box-shadow:
    0 18px 34px rgba(15, 118, 110, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.result-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4.7vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  color: #0f172a;
}

.result-hero-school {
  margin: 0.65rem 0 0;
  margin-top: 0.95rem;
  font-size: 1.06rem;
  font-weight: 700;
  color: #475569;
}

.result-hero-note {
  margin: 0;
  color: #000000;
  line-height: 1.6;
}

.result-hero-date {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem;
  width: fit-content;
  margin: 0.95rem 0 0;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid rgba(167, 243, 208, 0.9);
  color: #115e59 !important;
}

.result-hero-badges {
  gap: 0.9rem;
  margin-top: 0;
}

.result-badge {
  min-height: 58px;
  gap: 0.6rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.result-badge i {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ecfdf5;
  color: #0f766e;
}

.result-badge strong,
.result-badge span {
  color: #0f172a;
}

.result-badge span:last-child {
  font-weight: 700;
}

.result-hero-side {
  display: grid;
  gap: 1rem;
}

.result-hero-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.15rem;
  border-radius: 26px;
  background: #f8fafc;
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.result-hero-card .result-insight-label {
  color: #0f766e;
}

.result-hero-card-primary {
  gap: 0.95rem;
}

.result-hero-signal {
  display: grid;
  gap: 0.22rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(203, 213, 225, 0.7);
}

.result-hero-signal:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.result-hero-signal span {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 700;
}

.result-hero-signal strong {
  font-size: 1.02rem;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.result-hero-talent-list {
  display: grid;
  gap: 0.75rem;
}

.result-hero-talent-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
}

.result-hero-talent-rank {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 900;
  color: white;
  background: #0f766e;
  border: 1px solid rgba(15, 118, 110, 0.16);
}

.result-hero-talent-item strong,
.result-hero-talent-item small {
  display: block;
}

.result-hero-talent-item small {
  margin-top: 0.18rem;
  color: #64748b;
}

.result-hero-orb {
  display: none;
}

.result-hero-orb-a {
  top: -3rem;
  right: -2rem;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 66%);
}

.result-hero-orb-b {
  bottom: -4rem;
  left: 28%;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
  animation-delay: -5s;
}

.result-quicknav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.85);
}

.result-quicknav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
  min-height: 58px;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: #f8fafc;
  color: #0f172a;
  font-weight: 800;
  transition:
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.result-quicknav-link i {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(20, 184, 166, 0.1);
  color: var(--brand-dark);
}

.result-quicknav-link:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.42);
  background: #ecfdf5;
  box-shadow: 0 14px 28px rgba(20, 184, 166, 0.1);
}

.result-chart-panel {
  gap: 1.35rem;
  padding: 1.15rem;
  border-radius: 30px;
  background: #ffffff;
}

.result-chart-wrap {
  border-radius: 26px;
  padding: 1.2rem;
  background: #f8fafc;
  border: 1px solid rgba(203, 213, 225, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.result-insight-card,
.mini-score,
.talent-card,
.recommendation-card,
.career-item,
.tips-timeline-item,
.share-panel,
.cta-panel-landing {
  border-color: rgba(203, 213, 225, 0.74);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.result-insight-card {
  border-radius: 26px;
  padding: 1.35rem;
  background: #ffffff;
}

.result-insight-card p {
  color: #475569;
}

.result-riasec-breakdown {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.result-riasec-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.result-riasec-item strong {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #ecfdf5;
  color: #0f766e;
  font-size: 0.85rem;
  flex: none;
}

.result-riasec-item-label {
  display: block;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.result-riasec-item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #475569;
}

.result-insight-steps {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.result-insight-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.result-insight-step strong {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #ecfdf5;
  color: #0f766e;
}

.result-insight-step span {
  color: #334155;
  font-size: 0.94rem;
  line-height: 1.5;
}

.result-focus-panel {
  display: grid;
  gap: 1.35rem;
}

.result-focus-panel .result-insight-card {
  margin-bottom: 0;
}

.result-focus-panel .result-mini-grid {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.result-mini-grid {
  gap: 0.85rem;
}

.mini-score {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 1rem;
  background: #ffffff;
}

.mini-score::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--brand);
}

.talent-grid {
  gap: 1.1rem;
}

.talent-card {
  display: grid;
  gap: 0.9rem;
  border-radius: 24px;
  padding: 1.1rem;
  background: #ffffff;
}

.talent-card-caption {
  display: block;
  min-height: 2.4rem;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.55;
}

.talent-card.is-dominant {
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow:
    0 18px 34px rgba(20, 184, 166, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.recommendation-grid {
  gap: 1.1rem;
}

.recommendation-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 1.25rem;
  background: #ffffff;
}

.recommendation-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--brand);
}

.recommendation-card.is-primary {
  border-color: rgba(45, 212, 191, 0.58);
  background: #f0fdfa;
  box-shadow:
    0 22px 44px rgba(20, 184, 166, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.recommendation-rank {
  background: rgba(20, 184, 166, 0.1);
  color: var(--brand-dark);
}

.career-item {
  border-radius: 24px;
  padding: 1.1rem 1.15rem;
  background: #ffffff;
}

.career-item.is-primary {
  border-color: rgba(45, 212, 191, 0.56);
  background: #f0fdfa;
}

.tips-card {
  border-radius: 28px;
  background: #ffffff;
}

.tips-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  position: relative;
}

.tips-timeline::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: #dbe4f1;
}

.tips-timeline-item {
  position: relative;
  flex: 1 1 0;
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid rgba(203, 213, 225, 0.85);
}

.tips-timeline-index {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #0f766e;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.tips-timeline-content h3 {
  margin: 0;
  font-size: 1rem;
  color: #0f172a;
}

.tips-timeline-content p {
  margin: 0.35rem 0 0;
  color: #475569;
  line-height: 1.65;
}

.share-panel {
  border-radius: 30px;
  padding: 1.35rem;
  background: #ffffff;
}

.share-link-row input {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.cta-panel-landing {
  border-radius: 32px;
  background: #ffffff;
}

@keyframes resultOrbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, 16px, 0) scale(1.05);
  }
}

.answer-helper {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.75);
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.result-card {
  display: grid;
  gap: 0.65rem;
}

.result-card i {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.18);
}

.result-card h3 {
  margin: 0;
}

.result-card p {
  margin: 0;
  color: var(--muted);
}

.section-cta {
  padding-top: 1.5rem;
}

.cta-panel {
  border-radius: 30px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.cta-panel-landing {
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(248, 251, 255, 0.98));
  border-color: rgba(191, 219, 254, 0.95);
}

.cta-copy {
  max-width: 700px;
}

.cta-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.cta-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
}

.cta-list i {
  color: var(--success);
}

.cta-actions-column {
  min-width: 280px;
  flex-direction: column;
  align-items: stretch;
}

.btn-outline {
  border-color: rgba(191, 219, 254, 1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--bg);
}

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

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
}

.footer-brand img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.footer-brand strong {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-left p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--brand-dark);
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .footer-copy {
    white-space: normal;
  }
}

.page-hero {
  padding: 4.5rem 0 5rem;
}

.page-test-hero {
  padding-top: 2.4rem;
}

.page-hero-small .panel {
  max-width: 860px;
  margin: 0 auto;
}

.narrow {
  width: min(100%, 860px);
}

.panel {
  border-radius: 30px;
  padding: 1.6rem;
}

.test-container {
  width: min(calc(100% - 1.5rem), 920px);
}

.test-shell {
  padding: 1.3rem;
}

.test-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.test-header-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--brand);
  box-shadow: 0 10px 18px rgba(20, 184, 166, 0.16);
  font-size: 1.3rem;
  flex: 0 0 auto;
}

.test-header-copy h1 {
  margin: 0.15rem 0 0.35rem;
  letter-spacing: -0.04em;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.test-header-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.test-progress {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.95);
  margin-bottom: 1.1rem;
}

.test-progress-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0.55rem;
}

.test-progress-track span {
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
}

.test-progress-track span.is-active {
  background: var(--brand);
}

.test-progress-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.test-progress-meta strong {
  color: var(--brand-dark);
}

.test-form {
  display: grid;
  gap: 1.3rem;
}

.form-section {
  display: grid;
  gap: 1rem;
}

.form-section-head h2 {
  margin: 0;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
}

.test-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.pill-option {
  position: relative;
  display: grid;
}

.pill-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.pill-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-input);
  background: var(--surface);
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

/* Anchor tag pills (filter tabs) */
a.pill-option.is-selected span,
a.pill-option.is-selected {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
}

/* Radio & Checkbox input pills (driven purely by native :checked) */
.pill-option input:checked + span {
  border-color: var(--brand) !important;
  background: var(--brand-soft) !important;
  color: var(--brand-dark) !important;
  font-weight: 700 !important;
}

.pill-option input:not(:checked) + span {
  border-color: var(--border-input) !important;
  background: var(--surface) !important;
  color: var(--text-body) !important;
  font-weight: 600 !important;
}

.conditional-panels {
  display: grid;
  gap: 1rem;
}

.conditional-panel {
  display: none;
}

.conditional-panel.is-visible {
  display: block;
}

.field-help {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.test-cta {
  display: grid;
  gap: 0.65rem;
}

.test-cta-note {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.test-question-card {
  max-width: 680px;
  margin: 0 auto;
}

.test-progress-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.test-progress-title {
  margin-top: 0.25rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.test-progress-percent {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.test-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 0.9rem;
}

.test-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width 0.25s ease;
}

.test-question-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.82);
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}

.test-question-meta {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.test-question-text {
  font-size: clamp(1.1rem, 2.25vw, 1.55rem);
  line-height: 1.42;
  margin-bottom: 0.95rem;
}

.test-question-helper {
  margin-bottom: 1.3rem;
}

.test-answer-form {
  display: grid;
  gap: 1rem;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.answer-option {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0.7rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  text-align: center;
}

.answer-option:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.answer-option.is-selected {
  border-color: rgba(20, 184, 166, 0.55);
  background: rgba(204, 251, 241, 0.72);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.08);
}

.answer-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.answer-number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 900;
  background: rgba(219, 234, 254, 0.5);
  color: var(--brand-dark);
}

.answer-option.is-selected .answer-number {
  background: var(--brand);
  color: white;
}

.answer-copy {
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--muted);
  min-height: 2.7em;
}

.answer-option.is-selected .answer-copy {
  color: var(--text);
  font-weight: 700;
}

.test-nav-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(248, 251, 255, 0.92);
}

.test-nav-left,
.test-nav-right {
  display: flex;
}

.test-nav-right {
  justify-content: flex-end;
}

.test-nav-note {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.dot-nav {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.dot-nav-item {
  aspect-ratio: 1;
  border-radius: 999px;
  background: #cbd5e1;
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.dot-nav-item.is-done {
  background: rgba(191, 219, 254, 1);
  color: var(--brand-dark);
}

.dot-nav-item.is-active {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: white;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
  transform: translateY(-1px);
}

.test-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(8px);
}

.test-modal-card {
  width: min(100%, 420px);
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  text-align: center;
  border-radius: 28px;
  padding: 1.6rem;
  background: white;
  box-shadow: var(--shadow-lg);
}

.test-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  color: white;
  background: linear-gradient(135deg, var(--success), #34d399);
}

.test-modal-card h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

.test-modal-card p {
  margin: 0;
}

.test-modal-link {
  color: var(--brand-dark);
  font-weight: 800;
}

.test-module-shell {
  max-width: 760px;
  margin: 0 auto;
}

.alert-error {
  background: rgba(254, 242, 242, 0.95);
  color: #b91c1c;
  border: 1px solid rgba(248, 113, 113, 0.25);
}

.panel-spaced {
  padding: 1.35rem;
}

.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.page-header h1 {
  margin: 0;
  letter-spacing: -0.04em;
  font-size: clamp(2rem, 3vw, 3rem);
}

.auth-section {
  padding: 4rem 0 5rem;
}

.auth-container {
  width: min(calc(100% - 2rem), 980px);
}

.auth-card {
  border-radius: 30px;
  padding: 1.6rem;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  animation: floatIn 0.55s ease-out;
}

.auth-card-wide {
  max-width: 760px;
}

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

.auth-head {
  text-align: center;
  margin-bottom: 1.4rem;
}

@media (max-width: 767px) {
  .test-question-card {
    margin-inline: -0.2rem;
  }

  .answer-grid {
    gap: 0.5rem;
  }

  .answer-option {
    padding: 0.85rem 0.45rem;
  }

  .answer-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .answer-copy {
    display: none;
  }

  .test-nav-bar {
    position: sticky;
    bottom: 0.75rem;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    z-index: 20;
    box-shadow: var(--shadow-md);
  }

  .test-nav-note {
    order: -1;
  }

  .test-nav-left,
  .test-nav-right {
    width: 100%;
  }

  .test-nav-left .btn,
  .test-nav-right .btn {
    width: 100%;
  }

  .dot-nav {
    display: none;
  }

  .test-progress-row {
    align-items: center;
  }
}

.auth-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: white;
  margin: 0 auto 1rem;
  background: var(--brand);
  box-shadow: 0 16px 30px rgba(20, 184, 166, 0.16);
}

.auth-head h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group {
  display: grid;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
}

.required-indicator {
  color: var(--danger);
  font-weight: 700;
  margin-left: 0.2rem;
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.field-error,
.form-error {
  color: var(--danger);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.25rem;
  display: block;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon > i {
  position: absolute;
  left: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.input-with-icon input,
.input-with-icon select {
  width: 100%;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-input);
  padding: 0 0.85rem 0 2.5rem;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.input-with-icon select {
  appearance: none;
}

.input-with-icon input:focus,
.input-with-icon select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.input-with-action input {
  padding-right: 2.75rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.8rem;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  z-index: 2;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--brand-dark);
  background: rgba(219, 234, 254, 0.7);
  outline: none;
}

.password-toggle i {
  position: static;
  left: auto;
  color: currentColor;
}

.form-error {
  color: var(--danger);
  font-size: 0.82rem;
}

.form-hint {
  color: var(--muted);
  font-size: 0.82rem;
}

.has-error input,
.has-error select {
  border-color: rgba(239, 68, 68, 0.6) !important;
  background: rgba(254, 242, 242, 0.7);
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.alert-success {
  background: rgba(236, 253, 245, 0.95);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.toast-stack {
  position: fixed;
  top: calc(76px + 1rem);
  right: 1rem;
  z-index: 120;
  display: grid;
  gap: 0.65rem;
  width: min(360px, calc(100vw - 1.5rem));
  pointer-events: none;
}

.toast {
  --toast-accent: var(--brand);
  --toast-duration: 4200ms;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  pointer-events: auto;
  transform-origin: right center;
  animation: toastEnter 0.24s ease-out;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.toast::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--toast-accent);
  transform-origin: left center;
  animation: toastProgress var(--toast-duration) linear forwards;
}

.toast:hover,
.toast:focus-within,
.toast.is-paused {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
  border-color: rgba(148, 163, 184, 0.45);
}

.toast.is-paused::after {
  animation-play-state: paused;
}

.toast.is-leaving {
  pointer-events: none;
  animation: toastExit 0.36s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.toast.is-leaving::after {
  animation-play-state: paused;
}

.toast-icon {
  margin-top: 0.1rem;
  font-size: 1.05rem;
  color: var(--brand-dark);
}

.toast-content {
  display: grid;
  gap: 0.2rem;
}

.toast-content strong {
  color: var(--text);
  font-weight: 800;
}

.toast-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.92rem;
}

.toast-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.toast-close:hover,
.toast-close:focus-visible {
  color: var(--text);
  background: rgba(148, 163, 184, 0.12);
  outline: none;
  transform: rotate(90deg);
}

.toast-success {
  border-left: 4px solid var(--brand);
  --toast-accent: var(--brand);
}

.toast-error {
  border-left: 4px solid var(--danger);
  --toast-accent: var(--danger);
}

.toast-warning {
  border-left: 4px solid #f59e0b;
  --toast-accent: #f59e0b;
}

.toast-info {
  border-left: 4px solid #60a5fa;
  --toast-accent: #60a5fa;
}

@keyframes toastEnter {
  from {
    opacity: 0;
    transform: translateX(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes toastExit {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  35% {
    opacity: 0.96;
    transform: translateX(-8px) scale(0.99);
  }
  to {
    opacity: 0;
    transform: translateX(110%) scale(0.96);
  }
}

@keyframes toastProgress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .toast,
  .toast::after,
  .toast.is-leaving {
    animation: none;
  }

  .toast,
  .toast:hover,
  .toast:focus-within,
  .toast.is-paused {
    transform: none;
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: none;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(248, 113, 113, 0.12), transparent 28%),
    rgba(9, 14, 24, 0.52);
  backdrop-filter: blur(16px) saturate(1.08);
}

.modal-backdrop.is-open {
  display: grid;
}

.modal-card {
  width: min(560px, 100%);
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 24px 70px rgba(2, 8, 23, 0.18),
    0 8px 24px rgba(15, 23, 42, 0.08);
}

.confirm-modal-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  animation: confirmCardIn 0.2s ease-out;
}

.confirm-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 2;
}

.confirm-modal-close:hover {
  background: var(--bg-alt);
  border-color: var(--border-input);
  color: var(--text);
}

.confirm-modal-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--danger);
  background: #fef2f2;
  border: 1px solid #fee2e2;
  font-size: 1.15rem;
}

.confirm-modal-content {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding-right: 1.5rem;
}

.confirm-modal-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--danger);
}

.confirm-modal-content h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.01em;
}

.confirm-modal-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.confirm-modal-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.confirm-modal-actions .btn {
  height: 44px;
  padding: 0 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}

.confirm-modal-backdrop[data-confirm-variant="warning"] .confirm-modal-icon {
  color: var(--warning);
  background: #fffbeb;
  border-color: #fef3c7;
}

.confirm-modal-backdrop[data-confirm-variant="warning"] .confirm-modal-kicker {
  color: #b45309;
}

.confirm-modal-backdrop[data-confirm-variant="danger"] .confirm-modal-icon {
  color: var(--danger);
  background: #fef2f2;
  border-color: #fee2e2;
}

.confirm-modal-backdrop[data-confirm-variant="danger"] .confirm-modal-kicker {
  color: #dc2626;
}

@keyframes confirmCardIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
}

@media (max-width: 640px) {
  .confirm-modal-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.2rem;
  }

  .confirm-modal-close {
    top: 0.9rem;
    right: 0.9rem;
  }

  .confirm-modal-icon {
    width: 3.7rem;
    height: 3.7rem;
  }

  .confirm-modal-content {
    padding-right: 0;
  }

  .confirm-modal-content h2,
  .confirm-modal-content p {
    max-width: none;
  }

  .confirm-modal-actions {
    flex-direction: column-reverse;
  }

  .confirm-modal-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .confirm-modal-card,
  .confirm-modal-close {
    animation: none;
    transition: none;
  }
}

.btn-danger {
  color: #fff;
  background: var(--danger);
  border-color: var(--danger);
}

.btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--muted);
  line-height: 1.5;
}

.checkbox-line input {
  margin-top: 0.2rem;
}

.auth-meta {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.35rem;
  text-align: center;
  color: var(--muted);
}

.mini-note {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: inherit;
  font-size: 0.9rem;
  box-sizing: border-box;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.btn:hover {
  transform: none;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.btn-sm {
  height: 36px;
  padding: 0 0.85rem;
  font-size: 0.82rem;
}

.btn-lg {
  height: 48px;
  padding: 0 1.75rem;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  box-shadow: none;
}

.btn-secondary,
.btn-ghost {
  color: var(--text-body);
  border-color: var(--border-input);
  background: var(--surface);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--bg-alt);
  color: var(--text);
  border-color: var(--muted);
}

.btn-ghost {
  background: transparent;
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.metric-card strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.empty-state {
  margin-top: 1rem;
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
}

.empty-state i {
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.result-card {
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--border);
}

.result-card h3 {
  margin: 0 0 0.45rem;
}

.result-card p {
  margin: 0;
  font-weight: 700;
  color: var(--brand-dark);
}

.narrow .panel {
  padding: 2rem;
}

.dashboard-section .panel-header {
  margin-bottom: 1rem;
}

.panel-header h2 {
  margin-bottom: 0.35rem;
}

.dashboard-container {
  display: grid;
  gap: 1.25rem;
}

.page-questions .dashboard-container {
  width: min(calc(100% - 1rem), 1360px);
}

.dashboard-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
}

.dashboard-hero h1 {
  margin-top: 0.35rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.dashboard-hero-meta {
  display: grid;
  justify-items: end;
  gap: 0.75rem;
}

.dashboard-hero-meta .btn {
  padding: 0.9rem 1.35rem;
}

.dashboard-date {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.72);
  border: 1px solid rgba(191, 219, 254, 0.95);
  color: var(--brand-dark);
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-stats-grid-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.analytics-panel {
  display: grid;
  gap: 1rem;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.analytics-card,
.class-progress-card {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
}

.analytics-card h3,
.class-progress-panel h3 {
  margin: 0;
  font-size: 1rem;
}

.analytics-card strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1.05;
  color: var(--text);
}

.analytics-card p,
.analytics-card-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.analytics-card-note {
  font-size: 0.88rem;
  font-weight: 700;
}

.analytics-bar-chart {
  display: grid;
  gap: 0.9rem;
}

.analytics-bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 0.35rem 0.75rem;
}

.analytics-bar-label {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.analytics-bar-label strong {
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.analytics-bar-label span,
.class-progress-head span,
.class-progress-card p,
.analytics-empty {
  color: var(--muted);
  font-size: 0.88rem;
}

.analytics-bar-track {
  grid-column: 1 / -1;
  order: 3;
  position: relative;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.82);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
}

.analytics-bar-fill {
  display: block;
  min-width: 6px;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14b8a6, #2563eb);
}

.analytics-bar-fill-alt {
  background: linear-gradient(90deg, #3b82f6, #7c3aed);
}

.analytics-bar-fill-soft {
  background: linear-gradient(90deg, #0f766e, #22c55e);
}

.analytics-bar-value {
  color: var(--brand-dark);
  font-size: 0.88rem;
  text-align: right;
}

.analytics-empty,
.class-progress-card p {
  margin: 0;
}

.class-progress-panel {
  display: grid;
  gap: 0.85rem;
}

.class-progress-title-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  display: inline-block;
}

.legend-dot-success {
  background: #14b8a6;
}

.legend-dot-warning {
  background: #f59e0b;
}

.legend-dot-muted {
  background: #cbd5e1;
}

.class-progress-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.class-progress-head > div {
  display: grid;
  gap: 0.15rem;
}

.class-progress-stack {
  display: flex;
  width: 100%;
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.82);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
}

.stack-segment {
  min-width: 0;
  height: 100%;
}

.stack-segment-success {
  background: #14b8a6;
}

.stack-segment-warning {
  background: #f59e0b;
}

.stack-segment-muted {
  background: #cbd5e1;
}

.metric-card-link {
  display: block;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.metric-card-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.metric-card-link.is-active-tab {
  border-color: rgba(20, 184, 166, 0.55);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.08);
}

.metric-card-link.is-active-tab .metric-label,
.metric-card-link.is-active-tab strong {
  color: var(--brand-dark);
}

.dashboard-panel {
  padding: 1.35rem;
}

.dashboard-split {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(320px, 0.74fr);
  gap: 1rem;
  align-items: stretch;
}

.page-questions .dashboard-panel {
  padding: 1.2rem;
}

.question-bank-panel {
  display: grid;
  gap: 0.95rem;
}

.question-bank-toolbar {
  align-items: flex-start;
}

.question-bank-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.question-add-button {
  min-height: 46px;
  padding-inline: 1.15rem;
}

.question-bank-summary {
  margin-bottom: 0;
}

.question-bank-table-wrap {
  overflow-x: auto;
}

.question-format-pills {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.question-status-pills {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.question-options-panel {
  display: grid;
  gap: 0.9rem;
  padding: 0.95rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

.question-options-panel:not(.is-visible) {
  display: none;
}

.question-option-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(160px, 0.8fr);
  gap: 0.7rem;
}

.question-modal-card {
  width: min(920px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.25rem;
}

.superadmin-modal-card {
  width: min(1040px, 100%);
}

.question-modal-backdrop {
  align-items: center;
  justify-items: center;
}

.question-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.question-modal-header h2 {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.question-modal-header p {
  margin: 0;
  color: var(--muted);
}

.modal-close-button {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  cursor: pointer;
}

.modal-close-button:hover {
  color: var(--text);
  background: rgba(241, 245, 249, 0.96);
}

.question-form {
  display: grid;
  gap: 0.9rem;
}

.question-form .form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.question-modal-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.question-text-cell {
  display: grid;
  gap: 0.2rem;
}

.question-text-cell strong {
  line-height: 1.45;
  font-size: 0.96rem;
}

.question-text-cell span,
.question-options-preview {
  color: var(--muted);
  font-size: 0.88rem;
}

.question-bank-summary {
  margin-bottom: 1rem;
}

.question-bank-summary p {
  margin: 0;
}

.question-table td:nth-child(3) {
  width: auto;
  min-width: 0;
}

.question-table td:nth-child(5) {
  min-width: 190px;
}

.question-table th,
.question-table td {
  padding: 1rem 1.15rem;
  vertical-align: middle;
}

.question-table thead th {
  background: var(--bg-alt);
}

.question-table tbody tr:hover {
  background: var(--bg);
}

.question-table td strong {
  overflow-wrap: break-word;
}

.question-row-actions,
.dashboard-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.question-row-actions .inline-form,
.dashboard-row-actions .inline-form {
  margin: 0;
}

.question-add-button {
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.question-add-button:hover {
  box-shadow: var(--shadow-md);
}

.page-class-codes .dashboard-container {
  width: min(calc(100% - 1rem), 1360px);
}

.page-superadmin .dashboard-container {
  width: min(calc(100% - 1rem), 1360px);
}

.page-class-codes .dashboard-panel {
  padding: 1.2rem;
}

.page-superadmin .dashboard-panel {
  padding: 1.2rem;
}

.superadmin-compact-list {
  display: grid;
  gap: 0.75rem;
}

.class-code-alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.class-code-alert strong {
  display: block;
  margin-bottom: 0.35rem;
}

.class-code-alert-copy-text {
  margin: 0;
  color: inherit;
  opacity: 0.9;
}

.class-code-alert-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.class-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 184, 166, 0.28);
  background: rgba(204, 251, 241, 0.72);
  color: var(--brand-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.class-code-pill.is-compact {
  min-height: 36px;
  padding: 0.4rem 0.75rem;
  font-size: 0.88rem;
}

.class-code-cell {
  display: grid;
  gap: 0.3rem;
}

.class-code-row-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.class-code-copy-button {
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
}

.class-code-copy-button.is-copied {
  color: var(--brand-dark);
  border-color: rgba(20, 184, 166, 0.38);
}

.class-code-copy-button i {
  font-size: 0.9rem;
}

.class-code-table {
  table-layout: fixed;
  min-width: 0;
}

.class-code-table th,
.class-code-table td {
  padding: 0.95rem 0.9rem;
}

.class-code-table th:nth-child(1),
.class-code-table td:nth-child(1) {
  width: 142px;
}

.class-code-table th:nth-child(2),
.class-code-table td:nth-child(2) {
  width: auto;
}

.class-code-table th:nth-child(3),
.class-code-table td:nth-child(3) {
  width: 118px;
}

.class-code-table th:nth-child(4),
.class-code-table td:nth-child(4) {
  width: 86px;
}

.class-code-table th:nth-child(5),
.class-code-table td:nth-child(5) {
  width: 108px;
}

.class-code-table th:nth-child(6),
.class-code-table td:nth-child(6) {
  width: 128px;
}

.class-code-table th:nth-child(7),
.class-code-table td:nth-child(7) {
  width: 220px;
}

.class-code-table td:nth-child(2) strong,
.class-code-table td:nth-child(2) span {
  overflow-wrap: anywhere;
}

.class-code-table .status-badge {
  min-width: 78px;
  justify-content: center;
}

.class-code-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.class-code-actions .inline-form {
  margin: 0;
}

.class-code-archived-label {
  min-height: 34px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
}

.class-code-form {
  display: grid;
  gap: 0.95rem;
}

.class-code-form .form-group input {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  padding: 0.8rem 0.95rem;
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.class-code-form .form-group input:focus {
  border-color: rgba(20, 184, 166, 0.55);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.08);
  background: white;
}

.class-code-form .btn-block {
  min-height: 50px;
}

.class-code-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(20, 184, 166, 0.18);
  background: rgba(204, 251, 241, 0.28);
}

.class-code-note i {
  color: var(--brand-dark);
  margin-top: 0.2rem;
}

.class-code-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.class-code-generated {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(20, 184, 166, 0.22);
  background: rgba(247, 252, 252, 0.95);
}

.class-code-generated strong {
  font-size: 1.05rem;
}

.class-code-generated p {
  margin: 0;
  color: var(--muted);
}

.dashboard-panel-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}

.dashboard-panel-header .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.question-form .form-group input,
.question-form .form-group select,
.question-form .form-group textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  padding: 0.8rem 0.95rem;
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.question-form .form-group textarea {
  min-height: 128px;
}

.question-form .form-group select {
  appearance: none;
}

.question-form .form-group input:focus,
.question-form .form-group select:focus,
.question-form .form-group textarea:focus {
  border-color: rgba(20, 184, 166, 0.55);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.08);
  background: white;
}

.question-form .form-group textarea {
  line-height: 1.55;
}

.question-form .btn-block {
  min-height: 50px;
}

.dashboard-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
  flex: 1 1 320px;
  min-width: 0;
  max-width: 100%;
  justify-content: flex-end;
}

.dashboard-search input {
  min-width: 0;
  min-height: 48px;
  padding: 0.6rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  box-sizing: border-box;
}

.dashboard-search input[type="search"],
.dashboard-search input[type="text"] {
  flex: 1 1 200px;
}

.dashboard-search input[type="date"] {
  flex: 0 1 150px;
}

.dashboard-search input::placeholder {
  color: #94a3b8;
}

.dashboard-search .btn {
  min-height: 48px;
  padding: 0 1.35rem;
  flex: 0 0 auto;
}

.dashboard-search-date-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 1 auto;
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.dashboard-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
}

.filter-chip {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-weight: 700;
}

.filter-chip.is-active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.dashboard-table th,
.dashboard-table td {
  text-align: left;
  padding: 1rem 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
  vertical-align: top;
}

.dashboard-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(248, 251, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 1;
}

.dashboard-table tbody tr:hover {
  background: rgba(219, 234, 254, 0.35);
}

.student-cell {
  display: grid;
  gap: 0.2rem;
}

.student-cell strong {
  font-size: 0.98rem;
}

.student-cell span {
  color: var(--muted);
  font-size: 0.88rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.status-badge-success {
  color: #065f46;
  background: rgba(209, 250, 229, 0.95);
}

.status-badge-muted {
  color: #475569;
  background: rgba(226, 232, 240, 0.95);
}

.dashboard-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.pagination-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pagination-counter {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero-grid,
  .step-grid,
  .feature-grid,
  .metric-grid,
  .stat-grid,
  .result-grid,
  .results-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 430px;
  }

  .step-flow {
    grid-template-columns: 1fr;
  }

  .step-arrow {
    display: none;
  }

  .cta-panel,
  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .test-grid,
  .choice-pills {
    grid-template-columns: 1fr;
  }

  .result-chart-panel,
  .recommendation-grid,
  .talent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-page-nav,
  .share-link-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-stats-grid-compact,
  .analytics-grid,
  .class-progress-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-panel-header,
  .dashboard-pagination,
  .class-progress-title-row {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
  }

  .dashboard-search {
    flex: 0 1 auto;
    width: 100%;
    justify-content: flex-start;
  }

  .dashboard-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .question-form-panel {
    position: static;
  }

  .question-option-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    transform-origin: top;
    transform: scaleY(0.95) translateY(-6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1) translateY(0);
  }

  .teacher-profile-menu {
    width: 100%;
  }

  .teacher-profile-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .teacher-profile-copy {
    flex: 1;
  }

  .teacher-profile-dropdown {
    position: static;
    width: 100%;
    margin-top: 0.55rem;
    box-shadow: none;
  }

  .nav-menu-minimal {
    display: flex !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    width: auto !important;
  }

  .hero,
  .content-section,
  .auth-section,
  .page-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-grid,
  .step-grid,
  .feature-grid,
  .metric-grid,
  .stat-grid,
  .result-grid,
  .grid-2,
  .results-layout {
    grid-template-columns: 1fr;
  }

  .result-chart-panel,
  .recommendation-grid,
  .talent-grid {
    grid-template-columns: 1fr;
  }

  .result-hero {
    grid-template-columns: 1fr;
  }

  .result-hero-avatar {
    width: 72px;
    height: 72px;
    border-radius: 22px;
  }

  .result-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-stats-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-stats-grid-compact,
  .analytics-grid,
  .class-progress-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hero {
    flex-direction: column;
  }

  .dashboard-hero-meta {
    justify-items: start;
  }

  .class-code-alert {
    flex-direction: column;
    align-items: flex-start;
  }

  .class-code-alert-copy {
    width: 100%;
  }

  .class-code-row-tools {
    width: 100%;
  }

  .dashboard-search {
    flex-wrap: wrap;
  }

  .dashboard-search input {
    min-width: 100%;
    width: 100%;
  }

  .dashboard-search-date-group {
    width: 100%;
  }

  .question-format-pills {
    grid-template-columns: 1fr;
  }

  .question-modal-backdrop {
    align-items: flex-start;
    justify-items: stretch;
    overflow-y: auto;
    padding: 0.75rem;
  }

  .question-modal-card {
    width: 100%;
    max-height: calc(100dvh - 1.5rem);
    border-radius: 20px;
    padding: 1rem;
  }

  .question-modal-header {
    margin-bottom: 0.9rem;
  }

  .question-modal-header h2 {
    font-size: 1.2rem;
  }

  .question-form {
    gap: 0.8rem;
  }

  .question-modal-actions .btn {
    min-height: 46px;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-visual {
    display: none;
    min-height: 0;
  }

  .visual-card-primary,
  .visual-card-secondary,
  .visual-card-tertiary {
    position: relative;
    inset: auto;
    width: min(320px, 100%);
    transform: none;
  }

  .hero-visual {
    gap: 1rem;
    display: grid;
  }

  .visual-backdrop {
    display: none;
  }

  .step-flow {
    gap: 0.85rem;
  }

  .step-arrow {
    display: none;
  }

  .results-preview {
    display: none;
  }

  .auth-card,
  .panel {
    padding: 1.25rem;
  }

  .cta-actions-column {
    width: 100%;
    min-width: 0;
  }

  .test-shell {
    padding: 1.25rem;
  }

  .test-header {
    flex-direction: column;
  }

  .test-header-icon {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 520px) {
  .hero-copy h1,
  .panel h1 {
    font-size: 2rem;
  }

  .nav-inner {
    min-height: 70px;
  }

  .brand-text small {
    display: none;
  }

  .site-nav-test .brand {
    width: 100%;
  }

  .nav-progress-shell {
    width: 100%;
    justify-content: space-between;
  }

  .nav-progress {
    min-width: 0;
    max-width: 100%;
  }

  .nav-progress-label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .btn,
  .btn-lg,
  .btn-sm {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .hero-notes {
    display: grid;
  }

  .hero-proof {
    width: 100%;
    display: grid;
  }

  .test-progress-meta {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .nav-inner-test {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    align-items: stretch;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .nav-progress-shell {
    order: 2;
  }

  /* ── Navigator "Bagian" lebih ringkas biar soal utama tidak perlu di-scroll ── */
  .nav-progress {
    min-height: 34px;
    padding: 0.4rem 0.75rem;
  }

  .nav-progress-kicker {
    min-width: 0;
    min-height: 30px;
    padding: 0.25rem 0.65rem;
  }
}

/* ============================================================
   REDESIGNED LANDING PAGE — Modern & Creative
   ============================================================ */

.page-home {
  --brand: #13A99A;
  --brand-dark: #0c746b;
  --brand-soft: #ddf8f5;
  --lp-blue: #0e8f86;
  --lp-violet: #075e58;
  --lp-rose: #2dd4bf;
  --lp-amber: #88e7dc;
  --lp-mint-soft: #ddf8f5;
  --lp-blue-soft: #d2f4f0;
  --lp-violet-soft: #c7ece7;
  --lp-rose-soft: #ecfffc;
  --lp-amber-soft: #b9f1e9;
  background: #fbfffe;
}

.page-home .site-nav {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: rgba(203, 213, 225, 0.72);
}

.page-home .btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--lp-blue));
  box-shadow: 0 14px 28px rgba(19, 169, 154, 0.2);
}

.page-home .btn-primary:hover {
  background: linear-gradient(135deg, #18b8a9, var(--brand-dark));
  box-shadow: 0 16px 30px rgba(19, 169, 154, 0.26);
}

.page-home .btn-outline {
  border-color: rgba(19, 169, 154, 0.28);
  color: var(--brand-dark);
}

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: none;
  color: var(--brand);
  -webkit-text-fill-color: currentColor;
}

.page-home .gradient-text {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand), #2dd4bf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- Scroll Animations ---------- */
/* Konten hanya disembunyikan saat JS aktif (html.has-js di-set inline di head) */
.has-js .animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
  min-height: max(85vh, 600px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(115deg, rgba(19, 169, 154, 0.18) 0 18%, transparent 18% 100%),
    linear-gradient(245deg, rgba(136, 231, 220, 0.2) 0 15%, transparent 15% 100%),
    linear-gradient(180deg, #edfffc 0%, #fbfffe 48%, #ffffff 100%);
}

.hero-bg-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-decor::before,
.hero-bg-decor::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-bg-decor::before {
  inset: 8% -14% auto auto;
  width: 42%;
  height: 58%;
  background: linear-gradient(135deg, rgba(19, 169, 154, 0.16), rgba(45, 212, 191, 0.1));
  clip-path: polygon(22% 0, 100% 12%, 76% 100%, 0 82%);
}

.hero-bg-decor::after {
  left: 8%;
  right: 8%;
  bottom: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(19, 169, 154, 0.34), rgba(45, 212, 191, 0.28), transparent);
}

.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(19, 169, 154, 0.26);
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-chip-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: chipPulse 2s ease-in-out infinite;
}

@keyframes chipPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.6); }
}

.hero-headline {
  margin: 0 0 1.2rem;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 800;
}

.hero-sub {
  margin: 0 auto 2rem;
  max-width: 580px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

/* glow button */
.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--brand-soft);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.btn-glow:hover::after {
  opacity: 0.45;
}

/* glass button */
.btn-glass {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(203, 213, 225, 0.9);
  backdrop-filter: blur(12px);
  color: var(--text);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.85);
}

/* white button */
.btn-white {
  background: #ffffff;
  color: var(--brand-dark);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: #f0fdfa;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* glass light button */
.btn-glass-light {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  backdrop-filter: blur(8px);
}

.btn-glass-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* hero social proof strip */
.hero-proof-strip {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(203, 213, 225, 0.76);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.proof-stat strong {
  font-size: 1.2rem;
  letter-spacing: 0;
  color: var(--text);
}

.proof-stat span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.proof-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
}

/* hero floating cards */
.hero-float-cards {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.float-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.7);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.float-card i {
  color: var(--brand);
}

.float-card-2 i {
  color: var(--lp-blue);
}

.float-card-3 i {
  color: var(--lp-rose);
}

.float-card-1 {
  top: 22%;
  left: 4%;
  animation: floatA 8s ease-in-out infinite;
}

.float-card-2 {
  top: 30%;
  right: 4%;
  animation: floatB 9s ease-in-out infinite;
}

.float-card-3 {
  bottom: 18%;
  left: 8%;
  animation: floatC 10s ease-in-out infinite;
}

@keyframes floatA {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

@keyframes floatB {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}

@keyframes floatC {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-16px) rotate(-2deg); }
}

/* ---------- Landing Page Sections ---------- */
.lp-section {
  padding: 5.5rem 0;
  position: relative;
  background: #ffffff;
}

.lp-section-alt {
  background:
    linear-gradient(120deg, rgba(221, 248, 245, 0.88), transparent 42%),
    linear-gradient(245deg, rgba(185, 241, 233, 0.7), transparent 38%),
    #fbfffe;
}

.lp-section-dark {
  background:
    linear-gradient(135deg, #082f2c 0%, #0c4a45 48%, #0f766e 100%);
  position: relative;
  overflow: hidden;
}

.lp-section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 78%);
  pointer-events: none;
}

.lp-section-dark::after {
  content: "";
  position: absolute;
  inset: auto 8% 0 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.58), rgba(19, 169, 154, 0.45), transparent);
}

.lp-section-cta {
  padding-bottom: 2rem;
}

/* section headers */
.lp-header,
.lp-header-center {
  margin-bottom: 2.5rem;
}

.lp-header-center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.lp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(19, 169, 154, 0.09);
  border: 1px solid rgba(19, 169, 154, 0.2);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.lp-chip-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.lp-title {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0;
  line-height: 1.1;
  font-weight: 800;
}

.lp-title-light {
  color: #ffffff;
}

.lp-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
  max-width: 56ch;
}

.lp-header-center .lp-desc {
  margin-left: auto;
  margin-right: auto;
}

.lp-desc-light {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Steps Row ---------- */
.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  margin-top: 1.5rem;
}

.step-block {
  flex: 1;
  text-align: center;
  padding: 2.2rem 1.75rem;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s ease,
              border-color 0.28s ease;
}

.step-block:hover {
  transform: translateY(-6px);
  border-color: rgba(19, 169, 154, 0.32);
  box-shadow: 0 20px 48px rgba(19, 169, 154, 0.14);
}

/* Numbered badge top-right */
.step-block::before {
  content: attr(data-step);
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--lp-blue));
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(19, 169, 154, 0.22);
}

.step-block::after,
.benefit-row::after,
.bento-card::after,
.teacher-preview-list span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 38%, rgba(19, 169, 154, 0.12) 48%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.58s ease;
  pointer-events: none;
}

.step-block:hover::after,
.benefit-row:hover::after,
.bento-card:hover::after,
.teacher-preview-list span:hover::after {
  transform: translateX(120%);
}

.step-num {
  display: none; /* replaced by ::before pseudo */
}

.step-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--lp-mint-soft), rgba(221, 248, 245, 0.6));
  color: var(--brand);
  font-size: 1.5rem;
  box-shadow: 0 10px 24px rgba(19, 169, 154, 0.14),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.step-block:hover .step-icon-circle {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 14px 32px rgba(19, 169, 154, 0.22);
}

.step-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.step-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Step connector — animated arrow */
.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  position: relative;
}

.step-connector::before {
  content: "";
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, rgba(19, 169, 154, 0.55), rgba(45, 212, 191, 0.45));
  border-radius: 999px;
  position: relative;
}

.step-connector::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid rgba(19, 169, 154, 0.5);
}

.step-block:nth-of-type(2) .step-icon-circle {
  background: linear-gradient(135deg, var(--lp-blue-soft), rgba(210, 244, 240, 0.6));
  color: var(--lp-blue);
}

.step-block:nth-of-type(3) .step-icon-circle {
  background: linear-gradient(135deg, var(--lp-amber-soft), rgba(185, 241, 233, 0.6));
  color: var(--brand-dark);
}

/* ---------- Module Cards (Dark Section) ---------- */
.module-section {
  background:
    linear-gradient(140deg, rgba(2, 44, 39, 0.96) 0%, rgba(7, 86, 77, 0.96) 46%, rgba(19, 169, 154, 0.94) 100%),
    #0c4a45;
}

.module-section .container {
  position: relative;
  z-index: 1;
}

.module-path-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: fit-content;
  max-width: 100%;
  margin: -0.7rem auto 1.7rem;
  padding: 0.7rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 48px rgba(5, 38, 35, 0.22);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 1;
}

.module-path-step {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.15rem;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  background: rgba(236, 254, 252, 0.92);
  color: #0b5f56;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.module-path-step i {
  color: var(--brand);
}

.module-path-line {
  width: 2.3rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(153, 246, 228, 0.8));
}

.module-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 1;
  align-items: stretch;
}

.mod-card {
  position: relative;
  min-height: 360px;
  padding: 1.25rem;
  border-radius: 22px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(6, 78, 72, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 70px rgba(3, 37, 34, 0.18);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.mod-card:hover,
.mod-card:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(153, 246, 228, 0.66);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.065)),
    rgba(8, 112, 103, 0.8);
  box-shadow: 0 30px 82px rgba(6, 95, 86, 0.28);
  outline: none;
}

.mod-card:focus-visible {
  box-shadow:
    0 0 0 4px rgba(153, 246, 228, 0.18),
    0 30px 82px rgba(6, 95, 86, 0.28);
}

.mod-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.13) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.75s ease;
  pointer-events: none;
}

.mod-card:hover::after,
.mod-card:focus-visible::after {
  transform: translateX(120%);
}

.mod-card-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(153, 246, 228, 0.26), transparent 24%),
    linear-gradient(135deg, rgba(19, 169, 154, 0.18), transparent 48%);
  opacity: 0.48;
  pointer-events: none;
}

.mod-card:hover .mod-card-glow,
.mod-card:focus-visible .mod-card-glow {
  opacity: 0.78;
}

.mod-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.mod-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), #7dd3fc);
  color: white;
  font-size: 1.15rem;
  box-shadow: 0 12px 28px rgba(20, 184, 166, 0.28);
}

.mod-card:nth-child(2) .mod-card-glow {
  background:
    radial-gradient(circle at 18% 12%, rgba(204, 251, 241, 0.26), transparent 24%),
    linear-gradient(135deg, rgba(45, 212, 191, 0.2), transparent 48%);
}

.mod-card:nth-child(2) .mod-card-icon {
  background: linear-gradient(135deg, #2dd4bf, #38bdf8);
}

.mod-card:nth-child(3) .mod-card-glow {
  background:
    radial-gradient(circle at 18% 12%, rgba(153, 246, 228, 0.24), transparent 24%),
    linear-gradient(135deg, rgba(19, 169, 154, 0.18), rgba(99, 102, 241, 0.13) 58%, transparent 82%);
}

.mod-card:nth-child(3) .mod-card-icon {
  background: linear-gradient(135deg, var(--brand), var(--lp-violet));
}

.mod-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.5rem;
  color: #ffffff;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.mod-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  line-height: 1.65;
}

.mod-card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(236, 254, 252, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.mod-visual {
  position: relative;
  z-index: 1;
  min-height: 118px;
  margin-bottom: 1.15rem;
  padding: 0.9rem;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(236, 254, 252, 0.15), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  overflow: hidden;
}

.mod-visual-riasec {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.mod-visual-riasec span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 14px;
  background: rgba(236, 254, 252, 0.12);
  border: 1px solid rgba(153, 246, 228, 0.2);
  color: rgba(236, 254, 252, 0.9);
  font-weight: 900;
  transform: translateY(0);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.mod-visual-riasec span:nth-child(4) {
  background: rgba(236, 254, 252, 0.92);
  color: var(--brand-dark);
}

.mod-card:hover .mod-visual-riasec span,
.mod-card:focus-visible .mod-visual-riasec span {
  transform: translateY(-3px);
}

.mod-card:hover .mod-visual-riasec span:nth-child(2),
.mod-card:focus-visible .mod-visual-riasec span:nth-child(2) {
  transition-delay: 0.04s;
}

.mod-card:hover .mod-visual-riasec span:nth-child(4),
.mod-card:focus-visible .mod-visual-riasec span:nth-child(4) {
  transition-delay: 0.08s;
}

.mod-visual-vark {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 0.55rem;
}

.mod-visual-vark span {
  position: relative;
  min-height: 86px;
  border-radius: 16px;
  background: rgba(236, 254, 252, 0.09);
  border: 1px solid rgba(153, 246, 228, 0.16);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.55rem;
  color: rgba(236, 254, 252, 0.95);
}

.mod-visual-vark span::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bar);
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.94), rgba(19, 169, 154, 0.86));
  transform: scaleY(0.78);
  transform-origin: bottom;
  transition: transform 0.35s ease;
}

.mod-visual-vark b {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
}

.mod-card:hover .mod-visual-vark span::before,
.mod-card:focus-visible .mod-visual-vark span::before {
  transform: scaleY(1);
}

.mod-visual-talent {
  display: grid;
  align-content: center;
  gap: 0.65rem;
}

.mod-visual-talent::before {
  content: "";
  position: absolute;
  left: 1.65rem;
  top: 1.45rem;
  bottom: 1.45rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(153, 246, 228, 0.18), rgba(153, 246, 228, 0.9), rgba(153, 246, 228, 0.18));
}

.mod-visual-talent span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 30px;
  margin-left: 1.8rem;
  padding: 0.36rem 0.65rem;
  border-radius: 999px;
  background: rgba(236, 254, 252, 0.12);
  border: 1px solid rgba(153, 246, 228, 0.18);
  color: rgba(236, 254, 252, 0.92);
  font-size: 0.78rem;
  font-weight: 850;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.mod-visual-talent span::before {
  content: "";
  position: absolute;
  left: -1.78rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: #ccfbf1;
  box-shadow: 0 0 0 5px rgba(153, 246, 228, 0.13);
}

.mod-card:hover .mod-visual-talent span,
.mod-card:focus-visible .mod-visual-talent span {
  transform: translateX(5px);
  background: rgba(236, 254, 252, 0.92);
  color: var(--brand-dark);
}

.mod-card:hover .mod-visual-talent span:nth-child(3),
.mod-card:focus-visible .mod-visual-talent span:nth-child(3) {
  transition-delay: 0.06s;
}

.mod-card-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(236, 254, 252, 0.92);
  font-size: 0.82rem;
  font-weight: 850;
}

.mod-card-footer i {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(236, 254, 252, 0.13);
  color: #ccfbf1;
  transform: translateX(0);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.mod-card:hover .mod-card-footer i,
.mod-card:focus-visible .mod-card-footer i {
  transform: translateX(4px);
  background: rgba(236, 254, 252, 0.92);
  color: var(--brand-dark);
}

.module-section-soft {
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.08), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fffd 0%, #eef8f6 100%);
}

.module-section-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 82%);
  pointer-events: none;
}

.module-section-soft::after {
  content: "";
  position: absolute;
  inset: auto 8% 0 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.18), rgba(56, 189, 248, 0.18), transparent);
  pointer-events: none;
}

.module-section-soft .container {
  position: relative;
  z-index: 1;
}

.module-section-soft .lp-chip {
  background: rgba(20, 184, 166, 0.09);
  border-color: rgba(20, 184, 166, 0.16);
  color: var(--brand-dark);
}

.module-section-soft .lp-title {
  color: var(--text);
}

.module-section-soft .lp-desc {
  color: var(--muted);
}

.module-section-soft .module-path-strip {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(10px);
}

.module-section-soft .module-path-step {
  background: var(--surface-strong);
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
}

.module-section-soft .module-path-line {
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.16), rgba(56, 189, 248, 0.36), rgba(20, 184, 166, 0.16));
}

.module-section-soft .module-path-step i {
  color: var(--brand);
}

.module-section-soft .mod-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.module-section-soft .mod-card:hover,
.module-section-soft .mod-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.18);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.module-section-soft .mod-card::after {
  background: linear-gradient(115deg, transparent 0 44%, rgba(20, 184, 166, 0.08) 50%, transparent 62%);
}

.module-section-soft .mod-card-glow {
  opacity: 0.28;
  background:
    radial-gradient(circle at 18% 12%, rgba(20, 184, 166, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(56, 189, 248, 0.1), transparent 48%);
}

.module-section-soft .mod-card:hover .mod-card-glow,
.module-section-soft .mod-card:focus-visible .mod-card-glow {
  opacity: 0.48;
}

.module-section-soft .mod-card-icon {
  background: linear-gradient(135deg, var(--brand), #38bdf8);
  box-shadow: 0 10px 22px rgba(20, 184, 166, 0.16);
}

.module-section-soft .mod-card:nth-child(2) .mod-card-glow {
  background:
    radial-gradient(circle at 18% 12%, rgba(56, 189, 248, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(20, 184, 166, 0.1), transparent 48%);
}

.module-section-soft .mod-card:nth-child(2) .mod-card-icon {
  background: linear-gradient(135deg, #38bdf8, #14b8a6);
}

.module-section-soft .mod-card:nth-child(3) .mod-card-glow {
  background:
    radial-gradient(circle at 18% 12%, rgba(20, 184, 166, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(56, 189, 248, 0.08) 58%, transparent 82%);
}

.module-section-soft .mod-card:nth-child(3) .mod-card-icon {
  background: linear-gradient(135deg, var(--brand), #818cf8);
}

.module-section-soft .mod-card h3 {
  color: var(--text);
}

.module-section-soft .mod-card p {
  color: var(--muted);
}

.module-section-soft .mod-card-tag {
  background: #f4fffd;
  border: 1px solid rgba(20, 184, 166, 0.16);
  color: var(--brand-dark);
}

.module-section-soft .mod-visual {
  background: #f8fcfb;
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.module-section-soft .mod-visual-riasec span {
  background: #f3faf8;
  border-color: rgba(20, 184, 166, 0.12);
  color: var(--brand-dark);
}

.module-section-soft .mod-visual-riasec span:nth-child(4) {
  background: linear-gradient(135deg, var(--brand-soft), #ecfeff);
  color: var(--brand-dark);
}

.module-section-soft .mod-visual-vark span {
  background: #f4fbfa;
  border-color: rgba(20, 184, 166, 0.12);
  color: var(--brand-dark);
}

.module-section-soft .mod-visual-vark span::before {
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.92), rgba(20, 184, 166, 0.82));
}

.module-section-soft .mod-visual-talent::before {
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.12), rgba(20, 184, 166, 0.7), rgba(20, 184, 166, 0.12));
}

.module-section-soft .mod-visual-talent span {
  background: #f4fbfa;
  border-color: rgba(20, 184, 166, 0.12);
  color: var(--brand-dark);
}

.module-section-soft .mod-visual-talent span::before {
  background: #99f6e4;
  box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.1);
}

.module-section-soft .mod-card:hover .mod-visual-talent span,
.module-section-soft .mod-card:focus-visible .mod-visual-talent span {
  background: #ffffff;
}

.module-section-soft .mod-card-footer {
  border-top-color: rgba(226, 232, 240, 0.95);
  color: var(--brand-dark);
}

.module-section-soft .mod-card-footer i {
  background: rgba(20, 184, 166, 0.08);
  color: var(--brand-dark);
}

.module-section-soft .mod-card:hover .mod-card-footer i,
.module-section-soft .mod-card:focus-visible .mod-card-footer i {
  background: rgba(20, 184, 166, 0.12);
  color: var(--brand-dark);
}

/* ---------- Results Split ---------- */
.results-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

#hasil {
  background:
    linear-gradient(90deg, rgba(221, 248, 245, 0.88), transparent 34%),
    linear-gradient(270deg, rgba(185, 241, 233, 0.72), transparent 34%),
    #ffffff;
}

.benefit-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: var(--surface-strong);
  border: 1px solid rgba(226, 232, 240, 0.7);
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.benefit-row:hover {
  transform: translateX(4px);
  border-color: rgba(19, 169, 154, 0.24);
  box-shadow: 0 4px 18px rgba(19, 169, 154, 0.1);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1rem;
}

.benefit-row:nth-child(2) .benefit-icon {
  background: var(--lp-blue-soft);
  color: var(--lp-blue);
}

.benefit-row:nth-child(3) .benefit-icon {
  background: var(--lp-amber-soft);
  color: #b45309;
}

.benefit-row:nth-child(4) .benefit-icon {
  background: var(--lp-violet-soft);
  color: var(--lp-violet);
}

.benefit-row h4 {
  margin: 0 0 0.15rem;
  font-size: 0.98rem;
  letter-spacing: 0;
}

.benefit-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ---------- Phone Mockup ---------- */
.results-mockup {
  display: flex;
  justify-content: center;
}

.mockup-phone {
  width: 100%;
  max-width: 320px;
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(145deg, #0f172a, #1f3b55);
  box-shadow:
    0 25px 60px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.mockup-notch {
  width: 120px;
  height: 28px;
  margin: 0 auto 12px;
  border-radius: 0 0 18px 18px;
  background: #0f172a;
}

.mockup-screen {
  border-radius: 24px;
  padding: 16px;
  background: linear-gradient(180deg, #f8fafc, #eefcf8);
  display: grid;
  gap: 10px;
}

.mockup-card {
  padding: 14px;
  border-radius: 16px;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.mockup-card-accent {
  background: linear-gradient(135deg, var(--lp-mint-soft), var(--lp-blue-soft));
  border-color: rgba(19, 169, 154, 0.22);
}

.mockup-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.mockup-card strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: 0.6rem;
}

.mockup-card ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
}

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

.mockup-chips span {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(20, 184, 166, 0.15);
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ---------- Bento Grid ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.bento-wide {
  grid-column: span 2;
}

.bento-card {
  padding: 1.8rem 1.5rem;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid rgba(226, 232, 240, 0.75);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(19, 169, 154, 0.24);
  box-shadow: 0 12px 32px rgba(19, 169, 154, 0.11);
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.bento-card:nth-child(2) .bento-icon {
  background: var(--lp-blue-soft);
  color: var(--lp-blue);
}

.bento-card:nth-child(3) .bento-icon {
  background: var(--lp-rose-soft);
  color: var(--lp-rose);
}

.bento-card:nth-child(4) .bento-icon {
  background: var(--lp-violet-soft);
  color: var(--lp-violet);
}

.bento-card:nth-child(5) .bento-icon {
  background: var(--lp-amber-soft);
  color: #b45309;
}

.bento-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.bento-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.advantages-section {
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(221, 248, 245, 0.94), transparent 48%),
    linear-gradient(250deg, rgba(185, 241, 233, 0.68), transparent 42%),
    #fbfffe;
}

.advantages-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 169, 154, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(19, 169, 154, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 78%);
  pointer-events: none;
}

.advantages-section .container,
.advantages-section .lp-header-center {
  position: relative;
  z-index: 1;
}

.advantages-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.advantages-grid .bento-card {
  min-height: 252px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(236, 255, 252, 0.84));
  border-color: rgba(19, 169, 154, 0.16);
  box-shadow: 0 18px 42px rgba(8, 47, 44, 0.08);
}

.advantages-grid .bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(19, 169, 154, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(45, 212, 191, 0.1), transparent 38%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.advantages-grid .bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(19, 169, 154, 0.34);
  box-shadow: 0 22px 52px rgba(8, 47, 44, 0.14);
}

.advantages-grid .bento-card:hover::before {
  opacity: 1;
}

.advantages-grid .bento-card > * {
  position: relative;
  z-index: 1;
}

.bento-feature {
  grid-column: span 7;
}

.bento-free {
  grid-column: span 5;
}

.bento-mobile,
.bento-privacy,
.bento-report {
  grid-column: span 4;
}

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

.advantages-grid .bento-icon {
  margin-bottom: 0;
  background: #e2faf6;
  color: var(--brand-dark);
  box-shadow: inset 0 0 0 1px rgba(19, 169, 154, 0.14);
}

.bento-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(19, 169, 154, 0.1);
  border: 1px solid rgba(19, 169, 154, 0.16);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.advantages-grid .bento-card h3 {
  font-size: 1.18rem;
}

.advantages-grid .bento-card p {
  max-width: 44ch;
}

/* (visual dekoratif bento lama dihapus — diganti .bento-emoji, lihat section BENTO REFRESH) */

/* ---------- Teacher CTA ---------- */
.lp-section-teacher {
  background:
    linear-gradient(120deg, rgba(7, 94, 88, 0.98) 0%, rgba(12, 116, 107, 0.98) 50%, rgba(19, 169, 154, 0.96) 100%);
  color: white;
  overflow: hidden;
}

.lp-section-teacher::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.38), transparent 74%);
  pointer-events: none;
}

.lp-section-teacher::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 8px;
  background: linear-gradient(90deg, #88e7dc, #13A99A, #ddf8f5);
  opacity: 0.92;
}

.teacher-cta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.7fr);
  gap: 4rem;
  align-items: center;
}

.teacher-cta-copy {
  max-width: 650px;
}

.teacher-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.teacher-insight-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.6rem;
  max-width: 650px;
}

.teacher-insight-row div {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 0.45rem;
  padding: 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.teacher-insight-row div:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.teacher-insight-row i {
  color: #b9f1e9;
  font-size: 1rem;
}

.teacher-insight-row span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.teacher-dashboard-preview {
  padding: 1rem;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 72px rgba(4, 47, 46, 0.26);
  transform: rotate(0.8deg);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.teacher-dashboard-preview:hover {
  transform: rotate(0deg) translateY(-4px);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: 0 32px 82px rgba(4, 47, 46, 0.34);
}

.teacher-preview-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.teacher-preview-header span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.teacher-preview-header strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.05rem;
}

.teacher-preview-header em {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 900;
}

.teacher-preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0.8rem 0;
}

.teacher-preview-metrics div {
  padding: 0.95rem 0.8rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  align-content: center;
  gap: 0.42rem;
  min-height: 82px;
  transition: transform 0.22s ease, background 0.22s ease;
}

.teacher-preview-metrics div:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.17);
}

.teacher-preview-metrics i,
.teacher-preview-metrics span {
  display: block;
}

.teacher-preview-metrics i {
  color: #ddf8f5;
  font-size: 1.1rem;
}

.teacher-preview-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
}

.teacher-preview-list {
  display: grid;
  gap: 0.55rem;
}

.teacher-preview-list span {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}

.teacher-preview-list span:hover {
  transform: translateX(4px);
  background: #ffffff;
}

.teacher-preview-list i {
  color: var(--brand);
}

/* ---------- FAQ ---------- */
.faq-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfffe 48%, #f0fffc 100%);
}

.faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 169, 154, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(19, 169, 154, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 72%);
  pointer-events: none;
}

.faq-container {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
}

.faq-shell {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 1rem;
  align-items: start;
}

.faq-guide {
  position: sticky;
  top: 96px;
  padding: 1.25rem;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(7, 94, 88, 0.96), rgba(19, 169, 154, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
  box-shadow: 0 24px 58px rgba(8, 47, 44, 0.16);
  overflow: hidden;
}

.faq-guide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.46), transparent 72%);
  pointer-events: none;
}

.faq-guide > * {
  position: relative;
  z-index: 1;
}

.faq-guide-kicker {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ddf8f5;
  font-size: 0.76rem;
  font-weight: 900;
}

.faq-guide h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.18;
}

.faq-guide-flow {
  display: grid;
  gap: 0.55rem;
  margin: 1.35rem 0;
}

.faq-guide-flow span {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.78rem 0.85rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 0.22s ease, background 0.22s ease;
}

.faq-guide-flow span:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.18);
}

.faq-guide-flow i {
  color: #b9f1e9;
}

.faq-guide-actions {
  display: grid;
  gap: 0.65rem;
}

.faq-guide .btn-glass {
  color: white;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.faq-content-panel {
  min-width: 0;
}

.faq-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
  padding: 0.6rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(19, 169, 154, 0.12);
  box-shadow: 0 14px 34px rgba(8, 47, 44, 0.06);
}

.faq-filter-row button {
  min-height: 38px;
  padding: 0.5rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.faq-filter-row button:hover {
  transform: translateY(-1px);
  background: rgba(19, 169, 154, 0.08);
  color: var(--brand-dark);
}

.faq-filter-row button.is-active {
  background: linear-gradient(135deg, var(--brand), var(--lp-blue));
  border-color: rgba(19, 169, 154, 0.18);
  color: white;
  box-shadow: 0 10px 20px rgba(19, 169, 154, 0.15);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  padding: 0.8rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(19, 169, 154, 0.12);
  box-shadow: 0 20px 52px rgba(8, 47, 44, 0.08);
  backdrop-filter: blur(12px);
}

.faq-item {
  border-radius: 18px;
  border: 1px solid rgba(19, 169, 154, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 255, 252, 0.78));
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.faq-item.is-filtered-out {
  display: none;
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(19, 169, 154, 0.24);
  box-shadow: 0 12px 30px rgba(19, 169, 154, 0.1);
}

.faq-item[open] {
  border-color: rgba(19, 169, 154, 0.28);
  box-shadow: 0 16px 38px rgba(19, 169, 154, 0.12);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.2rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  display: none;
  content: "";
}

.faq-question-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.95rem;
  box-shadow: inset 0 0 0 1px rgba(19, 169, 154, 0.14);
}

.faq-item summary span {
  flex: 1;
}

.faq-chevron {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(19, 169, 154, 0.08);
  font-size: 0.8rem;
  color: var(--brand-dark);
  transition: transform 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  background: rgba(19, 169, 154, 0.14);
}

.faq-body {
  padding: 0 1.2rem 1.2rem 4.85rem;
  position: relative;
}

.faq-body::before {
  content: "";
  position: absolute;
  left: 2.28rem;
  top: 0.12rem;
  bottom: 1.35rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), transparent);
  opacity: 0.28;
}

.faq-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ---------- CTA Box ---------- */
.cta-box {
  border-radius: 30px;
  padding: 3rem 2.5rem;
  background: linear-gradient(135deg, #0f766e 0%, #0e7490 50%, #6d28d9 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-box-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.cta-box-content h2 {
  margin: 0.5rem 0 0.6rem;
  color: white;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 0;
  line-height: 1.15;
}

.cta-box-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.cta-checks {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.cta-checks li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.95rem;
}

.cta-checks i {
  color: #5eead4;
}

.cta-box-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 220px;
}

/* ---------- Footer Polish ---------- */
.footer-logo-img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: contain;
}

/* ============================================================
   LANDING PAGE RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-section {
    min-height: auto;
    padding: 5rem 0 3.5rem;
  }

  .hero-float-cards {
    display: none;
  }

  .steps-row {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .step-connector {
    display: none;
  }

  .step-block {
    flex: 1 1 calc(33.333% - 0.75rem);
    min-width: 220px;
  }

  .module-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-cards .mod-card:first-child {
    grid-column: span 2;
  }

  .module-path-strip {
    flex-wrap: wrap;
    width: 100%;
    border-radius: 24px;
  }

  .module-path-line {
    flex: 0 1 1.6rem;
  }

  .results-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-wide {
    grid-column: span 2;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantages-grid .bento-card,
  .advantages-grid .bento-feature,
  .advantages-grid .bento-free,
  .advantages-grid .bento-mobile,
  .advantages-grid .bento-privacy,
  .advantages-grid .bento-report {
    grid-column: span 1;
  }

  .advantages-grid .bento-feature {
    grid-column: span 2;
  }

  .teacher-cta {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .teacher-dashboard-preview {
    max-width: 520px;
  }

  .teacher-insight-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .faq-shell {
    grid-template-columns: 1fr;
  }

  .faq-guide {
    position: relative;
    top: auto;
  }

  .faq-guide-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .faq-guide-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 2rem;
  }

  .cta-box-actions {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 820px) {
  .hero-section {
    padding: 3.5rem 0 2.5rem;
  }

  .hero-headline {
    font-size: clamp(2.2rem, 7vw, 3.2rem);
  }

  .hero-proof-strip {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    border-radius: 20px;
    padding: 0.85rem 1.2rem;
  }

  .proof-dot {
    display: none;
  }

  .step-block {
    flex: 1 1 100%;
  }

  .module-cards,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .module-cards .mod-card:first-child {
    grid-column: span 1;
  }

  .module-path-strip {
    justify-content: flex-start;
    margin-top: -0.4rem;
  }

  .module-path-line {
    display: none;
  }

  .module-path-step {
    flex: 1 1 calc(50% - 0.7rem);
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .mod-card {
    min-height: 0;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
  }

  .advantages-grid .bento-card,
  .advantages-grid .bento-feature,
  .advantages-grid .bento-report {
    grid-column: span 1;
  }

  .results-mockup {
    display: none;
  }

  .teacher-cta-actions {
    width: 100%;
  }

  .teacher-cta-actions .btn {
    flex: 1 1 180px;
  }

  .teacher-insight-row {
    grid-template-columns: 1fr;
  }

  .teacher-insight-row div {
    min-height: 0;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .cta-box {
    padding: 2rem 1.5rem;
    border-radius: 24px;
  }
}

@media (max-width: 520px) {
  .hero-section {
    padding: 2.5rem 0 2rem;
  }

  .hero-headline {
    font-size: 2.1rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .hero-proof-strip {
    width: 100%;
    justify-content: space-around;
  }

  .teacher-dashboard-preview {
    display: none;
  }

  .module-path-strip {
    padding: 0.55rem;
  }

  .module-path-step {
    flex-basis: 100%;
    min-height: 2.35rem;
  }

  .mod-card {
    padding: 1rem;
    border-radius: 20px;
  }

  .mod-card-top {
    align-items: flex-start;
  }

  .mod-card-tag {
    white-space: normal;
    text-align: center;
  }

  .mod-visual {
    min-height: 102px;
  }

  .faq-list {
    padding: 0.55rem;
    border-radius: 20px;
  }

  .faq-guide {
    padding: 1rem;
  }

  .faq-guide-flow {
    grid-template-columns: 1fr;
  }

  .faq-guide-actions {
    grid-template-columns: 1fr;
  }

  .faq-filter-row {
    padding: 0.45rem;
  }

  .faq-filter-row button {
    flex: 1 1 calc(50% - 0.55rem);
  }

  .faq-item summary {
    padding: 1rem;
    align-items: flex-start;
  }

  .faq-question-icon,
  .faq-chevron {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .faq-body {
    padding: 0 1rem 1rem 1rem;
  }

  .faq-body::before {
    display: none;
  }

  .teacher-cta-actions {
    flex-direction: column;
  }

  .teacher-cta-actions .btn {
    width: 100%;
  }

  .lp-section {
    padding: 3.5rem 0;
  }

  .lp-title {
    font-size: 1.75rem;
  }

  .cta-box-actions .btn {
    width: 100%;
  }
}


/* ============================================================
   UI POLISH — Enhanced Steps, Hero & General Improvements
   ============================================================ */

/* ---------- Steps Section Background ---------- */
.lp-section-steps {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5fffe 60%, #edfcf9 100%);
  position: relative;
  overflow: hidden;
}

.lp-section-steps::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(19, 169, 154, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(45, 212, 191, 0.07) 0%, transparent 45%);
  pointer-events: none;
}

/* ---------- Steps CTA Strip ---------- */
.steps-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(19, 169, 154, 0.12);
}

.steps-cta-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.steps-cta-note i {
  color: var(--brand);
}

/* ---------- Step Block Improvements ---------- */
.step-block {
  position: relative;
}

/* Gradient top border on hover */
.step-block::before {
  content: attr(data-step);
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--lp-blue));
  color: white;
  font-size: 0.7rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(19, 169, 154, 0.22);
  z-index: 2;
}

/* Active top accent line */
.step-block:hover::before {
  box-shadow: 0 8px 20px rgba(19, 169, 154, 0.35);
  transform: scale(1.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

/* ---------- Hero Section Enhancements ---------- */
.hero-headline strong {
  font-weight: 900;
}

/* Animated underline on hero gradient text */
.page-home .gradient-text {
  position: relative;
}

.page-home .hero-headline .gradient-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand), #2dd4bf);
  opacity: 0.45;
}

/* ---------- Section Divider Dots ---------- */
.lp-section + .lp-section::before {
  /* subtle top separator already handled per-section */
}

/* ---------- Proof Strip Counter Animation ---------- */
.proof-stat strong {
  display: inline-block;
  transition: transform 0.3s ease;
}

.hero-proof-strip:hover .proof-stat strong {
  transform: scale(1.06);
}

/* ---------- Module Cards — Richer Visual ---------- */
.mod-card {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)),
    rgba(6, 78, 72, 0.74);
}

/* Subtle top gradient line on each card */
.mod-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, rgba(153, 246, 228, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.mod-card:hover::before,
.mod-card:focus-visible::before {
  opacity: 1;
}

/* ---------- Benefit Row — Stronger Icon ---------- */
.benefit-icon {
  box-shadow: 0 6px 16px rgba(19, 169, 154, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-row:hover .benefit-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 10px 22px rgba(19, 169, 154, 0.2);
}

/* ---------- Bento Cards — Depth ---------- */
.advantages-grid .bento-card {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 42px rgba(8, 47, 44, 0.08);
}

/* ---------- FAQ Item — Smoother Open ---------- */
.faq-body {
  animation: faqOpen 0.22s ease-out;
}

@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Navbar — Stronger Brand ---------- */
.brand-text strong {
  font-size: 0.96rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* ---------- Button Improvements ---------- */
.btn-primary {
  letter-spacing: -0.01em;
}

.btn-lg {
  padding: 1rem 1.4rem;
  font-size: 1rem;
  border-radius: 18px;
}

/* ---------- Responsive Steps ---------- */
@media (max-width: 1024px) {
  .steps-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-connector {
    display: none;
  }

  .step-block {
    flex: 1 1 100%;
  }
}

@media (max-width: 820px) {
  .steps-cta {
    margin-top: 2rem;
  }

  .steps-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .step-block {
    padding: 1.5rem 1.25rem;
  }

  .step-icon-circle {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }
}

/* ============================================================
   RIASEC TEST PAGE — Modern & Interactive
   ============================================================ */

/* ── Page shell ── */
.riasec-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #f0fdf9 0%, #ecfdf5 40%, #f8fafc 100%);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* ── Thin animated top progress bar ── */
.rq-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(20, 184, 166, 0.15);
  z-index: 200;
}

.rq-topbar-fill {
  height: 100%;
  background: linear-gradient(90deg, #14b8a6, #34d399);
  border-radius: 0 999px 999px 0;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.5);
}

/* ── Layout ── */
.rq-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 2rem;
  padding-bottom: 3rem;
  max-width: 760px;
}

/* ── Header ── */
.rq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.rq-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rq-module-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.22);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rq-counter {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ── Circular progress ring ── */
.rq-pct-ring {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.rq-pct-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.rq-ring-bg {
  fill: none;
  stroke: rgba(20, 184, 166, 0.12);
  stroke-width: 3;
}

.rq-ring-fill {
  fill: none;
  stroke: url(#rq-gradient);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dasharray 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.rq-ring-fill-module {
  stroke: url(#rq-gradient-module);
}

.rq-pct-ring span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--brand-dark);
}

/* ── Dot navigator ── */
.rq-dots {
  display: grid;
  grid-template-columns: repeat(var(--rq-total, 12), 1fr);
  gap: 6px;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(8px);
}

.rq-dot {
  width: 100%;
  height: 32px;
  border-radius: 8px;
  background: #e2e8f0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.rq-dot.is-done {
  background: rgba(20, 184, 166, 0.18);
  color: var(--brand-dark);
}

.rq-dot.is-current {
  background: var(--brand);
  color: white;
  transform: scale(1.15);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.rq-dot.is-skipped {
  background: rgba(245, 158, 11, 0.18);
  color: #92400e;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35);
}

.rq-dot.is-updated {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.82), rgba(37, 99, 235, 0.96));
  color: #eff6ff;
  box-shadow:
    0 0 0 2px rgba(59, 130, 246, 0.44),
    0 0 18px rgba(59, 130, 246, 0.34),
    0 10px 24px rgba(37, 99, 235, 0.26);
}

.rq-dot.is-current.is-updated {
  background: linear-gradient(135deg, #14b8a6, #3b82f6 45%, #1d4ed8);
  color: #fff;
  box-shadow:
    0 0 0 3px rgba(20, 184, 166, 0.22),
    0 0 0 6px rgba(59, 130, 246, 0.28),
    0 0 22px rgba(59, 130, 246, 0.32),
    0 12px 28px rgba(37, 99, 235, 0.24);
}

.rq-dot:hover {
  transform: scale(1.1);
  background: var(--brand-dark);
  color: white;
}

/* ── Question card ── */
.rq-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 20px 50px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  animation: rqCardIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rqCardIn {
  from { opacity: 0; transform: translateY(16px) scale(0.99); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.rq-card-inner {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.rq-greeting {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.rq-label {
  margin: 0 0 0.75rem;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rq-question {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ── Scale answer buttons ── */
.rq-form {
  padding: 1.5rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rq-scale {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.rq-scale-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 0.6rem 1rem;
  border-radius: 18px;
  border: 2px solid rgba(226, 232, 240, 0.9);
  background: rgba(248, 250, 252, 0.8);
  cursor: pointer;
  text-align: center;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.2s ease;
  user-select: none;
}

.rq-scale-item input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.rq-scale-item:hover {
  border-color: rgba(20, 184, 166, 0.4);
  background: rgba(204, 251, 241, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.1);
}

.rq-scale-item.is-selected {
  border-color: var(--brand);
  background: linear-gradient(160deg, rgba(204, 251, 241, 0.9), rgba(167, 243, 208, 0.5));
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 12px 28px rgba(20, 184, 166, 0.18),
    0 0 0 4px rgba(20, 184, 166, 0.1);
}

.rq-scale-emoji {
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.rq-scale-item:hover .rq-scale-emoji,
.rq-scale-item.is-selected .rq-scale-emoji {
  transform: scale(1.2) rotate(-5deg);
}

.rq-scale-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.3;
  transition: color 0.2s ease;
}

.rq-scale-item.is-selected .rq-scale-label {
  color: var(--brand-dark);
}

.rq-scale-short {
  display: none; /* shown on mobile */
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.rq-scale-rich {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.rq-scale-item-rich {
  position: relative;
  min-height: 148px;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.05rem 1.05rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.92)),
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.16), transparent 52%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  isolation: isolate;
  text-align: left;
}

.rq-scale-item-rich::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  top: -64px;
  right: -42px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.22), rgba(20, 184, 166, 0));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  z-index: 0;
}

.rq-scale-item-rich::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.65);
  pointer-events: none;
  z-index: 0;
}

.rq-scale-meta,
.rq-scale-label-rich,
.rq-scale-short {
  position: relative;
  z-index: 1;
}

.rq-scale-meta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.rq-scale-item-rich:hover {
  border-color: rgba(45, 212, 191, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(236, 253, 245, 0.9)),
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.22), transparent 52%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 22px 38px rgba(20, 184, 166, 0.14),
    0 10px 24px rgba(15, 23, 42, 0.08);
}

.rq-scale-item-rich:hover::before,
.rq-scale-item-rich.is-selected::before {
  transform: translate(-10px, 10px) scale(1.18);
}

.rq-scale-item-rich.is-selected {
  border-color: rgba(20, 184, 166, 0.12);
  background:
    linear-gradient(155deg, rgba(236, 253, 245, 0.98), rgba(204, 251, 241, 0.92)),
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.24), transparent 58%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 24px 48px rgba(20, 184, 166, 0.16),
    0 0 0 1px rgba(20, 184, 166, 0.12);
}

.rq-scale-item-rich[data-option-tone="V"]::before {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.28), rgba(6, 182, 212, 0));
}

.rq-scale-item-rich[data-option-tone="A"]::before {
  background: radial-gradient(circle, rgba(34, 197, 94, 0.24), rgba(34, 197, 94, 0));
}

.rq-scale-item-rich[data-option-tone="R"]::before {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.24), rgba(59, 130, 246, 0));
}

.rq-scale-item-rich[data-option-tone="K"]::before {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.24), rgba(249, 115, 22, 0));
}

.rq-scale-value {
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(219, 234, 254, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 20px rgba(59, 130, 246, 0.12);
  color: var(--brand-dark);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease;
}

.rq-scale-item.is-selected .rq-scale-value {
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.95), rgba(13, 148, 136, 1));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 24px rgba(20, 184, 166, 0.24);
}

.rq-scale-item-rich:hover .rq-scale-value,
.rq-scale-item-rich.is-selected .rq-scale-value {
  transform: translateY(-2px) scale(1.04);
}

.rq-scale-helper {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  color: var(--brand-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, color 0.25s ease;
}

.rq-scale-item-rich:hover .rq-scale-helper,
.rq-scale-item-rich.is-selected .rq-scale-helper {
  transform: translateX(-2px);
  background: rgba(255, 255, 255, 0.88);
}

.rq-scale-item-rich[data-option-tone="V"] .rq-scale-helper {
  color: #0891b2;
}

.rq-scale-item-rich[data-option-tone="A"] .rq-scale-helper {
  color: #15803d;
}

.rq-scale-item-rich[data-option-tone="R"] .rq-scale-helper {
  color: #2563eb;
}

.rq-scale-item-rich[data-option-tone="K"] .rq-scale-helper {
  color: #c2410c;
}

.rq-scale-label-rich {
  min-height: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.rq-scale-item.is-selected .rq-scale-label-rich {
  color: var(--text);
}

/* ── Nav bar ── */
.rq-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.rq-nav-hint {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

/* ── Layar "pendidikan-lanjut": alasan muncul kalau jawab "Tidak" ── */
.pendidikan-lanjut-reason {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.pendidikan-lanjut-reason.is-visible {
  display: flex;
}

.pendidikan-lanjut-reason label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.pendidikan-lanjut-reason textarea {
  resize: vertical;
  width: 100%;
  min-height: 110px;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  background: rgba(248, 250, 252, 0.6);
  color: var(--text);
  font: inherit;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pendidikan-lanjut-reason textarea::placeholder {
  color: var(--muted);
}

.pendidikan-lanjut-reason textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.rq-review-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.25rem;
}

/* ── Buttons ── */
.rq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.rq-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
}

.rq-btn-back {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(226, 232, 240, 0.7);
  color: var(--muted);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.rq-btn-back:not(:disabled):hover {
  background: rgba(226, 232, 240, 1);
  color: var(--text);
  transform: translateX(-2px);
}

.rq-btn-next {
  padding: 0.75rem 1.4rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.25);
}

.rq-btn-next:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 184, 166, 0.35);
}

.rq-btn-primary {
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  box-shadow: 0 10px 24px rgba(20, 184, 166, 0.25);
}

.rq-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.35);
}

.rq-btn-full {
  width: 100%;
}

/* ── Complete modal ── */
.rq-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(10px);
}

.rq-modal {
  width: min(100%, 420px);
  border-radius: 28px;
  padding: 2rem;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  animation: rqModalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rqModalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

.rq-modal-icon {
  font-size: 3rem;
  line-height: 1;
  animation: rqBounce 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes rqBounce {
  from { transform: scale(0.5); opacity: 0; }
  70%  { transform: scale(1.15); }
  to   { transform: scale(1); opacity: 1; }
}

.rq-modal h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.rq-modal p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.rq-modal-back {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.rq-modal-back:hover {
  color: var(--brand-dark);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .rq-wrap {
    padding-top: 0.6rem;
    padding-bottom: 2rem;
    gap: 0.65rem;
  }

  .rq-header {
    gap: 0.6rem;
  }

  .rq-module-badge {
    padding: 0.3rem 0.7rem;
    font-size: 0.72rem;
  }

  .rq-counter {
    font-size: 0.8rem;
  }

  .rq-pct-ring {
    width: 42px;
    height: 42px;
  }

  .rq-pct-ring span {
    font-size: 0.64rem;
  }

  .rq-card-inner {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .rq-form {
    padding: 1.25rem 1.25rem 1.5rem;
    gap: 1rem;
  }

  .rq-scale {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .rq-scale-label {
    display: none;
  }

  .rq-scale-short {
    display: block;
  }

  .rq-scale-item {
    padding: 1rem 0.5rem;
  }

  .rq-scale-rich {
    grid-template-columns: 1fr;
  }

  .rq-scale-rich .rq-scale-label {
    display: block;
  }

  .rq-scale-rich .rq-scale-short {
    display: none;
  }

  .rq-scale-item-rich {
    min-height: 0;
    padding: 1rem 0.95rem;
  }

  .rq-scale-label-rich {
    font-size: 0.84rem;
  }

  .rq-scale-meta {
    gap: 0.65rem;
  }

  .rq-nav {
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
  }

  .rq-nav-hint {
    font-size: 0.78rem;
  }

  .rq-review-actions {
    justify-content: stretch;
  }

  .rq-review-actions .rq-btn {
    width: 100%;
  }

  .rq-question {
    font-size: 1.25rem;
  }
}

@media (max-width: 400px) {
  .rq-scale {
    grid-template-columns: repeat(2, 1fr);
  }

  .rq-btn-next {
    padding: 0.75rem 1rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 1100px) {
  .result-hero-grid {
    grid-template-columns: 1fr;
  }

  .result-quicknav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .result-hero-brief-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .result-page {
    padding-top: 1.5rem;
  }

  .result-page .content-section {
    padding: 3rem 0;
  }

  .result-page .section-heading {
    margin-bottom: 1.2rem;
  }

  .result-page-nav {
    padding: 0.9rem;
  }

  .result-hero {
    padding: 1.35rem;
    border-radius: 28px;
  }

  .result-hero-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .result-hero-identity {
    grid-template-columns: 1fr;
  }

  .result-hero-brief-grid {
    grid-template-columns: 1fr;
  }

  .result-hero-avatar {
    width: 82px;
    height: 82px;
    border-radius: 24px;
  }

  .result-hero-card,
  .result-insight-card,
  .recommendation-card,
  .talent-card,
  .career-item,
  .share-panel,
  .cta-panel-landing {
    padding: 1rem;
  }

  .result-chart-wrap {
    height: 320px;
    padding: 1rem;
  }

  .result-quicknav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-badge {
    width: 100%;
  }

  .recommendation-card-head,
  .career-meter {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .recommendation-card {
    gap: 0.9rem;
  }

  .recommendation-card > p:not(.match-label),
  .major-detail-block p,
  .major-detail-list {
    line-height: 1.78;
  }

  .major-detail-stack {
    gap: 1.2rem;
  }

  .tips-timeline {
    flex-direction: column;
    gap: 0.9rem;
  }

  .tips-timeline::before {
    display: none;
  }
}

@media (max-width: 520px) {
  .result-page::before,
  .result-page::after {
    opacity: 0.45;
    transform: scale(0.82);
  }

  .result-page-nav-actions {
    width: 100%;
  }

  .result-page-nav-actions .btn {
    width: 100%;
  }

  .result-hero {
    padding: 1.1rem;
  }

  .result-hero-copy h1 {
    font-size: 2.15rem;
  }

  .result-hero-identity,
  .result-hero-brief {
    padding: 1rem;
  }

  .result-hero-topline {
    gap: 0.7rem;
  }

  .result-hero-kicker,
  .result-hero-slug {
    width: 100%;
    justify-content: center;
  }

  .result-hero-identity {
    gap: 0.85rem;
  }

  .result-hero-school {
    font-size: 0.96rem;
  }

  .result-hero-date {
    width: 100%;
    justify-content: center;
  }

  .result-hero-badges {
    gap: 0.65rem;
  }

  .result-badge {
    min-height: 0;
    padding: 0.8rem 0.85rem;
    border-radius: 18px;
  }

  .result-badge i {
    width: 32px;
    height: 32px;
  }

  .result-hero-signal strong {
    font-size: 0.96rem;
  }

  .result-hero-card,
  .share-panel,
  .result-chart-panel,
  .tips-card {
    border-radius: 24px;
  }

  .result-chart-wrap {
    height: 270px;
    padding: 0.85rem;
  }

  .result-page .section-heading h2 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .result-quicknav {
    grid-template-columns: 1fr;
  }

  .result-quicknav-link {
    justify-content: flex-start;
  }

  .result-mini-grid {
    grid-template-columns: 1fr;
  }

  .recommendation-card-head,
  .career-item-main,
  .career-meter {
    flex-direction: column;
    align-items: flex-start;
  }

  .recommendation-card {
    gap: 0.95rem;
  }

  .recommendation-card h3 {
    line-height: 1.14;
  }

  .major-detail-stack {
    gap: 1.15rem;
  }

  .major-detail-block {
    gap: 0.6rem;
  }

  .major-detail-block strong {
    line-height: 1.35;
  }

  .major-detail-block p,
  .major-detail-list {
    line-height: 1.75;
  }

  .career-meter strong {
    min-width: 0;
    text-align: left;
  }

  .share-link-row,
  .share-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .share-link-row .btn,
.share-actions .btn {
    width: 100%;
    padding: 1.05rem 1.25rem;
  }
}

/* ---------- Landing Page Flat Overrides ---------- */
.page-home .advantages-section,
.page-home .lp-section-teacher,
.page-home .faq-section,
.page-home .lp-section-cta {
  background: #f8fffe;
}

.page-home .advantages-section::before,
.page-home .lp-section-teacher::before,
.page-home .lp-section-teacher::after,
.page-home .faq-section::before,
.page-home .cta-box::before {
  content: none;
}

.page-home .advantages-section .gradient-text,
.page-home .faq-section .gradient-text {
  background: none;
  color: var(--brand-dark);
  -webkit-text-fill-color: currentColor;
}

.page-home .advantages-section .lp-title,
.page-home .faq-section .lp-title {
  color: var(--text);
}

.page-home .advantages-section .lp-desc,
.page-home .faq-section .lp-desc {
  color: var(--muted);
}

.page-home .advantages-section .advantages-grid .bento-card,
.page-home .lp-section-teacher .teacher-dashboard-preview,
.page-home .faq-section .faq-guide,
.page-home .faq-section .faq-content-panel,
.page-home .faq-section .faq-list,
.page-home .faq-section .faq-item,
.page-home .lp-section-cta .cta-box {
  background: #ffffff;
}

.page-home .advantages-section .advantages-grid .bento-card,
.page-home .lp-section-teacher .teacher-dashboard-preview,
.page-home .faq-section .faq-guide,
.page-home .faq-section .faq-content-panel,
.page-home .faq-section .faq-list,
.page-home .faq-section .faq-item,
.page-home .lp-section-cta .cta-box {
  border-color: rgba(203, 213, 225, 0.8);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.page-home .advantages-section .advantages-grid .bento-card::before,
.page-home .advantages-section .advantages-grid .bento-card::after,
.page-home .lp-section-teacher .teacher-dashboard-preview::before,
.page-home .faq-section .faq-guide::before,
.page-home .faq-section .faq-item::before,
.page-home .lp-section-cta .cta-box::before {
  content: none;
}

.page-home .advantages-section .advantages-grid .bento-card {
  border-radius: 20px;
}

.page-home .advantages-section .advantages-grid .bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.22);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.page-home .advantages-section .bento-icon,
.page-home .advantages-section .advantages-grid .bento-icon {
  background: var(--brand-soft);
  color: var(--brand-dark);
  box-shadow: none;
}

.page-home .advantages-section .bento-kicker {
  background: #f8fafc;
  border-color: var(--border);
  color: var(--brand-dark);
}

.page-home .lp-section-teacher {
  color: var(--text);
}

.page-home .lp-section-teacher .lp-chip-light {
  background: var(--brand-soft);
  border-color: rgba(20, 184, 166, 0.18);
  color: var(--brand-dark);
}

.page-home .lp-section-teacher .lp-title-light,
.page-home .lp-section-teacher .lp-desc-light {
  color: var(--text);
}

.page-home .lp-section-teacher .teacher-insight-row div,
.page-home .lp-section-teacher .teacher-preview-metrics div,
.page-home .lp-section-teacher .teacher-preview-list span {
  background: #f8fafc;
  border-color: var(--border);
}

.page-home .lp-section-teacher .teacher-insight-row div:hover,
.page-home .lp-section-teacher .teacher-preview-metrics div:hover,
.page-home .lp-section-teacher .teacher-preview-list span:hover {
  background: #ffffff;
  border-color: rgba(20, 184, 166, 0.22);
}

.page-home .lp-section-teacher .teacher-insight-row i,
.page-home .lp-section-teacher .teacher-insight-row span,
.page-home .lp-section-teacher .teacher-preview-metrics span,
.page-home .lp-section-teacher .teacher-preview-header span {
  color: var(--muted);
}

.page-home .lp-section-teacher .teacher-preview-header {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}

.page-home .lp-section-teacher .teacher-preview-header em {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.page-home .lp-section-teacher .teacher-preview-metrics i {
  color: var(--brand-dark);
}

.page-home .lp-section-teacher .teacher-preview-list span {
  color: var(--text);
}

.page-home .lp-section-teacher .btn-glass-light,
.page-home .lp-section-cta .btn-glass-light {
  background: #ffffff;
  border-color: rgba(20, 184, 166, 0.22);
  color: var(--brand-dark);
}

.page-home .lp-section-teacher .btn-glass-light:hover,
.page-home .lp-section-cta .btn-glass-light:hover {
  background: #f0fdfa;
}

.page-home .faq-guide {
  color: var(--text);
}

.page-home .faq-guide-kicker {
  background: var(--brand-soft);
  border-color: rgba(20, 184, 166, 0.16);
  color: var(--brand-dark);
}

.page-home .faq-guide-flow span {
  background: #f8fafc;
  border-color: var(--border);
  color: var(--text);
}

.page-home .faq-guide-flow i {
  color: var(--brand);
}

.page-home .faq-guide .btn-glass {
  background: #ffffff;
  border-color: rgba(20, 184, 166, 0.2);
  color: var(--brand-dark);
}

.page-home .faq-guide .btn-glass:hover {
  background: #f0fdfa;
}

.page-home .faq-filter-row {
  background: #ffffff;
}

.page-home .faq-filter-row button.is-active {
  background: var(--brand);
  color: #ffffff;
  box-shadow: none;
}

.page-home .faq-item {
  background: #ffffff;
}

.page-home .faq-body p {
  color: var(--muted);
}

.page-home .lp-section-cta {
  padding-bottom: 3rem;
}

.page-home .cta-box {
  border-radius: 28px;
}

.page-home .cta-box-content h2,
.page-home .cta-box-content p,
.page-home .cta-checks li {
  color: var(--text);
}

.page-home .cta-checks i {
  color: var(--brand);
}

.page-home .cta-box-actions .btn-white {
  background: #ffffff;
  border-color: rgba(20, 184, 166, 0.2);
}

.page-home .cta-box-actions .btn-white:hover {
  background: #f0fdfa;
}

.result-page .btn-instagram-story {
  background: #ffffff;
  border-color: rgba(225, 48, 108, 0.22);
  color: #c13584;
}

.result-page .btn-instagram-story i {
  color: #e1306c;
}

.result-page .btn-instagram-story:hover {
  background: #fff5f8;
}

.result-page .btn-instagram-download {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

.result-page .btn-instagram-download i {
  color: #0f172a;
}

.result-page .btn-instagram-download:hover {
  background: #f8fafc;
}

.result-page .share-note-story {
  margin-top: 0.45rem;
  color: #64748b;
}

.result-page .share-note-story[data-story-tone='success'] {
  color: #0f766e;
}

.result-page .share-note-story[data-story-tone='warning'] {
  color: #b45309;
}

.result-page .share-note-story[data-story-tone='error'] {
  color: #b91c1c;
}

.result-hero .result-hero-copy p,
.result-hero .result-hero-school,
.result-hero .result-hero-brief-note,
.result-hero .result-hero-note,
.result-hero .result-hero-signal span {
  color: #475569;
}

.result-hero .result-hero-copy h1 {
  color: #0f172a;
}

.result-hero .result-hero-brief .result-insight-label,
.result-hero .result-hero-kicker {
  color: #0f766e;
}

/* ============================================================
   QUICK WINS — Aksesibilitas & Konsistensi Halaman Tes
   ============================================================ */

/* ── Focus ring untuk kontrol dengan radio tersembunyi ── */
.rq-scale-item:focus-within,
.pill-option:focus-within span {
  outline: 3px solid rgba(20, 184, 166, 0.5);
  outline-offset: 2px;
}

.rq-dot:focus-visible,
.rq-btn:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.5);
  outline-offset: 2px;
}

/* ── Kontras & keterbacaan label jawaban ── */
.rq-scale-label {
  font-size: 0.8rem;
  color: #475569;
}

.rq-scale-short {
  font-size: 0.78rem;
}

.rq-dot {
  color: #475569;
}

/* ── Hormati preferensi gerakan minimal ── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rq-card,
  .rq-modal,
  .rq-modal-icon {
    animation: none;
  }

  .rq-topbar-fill,
  .rq-ring-fill,
  .rq-scale-item,
  .rq-scale-emoji,
  .rq-dot,
  .rq-btn {
    transition: none;
  }

  .rq-scale-item:hover,
  .rq-scale-item.is-selected {
    transform: none;
  }

  .rq-scale-item:hover .rq-scale-emoji,
  .rq-scale-item.is-selected .rq-scale-emoji {
    transform: none;
  }

  .rq-dot.is-current,
  .rq-dot:hover,
  .rq-btn-back:not(:disabled):hover,
  .rq-btn-next:not(:disabled):hover,
  .rq-btn-primary:hover {
    transform: none;
  }

  .animate-on-scroll,
  .has-js .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Cue "maju" saat jawaban dipilih (menunggu auto-submit) ── */
.rq-card.is-advancing .rq-btn-next {
  animation: rqAdvancePulse 0.6s ease-in-out infinite;
}

@keyframes rqAdvancePulse {
  50% {
    box-shadow: 0 0 0 7px rgba(20, 184, 166, 0.18);
  }
}

/* ── Dot navigator: geser ke samping di layar kecil, bukan turun ke baris baru ── */
@media (max-width: 640px) {
  .rq-dots {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 8px;
    padding: 0.5rem 0.7rem;
    scrollbar-width: none;
  }

  .rq-dots::-webkit-scrollbar {
    display: none;
  }

  .rq-dot {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    font-size: 0.76rem;
    scroll-snap-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rq-card.is-advancing .rq-btn-next {
    animation: none;
  }
}

/* ============================================================
   BENTO REFRESH — Flat, Clean & Fun (halaman /)
   ============================================================ */
.page-home .advantages-section .advantages-grid .bento-card {
  min-height: 0;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 1.6rem;
  border-radius: 20px;
  box-shadow: none;
}

.page-home .advantages-section .advantages-grid .bento-card:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.bento-emoji {
  display: block;
  font-size: 2.3rem;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.page-home .advantages-section .advantages-grid .bento-card h3 {
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  margin: 0;
}

.page-home .advantages-section .advantages-grid .bento-card p {
  font-size: 0.95rem;
  color: #475569;
}

/* Tint flat per kartu — warna solid, tanpa gradient/shadow */
.page-home .advantages-grid .bento-card.bento-feature {
  background: #f0fdfa;
  border-color: #99f6e4;
}

.page-home .advantages-grid .bento-card.bento-feature:hover {
  border-color: #2dd4bf;
}

.page-home .advantages-grid .bento-card.bento-free {
  background: #fffbeb;
  border-color: #fde68a;
}

.page-home .advantages-grid .bento-card.bento-free:hover {
  border-color: #fbbf24;
}

.page-home .advantages-grid .bento-card.bento-mobile {
  background: #f0f9ff;
  border-color: #bae6fd;
}

.page-home .advantages-grid .bento-card.bento-mobile:hover {
  border-color: #38bdf8;
}

.page-home .advantages-grid .bento-card.bento-privacy {
  background: #f5f3ff;
  border-color: #ddd6fe;
}

.page-home .advantages-grid .bento-card.bento-privacy:hover {
  border-color: #a78bfa;
}

.page-home .advantages-grid .bento-card.bento-report {
  background: #fff1f2;
  border-color: #fecdd3;
}

.page-home .advantages-grid .bento-card.bento-report:hover {
  border-color: #fb7185;
}

@media (prefers-reduced-motion: reduce) {
  .bento-card,
  .page-home .advantages-section .advantages-grid .bento-card:hover {
    transition: none;
    transform: none;
  }
}

/* FIXED SCHOOL FIELD */
.input-with-icon input[readonly] {
  background: var(--bg-alt);
  color: var(--muted);
  cursor: not-allowed;
}
