/* ═══════════════════════════════════════════════════════
   MOV Pro HQ — Application Stylesheet
   ═══════════════════════════════════════════════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; min-height: 100vh; }

:root {
  --blue: #38B6FF;
  --violet: #DF00FF;
  --cyan: #00FFFF;
  --dark: #071108;
  --gold: #F2CD5D;
}

/* ── Auth Screen ── */
#auth-screen {
  min-height: 100vh;
  background: linear-gradient(to bottom, #E8F4FC 0%, #D6EDFF 30%, #D6EDFF 50%, #E0D8F0 70%, #F0D8E8 85%, #F8E0E0 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px;
}
#auth-screen img.logo { height: 72px; margin-bottom: 40px; }
.auth-card {
  background: white; border-radius: 24px; padding: 40px;
  width: 100%; max-width: 440px;
  box-shadow: 0 20px 60px rgba(56,182,255,0.12);
  border: 1px solid rgba(56,182,255,0.15);
}
.auth-card h2 { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.auth-card p { color: rgba(7,17,8,0.5); margin-bottom: 28px; font-size: 15px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-group input {
  width: 100%; padding: 12px 16px; border: 2px solid #E8F4FC; border-radius: 12px;
  font-size: 15px; font-family: inherit; color: var(--dark); outline: none; transition: border-color 0.2s;
}
.form-group input:focus { border-color: var(--blue); }
.btn-primary {
  width: 100%; padding: 14px; border: none; border-radius: 14px; cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: white; font-size: 16px; font-weight: 700; font-family: inherit;
  transition: opacity 0.2s; margin-top: 8px;
}
.btn-primary:hover { opacity: 0.9; }
.auth-toggle { text-align: center; margin-top: 20px; font-size: 14px; color: rgba(7,17,8,0.5); }
.auth-toggle a { color: var(--violet); font-weight: 600; cursor: pointer; text-decoration: none; }
.auth-error { background: #FFF0F0; border: 1px solid #FFD0D0; border-radius: 10px; padding: 12px 16px; color: #C00; font-size: 13px; margin-bottom: 16px; display: none; }

/* ── App Shell ── */
#app-shell { display: none; min-height: 100vh; background: linear-gradient(to bottom, #D6EDFF, #E8F4FC 55%, #F9E8F9); }

/* ── Sidebar ── */
#sidebar {
  position: fixed; left: 0; top: 0; height: 100vh; width: 272px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(20px);
  border-right: 1px solid rgba(56,182,255,0.15);
  display: flex; flex-direction: column; z-index: 50;
  box-shadow: 4px 0 20px rgba(56,182,255,0.06);
  transition: width 0.3s;
}
#sidebar.collapsed { width: 72px; }

.sidebar-logo {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(56,182,255,0.1);
  display: flex; align-items: center; justify-content: space-between;
}
.sidebar-logo img { height: 64px; width: auto; transition: all 0.3s; }
#sidebar.collapsed .sidebar-logo img { height: 40px; }
#sidebar.collapsed .sidebar-logo { justify-content: center; }

.collapse-btn {
  width: 28px; height: 28px; border-radius: 50%; background: white;
  border: 1px solid rgba(56,182,255,0.25); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); color: var(--blue); font-size: 12px;
  transition: all 0.2s;
}
.collapse-btn:hover { box-shadow: 0 2px 12px rgba(56,182,255,0.3); }

.sidebar-nav { flex: 1; padding: 12px; overflow-y: auto; }
.nav-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  color: rgba(7,17,8,0.35); text-transform: uppercase;
  padding: 16px 12px 6px; transition: opacity 0.2s;
}
#sidebar.collapsed .nav-section-label { opacity: 0; height: 0; padding: 0; overflow: hidden; }

.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 12px; cursor: pointer;
  color: rgba(7,17,8,0.65); font-size: 14px; font-weight: 500;
  transition: all 0.15s; margin-bottom: 2px; text-decoration: none;
  border: 1px solid transparent;
}
.nav-item:hover { background: rgba(56,182,255,0.06); color: var(--dark); }
.nav-item.active {
  background: linear-gradient(135deg, rgba(56,182,255,0.12), rgba(0,255,255,0.08));
  color: var(--dark); border-color: rgba(56,182,255,0.25);
}
.nav-item .nav-icon { width: 20px; height: 20px; flex-shrink: 0; color: rgba(7,17,8,0.4); }
.nav-item.active .nav-icon { color: var(--blue); }
.nav-item:hover .nav-icon { color: var(--blue); }
.nav-label { white-space: nowrap; overflow: hidden; }
#sidebar.collapsed .nav-label { display: none; }
#sidebar.collapsed .nav-item { justify-content: center; padding: 10px; }

.sidebar-footer {
  padding: 16px; border-top: 1px solid rgba(56,182,255,0.1);
}
.user-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(56,182,255,0.06), rgba(0,255,255,0.04));
}
.user-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 14px;
}
.user-info { flex: 1; min-width: 0; }
.user-name { font-size: 13px; font-weight: 600; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-email { font-size: 11px; color: rgba(7,17,8,0.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.signout-btn {
  background: none; border: none; cursor: pointer; color: rgba(7,17,8,0.4);
  font-size: 12px; padding: 4px 8px; border-radius: 8px; font-family: inherit;
  transition: all 0.2s;
}
.signout-btn:hover { color: var(--violet); background: rgba(223,0,255,0.06); }
#sidebar.collapsed .user-info, #sidebar.collapsed .signout-btn { display: none; }
#sidebar.collapsed .user-chip { justify-content: center; padding: 8px; }

/* ── Main Content ── */
#main {
  margin-left: 272px; min-height: 100vh;
  transition: margin-left 0.3s;
}
#main.collapsed { margin-left: 72px; }

.main-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.8); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56,182,255,0.1);
  padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-date { font-size: 13px; font-weight: 500; color: rgba(7,17,8,0.55); }
.header-user { display: flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(7,17,8,0.55); }

.page-content { padding: 40px; }

/* ── Landing Home (before login) ── */
#landing {
  min-height: 100vh;
  background: linear-gradient(to bottom, #E8F4FC 0%, #D6EDFF 30%, #D6EDFF 50%, #E0D8F0 70%, #F0D8E8 85%, #F8E0E0 100%);
}
.landing-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 48px;
}
.landing-nav img { height: 72px; }
.landing-nav-btn {
  padding: 10px 24px; border-radius: 12px; border: none; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 14px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: white; transition: opacity 0.2s;
}
.landing-nav-btn:hover { opacity: 0.9; }

.landing-hero { text-align: center; padding: 60px 24px 80px; max-width: 900px; margin: 0 auto; }
.landing-hero h1 { font-size: 72px; font-weight: 900; line-height: 1.05; margin-bottom: 24px; }
.landing-hero h1 .grad-pink { background: linear-gradient(135deg, var(--violet), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.landing-hero h1 .grad-blue { background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.landing-hero p { font-size: 20px; color: rgba(7,17,8,0.55); max-width: 640px; margin: 0 auto 40px; line-height: 1.6; }
.landing-hero p strong { color: var(--violet); }
.landing-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 40px; border-radius: 18px; border: none; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 18px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: white; box-shadow: 0 8px 32px rgba(56,182,255,0.3);
  transition: all 0.2s;
}
.landing-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(56,182,255,0.4); }

.landing-features {
  background: white; padding: 80px 48px;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1100px; margin: 0 auto;
}
.feature-card {
  background: #FAFCFF; border-radius: 20px; padding: 28px;
  border: 1px solid rgba(56,182,255,0.1); text-align: center;
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 16px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: rgba(7,17,8,0.55); line-height: 1.6; }

/* ── Dashboard home ── */
.welcome-card {
  background: white; border-radius: 28px; padding: 40px;
  border: 1px solid rgba(56,182,255,0.15);
  box-shadow: 0 4px 24px rgba(56,182,255,0.08);
  margin-bottom: 32px; max-width: 760px;
}
.welcome-card h2 { font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.welcome-card p { color: rgba(7,17,8,0.55); font-size: 16px; margin-bottom: 28px; }
textarea.big-idea {
  width: 100%; min-height: 120px; padding: 18px; border: 2px solid #E8F4FC;
  border-radius: 16px; font-size: 16px; font-family: inherit; color: var(--dark);
  resize: none; outline: none; background: #FAFCFE; transition: border-color 0.2s;
  margin-bottom: 16px;
}
textarea.big-idea:focus { border-color: var(--blue); }
.btn-generate {
  width: 100%; padding: 16px; border: none; border-radius: 16px; cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: white; font-size: 17px; font-weight: 700; font-family: inherit;
  transition: opacity 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-generate:hover { opacity: 0.9; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip {
  padding: 8px 18px; background: white; border: 1px solid rgba(7,17,8,0.1);
  border-radius: 999px; font-size: 13px; font-weight: 500; color: rgba(7,17,8,0.65);
  cursor: pointer; transition: all 0.15s; font-family: inherit;
}
.chip:hover { border-color: rgba(56,182,255,0.5); color: var(--blue); background: rgba(56,182,255,0.05); }

.setup-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; max-width: 760px; }
.setup-step {
  background: white; border-radius: 18px; padding: 24px;
  border: 1px solid rgba(56,182,255,0.12);
  cursor: pointer; transition: all 0.15s;
}
.setup-step:hover { border-color: rgba(56,182,255,0.4); transform: translateY(-2px); }
.setup-step.done { border-color: rgba(56,182,255,0.3); background: linear-gradient(135deg,rgba(56,182,255,0.04),rgba(0,255,255,0.02)); }
.step-check { width: 32px; height: 32px; border-radius: 50%; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.step-check.pending { background: rgba(7,17,8,0.06); }
.step-check.complete { background: linear-gradient(135deg,var(--blue),var(--cyan)); }
.setup-step h4 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.setup-step p { font-size: 12px; color: rgba(7,17,8,0.45); }

/* ── Workbook pages ── */
.page-header { margin-bottom: 32px; }
.page-header h1 { font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.page-header p { font-size: 16px; color: rgba(7,17,8,0.5); }

.workbook-section {
  background: white; border-radius: 20px; padding: 32px;
  border: 1px solid rgba(56,182,255,0.12); margin-bottom: 24px;
}
.workbook-section h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.workbook-section .section-desc { font-size: 14px; color: rgba(7,17,8,0.5); margin-bottom: 20px; }
.prompt-box {
  background: linear-gradient(135deg,rgba(56,182,255,0.06),rgba(0,255,255,0.04));
  border: 1px solid rgba(56,182,255,0.2); border-radius: 12px; padding: 16px;
  margin-bottom: 16px; font-size: 13px; color: rgba(7,17,8,0.7); line-height: 1.6;
}
.prompt-box strong { color: var(--blue); }
.prompt-copy {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border: 1px solid rgba(56,182,255,0.3); border-radius: 8px;
  font-size: 12px; font-weight: 600; color: var(--blue); cursor: pointer;
  background: white; font-family: inherit; margin-bottom: 16px; transition: all 0.15s;
}
.prompt-copy:hover { background: rgba(56,182,255,0.06); }
.workbook-textarea {
  width: 100%; padding: 14px 16px; border: 2px solid #E8F4FC; border-radius: 12px;
  font-size: 14px; font-family: inherit; color: var(--dark); resize: vertical;
  outline: none; min-height: 100px; transition: border-color 0.2s; background: #FAFCFE;
}
.workbook-textarea:focus { border-color: var(--blue); }
.workbook-textarea.short { min-height: 60px; }
.workbook-label { font-size: 13px; font-weight: 600; color: rgba(7,17,8,0.7); margin-bottom: 6px; display: block; }
.field-group { margin-bottom: 16px; }

.save-bar {
  position: sticky; bottom: 24px; display: flex; gap: 12px; justify-content: flex-end;
  padding: 16px 0;
}
.btn-save {
  padding: 12px 28px; border: none; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg,var(--blue),var(--violet));
  color: white; font-size: 15px; font-weight: 700; font-family: inherit;
  display: flex; align-items: center; gap: 8px; transition: opacity 0.2s;
}
.btn-save:hover { opacity: 0.9; }
.btn-download {
  padding: 12px 28px; border: 1px solid rgba(56,182,255,0.3); border-radius: 12px; cursor: pointer;
  background: white; color: var(--dark); font-size: 15px; font-weight: 600; font-family: inherit;
  display: flex; align-items: center; gap: 8px; transition: all 0.15s;
}
.btn-download:hover { border-color: var(--blue); color: var(--blue); }
.save-status { font-size: 13px; color: rgba(7,17,8,0.4); display: flex; align-items: center; gap: 6px; align-self: center; }
.save-status.saved { color: #22C55E; }

/* ── Brand Docs ── */
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.doc-card {
  background: white; border-radius: 18px; padding: 24px;
  border: 1px solid rgba(56,182,255,0.12);
}
.doc-card h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.doc-card p { font-size: 13px; color: rgba(7,17,8,0.45); margin-bottom: 16px; }
.doc-icon { font-size: 28px; margin-bottom: 12px; }
.upload-zone {
  border: 2px dashed rgba(56,182,255,0.3); border-radius: 12px; padding: 24px;
  text-align: center; cursor: pointer; transition: all 0.15s; background: #FAFCFE;
}
.upload-zone:hover { border-color: var(--blue); background: rgba(56,182,255,0.04); }
.upload-zone p { font-size: 13px; color: rgba(7,17,8,0.4); margin-top: 8px; }
.uploaded-file {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg,rgba(56,182,255,0.08),rgba(0,255,255,0.04));
  border-radius: 10px; padding: 10px 14px; margin-bottom: 10px;
  border: 1px solid rgba(56,182,255,0.2);
}
.uploaded-file span { flex: 1; font-size: 13px; color: var(--dark); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.remove-file { cursor: pointer; color: rgba(7,17,8,0.3); font-size: 16px; padding: 2px 6px; border-radius: 6px; transition: all 0.15s; background: none; border: none; }
.remove-file:hover { color: #EF4444; background: rgba(239,68,68,0.08); }
.file-input { display: none; }

/* ── Content Prefs ── */
.platform-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 28px; }
.platform-btn {
  padding: 16px 12px; border-radius: 14px; border: 2px solid rgba(56,182,255,0.15);
  background: white; cursor: pointer; text-align: center; font-family: inherit;
  transition: all 0.15s;
}
.platform-btn:hover { border-color: rgba(56,182,255,0.4); }
.platform-btn.selected { border-color: var(--blue); background: linear-gradient(135deg,rgba(56,182,255,0.1),rgba(0,255,255,0.06)); }
.platform-btn .p-icon { font-size: 24px; margin-bottom: 8px; }
.platform-btn .p-name { font-size: 12px; font-weight: 600; color: var(--dark); }

.time-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.time-btn {
  padding: 18px; border-radius: 14px; border: 2px solid rgba(56,182,255,0.15);
  background: white; cursor: pointer; text-align: center; font-family: inherit;
  transition: all 0.15s;
}
.time-btn:hover { border-color: rgba(56,182,255,0.4); }
.time-btn.selected { border-color: var(--blue); background: linear-gradient(135deg,rgba(56,182,255,0.1),rgba(0,255,255,0.06)); }
.time-btn .t-hours { font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.time-btn .t-label { font-size: 12px; color: rgba(7,17,8,0.45); }

/* ── Past Plans ── */
.plan-card {
  background: white; border-radius: 18px; padding: 24px;
  border: 1px solid rgba(56,182,255,0.12); margin-bottom: 16px;
  cursor: pointer; transition: all 0.15s;
}
.plan-card:hover { border-color: rgba(56,182,255,0.35); transform: translateY(-2px); }
.plan-card h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.plan-card .plan-meta { font-size: 13px; color: rgba(7,17,8,0.45); display: flex; gap: 16px; }
.plan-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: linear-gradient(135deg,rgba(56,182,255,0.15),rgba(0,255,255,0.1)); color: var(--blue);
}
.plan-detail { background: white; border-radius: 20px; padding: 32px; border: 1px solid rgba(56,182,255,0.12); }
.plan-detail h2 { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.plan-content { font-size: 15px; color: var(--dark); line-height: 1.8; white-space: pre-wrap; }

/* ── Generate Plan ── */
.generate-checklist { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 32px; }
.check-item {
  background: white; border-radius: 16px; padding: 20px;
  border: 1px solid rgba(56,182,255,0.12);
}
.check-item.done { border-color: rgba(56,182,255,0.3); }
.check-icon { font-size: 20px; margin-bottom: 8px; }
.check-item h4 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.check-item p { font-size: 12px; color: rgba(7,17,8,0.45); }

/* ── Profile Onboarding ── */
.onboard-card {
  background: white; border-radius: 24px; padding: 40px;
  max-width: 680px; border: 1px solid rgba(56,182,255,0.12);
  box-shadow: 0 4px 24px rgba(56,182,255,0.08);
}
.onboard-steps { display: flex; gap: 0; margin-bottom: 40px; }
.onboard-step-dot {
  flex: 1; text-align: center; position: relative;
}
.onboard-step-dot::after {
  content: ''; position: absolute; top: 16px; left: 50%; right: -50%;
  height: 2px; background: rgba(56,182,255,0.15);
}
.onboard-step-dot:last-child::after { display: none; }
.dot-circle {
  width: 32px; height: 32px; border-radius: 50%; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; position: relative; z-index: 1;
}
.dot-circle.active { background: linear-gradient(135deg,var(--blue),var(--cyan)); color: white; }
.dot-circle.done { background: var(--blue); color: white; }
.dot-circle.pending { background: rgba(56,182,255,0.1); color: rgba(7,17,8,0.4); }
.dot-label { font-size: 11px; color: rgba(7,17,8,0.45); font-weight: 500; }
.onboard-card h2 { font-size: 26px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.onboard-card .sub { font-size: 15px; color: rgba(7,17,8,0.5); margin-bottom: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Utilities */
.hidden { display: none !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.text-center { text-align: center; }
.spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid rgba(56,182,255,0.2); border-top-color: var(--blue);
  animation: spin 0.8s linear infinite; margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.generating-screen {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 60vh; text-align: center;
}
.generating-screen h3 { font-size: 24px; font-weight: 700; color: var(--dark); margin: 24px 0 8px; }
.generating-screen p { color: rgba(7,17,8,0.5); }
.gen-steps { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; max-width: 360px; width: 100%; }
.gen-step {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: white; border-radius: 14px;
  border: 1px solid rgba(56,182,255,0.12); text-align: left;
  font-size: 14px; font-weight: 500; color: rgba(7,17,8,0.5);
}
.gen-step.active { color: var(--dark); border-color: rgba(56,182,255,0.3); background: linear-gradient(135deg,rgba(56,182,255,0.06),rgba(0,255,255,0.03)); }
.gen-step.done { color: #22C55E; border-color: rgba(34,197,94,0.2); }
.step-dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.gen-step.active .step-dot { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

/* ── Dashboard Hero ── */
.dashboard-hero {
  background: linear-gradient(150deg, #EBF5FF 0%, #DDE8FF 40%, #EEE0FA 75%, #FAE8F5 100%);
  border-radius: 32px; padding: 56px 56px 52px; margin-bottom: 36px;
  position: relative; overflow: hidden;
  border: 1px solid rgba(56,182,255,0.18);
  box-shadow: 0 4px 32px rgba(56,182,255,0.08);
}
.dashboard-hero::before {
  content: ''; position: absolute; top: -100px; right: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(223,0,255,0.09) 0%, transparent 70%);
  pointer-events: none;
}
.dashboard-hero::after {
  content: ''; position: absolute; bottom: -80px; left: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,182,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.dashboard-hero-content { position: relative; z-index: 1; }
.dash-eyebrow {
  font-size: 14px; font-weight: 600; color: rgba(7,17,8,0.5);
  letter-spacing: 0.01em; margin-bottom: 14px; display: block;
}
.dashboard-hero h1 {
  font-size: 52px; font-weight: 900; color: var(--dark); line-height: 1.05; margin-bottom: 16px;
}
.dashboard-hero h1 .grad-pink { background: linear-gradient(135deg, var(--violet), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.dashboard-hero h1 .grad-blue { background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.dashboard-hero .dash-tagline {
  color: rgba(7,17,8,0.58); font-size: 18px; margin-bottom: 32px; line-height: 1.6;
  max-width: 580px;
}
.dash-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-dash-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border: none; border-radius: 16px; cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: white; font-size: 16px; font-weight: 700; font-family: inherit;
  transition: all 0.2s; box-shadow: 0 6px 24px rgba(56,182,255,0.28);
}
.btn-dash-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(56,182,255,0.38); }
.btn-dash-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px; border: 2px solid rgba(56,182,255,0.28); border-radius: 16px; cursor: pointer;
  background: white; color: var(--dark); font-size: 15px; font-weight: 600; font-family: inherit;
  transition: all 0.2s;
}
.btn-dash-secondary:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(56,182,255,0.15); }

/* ── Module Cards ── */
.module-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; margin-bottom: 40px;
}
.module-card {
  background: white; border-radius: 26px; padding: 28px 20px 24px;
  border: 1px solid rgba(56,182,255,0.12);
  cursor: pointer; transition: all 0.22s; text-align: center;
  box-shadow: 0 2px 16px rgba(56,182,255,0.06);
}
.module-card:hover {
  border-color: rgba(56,182,255,0.42); transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(56,182,255,0.14);
}
.module-card-icon {
  width: 68px; height: 68px; border-radius: 22px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.module-card h4 { font-size: 10px; font-weight: 700; color: rgba(7,17,8,0.38); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.module-card h3 { font-size: 16px; font-weight: 800; color: var(--dark); margin-bottom: 16px; line-height: 1.2; }
.module-progress-bar { height: 5px; background: rgba(56,182,255,0.12); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.module-progress-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg,var(--blue),var(--cyan)); transition: width 0.6s; }
.module-progress-label { font-size: 11px; color: rgba(7,17,8,0.4); font-weight: 500; }

/* ── Content Compass Mode Tabs ── */
.compass-mode-tabs {
  display: flex; gap: 4px;
  background: rgba(56,182,255,0.06); border-radius: 16px; padding: 4px;
  margin-bottom: 28px; width: fit-content;
}
.compass-tab {
  padding: 10px 24px; border-radius: 12px; border: none; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; transition: all 0.2s;
  background: transparent; color: rgba(7,17,8,0.5);
}
.compass-tab.active {
  background: white; color: var(--dark);
  box-shadow: 0 2px 10px rgba(56,182,255,0.14);
}

/* ── Compass Doc Selector ── */
.compass-doc-selector { display: flex; gap: 12px; margin-bottom: 28px; }
.compass-doc-btn {
  flex: 1; padding: 16px 12px; border-radius: 16px;
  border: 2px solid rgba(56,182,255,0.15);
  background: white; cursor: pointer; font-family: inherit;
  transition: all 0.15s; text-align: center;
}
.compass-doc-btn.active { border-color: var(--blue); background: linear-gradient(135deg,rgba(56,182,255,0.08),rgba(0,255,255,0.04)); }
.compass-doc-btn:hover { border-color: rgba(56,182,255,0.4); }
.compass-doc-btn .doc-icon { font-size: 24px; margin-bottom: 6px; }
.compass-doc-btn .doc-label { font-size: 11px; font-weight: 700; color: var(--dark); line-height: 1.3; }
.compass-doc-btn .doc-status { font-size: 10px; color: rgba(7,17,8,0.4); margin-top: 4px; }
.compass-doc-btn.active .doc-status { color: var(--blue); }

/* ── Wizard ── */
.wizard-steps {
  display: flex; gap: 0; margin-bottom: 28px;
}
.wizard-step-indicator { flex: 1; text-align: center; position: relative; }
.wizard-step-indicator::before {
  content: ''; position: absolute; top: 16px; left: -50%; right: 50%;
  height: 2px; background: rgba(56,182,255,0.15);
}
.wizard-step-indicator:first-child::before { display: none; }
.wizard-step-num {
  width: 32px; height: 32px; border-radius: 50%; margin: 0 auto 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; position: relative; z-index: 1;
  background: rgba(56,182,255,0.1); color: rgba(7,17,8,0.4);
}
.wizard-step-num.active { background: linear-gradient(135deg,var(--blue),var(--cyan)); color: white; }
.wizard-step-num.done { background: var(--blue); color: white; }
.wizard-step-label { font-size: 10px; color: rgba(7,17,8,0.4); font-weight: 500; }

.wizard-panel { display: none; }
.wizard-panel.active { display: block; }

.wizard-question { margin-bottom: 18px; }
.wizard-question label { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 6px; display: block; }
.wizard-question .q-hint { font-size: 12px; color: rgba(7,17,8,0.42); margin-bottom: 8px; }
.wizard-question textarea, .wizard-question input[type=text] {
  width: 100%; padding: 12px 16px; border: 2px solid #E8F4FC; border-radius: 12px;
  font-size: 14px; font-family: inherit; color: var(--dark); resize: vertical;
  outline: none; transition: border-color 0.2s; background: #FAFCFE;
}
.wizard-question textarea { min-height: 80px; }
.wizard-question textarea:focus, .wizard-question input[type=text]:focus { border-color: var(--blue); }

.wizard-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 24px; align-items: center; }
.btn-wiz-next {
  padding: 12px 28px; border: none; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg,var(--blue),var(--violet));
  color: white; font-size: 15px; font-weight: 700; font-family: inherit; transition: opacity 0.2s;
}
.btn-wiz-next:hover { opacity: 0.9; }
.btn-wiz-back {
  padding: 12px 22px; border: 1px solid rgba(56,182,255,0.3); border-radius: 12px;
  background: white; color: var(--dark); font-size: 14px; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: all 0.15s;
}
.btn-wiz-back:hover { border-color: var(--blue); }

.wizard-output-box {
  background: linear-gradient(135deg,rgba(56,182,255,0.05),rgba(0,255,255,0.02));
  border: 1px solid rgba(56,182,255,0.2); border-radius: 16px; padding: 24px;
  margin-bottom: 20px;
}
.wizard-prompt-output {
  background: #F8FEFF; border: 1px solid rgba(56,182,255,0.25); border-radius: 16px; padding: 24px;
  margin-bottom: 16px; max-height: 400px; overflow-y: auto;
}
.wizard-prompt-output pre {
  font-size: 12px; color: rgba(7,17,8,0.75); line-height: 1.7;
  white-space: pre-wrap; font-family: 'Courier New', monospace;
}
.btn-copy-prompt {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border: none; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--dark); font-size: 14px; font-weight: 700; font-family: inherit;
  transition: opacity 0.2s;
}
.btn-copy-prompt:hover { opacity: 0.88; }
.wizard-section-title {
  font-size: 12px; font-weight: 800; color: rgba(7,17,8,0.45);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px;
}
.wizard-section-intro {
  font-size: 14px; color: rgba(7,17,8,0.6); line-height: 1.6;
  margin-bottom: 24px; background: rgba(56,182,255,0.05);
  border-radius: 12px; padding: 14px 16px;
  border-left: 3px solid var(--blue);
}
.wizard-output-box pre {
  font-size: 13px; color: rgba(7,17,8,0.75); line-height: 1.7;
  white-space: pre-wrap; font-family: inherit;
}