@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap");

:root {
  --bg: #f3f0e8;
  --bg-soft: #fbf8f1;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-muted: #e8edf1;
  --text: #102136;
  --text-soft: #56657a;
  --heading: #0f2239;
  --primary: #12385f;
  --primary-strong: #0d2a47;
  --secondary: #1f8b84;
  --accent: #e2b44b;
  --accent-soft: #f5e0a4;
  --success: #2d8659;
  --warning: #c7862e;
  --danger: #b5554d;
  --border: rgba(16, 33, 54, 0.1);
  --shadow: 0 24px 80px rgba(16, 33, 54, 0.12);
  --shadow-soft: 0 16px 40px rgba(16, 33, 54, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

html[data-theme='dark'] {
  --bg: #0d1623;
  --bg-soft: #101f31;
  --surface: rgba(17, 31, 49, 0.86);
  --surface-strong: #16263a;
  --surface-muted: #1d3048;
  --text: #e9eef3;
  --text-soft: #9fb1c4;
  --heading: #f7fbff;
  --primary: #5f95c2;
  --primary-strong: #8ab3d6;
  --secondary: #6fc5ba;
  --accent: #f0c15b;
  --accent-soft: #3b321d;
  --success: #52bc86;
  --warning: #ebb664;
  --danger: #dd8d84;
  --border: rgba(233, 238, 243, 0.12);
  --shadow: 0 28px 90px rgba(3, 8, 17, 0.45);
  --shadow-soft: 0 18px 44px rgba(3, 8, 17, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Aptos', 'Segoe UI Variable Display', 'Trebuchet MS', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(226, 180, 75, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(31, 139, 132, 0.15), transparent 24%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  color: var(--text);
  min-height: 100vh;
}

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

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

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

button {
  cursor: pointer;
}

main {
  display: block;
}

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

.top-disclaimer {
  background: linear-gradient(90deg, rgba(16, 33, 54, 0.96), rgba(23, 54, 88, 0.92));
  color: #f7f8fa;
  padding: 14px 0;
  font-size: 0.92rem;
}

.top-disclaimer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.disclaimer-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  backdrop-filter: blur(16px);
  background: rgba(243, 240, 232, 0.72);
  border-bottom: 1px solid var(--border);
}

html[data-theme='dark'] .site-header {
  background: rgba(13, 22, 35, 0.72);
}

.site-header .container,
.site-footer .container,
.section-head,
.hero,
.dual-panel,
.course-banner,
.dashboard-hero {
  display: flex;
  gap: 28px;
}

.site-header .container {
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 12px 28px rgba(18, 56, 95, 0.28);
}

.brand-copy strong {
  display: block;
  color: var(--heading);
  font-size: 1.05rem;
}

.brand-copy span {
  display: block;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.nav-links,
.header-actions,
.inline-actions,
.badge-row,
.metric-inline,
.filters,
.tab-strip,
.payment-methods,
.upload-meta,
.stat-row,
.notice-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  transition: 0.24s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(18, 56, 95, 0.08);
  color: var(--heading);
}

.btn,
.ghost-btn,
.theme-toggle,
.icon-btn,
.filter-btn,
.tab-btn,
.pill,
.progress-tag,
.status-pill {
  border: 0;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn,
.ghost-btn,
.theme-toggle,
.filter-btn,
.tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-weight: 700;
}

.btn:hover,
.ghost-btn:hover,
.theme-toggle:hover,
.filter-btn:hover,
.tab-btn:hover,
.icon-btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(18, 56, 95, 0.22);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent) 0%, #f0ca74 100%);
  color: #31220c;
  box-shadow: 0 12px 26px rgba(226, 180, 75, 0.25);
}

.ghost-btn,
.theme-toggle,
.filter-btn,
.tab-btn {
  background: rgba(255, 255, 255, 0.66);
  color: var(--heading);
  border: 1px solid var(--border);
}

html[data-theme='dark'] .ghost-btn,
html[data-theme='dark'] .theme-toggle,
html[data-theme='dark'] .filter-btn,
html[data-theme='dark'] .tab-btn {
  background: rgba(17, 31, 49, 0.82);
}

.filter-btn.is-active,
.tab-btn.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 56, 95, 0.18);
}

.theme-toggle,
.icon-btn {
  width: 48px;
  height: 48px;
  padding: 0;
}

.icon-btn {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  color: var(--heading);
}

.section {
  padding: 88px 0;
}

.section.compact {
  padding: 52px 0;
}

.section-head {
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.kicker,
.meta-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.82rem;
}

.section-head h1,
.section-head h2,
.hero-copy h1,
.dashboard-hero h1,
.course-banner h1,
.auth-copy h1,
.page-hero h1,
.admin-hero h1 {
  margin: 10px 0 0;
  font-family: 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  color: var(--heading);
  line-height: 1.04;
}

.section-head h2,
.page-hero h1,
.admin-hero h1 {
  font-size: clamp(2rem, 2.9vw, 3.2rem);
}

.section-copy,
.section-head p,
.hero-copy p,
.auth-copy p,
.page-hero p,
.card-copy,
.faq-answer,
.footnote,
.table-note,
.empty-state p,
.metric-card p,
.plan-summary p,
.hero-note,
.stat-copy p,
.dashboard-copy p,
.list-copy,
.timeline-copy,
.form-helper,
.editor-note,
.resource-item p {
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-wrap {
  padding: 40px 0 50px;
}

.hero,
.page-hero,
.dashboard-hero,
.course-banner,
.auth-layout,
.payment-layout,
.documents-layout,
.admin-layout {
  align-items: stretch;
}

.hero {
  background:
    linear-gradient(140deg, rgba(18, 56, 95, 0.96) 0%, rgba(31, 139, 132, 0.9) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
  color: #f8fafb;
  border-radius: 42px;
  padding: 44px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.hero::before,
.page-hero::before,
.dashboard-hero::before,
.course-banner::before,
.auth-panel::before,
.admin-hero::before {
  content: '';
  position: absolute;
  inset: auto auto -140px -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(4px);
}

.hero-copy,
.hero-media,
.page-hero-copy,
.page-hero-media,
.dashboard-copy,
.dashboard-media,
.course-copy,
.course-media,
.auth-copy,
.auth-panel,
.panel,
.admin-panel,
.admin-sidebar {
  position: relative;
  z-index: 1;
}

.hero-copy,
.page-hero-copy,
.dashboard-copy,
.course-copy,
.auth-copy {
  flex: 1 1 50%;
}

.hero-media,
.page-hero-media,
.dashboard-media,
.course-media,
.auth-visual,
.side-visual {
  flex: 1 1 45%;
  min-height: 320px;
  position: relative;
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  color: #fffefb;
}

.hero-copy p,
.hero-note {
  color: rgba(244, 249, 252, 0.86);
}

.hero-note {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.visual-card,
.glass-card,
.metric-card,
.feature-card,
.step-card,
.course-card,
.testimonial-card,
.faq-item,
.plan-summary,
.upload-card,
.table-wrap,
.modal-panel,
.editor-card,
.stat-card,
.roadmap-card,
.achievement-card,
.resource-item,
.empty-state,
.admin-summary-card,
.notice-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.visual-card,
.glass-card {
  position: absolute;
  padding: 22px;
}

.hero-media img,
.page-hero-media img,
.dashboard-media img,
.course-media img,
.auth-visual img,
.side-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.visual-card.primary {
  left: 18px;
  right: 90px;
  bottom: 22px;
}

.visual-card.secondary {
  top: 26px;
  right: 18px;
  width: 220px;
}

.visual-card strong,
.stat-card strong,
.metric-card strong,
.admin-summary-card strong {
  display: block;
  color: var(--heading);
  font-size: 1.6rem;
}

.grid-2,
.grid-3,
.grid-4,
.course-grid,
.metrics-grid,
.dashboard-grid,
.admin-grid,
.upload-grid,
.form-grid,
.stats-grid,
.footer-grid,
.catalog-grid,
.resource-grid,
.overview-grid,
.course-meta-grid {
  display: grid;
  gap: 22px;
}

.grid-2,
.dashboard-grid,
.payment-layout,
.documents-layout,
.admin-layout,
.dual-panel,
.course-meta-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.course-grid,
.metrics-grid,
.catalog-grid,
.resource-grid,
.footer-grid,
.admin-grid,
.overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.feature-card,
.step-card,
.course-card,
.metric-card,
.upload-card,
.editor-card,
.achievement-card,
.admin-summary-card,
.resource-item,
.notice-card {
  padding: 24px;
}

.feature-icon,
.step-index,
.metric-icon,
.badge-icon,
.notice-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  background: linear-gradient(135deg, rgba(18, 56, 95, 0.1), rgba(31, 139, 132, 0.18));
  color: var(--primary);
  margin-bottom: 18px;
}

.card-title,
.metric-card h3,
.course-card h3,
.feature-card h3,
.step-card h3,
.testimonial-card h3,
.upload-card h3,
.editor-card h3,
.panel h2,
.admin-sidebar h2,
.resource-item h3,
.notice-card h3,
.faq-question span {
  margin: 0 0 8px;
  color: var(--heading);
}

.course-card {
  overflow: hidden;
}

.course-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden;
}

.course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-row {
  margin-bottom: 14px;
}

.pill,
.progress-tag,
.status-pill {
  padding: 9px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--heading);
}

.pill {
  background: rgba(18, 56, 95, 0.08);
}

.progress-tag {
  background: rgba(31, 139, 132, 0.12);
  color: var(--secondary);
}

.status-pill.success {
  background: rgba(45, 134, 89, 0.12);
  color: var(--success);
}

.status-pill.warning {
  background: rgba(199, 134, 46, 0.12);
  color: var(--warning);
}

.status-pill.danger {
  background: rgba(181, 85, 77, 0.12);
  color: var(--danger);
}

.card-footer,
.card-actions,
.toolbar,
.form-actions,
.list-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.progress-bar,
.progress-track,
.mock-progress-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(16, 33, 54, 0.08);
  overflow: hidden;
}

.progress-fill,
.mock-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: inherit;
  transition: width 0.5s ease;
}

.progress-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-top: 10px;
}

.page-hero,
.dashboard-hero,
.course-banner,
.auth-panel,
.admin-hero {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(246, 248, 250, 0.58));
  border: 1px solid var(--border);
  border-radius: 38px;
  box-shadow: var(--shadow);
  padding: 34px;
  overflow: hidden;
  position: relative;
}

html[data-theme='dark'] .page-hero,
html[data-theme='dark'] .dashboard-hero,
html[data-theme='dark'] .course-banner,
html[data-theme='dark'] .auth-panel,
html[data-theme='dark'] .admin-hero {
  background: linear-gradient(145deg, rgba(22, 38, 58, 0.92), rgba(18, 30, 46, 0.78));
}

.page-hero.copy-only,
.auth-panel.compact-panel {
  display: block;
}

.section-surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.18));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.notice-card,
.plan-summary,
.roadmap-card,
.achievement-card {
  border-radius: 28px;
}

.faq-list,
.module-list,
.roadmap-list,
.badge-list,
.upload-list,
.user-list,
.resource-list,
.insight-list,
.checklist,
.admin-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
}

.faq-answer {
  padding: 0 24px 24px;
  display: none;
}

.testimonial-stage {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonial-slide {
  min-width: 100%;
}

.testimonial-card {
  padding: 32px;
}

.quote {
  font-size: 1.1rem;
  color: var(--heading);
  line-height: 1.8;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.08em;
}

.footer-cta {
  margin-top: 32px;
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
}

.footer-cta h3 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.site-footer {
  padding: 60px 0 34px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  margin-bottom: 28px;
}

.footer-column h4 {
  margin: 0 0 14px;
  color: var(--heading);
}

.footer-column a,
.footer-column p {
  color: var(--text-soft);
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 0.92rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  color: var(--heading);
}

input,
select,
textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  padding: 15px 16px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

html[data-theme='dark'] input,
html[data-theme='dark'] select,
html[data-theme='dark'] textarea {
  background: rgba(12, 22, 34, 0.92);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(31, 139, 132, 0.5);
  box-shadow: 0 0 0 4px rgba(31, 139, 132, 0.12);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-soft);
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.error-text,
.success-text,
.helper-text {
  font-size: 0.9rem;
}

.error-text {
  color: var(--danger);
}

.success-text {
  color: var(--success);
}

.helper-text {
  color: var(--text-soft);
}

.auth-layout,
.payment-layout,
.documents-layout {
  display: grid;
  gap: 24px;
}

.auth-panel,
.plan-summary,
.side-panel,
.admin-sidebar,
.admin-panel {
  padding: 30px;
}

.auth-visual,
.side-visual {
  min-height: 520px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 16px 0;
}

.plan-price strong {
  font-size: 2.8rem;
  color: var(--heading);
}

.method-card {
  flex: 1 1 180px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.62);
  transition: 0.2s ease;
}

html[data-theme='dark'] .method-card {
  background: rgba(13, 22, 35, 0.66);
}

.method-card.is-active {
  border-color: rgba(31, 139, 132, 0.45);
  box-shadow: 0 14px 24px rgba(31, 139, 132, 0.12);
  transform: translateY(-2px);
}

.payment-status,
.upload-preview,
.course-status-box,
.admin-banner,
.guide-box {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(18, 56, 95, 0.06);
  border: 1px solid var(--border);
}

.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(31, 139, 132, 0.1);
  color: var(--secondary);
  font-weight: 700;
}

.preview-thumb {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 20px;
  margin-top: 14px;
}

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

.dashboard-copy h1,
.course-copy h1,
.page-hero h1,
.auth-copy h1,
.admin-hero h1 {
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.dashboard-grid,
.admin-layout {
  margin-top: 28px;
}

.metric-card small,
.admin-summary-card small,
.stat-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.metric-card strong,
.admin-summary-card strong {
  font-size: 2.2rem;
}

.metric-card .trend {
  margin-top: 12px;
  color: var(--secondary);
  font-weight: 700;
}

.roadmap-step,
.module-item,
.user-row,
.resource-item,
.admin-list-item,
.check-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(16, 33, 54, 0.08);
}

html[data-theme='dark'] .roadmap-step,
html[data-theme='dark'] .module-item,
html[data-theme='dark'] .user-row,
html[data-theme='dark'] .resource-item,
html[data-theme='dark'] .admin-list-item,
html[data-theme='dark'] .check-item {
  background: rgba(17, 31, 49, 0.6);
}

.roadmap-step.is-done,
.module-item.is-done,
.check-item.is-done {
  border-color: rgba(45, 134, 89, 0.22);
  background: rgba(45, 134, 89, 0.08);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(226, 180, 75, 0.1);
}

.badge-item .badge-icon {
  margin-bottom: 0;
}

.rank-card {
  background: linear-gradient(135deg, rgba(226, 180, 75, 0.22), rgba(31, 139, 132, 0.15));
}

.course-banner .course-thumb {
  margin-bottom: 0;
  aspect-ratio: auto;
  height: 100%;
}

.module-copy {
  flex: 1 1 auto;
}

.module-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.module-title-row h4 {
  margin: 0;
  color: var(--heading);
}

.resource-item {
  align-items: flex-start;
}

.check-item input {
  width: 18px;
  height: 18px;
}

.table-wrap {
  padding: 12px;
  overflow: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table th {
  color: var(--heading);
  white-space: nowrap;
}

.admin-layout {
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 120px;
}

.tab-strip {
  flex-direction: column;
  align-items: stretch;
}

.tab-btn {
  justify-content: flex-start;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.editor-grid {
  display: grid;
  gap: 18px;
}

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

.editor-card {
  margin-bottom: 20px;
}

.editor-card .card-actions {
  margin-top: 16px;
}

.empty-state {
  padding: 34px;
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 28, 0.66);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  z-index: 90;
}

.modal.is-open {
  display: flex;
}

.modal-panel {
  width: min(960px, 100%);
  padding: 26px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.mock-player {
  display: grid;
  gap: 22px;
}

.player-screen {
  background:
    linear-gradient(140deg, rgba(18, 56, 95, 0.95), rgba(31, 139, 132, 0.85)),
    radial-gradient(circle at top right, rgba(226, 180, 75, 0.2), transparent 30%);
  min-height: 320px;
  border-radius: 28px;
  padding: 28px;
  color: #f4f7fa;
  position: relative;
  overflow: hidden;
}

.player-screen.player-screen-video {
  background: rgba(7, 22, 33, 0.96);
  min-height: auto;
  padding: 0;
}

.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #071621;
  border: 0;
  border-radius: 28px;
}

.player-video-copy {
  display: grid;
  gap: 14px;
}

.player-overlay {
  position: absolute;
  inset: auto 24px 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.player-meta strong,
.player-mock-time {
  color: #fff;
}

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

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  min-width: 260px;
  max-width: 360px;
  padding: 16px 18px;
  border-radius: 18px;
  color: #fff;
  box-shadow: var(--shadow);
}

.toast.info {
  background: linear-gradient(135deg, #12385f, #1f8b84);
}

.toast.success {
  background: linear-gradient(135deg, #266f4d, #3ba16f);
}

.toast.warning {
  background: linear-gradient(135deg, #b97f2a, #d99b37);
}

.toast.error {
  background: linear-gradient(135deg, #9c4f48, #bf675f);
}

.fade-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none !important;
}

.center {
  text-align: center;
}

@media (max-width: 1100px) {
  .hero,
  .site-header .container,
  .section-head,
  .footer-cta,
  .page-hero,
  .dashboard-hero,
  .course-banner,
  .auth-layout,
  .payment-layout,
  .documents-layout,
  .admin-layout,
  .dual-panel {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .grid-4,
  .grid-3,
  .course-grid,
  .metrics-grid,
  .catalog-grid,
  .resource-grid,
  .footer-grid,
  .admin-grid,
  .overview-grid,
  .stats-grid,
  .dashboard-grid,
  .form-grid,
  .editor-grid.two,
  .course-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links {
    justify-content: center;
  }

  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .hero,
  .page-hero,
  .dashboard-hero,
  .course-banner,
  .auth-panel,
  .plan-summary,
  .admin-sidebar,
  .admin-panel {
    padding: 26px;
    border-radius: 30px;
  }

  .grid-4,
  .grid-3,
  .course-grid,
  .metrics-grid,
  .catalog-grid,
  .resource-grid,
  .footer-grid,
  .admin-grid,
  .overview-grid,
  .stats-grid,
  .dashboard-grid,
  .form-grid,
  .editor-grid.two,
  .course-meta-grid {
    grid-template-columns: 1fr;
  }

  .visual-card.secondary,
  .visual-card.primary {
    position: static;
    margin-top: 18px;
    width: auto;
  }

  .top-disclaimer .container,
  .header-actions,
  .footer-bottom,
  .site-header .container {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 0;
  }

  .brand {
    flex-direction: column;
    text-align: center;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .hero-copy h1,
  .dashboard-copy h1,
  .course-copy h1,
  .page-hero h1,
  .auth-copy h1,
  .admin-hero h1 {
    font-size: 2rem;
  }

  .btn,
  .ghost-btn,
  .filter-btn,
  .tab-btn {
    width: 100%;
  }

  .toast-stack {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .toast {
    min-width: 0;
    max-width: none;
  }
}


/* Premium Refresh */
:root {
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-muted: #eef2f5;
  --border: rgba(15, 34, 57, 0.08);
  --shadow: 0 40px 90px rgba(10, 24, 43, 0.14), 0 16px 36px rgba(10, 24, 43, 0.08);
  --shadow-soft: 0 22px 54px rgba(10, 24, 43, 0.1), 0 10px 20px rgba(10, 24, 43, 0.06);
  --shadow-hover: 0 30px 70px rgba(10, 24, 43, 0.18), 0 14px 30px rgba(10, 24, 43, 0.1);
  --transition-smooth: 280ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme='dark'] {
  --surface: rgba(17, 31, 49, 0.88);
  --surface-strong: rgba(20, 35, 54, 0.94);
  --surface-muted: #1a2d46;
  --border: rgba(233, 238, 243, 0.1);
  --shadow: 0 42px 100px rgba(2, 7, 15, 0.5), 0 16px 36px rgba(2, 7, 15, 0.28);
  --shadow-soft: 0 24px 56px rgba(2, 7, 15, 0.4), 0 12px 24px rgba(2, 7, 15, 0.24);
  --shadow-hover: 0 32px 76px rgba(2, 7, 15, 0.52), 0 18px 32px rgba(2, 7, 15, 0.32);
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 12% 16%, rgba(226, 180, 75, 0.18), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(31, 139, 132, 0.16), transparent 26%),
    radial-gradient(circle at 78% 80%, rgba(18, 56, 95, 0.12), transparent 30%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 56%, #edf1ee 100%);
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  pointer-events: none;
  inset: auto;
  z-index: -1;
  filter: blur(80px);
  opacity: 0.7;
}

body::before {
  width: 260px;
  height: 260px;
  top: 110px;
  left: -60px;
  background: rgba(226, 180, 75, 0.18);
}

body::after {
  width: 320px;
  height: 320px;
  right: -80px;
  bottom: 10%;
  background: rgba(31, 139, 132, 0.16);
}

.hero-copy h1,
.dashboard-copy h1,
.course-copy h1,
.page-hero h1,
.auth-copy h1,
.admin-hero h1,
.section-head h1,
.section-head h2 {
  font-family: 'Fraunces', 'Palatino Linotype', Georgia, serif;
  letter-spacing: -0.04em;
}

p,
.card-copy,
.section-head p,
.hero-copy p,
.auth-copy p,
.page-hero p,
.dashboard-copy p,
.timeline-copy,
.list-copy,
.resource-item p,
.metric-card p,
.editor-note {
  font-size: 0.98rem;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 36px rgba(10, 24, 43, 0.06);
}

.nav-links a,
.btn,
.ghost-btn,
.theme-toggle,
.filter-btn,
.tab-btn,
.icon-btn,
.course-card,
.feature-card,
.step-card,
.metric-card,
.editor-card,
.admin-summary-card,
.roadmap-step,
.module-item,
.resource-item,
.method-card,
.badge-item,
.faq-item,
.testimonial-card,
.auth-panel,
.plan-summary,
.upload-card,
.page-hero,
.dashboard-hero,
.course-banner,
.admin-hero,
.admin-panel,
.admin-sidebar {
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth),
    border-color var(--transition-smooth),
    background var(--transition-smooth),
    opacity var(--transition-smooth);
}

.btn,
.ghost-btn,
.filter-btn,
.tab-btn {
  letter-spacing: -0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, #11365c 0%, #146b73 52%, #27a087 100%);
}

.btn-secondary {
  background: linear-gradient(135deg, #f1c86b 0%, #f0b84f 100%);
}

.ghost-btn,
.theme-toggle,
.filter-btn,
.tab-btn,
.icon-btn {
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

html[data-theme='dark'] .ghost-btn,
html[data-theme='dark'] .theme-toggle,
html[data-theme='dark'] .filter-btn,
html[data-theme='dark'] .tab-btn,
html[data-theme='dark'] .icon-btn {
  background: rgba(17, 31, 49, 0.76);
}

.btn:hover,
.ghost-btn:hover,
.theme-toggle:hover,
.filter-btn:hover,
.tab-btn:hover,
.icon-btn:hover,
.method-card:hover,
.course-card:hover,
.feature-card:hover,
.step-card:hover,
.metric-card:hover,
.editor-card:hover,
.admin-summary-card:hover,
.roadmap-step:hover,
.module-item:hover,
.resource-item:hover,
.badge-item:hover,
.upload-card:hover,
.faq-item:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

label {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

input,
select,
textarea {
  border-radius: 20px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-theme='dark'] input,
html[data-theme='dark'] select,
html[data-theme='dark'] textarea {
  background: rgba(10, 19, 31, 0.92);
}

.hero {
  min-height: 700px;
  padding: 58px;
  gap: 36px;
  align-items: center;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(241, 200, 107, 0.22), transparent 24%),
    linear-gradient(135deg, rgba(9, 24, 43, 0.97) 0%, rgba(18, 56, 95, 0.96) 42%, rgba(22, 111, 116, 0.94) 100%);
}

.hero-copy {
  max-width: 600px;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 5vw, 5.55rem);
  margin-bottom: 18px;
}

.hero-copy p {
  max-width: 560px;
  font-size: 1.08rem;
}

.hero-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  color: #fdfaf4;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-proof-row,
.hero-ribbon,
.hero-stat-grid,
.dashboard-signal-grid,
.admin-toolbar,
.card-topline {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-proof-chip,
.hero-ribbon span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  color: rgba(248, 251, 254, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-grid {
  margin-top: 18px;
}

.hero-stat-card {
  min-width: 150px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-stat-card strong {
  display: block;
  color: #fff;
  font-size: 1.85rem;
  margin-bottom: 4px;
}

.hero-stat-card span {
  color: rgba(237, 244, 250, 0.78);
  font-size: 0.9rem;
}

.hero-media {
  min-height: 560px;
}

.hero-visual-shell {
  position: relative;
  min-height: 560px;
  width: 100%;
}

.hero-visual-shell::before {
  content: '';
  position: absolute;
  inset: 22px 30px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-visual-shell img {
  height: 100%;
  min-height: 560px;
}

.spotlight-card,
.hero-mini-card,
.dashboard-floating-card,
.admin-floating-card {
  position: absolute;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 46px rgba(10, 24, 43, 0.22);
}

.spotlight-card {
  left: 24px;
  right: 80px;
  bottom: 26px;
  padding: 24px;
  border-radius: 28px;
}

.spotlight-card strong,
.hero-mini-card strong,
.dashboard-floating-card strong,
.admin-floating-card strong {
  color: #fff;
  display: block;
}

.spotlight-card strong {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.spotlight-card .card-copy,
.hero-mini-card span,
.dashboard-floating-card span,
.admin-floating-card span {
  color: rgba(242, 247, 250, 0.82);
}

.spotlight-card .progress-caption,
.spotlight-card .progress-caption span {
  color: rgba(246, 250, 252, 0.86);
}

.hero-mini-card {
  width: 210px;
  padding: 18px;
  border-radius: 24px;
}

.hero-mini-primary {
  top: 34px;
  right: 18px;
}

.hero-mini-secondary {
  top: 218px;
  right: -6px;
}

.hero-ribbon {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: -18px;
  justify-content: center;
}

.course-card,
.feature-card,
.step-card,
.metric-card,
.editor-card,
.upload-card,
.admin-summary-card,
.testimonial-card {
  position: relative;
  overflow: hidden;
}

.course-card::before,
.feature-card::before,
.step-card::before,
.metric-card::before,
.editor-card::before,
.admin-summary-card::before,
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), transparent 46%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.course-card:hover::before,
.feature-card:hover::before,
.step-card:hover::before,
.metric-card:hover::before,
.editor-card:hover::before,
.admin-summary-card:hover::before,
.testimonial-card:hover::before {
  opacity: 1;
}

.course-card {
  padding: 22px;
}

.course-thumb {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 24px;
  margin-bottom: 18px;
}

.course-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 24, 43, 0.24) 100%);
}

.course-thumb img {
  transition: transform var(--transition-slow);
}

.course-card:hover .course-thumb img {
  transform: scale(1.06);
}

.thumb-overlay {
  position: absolute;
  inset: 16px 16px auto 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.card-topline {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.card-duration {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-cta-copy strong {
  color: var(--heading);
  font-size: 0.96rem;
}

.meta-label {
  font-size: 0.74rem;
}

.page-hero,
.dashboard-hero,
.course-banner,
.auth-panel,
.admin-hero {
  padding: 38px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top right, rgba(226, 180, 75, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 250, 0.72));
}

html[data-theme='dark'] .page-hero,
html[data-theme='dark'] .dashboard-hero,
html[data-theme='dark'] .course-banner,
html[data-theme='dark'] .auth-panel,
html[data-theme='dark'] .admin-hero {
  background:
    radial-gradient(circle at top right, rgba(226, 180, 75, 0.12), transparent 26%),
    linear-gradient(145deg, rgba(22, 38, 58, 0.94), rgba(18, 30, 46, 0.84));
}

.dashboard-hero {
  min-height: 620px;
  gap: 34px;
  align-items: center;
}

.xp-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  margin: 22px 0 18px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(17, 54, 92, 0.08), rgba(31, 139, 132, 0.12));
  border: 1px solid rgba(17, 54, 92, 0.08);
}

.xp-strip small {
  display: block;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.xp-strip strong {
  display: block;
  color: var(--heading);
  font-size: 1.5rem;
}

.dashboard-signal-grid {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.signal-card {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

html[data-theme='dark'] .signal-card {
  background: rgba(13, 22, 35, 0.76);
}

.signal-card .metric-icon,
.metric-card .metric-icon,
.admin-summary-card .metric-icon {
  margin-bottom: 14px;
}

.signal-card strong {
  display: block;
  color: var(--heading);
  font-size: 1.25rem;
  margin: 4px 0 6px;
}

.dashboard-media {
  min-height: 560px;
}

.dashboard-media img {
  min-height: 560px;
}

.dashboard-floating-card {
  width: 240px;
  padding: 20px;
  border-radius: 26px;
}

.goal-meter-card {
  right: 16px;
  top: 26px;
}

.streak-card {
  left: 18px;
  bottom: 46px;
}

.mentor-card {
  right: -6px;
  bottom: 140px;
}

.goal-meter-card strong,
.streak-card strong,
.mentor-card strong {
  font-size: 1.55rem;
  margin: 8px 0;
}

.goal-meter-card .progress-bar .progress-fill {
  background: linear-gradient(135deg, #f1c86b 0%, #24a38c 100%);
}

.metric-card {
  border-radius: 28px;
}

.metric-card::after,
.admin-summary-card::after {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
}

.metric-card strong,
.admin-summary-card strong {
  letter-spacing: -0.04em;
}

.rank-card {
  background: linear-gradient(160deg, rgba(226, 180, 75, 0.22), rgba(31, 139, 132, 0.18));
}

.roadmap-card,
.achievement-card,
.notice-card {
  padding: 28px;
}

.roadmap-step,
.module-item,
.resource-item,
.admin-list-item,
.check-item {
  border-radius: 22px;
}

.badge-item {
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(226, 180, 75, 0.14), rgba(31, 139, 132, 0.12));
  border: 1px solid rgba(226, 180, 75, 0.18);
}

.badge-item strong {
  color: var(--heading);
}

.course-banner .course-copy,
.dashboard-copy,
.page-hero-copy,
.auth-copy {
  align-self: center;
}

.auth-panel,
.plan-summary,
.admin-panel,
.admin-sidebar {
  border-radius: 30px;
}

.admin-hero {
  gap: 34px;
}

.admin-toolbar {
  justify-content: space-between;
  align-items: center;
  padding: 0 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.admin-summary-card {
  padding: 26px;
  border-radius: 28px;
}

.admin-sidebar {
  background:
    radial-gradient(circle at top right, rgba(226, 180, 75, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 248, 250, 0.74));
}

html[data-theme='dark'] .admin-sidebar {
  background:
    radial-gradient(circle at top right, rgba(226, 180, 75, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(19, 33, 51, 0.92), rgba(16, 27, 42, 0.82));
}

.tab-strip {
  gap: 10px;
}

.tab-btn {
  justify-content: flex-start;
  padding: 14px 16px;
  border-radius: 18px;
}

.tab-btn i {
  width: 18px;
}

.admin-panel {
  padding: 32px;
  background:
    radial-gradient(circle at top right, rgba(31, 139, 132, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 250, 0.8));
}

html[data-theme='dark'] .admin-panel {
  background:
    radial-gradient(circle at top right, rgba(31, 139, 132, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(19, 33, 51, 0.96), rgba(16, 27, 42, 0.88));
}

.editor-card,
.table-wrap,
.notice-card {
  border-radius: 28px;
}

.editor-card form,
.editor-grid {
  gap: 20px;
}

.table-wrap {
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme='dark'] .table-wrap {
  background: rgba(13, 22, 35, 0.7);
}

.data-table th {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.faq-item {
  border-radius: 24px;
}

.faq-question {
  padding: 24px 26px;
}

.testimonial-card {
  border-radius: 30px;
  padding: 36px;
}

.footer-cta {
  border-radius: 36px;
  padding: 34px;
}

.mock-player .player-screen {
  min-height: 360px;
  border-radius: 32px;
}

.mock-player .player-screen.player-screen-video {
  min-height: auto;
}

@media (max-width: 1180px) {
  .hero {
    min-height: auto;
  }

  .hero-visual-shell,
  .dashboard-media,
  .hero-media {
    min-height: 500px;
  }
}

@media (max-width: 960px) {
  .hero,
  .dashboard-hero,
  .admin-hero,
  .page-hero,
  .course-banner {
    padding: 30px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 8vw, 4.4rem);
  }

  .hero-proof-row,
  .hero-stat-grid,
  .dashboard-signal-grid,
  .admin-toolbar {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .dashboard-media {
    min-height: 480px;
  }

  .spotlight-card,
  .dashboard-floating-card,
  .hero-mini-card {
    position: static;
    width: auto;
    margin-top: 18px;
  }

  .hero-ribbon {
    position: static;
    margin-top: 18px;
    padding-bottom: 4px;
  }

  .hero-visual-shell {
    min-height: auto;
  }

  .hero-visual-shell img,
  .dashboard-media img {
    min-height: 320px;
  }
}

@media (max-width: 820px) {
  .site-header .container {
    gap: 18px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .dashboard-signal-grid,
  .hero-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .card-footer {
    align-items: flex-start;
  }

  .card-footer .btn,
  .card-footer .ghost-btn {
    width: auto;
  }
}

@media (max-width: 640px) {
  .top-disclaimer .container,
  .header-actions {
    justify-content: center;
  }

  .hero,
  .dashboard-hero,
  .admin-hero,
  .page-hero,
  .course-banner,
  .auth-panel,
  .plan-summary,
  .admin-panel,
  .admin-sidebar,
  .footer-cta {
    padding: 24px;
    border-radius: 28px;
  }

  .hero-stat-grid,
  .dashboard-signal-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof-chip,
  .hero-ribbon span,
  .hero-stat-card,
  .signal-card,
  .xp-strip {
    width: 100%;
  }

  .xp-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .card-cta-copy {
    width: 100%;
  }
}


@media (max-width: 960px) {
  .hero-proof-row,
  .hero-stat-grid,
  .admin-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    align-items: stretch;
  }
}

@media (max-width: 820px) {
  .metric-inline,
  .hero-proof-row,
  .hero-ribbon {
    width: 100%;
  }

  .metric-inline {
    justify-content: flex-start;
  }
}

/* Impulsa BCR visual refinements */
:root {
  --bg: #eef4ff;
  --bg-soft: #f7fbff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --surface-muted: #e8f0fb;
  --text: #0f2542;
  --text-soft: #5b6f8d;
  --heading: #0c2240;
  --primary: #0e3f87;
  --primary-strong: #082b62;
  --secondary: #1f8bff;
  --accent: #f5bf32;
  --accent-soft: #ffefb8;
  --border: rgba(15, 37, 66, 0.12);
  --shadow: 0 26px 80px rgba(11, 36, 77, 0.14);
  --shadow-soft: 0 18px 48px rgba(11, 36, 77, 0.09);
  --shadow-hover: 0 28px 72px rgba(9, 39, 89, 0.18);
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(245, 191, 50, 0.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(31, 139, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef4ff 100%);
}

.brand-mark {
  background: linear-gradient(135deg, #f5bf32 0%, #ffd45d 100%);
  color: #0d3273;
  box-shadow: 0 14px 30px rgba(245, 191, 50, 0.28);
}

.site-header {
  background: rgba(244, 249, 255, 0.84);
  border-bottom: 1px solid rgba(12, 34, 64, 0.08);
}

.hero-wrap.hero-scene {
  position: relative;
}

.hero.hero-fullscreen {
  min-height: calc(100vh - 88px);
  padding: clamp(28px, 5vw, 56px);
  background-image:
    linear-gradient(115deg, rgba(5, 28, 68, 0.86) 0%, rgba(12, 62, 138, 0.74) 40%, rgba(39, 151, 255, 0.48) 100%),
    radial-gradient(circle at 82% 26%, rgba(255, 255, 255, 0.34), transparent 24%),
    radial-gradient(circle at 10% 76%, rgba(255, 255, 255, 0.18), transparent 18%),
    var(--hero-art);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.78fr);
  gap: 34px;
  align-items: end;
}

.hero-copy h1 {
  font-size: clamp(3.4rem, 6vw, 6rem);
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.hero-immersive-panel,
.story-grid,
.route-grid,
.demo-accounts-grid,
.stage-pill-grid,
.route-focus-grid {
  display: grid;
  gap: 20px;
}

.hero-immersive-panel {
  align-self: stretch;
  align-content: end;
}

.hero-story-card,
.story-card,
.route-card,
.demo-account-card,
.motivation-banner,
.stage-pill {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(14, 63, 135, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-story-card {
  padding: 24px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px rgba(5, 24, 59, 0.22);
}

.hero-story-card.secondary {
  background: rgba(8, 27, 66, 0.28);
}

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

.story-card,
.route-card,
.motivation-banner,
.stage-pill {
  padding: 22px;
}

.route-card-metric {
  display: grid;
  gap: 6px;
  margin: 18px 0 16px;
}

.route-mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.route-mini-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(14, 63, 135, 0.06);
  color: var(--text-soft);
}

.auth-layout-wide {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.demo-accounts-grid {
  margin-top: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-account-card {
  text-align: left;
  padding: 18px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.demo-account-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(14, 63, 135, 0.18);
}

.motivation-banner {
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(232, 240, 251, 0.96) 100%);
}

.route-focus-grid {
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 28px;
}

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

.stage-pill.is-done {
  background: linear-gradient(135deg, rgba(21, 162, 100, 0.12) 0%, rgba(255, 255, 255, 0.98) 100%);
  border-color: rgba(21, 162, 100, 0.2);
}

.stage-pill.is-next {
  background: linear-gradient(135deg, rgba(245, 191, 50, 0.16) 0%, rgba(255, 255, 255, 0.98) 100%);
  border-color: rgba(245, 191, 50, 0.28);
}

@media (max-width: 1180px) {
  .hero-stage,
  .auth-layout-wide,
  .route-focus-grid {
    grid-template-columns: 1fr;
  }

  .hero.hero-fullscreen {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .story-grid,
  .route-grid,
  .demo-accounts-grid,
  .stage-pill-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero.hero-fullscreen {
    min-height: calc(100vh - 60px);
    padding: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }
}


/* Impulsa BCR palette alignment */
.site-header {
  background: linear-gradient(180deg, rgba(4, 25, 63, 0.94) 0%, rgba(8, 52, 116, 0.88) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px rgba(4, 25, 63, 0.24);
}

.site-header .brand-copy strong,
.site-header .brand-copy span,
.site-header .nav-links a,
.site-header .theme-toggle {
  color: #f7fbff;
}

.site-header .brand-copy span {
  color: rgba(247, 251, 255, 0.74);
}

.site-header .nav-links a:hover,
.site-header .nav-links a.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.site-header .theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.site-header .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-secondary {
  background: linear-gradient(135deg, #ffd552 0%, #f5b522 100%);
  color: #10366f;
  box-shadow: 0 18px 34px rgba(245, 181, 34, 0.28);
}

.hero.hero-fullscreen {
  background-image:
    linear-gradient(115deg, rgba(4, 23, 58, 0.9) 0%, rgba(10, 61, 140, 0.78) 44%, rgba(58, 183, 255, 0.42) 100%),
    radial-gradient(circle at 84% 28%, rgba(255, 255, 255, 0.32), transparent 24%),
    radial-gradient(circle at 12% 78%, rgba(255, 255, 255, 0.14), transparent 18%),
    var(--hero-art);
}


/* Impulsa BCR compact polish */
body {
  font-size: 14.5px;
}

.container {
  width: min(calc(100% - 32px), 1120px);
}

.top-disclaimer {
  padding: 10px 0;
  font-size: 0.8rem;
}

.disclaimer-chip {
  padding: 6px 11px;
}

.notice-row {
  font-size: 0.78rem;
  gap: 10px;
}

.site-header {
  padding: 12px 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  font-size: 0.8rem;
}

.nav-links a {
  padding: 8px 12px;
  font-size: 0.92rem;
}

.btn,
.ghost-btn,
.theme-toggle,
.filter-btn,
.tab-btn {
  padding: 12px 18px;
  font-size: 0.92rem;
}

.section {
  padding: 68px 0;
}

.section.compact {
  padding: 38px 0;
}

.section-head {
  gap: 20px;
  margin-bottom: 24px;
}

.kicker,
.meta-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
}

.section-head h2,
.page-hero h1,
.admin-hero h1 {
  font-size: clamp(1.65rem, 2.3vw, 2.6rem);
}

.hero-wrap {
  padding: 20px 0 26px;
}

.hero,
.page-hero,
.dashboard-hero,
.course-banner,
.auth-panel,
.admin-hero {
  border-radius: 30px;
}

.hero {
  padding: 32px;
}

.hero-copy h1 {
  font-size: clamp(2.15rem, 4.7vw, 4.1rem);
  line-height: 0.96;
}

.dashboard-copy h1,
.course-copy h1,
.auth-copy h1,
.page-hero-copy h1,
.admin-hero h1 {
  font-size: clamp(1.85rem, 3vw, 2.8rem);
}

.section-head p,
.hero-copy p,
.auth-copy p,
.page-hero p,
.dashboard-copy p,
.card-copy,
.metric-card p,
.resource-item p {
  font-size: 0.96rem;
  line-height: 1.58;
}

.hero-media,
.page-hero-media,
.dashboard-media,
.course-media,
.auth-visual,
.side-visual {
  min-height: 280px;
}

.grid-2,
.grid-3,
.grid-4,
.course-grid,
.metrics-grid,
.dashboard-grid,
.admin-grid,
.overview-grid,
.course-meta-grid {
  gap: 18px;
}

.feature-card,
.step-card,
.course-card,
.metric-card,
.upload-card,
.editor-card,
.achievement-card,
.admin-summary-card,
.resource-item,
.notice-card,
.route-card,
.story-card,
.hero-story-card {
  padding: 20px;
}

.feature-icon,
.step-index,
.metric-icon,
.badge-icon,
.notice-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  margin-bottom: 14px;
}

.course-thumb {
  margin-bottom: 16px;
  border-radius: 18px;
}

.pill,
.progress-tag,
.status-pill {
  padding: 7px 12px;
  font-size: 0.78rem;
}

.visual-card strong,
.stat-card strong,
.metric-card strong,
.admin-summary-card strong {
  font-size: 1.38rem;
}

.hero-note {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 14px;
}

.hero-proof-chip,
.hero-ribbon span {
  font-size: 0.78rem;
}

.hero-stat-grid,
.hero-proof-row,
.hero-ribbon,
.metric-inline {
  gap: 10px;
}

.hero-stat-card,
.signal-card,
.stage-pill {
  padding: 16px 18px;
}

.route-mini-list li {
  padding: 10px 12px;
}

.testimonial-card {
  padding: 22px;
}

.faq-question {
  padding: 20px 22px;
}

@media (max-width: 900px) {
  .top-disclaimer .container {
    align-items: flex-start;
  }

  .notice-row {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .section {
    padding: 52px 0;
  }

  .hero {
    padding: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(1.95rem, 9vw, 3.1rem);
  }
}

.program-grid,
.methodology-cycle-grid,
.methodology-signal-grid {
  display: grid;
  gap: 20px;
}

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

.program-card,
.methodology-panel,
.methodology-cycle-card,
.methodology-signal-card {
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.program-card {
  padding: 24px;
  background: var(--surface);
  backdrop-filter: blur(18px);
}

.program-card.primary {
  background:
    radial-gradient(circle at top right, rgba(109, 255, 191, 0.32), transparent 28%),
    linear-gradient(135deg, #031532 0%, #0a3757 54%, #1a6a57 100%);
  border-color: rgba(109, 255, 191, 0.26);
  color: #f3fff8;
}

.program-card.primary h3,
.program-card.primary .program-note,
.program-card.primary .card-copy,
.program-card.primary .meta-label {
  color: #f3fff8;
}

.program-note {
  margin: 18px 0 0;
  color: var(--text-soft);
}

.section-methodology {
  padding-top: 10px;
}

.methodology-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 36px);
  background:
    radial-gradient(circle at top right, rgba(109, 255, 191, 0.22), transparent 24%),
    radial-gradient(circle at 14% 16%, rgba(109, 255, 191, 0.16), transparent 18%),
    linear-gradient(140deg, #04162a 0%, #08233b 42%, #0c3248 100%);
  border-color: rgba(109, 255, 191, 0.18);
  box-shadow: 0 26px 72px rgba(4, 15, 29, 0.28);
}

.section-methodology .section-head h2,
.section-methodology .section-head p,
.section-methodology .kicker,
.section-methodology .card-copy,
.section-methodology h3 {
  color: #ebfff6;
}

.section-methodology .section-head p,
.methodology-cycle-card .card-copy,
.methodology-signal-card .card-copy {
  color: rgba(235, 255, 246, 0.82);
}

.methodology-cycle-grid,
.methodology-signal-grid {
  margin-top: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.methodology-cycle-card,
.methodology-signal-card {
  padding: 22px;
  background: rgba(4, 18, 30, 0.54);
  border-color: rgba(109, 255, 191, 0.14);
  backdrop-filter: blur(18px);
}

.cycle-index {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8bffce 0%, #59f1a9 100%);
  color: #062034;
  font-weight: 800;
}

.methodology-signal-card .feature-icon {
  background: rgba(109, 255, 191, 0.14);
  border: 1px solid rgba(109, 255, 191, 0.18);
  color: #9effd8;
}

.methodology-level-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.methodology-level-list span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(109, 255, 191, 0.24);
  background: rgba(109, 255, 191, 0.1);
  color: #d8fff0;
  font-size: 0.8rem;
  font-weight: 700;
}

.methodology-table-wrap {
  margin-top: 26px;
  background: rgba(4, 17, 29, 0.5);
  border-color: rgba(109, 255, 191, 0.16);
}

.section-methodology .data-table th,
.section-methodology .data-table td {
  border-bottom: 1px solid rgba(235, 255, 246, 0.08);
  color: #ebfff6;
}

.section-methodology .data-table th {
  color: #9effd8;
}

.section-methodology .data-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 1100px) {
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-card.primary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .program-grid,
  .methodology-cycle-grid,
  .methodology-signal-grid {
    grid-template-columns: 1fr;
  }
}

/* Infographic palette lock */
:root {
  --bg: #04111d;
  --bg-soft: #071827;
  --surface: rgba(8, 24, 39, 0.84);
  --surface-strong: rgba(10, 28, 45, 0.96);
  --surface-muted: #10263d;
  --text: #eaf9f2;
  --text-soft: #9fc7bc;
  --heading: #f7fffb;
  --primary: #69f5ab;
  --primary-strong: #38d892;
  --secondary: #8ff8e2;
  --accent: #ddfff0;
  --accent-soft: rgba(105, 245, 171, 0.14);
  --success: #7af7b6;
  --warning: #cbffe9;
  --danger: #8debe1;
  --border: rgba(105, 245, 171, 0.16);
  --shadow: 0 36px 96px rgba(1, 8, 15, 0.46);
  --shadow-soft: 0 22px 56px rgba(1, 8, 15, 0.34);
  --shadow-hover: 0 28px 72px rgba(1, 8, 15, 0.5);
}

html[data-theme='dark'] {
  --bg: #020c15;
  --bg-soft: #06101a;
  --surface: rgba(5, 17, 29, 0.88);
  --surface-strong: rgba(8, 22, 36, 0.98);
  --surface-muted: #0d2135;
  --text: #eefdf6;
  --text-soft: #93c1b4;
  --heading: #f9fffc;
  --primary: #74ffb4;
  --primary-strong: #41df9a;
  --secondary: #96ffea;
  --accent: #e6fff5;
  --accent-soft: rgba(116, 255, 180, 0.16);
  --success: #87ffc1;
  --warning: #d8fff0;
  --danger: #98f6ea;
  --border: rgba(116, 255, 180, 0.18);
  --shadow: 0 42px 110px rgba(0, 0, 0, 0.56);
  --shadow-soft: 0 24px 62px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 32px 78px rgba(0, 0, 0, 0.58);
}

body {
  background:
    radial-gradient(circle at 18% 16%, rgba(105, 245, 171, 0.12), transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(143, 248, 226, 0.1), transparent 18%),
    radial-gradient(circle at 80% 82%, rgba(105, 245, 171, 0.08), transparent 20%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 54%, #06121d 100%);
  color: var(--text);
}

.top-disclaimer {
  background: linear-gradient(90deg, rgba(4, 17, 29, 0.98), rgba(6, 35, 47, 0.94));
  color: #f4fff9;
  border-bottom: 1px solid rgba(105, 245, 171, 0.14);
}

.disclaimer-chip {
  background: rgba(105, 245, 171, 0.09);
  border-color: rgba(105, 245, 171, 0.18);
}

.site-header {
  background: rgba(4, 15, 27, 0.84);
  border-bottom: 1px solid rgba(105, 245, 171, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

html[data-theme='dark'] .site-header {
  background: rgba(2, 12, 21, 0.9);
}

.site-header .brand-copy strong,
.site-header .brand-copy span,
.site-header .nav-links a,
.site-header .theme-toggle,
.site-header .ghost-btn {
  color: #f2fff8;
}

.site-header .brand-copy span,
.footer-column a,
.footer-column p,
.footer-bottom {
  color: var(--text-soft);
}

.brand-mark {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #041627;
  box-shadow: 0 14px 32px rgba(105, 245, 171, 0.24);
}

.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(105, 245, 171, 0.14);
  color: #f8fffb;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #041425;
  box-shadow: 0 16px 34px rgba(105, 245, 171, 0.24);
}

.btn-secondary {
  background: linear-gradient(135deg, #f3fff9 0%, #8cf8ca 100%);
  color: #041425;
  box-shadow: 0 14px 30px rgba(105, 245, 171, 0.2);
}

.ghost-btn,
.theme-toggle,
.filter-btn,
.tab-btn,
.icon-btn {
  background: rgba(8, 24, 39, 0.76);
  color: var(--heading);
  border: 1px solid rgba(105, 245, 171, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.filter-btn.is-active,
.tab-btn.is-active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #041425;
  box-shadow: 0 12px 26px rgba(105, 245, 171, 0.22);
}

.site-footer {
  background: linear-gradient(180deg, rgba(4, 15, 27, 0.52), rgba(3, 12, 21, 0.96));
  border-top: 1px solid rgba(105, 245, 171, 0.12);
}

.footer-cta {
  background: linear-gradient(135deg, rgba(105, 245, 171, 0.92) 0%, rgba(143, 248, 226, 0.96) 100%);
  color: #041425;
  box-shadow: 0 24px 60px rgba(105, 245, 171, 0.2);
}

.footer-cta h3,
.footer-cta p,
.footer-cta .ghost-btn {
  color: #041425;
}

.footer-cta .btn-secondary {
  background: #041425;
  color: #f4fff9;
  box-shadow: none;
}

.footer-cta .ghost-btn {
  background: rgba(4, 20, 34, 0.06);
  border-color: rgba(4, 20, 34, 0.14);
}

.hero.hero-fullscreen {
  background-image:
    linear-gradient(118deg, rgba(3, 16, 30, 0.94) 0%, rgba(7, 32, 53, 0.86) 44%, rgba(13, 76, 74, 0.58) 100%),
    radial-gradient(circle at 78% 22%, rgba(105, 245, 171, 0.18), transparent 22%),
    radial-gradient(circle at 12% 78%, rgba(143, 248, 226, 0.12), transparent 18%),
    var(--hero-art);
}

.hero-flag,
.hero-proof-chip,
.hero-ribbon span,
.hero-stat-card {
  background: rgba(7, 22, 37, 0.58);
  border-color: rgba(105, 245, 171, 0.16);
  color: #ecfff6;
}

.hero-stat-card strong {
  color: #ffffff;
}

.hero-story-card {
  background: rgba(6, 24, 37, 0.36);
  border-color: rgba(105, 245, 171, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hero-story-card.secondary {
  background: rgba(4, 17, 29, 0.52);
}

.page-hero,
.dashboard-hero,
.course-banner,
.auth-panel,
.admin-hero,
.plan-summary,
.visual-card,
.glass-card,
.metric-card,
.feature-card,
.step-card,
.course-card,
.testimonial-card,
.faq-item,
.upload-card,
.table-wrap,
.modal-panel,
.editor-card,
.stat-card,
.roadmap-card,
.achievement-card,
.resource-item,
.empty-state,
.admin-summary-card,
.notice-card,
.story-card,
.route-card,
.demo-account-card,
.motivation-banner,
.stage-pill,
.program-card,
.methodology-cycle-card,
.methodology-signal-card {
  background: linear-gradient(180deg, rgba(8, 24, 39, 0.9), rgba(5, 17, 30, 0.98));
  border-color: rgba(105, 245, 171, 0.14);
  box-shadow: var(--shadow-soft);
}

.section-surface {
  background: linear-gradient(180deg, rgba(8, 22, 36, 0.52), rgba(4, 15, 26, 0.3));
  border-top: 1px solid rgba(105, 245, 171, 0.08);
  border-bottom: 1px solid rgba(105, 245, 171, 0.08);
}

.feature-icon,
.step-index,
.metric-icon,
.badge-icon,
.notice-icon {
  background: linear-gradient(135deg, rgba(105, 245, 171, 0.12), rgba(143, 248, 226, 0.18));
  color: var(--primary);
  border: 1px solid rgba(105, 245, 171, 0.14);
}

.payment-status,
.upload-preview,
.course-status-box,
.admin-banner,
.guide-box,
.file-chip {
  background: rgba(105, 245, 171, 0.08);
  border-color: rgba(105, 245, 171, 0.14);
}

.file-chip {
  color: #dffff1;
}

input,
select,
textarea,
.method-card {
  background: rgba(6, 20, 34, 0.9);
  border-color: rgba(105, 245, 171, 0.14);
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: rgba(159, 199, 188, 0.72);
}

input:focus,
select:focus,
textarea:focus,
.method-card.is-active {
  border-color: rgba(105, 245, 171, 0.44);
  box-shadow: 0 0 0 4px rgba(105, 245, 171, 0.12);
}

.pill,
.progress-tag,
.status-pill {
  border: 1px solid rgba(105, 245, 171, 0.14);
}

.pill {
  background: rgba(105, 245, 171, 0.08);
  color: #dffef1;
}

.progress-tag {
  background: rgba(143, 248, 226, 0.1);
  color: #baffea;
}

.status-pill.success {
  background: rgba(122, 247, 182, 0.12);
  color: #a8ffd2;
}

.status-pill.warning {
  background: rgba(221, 255, 240, 0.12);
  color: #ebfff7;
}

.status-pill.danger {
  background: rgba(143, 248, 226, 0.12);
  color: #cafff2;
}

.progress-bar,
.progress-track,
.mock-progress-bar {
  background: rgba(223, 255, 240, 0.08);
}

.progress-fill,
.mock-progress-fill {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.page-hero::before,
.dashboard-hero::before,
.course-banner::before,
.admin-hero::before {
  background:
    radial-gradient(circle at top right, rgba(105, 245, 171, 0.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(143, 248, 226, 0.08), transparent 22%);
}

.table-wrap,
.methodology-table-wrap {
  background: rgba(5, 19, 33, 0.74);
}

.data-table th,
.data-table td {
  border-bottom-color: rgba(105, 245, 171, 0.08);
}

.data-table th,
.stars,
.kicker,
.meta-label {
  color: var(--primary);
}

.toast.info,
.toast.success,
.toast.warning,
.toast.error {
  color: #041425;
}

.toast.info {
  background: linear-gradient(135deg, #84f6c5, #8cf8e2);
}

.toast.success {
  background: linear-gradient(135deg, #69f5ab, #8ef8c8);
}

.toast.warning {
  background: linear-gradient(135deg, #dbfff0, #9efbe0);
}

.toast.error {
  background: linear-gradient(135deg, #a8ffee, #7fe8da);
}

/* Global density pass */
.container {
  width: min(calc(100% - 32px), 1120px);
}

.site-header .container,
.site-footer .container,
.section-head,
.hero,
.dual-panel,
.course-banner,
.dashboard-hero,
.page-hero,
.admin-hero,
.footer-cta {
  gap: 18px;
}

.section {
  padding: 52px 0;
}

.section.compact {
  padding: 30px 0;
}

.hero-wrap {
  padding: 18px 0 24px;
}

.section-head {
  margin-bottom: 20px;
}

.kicker,
.meta-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.section-head h2,
.page-hero h1,
.admin-hero h1,
.dashboard-copy h1,
.course-copy h1,
.auth-copy h1 {
  font-size: clamp(1.45rem, 2vw, 2.25rem);
  line-height: 1.12;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.02;
  margin-bottom: 10px;
}

.section-copy,
.section-head p,
.hero-copy p,
.auth-copy p,
.page-hero p,
.card-copy,
.faq-answer,
.footnote,
.table-note,
.empty-state p,
.metric-card p,
.plan-summary p,
.hero-note,
.stat-copy p,
.dashboard-copy p,
.list-copy,
.timeline-copy,
.form-helper,
.editor-note,
.resource-item p,
.quote,
.footer-column a,
.footer-column p {
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero.hero-fullscreen {
  min-height: min(720px, calc(100vh - 104px));
  padding: clamp(18px, 3vw, 30px);
}

.hero-stage {
  gap: 22px;
}

.hero-copy,
.hero-media,
.page-hero-copy,
.page-hero-media,
.dashboard-copy,
.dashboard-media,
.course-copy,
.course-media,
.auth-copy,
.auth-visual,
.admin-hero .page-hero-copy,
.admin-hero .page-hero-media {
  gap: 16px;
}

.hero-media,
.auth-visual,
.side-visual {
  min-height: 380px;
}

.hero-visual-shell,
.hero-visual-shell img {
  min-height: 400px;
}

.hero-flag {
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.hero-proof-row,
.hero-ribbon,
.hero-stat-grid,
.dashboard-signal-grid,
.admin-toolbar,
.card-topline,
.metric-inline,
.badge-row,
.filters,
.tab-strip,
.payment-methods,
.upload-meta,
.stat-row,
.notice-row,
.program-grid,
.methodology-cycle-grid,
.methodology-signal-grid,
.story-grid,
.route-grid,
.demo-accounts-grid,
.stage-pill-grid,
.route-focus-grid,
.course-grid,
.grid-3,
.grid-4,
.metrics-grid,
.dashboard-grid,
.admin-grid,
.overview-grid,
.form-grid,
.editor-grid.two {
  gap: 14px;
}

.hero-proof-chip,
.hero-ribbon span,
.hero-stat-card,
.pill,
.progress-tag,
.status-pill {
  padding: 8px 12px;
}

.hero-stat-card {
  min-width: 124px;
}

.hero-stat-card strong {
  font-size: 1.35rem;
  margin-bottom: 2px;
}

.hero-stat-card span,
.pill,
.progress-tag,
.status-pill {
  font-size: 0.78rem;
}

.page-hero,
.dashboard-hero,
.course-banner,
.auth-panel,
.admin-hero,
.plan-summary,
.visual-card,
.glass-card,
.metric-card,
.feature-card,
.step-card,
.course-card,
.testimonial-card,
.faq-item,
.upload-card,
.table-wrap,
.modal-panel,
.editor-card,
.stat-card,
.roadmap-card,
.achievement-card,
.resource-item,
.empty-state,
.admin-summary-card,
.notice-card,
.story-card,
.route-card,
.demo-account-card,
.motivation-banner,
.stage-pill,
.program-card,
.methodology-cycle-card,
.methodology-signal-card {
  border-radius: 22px;
  padding: 18px;
}

.hero-story-card,
.spotlight-card,
.hero-mini-card,
.dashboard-floating-card,
.admin-floating-card,
.methodology-panel {
  border-radius: 22px;
  padding: 18px;
}

.program-card.primary,
.methodology-panel,
.footer-cta {
  border-radius: 24px;
}

.feature-icon,
.step-index,
.metric-icon,
.badge-icon,
.notice-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.btn,
.ghost-btn,
.theme-toggle,
.filter-btn,
.tab-btn {
  padding: 11px 16px;
  gap: 8px;
}

.theme-toggle,
.icon-btn {
  width: 42px;
  height: 42px;
}

.nav-links a {
  padding: 8px 12px;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 14px;
}

textarea {
  min-height: 96px;
}

.auth-panel,
.plan-summary,
.side-panel,
.admin-sidebar,
.admin-panel {
  padding: 22px;
}

.faq-question {
  padding: 16px 18px;
}

.faq-answer {
  padding: 0 18px 18px;
}

.testimonial-card {
  padding: 20px;
}

.quote {
  font-size: 1rem;
}

.plan-price strong {
  font-size: 2rem;
}

.roadmap-step,
.badge-item,
.module-item,
.admin-list-item,
.route-mini-list li,
.checklist li,
.insight-list > * {
  padding: 14px 16px;
}

.table-wrap {
  padding: 8px;
}

.data-table th,
.data-table td {
  padding: 12px;
  font-size: 0.92rem;
}

.footer-cta {
  margin-top: 20px;
  padding: 18px 20px;
}

.footer-cta h3 {
  font-size: 1.45rem;
}

.site-footer {
  padding: 42px 0 24px;
}

@media (max-width: 900px) {
  .section {
    padding: 40px 0;
  }

  .section.compact {
    padding: 24px 0;
  }

  .hero.hero-fullscreen {
    min-height: auto;
    padding: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }

  .section-head h2,
  .page-hero h1,
  .admin-hero h1,
  .dashboard-copy h1,
  .course-copy h1,
  .auth-copy h1 {
    font-size: clamp(1.3rem, 5vw, 1.9rem);
  }

  .page-hero,
  .dashboard-hero,
  .course-banner,
  .auth-panel,
  .admin-hero,
  .plan-summary {
    padding: 16px;
  }
}

/* Fixed light theme and contrast pass */
:root,
html[data-theme='dark'],
html[data-theme='light'] {
  --bg: #f8fcfb;
  --bg-soft: #fdfffe;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: #ffffff;
  --surface-muted: #eef7f4;
  --text: #18313a;
  --text-soft: #5f7780;
  --heading: #0f242b;
  --primary: #123346;
  --primary-strong: #0c2330;
  --secondary: #27b988;
  --accent: #8cf0c8;
  --accent-soft: rgba(39, 185, 136, 0.12);
  --success: #1f9d73;
  --warning: #167d95;
  --danger: #2d6f88;
  --border: rgba(18, 51, 70, 0.1);
  --shadow: 0 24px 64px rgba(10, 31, 42, 0.08);
  --shadow-soft: 0 16px 36px rgba(10, 31, 42, 0.06);
  --shadow-hover: 0 20px 44px rgba(10, 31, 42, 0.1);
}

body {
  background:
    radial-gradient(circle at 16% 14%, rgba(140, 240, 200, 0.18), transparent 20%),
    radial-gradient(circle at 88% 18%, rgba(39, 185, 136, 0.1), transparent 16%),
    linear-gradient(180deg, #fdfffe 0%, #f8fcfb 52%, #f4faf7 100%);
  color: var(--text);
}

.theme-toggle {
  display: none !important;
}

.top-disclaimer {
  background: linear-gradient(90deg, rgba(239, 249, 245, 0.98), rgba(245, 252, 249, 0.96));
  color: var(--text);
  border-bottom: 1px solid rgba(18, 51, 70, 0.08);
}

.disclaimer-chip {
  background: rgba(39, 185, 136, 0.08);
  border-color: rgba(39, 185, 136, 0.14);
  color: var(--heading);
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(18, 51, 70, 0.08);
  box-shadow: 0 10px 26px rgba(10, 31, 42, 0.05);
}

.site-header .brand-copy strong,
.site-header .nav-links a,
.site-header .ghost-btn {
  color: var(--heading);
}

.site-header .brand-copy span,
.notice-row,
.footer-column a,
.footer-column p,
.footer-bottom {
  color: var(--text-soft);
}

.brand-mark {
  background: transparent;
  color: inherit;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.brand-logo {
  display: block;
  width: 52px;
  height: 52px;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(39, 185, 136, 0.1);
  color: var(--heading);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1c4d5d 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(18, 51, 70, 0.16);
}

.btn-secondary {
  background: linear-gradient(135deg, #cffff0 0%, #8cf0c8 100%);
  color: #0f242b;
  box-shadow: 0 12px 24px rgba(39, 185, 136, 0.16);
}

.ghost-btn,
.filter-btn,
.tab-btn,
.icon-btn {
  background: rgba(255, 255, 255, 0.96);
  color: var(--heading);
  border: 1px solid rgba(18, 51, 70, 0.1);
  box-shadow: 0 6px 16px rgba(10, 31, 42, 0.04);
}

.filter-btn.is-active,
.tab-btn.is-active {
  background: linear-gradient(135deg, #cffff0 0%, #8cf0c8 100%);
  color: #0f242b;
  border-color: rgba(39, 185, 136, 0.16);
  box-shadow: 0 10px 20px rgba(39, 185, 136, 0.14);
}

.hero.hero-fullscreen {
  color: var(--text);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 252, 248, 0.98) 100%),
    radial-gradient(circle at 82% 18%, rgba(140, 240, 200, 0.18), transparent 18%),
    radial-gradient(circle at 12% 82%, rgba(39, 185, 136, 0.08), transparent 16%),
    var(--hero-art);
  border: 1px solid rgba(18, 51, 70, 0.08);
}

.hero-copy h1,
.hero-copy p,
.hero-note,
.hero .kicker,
.hero-story-card,
.hero-story-card .card-copy,
.hero-story-card strong,
.hero-story-card small {
  color: var(--text);
}

.hero-flag,
.hero-proof-chip,
.hero-ribbon span,
.hero-stat-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 51, 70, 0.08);
  color: var(--heading);
  box-shadow: 0 10px 22px rgba(10, 31, 42, 0.04);
}

.hero-stat-card strong {
  color: var(--heading);
}

.hero-story-card,
.hero-story-card.secondary,
.spotlight-card,
.hero-mini-card,
.dashboard-floating-card,
.admin-floating-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(18, 51, 70, 0.08);
  box-shadow: var(--shadow-soft);
}

.page-hero,
.dashboard-hero,
.course-banner,
.auth-panel,
.admin-hero,
.plan-summary,
.visual-card,
.glass-card,
.metric-card,
.feature-card,
.step-card,
.course-card,
.testimonial-card,
.faq-item,
.upload-card,
.table-wrap,
.modal-panel,
.editor-card,
.stat-card,
.roadmap-card,
.achievement-card,
.resource-item,
.empty-state,
.admin-summary-card,
.notice-card,
.story-card,
.route-card,
.demo-account-card,
.motivation-banner,
.stage-pill,
.program-card,
.program-card.primary,
.methodology-panel,
.methodology-cycle-card,
.methodology-signal-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 252, 250, 0.98));
  border: 1px solid rgba(18, 51, 70, 0.08);
  box-shadow: var(--shadow-soft);
}

.section-surface {
  background: linear-gradient(180deg, rgba(243, 250, 247, 0.72), rgba(249, 253, 251, 0.92));
  border-top: 1px solid rgba(18, 51, 70, 0.06);
  border-bottom: 1px solid rgba(18, 51, 70, 0.06);
}

.section-methodology .section-head h2,
.section-methodology .section-head p,
.section-methodology .kicker,
.section-methodology .card-copy,
.section-methodology h3,
.section-methodology .data-table th,
.section-methodology .data-table td {
  color: inherit;
}

.section-methodology .methodology-level-list {
  color: var(--text);
}

.section-methodology .methodology-level-list span {
  background: rgba(39, 185, 136, 0.10);
  border-color: rgba(39, 185, 136, 0.18);
  color: var(--heading);
}

.feature-icon,
.step-index,
.metric-icon,
.badge-icon,
.notice-icon {
  background: linear-gradient(135deg, rgba(39, 185, 136, 0.12), rgba(140, 240, 200, 0.18));
  color: var(--primary);
  border: 1px solid rgba(39, 185, 136, 0.12);
}

.payment-status,
.upload-preview,
.course-status-box,
.admin-banner,
.guide-box,
.file-chip {
  background: rgba(39, 185, 136, 0.08);
  border: 1px solid rgba(39, 185, 136, 0.12);
  color: var(--text);
}

input,
select,
textarea,
.method-card {
  background: #ffffff;
  border: 1px solid rgba(18, 51, 70, 0.12);
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: #738993;
}

input:focus,
select:focus,
textarea:focus,
.method-card.is-active {
  border-color: rgba(39, 185, 136, 0.44);
  box-shadow: 0 0 0 4px rgba(39, 185, 136, 0.12);
}

.pill,
.progress-tag,
.status-pill {
  border: 1px solid rgba(18, 51, 70, 0.08);
}

.pill {
  background: rgba(39, 185, 136, 0.08);
  color: #174b55;
}

.program-card.primary {
  background:
    radial-gradient(circle at top right, rgba(109, 255, 191, 0.32), transparent 28%),
    linear-gradient(135deg, #031532 0%, #0a3757 54%, #1a6a57 100%);
  border-color: rgba(109, 255, 191, 0.26);
  color: #f3fff8;
}

.program-card.primary h3,
.program-card.primary .program-note,
.program-card.primary .card-copy,
.program-card.primary .meta-label,
.program-card.primary .pill {
  color: #f3fff8;
}

.program-card.primary .pill {
  background: rgba(243, 255, 248, 0.12);
  border-color: rgba(243, 255, 248, 0.18);
}

.progress-tag {
  background: rgba(18, 51, 70, 0.06);
  color: #174b55;
}

.status-pill.success {
  background: rgba(31, 157, 115, 0.12);
  color: #176c4f;
}

.status-pill.warning {
  background: rgba(22, 125, 149, 0.12);
  color: #125f72;
}

.status-pill.danger {
  background: rgba(45, 111, 136, 0.12);
  color: #1d5568;
}

.progress-bar,
.progress-track,
.mock-progress-bar {
  background: rgba(18, 51, 70, 0.08);
}

.progress-fill,
.mock-progress-fill {
  background: linear-gradient(135deg, #1a4351 0%, #28b988 100%);
}

.table-wrap,
.methodology-table-wrap {
  background: rgba(255, 255, 255, 0.98);
}

.data-table th,
.data-table td {
  border-bottom-color: rgba(18, 51, 70, 0.08);
}

.data-table th,
.stars,
.kicker,
.meta-label {
  color: #196e62;
}

.site-footer {
  background: linear-gradient(180deg, rgba(252, 255, 254, 0.98), rgba(245, 251, 248, 0.98));
  border-top: 1px solid rgba(18, 51, 70, 0.08);
}

.footer-cta {
  background: linear-gradient(135deg, #123346 0%, #1d5560 100%);
  color: #f7fffb;
  box-shadow: 0 18px 42px rgba(18, 51, 70, 0.14);
}

.footer-cta h3,
.footer-cta p {
  color: #f7fffb;
}

.footer-cta .btn-secondary {
  background: linear-gradient(135deg, #d8fff0 0%, #95f2ce 100%);
  color: #0f242b;
}

.footer-cta .ghost-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f7fffb;
}

.toast.info {
  background: linear-gradient(135deg, #123346, #1d5560);
  color: #ffffff;
}

.toast.success {
  background: linear-gradient(135deg, #14684f, #1d7f61);
  color: #ffffff;
}

.toast.warning {
  background: linear-gradient(135deg, #167d95, #2d97a8);
  color: #ffffff;
}

.toast.error {
  background: linear-gradient(135deg, #2d6f88, #4b8ea6);
  color: #ffffff;
}

.site-header .nav-links a {
  color: var(--heading);
  border: 1px solid transparent;
}

.site-header .nav-links a:hover,
.site-header .nav-links a.is-active,
.site-header .nav-links a:focus-visible {
  background: #e3f7ee;
  color: #123346;
  border-color: rgba(39, 185, 136, 0.18);
  box-shadow: 0 6px 14px rgba(18, 51, 70, 0.06);
  outline: none;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(18, 51, 70, 0.08);
}

.hero-stat-card strong {
  color: var(--heading);
}

.hero-stat-card span {
  color: var(--text-soft);
}

.hero-story-card {
  display: grid;
  gap: 10px;
}

.hero-story-card .card-copy {
  margin: 0;
}

.hero-story-card .hero-ribbon {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  margin-top: 4px;
  justify-content: flex-start;
}

.hero-story-card .hero-ribbon span {
  background: rgba(39, 185, 136, 0.08);
  border: 1px solid rgba(39, 185, 136, 0.12);
  color: #174b55;
}

.auth-layout-login {
  align-items: start;
  margin-bottom: 24px;
}

.login-showcase {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 0;
}

.login-visual-figure {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 249, 245, 0.98));
  border: 1px solid rgba(18, 51, 70, 0.08);
  box-shadow: var(--shadow-soft);
}

.login-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.login-visual-copy {
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 249, 0.98));
  border: 1px solid rgba(18, 51, 70, 0.08);
  box-shadow: var(--shadow-soft);
}

.login-visual-copy h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  line-height: 1.08;
}

.login-visual-copy p {
  margin: 0;
  color: var(--text-soft);
}

.login-visual-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.login-visual-pills .pill {
  background: rgba(39, 185, 136, 0.10);
  border-color: rgba(39, 185, 136, 0.16);
  color: #174b55;
}

.login-demo-section {
  margin-top: 24px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 250, 0.98));
  border: 1px solid rgba(18, 51, 70, 0.08);
  box-shadow: var(--shadow-soft);
}

.login-demo-section .section-head {
  align-items: start;
  margin-bottom: 22px;
}

.login-demo-section .section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: var(--heading);
}

.login-demo-section .section-head p {
  max-width: 520px;
  color: var(--text-soft);
}

.login-demo-section .demo-accounts-grid {
  margin-top: 0;
}

@media (max-width: 960px) {
  .auth-layout-login {
    gap: 18px;
  }

  .login-demo-section {
    padding: 18px;
  }
}

@media (max-width: 820px) {
  .login-visual-copy,
  .login-demo-section {
    padding: 18px;
  }
}
/* Session contrast and disclaimer controls */
body.is-authenticated {
  background:
    radial-gradient(circle at top left, rgba(39, 185, 136, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(18, 51, 70, 0.08), transparent 24%),
    linear-gradient(180deg, #e7efea 0%, #dce6e0 100%);
}

body.is-authenticated .site-header {
  background: rgba(234, 240, 236, 0.92);
  border-bottom: 1px solid rgba(18, 51, 70, 0.10);
  box-shadow: 0 14px 28px rgba(18, 51, 70, 0.08);
}

body.is-authenticated .site-footer {
  background: linear-gradient(180deg, rgba(236, 242, 238, 0.98), rgba(223, 231, 226, 0.98));
}

.section {
  position: relative;
}

.section + .section {
  box-shadow: inset 0 1px 0 rgba(18, 51, 70, 0.08);
}

.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(20px, 4vw, 72px);
  right: clamp(20px, 4vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 51, 70, 0.12), transparent);
  pointer-events: none;
}

.section-surface {
  background: linear-gradient(180deg, rgba(236, 245, 240, 0.88), rgba(248, 251, 249, 0.96));
  border-top: 1px solid rgba(18, 51, 70, 0.08);
  border-bottom: 1px solid rgba(18, 51, 70, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), inset 0 -1px 0 rgba(18, 51, 70, 0.04);
}

body.is-authenticated .section-surface {
  background: linear-gradient(180deg, rgba(227, 236, 230, 0.96), rgba(239, 245, 241, 0.98));
  border-top-color: rgba(18, 51, 70, 0.10);
  border-bottom-color: rgba(18, 51, 70, 0.10);
}

.top-disclaimer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.disclaimer-content {
  display: flex;
  align-items: center;
  gap: 12px 18px;
  flex: 1;
  min-width: 0;
}

.disclaimer-content .notice-row {
  margin-left: auto;
}

.disclaimer-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(18, 51, 70, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #123346;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.disclaimer-close:hover,
.disclaimer-close:focus-visible {
  background: #123346;
  color: #ffffff;
  border-color: #123346;
  transform: translateY(-1px);
  outline: none;
}

.feature-icon,
.step-index,
.metric-icon,
.badge-icon,
.notice-icon,
.methodology-signal-card .feature-icon {
  background: linear-gradient(135deg, rgba(216, 247, 234, 0.96), rgba(238, 251, 245, 0.92));
  color: #123346;
  border: 1px solid rgba(24, 110, 98, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.feature-icon i,
.step-index i,
.metric-icon i,
.badge-icon i,
.notice-icon i,
.methodology-signal-card .feature-icon i {
  color: inherit;
}

@media (max-width: 820px) {
  .top-disclaimer .container {
    align-items: flex-start;
  }

  .disclaimer-content {
    flex-wrap: wrap;
  }

  .disclaimer-content .notice-row {
    margin-left: 0;
    justify-content: flex-start;
  }
}
/* Final layout refinements */
.footer-bottom {
  display: none !important;
}

.guide-box-admin {
  display: grid;
  gap: 10px;
  align-items: start;
}

.guide-box-admin p {
  margin: 0;
}

.guide-box-admin .ghost-btn {
  width: fit-content;
}

.login-demo-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.login-demo-topbar .section-head {
  margin-bottom: 0;
}

.login-demo-toggle {
  flex-shrink: 0;
  white-space: nowrap;
}

.login-demo-body {
  margin-top: 6px;
}

.route-focus-grid .achievement-card {
  min-width: 0;
  align-content: start;
}

.route-focus-grid .achievement-card .stage-pill-grid {
  grid-template-columns: 1fr;
}

.stage-pill {
  display: grid;
  gap: 8px;
  align-content: start;
}

.stage-pill strong {
  display: block;
  margin: 0;
  font-size: 1rem;
  line-height: 1.24;
  color: var(--heading);
}

.stage-pill span {
  display: block;
  line-height: 1.45;
  color: var(--text-soft);
}

.spotlight-card,
.hero-mini-card,
.dashboard-floating-card,
.admin-floating-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 248, 0.96));
  border: 1px solid rgba(18, 51, 70, 0.10);
  box-shadow: var(--shadow-soft);
  backdrop-filter: none;
}

.spotlight-card small,
.hero-mini-card small,
.dashboard-floating-card small,
.admin-floating-card small {
  display: block;
  margin-bottom: 6px;
  color: #196e62;
}

.spotlight-card strong,
.hero-mini-card strong,
.dashboard-floating-card strong,
.admin-floating-card strong {
  color: var(--heading);
}

.spotlight-card .card-copy,
.hero-mini-card span,
.dashboard-floating-card span,
.admin-floating-card span,
.spotlight-card .progress-caption,
.spotlight-card .progress-caption span {
  color: var(--text-soft);
}

.admin-layout {
  grid-template-columns: minmax(250px, 280px) minmax(0, 1fr);
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 112px;
  z-index: 4;
  align-self: start;
}

.admin-panel,
.tab-panel {
  min-width: 0;
}

.admin-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.tab-panel.is-active {
  display: grid;
  gap: 18px;
  align-content: start;
}

.admin-grid,
.overview-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dual-panel {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.admin-list-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-list-item > div:first-child {
  min-width: 0;
  flex: 1 1 280px;
}

.admin-list-item .inline-actions {
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    top: auto;
    z-index: auto;
  }

  .login-demo-topbar {
    flex-direction: column;
  }

  .login-demo-toggle {
    width: fit-content;
  }
}
/* Admin dashboard and session header refinements */
.site-header .nav-links {
  flex: 1 1 auto;
  min-width: 0;
}

.site-header .header-actions {
  margin-left: auto;
  flex-wrap: nowrap;
  gap: 10px;
}

.header-icon-action {
  flex: 0 0 auto;
}

.site-header .header-actions .btn,
.site-header .header-actions .ghost-btn {
  white-space: nowrap;
}

.site-header .header-actions .icon-btn {
  width: 44px;
  height: 44px;
}

.admin-control-board {
  display: grid;
  gap: 14px;
  width: 100%;
}

.admin-control-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-control-head h2 {
  margin: 8px 0 0;
  font-size: clamp(1.28rem, 2vw, 1.85rem);
  color: var(--heading);
}

.admin-control-filter-bar {
  display: grid;
  gap: 12px;
}

.admin-control-status {
  flex-wrap: wrap;
}

.admin-control-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 12px;
}

.admin-filter-field {
  display: grid;
  gap: 8px;
}

.admin-filter-field span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #196e62;
}

.admin-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: 14px;
}

.admin-control-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-control-side {
  display: grid;
  gap: 14px;
}

.admin-kpi-card,
.admin-control-panel {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 247, 0.96));
  border: 1px solid rgba(18, 51, 70, 0.08);
  box-shadow: var(--shadow-soft);
}

.admin-kpi-card small {
  display: block;
  margin-bottom: 8px;
  color: #196e62;
}

.admin-kpi-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1;
}

.admin-kpi-card p,
.admin-control-panel p {
  margin: 0;
  color: var(--text-soft);
}

.admin-route-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-ops-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.admin-ops-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(18, 51, 70, 0.08);
}

.admin-ops-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.admin-ops-list strong {
  color: var(--heading);
  text-align: right;
}

.admin-user-mini-table {
  display: grid;
  gap: 12px;
}

.admin-user-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(239, 248, 243, 0.78);
  border: 1px solid rgba(18, 51, 70, 0.08);
}

.admin-user-row-meta {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.admin-user-row-meta strong,
.admin-user-progress strong {
  color: var(--heading);
}

.admin-user-row-meta span,
.admin-user-progress span {
  color: var(--text-soft);
}

.admin-user-row .badge-row {
  gap: 8px;
  justify-content: flex-end;
}

.admin-user-progress {
  min-width: 102px;
  text-align: right;
  display: grid;
  gap: 4px;
}

.admin-empty-state {
  padding: 16px;
  border-radius: 18px;
  background: rgba(239, 248, 243, 0.78);
  border: 1px dashed rgba(18, 51, 70, 0.16);
  color: var(--text-soft);
}

@media (max-width: 1180px) {
  .admin-control-grid,
  .admin-control-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .admin-control-head,
  .admin-user-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .admin-control-metrics {
    grid-template-columns: 1fr;
  }

  .admin-user-row .badge-row {
    justify-content: flex-start;
  }

  .admin-user-progress {
    min-width: 0;
    text-align: left;
  }
}
.course-banner .course-copy > .payment-status {
  margin-top: 18px;
}

.faq-list {
  gap: 10px;
}

.faq-item {
  border-radius: 18px;
}

.faq-question {
  padding: 12px 14px;
  gap: 12px;
  font-size: 0.98rem;
}

.faq-question span {
  line-height: 1.4;
}

.faq-question i {
  font-size: 0.95rem;
}

.faq-answer {
  padding: 0 14px 14px;
  font-size: 0.95rem;
  line-height: 1.55;
}
/* Landing structure refinements */
.hero-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(18, 51, 70, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--heading);
  font-weight: 600;
}

.hero-quick-link:hover,
.hero-quick-link:focus-visible {
  background: rgba(227, 247, 238, 0.92);
  border-color: rgba(31, 139, 132, 0.22);
}

.credibility-band,
.home-entry-card,
.collection-panel,
.route-summary-card,
.study-mode-card,
.trust-stat-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 252, 250, 0.98));
  border: 1px solid rgba(18, 51, 70, 0.08);
  box-shadow: var(--shadow-soft);
}

.credibility-band {
  padding: 22px;
  border-radius: 28px;
  display: grid;
  gap: 16px;
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.credibility-card {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(239, 248, 243, 0.78);
  border: 1px solid rgba(18, 51, 70, 0.08);
  display: grid;
  gap: 6px;
}

.credibility-card strong,
.home-entry-card h3,
.route-summary-card h3,
.study-mode-card h3,
.trust-stat-card strong {
  color: var(--heading);
}

.credibility-card span,
.route-summary-card .card-copy,
.study-mode-card .card-copy,
.trust-stat-card span {
  color: var(--text-soft);
}

.home-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-entry-card {
  padding: 22px;
  border-radius: 24px;
  display: grid;
  gap: 14px;
}

.home-entry-card .ghost-btn,
.study-mode-card .btn {
  justify-self: flex-start;
}

.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.section-cluster {
  display: grid;
  gap: 18px;
}

.story-grid-stacked {
  grid-template-columns: 1fr;
}

.route-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.route-summary-card {
  padding: 24px;
  border-radius: 26px;
  display: grid;
  gap: 16px;
}

.route-summary-list,
.study-mode-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  display: grid;
  gap: 10px;
}

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

.collection-panel {
  padding: 22px;
  border-radius: 26px;
  display: grid;
  gap: 16px;
}

.collection-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.collection-heading h3 {
  color: var(--heading);
  margin-top: 6px;
}

.collection-panel .course-grid {
  gap: 16px;
}

.study-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.study-mode-card {
  padding: 24px;
  border-radius: 28px;
  display: grid;
  gap: 14px;
}

.study-mode-card.featured {
  background: linear-gradient(160deg, #0d2b3c, #145a55 62%, #1c866f);
  border-color: rgba(18, 51, 70, 0.08);
  box-shadow: 0 24px 40px rgba(13, 43, 60, 0.18);
}

.study-mode-card.featured .meta-label,
.study-mode-card.featured h3,
.study-mode-card.featured .card-copy,
.study-mode-card.featured .study-mode-price,
.study-mode-card.featured .study-mode-list {
  color: rgba(255, 255, 255, 0.96);
}

.study-mode-card.featured .btn {
  background: rgba(255, 255, 255, 0.94);
  color: #123346;
}

.study-mode-price {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.03em;
}

.trust-story-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

.trust-story-copy {
  display: grid;
  gap: 16px;
}

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

.trust-stat-card {
  padding: 18px;
  border-radius: 20px;
  display: grid;
  gap: 6px;
}

.trust-stat-card strong {
  font-size: 1.5rem;
}

@media (max-width: 1180px) {
  .credibility-grid,
  .home-entry-grid,
  .study-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-showcase,
  .route-layout,
  .course-shelf-grid,
  .trust-story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .hero-quick-nav,
  .collection-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .credibility-grid,
  .home-entry-grid,
  .study-mode-grid,
  .trust-stat-grid {
    grid-template-columns: 1fr;
  }

  .credibility-band,
  .home-entry-card,
  .collection-panel,
  .route-summary-card,
  .study-mode-card {
    padding: 18px;
    border-radius: 22px;
  }
}
.hero-immersive-panel .spotlight-card {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 22px;
  border-radius: 28px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.hero-stat-card {
  min-width: 0;
}

@media (max-width: 780px) {
  .hero-stat-grid {
    grid-template-columns: 1fr;
  }
}
#catalogo-home .section-head {
  align-items: flex-end;
  gap: 26px;
}

#catalogo-home .course-shelf-grid {
  gap: 24px;
  align-items: start;
}

#catalogo-home .collection-panel {
  padding: 26px;
  gap: 20px;
}

#catalogo-home .collection-heading {
  gap: 18px;
  align-items: center;
}

#catalogo-home .collection-panel .course-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

#catalogo-home .course-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 100%;
}

#catalogo-home .course-card .course-thumb,
#catalogo-home .course-card .card-topline,
#catalogo-home .course-card .badge-row {
  margin-bottom: 0;
}

#catalogo-home .course-card h3 {
  margin-bottom: 0;
  font-size: 1.28rem;
  line-height: 1.16;
}

#catalogo-home .course-card .card-copy {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

#catalogo-home .course-card .card-footer {
  margin-top: auto;
  padding-top: 4px;
  align-items: flex-start;
}

@media (max-width: 820px) {
  #catalogo-home .collection-panel .course-grid {
    grid-template-columns: 1fr;
  }
}

/* Final spacing and proportion refinements */
.section {
  padding: 54px 0;
}

.section.compact {
  padding: 28px 0;
}

.section-head {
  gap: 16px;
  margin-bottom: 18px;
}

.hero,
.page-hero,
.dashboard-hero,
.course-banner,
.auth-panel,
.admin-hero,
.plan-summary,
.admin-sidebar,
.admin-panel {
  padding: clamp(22px, 3vw, 28px);
}

.faq-list {
  gap: 6px;
}

.faq-item {
  padding: 0;
  border-radius: 14px;
}

.faq-question {
  padding: 8px 10px;
  gap: 8px;
  font-size: 0.92rem;
}

.faq-question span {
  line-height: 1.28;
}

.faq-answer {
  padding: 0 10px 10px;
  font-size: 0.9rem;
  line-height: 1.44;
}

.split-showcase {
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1.05fr);
  gap: 22px;
}

.program-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.program-card {
  min-height: 100%;
}

.program-card.primary {
  grid-column: 1 / -1;
}

.story-grid-stacked {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.section-cluster {
  gap: 20px;
}

@media (max-width: 1100px) {
  .split-showcase,
  .story-grid-stacked,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-card.primary {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 42px 0;
  }

  .section.compact {
    padding: 22px 0;
  }
}

.hero-copy > .hero-flag,
.page-hero-copy > .hero-flag {
  display: inline-flex;
  vertical-align: top;
  margin: 0 0 10px;
}

.hero-copy > .kicker,
.page-hero-copy > .kicker {
  display: block;
  margin: 0 0 10px;
  line-height: 1.24;
}
