:root {
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --bg-elevated: #1a1a1a;
  --accent-primary: #d4a574;
  --accent-light: #f0dcc8;
  --accent-dark: #b8895f;
  --text-primary: #ffffff;
  --text-secondary: #a8a8a8;
  --text-muted: #6b6b6b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 16px rgba(212, 165, 116, 0.15);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  background: linear-gradient(180deg, #0f0f0f 0%, #050505 100%);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Display", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  /* Critical performance optimization */
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
}

/* MAIN LAYOUT */
.page {
  min-height: 100vh;
  display: flex;
  padding: 40px;
}

.shell {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  background: rgba(26, 26, 26, 0.95);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 48px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  /* Performance optimization */
  transform: translateZ(0);
  will-change: auto;
}

.shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.3), transparent);
}

.shell-inner {
  position: relative;
  z-index: 1;
}

/* TOP HEADER */
.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 24px;
  flex-wrap: wrap;
}

.header-address {
  padding: 10px 20px;
  background: rgba(197, 167, 145, 0.1);
  border: 1px solid rgba(197, 167, 145, 0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(212, 165, 116, 0.2));
}

.brand-tagline {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(212, 165, 116, 0.05));
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  /* backdrop-filter removed for performance */
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px rgba(212, 165, 116, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.9); }
}

/* PASSWORD SCREEN */
.lock-screen {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeIn 0.4s ease-out;
}

.lock-screen.hidden {
  animation: fadeOut 0.3s ease-out;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 0;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
}

.lock-card {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  /* backdrop-filter removed for performance */
}

.lock-icon-wrap {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(212, 165, 116, 0.05));
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.lock-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.lock-hint {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.lock-hint strong {
  color: var(--accent-primary);
  font-weight: 600;
}

.lock-form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.field-wrap {
  flex: 1;
  position: relative;
}

.field-label {
  position: absolute;
  top: 12px;
  left: 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition);
}

.field-input {
  width: 100%;
  height: 56px;
  padding: 24px 18px 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.field-input:focus {
  background: rgba(0, 0, 0, 0.6);
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

select.field-input {
  padding: 22px 40px 8px 18px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

select.field-input option {
  background: #1a1a1a;
  color: var(--text-primary);
  padding: 10px;
}

.field-input::placeholder {
  color: var(--text-muted);
}

.btn-primary {
  height: 56px;
  padding: 0 32px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-dark));
  border: none;
  border-radius: var(--radius-md);
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(212, 165, 116, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-chevron {
  font-size: 16px;
  line-height: 1;
}

.lock-error {
  margin-top: 12px;
  font-size: 12px;
  color: #ff6b6b;
  min-height: 18px;
}

.meta-row {
  display: flex;
  gap: 32px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-label {
  color: var(--accent-primary);
  margin-right: 8px;
}

/* TABS SECTION */
.tabs-shell {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  /* backdrop-filter removed for performance */
  box-shadow: var(--shadow-md);
  min-height: 600px;
  width: 100%;
  animation: fadeIn 0.4s ease-out;
}

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

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.tabs-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  height: 100%;
}

.tabs-headline {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.tabs-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.tabs-kpi {
  display: flex;
  gap: 24px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.tabs-kpi span {
  color: var(--text-muted);
  margin-right: 6px;
}

/* TABS LIST */
.tabs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100vh - 350px);
  overflow-y: auto;
  padding-right: 8px;
}

.tab-button {
  position: relative;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
}

.tab-button span {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-muted);
  line-height: 1.4;
}

.tab-button:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-medium);
  transform: translateX(4px);
}

.tab-button.active {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(212, 165, 116, 0.08));
  border-color: rgba(212, 165, 116, 0.3);
  color: var(--accent-light);
  box-shadow: var(--shadow-glow);
}

.tab-button.active span {
  color: var(--text-secondary);
}

/* TAB CONTENT */
.tab-content-shell {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-height: calc(100vh - 350px);
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}

.tab-copy-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tab-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.tab-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.tab-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.tab-body p + p {
  margin-top: 16px;
}

.tab-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.tab-meta-item {
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.tab-meta-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.tab-meta-value {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* SIDE NOTE */
.tab-side-note {
  padding: 24px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.08), rgba(212, 165, 116, 0.03));
  border: 1px solid rgba(212, 165, 116, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-glow);
}

.side-note-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.side-note-body {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.side-note-foot {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.side-note-foot span {
  color: var(--accent-primary);
}

/* DASHBOARD */
.dashboard-shell {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.dashboard-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.dashboard-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.dashboard-title span {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dashboard-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* MODULES GRID */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.module-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: var(--transition);
  /* backdrop-filter removed for performance */
  overflow: hidden;
}

.module-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.module-card:hover {
  border-color: rgba(212, 165, 116, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.module-card:hover::before {
  opacity: 1;
}

.module-card:hover .module-arrow {
  transform: translateX(4px);
  color: var(--accent-primary);
}

.module-card-featured {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.12), rgba(212, 165, 116, 0.04));
  border: 2px solid rgba(212, 165, 116, 0.3);
  box-shadow: var(--shadow-glow);
}

.module-card-featured:hover {
  border-color: rgba(212, 165, 116, 0.5);
}

.module-card-coming {
  opacity: 0.5;
  pointer-events: none;
}

.module-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-primary);
  min-width: 32px;
}

.module-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.module-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.module-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.module-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: 999px;
  color: var(--accent-light);
}

.module-arrow {
  font-size: 24px;
  color: var(--text-muted);
  transition: var(--transition);
}

/* DASHBOARD FOOTER */
.dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.btn-logout {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.btn-logout:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 100, 100, 0.3);
  color: #ff6b6b;
}

.btn-logout-small {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.btn-logout-small:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

/* Header right side: name pill + separate logout button */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-logout-inline {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  height: 100%;
}

.btn-logout-inline:hover {
  border-color: rgba(255, 100, 100, 0.4);
  color: #ff6b6b;
  background: rgba(255, 100, 100, 0.06);
}

/* MODULE PAGES */
.module-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.module-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 20px;
  align-self: start;
}

.module-nav {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.nav-header {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.nav-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-bottom: 6px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

/* Lesson title text stretches to fill available space */
.nav-link-text {
  flex: 1;
  min-width: 0;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.nav-link.active {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(212, 165, 116, 0.08));
  color: var(--accent-light);
  border-left: 3px solid var(--accent-primary);
  padding-left: 9px;
}

.nav-number {
  font-size: 10px;
  color: var(--text-muted);
}

.nav-link.active .nav-number {
  color: var(--accent-primary);
}

.sidebar-info {
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.info-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.info-value {
  font-size: 12px;
  color: var(--text-secondary);
}

.module-content-area {
  flex: 1;
  min-width: 0;
}

.module-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 11px;
  color: var(--text-muted);
}

.module-breadcrumb a,
.breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.module-breadcrumb a:hover,
.breadcrumb-item a:hover {
  color: var(--text-secondary);
}

.breadcrumb-item.active {
  color: var(--text-secondary);
}

.breadcrumb-sep {
  color: var(--text-muted);
}

/* ARTICLE CONTENT */
.content-article {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.4), rgba(10, 10, 10, 0.6));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  /* backdrop-filter removed for performance */
}

.article-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.article-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 700px;
}

.content-section {
  margin-bottom: 48px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.content-section p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* STAGE CARDS */
.stage-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.stage-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(212, 165, 116, 0.05));
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-primary);
}

.stage-content {
  flex: 1;
}

.stage-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.stage-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.stage-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-item {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-left: 16px;
  border-left: 2px solid var(--border-medium);
}

.detail-item strong {
  color: var(--accent-primary);
  font-weight: 600;
}

/* RESOURCES GRID */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.resource-item {
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.resource-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.resource-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.resource-item h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.resource-item p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

/* CALLOUT BOX */
.callout-box {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(212, 165, 116, 0.05));
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}

.callout-icon {
  flex-shrink: 0;
  font-size: 32px;
}

.callout-content h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.callout-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* SERVICE BLOCKS */
.service-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  padding: 32px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  margin-bottom: 32px;
  align-items: center;
  transition: var(--transition);
}

.service-block:hover {
  border-color: rgba(212, 165, 116, 0.3);
  box-shadow: var(--shadow-glow);
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(212, 165, 116, 0.2);
}

.service-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.service-detail p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.service-pitch {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.12), rgba(212, 165, 116, 0.04));
  border-left: 3px solid var(--accent-primary);
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

.pitch-icon {
  flex-shrink: 0;
  font-size: 20px;
}

.service-pitch p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
  margin: 0;
}

/* SERVICE BENEFITS */
.service-benefits {
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.benefits-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.benefits-list li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: 700;
}

/* SERVICE QUESTIONS */
.service-questions {
  padding: 16px;
  background: rgba(212, 165, 116, 0.05);
  border: 1px solid rgba(212, 165, 116, 0.15);
  border-radius: var(--radius-sm);
}

.questions-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.questions-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.questions-list li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
  padding-left: 20px;
  position: relative;
}

.questions-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

/* OPERATOR NOTE */
.operator-note {
  padding: 12px 16px;
  background: rgba(255, 185, 120, 0.08);
  border-left: 3px solid #ffb978;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.operator-note strong {
  color: #ffb978;
  font-weight: 700;
}

/* MASTERS & PRICING */
.master-card {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  margin-bottom: 32px;
  /* backdrop-filter removed for performance */
  transition: var(--transition);
}

.master-card:hover {
  border-color: rgba(212, 165, 116, 0.3);
  box-shadow: var(--shadow-glow);
}

.master-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-md);
}

.master-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.master-card:hover .master-photo img {
  transform: scale(1.03);
}

.master-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-dark));
  color: #0a0a0a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

.master-badge-artist {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
  color: #0a0a0a;
}

.master-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.master-name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin: 0;
}

.master-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.master-bio {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

.master-bio strong {
  color: var(--accent-primary);
  font-weight: 600;
}

/* PRICING TABLES */
.pricing-block {
  margin-bottom: 40px;
  padding: 32px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  transition: var(--transition);
}

.pricing-block:hover {
  border-color: rgba(212, 165, 116, 0.2);
}

.pricing-block-premium {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.08), rgba(212, 165, 116, 0.02));
  border: 2px solid rgba(212, 165, 116, 0.3);
  box-shadow: var(--shadow-glow);
}

.pricing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-subtle);
}

.pricing-artist-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0;
}

.pricing-badge {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.pricing-badge-founder {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(212, 165, 116, 0.1));
  border-color: rgba(212, 165, 116, 0.3);
  color: var(--accent-light);
}

.pricing-table-wrap {
  overflow-x: auto;
}

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

.pricing-table thead th {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 2px solid var(--border-medium);
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.pricing-table thead th span {
  font-size: 9px;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: none;
}

.pricing-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.pricing-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.pricing-table tbody td {
  padding: 18px 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-table .procedure-name {
  font-weight: 600;
  color: var(--text-primary);
}

.pricing-table .price {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-primary);
}

/* PAYMENT PLAN HIGHLIGHT */
.payment-highlight-box {
  padding: 40px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.03));
  border: 2px solid rgba(76, 175, 80, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 40px rgba(76, 175, 80, 0.15);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.payment-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
  border: 2px solid rgba(76, 175, 80, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.2);
}

.payment-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payment-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4caf50;
  margin: 0;
}

.payment-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.payment-lead strong {
  color: #4caf50;
  font-weight: 700;
}

.payment-rule {
  padding: 20px;
  background: rgba(255, 185, 120, 0.08);
  border-left: 4px solid #ffb978;
  border-radius: var(--radius-sm);
  display: flex;
  gap: 16px;
}

.rule-icon {
  flex-shrink: 0;
  font-size: 24px;
}

.rule-content strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffb978;
  margin-bottom: 8px;
}

.rule-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.payment-example {
  padding: 20px;
  background: rgba(76, 175, 80, 0.08);
  border-left: 4px solid #4caf50;
  border-radius: var(--radius-sm);
}

.example-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4caf50;
  margin-bottom: 10px;
}

.payment-example p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  margin: 0;
}

/* VIDEO SECTION */
.video-section {
  margin-bottom: 48px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
}

/* ── Multi-video lesson sections ───────────────────────────────── */
.lesson-sections {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 40px;
}

.lesson-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lesson-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.lesson-video-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  margin-bottom: 28px;
}

.lesson-section-video {
  width: 100%;
  display: block;
}

.lesson-section-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.lesson-section-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.lesson-section-text p:first-child {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.lesson-section-text strong {
  color: var(--accent-light);
  font-weight: 700;
}

/* ── Lesson knowledge quiz (Soulu Academy) ─────────────────────── */
.lesson-quiz {
  margin-top: 64px;
  margin-bottom: 40px;
}

.lesson-quiz-inner {
  position: relative;
  padding: 40px 40px 36px;
  background: linear-gradient(165deg, rgba(30, 28, 26, 0.95) 0%, rgba(12, 12, 12, 0.98) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
}

.lesson-quiz-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.45), transparent);
}

.quiz-hero {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.quiz-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.lesson-quiz-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 20px 0;
  color: var(--text-primary);
  line-height: 1.2;
}

.quiz-rubric-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.quiz-rubric-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-muted);
}

.quiz-rubric-pass {
  border-color: rgba(212, 165, 116, 0.35);
  color: var(--accent-light);
  background: rgba(212, 165, 116, 0.06);
}

.quiz-rubric-excellent {
  border-color: rgba(100, 200, 140, 0.4);
  color: rgba(160, 220, 180, 0.95);
  background: rgba(80, 160, 120, 0.08);
}

.quiz-rubric-review {
  border-color: rgba(255, 140, 120, 0.25);
  color: rgba(255, 170, 150, 0.85);
  background: rgba(180, 80, 70, 0.06);
}

.quiz-badge-prev {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  padding: 14px 20px;
  margin-bottom: 28px;
  background: rgba(212, 165, 116, 0.06);
  border: 1px solid rgba(212, 165, 116, 0.22);
  border-radius: var(--radius-md);
}

.quiz-badge-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.quiz-badge-score {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-light);
}

.quiz-badge-tier {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.tier-excellent {
  background: rgba(80, 180, 120, 0.2);
  color: rgba(160, 230, 180, 0.95);
}

.tier-pass {
  background: rgba(212, 165, 116, 0.2);
  color: var(--accent-light);
}

.tier-review {
  background: rgba(255, 120, 100, 0.15);
  color: rgba(255, 180, 160, 0.95);
}

.quiz-part-card {
  margin-bottom: 24px;
}

.quiz-part-card:last-of-type {
  margin-bottom: 0;
}

.quiz-part {
  padding: 24px 26px 8px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.quiz-part-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin: 0 0 22px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.quiz-q {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px 18px;
  margin-bottom: 28px;
}

.quiz-q:last-child {
  margin-bottom: 12px;
}

.quiz-q-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-primary);
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.22);
  border-radius: 10px;
}

.quiz-q-text {
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.quiz-options-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px 14px 14px;
  margin: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: var(--transition);
}

.quiz-option-card:hover {
  border-color: rgba(212, 165, 116, 0.28);
  background: rgba(212, 165, 116, 0.04);
}

.quiz-option-card:has(input:checked) {
  border-color: var(--accent-primary);
  background: rgba(212, 165, 116, 0.1);
  box-shadow: 0 0 0 1px rgba(212, 165, 116, 0.12);
}

.quiz-option-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.quiz-option-key {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: var(--transition);
}

.quiz-option-card:has(input:checked) .quiz-option-key {
  background: rgba(212, 165, 116, 0.25);
  border-color: var(--accent-primary);
  color: var(--accent-light);
}

.quiz-option-txt {
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-secondary);
  padding-top: 3px;
}

.quiz-option-card:has(input:checked) .quiz-option-txt {
  color: var(--text-primary);
}

.quiz-tf-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quiz-option-tf {
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  margin: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.quiz-option-tf:hover {
  border-color: rgba(212, 165, 116, 0.3);
  color: var(--text-primary);
}

.quiz-option-tf:has(input:checked) {
  border-color: var(--accent-primary);
  background: rgba(212, 165, 116, 0.12);
  color: var(--accent-light);
}

.quiz-option-tf input {
  accent-color: var(--accent-primary);
}

.quiz-gate-hint {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(212, 165, 116, 0.07);
  border: 1px solid rgba(212, 165, 116, 0.28);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-light);
  line-height: 1.55;
  text-align: center;
}

.quiz-submit-wrap {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.quiz-submit-btn {
  min-width: 220px;
}

.quiz-results {
  margin-top: 8px;
}

.quiz-result-card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.quiz-tier-excellent {
  background: linear-gradient(165deg, rgba(60, 100, 75, 0.35) 0%, rgba(20, 35, 28, 0.9) 100%);
  border-color: rgba(100, 200, 140, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.quiz-tier-pass {
  background: linear-gradient(165deg, rgba(90, 70, 50, 0.4) 0%, rgba(25, 22, 18, 0.95) 100%);
  border-color: rgba(212, 165, 116, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.quiz-tier-review {
  background: linear-gradient(165deg, rgba(90, 45, 40, 0.35) 0%, rgba(28, 18, 16, 0.95) 100%);
  border-color: rgba(255, 140, 120, 0.28);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.quiz-result-score {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.quiz-result-msg {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 28px 0;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.quiz-breakdown {
  margin-bottom: 24px;
  text-align: left;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.quiz-breakdown-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-align: center;
}

.quiz-b-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 6px;
}

.quiz-b-correct {
  color: rgba(140, 220, 160, 0.95);
}

.quiz-b-wrong {
  color: rgba(255, 160, 140, 0.9);
}

@media (max-width: 600px) {
  .lesson-quiz-inner {
    padding: 24px 18px 22px;
  }

  .quiz-q {
    grid-template-columns: 1fr;
  }

  .quiz-q-num {
    width: auto;
    height: auto;
    justify-content: flex-start;
    padding: 8px 12px;
    display: inline-flex;
  }
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #000;
  margin-bottom: 20px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(212, 165, 116, 0.08);
  border-left: 3px solid var(--accent-primary);
  border-radius: var(--radius-sm);
}

.caption-icon {
  flex-shrink: 0;
  font-size: 24px;
}

.video-caption p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* TOOL SECTIONS */
.tool-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(212, 165, 116, 0.05));
  border-left: 4px solid var(--accent-primary);
  border-radius: var(--radius-lg);
}

.tool-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: rgba(212, 165, 116, 0.15);
  border-radius: var(--radius-md);
}

.tool-info {
  flex: 1;
}

.tool-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin: 0 0 8px 0;
}

.tool-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.tool-description {
  margin-bottom: 32px;
  padding: 20px;
  background: rgba(20, 20, 20, 0.4);
  border-radius: var(--radius-md);
}

.tool-description p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.tool-description strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* VIDEOS GRID */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.videos-grid-single {
  max-width: 800px;
}

.training-video {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-med);
}

.training-video:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 30px rgba(212, 165, 116, 0.2);
  transform: translateY(-2px);
}

.video-label {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 10, 10, 0.6);
  border-top: 1px solid var(--border-subtle);
}

.video-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-primary);
  background: rgba(212, 165, 116, 0.15);
  border-radius: 50%;
}

.video-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* KEY POINTS BOX */
.key-points-box {
  padding: 28px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(76, 175, 80, 0.03));
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: var(--radius-lg);
}

.points-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4caf50;
  margin: 0 0 16px 0;
}

.points-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.points-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-left: 8px;
}

/* WORKFLOW BOX */
.workflow-box {
  padding: 40px;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.08), rgba(66, 133, 244, 0.03));
  border: 2px solid rgba(66, 133, 244, 0.2);
  border-radius: var(--radius-xl);
}

.workflow-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4285f4;
  text-align: center;
  margin: 0 0 32px 0;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.workflow-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(66, 133, 244, 0.08);
  border: 1px solid rgba(66, 133, 244, 0.2);
  border-radius: var(--radius-md);
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #4285f4, #357ae8);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.step-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px 0;
}

.step-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.workflow-arrow {
  text-align: center;
  font-size: 24px;
  color: #4285f4;
  margin: -8px 0;
}

/* REMINDER BOX */
.reminder-box {
  padding: 32px;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(255, 152, 0, 0.05));
  border: 2px solid rgba(255, 152, 0, 0.3);
  border-radius: var(--radius-xl);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.reminder-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.reminder-content h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff9800;
  margin: 0 0 12px 0;
}

.reminder-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.reminder-content strong {
  color: var(--text-primary);
}

.service-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  max-height: 500px;
}

.service-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.service-block:hover .service-image img {
  transform: scale(1.02);
}

/* MODULE FOOTER */
.module-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.btn-secondary {
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

/* WELCOME PAGE */
.welcome-shell {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.welcome-hero {
  text-align: center;
  padding: 48px 0;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.08), rgba(212, 165, 116, 0.02));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(212, 165, 116, 0.15);
  box-shadow: var(--shadow-glow);
}

.welcome-emoji {
  font-size: 64px;
  margin-bottom: 24px;
  animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(14deg); }
  20%, 40% { transform: rotate(-8deg); }
  50% { transform: rotate(10deg); }
  60% { transform: rotate(-4deg); }
  70% { transform: rotate(0deg); }
}

.welcome-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.welcome-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.welcome-lead strong {
  color: var(--accent-primary);
  font-weight: 600;
}

.section-title-accent {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.section-title-accent::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), transparent);
}

.section-subtitle {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.welcome-card {
  padding: 32px;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  /* backdrop-filter removed for performance */
}

.large-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  font-weight: 400;
}

/* WHO WE ARE - BUSINESS AREAS */
.intro-box {
  padding: 32px;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  /* backdrop-filter removed for performance */
  margin-bottom: 32px;
}

.intro-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
}

.intro-text strong {
  color: var(--accent-primary);
  font-weight: 600;
}

.business-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
  text-align: center;
  margin-bottom: 32px;
  padding: 12px;
  background: rgba(212, 165, 116, 0.08);
  border-radius: var(--radius-md);
}

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

.business-card {
  padding: 32px;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  /* backdrop-filter removed for performance */
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.business-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.business-card:hover {
  border-color: rgba(212, 165, 116, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.business-card:hover::before {
  opacity: 1;
}

.business-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.business-icon {
  font-size: 40px;
}

.business-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-primary);
}

.business-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0;
}

.business-subtitle {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.business-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  flex: 1;
}

.business-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.biz-tag {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.business-goal {
  padding: 16px;
  background: rgba(212, 165, 116, 0.08);
  border-left: 3px solid var(--accent-primary);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: 8px;
}

.business-goal strong {
  color: var(--accent-primary);
  font-weight: 600;
}

.business-highlight {
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(212, 165, 116, 0.05));
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
  color: var(--accent-light);
  margin-top: 8px;
}

.mission-box {
  padding: 40px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.12), rgba(212, 165, 116, 0.04));
  border: 2px solid rgba(212, 165, 116, 0.2);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.mission-box p {
  font-size: 19px;
  line-height: 1.8;
  color: var(--text-primary);
  font-weight: 400;
  margin: 0;
}

/* VALUES GRID */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.value-card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.value-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.value-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* CONTACT & LOCATION */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(212, 165, 116, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(212, 165, 116, 0.05));
  border-radius: var(--radius-sm);
}

.contact-content {
  flex: 1;
  min-width: 0;
}

.contact-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address-box {
  padding: 28px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(212, 165, 116, 0.03));
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.address-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.address-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(212, 165, 116, 0.05));
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: var(--radius-sm);
}

.address-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.address-value {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
}

.btn-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-dark));
  border: none;
  border-radius: var(--radius-md);
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
}

.btn-map:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(212, 165, 116, 0.4);
}

/* ROLE BOX */
.role-box {
  padding: 32px;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  /* backdrop-filter removed for performance */
}

.role-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.role-goal {
  padding: 24px;
  background: rgba(212, 165, 116, 0.08);
  border-left: 4px solid var(--accent-primary);
  border-radius: var(--radius-md);
  margin-top: 24px;
}

.goal-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.role-goal p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0;
}

/* STYLE LIST */
.style-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.style-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  transition: var(--transition);
}

.style-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-medium);
  transform: translateX(4px);
}

.style-check {
  font-size: 20px;
  flex-shrink: 0;
}

/* FORMULA STEPS */
.formula-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.formula-step {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.formula-step:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(212, 165, 116, 0.2);
  box-shadow: var(--shadow-glow);
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(212, 165, 116, 0.05));
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: var(--radius-md);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-primary);
}

.step-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* SUCCESS GRID */
.success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.success-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.success-item:hover {
  background: rgba(212, 165, 116, 0.05);
  border-color: rgba(212, 165, 116, 0.2);
  transform: translateY(-2px);
}

.success-icon {
  font-size: 32px;
}

.success-item span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* RULE BOX */
.rule-box {
  padding: 40px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(212, 165, 116, 0.05));
  border: 2px solid rgba(212, 165, 116, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow);
}

.rule-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.rule-badge {
  padding: 8px 16px;
  background: var(--accent-primary);
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}

.rule-header h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-light);
  margin: 0;
}

.rule-box p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.rule-emphasis {
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--accent-primary);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 20px;
}

/* WELCOME FOOTER */
.welcome-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}

/* UTILITY */
.hidden {
  display: none !important;
}

/* CUSTOM SCROLLBAR */
.tabs-list::-webkit-scrollbar,
.tab-content-shell::-webkit-scrollbar {
  width: 6px;
}

.tabs-list::-webkit-scrollbar-track,
.tab-content-shell::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.tabs-list::-webkit-scrollbar-thumb,
.tab-content-shell::-webkit-scrollbar-thumb {
  background: rgba(212, 165, 116, 0.3);
  border-radius: 10px;
}

.tabs-list::-webkit-scrollbar-thumb:hover,
.tab-content-shell::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 165, 116, 0.5);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .page {
    padding: 24px;
  }

  .shell {
    padding: 32px;
  }

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

  .tabs-list {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
    overflow-x: auto;
  }

  .tab-button {
    min-width: 200px;
  }

  .tab-content-shell {
    grid-template-columns: 1fr;
    max-height: 60vh;
  }
}

@media (max-width: 768px) {
  .page {
    padding: 12px;
  }

  .shell {
    padding: 20px;
    border-radius: var(--radius-lg);
  }

  .top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .header-address {
    font-size: 11px;
    padding: 8px 14px;
    white-space: normal;
    text-align: center;
    width: 100%;
  }

  .lock-screen {
    max-width: 100%;
  }

  .hero-title {
    font-size: 28px;
  }

  .tabs-shell {
    padding: 20px;
  }

  .tabs-headline {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .tabs-kpi {
    flex-direction: column;
    gap: 8px;
  }

  .tab-content-shell {
    padding: 20px;
  }

  .lock-form {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .meta-row {
    flex-direction: column;
    gap: 8px;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .module-shell {
    grid-template-columns: 1fr;
  }

  .module-sidebar {
    position: static;
  }

  .content-article {
    padding: 20px;
  }
  
  .content-header-title {
    font-size: 24px;
  }
  
  .content-subtitle {
    font-size: 13px;
  }

  .module-footer {
    flex-direction: column;
    gap: 16px;
  }

  .btn-secondary,
  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .stage-card {
    flex-direction: column;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .callout-box {
    flex-direction: column;
  }

  .dashboard-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .welcome-shell {
    gap: 48px;
  }

  .welcome-hero {
    padding: 32px 24px;
  }

  .welcome-emoji {
    font-size: 48px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .success-grid {
    grid-template-columns: 1fr;
  }

  .rule-box {
    padding: 24px;
  }

  .rule-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .welcome-footer {
    flex-direction: column;
    gap: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .address-box {
    padding: 20px;
  }

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

  .btn-map {
    width: 100%;
  }

  .business-areas {
    grid-template-columns: 1fr;
  }

  .business-card {
    padding: 24px;
  }

  .service-block {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

  .service-image {
    order: -1;
    min-height: 250px;
    max-height: 350px;
  }
  
  .service-content {
    gap: 16px;
  }
  
  .service-header {
    gap: 8px;
  }
  
  .service-number {
    font-size: 32px;
  }
  
  .service-title {
    font-size: 22px;
  }
  
  .service-description {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .benefits-list li,
  .questions-list li {
    font-size: 13px;
  }
  
  .service-detail {
    padding: 14px;
  }
  
  .detail-label {
    font-size: 10px;
  }
  
  .service-benefits,
  .service-questions {
    padding: 14px;
  }
  
  .benefits-label,
  .questions-label {
    font-size: 10px;
  }
  
  .service-pitch {
    padding: 16px;
  }
  
  .pitch-icon {
    font-size: 24px;
  }
  
  .operator-note {
    padding: 14px;
    font-size: 12px;
  }

  .master-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .master-photo {
    max-width: 300px;
    margin: 0 auto;
  }

  .pricing-block {
    padding: 20px;
  }

  .pricing-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .pricing-table thead th,
  .pricing-table tbody td {
    padding: 12px 10px;
    font-size: 11px;
  }

  .pricing-table .price {
    font-size: 14px;
  }

  .payment-highlight-box {
    flex-direction: column;
    padding: 24px;
  }

  .payment-icon {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .payment-rule {
    flex-direction: column;
    padding: 16px;
  }

  .video-section {
    padding: 0;
    margin: 0 0 24px 0;
  }

  .video-caption {
    flex-direction: column;
    text-align: center;
  }
  
  .article-header {
    padding: 0;
    margin-bottom: 24px;
  }
  
  .article-title {
    font-size: 28px;
  }
  
  .article-lead {
    font-size: 14px;
    line-height: 1.7;
  }
  
  .eyebrow {
    font-size: 10px;
  }
  
  .module-breadcrumb {
    font-size: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  
  .breadcrumb-item {
    font-size: 10px;
  }
  
  .content-section {
    margin-bottom: 32px;
  }
  
  .section-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .tool-header {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .workflow-box {
    padding: 24px;
  }

  .workflow-step {
    padding: 16px;
  }

  .reminder-box {
    flex-direction: column;
    padding: 24px;
    text-align: center;
  }
}

/* ===================================
   COURSE COMPONENTS
   =================================== */

/* Course Selector */
.course-selector {
  margin: 40px 0;
  padding: 32px;
  background: linear-gradient(135deg, rgba(197, 167, 145, 0.05), rgba(197, 167, 145, 0.02));
  border: 1px solid rgba(197, 167, 145, 0.15);
  border-radius: 16px;
}

.selector-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.course-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.course-tab {
  flex: 1;
  min-width: 200px;
  padding: 18px 32px;
  background: rgba(30, 30, 35, 0.6);
  border: 2px solid rgba(197, 167, 145, 0.2);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.course-tab:hover {
  background: rgba(197, 167, 145, 0.1);
  border-color: rgba(197, 167, 145, 0.4);
  color: var(--accent);
  transform: translateY(-2px);
}

.course-tab.active {
  background: linear-gradient(135deg, rgba(197, 167, 145, 0.2), rgba(197, 167, 145, 0.1));
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(197, 167, 145, 0.2);
}

.course-content {
  animation: fadeIn 0.5s ease;
}

.course-content.hidden {
  display: none;
}

/* Course Hero */
.course-hero {
  padding: 48px;
  background: linear-gradient(135deg, rgba(197, 167, 145, 0.08), rgba(197, 167, 145, 0.02));
  border: 1px solid rgba(197, 167, 145, 0.15);
  border-radius: 16px;
  margin: 32px 0;
  text-align: center;
}

.course-hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.course-hero-subtitle {
  font-size: 18px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.course-hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 32px auto;
}

/* Course Stats */
.course-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.stat-item {
  padding: 24px;
  background: rgba(30, 30, 35, 0.4);
  border: 1px solid rgba(197, 167, 145, 0.15);
  border-radius: 12px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Pricing Box */
.course-pricing-box {
  margin: 32px 0;
  padding: 40px;
  background: linear-gradient(135deg, rgba(197, 167, 145, 0.12), rgba(197, 167, 145, 0.04));
  border: 2px solid var(--accent);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(197, 167, 145, 0.15);
}

.pricing-comparison {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
}

.price-regular,
.price-current {
  text-align: center;
}

.price-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.price-amount {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}

.price-crossed {
  color: var(--text-secondary);
  text-decoration: line-through;
  opacity: 0.5;
}

.price-special {
  color: var(--accent);
  text-shadow: 0 2px 20px rgba(197, 167, 145, 0.3);
}

.price-note {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 8px;
}

.pricing-single {
  text-align: center;
}

/* Course Section */
.course-section {
  margin: 48px 0;
}

.course-section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(197, 167, 145, 0.2);
  padding-bottom: 12px;
}

/* Overview Box */
.overview-box {
  padding: 32px;
  background: rgba(30, 30, 35, 0.4);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  margin-bottom: 24px;
}

.overview-box p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Important Note */
.important-note {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 200, 100, 0.08), rgba(255, 200, 100, 0.02));
  border: 1px solid rgba(255, 200, 100, 0.3);
  border-radius: 12px;
  margin-top: 16px;
}

.note-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.note-content {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Inclusion Cards */
.inclusion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.inclusion-card {
  padding: 32px;
  background: rgba(30, 30, 35, 0.4);
  border: 1px solid rgba(197, 167, 145, 0.15);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.inclusion-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(197, 167, 145, 0.15);
  transform: translateY(-4px);
}

.inclusion-number {
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), rgba(197, 167, 145, 0.8));
  color: var(--bg-dark);
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
}

.inclusion-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.4;
}

.inclusion-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.inclusion-list li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
}

.inclusion-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Timeline Steps */
.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
  padding: 0 24px;
}

.timeline-step {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: rgba(30, 30, 35, 0.4);
  border: 1px solid rgba(197, 167, 145, 0.15);
  border-radius: 12px;
  position: relative;
  transition: all 0.3s ease;
}

.timeline-step:not(:last-child):after {
  content: "";
  position: absolute;
  left: 48px;
  bottom: -24px;
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, rgba(197, 167, 145, 0.3), transparent);
}

.timeline-step:hover {
  border-color: var(--accent);
  background: rgba(197, 167, 145, 0.05);
}

.timeline-step-final {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(197, 167, 145, 0.08), rgba(197, 167, 145, 0.02));
}

.timeline-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  line-height: 56px;
  text-align: center;
  background: linear-gradient(135deg, rgba(197, 167, 145, 0.2), rgba(197, 167, 145, 0.1));
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
}

.timeline-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.timeline-note {
  font-size: 13px;
  color: var(--accent);
  font-style: italic;
}

/* NY Program Box */
.ny-program-box {
  padding: 40px;
  background: linear-gradient(135deg, rgba(100, 150, 200, 0.08), rgba(100, 150, 200, 0.02));
  border: 1px solid rgba(100, 150, 200, 0.3);
  border-radius: 16px;
  margin-top: 24px;
}

.ny-info {
  margin-bottom: 32px;
}

.ny-info p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.ny-pricing {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(30, 30, 35, 0.4);
  border-radius: 12px;
  margin-bottom: 32px;
}

.ny-includes h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ny-includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ny-includes li {
  font-size: 15px;
  line-height: 2;
  color: var(--text-secondary);
  padding-left: 8px;
}

/* Licensing Grid */
.licensing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.license-card {
  padding: 32px;
  background: rgba(30, 30, 35, 0.4);
  border: 1px solid rgba(197, 167, 145, 0.15);
  border-radius: 12px;
}

.license-state {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(197, 167, 145, 0.2);
}

.license-requirements {
  list-style: none;
  padding: 0;
  margin: 0;
}

.license-requirements li {
  font-size: 14px;
  line-height: 2;
  color: var(--text-secondary);
  padding-left: 8px;
  margin-bottom: 8px;
}

.license-note {
  color: var(--accent);
  margin-top: 16px;
}

/* Out of State Box */
.outofstate-box {
  padding: 40px;
  background: linear-gradient(135deg, rgba(197, 167, 145, 0.08), rgba(197, 167, 145, 0.02));
  border: 1px solid rgba(197, 167, 145, 0.2);
  border-radius: 16px;
  margin-top: 24px;
}

.outofstate-box h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.outofstate-box > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.outofstate-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.oos-step {
  padding: 16px 24px;
  background: rgba(30, 30, 35, 0.4);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.outofstate-cta {
  padding: 24px;
  background: rgba(197, 167, 145, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(197, 167, 145, 0.3);
}

.outofstate-cta p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.outofstate-cta strong {
  color: var(--accent);
}

/* Why Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.why-card {
  padding: 32px;
  background: rgba(30, 30, 35, 0.4);
  border: 1px solid rgba(197, 167, 145, 0.15);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: var(--accent);
  background: rgba(197, 167, 145, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(197, 167, 145, 0.15);
}

.why-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.why-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Operator Pitch Box */
.operator-pitch-box {
  margin: 48px 0;
  padding: 40px;
  background: linear-gradient(135deg, rgba(100, 200, 150, 0.08), rgba(100, 200, 150, 0.02));
  border: 2px solid rgba(100, 200, 150, 0.4);
  border-radius: 16px;
}

.pitch-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.pitch-icon {
  font-size: 32px;
}

.pitch-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pitch-line {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
  padding: 24px;
  background: rgba(30, 30, 35, 0.4);
  border-left: 4px solid rgba(100, 200, 150, 0.6);
  border-radius: 8px;
  margin-bottom: 24px;
  font-style: italic;
}

.pitch-questions {
  padding: 24px;
  background: rgba(30, 30, 35, 0.3);
  border-radius: 8px;
}

.pitch-questions strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pitch-questions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pitch-questions li {
  font-size: 14px;
  line-height: 2;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
}

.pitch-questions li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: rgba(100, 200, 150, 0.6);
  font-weight: 700;
}

/* Nano Benefits */
.nano-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.nano-benefit {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(30, 30, 35, 0.4);
  border: 1px solid rgba(197, 167, 145, 0.15);
  border-radius: 12px;
}

.benefit-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.benefit-text strong {
  display: block;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.benefit-text p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Package Grid */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.package-item {
  padding: 28px;
  background: rgba(30, 30, 35, 0.4);
  border: 1px solid rgba(197, 167, 145, 0.15);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.package-item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(197, 167, 145, 0.15);
}

.package-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.package-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.package-item p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Technique Benefits */
.technique-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.tech-benefit {
  padding: 20px;
  background: rgba(30, 30, 35, 0.4);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Licensing Note Box */
.licensing-note-box {
  padding: 32px;
  background: linear-gradient(135deg, rgba(197, 167, 145, 0.08), rgba(197, 167, 145, 0.02));
  border: 1px solid rgba(197, 167, 145, 0.3);
  border-radius: 12px;
  margin-top: 24px;
}

.licensing-note-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.licensing-note-box p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Model Program Box */
.model-program-box {
  padding: 40px;
  background: linear-gradient(135deg, rgba(150, 100, 200, 0.08), rgba(150, 100, 200, 0.02));
  border: 1px solid rgba(150, 100, 200, 0.3);
  border-radius: 16px;
}

.model-header {
  text-align: center;
  margin-bottom: 32px;
}

.model-header h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.model-header p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.model-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.model-benefit {
  padding: 24px;
  background: rgba(30, 30, 35, 0.4);
  border: 1px solid rgba(150, 100, 200, 0.2);
  border-radius: 12px;
  text-align: center;
}

.model-benefit strong {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
  margin: 12px 0 8px 0;
}

.model-benefit p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.model-requirements {
  padding: 24px;
  background: rgba(30, 30, 35, 0.3);
  border-radius: 12px;
  margin-bottom: 24px;
}

.model-requirements strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.model-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.model-requirements li {
  padding: 8px 16px;
  background: rgba(150, 100, 200, 0.15);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-secondary);
}

.model-cta {
  text-align: center;
  padding: 20px;
  background: rgba(150, 100, 200, 0.1);
  border-radius: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.model-cta strong {
  color: rgba(150, 100, 200, 0.9);
}

/* ===================================
   SALES SCRIPT COMPONENTS
   =================================== */

/* Performance optimization for scroll */
.script-stage,
.call-step,
.script-box,
.objection-block,
.objection-major,
.masters-pricing-block,
.after-actions,
.triggers-section,
.forbidden-section,
.golden-section {
  contain: content;
  content-visibility: auto;
}

/* Disable all transitions/transforms in sales script to prevent repaints */
.content-article * {
  transition: none !important;
  will-change: auto !important;
}

/* Script Stage */
.script-stage {
  margin: 48px 0;
  padding: 40px;
  background: rgba(30, 30, 35, 0.3);
  border: 1px solid rgba(197, 167, 145, 0.15);
  border-radius: 16px;
}

.stage-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-radius: 12px;
  margin-bottom: 32px;
}

.stage-prep {
  background: rgba(100, 150, 250, 0.1);
  border: 2px solid rgba(100, 150, 250, 0.3);
}

.stage-call {
  background: rgba(100, 200, 100, 0.1);
  border: 2px solid rgba(100, 200, 100, 0.3);
}

.stage-after {
  background: rgba(150, 100, 250, 0.1);
  border: 2px solid rgba(150, 100, 250, 0.3);
}

.stage-icon {
  font-size: 56px;
  flex-shrink: 0;
}

.stage-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stage-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Script Steps */
.script-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.script-step {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: rgba(30, 30, 35, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(197, 167, 145, 0.1);
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), rgba(197, 167, 145, 0.8));
  color: var(--bg-dark);
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
}

.step-content strong {
  display: block;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Call Steps */
.call-step {
  margin: 32px 0;
  padding: 32px;
  background: rgba(30, 30, 35, 0.3);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
}

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

.call-step-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.time-badge {
  padding: 8px 16px;
  background: rgba(197, 167, 145, 0.2);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mandatory-badge {
  background: rgba(255, 100, 100, 0.2);
  color: rgba(255, 150, 150, 0.9);
}

/* Goal Box */
.goal-box {
  padding: 16px 24px;
  background: rgba(100, 200, 150, 0.1);
  border-left: 3px solid rgba(100, 200, 150, 0.6);
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--text-secondary);
}

/* Script Box */
.script-box {
  padding: 24px;
  background: rgba(197, 167, 145, 0.08);
  border: 1px solid rgba(197, 167, 145, 0.2);
  border-radius: 12px;
  margin: 20px 0;
}

.script-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.script-text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-primary);
}

.script-text strong {
  color: var(--accent);
}

.script-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
}

.closing-script {
  border: 2px solid var(--accent);
  background: linear-gradient(135deg, rgba(197, 167, 145, 0.12), rgba(197, 167, 145, 0.04));
}

/* Why Box */
.why-box {
  padding: 20px;
  background: rgba(100, 150, 250, 0.08);
  border-radius: 8px;
  margin: 16px 0;
}

.why-box strong {
  display: block;
  font-size: 14px;
  color: rgba(100, 150, 250, 0.9);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.why-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-box li {
  font-size: 14px;
  line-height: 2;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.why-box li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: rgba(100, 150, 250, 0.7);
}

/* Objection Block */
.objection-block {
  margin: 24px 0;
  padding: 24px;
  background: rgba(255, 150, 100, 0.08);
  border: 1px solid rgba(255, 150, 100, 0.3);
  border-radius: 12px;
}

.objection-title {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 150, 100, 0.9);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.objection-response {
  padding: 20px;
  background: rgba(30, 30, 35, 0.4);
  border-radius: 8px;
}

.response-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.response-text strong {
  color: var(--accent);
}

.response-notes {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(197, 167, 145, 0.15);
}

.response-notes p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 200, 100, 0.9);
  margin-bottom: 8px;
}

.success-next {
  margin-top: 16px;
  padding: 16px;
  background: rgba(100, 200, 150, 0.1);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(100, 200, 150, 0.9);
  text-align: center;
}

/* Questions Grid */
.questions-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.question-category {
  padding: 20px;
  background: rgba(30, 30, 35, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(197, 167, 145, 0.1);
}

.question-category h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.question-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.question-list li {
  font-size: 15px;
  line-height: 2;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.question-list li:before {
  content: "?";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  background: rgba(197, 167, 145, 0.2);
  border-radius: 50%;
  font-size: 12px;
}

.question-list .note {
  display: block;
  font-size: 12px;
  color: rgba(255, 200, 100, 0.9);
  margin-top: 4px;
  font-style: italic;
}

.critical-reminder {
  margin-top: 20px;
  padding: 20px;
  background: rgba(255, 200, 100, 0.1);
  border: 2px solid rgba(255, 200, 100, 0.4);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 200, 100, 0.9);
  text-align: center;
}

/* Formula Box */
.formula-box {
  padding: 16px 24px;
  background: rgba(150, 100, 250, 0.1);
  border-left: 3px solid rgba(150, 100, 250, 0.6);
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--text-secondary);
}

/* Solution Options */
.solution-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.solution-card {
  padding: 24px;
  background: rgba(30, 30, 35, 0.4);
  border: 1px solid rgba(197, 167, 145, 0.2);
  border-radius: 12px;
}

.solution-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.solution-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-card li {
  font-size: 14px;
  line-height: 2;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.solution-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Masters Pricing Block */
.masters-pricing-block {
  margin: 32px 0;
  padding: 32px;
  background: rgba(30, 30, 35, 0.3);
  border: 1px solid rgba(197, 167, 145, 0.2);
  border-radius: 12px;
}

.pricing-trigger {
  padding: 16px 24px;
  background: rgba(255, 200, 100, 0.1);
  border-left: 4px solid rgba(255, 200, 100, 0.6);
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 200, 100, 0.9);
}

.masters-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.master-price-card {
  padding: 24px;
  background: rgba(30, 30, 35, 0.4);
  border: 1px solid rgba(197, 167, 145, 0.15);
  border-radius: 12px;
}

.master-price-card-premium {
  border: 2px solid var(--accent);
  background: rgba(197, 167, 145, 0.08);
}

.master-price-card h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.master-price-card .master-exp {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.master-price-card .master-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin: 16px 0;
}

.master-price-card .master-pitch {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
}

/* Objection Major */
.objection-major {
  margin: 32px 0;
  padding: 32px;
  background: rgba(255, 100, 100, 0.05);
  border: 2px solid rgba(255, 100, 100, 0.3);
  border-radius: 12px;
}

.focus-points {
  padding: 16px;
  background: rgba(30, 30, 35, 0.4);
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.action-flow {
  margin-top: 20px;
  padding: 16px;
  background: rgba(100, 200, 150, 0.1);
  border-radius: 8px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: rgba(100, 200, 150, 0.9);
}

/* After Actions */
.after-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.action-card {
  padding: 28px;
  background: rgba(30, 30, 35, 0.4);
  border: 1px solid rgba(197, 167, 145, 0.15);
  border-radius: 12px;
}

.action-number {
  display: inline-block;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--bg-dark);
  font-size: 14px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.action-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.action-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.action-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.action-card li {
  font-size: 14px;
  line-height: 2;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.action-card li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Triggers Section */
.triggers-section {
  margin: 56px 0;
  padding: 40px;
  background: rgba(255, 150, 50, 0.05);
  border: 2px solid rgba(255, 150, 50, 0.3);
  border-radius: 16px;
}

.section-title-fire {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.trigger-card {
  padding: 28px;
  background: rgba(30, 30, 35, 0.4);
  border: 1px solid rgba(255, 150, 50, 0.3);
  border-radius: 12px;
}

.trigger-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 150, 50, 0.9);
  margin-bottom: 16px;
}

.trigger-script {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-secondary);
}

/* Forbidden Section */
.forbidden-section {
  margin: 56px 0;
  padding: 40px;
  background: rgba(255, 100, 100, 0.05);
  border: 2px solid rgba(255, 100, 100, 0.3);
  border-radius: 16px;
}

.section-title-forbidden {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.forbidden-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.forbidden-item {
  padding: 20px;
  background: rgba(30, 30, 35, 0.4);
  border-left: 4px solid rgba(255, 100, 100, 0.6);
  border-radius: 8px;
}

.forbidden-wrong {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 100, 100, 0.9);
  margin-bottom: 8px;
}

.forbidden-right {
  font-size: 15px;
  font-weight: 600;
  color: rgba(100, 200, 150, 0.9);
}

.forbidden-single {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 100, 100, 0.9);
}

/* Golden Section */
.golden-section {
  margin: 56px 0;
  padding: 40px;
  background: rgba(255, 200, 50, 0.05);
  border: 2px solid rgba(255, 200, 50, 0.3);
  border-radius: 16px;
}

.section-title-golden {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.golden-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.golden-rule {
  padding: 20px;
  background: rgba(30, 30, 35, 0.4);
  border-left: 4px solid rgba(255, 200, 50, 0.6);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 200, 50, 0.9);
}

/* ===================================
   RESPONSIVE OVERRIDES FOR COURSES
   =================================== */

@media (max-width: 1024px) {
  .course-stats {
    grid-template-columns: 1fr;
  }
  
  .pricing-comparison {
    flex-direction: column;
    gap: 24px;
  }
  
  .inclusion-cards {
    grid-template-columns: 1fr;
  }
  
  .why-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  .course-selector {
    padding: 20px;
  }
  
  .course-hero {
    padding: 32px 24px;
  }
  
  .course-hero-title {
    font-size: 28px;
  }
  
  .course-pricing-box {
    padding: 24px;
  }
  
  .price-amount {
    font-size: 40px;
  }
  
  .steps-timeline {
    padding: 0;
  }
  
  .timeline-step {
    flex-direction: column;
    padding: 20px;
  }
  
  .timeline-step:not(:last-child):after {
    left: 20px;
    top: auto;
    bottom: -20px;
  }
  
  .timeline-number {
    width: 48px;
    height: 48px;
    line-height: 48px;
    font-size: 20px;
  }
  
  .operator-pitch-box {
    padding: 24px;
  }
  
  .package-grid {
    grid-template-columns: 1fr;
  }
  
  .technique-benefits {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   RESPONSIVE OVERRIDES FOR SALES SCRIPT
   =================================== */

@media (max-width: 1024px) {
  .solution-options {
    grid-template-columns: 1fr;
  }
  
  .masters-cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .triggers-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  
  .golden-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  .script-stage {
    padding: 24px;
  }
  
  .stage-header {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  
  .stage-icon {
    font-size: 48px;
  }
  
  .stage-title {
    font-size: 22px;
  }
  
  .call-step {
    padding: 20px;
  }
  
  .call-step-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .script-step {
    flex-direction: column;
  }
  
  .after-actions {
    grid-template-columns: 1fr;
  }
  
  .triggers-grid {
    grid-template-columns: 1fr;
  }
  
  .golden-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title-fire,
  .section-title-forbidden,
  .section-title-golden {
    font-size: 24px;
  }
}

/* ====================================================================
   COURSE PLATFORM · NEW COMPONENTS
   ==================================================================== */

/* ── Login form (stacked email + password) ───────────────────────── */
.lock-form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lock-form-stack .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

/* ── Brand back link ─────────────────────────────────────────────── */
.brand-back-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

/* ── Progress bar (inside course card on dashboard) ─────────────── */
.lesson-progress {
  margin-top: 14px;
}

.progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 7px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-light));
  border-radius: 4px;
  transition: width 0.6s ease;
  min-width: 2px;
}

.progress-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Lesson nav: completed state ─────────────────────────────────── */
.nav-link-completed {
  /* state class only, no pseudo-element needed */
}

/* Standalone check/lock icons on the far right */
.nav-check,
.nav-lock {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 11px;
  opacity: 0.75;
}

.nav-check {
  color: var(--accent-primary);
  font-weight: 700;
}

/* ── Lesson nav: locked state ────────────────────────────────────── */
.nav-link-locked {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Mark Complete button ────────────────────────────────────────── */
.btn-complete {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(
    135deg,
    rgba(100, 200, 130, 0.15),
    rgba(100, 200, 130, 0.06)
  );
  border: 2px solid rgba(100, 200, 130, 0.35);
  border-radius: var(--radius-md);
  color: rgba(140, 220, 160, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.btn-complete:hover {
  background: linear-gradient(
    135deg,
    rgba(100, 200, 130, 0.25),
    rgba(100, 200, 130, 0.1)
  );
  border-color: rgba(100, 200, 130, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(100, 200, 130, 0.2);
}

.btn-complete.is-completed {
  background: linear-gradient(
    135deg,
    rgba(100, 200, 130, 0.2),
    rgba(100, 200, 130, 0.08)
  );
  border-color: rgba(100, 200, 130, 0.5);
  cursor: default;
  transform: none;
}

.btn-complete.is-completed:hover {
  transform: none;
  box-shadow: none;
}

/* ── Theory Complete Banner ──────────────────────────────────────── */
.theory-complete-banner {
  margin-top: 56px;
  padding: 56px 40px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1a1f 100%);
  border: 1px solid rgba(201, 167, 110, 0.35);
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: theoryBannerIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.theory-complete-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201, 167, 110, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

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

.theory-complete-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.theory-complete-icon {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px rgba(201, 167, 110, 0.5));
}

.theory-complete-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.85;
}

.theory-complete-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}

.theory-complete-subtitle {
  font-size: clamp(15px, 2.5vw, 18px);
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 20px;
  letter-spacing: 0.03em;
}

.theory-complete-body {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 36px;
}

.theory-complete-btn {
  text-decoration: none;
  justify-content: center;
}

/* ── Bloodborne Pathogens certificate upload (Module 3) ─────────── */
.bbp-upload-section {
  margin-top: 40px;
  margin-bottom: 8px;
  box-sizing: border-box;
}

.bbp-upload-inner {
  width: 100%;
  box-sizing: border-box;
  padding: 40px 36px;
  background: linear-gradient(145deg, rgba(22, 33, 62, 0.95) 0%, rgba(15, 26, 31, 0.98) 100%);
  border: 1px solid rgba(201, 167, 110, 0.28);
  border-radius: 18px;
}

.bbp-upload-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.9;
}

.bbp-upload-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.25;
}

.bbp-upload-lead {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 12px;
}

.bbp-upload-links {
  margin: 0 0 24px;
}

.bbp-external-link {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 167, 110, 0.35);
}

.bbp-external-link:hover {
  color: #e8d4b0;
}

.bbp-upload-dropzone {
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 16px;
}

.bbp-upload-dropzone:hover,
.bbp-upload-dropzone.bbp-dragover {
  border-color: rgba(201, 167, 110, 0.55);
  background: rgba(201, 167, 110, 0.06);
}

.bbp-upload-icon {
  font-size: 32px;
  margin-bottom: 8px;
  opacity: 0.85;
}

.bbp-upload-hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.bbp-upload-name {
  font-size: 13px;
  color: rgba(140, 220, 160, 0.95);
  word-break: break-all;
}

.bbp-upload-error {
  font-size: 13px;
  color: #f08080;
  margin-bottom: 12px;
  min-height: 1.2em;
}

.bbp-upload-note {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.38);
  margin: 20px 0 0;
}

.bbp-upload-lead-muted {
  color: rgba(255, 255, 255, 0.55);
}

.bbp-panel-uploaded {
  margin-bottom: 4px;
}

.bbp-uploaded-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.bbp-uploaded-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(140, 220, 160, 0.15);
  color: rgba(140, 220, 160, 0.95);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.bbp-uploaded-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.bbp-upload-name-onfile {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  word-break: break-all;
}

.bbp-uploaded-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn-bbp-danger {
  border: 1px solid rgba(240, 128, 128, 0.45);
  background: transparent;
  color: rgba(255, 170, 170, 0.95);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s;
}

.btn-bbp-danger:hover {
  background: rgba(240, 100, 100, 0.12);
  border-color: rgba(240, 128, 128, 0.65);
}

.btn-bbp-danger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Profile: compliance card */
.profile-compliance-card {
  margin-bottom: 32px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  max-width: 900px;
}

.profile-compliance-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.profile-compliance-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}

.profile-compliance-body {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 16px;
}

.profile-bbp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.field-hint-muted {
  font-weight: 400;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.03em;
}

.model-date-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.model-date-part {
  flex: 1 1 120px;
  min-width: 100px;
}

.admin-bbp-quick {
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.admin-bbp-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.admin-bbp-body {
  min-height: 1em;
}

.admin-bbp-status-line {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.admin-bbp-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.admin-bbp-status-ok {
  color: rgba(140, 220, 160, 0.95);
  background: rgba(140, 220, 160, 0.14);
  border-color: rgba(140, 220, 160, 0.4);
}

.admin-bbp-status-missing {
  color: rgba(255, 200, 120, 0.95);
  background: rgba(255, 200, 120, 0.14);
  border-color: rgba(255, 200, 120, 0.4);
}

.admin-bbp-copy {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.74);
}

.admin-bbp-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-bbp-row {
  display: grid;
  grid-template-columns: minmax(72px, 92px) 1fr;
  gap: 12px 16px;
  align-items: start;
}

.admin-bbp-k {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  padding-top: 2px;
}

.admin-bbp-v {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  word-break: break-word;
}

.admin-bbp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-bbp-open-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
}

.admin-bbp-empty {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.admin-bbp-empty-highlight {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 200, 120, 0.9);
  font-weight: 600;
}

.admin-bbp-upload-hint {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 420px) {
  .admin-bbp-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .admin-bbp-k {
    padding-top: 0;
  }
}

.admin-table-badge-bbp {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(140, 220, 160, 0.15);
  color: rgba(140, 220, 160, 0.95);
  margin-left: 8px;
  vertical-align: middle;
}

/* ── Skeleton shimmer (loading placeholder) ──────────────────────── */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.09) 50%,
    rgba(255, 255, 255, 0.04) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: var(--radius-sm);
  display: block;
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* nav-lock is now handled above with nav-check */

/* ====================================================================
   ADMIN PANEL COMPONENTS
   ==================================================================== */

/* ── Stats row ───────────────────────────────────────────────────── */
.admin-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.admin-stat-card {
  flex: 1;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.admin-stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.admin-stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Section container ───────────────────────────────────────────── */
.admin-section {
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  overflow: hidden;
}

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
}

.admin-section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.admin-section-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.admin-toggle-icon {
  font-size: 22px;
  color: var(--accent-primary);
  font-weight: 300;
  line-height: 1;
  width: 32px;
  text-align: center;
}

/* ── Add student form ────────────────────────────────────────────── */
.admin-form-wrap {
  padding: 24px 28px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-form-error {
  color: #ff6b6b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  min-height: 20px;
  margin-bottom: 12px;
}

.admin-form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ── Students table ──────────────────────────────────────────────── */
.admin-table {
  width: 100%;
}

.admin-table-head {
  display: grid;
  grid-template-columns: 1.4fr 2fr 1fr 1fr 100px;
  gap: 12px;
  padding: 12px 28px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.admin-table-row {
  display: grid;
  grid-template-columns: 1.4fr 2fr 1fr 1fr 100px;
  gap: 12px;
  padding: 18px 28px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: var(--transition);
}

.admin-table-row:last-child {
  border-bottom: none;
}

.admin-table-row:hover {
  background: rgba(255,255,255,0.03);
}

.admin-student-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.admin-student-email {
  font-size: 12px;
  color: var(--text-secondary);
}

.admin-student-date {
  font-size: 11px;
  color: var(--text-muted);
}

.admin-row-action {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  text-align: right;
}

.admin-empty,
.admin-loading {
  padding: 48px 28px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Modal overlay ───────────────────────────────────────────────── */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.admin-modal {
  background: #141414;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
}

.admin-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.admin-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  transition: var(--transition);
  flex-shrink: 0;
}

.admin-modal-close:hover {
  color: var(--text-primary);
}

.admin-modal-body {
  padding: 24px 28px;
}

.admin-modal-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--border-subtle);
}

/* ── Course row inside modal ─────────────────────────────────────── */
.admin-course-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.admin-course-enroll-actions {
  flex-shrink: 0;
  max-width: min(100%, 280px);
}

.admin-course-enroll-actions .admin-toggle-btn {
  width: 100%;
  text-align: center;
  white-space: normal;
  line-height: 1.35;
}

.admin-course-row:last-child {
  border-bottom: none;
}

.admin-course-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

/* ── Enroll toggle button ────────────────────────────────────────── */
.admin-toggle-btn {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
}

.admin-toggle-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-light);
}

.admin-toggle-btn.is-enrolled {
  background: linear-gradient(135deg, rgba(100,200,130,0.15), rgba(100,200,130,0.06));
  border-color: rgba(100,200,130,0.4);
  color: rgba(140,220,160,0.9);
}

.admin-toggle-btn.is-enrolled:hover {
  background: linear-gradient(135deg, rgba(255,100,100,0.12), rgba(255,100,100,0.06));
  border-color: rgba(255,100,100,0.4);
  color: #ff8080;
}

/* ── Danger zone ─────────────────────────────────────────────────── */
.admin-danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.btn-danger {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid rgba(255, 80, 80, 0.3);
  border-radius: var(--radius-sm);
  color: rgba(255, 120, 120, 0.8);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-danger:hover {
  background: rgba(255, 80, 80, 0.1);
  border-color: rgba(255, 80, 80, 0.6);
  color: #ff6b6b;
}

/* ── Nav inline button (My Cabinet etc.) ─────────────────────────── */
.btn-nav-inline {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.btn-nav-inline:hover {
  border-color: rgba(212, 165, 116, 0.45);
  color: var(--accent-light);
  background: rgba(212, 165, 116, 0.06);
}

/* ── Profile tabs ────────────────────────────────────────────────── */
.profile-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0;
}

.profile-tab {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: -1px;
}

.profile-tab:hover { color: var(--text-secondary); }

.profile-tab.active {
  color: var(--accent-light);
  border-bottom-color: var(--accent-primary);
}

.profile-tab-panel { display: block; }

/* ── Models toolbar ──────────────────────────────────────────────── */
.models-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.models-count {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ── Models list ─────────────────────────────────────────────────── */
.models-list {
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.models-list-head {
  display: grid;
  grid-template-columns: 36px 56px 56px 1.4fr 1fr 100px 1.8fr 30px 80px;
  gap: 12px;
  padding: 12px 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.models-list-row {
  display: grid;
  grid-template-columns: 36px 56px 56px 1.4fr 1fr 100px 1.8fr 30px 80px;
  gap: 12px;
  padding: 14px 20px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
}

.models-list-row:last-child { border-bottom: none; }

.models-list-row:hover {
  background: rgba(255,255,255,0.03);
}

.models-list-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.models-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
  transition: var(--transition);
  display: block;
}

.models-thumb:hover { transform: scale(1.08); }

.models-thumb-empty {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0.3;
}

.models-list-proc {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.models-list-client,
.models-list-date {
  font-size: 12px;
  color: var(--text-secondary);
}

.models-list-notes {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.models-list-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  opacity: 0;
  transition: var(--transition);
}

.models-list-row:hover .models-list-actions { opacity: 1; }

.model-action-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.model-action-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.model-action-delete:hover {
  background: rgba(255,80,80,0.15);
  border-color: rgba(255,80,80,0.35);
}

/* Empty state */
.models-list-empty {
  text-align: center;
  padding: 64px 24px;
}

.models-empty-icon   { font-size: 48px; margin-bottom: 16px; opacity: 0.3; }
.models-empty-title  { font-size: 16px; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; }
.models-empty-sub    { font-size: 13px; color: var(--text-muted); }

.models-list-pdf {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-row-link {
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition);
  opacity: 0.7;
}

.pdf-row-link:hover { opacity: 1; }

/* ── Photo pair upload (Before / After) ─────────────────────────── */
.photo-pair-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.photo-upload-sm {
  aspect-ratio: 4 / 3;
}

/* ── PDF attachment row ──────────────────────────────────────────── */
.pdf-upload-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 12px;
  color: var(--text-secondary);
}

.pdf-upload-wrap:hover {
  border-color: rgba(212,165,116,0.4);
  background: rgba(212,165,116,0.04);
  color: var(--accent-light);
}

.pdf-upload-icon { font-size: 18px; flex-shrink: 0; }

#pdf-upload-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-upload-clear {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 50%;
  transition: var(--transition);
}

.pdf-upload-clear:hover {
  color: #ff6060;
  background: rgba(255,80,80,0.1);
}

/* Responsive */
@media (max-width: 1000px) {
  .models-list-head,
  .models-list-row {
    grid-template-columns: 36px 48px 48px 1fr 90px 30px 80px;
  }
  .models-list-head span:nth-child(5),
  .models-list-head span:nth-child(7),
  .models-list-client,
  .models-list-notes { display: none; }
}

/* ── Photo upload widget ─────────────────────────────────────────── */
.photo-upload-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--border-medium);
  border-radius: var(--radius-md);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.2);
  transition: var(--transition);
  position: relative;
}

.photo-upload-wrap:hover {
  border-color: rgba(212, 165, 116, 0.5);
  background: rgba(212, 165, 116, 0.04);
}

.photo-upload-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.photo-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  pointer-events: none;
}

.photo-upload-icon { font-size: 28px; opacity: 0.5; }

.photo-upload-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.photo-upload-hint {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── Lightbox ────────────────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  cursor: zoom-out;
  padding: 24px;
}

.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
  object-fit: contain;
}

/* ── Filter bar ──────────────────────────────────────────────────── */
.admin-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.admin-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.admin-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  pointer-events: none;
}

.admin-search-input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 12px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.admin-search-input::placeholder {
  color: var(--text-muted);
}

.admin-search-input:focus {
  border-color: rgba(212, 165, 116, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.admin-filter-select {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 11px;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.04em;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.admin-filter-select:focus {
  border-color: rgba(212, 165, 116, 0.4);
}

.admin-filter-clear {
  padding: 9px 14px;
  background: transparent;
  border: 1px solid rgba(255, 100, 100, 0.25);
  border-radius: var(--radius-sm);
  color: rgba(255, 120, 120, 0.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.admin-filter-clear:hover {
  border-color: rgba(255, 100, 100, 0.5);
  color: #ff6b6b;
  background: rgba(255, 100, 100, 0.06);
}

.admin-filter-count {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-primary);
  white-space: nowrap;
  min-width: 60px;
}

/* ── Modal tabs ──────────────────────────────────────────────────── */
.admin-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 28px;
}

.admin-tab {
  padding: 14px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: -1px;
}

.admin-tab:hover {
  color: var(--text-secondary);
}

.admin-tab.active {
  color: var(--accent-light);
  border-bottom-color: var(--accent-primary);
}

.admin-tab-panel {
  padding: 24px 28px;
}

/* ── Divider inside form ─────────────────────────────────────────── */
.admin-divider {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 24px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

/* ── Progress tab ────────────────────────────────────────────────── */
.admin-progress-course {
  margin-bottom: 28px;
}

.admin-progress-course:last-child {
  margin-bottom: 0;
}

.admin-progress-course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.admin-progress-pct {
  color: var(--accent-primary);
  font-size: 11px;
}

.admin-progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 12px;
}

.admin-progress-row:last-child {
  border-bottom: none;
}

.admin-progress-num {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  min-width: 20px;
}

.admin-progress-title {
  flex: 1;
  color: var(--text-secondary);
}

.admin-progress-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.admin-progress-status.done {
  color: rgba(140, 220, 160, 0.9);
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-table-head,
  .admin-table-row {
    grid-template-columns: 1fr 1fr;
  }

  .admin-table-head span:nth-child(3),
  .admin-table-head span:nth-child(4),
  .admin-table-row span:nth-child(3),
  .admin-table-row span:nth-child(4) {
    display: none;
  }
}

/* ── Responsive tweaks for new components ────────────────────────── */
@media (max-width: 768px) {
  .btn-complete {
    width: 100%;
    justify-content: center;
  }
}
