/* ============================================================
   VEMO ACADEMY – Complete Design System
   Font: Poppins | Text: #282f47 | Accent: #7ed957
   ============================================================ */

:root {
  /* --- Vemo Green palette (based on #7ed957) --- */
  --green-50: #f3fce9;
  --green-100: #e4f8cf;
  --green-200: #cbf0a3;
  --green-300: #a8e270;
  --green-400: #8edc59;
  --green-500: #7ed957;
  --green-600: #5cb338;
  --green-700: #4a9a2d;
  --green-800: #3a7d23;
  --green-900: #2a611a;

  /* --- Secondary accents --- */
  --blue-500: #2563eb;
  --blue-50: #eff6ff;
  --purple-500: #7c3aed;
  --purple-50: #f5f3ff;
  --orange-500: #ea580c;
  --orange-50: #fff7ed;
  --cyan-500: #0891b2;
  --cyan-50: #ecfeff;
  --red-500: #dc2626;
  --red-50: #fef2f2;
  --yellow-500: #f59e0b;
  --yellow-50: #fffbeb;

  /* --- Neutrals (based on #282f47) --- */
  --dark: #282f47;
  --dark-800: #343b55;
  --dark-700: #454d68;
  --dark-600: #5a6280;
  --grey-50: #f8fafc;
  --grey-100: #f1f5f9;
  --grey-200: #e2e8f0;
  --grey-300: #cbd5e1;
  --grey-400: #94a3b8;
  --grey-500: #64748b;
  --grey-600: #475569;
  --white: #ffffff;

  /* --- Layout --- */
  --sidebar-w: 270px;
  --topbar-h: 64px;

  /* --- Radius --- */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.03);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.03);

  /* --- Transitions --- */
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
  --transition-slow: 0.35s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--grey-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.dot { color: var(--green-500); }

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem; padding: 10px 22px;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; transition: var(--transition); white-space: nowrap;
  line-height: 1.4;
}
.btn-primary { background: var(--green-600); color: var(--white); border-color: var(--green-600); }
.btn-primary:hover { background: var(--green-700); border-color: var(--green-700); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(92,179,56,.3); }
.btn-secondary { background: var(--grey-100); color: var(--dark); border-color: var(--grey-200); }
.btn-secondary:hover { background: var(--grey-200); }
.btn-outline { background: transparent; color: var(--green-600); border-color: var(--green-600); }
.btn-outline:hover { background: var(--green-50); }
.btn-danger { background: var(--red-500); color: var(--white); border-color: var(--red-500); }
.btn-danger:hover { background: #b91c1c; }
.btn-ghost { background: transparent; color: var(--grey-500); border: none; padding: 8px 12px; }
.btn-ghost:hover { background: var(--grey-100); color: var(--dark); }
.btn-sm { padding: 6px 14px; font-size: 0.82rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 8px; border-radius: var(--radius-sm); }
.btn svg { flex-shrink: 0; }

/* ============================================================
   LOGIN SCREEN
   ============================================================ */
.login-screen {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--dark);
  padding: 20px;
}
.login-container {
  display: grid; grid-template-columns: 1fr 1fr; max-width: 1100px; width: 100%;
  min-height: 640px; border-radius: var(--radius-2xl); overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.3);
}
.login-left {
  background: linear-gradient(135deg, #3a7d23 0%, #5cb338 45%, #7ed957 100%);
  padding: 50px 48px; display: flex; flex-direction: column; justify-content: center;
  color: var(--white); position: relative; overflow: hidden;
}
.login-left::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.login-left::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 250px; height: 250px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.login-brand {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 40px;
  position: relative; z-index: 1;
}
.logo { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.3px; }
.logo-sub { font-size: 1rem; font-weight: 400; opacity: 0.7; }
.login-left h1 {
  font-size: 2.2rem; font-weight: 700; line-height: 1.2;
  margin-bottom: 16px; position: relative; z-index: 1;
  letter-spacing: -0.5px;
}
.login-left p {
  font-size: 1rem; opacity: 0.85; line-height: 1.7;
  margin-bottom: 32px; position: relative; z-index: 1;
  font-weight: 300;
}
.login-features { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.login-feature { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; opacity: 0.9; font-weight: 400; }
.login-feature svg { flex-shrink: 0; stroke: rgba(255,255,255,.8); }

.login-right {
  background: var(--white); padding: 50px 48px;
  display: flex; align-items: center; justify-content: center;
}
.login-card { width: 100%; max-width: 380px; }
.login-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.login-hint { color: var(--grey-500); font-size: 0.9rem; margin-bottom: 20px; }

/* Login Tabs */
.login-tabs {
  display: flex; gap: 0; margin-bottom: 24px;
  background: var(--grey-100); border-radius: var(--radius-sm);
  padding: 3px;
}
.login-tab {
  flex: 1; padding: 10px 16px; border: none; background: transparent;
  font-size: 0.85rem; font-weight: 600; color: var(--grey-500);
  border-radius: var(--radius-xs); cursor: pointer;
  transition: var(--transition); text-align: center;
}
.login-tab:hover { color: var(--dark); }
.login-tab.active {
  background: var(--white); color: var(--green-700);
  box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--dark-700); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm); font-size: 0.9rem; transition: var(--transition);
  background: var(--white); color: var(--dark);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(126,217,87,.15);
}
.form-group input::placeholder { color: var(--grey-400); }

.login-error {
  background: var(--red-50); color: var(--red-500); padding: 10px 14px;
  border-radius: var(--radius-sm); font-size: 0.85rem; margin-bottom: 16px;
  border: 1px solid rgba(220,38,38,.15);
}

/* Login Divider */
.login-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--grey-400); font-size: 0.82rem;
}
.login-divider::before, .login-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--grey-200);
}

/* Google Sign-In Button */
.btn-google {
  background: var(--white); color: var(--dark); border: 1.5px solid var(--grey-200);
  font-weight: 600; gap: 10px; transition: var(--transition);
}
.btn-google:hover {
  background: var(--grey-50); border-color: var(--grey-300);
  box-shadow: var(--shadow-sm); transform: translateY(-1px);
}
.btn-google svg { flex-shrink: 0; }

.login-success {
  background: var(--green-50); color: var(--green-800); padding: 10px 14px;
  border-radius: 8px; font-size: 0.85rem; margin-bottom: 12px;
  border: 1px solid var(--green-200);
}
.register-info {
  color: var(--grey-500); font-size: 0.82rem; line-height: 1.5;
  margin: 0 0 16px 0; padding: 10px 14px;
  background: var(--grey-50); border-radius: 8px;
  border: 1px solid var(--grey-200);
}
.register-success-msg {
  text-align: center; padding: 20px 0;
}
.register-success-msg svg { margin-bottom: 12px; }
.register-success-msg h3 {
  color: var(--dark); font-size: 1.15rem; margin-bottom: 8px;
}
.register-success-msg p {
  color: var(--grey-500); font-size: 0.9rem; line-height: 1.6;
}

/* Pending approval badge */
.badge-pending {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
  background: #fef3c7; color: #92400e; border: 1px solid #fde68a;
}
.badge-approved {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
  background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-200);
}
.btn-approve {
  padding: 5px 14px; border-radius: 6px; font-size: 0.8rem; font-weight: 600;
  background: var(--green-600); color: #fff; border: none; cursor: pointer;
  transition: var(--transition);
}
.btn-approve:hover { background: var(--green-700); }
.btn-reject {
  padding: 5px 14px; border-radius: 6px; font-size: 0.8rem; font-weight: 600;
  background: var(--grey-100); color: var(--grey-600); border: 1px solid var(--grey-200);
  cursor: pointer; transition: var(--transition);
}
.btn-reject:hover { background: var(--grey-200); }

/* ============================================================
   APP SHELL
   ============================================================ */
.app-shell { display: flex; min-height: 100vh; }

/* ---- SIDEBAR ---- */
.sidebar {
  width: var(--sidebar-w); height: 100vh; position: fixed; top: 0; left: 0;
  background: var(--white); border-right: 1px solid var(--grey-200);
  display: flex; flex-direction: column; z-index: 100;
  transition: var(--transition-slow);
}
.sidebar-header {
  padding: 20px 20px 16px; display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid var(--grey-100);
}
.sidebar-logo { display: flex; align-items: baseline; gap: 6px; }
.sidebar-logo .logo { font-size: 1.3rem; color: var(--dark); }
.sidebar-logo .logo-sub { font-size: 0.8rem; font-weight: 400; color: var(--grey-500); }
.sidebar-close { display: none; background: none; border: none; color: var(--grey-500); }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 12px 10px; }
.sidebar-nav-group { margin-bottom: 8px; }
.sidebar-nav-label {
  padding: 8px 12px 4px; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-400);
}
.sidebar-link {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-radius: var(--radius-sm); color: var(--grey-600); font-size: 0.88rem;
  font-weight: 500; transition: var(--transition); cursor: pointer;
  border: none; background: none; width: 100%; text-align: left;
}
.sidebar-link:hover { background: var(--grey-50); color: var(--dark); }
.sidebar-link.active { background: var(--green-50); color: var(--green-700); font-weight: 600; }
.sidebar-link.active svg { stroke: var(--green-600); }
.sidebar-link svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--grey-400); }
.sidebar-link .badge {
  margin-left: auto; background: var(--green-600); color: var(--white);
  font-size: 0.7rem; font-weight: 700; padding: 2px 8px;
  border-radius: var(--radius-full); min-width: 20px; text-align: center;
}

.sidebar-footer {
  padding: 12px 14px; border-top: 1px solid var(--grey-100);
  display: flex; align-items: center; gap: 8px;
}
.sidebar-user {
  flex: 1; display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: var(--radius-sm); cursor: pointer;
  transition: var(--transition);
}
.sidebar-user:hover { background: var(--grey-50); }
.sidebar-user-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--green-100);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: var(--green-800);
  overflow: hidden; flex-shrink: 0; background-size: cover; background-position: center;
}
.sidebar-user-info strong { display: block; font-size: 0.82rem; line-height: 1.3; }
.sidebar-user-info small { color: var(--grey-500); font-size: 0.72rem; }
.sidebar-logout {
  padding: 8px; border-radius: var(--radius-sm); background: none;
  border: none; color: var(--grey-400); transition: var(--transition);
}
.sidebar-logout:hover { background: var(--red-50); color: var(--red-500); }

/* ---- MAIN CONTENT ---- */
.main-content {
  flex: 1; margin-left: var(--sidebar-w); min-height: 100vh;
  display: flex; flex-direction: column; position: relative;
}

/* ---- TOPBAR ---- */
.topbar {
  height: var(--topbar-h); padding: 0 28px; display: flex;
  align-items: center; gap: 16px; background: var(--white);
  border-bottom: 1px solid var(--grey-100); position: sticky;
  top: 0; z-index: 50;
}
.topbar-menu {
  display: none; background: none; border: none; color: var(--grey-600);
  padding: 4px;
}
.topbar-search {
  flex: 1; max-width: 480px; display: flex; align-items: center;
  gap: 10px; background: var(--grey-50); border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-full); padding: 0 16px; transition: var(--transition);
}
.topbar-search:focus-within { border-color: var(--green-500); background: var(--white); box-shadow: 0 0 0 3px rgba(126,217,87,.12); }
.topbar-search input {
  flex: 1; border: none; background: none; padding: 9px 0;
  font-size: 0.88rem; outline: none; color: var(--dark);
}
.topbar-search input::placeholder { color: var(--grey-400); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.topbar-notif {
  position: relative; background: none; border: none; padding: 8px;
  border-radius: var(--radius-sm); color: var(--grey-500); transition: var(--transition);
}
.topbar-notif:hover { background: var(--grey-100); }
.notif-badge {
  position: absolute; top: 2px; right: 2px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--red-500); color: var(--white);
  font-size: 0.65rem; font-weight: 700; display: flex;
  align-items: center; justify-content: center;
}
.topbar-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--green-100);
  cursor: pointer; background-size: cover; background-position: center;
  border: 2px solid var(--grey-200); transition: var(--transition);
}
.topbar-avatar:hover { border-color: var(--green-500); }

/* Notification dropdown */
.notif-dropdown {
  position: absolute; top: var(--topbar-h); right: 28px;
  width: 360px; background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); z-index: 60;
  overflow: hidden;
}
.notif-header { padding: 16px 20px; border-bottom: 1px solid var(--grey-100); }
.notif-header h4 { font-size: 0.95rem; }
.notif-list { max-height: 320px; overflow-y: auto; }
.notif-item {
  padding: 14px 20px; border-bottom: 1px solid var(--grey-50);
  cursor: pointer; transition: var(--transition);
}
.notif-item:hover { background: var(--grey-50); }
.notif-item strong { display: block; font-size: 0.85rem; margin-bottom: 2px; }
.notif-item p { font-size: 0.8rem; color: var(--grey-500); line-height: 1.5; }
.notif-item small { font-size: 0.72rem; color: var(--grey-400); }

/* Search overlay */
.search-overlay {
  position: absolute; top: var(--topbar-h); left: 0; right: 0;
  background: rgba(0,0,0,.3); min-height: 200px; z-index: 55;
  padding: 20px 28px;
}
.search-results {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); max-width: 600px; overflow: hidden;
}
.search-result-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 20px;
  cursor: pointer; transition: var(--transition); border-bottom: 1px solid var(--grey-50);
}
.search-result-item:hover { background: var(--green-50); }
.search-result-item img { width: 50px; height: 34px; border-radius: var(--radius-xs); object-fit: cover; }
.search-result-item .sr-info h4 { font-size: 0.88rem; }
.search-result-item .sr-info small { color: var(--grey-500); font-size: 0.78rem; }
.search-no-results { padding: 30px; text-align: center; color: var(--grey-400); font-size: 0.9rem; }

/* ---- PAGE CONTENT ---- */
.page-content { padding: 28px; flex: 1; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  margin-bottom: 28px;
}
.page-header h1 {
  font-size: 1.7rem; font-weight: 700; letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.page-header p { color: var(--grey-500); font-size: 0.95rem; }
.page-header-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}

/* ============================================================
   STAT CARDS
   ============================================================ */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px; margin-bottom: 28px;
}
.stat-card {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: 22px;
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card-icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.stat-card-icon.green { background: var(--green-50); color: var(--green-600); }
.stat-card-icon.blue { background: var(--blue-50); color: var(--blue-500); }
.stat-card-icon.purple { background: var(--purple-50); color: var(--purple-500); }
.stat-card-icon.orange { background: var(--orange-50); color: var(--orange-500); }
.stat-card h3 { font-size: 1.6rem; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.stat-card p { font-size: 0.82rem; color: var(--grey-500); }
.stat-card .stat-change {
  display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem;
  font-weight: 600; margin-top: 8px; padding: 3px 8px;
  border-radius: var(--radius-full);
}
.stat-change.up { background: var(--green-50); color: var(--green-700); }
.stat-change.down { background: var(--red-50); color: var(--red-500); }

/* ============================================================
   CUSTOMER DASHBOARD (vemo.ch style)
   ============================================================ */

/* -- Hero / Greeting -- */
.dash-hero {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 28px; gap: 20px; flex-wrap: wrap;
}
.dash-greeting h1 {
  font-size: 1.85rem; font-weight: 700; letter-spacing: -0.5px;
  color: #101828; line-height: 1.2; margin-bottom: 2px;
}
.dash-greeting p {
  font-size: 0.88rem; color: #98A2B3; font-weight: 400;
}

/* -- Inline Stats -- */
.dash-stats-inline {
  display: flex; align-items: center; gap: 0;
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: 14px 6px;
}
.dash-stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 22px; min-width: 80px;
}
.dash-stat-value {
  font-size: 1.25rem; font-weight: 700; color: #101828; line-height: 1;
}
.dash-stat-total {
  font-size: 0.82rem; font-weight: 500; color: #98A2B3;
}
.dash-stat-label {
  font-size: 0.72rem; color: #98A2B3; font-weight: 500;
  margin-top: 3px; text-transform: uppercase; letter-spacing: 0.03em;
}
.dash-stat-divider {
  width: 1px; height: 30px; background: var(--grey-200); flex-shrink: 0;
}

/* -- Subscription Banners -- */
.dash-sub-banner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-radius: var(--radius-md);
  margin-bottom: 32px; gap: 16px; flex-wrap: wrap;
}
.dash-sub-banner-content {
  display: flex; align-items: center; gap: 14px;
}
.dash-sub-banner-icon {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dash-sub-banner-content strong {
  display: block; font-size: 0.9rem; font-weight: 600; line-height: 1.3;
}
.dash-sub-banner-content span {
  display: block; font-size: 0.82rem; opacity: 0.85; line-height: 1.4;
}

.dash-sub-none {
  background: linear-gradient(135deg, #101828 0%, #1e293b 100%);
  color: #fff;
}
.dash-sub-none .dash-sub-banner-icon { background: rgba(126,217,87,.15); color: var(--green-400); }
.dash-sub-trial {
  background: var(--green-50); border: 1px solid var(--green-200); color: var(--dark);
}
.dash-sub-trial .dash-sub-banner-icon { background: var(--green-100); color: var(--green-600); }
.dash-sub-trial strong { color: var(--green-700); }
.dash-sub-active {
  background: var(--green-50); border: 1px solid var(--green-200); color: var(--dark);
}
.dash-sub-active .dash-sub-banner-icon { background: var(--green-100); color: var(--green-600); }
.dash-sub-active strong { color: var(--green-700); }
.dash-sub-cancelled {
  background: var(--orange-50); border: 1px solid #fed7aa; color: var(--dark);
}
.dash-sub-cancelled .dash-sub-banner-icon { background: #ffedd5; color: #ea580c; }
.dash-sub-cancelled strong { color: #c2410c; }
.dash-sub-pastdue {
  background: var(--red-50); border: 1px solid #fecaca; color: var(--dark);
}
.dash-sub-pastdue .dash-sub-banner-icon { background: #fee2e2; color: var(--red-500); }
.dash-sub-pastdue strong { color: #b91c1c; }

/* -- Section Headers -- */
.dash-section {
  margin-bottom: 36px;
}
.dash-section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 18px;
}
.dash-section-header h2 {
  font-size: 1.2rem; font-weight: 700; color: #101828;
  letter-spacing: -0.2px;
}
.dash-section-link {
  font-size: 0.82rem; font-weight: 600; color: var(--green-600);
  cursor: pointer; transition: var(--transition);
}
.dash-section-link:hover { color: var(--green-700); }

/* -- Continue Learning Cards (large visual) -- */
.dash-continue-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.dash-continue-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; transition: var(--transition);
  border: 1px solid var(--grey-200);
}
.dash-continue-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px);
}
.dash-continue-thumb {
  height: 170px; background-size: cover; background-position: center;
  position: relative; background-color: var(--grey-100);
}
.dash-continue-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0,0,0,.45); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.dash-continue-card:hover .dash-continue-play { opacity: 1; }
.dash-continue-play svg { margin-left: 2px; }
.dash-continue-progress {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: rgba(255,255,255,.3);
}
.dash-continue-progress-fill {
  height: 100%; background: var(--green-500); transition: width 0.5s ease;
}
.dash-continue-body { padding: 16px 18px; }
.dash-continue-cat {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; display: block; margin-bottom: 5px;
}
.dash-continue-body h3 {
  font-size: 0.95rem; font-weight: 600; color: #101828;
  line-height: 1.35; margin-bottom: 6px;
}
.dash-continue-next {
  font-size: 0.82rem; color: #475467; margin-bottom: 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash-continue-meta {
  font-size: 0.75rem; color: #98A2B3; font-weight: 500;
}

/* -- All Courses Grid -- */
.dash-courses-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}
.dash-course-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; transition: var(--transition);
  border: 1px solid var(--grey-200);
}
.dash-course-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.07); transform: translateY(-2px);
}
.dash-course-thumb {
  height: 155px; background-size: cover; background-position: center;
  position: relative; background-color: var(--grey-100);
}
.dash-course-lock {
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #475467; transition: opacity 0.25s; z-index: 2;
}
.dash-course-progress-bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: rgba(0,0,0,.12);
}
.dash-course-progress-fill {
  height: 100%; background: var(--green-500); border-radius: 0 2px 0 0;
}
.dash-course-body { padding: 15px 16px 16px; }
.dash-course-cat {
  font-size: 0.68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; display: block; margin-bottom: 4px;
}
.dash-course-body h3 {
  font-size: 0.92rem; font-weight: 600; color: #101828;
  line-height: 1.35; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.dash-course-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.75rem; color: #98A2B3; margin-bottom: 12px;
}
.dash-course-meta span { display: flex; align-items: center; gap: 3px; }
.dash-course-meta svg { width: 13px; height: 13px; }
.dash-course-footer {
  display: flex; align-items: center; justify-content: flex-end;
  padding-top: 12px; border-top: 1px solid var(--grey-100);
}
.dash-course-creator {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: #475467; margin-right: auto;
}
.dash-course-creator:empty { display: none; }
.dash-course-creator img {
  width: 22px; height: 22px; border-radius: 50%; object-fit: cover;
}
.dash-course-badge {
  font-size: 0.7rem; font-weight: 600; padding: 3px 10px;
  border-radius: var(--radius-full);
}
.dash-badge-free {
  background: var(--green-50); color: var(--green-700);
}
.dash-badge-premium {
  background: #f0f0ff; color: #5b4bd5;
}
.dash-badge-premium-cta {
  background: #5b4bd5; color: #fff; cursor: pointer;
  transition: background 0.2s;
}
.dash-badge-premium-cta:hover {
  background: #4a3bc4;
}

/* -- Course Card Hover Overlay -- */
.dash-course-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.25s;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.dash-course-hover-overlay span {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.dash-course-locked:hover .dash-course-hover-overlay {
  opacity: 1;
}
.dash-course-locked:hover .dash-course-lock {
  opacity: 0;
}

/* -- Dashboard Empty State -- */
.dash-empty {
  text-align: center; padding: 48px 20px;
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
}
.dash-empty p {
  color: #98A2B3; font-size: 0.9rem; margin-bottom: 16px;
}

/* -- Referral Page -- */
.referral-hero-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  text-align: center;
  margin-bottom: 20px;
}
.referral-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--green-50);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.referral-hero-card h2 {
  font-size: 1.2rem; font-weight: 700; color: #101828; margin-bottom: 8px;
}
.referral-hero-card p {
  font-size: 0.9rem; color: #667085; margin-bottom: 20px; max-width: 480px; margin-left: auto; margin-right: auto;
}
.referral-link-box {
  display: flex; gap: 8px; max-width: 520px; margin: 0 auto 20px;
}
.referral-link-box input {
  flex: 1; padding: 10px 14px; border: 1px solid var(--grey-300);
  border-radius: var(--radius-md); font-size: 0.88rem;
  background: var(--grey-50); color: #101828; font-family: monospace;
}
.referral-link-box .btn {
  white-space: nowrap; display: flex; align-items: center; gap: 6px;
}
.referral-share-row {
  display: flex; gap: 12px; justify-content: center;
}
.referral-share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-md);
  font-size: 0.88rem; font-weight: 600; text-decoration: none;
  transition: opacity 0.2s;
}
.referral-share-btn:hover { opacity: 0.85; }
.referral-share-whatsapp {
  background: #25d366; color: #fff;
}
.referral-share-email {
  background: #101828; color: #fff;
}

.referral-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 20px;
}
.referral-stat {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: 24px 16px;
  text-align: center;
}
.referral-stat-value {
  display: block; font-size: 1.3rem; font-weight: 700; color: #101828; margin-bottom: 4px;
}
.referral-stat-label {
  font-size: 0.82rem; color: #98a2b3; text-transform: uppercase; letter-spacing: 0.5px;
}

.referral-history {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl); padding: 24px;
}
.referral-history h3 {
  font-size: 1rem; font-weight: 600; color: #101828; margin-bottom: 16px;
}
.referral-table {
  width: 100%; border-collapse: collapse;
}
.referral-table th {
  text-align: left; padding: 10px 12px; font-size: 0.82rem;
  color: #98a2b3; text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 1px solid var(--grey-200);
}
.referral-table td {
  padding: 12px; font-size: 0.9rem; color: #475467;
  border-bottom: 1px solid var(--grey-100);
}

.referral-empty {
  text-align: center; padding: 32px 20px;
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
}
.referral-empty p { color: #98a2b3; font-size: 0.9rem; }

@media (max-width: 768px) {
  .referral-hero-card { padding: 24px 16px; }
  .referral-link-box { flex-direction: column; }
  .referral-stats-row { grid-template-columns: 1fr; }
  .referral-share-row { flex-direction: column; align-items: center; }
}

/* -- Dashboard Upgrade Hero -- */
.dash-upgrade-hero {
  background: linear-gradient(135deg, #101828 0%, #1d2939 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  color: #fff;
}
.dash-upgrade-hero-content {
  display: flex;
  gap: 40px;
  align-items: center;
}
.dash-upgrade-hero-text {
  flex: 1;
  min-width: 0;
}
.dash-upgrade-hero-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.3;
}
.dash-upgrade-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.dash-upgrade-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: #d0d5dd;
}
.dash-upgrade-benefit strong {
  color: #fff;
}
.dash-upgrade-sub {
  font-size: 0.85rem;
  color: #98a2b3;
  margin-bottom: 20px;
}
.dash-upgrade-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.dash-upgrade-actions .btn-primary {
  padding: 10px 24px;
  font-size: 0.93rem;
}
.dash-upgrade-actions .btn-ghost {
  color: #98a2b3;
  border-color: #344054;
  padding: 10px 20px;
  font-size: 0.87rem;
}
.dash-upgrade-actions .btn-ghost:hover {
  color: #fff;
  border-color: #667085;
}
.dash-upgrade-hero-visual {
  flex-shrink: 0;
  width: 220px;
}
.dash-upgrade-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dash-upgrade-visual-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
}
.dash-upgrade-visual-item span {
  font-size: 0.78rem;
  color: #98a2b3;
  font-weight: 500;
}

/* -- Dashboard Social Proof -- */
.dash-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 24px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  margin-top: 12px;
}
.dash-social-proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  color: #475467;
}
.dash-social-proof-item strong {
  color: #101828;
}
.dash-social-proof-divider {
  width: 1px;
  height: 20px;
  background: var(--grey-200);
}

/* -- Dashboard Premium Teaser -- */
.dash-teaser-section {
  background: linear-gradient(180deg, #f9fafb 0%, #fff 100%);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}
.dash-teaser-header {
  margin-bottom: 32px;
}
.dash-teaser-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #101828;
  margin-bottom: 8px;
}
.dash-teaser-header p {
  font-size: 0.9rem;
  color: #667085;
}
.dash-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.dash-teaser-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dash-teaser-card:hover {
  border-color: var(--green-200);
  box-shadow: 0 4px 16px rgba(126,217,87,0.08);
}
.dash-teaser-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--green-50);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}
.dash-teaser-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #101828;
  margin-bottom: 8px;
}
.dash-teaser-card p {
  font-size: 0.83rem;
  color: #667085;
  line-height: 1.5;
}
.dash-teaser-cta {
  padding-top: 4px;
}
.dash-teaser-cta .btn-lg {
  padding: 12px 32px;
  font-size: 0.95rem;
}

/* -- Dashboard Responsive -- */
@media (max-width: 768px) {
  .dash-hero { flex-direction: column; align-items: flex-start; }
  .dash-stats-inline { width: 100%; justify-content: space-around; }
  .dash-stat-item { padding: 0 12px; min-width: 60px; }
  .dash-stat-value { font-size: 1.05rem; }
  .dash-continue-grid { grid-template-columns: 1fr; }
  .dash-courses-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .dash-upgrade-hero { padding: 28px 20px; }
  .dash-upgrade-hero-content { flex-direction: column; gap: 24px; }
  .dash-upgrade-hero-visual { width: 100%; }
  .dash-upgrade-hero-text h2 { font-size: 1.25rem; }
  .dash-social-proof { flex-direction: column; gap: 12px; padding: 16px; }
  .dash-social-proof-divider { width: 40px; height: 1px; }
  .dash-teaser-section { padding: 28px 16px; }
  .dash-teaser-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COURSE CARDS
   ============================================================ */
.courses-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px; margin-bottom: 28px;
}
.course-card {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); cursor: pointer;
}
.course-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.course-card-thumb {
  height: 170px; background-size: cover; background-position: center;
  position: relative;
}
.course-card-badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 12px;
  border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 700;
  background: rgba(255,255,255,.95); color: var(--dark);
  backdrop-filter: blur(4px);
}
.course-card-progress-bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: rgba(0,0,0,.15);
}
.course-card-progress-fill {
  height: 100%; background: var(--green-500); border-radius: 0 2px 2px 0;
  transition: width 0.5s ease;
}
.course-card-body { padding: 18px; }
.course-card-cat {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 6px;
}
.course-card-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; line-height: 1.35; }
.course-card-body p { font-size: 0.82rem; color: var(--grey-500); margin-bottom: 14px; line-height: 1.5; }
.course-card-meta {
  display: flex; align-items: center; gap: 14px; font-size: 0.78rem; color: var(--grey-400);
}
.course-card-meta span { display: flex; align-items: center; gap: 4px; }
.course-card-meta svg { width: 14px; height: 14px; }
.course-card-footer {
  padding: 14px 18px; border-top: 1px solid var(--grey-100);
  display: flex; align-items: center; justify-content: space-between;
}
.course-card-creator {
  display: flex; align-items: center; gap: 8px; font-size: 0.8rem;
}
.course-card-creator img {
  width: 26px; height: 26px; border-radius: 50%; object-fit: cover;
}
.course-card-rating {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.82rem; font-weight: 600;
}
.course-card-rating svg { width: 14px; height: 14px; fill: var(--yellow-500); stroke: none; }

/* ============================================================
   COURSE DETAIL
   ============================================================ */
.course-detail-hero {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 24px;
}
.course-detail-banner {
  height: 240px; background-size: cover; background-position: center;
  position: relative;
}
.course-detail-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,.5));
}
.course-detail-banner .back-btn {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(255,255,255,.9); border: none; padding: 8px 14px;
  border-radius: var(--radius-full); font-size: 0.82rem; font-weight: 600;
  display: flex; align-items: center; gap: 6px; color: var(--dark);
  cursor: pointer; transition: var(--transition); backdrop-filter: blur(4px);
}
.course-detail-banner .back-btn:hover { background: var(--white); }
.course-detail-info { padding: 28px 32px; }
.course-detail-info .cd-cat {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 8px;
}
.course-detail-info h1 { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; line-height: 1.25; }
.course-detail-info .cd-subtitle { font-size: 1.05rem; color: var(--grey-500); margin-bottom: 18px; }
.cd-meta-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 20px;
  margin-bottom: 18px;
}
.cd-meta-item {
  display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--grey-600);
}
.cd-meta-item svg { width: 16px; height: 16px; stroke: var(--grey-400); }
.cd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.cd-tag {
  padding: 4px 12px; border-radius: var(--radius-full);
  background: var(--grey-100); font-size: 0.75rem; font-weight: 500; color: var(--grey-600);
}
.cd-description { font-size: 0.92rem; color: var(--dark-700); line-height: 1.7; margin-bottom: 20px; }
.cd-actions { display: flex; gap: 10px; }

/* -- Course Detail Premium Upsell Box -- */
.cd-premium-upsell {
  background: #fafaff;
  border: 1.5px solid #e0dff5;
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 400px;
}
.cd-premium-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.cd-premium-header span {
  font-weight: 700;
  font-size: 1rem;
  color: #5b4bd5;
}
.cd-premium-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.cd-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #475467;
}

/* Lessons list */
.lessons-panel {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl); overflow: hidden;
}
.lessons-panel-header {
  padding: 20px 24px; border-bottom: 1px solid var(--grey-100);
  display: flex; align-items: center; justify-content: space-between;
}
.lessons-panel-header h3 { font-size: 1.05rem; font-weight: 700; }
.lessons-panel-header span { font-size: 0.82rem; color: var(--grey-500); }

.lesson-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 24px;
  border-bottom: 1px solid var(--grey-50); cursor: pointer;
  transition: var(--transition);
}
.lesson-item:hover { background: var(--green-50); }
.lesson-item.completed .lesson-check { background: var(--green-500); border-color: var(--green-500); color: var(--white); }
.lesson-item.active { background: var(--green-50); border-left: 3px solid var(--green-500); }
.lesson-check {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--grey-300); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 0.75rem; color: transparent; transition: var(--transition);
}
.lesson-num { font-size: 0.78rem; color: var(--grey-400); font-weight: 600; min-width: 20px; }
.lesson-info { flex: 1; }
.lesson-info h4 { font-size: 0.9rem; font-weight: 600; }
.lesson-info small { color: var(--grey-400); font-size: 0.78rem; }
.lesson-play {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-50); color: var(--green-600);
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; transition: var(--transition); flex-shrink: 0;
}
.lesson-play:hover { background: var(--green-500); color: var(--white); }

/* ============================================================
   VIDEO PLAYER
   ============================================================ */
.player-layout { display: grid; grid-template-columns: 1fr 360px; gap: 0; margin: -28px; min-height: calc(100vh - var(--topbar-h)); }
.player-main { background: #000; display: flex; flex-direction: column; }
.player-video-wrap { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; }
.player-video-wrap video { width: 100%; height: 100%; object-fit: contain; }

.premium-upsell-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff; text-align: center; padding: 32px;
}
.premium-upsell-content { max-width: 420px; }
.premium-upsell-icon { margin-bottom: 16px; }
.premium-upsell-content h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.premium-upsell-content p { font-size: 0.92rem; color: rgba(255,255,255,0.75); line-height: 1.5; margin-bottom: 4px; }
.premium-upsell-benefits-mini {
  display: flex; gap: 16px; justify-content: center;
  margin: 14px 0 6px; flex-wrap: wrap;
}
.premium-upsell-benefits-mini span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.84rem; color: rgba(255,255,255,0.85); font-weight: 500;
}
.lesson-item.lesson-locked { opacity: 0.65; }
.lesson-item.lesson-locked:hover { opacity: 0.85; }

.player-controls {
  padding: 20px 28px; background: var(--white); flex: 1;
}
.player-controls h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.player-controls .pc-meta { font-size: 0.85rem; color: var(--grey-500); margin-bottom: 16px; }
.player-nav-btns { display: flex; gap: 10px; margin-bottom: 20px; }

.player-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--grey-200); margin-bottom: 16px; }
.player-tab {
  padding: 10px 20px; font-size: 0.88rem; font-weight: 600;
  color: var(--grey-500); background: none; border: none;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  cursor: pointer; transition: var(--transition);
}
.player-tab.active { color: var(--green-600); border-bottom-color: var(--green-500); }
.player-tab-content { font-size: 0.9rem; color: var(--dark-700); line-height: 1.7; }

.player-sidebar {
  background: var(--white); border-left: 1px solid var(--grey-200);
  display: flex; flex-direction: column; height: calc(100vh - var(--topbar-h)); overflow: hidden;
}
.player-sidebar-header {
  padding: 18px 20px; border-bottom: 1px solid var(--grey-100);
}
.player-sidebar-header h3 { font-size: 0.95rem; font-weight: 700; }
.player-sidebar-header small { color: var(--grey-500); font-size: 0.8rem; }
.player-sidebar-progress {
  height: 3px; background: var(--grey-200); margin-top: 10px; border-radius: 2px;
}
.player-sidebar-progress-fill { height: 100%; background: var(--green-500); border-radius: 2px; transition: width 0.5s ease; }
.player-lessons-list { flex: 1; overflow-y: auto; }

/* ============================================================
   CREATOR DASHBOARD
   ============================================================ */
.creator-course-card {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: 20px;
  display: flex; gap: 18px; transition: var(--transition);
  margin-bottom: 12px;
}
.creator-course-card:hover { box-shadow: var(--shadow-md); }
.creator-course-card img {
  width: 140px; height: 90px; border-radius: var(--radius-sm);
  object-fit: cover; flex-shrink: 0;
}
.creator-course-info { flex: 1; }
.creator-course-info h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.creator-course-info p { font-size: 0.82rem; color: var(--grey-500); margin-bottom: 10px; }
.creator-course-stats {
  display: flex; gap: 16px; font-size: 0.78rem; color: var(--grey-400);
}
.creator-course-stats span { display: flex; align-items: center; gap: 4px; }
.creator-course-actions { display: flex; flex-direction: column; gap: 6px; justify-content: center; }

/* Upload modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal {
  background: var(--white); border-radius: var(--radius-xl);
  width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 40px 80px rgba(0,0,0,.2);
}
.modal-header {
  padding: 24px 28px 0; display: flex; align-items: center;
  justify-content: space-between;
}
.modal-header h2 { font-size: 1.3rem; font-weight: 700; }
.modal-close {
  background: none; border: none; color: var(--grey-400); padding: 4px;
  cursor: pointer; transition: var(--transition);
}
.modal-close:hover { color: var(--dark); }
.modal-body { padding: 20px 28px 28px; }

.upload-zone {
  border: 2px dashed var(--grey-300); border-radius: var(--radius-lg);
  padding: 40px; text-align: center; cursor: pointer;
  transition: var(--transition); margin-bottom: 20px;
}
.upload-zone:hover { border-color: var(--green-500); background: var(--green-50); }
.upload-zone svg { color: var(--grey-400); margin-bottom: 10px; }
.upload-zone p { color: var(--grey-500); font-size: 0.9rem; }
.upload-zone small { color: var(--grey-400); font-size: 0.8rem; }

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-table {
  width: 100%; background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); overflow: hidden;
}
.admin-table table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left; padding: 14px 18px; font-size: 0.78rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--grey-500); background: var(--grey-50);
  border-bottom: 1px solid var(--grey-200);
}
.admin-table td {
  padding: 14px 18px; font-size: 0.88rem;
  border-bottom: 1px solid var(--grey-50);
}
.admin-table tr:hover td { background: var(--grey-50); }
.admin-table .user-cell { display: flex; align-items: center; gap: 10px; }
.admin-table .user-cell-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-100); display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 0.8rem;
  color: var(--green-800); flex-shrink: 0; background-size: cover;
  background-position: center;
}
.role-badge {
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700;
}
.role-badge.admin { background: var(--orange-50); color: var(--orange-500); }
.role-badge.creator { background: var(--purple-50); color: var(--purple-500); }
.role-badge.customer { background: var(--green-50); color: var(--green-600); }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px;
}
.status-dot.active { background: var(--green-500); }
.status-dot.draft { background: var(--yellow-500); }
.status-dot.inactive { background: var(--grey-400); }

/* ============================================================
   PROFILE PAGE
   ============================================================ */
.profile-header {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl); padding: 32px;
  display: flex; align-items: center; gap: 24px; margin-bottom: 24px;
}
.profile-avatar-wrapper {
  position: relative; cursor: pointer; flex-shrink: 0;
  width: 80px; height: 80px; border-radius: 50%;
}
.profile-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; color: var(--white);
  flex-shrink: 0; background-size: cover; background-position: center;
}
.avatar-overlay {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(0,0,0,0.55); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  opacity: 0; transition: opacity 0.2s; color: white; font-size: 0.65rem;
}
.avatar-overlay svg { width: 16px; height: 16px; stroke: white; }
.profile-avatar-wrapper:hover .avatar-overlay { opacity: 1; }
.profile-info h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 2px; }
.profile-info p { color: var(--grey-500); font-size: 0.9rem; }
.profile-stats-row { display: flex; gap: 24px; margin-top: 12px; }
.profile-stat { text-align: center; }
.profile-stat strong { display: block; font-size: 1.2rem; font-weight: 700; }
.profile-stat small { font-size: 0.78rem; color: var(--grey-500); }

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress-bar {
  height: 8px; background: var(--grey-200); border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-fill {
  height: 100%; background: var(--green-500); border-radius: var(--radius-full);
  transition: width 0.6s ease;
}
.progress-bar.sm { height: 5px; }

/* ============================================================
   CERTIFICATES
   ============================================================ */
.certificate-card {
  background: linear-gradient(135deg, #3a7d23, #5cb338, #7ed957);
  border-radius: var(--radius-xl); padding: 32px; color: var(--white);
  position: relative; overflow: hidden; margin-bottom: 12px;
}
.certificate-card::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.certificate-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; position: relative; }
.certificate-card p { font-size: 0.85rem; opacity: 0.8; position: relative; }
.certificate-icon {
  position: absolute; top: 20px; right: 20px; opacity: 0.3;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center; padding: 60px 20px; color: var(--grey-400);
}
.empty-state svg { margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-size: 1.1rem; font-weight: 700; color: var(--grey-600); margin-bottom: 6px; }
.empty-state p { font-size: 0.9rem; margin-bottom: 20px; }

/* ============================================================
   CATEGORY PILLS / FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
}
.filter-pill {
  padding: 7px 18px; border-radius: var(--radius-full);
  border: 1.5px solid var(--grey-200); background: var(--white);
  font-size: 0.82rem; font-weight: 600; color: var(--grey-600);
  cursor: pointer; transition: var(--transition);
}
.filter-pill:hover { border-color: var(--green-500); color: var(--green-600); }
.filter-pill.active { background: var(--green-600); color: var(--white); border-color: var(--green-600); }

/* ============================================================
   SECTION CARDS
   ============================================================ */
.section-card {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 24px;
}
.section-card-header {
  padding: 20px 24px; border-bottom: 1px solid var(--grey-100);
  display: flex; align-items: center; justify-content: space-between;
}
.section-card-header h3 { font-size: 1.05rem; font-weight: 700; }
.section-card-body { padding: 20px 24px; }

/* ============================================================
   CONTINUE LEARNING CARDS (horizontal)
   ============================================================ */
.continue-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px; margin-bottom: 28px;
}
.continue-card {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: 18px;
  display: flex; gap: 16px; cursor: pointer; transition: var(--transition);
}
.continue-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.continue-card-thumb {
  width: 110px; height: 72px; border-radius: var(--radius-sm);
  background-size: cover; background-position: center; flex-shrink: 0;
  position: relative;
}
.continue-card-thumb .play-overlay {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; background: rgba(0,0,0,.25); border-radius: var(--radius-sm);
  opacity: 0; transition: var(--transition);
}
.continue-card:hover .play-overlay { opacity: 1; }
.play-overlay svg { stroke: var(--white); }
.continue-card-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.continue-card-info h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.continue-card-info small { color: var(--grey-500); font-size: 0.78rem; display: block; margin-bottom: 8px; }

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.loading-spinner {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 80px 20px; color: var(--grey-400);
}
.spinner {
  width: 40px; height: 40px; border: 3px solid var(--grey-200);
  border-top-color: var(--green-500); border-radius: 50%;
  animation: spin 0.8s linear infinite; margin-bottom: 16px;
}
.loading-spinner p { font-size: 0.9rem; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   ADMIN USER DETAIL
   ============================================================ */
.admin-detail-header {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl); padding: 28px 32px;
  display: flex; align-items: center; gap: 20px; margin-bottom: 24px;
  position: relative;
}
.admin-detail-header .profile-avatar {
  width: 72px; height: 72px; font-size: 1.6rem;
}
.admin-detail-meta { flex: 1; }
.admin-detail-meta h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 2px; display: flex; align-items: center; gap: 10px; }
.admin-detail-meta p { color: var(--grey-500); font-size: 0.88rem; }
.admin-detail-stats {
  display: flex; gap: 18px; margin-top: 10px;
}
.admin-detail-stat {
  background: var(--grey-50); border-radius: var(--radius-md);
  padding: 6px 14px; font-size: 0.82rem; color: var(--grey-600); font-weight: 600;
}
.admin-detail-stat strong { color: var(--text-primary); margin-right: 4px; }
.admin-detail-actions {
  display: flex; gap: 8px; position: absolute; top: 24px; right: 28px;
}
.admin-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.admin-detail-section {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl); overflow: hidden;
}
.admin-detail-section-header {
  padding: 18px 24px; border-bottom: 1px solid var(--grey-100);
  font-size: 0.95rem; font-weight: 700; color: var(--text-primary);
  display: flex; align-items: center; gap: 8px;
}
.admin-detail-section-body { padding: 20px 24px; }

/* Edit form */
.admin-edit-row { margin-bottom: 16px; }
.admin-edit-row label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--grey-600); margin-bottom: 5px;
}
.admin-edit-row input,
.admin-edit-row select {
  width: 100%; padding: 9px 14px; border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md); font-size: 0.9rem;
  font-family: 'Poppins', sans-serif; transition: var(--transition);
}
.admin-edit-row input:focus,
.admin-edit-row select:focus {
  border-color: var(--green-500); outline: none;
  box-shadow: 0 0 0 3px rgba(92, 179, 56, 0.12);
}

/* Admin Notes */
.admin-note-input-row {
  display: flex; gap: 8px; margin-bottom: 16px;
}
.admin-note-input-row textarea {
  flex: 1; padding: 10px 14px; border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md); font-size: 0.88rem; resize: vertical;
  min-height: 60px; font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}
.admin-note-input-row textarea:focus {
  border-color: var(--green-500); outline: none;
  box-shadow: 0 0 0 3px rgba(92, 179, 56, 0.12);
}
.admin-note-item {
  padding: 12px 0; border-bottom: 1px solid var(--grey-100);
}
.admin-note-item:last-child { border-bottom: none; }
.admin-note-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px;
}
.admin-note-author {
  font-size: 0.8rem; font-weight: 600; color: var(--grey-600);
}
.admin-note-date { font-size: 0.75rem; color: var(--grey-400); }
.admin-note-content { font-size: 0.88rem; color: var(--text-primary); line-height: 1.5; }
.admin-note-delete {
  background: none; border: none; color: var(--grey-400);
  cursor: pointer; font-size: 1rem; padding: 2px 6px;
  border-radius: var(--radius-sm); transition: var(--transition);
}
.admin-note-delete:hover { color: #e53e3e; background: #fff5f5; }

/* Course progress items */
.user-course-progress-item {
  padding: 14px 0; border-bottom: 1px solid var(--grey-100);
}
.user-course-progress-item:last-child { border-bottom: none; }
.user-course-progress-title {
  font-size: 0.9rem; font-weight: 600; margin-bottom: 6px;
  display: flex; align-items: center; justify-content: space-between;
}
.user-course-progress-title span { font-size: 0.82rem; color: var(--green-600); font-weight: 700; }
.user-course-progress-bar {
  height: 6px; background: var(--grey-200); border-radius: var(--radius-full);
  overflow: hidden;
}
.user-course-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--green-500), var(--green-400));
  border-radius: var(--radius-full); transition: width 0.6s ease;
}
.user-course-progress-detail {
  font-size: 0.78rem; color: var(--grey-500); margin-top: 4px;
}

/* Certificates list in admin */
.admin-cert-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--grey-100);
}
.admin-cert-item:last-child { border-bottom: none; }
.admin-cert-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.admin-cert-icon svg { stroke: var(--white); }
.admin-cert-info { flex: 1; }
.admin-cert-info strong { font-size: 0.88rem; display: block; }
.admin-cert-info small { font-size: 0.78rem; color: var(--grey-500); }

/* Bookmark list in admin */
.admin-bookmark-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--grey-100);
}
.admin-bookmark-item:last-child { border-bottom: none; }
.admin-bookmark-icon {
  color: var(--yellow-500); flex-shrink: 0;
}
.admin-bookmark-info { flex: 1; }
.admin-bookmark-info strong { font-size: 0.88rem; display: block; }
.admin-bookmark-info small { font-size: 0.78rem; color: var(--grey-500); }

/* Badges */
.badge-deactivated {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700;
  background: #fff5f5; color: #e53e3e;
}
.badge-approved {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700;
  background: var(--green-50); color: var(--green-600);
}
.badge-pending {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700;
  background: var(--orange-50); color: var(--orange-500);
}

/* Extra button variants (used in admin/creator views) */
.btn-outline-danger {
  background: transparent; color: #e53e3e;
  border: 1.5px solid #e53e3e; padding: 8px 18px; border-radius: var(--radius-md);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); font-family: 'Poppins', sans-serif;
}
.btn-outline-danger:hover { background: #fff5f5; }
.btn-success {
  background: var(--green-500); color: var(--white);
  border: none; padding: 8px 18px; border-radius: var(--radius-md);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); font-family: 'Poppins', sans-serif;
}
.btn-success:hover { background: var(--green-600); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); box-shadow: var(--shadow-xl); }
  .sidebar-close { display: block; }
  .main-content { margin-left: 0; }
  .topbar-menu { display: block; }
  .player-layout { grid-template-columns: 1fr; }
  .player-sidebar { height: auto; max-height: 50vh; border-left: none; border-top: 1px solid var(--grey-200); }
}

@media (max-width: 768px) {
  .login-container { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .page-content { padding: 20px 16px; }
  .courses-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .continue-grid { grid-template-columns: 1fr; }
  .course-detail-info { padding: 20px; }
  .profile-header { flex-direction: column; text-align: center; }
  .profile-stats-row { justify-content: center; }
  .notif-dropdown { right: 10px; width: calc(100vw - 20px); }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-detail-header { flex-direction: column; text-align: center; padding: 20px; }
  .admin-detail-actions { position: static; justify-content: center; margin-top: 12px; }
  .admin-detail-stats { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .creator-course-card { flex-direction: column; }
  .creator-course-card img { width: 100%; height: 140px; }
}

/* ============================================================
   PUBLIC VIEW — Landing Page
   ============================================================ */

.public-view {
  min-height: 100vh;
  background: var(--white);
}

/* --- Header --- */
.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: var(--white);
  border-bottom: 1px solid var(--grey-100);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92);
}

.public-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
}

.public-nav {
  display: flex;
  gap: 32px;
}

.public-nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--grey-500);
  transition: color var(--transition);
}

.public-nav-link:hover {
  color: var(--dark);
}

.public-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.public-mobile-menu {
  display: none;
  background: none;
  border: none;
  color: var(--dark);
  padding: 4px;
}

.public-view .btn-sm { padding: 7px 16px; }
.public-view .btn-lg { padding: 14px 32px; }

.btn-outline-light {
  background: transparent;
  border: 2px solid var(--grey-300);
  color: var(--dark);
}
.btn-outline-light:hover {
  border-color: var(--dark);
  background: var(--grey-50);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--grey-50);
}

/* --- Hero --- */
.lp-hero {
  background: var(--grey-50);
  padding: 60px 40px 80px;
  overflow: hidden;
}

.lp-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow-50);
  color: #92400e;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.lp-hero-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--dark);
}

.lp-hero-accent {
  color: var(--green-500);
  font-style: italic;
}

.lp-hero-text p {
  font-size: 1.1rem;
  color: var(--grey-500);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.lp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Visual / Mockup */
.lp-hero-visual {
  position: relative;
}

.lp-hero-mockup {
  background: var(--dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.05);
}

.lp-mockup-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--dark-800);
}

.lp-mockup-dots {
  display: flex;
  gap: 6px;
}

.lp-mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dark-600);
}

.lp-mockup-dots span:first-child { background: #ff5f57; }
.lp-mockup-dots span:nth-child(2) { background: #febc2e; }
.lp-mockup-dots span:last-child { background: #28c840; }

.lp-mockup-url {
  font-size: 0.72rem;
  color: var(--grey-400);
  background: var(--dark-700);
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  flex: 1;
  text-align: center;
}

.lp-mockup-screen {
  aspect-ratio: 16/10;
  background: var(--grey-50);
  position: relative;
}

/* CSS-only mockup placeholder */
.lp-mockup-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
}

.lp-mockup-sidebar {
  width: 22%;
  background: var(--white);
  padding: 12px 8px;
  border-right: 1px solid var(--grey-200);
}

.lp-m-logo {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  padding: 4px 8px;
  margin-bottom: 12px;
}

.lp-m-logo span { color: var(--green-500); }

.lp-m-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-m-nav span {
  height: 8px;
  background: var(--grey-100);
  border-radius: 4px;
  width: 80%;
}

.lp-m-nav span:first-child {
  background: var(--green-100);
}

.lp-mockup-main {
  flex: 1;
  padding: 12px;
}

.lp-m-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.lp-m-search {
  height: 10px;
  width: 40%;
  background: var(--grey-100);
  border-radius: 5px;
}

.lp-m-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-200);
}

.lp-m-title {
  height: 12px;
  width: 35%;
  background: var(--grey-200);
  border-radius: 4px;
  margin-bottom: 12px;
}

.lp-m-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}

.lp-m-card {
  aspect-ratio: 1;
  background: var(--grey-100);
  border-radius: 6px;
}

.lp-m-card:first-child { background: var(--green-50); }
.lp-m-card:nth-child(2) { background: var(--blue-50); }

.lp-m-chart {
  height: 40%;
  background: linear-gradient(135deg, var(--grey-100) 0%, var(--green-50) 100%);
  border-radius: 6px;
}

/* Floating badges */
.lp-hero-floating {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  animation: floatBadge 3s ease-in-out infinite;
}

.lp-hero-floating strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
}

.lp-hero-floating small {
  display: block;
  color: var(--grey-500);
  font-size: 0.72rem;
}

.lp-float-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.lp-float-2 {
  bottom: 15%;
  left: -20px;
  animation-delay: 1.5s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --- Stats Bar --- */
.lp-stats {
  background: var(--dark);
  padding: 40px;
}

.lp-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.lp-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
}

.lp-stat-icon {
  width: 52px;
  height: 52px;
  background: rgba(126,217,87,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-400);
  flex-shrink: 0;
}

.lp-stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  display: block;
  line-height: 1.1;
}

.lp-stat-label {
  font-size: 0.82rem;
  color: var(--grey-400);
  display: block;
}

.lp-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--dark-700);
}

/* --- Section Utilities --- */
.lp-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.lp-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.lp-section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #3d7c1f;
  margin-bottom: 12px;
}

.lp-section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.lp-section-header p {
  font-size: 1rem;
  color: var(--grey-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Features --- */
.lp-features {
  padding: 80px 0;
  background: var(--white);
}

.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.lp-feature-card {
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.lp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-color: var(--green-300);
}

.lp-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.lp-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.lp-feature-card p {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.6;
}

/* --- Courses Section --- */
.lp-courses {
  padding: 80px 0;
  background: var(--grey-50);
}

.public-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Lock Badge on Course Cards */
.course-card-thumb { position: relative; }

.course-lock-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.course-lock-badge svg {
  width: 18px;
  height: 18px;
  color: var(--white);
  stroke: var(--white);
}

/* --- Curriculum / Learning Paths --- */
.lp-curriculum {
  padding: 80px 0;
  background: var(--white);
}

.lp-path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-path-card {
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.lp-path-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-md);
}

.lp-path-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--green-100);
  line-height: 1;
  margin-bottom: 16px;
}

.lp-path-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.lp-path-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-path-content li {
  font-size: 0.88rem;
  color: var(--grey-600);
  padding-left: 24px;
  position: relative;
}

.lp-path-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-100);
  border: 2px solid var(--green-400);
}

/* --- How It Works --- */
.lp-how {
  padding: 80px 0;
  background: var(--grey-50);
}

.lp-steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.lp-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  position: relative;
}

.lp-step-icon {
  width: 64px;
  height: 64px;
  background: rgba(126,217,87,0.18);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #166534;
  margin: 0 auto 16px;
}

.lp-step-num {
  width: 28px;
  height: 28px;
  background: var(--green-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  position: absolute;
  top: 0;
  right: calc(50% - 48px);
}

.lp-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.lp-step p {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.6;
}

.lp-step-arrow {
  display: flex;
  align-items: center;
  padding-top: 32px;
}

/* --- Testimonials --- */
.lp-testimonials {
  padding: 80px 0;
  background: var(--white);
}

.lp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-testimonial {
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.lp-testimonial-stars {
  color: #fbbc04;
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.lp-testimonial p {
  font-size: 0.9rem;
  color: var(--grey-600);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.lp-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--grey-200);
  padding-top: 16px;
}

.lp-testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.lp-testimonial-author strong {
  display: block;
  font-size: 0.85rem;
}

.lp-testimonial-author span {
  display: block;
  font-size: 0.72rem;
  color: var(--grey-400);
}

/* --- FAQ --- */
.lp-faq {
  padding: 80px 0;
  background: var(--grey-50);
}

.lp-faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-faq-item {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.lp-faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition);
}

.lp-faq-item summary:hover {
  background: var(--grey-50);
}

.lp-faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--grey-500);
  transition: transform var(--transition);
}

.lp-faq-item[open] summary::after {
  content: '–';
}

.lp-faq-item summary::-webkit-details-marker {
  display: none;
}

.lp-faq-item p {
  padding: 0 24px 18px;
  font-size: 0.9rem;
  color: var(--grey-500);
  line-height: 1.7;
}

/* --- Final CTA --- */
.lp-cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-700) 100%);
  padding: 80px 40px;
  text-align: center;
  color: var(--white);
}

.lp-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.lp-cta h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.lp-cta p {
  font-size: 1.05rem;
  color: var(--grey-300);
  margin-bottom: 32px;
  line-height: 1.7;
}

.lp-cta-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.lp-cta-sub {
  font-size: 0.8rem !important;
  color: var(--grey-400) !important;
  margin-bottom: 0 !important;
}

/* --- Footer --- */
.lp-footer {
  background: var(--dark);
  color: var(--grey-400);
}

.lp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 40px;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
}

.lp-footer-brand p {
  font-size: 0.85rem;
  margin-top: 12px;
  line-height: 1.6;
  color: var(--grey-400);
}

.lp-footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.lp-footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.lp-footer-link {
  display: block;
  font-size: 0.85rem;
  color: var(--grey-400);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.lp-footer-link:hover {
  color: var(--green-400);
}

.lp-footer-addr {
  font-size: 0.85rem;
  line-height: 1.6;
}

.lp-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.lp-footer-social a {
  width: 36px;
  height: 36px;
  background: var(--dark-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-400);
  transition: var(--transition);
}

.lp-footer-social a:hover {
  background: var(--green-600);
  color: var(--white);
}

.lp-footer-bottom {
  border-top: 1px solid var(--dark-700);
  padding: 20px 40px;
  text-align: center;
}

.lp-footer-bottom p {
  font-size: 0.78rem;
  color: var(--grey-500);
}

/* --- Announcement Bar --- */
.lp-announcement {
  background: var(--dark);
  color: var(--white);
  padding: 10px 20px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.lp-announcement-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.lp-announcement-inner svg { flex-shrink: 0; color: var(--green-400); }
.lp-announcement-inner strong { color: var(--green-400); }

/* --- Hero Trust Avatars --- */
.lp-hero-trust-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--grey-200);
}
.lp-hero-trust-avatars {
  display: flex;
}
.lp-trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
  margin-right: -10px;
}
.lp-trust-avatar:last-child { margin-right: 0; }
.lp-hero-trust-mini > span {
  font-size: 0.82rem;
  color: var(--dark-600);
  font-weight: 600;
}

/* --- Hero Mockup Image (legacy) --- */
.lp-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Hero Dashboard Mockup --- */
.lp-mockup-dashboard {
  display: flex;
  width: 100%;
  height: 100%;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.lp-md-sidebar {
  width: 160px;
  min-width: 160px;
  background: var(--white);
  border-right: 1px solid var(--grey-200);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
}

.lp-md-logo {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  padding: 2px 8px;
  margin-bottom: 16px;
}
.lp-md-logo span { color: var(--green-500); }

.lp-md-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lp-md-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--grey-400);
  cursor: default;
  transition: all 0.15s;
}
.lp-md-nav-item.active {
  background: var(--green-50);
  color: var(--green-700);
  font-weight: 600;
}
.lp-md-nav-item.active svg { stroke: var(--green-600); }

.lp-md-main {
  flex: 1;
  padding: 14px 16px;
  background: var(--grey-50);
  overflow: hidden;
}

.lp-md-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.lp-md-greeting {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dark);
}
.lp-md-avatar-small {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-300), var(--green-500));
}

.lp-md-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.lp-md-stat-card {
  background: var(--white);
  border-radius: 8px;
  padding: 10px 10px 8px;
  border: 1px solid var(--grey-100);
}
.lp-md-stat-card.accent {
  background: var(--dark);
  border-color: var(--dark);
}
.lp-md-stat-card.accent .lp-md-stat-label { color: var(--grey-400); }
.lp-md-stat-card.accent .lp-md-stat-value { color: var(--green-400); }
.lp-md-stat-label {
  display: block;
  font-size: 0.52rem;
  color: var(--grey-400);
  font-weight: 500;
  margin-bottom: 2px;
}
.lp-md-stat-value {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.lp-md-progress {
  height: 4px;
  background: var(--grey-100);
  border-radius: 2px;
  overflow: hidden;
}
.lp-md-progress-bar {
  height: 100%;
  background: var(--green-500);
  border-radius: 2px;
  transition: width 1s ease;
}

.lp-md-section-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-md-courses {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.lp-md-course {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.lp-md-course.active {
  border-color: var(--green-400);
  box-shadow: 0 0 0 2px var(--green-100);
}
.lp-md-course.locked { opacity: 0.45; }
.lp-md-course-icon { font-size: 1rem; }
.lp-md-course-name {
  font-size: 0.52rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
}
.lp-md-course-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-md-course-badge.done {
  background: var(--green-500);
  color: white;
}
.lp-md-course-progress {
  height: 3px;
  background: var(--grey-100);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 2px;
}
.lp-md-course-progress div {
  height: 100%;
  background: var(--green-500);
  border-radius: 2px;
}

/* Responsive mockup */
@media (max-width: 768px) {
  .lp-md-sidebar { display: none; }
  .lp-md-stats-row { grid-template-columns: 1fr 1fr; }
  .lp-md-stats-row .lp-md-stat-card:last-child { display: none; }
  .lp-md-courses { grid-template-columns: 1fr 1fr; }
  .lp-md-courses .lp-md-course:nth-child(n+5) { display: none; }
}

/* --- Module Section --- */
.lp-module {
  padding: 80px 0;
  background: var(--white);
}
.lp-module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-module-card {
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}
.lp-module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-color: var(--green-400);
}
.lp-module-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--green-500);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: 12px;
}
.lp-module-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.lp-module-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark);
}
.lp-module-card p {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.6;
}
.lp-module-cta {
  text-align: center;
  margin-top: 40px;
}
.lp-module-cta-sub {
  font-size: 0.82rem;
  color: var(--grey-500);
  margin-top: 12px;
}

/* --- Comparison Section --- */
.lp-compare {
  padding: 80px 0;
  background: var(--dark);
}
.lp-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.lp-compare-col {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.lp-compare-bad {
  background: rgba(239,68,68,0.08);
  border: 2px solid rgba(239,68,68,0.25);
}
.lp-compare-good {
  background: rgba(126,217,87,0.08);
  border: 2px solid rgba(126,217,87,0.3);
}
.lp-compare-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.lp-compare-bad .lp-compare-col-header {
  color: #f87171;
  border-bottom-color: rgba(239,68,68,0.2);
}
.lp-compare-good .lp-compare-col-header {
  color: var(--green-400);
  border-bottom-color: rgba(126,217,87,0.2);
}
.lp-compare-col-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
}
.lp-compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-compare-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.lp-compare-col ul li svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.lp-compare-bad ul li svg {
  color: #f87171;
}
.lp-compare-good ul li svg {
  color: var(--green-400);
}
.lp-compare-col ul li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lp-compare-col ul li strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
}
.lp-compare-col ul li span {
  font-size: 0.82rem;
  color: var(--grey-400);
  line-height: 1.5;
}

/* --- Finanz-Tunnel Section --- */
.lp-tunnel {
  padding: 80px 0;
  background: var(--white);
}
.lp-tunnel .lp-section-header em {
  color: var(--green-500);
  font-style: normal;
}

/* Tunnel Quiz Container */
.tunnel-quiz {
  max-width: 680px;
  margin: 0 auto;
}

/* Progress Bar */
.tunnel-progress {
  margin-bottom: 40px;
}
.tunnel-progress-bar {
  height: 6px;
  background: var(--grey-200);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}
.tunnel-progress-fill {
  height: 100%;
  background: var(--green-500);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.tunnel-progress-steps {
  display: flex;
  justify-content: space-between;
}
.tunnel-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grey-100);
  color: var(--grey-400);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.tunnel-dot.current {
  background: var(--green-500);
  color: white;
  box-shadow: 0 0 0 4px rgba(126,217,87,0.25);
}
.tunnel-dot.done {
  background: var(--green-500);
  color: white;
}

/* Tunnel Steps */
.tunnel-step {
  display: none;
  animation: tunnelFadeIn 0.4s ease;
}
.tunnel-step.active {
  display: block;
}
@keyframes tunnelFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.tunnel-question {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
  text-align: center;
}
.tunnel-subtitle {
  font-size: 0.9rem;
  color: var(--grey-500);
  text-align: center;
  margin-bottom: 28px;
}

/* Tunnel Options */
.tunnel-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tunnel-options-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tunnel-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tunnel-options-grid .tunnel-option:nth-child(4),
.tunnel-options-grid .tunnel-option:nth-child(5) {
  grid-column: span 1;
}

.tunnel-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--dark);
  position: relative;
  overflow: hidden;
}
.tunnel-option::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(126,217,87,0.05), rgba(126,217,87,0.15));
  opacity: 0;
  transition: opacity 0.25s;
}
.tunnel-option:hover {
  border-color: var(--green-400);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(126,217,87,0.15);
}
.tunnel-option:hover::before {
  opacity: 1;
}
.tunnel-option.selected {
  border-color: var(--green-500);
  background: rgba(126,217,87,0.08);
  box-shadow: 0 0 0 3px rgba(126,217,87,0.2);
}

/* 2-col option cards (gender/goal) */
.tunnel-options-2 .tunnel-option {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  gap: 12px;
}
/* Grid option cards (age) */
.tunnel-options-grid .tunnel-option {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
  gap: 8px;
}

.tunnel-option-emoji {
  font-size: 2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.tunnel-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
}
.tunnel-option-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  position: relative;
  z-index: 1;
}
.tunnel-option-desc {
  font-size: 0.8rem;
  color: var(--grey-500);
  font-weight: 400;
  position: relative;
  z-index: 1;
}

/* Tunnel Result */
.tunnel-result {
  max-width: 800px;
  margin: 0 auto;
  animation: tunnelFadeIn 0.5s ease;
}
.tunnel-result-hero {
  text-align: center;
  margin-bottom: 20px;
}
.tunnel-result-hero .tunnel-result-tag {
  display: inline-block;
  background: rgba(126,217,87,0.15);
  color: var(--green-600);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.tunnel-result-amount {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--green-600);
  line-height: 1.1;
  margin-bottom: 8px;
}
.tunnel-result-subtitle {
  font-size: 1rem;
  color: var(--grey-500);
}

/* Breakdown Bars */
.tunnel-breakdown {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  background: var(--grey-50);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.tunnel-breakdown-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.tunnel-breakdown-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tunnel-breakdown-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}
.tunnel-breakdown-info {
  flex: 1;
  min-width: 0;
}
.tunnel-breakdown-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}
.tunnel-breakdown-bar {
  height: 10px;
  background: var(--grey-200);
  border-radius: 5px;
  overflow: hidden;
}
.tunnel-breakdown-bar-fill {
  height: 100%;
  background: var(--green-500);
  border-radius: 5px;
  transition: width 1s ease;
}
.tunnel-breakdown-value {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--green-600);
  white-space: nowrap;
  min-width: 100px;
  text-align: right;
}

/* Recommendation Card */
.tunnel-recommendation {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 36px;
  color: var(--white);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.tunnel-recommendation::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(126,217,87,0.15), transparent 70%);
  pointer-events: none;
}
.tunnel-rec-badge {
  display: inline-block;
  background: var(--green-500);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tunnel-rec-plan {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.tunnel-rec-reason {
  font-size: 0.92rem;
  color: var(--grey-300);
  line-height: 1.6;
  margin-bottom: 24px;
}
.tunnel-rec-roi {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.tunnel-rec-roi-item {
  flex: 1;
  min-width: 120px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}
.tunnel-rec-roi-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-400);
  display: block;
}
.tunnel-rec-roi-label {
  font-size: 0.78rem;
  color: var(--grey-400);
  margin-top: 4px;
  display: block;
}
.tunnel-rec-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.tunnel-rec-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}
.tunnel-rec-cta-primary {
  background: var(--green-500);
  color: var(--white);
}
.tunnel-rec-cta-primary:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(126,217,87,0.3);
}
.tunnel-rec-cta-secondary {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 2px solid rgba(255,255,255,0.25);
}
.tunnel-rec-cta-secondary:hover {
  border-color: var(--green-400);
  color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Personalized Power-Moves */
.tunnel-examples {
  background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 32px;
  border: 1px solid rgba(126,217,87,0.15);
}
.tunnel-examples-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
  text-align: center;
}
.tunnel-examples-title span.power-label {
  display: inline-block;
  background: var(--green-500);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.tunnel-examples-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.tunnel-example-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.tunnel-example-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--green-300));
  opacity: 0;
  transition: var(--transition);
}
.tunnel-example-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: rgba(126,217,87,0.2);
}
.tunnel-example-item:hover::before {
  opacity: 1;
}
.tunnel-example-item .ex-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border-radius: 12px;
}
.tunnel-example-item .ex-text {
  font-size: 0.88rem;
  color: var(--grey-600);
  line-height: 1.6;
}
.tunnel-example-item .ex-text strong {
  display: block;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.tunnel-example-item .ex-amount {
  display: inline-block;
  background: linear-gradient(135deg, var(--green-500), #4ade80);
  color: white;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 50px;
  margin-top: 6px;
}

/* Tunnel Actions */
.tunnel-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.tunnel-actions button {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: 2px solid var(--grey-200);
  background: var(--white);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}
.tunnel-actions button:hover {
  border-color: var(--green-400);
  color: var(--green-600);
}

/* Tunnel Fun Comparisons */
.tunnel-fun {
  margin-bottom: 16px;
}
.tunnel-fun-title {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.tunnel-fun-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.tunnel-fun-card {
  text-align: center;
  padding: 16px 8px;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.tunnel-fun-card:hover {
  background: rgba(126,217,87,0.08);
  border-color: rgba(126,217,87,0.3);
  transform: translateY(-3px);
}
.tunnel-fun-emoji {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 6px;
}
.tunnel-fun-card strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--green-600);
  line-height: 1.2;
}
.tunnel-fun-card span:last-child {
  display: block;
  font-size: 0.72rem;
  color: var(--grey-500);
  margin-top: 2px;
}

/* Compact Breakdown Chips */
.tunnel-breakdown-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.tbc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--grey-600);
}
.tbc-chip strong {
  color: var(--dark);
  font-weight: 700;
}
.tbc-icon {
  font-size: 1rem;
}

/* Fun grid — exactly 3 columns */
.tunnel-fun-grid-3 {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* Tunnel Packages Section — uses .pkg-selection class, rendered outside lp-section-inner */
.tunnel-pkg-selection {
  padding-top: 0;
  padding-left: 24px;
  padding-right: 24px;
}
.tunnel-pkg-grid {
  text-align: left;
}
.tunnel-pkg-consult {
  display: block;
  text-align: center;
  color: var(--green-600);
  font-size: 0.82rem;
  margin-top: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tunnel-pkg-consult:hover {
  color: var(--green-700);
}

/* Tunnel Footnote */
.tunnel-footnote {
  text-align: center;
  font-size: 0.75rem;
  color: var(--grey-400);
  margin-top: 24px;
  font-style: italic;
}

/* --- Goal CTA Section --- */
.lp-goal-cta {
  padding: 60px 0;
  background: var(--grey-50);
}
.lp-goal-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(135deg, var(--dark) 0%, #1e2a40 100%);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  position: relative;
  overflow: hidden;
}
.lp-goal-cta-inner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(126,217,87,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.lp-goal-cta-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.lp-goal-cta-text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 520px;
}
.lp-goal-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-500);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}
.lp-goal-cta-btn:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(126,217,87,0.35);
}

/* --- Was du lernst / Vorteile pro Bereich --- */
.lp-learn {
  padding: 80px 0;
  background: var(--dark);
}
.lp-learn .lp-section-header h2 {
  color: var(--white);
}
.lp-learn .lp-section-header p {
  color: rgba(255,255,255,0.75);
}
.lp-learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-learn-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.08);
}
.lp-learn-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(126,217,87,0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.12);
}
.lp-learn-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.lp-learn-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.lp-learn-card > p {
  font-size: 0.88rem;
  color: var(--grey-300);
  line-height: 1.6;
  margin-bottom: 16px;
}
.lp-learn-card strong {
  color: var(--green-400);
}
.lp-learn-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 14px;
}
.lp-learn-card ul li {
  font-size: 0.82rem;
  color: var(--grey-400);
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}
.lp-learn-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-weight: 700;
  font-size: 0.78rem;
}

/* --- Video Section --- */
.lp-video-section {
  padding: 40px 0;
  background: var(--grey-50);
}
.lp-video-container {
  max-width: 800px;
  margin: 0 auto;
}
.lp-video-placeholder {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.lp-video-placeholder .lp-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 72px;
  height: 72px;
  background: rgba(126,217,87,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-video-placeholder .lp-video-play svg {
  margin-left: 4px;
}
.lp-video-placeholder span {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--grey-400);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
.lp-video-placeholder iframe,
.lp-video-placeholder video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}

/* --- Advantages Section --- */
.lp-advantages {
  padding: 80px 0;
  background: var(--grey-50);
}
.lp-advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.lp-advantage-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.lp-advantage-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: var(--green-300);
}
.lp-advantage-icon {
  width: 48px;
  height: 48px;
  background: rgba(126,217,87,0.18);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #166534;
  flex-shrink: 0;
}
.lp-advantage-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.lp-advantage-card p {
  font-size: 0.84rem;
  color: #4b5563;
  line-height: 1.5;
}

/* --- Team Section --- */
.lp-team {
  padding: 80px 0;
  background: var(--white);
}
.lp-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-team-card {
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.lp-team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.lp-team-photo {
  height: 340px;
  overflow: hidden;
  background: var(--grey-100);
}
.lp-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.4s ease;
}
.lp-team-card:hover .lp-team-photo img {
  transform: scale(1.05);
}
.lp-team-info {
  padding: 20px;
}
.lp-team-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--dark);
}
.lp-team-role {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-600);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.lp-team-desc {
  font-size: 0.85rem;
  color: var(--grey-500);
  line-height: 1.5;
  margin-bottom: 12px;
}
.lp-team-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.lp-team-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-200);
}
.lp-team-exp {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--grey-400);
}
/* --- Swissborg-Style Photo Effect --- */
.lp-team-photo {
  position: relative;
}
.lp-team-photo img {
  filter: grayscale(100%) contrast(1.05) brightness(1.05);
}
.lp-team-photo-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(126, 217, 87, 0.25) 0%, rgba(40, 47, 71, 0.5) 100%);
  mix-blend-mode: multiply;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.lp-team-card:hover .lp-team-photo img {
  filter: grayscale(0%) contrast(1) brightness(1);
}
.lp-team-card:hover .lp-team-photo-overlay {
  opacity: 0;
}
.lp-team-card {
  cursor: pointer;
}
.lp-team-more {
  display: block;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-600);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s ease;
}
.lp-team-card:hover .lp-team-more {
  opacity: 1;
  transform: translateY(0);
}

/* --- Team Detail Modal --- */
.team-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.team-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.team-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border: none;
  background: var(--grey-100);
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--dark);
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-modal-close:hover {
  background: var(--grey-200);
  transform: rotate(90deg);
}
.team-modal-content {
  display: grid;
  grid-template-columns: 280px 1fr;
}
.team-modal-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  min-height: 400px;
}
.team-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.team-modal-body {
  padding: 40px 36px;
}
.team-modal-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}
.team-modal-role {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.team-modal-quote {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--dark-600);
  border-left: 3px solid var(--green-500);
  padding-left: 16px;
  margin: 16px 0 24px;
  line-height: 1.6;
}
.team-modal-section {
  margin-bottom: 20px;
}
.team-modal-section h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--grey-400);
  margin-bottom: 8px;
}
.team-modal-section p {
  font-size: 0.88rem;
  color: var(--dark-600);
  line-height: 1.7;
}
.team-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.team-modal-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-200);
}
.team-modal-cta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--grey-100);
}
.team-modal-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* --- Booking Section --- */
.lp-booking {
  background: var(--dark);
  padding: 80px 40px;
}
.lp-booking-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.lp-booking-split {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  text-align: left;
}
.lp-booking-inner h2,
.lp-booking-split h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.lp-booking-inner > p,
.lp-booking-text > p {
  font-size: 1rem;
  color: var(--grey-400);
  line-height: 1.7;
  margin-bottom: 32px;
}
.lp-booking-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.lp-booking-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--grey-300);
  font-weight: 500;
}
.lp-booking-list li svg {
  flex-shrink: 0;
}
.lp-booking-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.lp-booking-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lp-booking-calendly {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.lp-booking-calendly .calendly-inline-widget {
  min-height: 660px;
}
.lp-booking-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lp-booking-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lp-booking-note {
  font-size: 0.78rem;
  color: var(--grey-500);
  font-weight: 500;
}

/* --- Footer Legal --- */
.lp-footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.lp-footer-legal {
  display: flex;
  gap: 20px;
}
.lp-footer-legal a {
  font-size: 0.78rem;
  color: var(--grey-500);
  transition: color var(--transition);
}
.lp-footer-legal a:hover {
  color: var(--green-400);
}

/* ============================================================
   LANDING PAGE — MOBILE RESPONSIVE (complete fix)
   ============================================================ */

@media (max-width: 1024px) {
  .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-module-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-team-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Announcement */
  .lp-announcement { font-size: 0.75rem; padding: 8px 16px; }
  .lp-announcement-inner svg { display: none; }

  /* Header */
  .public-header { padding: 12px 20px; }
  .public-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 20px;
    gap: 12px;
    border-bottom: 1px solid var(--grey-200);
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  .public-header.nav-open .public-nav { display: flex; }
  .public-header-actions { display: none; }
  .public-header.nav-open .public-header-actions {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 20px 16px;
    background: var(--white);
    margin-top: -4px;
    z-index: 99;
  }
  .public-mobile-menu { display: block; }

  /* Hero */
  .lp-hero { padding: 40px 20px 60px; }
  .lp-hero-content { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero-text h1 { font-size: 2rem; }
  .lp-hero-text p { font-size: 1rem; }
  .lp-hero-actions { flex-direction: column; }
  .lp-hero-actions .btn { width: 100%; justify-content: center; }
  .lp-hero-trust-mini { flex-direction: column; align-items: flex-start; gap: 8px; }
  .lp-hero-floating { display: none; }

  /* Stats */
  .lp-stats { padding: 24px 20px; }
  .lp-stats-inner {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
  }
  .lp-stat-divider { display: none; }
  .lp-stat { min-width: 120px; }
  .lp-stat-icon { width: 42px; height: 42px; }
  .lp-stat-number { font-size: 1.2rem; }

  /* Features */
  .lp-features { padding: 60px 0; }
  .lp-features-grid { grid-template-columns: 1fr; }
  .lp-section-header h2 { font-size: 1.5rem; }

  /* Courses */
  .lp-courses { padding: 60px 0; }
  .public-courses-grid { grid-template-columns: 1fr; }

  /* Module */
  .lp-module { padding: 60px 0; }
  .lp-module-grid { grid-template-columns: 1fr; }

  /* Comparison */
  .lp-compare { padding: 60px 0; }
  .lp-compare-grid { grid-template-columns: 1fr; }
  .lp-compare-col { padding: 24px 20px; }

  /* Finanz-Tunnel */
  .lp-tunnel { padding: 60px 0; }
  .tunnel-options-2 { grid-template-columns: 1fr; }
  .tunnel-options-grid { grid-template-columns: repeat(2, 1fr); }
  .tunnel-option { padding: 14px 16px; }
  .tunnel-options-2 .tunnel-option { padding: 20px 16px; }
  .tunnel-result-amount { font-size: 2.4rem; }
  .tunnel-breakdown { padding: 20px; }
  .tunnel-breakdown-item { flex-wrap: wrap; }
  .tunnel-breakdown-value { min-width: auto; text-align: left; }
  .tunnel-recommendation { padding: 24px; }
  .tunnel-rec-roi { flex-direction: column; gap: 12px; }
  .tunnel-rec-plan { font-size: 1.3rem; }
  .tunnel-actions { flex-direction: column; align-items: center; }
  .tunnel-fun-grid { grid-template-columns: repeat(3, 1fr); }
  .tunnel-fun-grid-3 { grid-template-columns: repeat(3, 1fr) !important; }
  .tunnel-breakdown-compact { gap: 6px; }
  .tbc-chip { padding: 6px 12px; font-size: 0.75rem; }

  /* Goal CTA */
  .lp-goal-cta-inner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .lp-goal-cta-text p { max-width: 100%; }

  /* Was du lernst */
  .lp-learn { padding: 60px 0; }
  .lp-learn-grid { grid-template-columns: 1fr; }

  /* Video */
  .lp-video-section { padding: 30px 0; }

  /* Advantages */
  .lp-advantages { padding: 60px 0; }
  .lp-advantages-grid { grid-template-columns: 1fr; }

  /* Team */
  .lp-team { padding: 60px 0; }
  .lp-team-grid { grid-template-columns: 1fr; }
  .lp-team-photo { height: 380px; }
  .lp-team-more { opacity: 1; transform: none; }

  /* Team Modal */
  .team-modal-content { grid-template-columns: 1fr; }
  .team-modal-photo { min-height: 260px; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .team-modal-body { padding: 24px 20px 32px; }
  .team-modal { max-width: 100%; margin: 0 12px; border-radius: var(--radius-lg); }
  .team-modal-overlay { padding: 12px; }

  /* Booking */
  .lp-booking { padding: 60px 20px; }
  .lp-booking-split { grid-template-columns: 1fr; }
  .lp-booking-inner h2, .lp-booking-split h2 { font-size: 1.5rem; }
  .lp-booking-calendly .calendly-inline-widget { min-height: 720px; }

  /* How it works */
  .lp-how { padding: 60px 0; }
  .lp-steps-grid { flex-direction: column; align-items: center; }
  .lp-step { max-width: 100%; }
  .lp-step-arrow { transform: rotate(90deg); padding: 0; }

  /* Testimonials */
  .lp-testimonials { padding: 60px 0; }
  .lp-testimonials-grid { grid-template-columns: 1fr; }

  /* FAQ */
  .lp-faq { padding: 60px 0; }

  /* Tunnel CTA row */
  .tunnel-rec-cta-row { flex-direction: column; width: 100%; }
  .tunnel-rec-cta { width: 100%; justify-content: center; }

  /* Floating button — smaller on mobile */
  .floating-beratung-btn { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 0.82rem; }
  .floating-beratung-btn span { display: none; }

  /* CTA */
  .lp-cta { padding: 60px 20px; }
  .lp-cta h2 { font-size: 1.5rem; }
  .lp-cta-actions { flex-direction: column; gap: 12px; }
  .lp-cta-actions .btn { width: 100%; justify-content: center; }

  /* Footer */
  .lp-footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .lp-footer-links { grid-template-columns: 1fr 1fr; gap: 24px; }
  .lp-footer-bottom { padding: 16px 20px; }
  .lp-footer-bottom-inner { flex-direction: column; text-align: center; }
  .lp-footer-legal { justify-content: center; }

  /* Section inner padding */
  .lp-section-inner { padding: 0 20px; }

  /* Auth modal */
  .auth-modal { padding: 28px 20px; max-width: 100%; margin: 0 10px; }
}

@media (max-width: 480px) {
  .lp-hero-text h1 { font-size: 1.7rem; }
  .lp-stats-inner { gap: 16px; }
  .lp-stat { flex-direction: column; text-align: center; gap: 8px; }
  .lp-team-photo { height: 320px; }
  .lp-footer-links { grid-template-columns: 1fr; }
}

/* ============================================================
   AUTH MODAL — Login/Register overlay
   ============================================================ */

.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.auth-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn 0.25s ease-out;
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--grey-400);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.auth-modal-close:hover {
  background: var(--grey-100);
  color: var(--dark);
}

.auth-modal h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.auth-modal-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  background: var(--grey-100);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--grey-500);
  border-radius: var(--radius-xs);
  transition: var(--transition);
  cursor: pointer;
}

.auth-tab.active {
  background: var(--white);
  color: var(--dark);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   SALES / PRICING PAGE (v2 — Quiz + 3 Pakete + Beratung)
   ============================================================ */

.sales-page {
  min-height: 100vh;
  background: var(--grey-50);
}

.sales-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 0 0;
}

/* --- Quiz Section --- */
.sales-quiz {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.sales-quiz-step {
  display: none;
  animation: fadeIn 0.35s ease;
}
.sales-quiz-step.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.sales-quiz-progress {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 32px;
}
.sales-quiz-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--grey-200);
  transition: background 0.3s;
}
.sales-quiz-dot.done {
  background: var(--green-500);
}
.sales-quiz-dot.current {
  background: var(--green-400);
  box-shadow: 0 0 0 3px rgba(126,217,87,0.25);
}
.quiz-question {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}
.quiz-subtitle {
  color: var(--grey-500);
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dark);
}
.quiz-option:hover {
  border-color: var(--green-400);
  background: var(--green-50);
}
.quiz-option .quiz-emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.quiz-option-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.quiz-option-text span {
  font-size: 0.82rem;
  color: var(--grey-500);
  font-weight: 400;
}

/* --- Sales Hero (above pricing) --- */
.sales-hero {
  text-align: center;
  margin-bottom: 16px;
}
.sales-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}
.sales-hero h1 em {
  font-style: normal;
  color: var(--green-500);
}
.sales-hero p {
  color: var(--grey-500);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}
.sales-recommendation {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  color: var(--green-700);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 16px auto 32px;
}

/* --- Billing Toggle --- */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.billing-toggle-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-500);
  cursor: pointer;
  transition: color 0.2s;
}
.billing-toggle-label.active {
  color: var(--dark);
  font-weight: 700;
}
.billing-toggle-switch {
  width: 48px; height: 26px;
  background: var(--grey-200);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.billing-toggle-switch.yearly {
  background: var(--green-500);
}
.billing-toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.billing-toggle-switch.yearly::after {
  transform: translateX(22px);
}
.billing-toggle-save {
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* --- Pricing Grid (3 cols) --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Highlighted (middle) card */
.pricing-card.highlighted {
  border-color: var(--green-500);
  box-shadow: 0 0 0 1px var(--green-500), var(--shadow-xl);
  transform: scale(1.04);
  z-index: 2;
}
.pricing-card.highlighted:hover {
  transform: scale(1.04) translateY(-3px);
}
.pricing-card.highlighted::before {
  content: 'Empfohlen';
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--green-500);
  color: var(--white);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.pricing-card-subtitle {
  font-size: 0.8rem;
  color: var(--grey-500);
  margin-bottom: 16px;
  min-height: 18px;
}

.pricing-card-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2px;
}
.pricing-card-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey-500);
}
.pricing-card-price-old {
  font-size: 0.85rem;
  color: var(--grey-400);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.pricing-card-savings {
  color: var(--green-600);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
  min-height: 20px;
}

.pricing-card-trial {
  color: var(--green-500);
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 12px;
  padding: 4px 10px;
  background: var(--green-50);
  border-radius: 12px;
  display: inline-block;
}

/* Feature list */
.pricing-card-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  flex: 1;
}
.pricing-card-features li {
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--grey-600);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.pricing-card-features li svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--green-500);
  stroke: var(--green-500);
  margin-top: 1px;
}
.pricing-card-features li.disabled {
  color: var(--grey-400);
  text-decoration: line-through;
}
.pricing-card-features li.disabled svg {
  color: var(--grey-300);
  stroke: var(--grey-300);
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Booking link under CTA */
.pricing-card-consult {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--grey-500);
}
.pricing-card-consult a {
  color: var(--green-600);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.pricing-card-consult a:hover {
  color: var(--green-700);
}

/* --- Social proof bar --- */
.sales-social-proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 24px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  max-width: 780px;
  margin: 0 auto 40px;
  flex-wrap: wrap;
}
.sales-social-proof-bar .sp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--grey-600);
  font-weight: 500;
}
.sales-social-proof-bar .sp-divider {
  width: 1px; height: 24px;
  background: var(--grey-200);
}

/* --- Comparison Table --- */
.comparison-table {
  max-width: 900px;
  margin: 48px auto;
  border-collapse: collapse;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
}
.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--grey-100);
  text-align: center;
}
.comparison-table th {
  background: var(--grey-50);
  font-weight: 700;
  color: var(--dark);
}
.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--grey-600);
}
.comparison-table th.highlight {
  background: var(--green-50);
  color: var(--green-700);
}
.comparison-table td.highlight {
  background: var(--green-50, #f3fce9);
}
.ct-check {
  color: var(--green-500);
  font-weight: 700;
  font-size: 1.1rem;
}
.ct-cross {
  color: var(--grey-300);
  font-size: 1.1rem;
}

/* --- Beratung / Consultation CTA --- */
.sales-consult-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 780px;
  margin: 40px auto;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-700) 100%);
  border-radius: var(--radius-lg);
  color: white;
}
.sales-consult-banner .consult-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sales-consult-banner .consult-text {
  flex: 1;
}
.sales-consult-banner .consult-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.sales-consult-banner .consult-text p {
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 1.4;
}
.sales-consult-banner .btn-white-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.sales-consult-banner .btn-white-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* --- Calendly Modal --- */
.calendly-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.calendly-modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 32px;
  position: relative;
  text-align: center;
}
.calendly-modal-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.calendly-modal-content p {
  color: var(--grey-500);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.calendly-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--grey-400);
  cursor: pointer;
}
.consult-contact-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.consult-contact-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--dark);
}
.consult-contact-btn:hover {
  border-color: var(--green-400);
  background: var(--green-50);
}
.consult-contact-btn .cc-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.consult-contact-btn .cc-text {
  text-align: left;
}
.consult-contact-btn .cc-text strong {
  display: block;
  font-size: 0.92rem;
}
.consult-contact-btn .cc-text span {
  font-size: 0.8rem;
  color: var(--grey-500);
}

/* --- Floating Beratung Button --- */
.floating-beratung-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-500);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(126,217,87,0.35), 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
}
.floating-beratung-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.floating-beratung-btn:hover {
  background: var(--green-600);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 32px rgba(126,217,87,0.45), 0 4px 12px rgba(0,0,0,0.2);
}
.floating-beratung-btn svg {
  flex-shrink: 0;
}

/* --- Outline White Button (for Final CTA) --- */
.btn-outline-white {
  background: transparent !important;
  color: var(--white) !important;
  border: 2px solid rgba(255,255,255,0.4) !important;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.7) !important;
}

/* Override Calendly popup z-index to be above floating button */
.calendly-overlay {
  z-index: 99999 !important;
}

/* --- Sales Guarantee --- */
.sales-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 560px;
  margin: 32px auto;
  padding: 20px 24px;
  background: var(--green-50, #f0fdf4);
  border: 1px solid var(--green-200, #bbf7d0);
  border-radius: var(--radius-md);
}
.sales-guarantee .guarantee-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.sales-guarantee strong {
  color: var(--green-600);
  font-size: 0.95rem;
}
.sales-guarantee p {
  color: var(--grey-600);
  font-size: 0.85rem;
  margin-top: 4px;
  line-height: 1.5;
}

/* --- Sales FAQ --- */
.sales-faq {
  max-width: 600px;
  margin: 32px auto;
}
.sales-faq h3 {
  text-align: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
  color: var(--dark);
}
.faq-item {
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-item summary {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--grey-400);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-item p {
  padding: 0 18px 14px;
  font-size: 0.85rem;
  color: var(--grey-600);
  line-height: 1.6;
}

/* --- Sales Final CTA --- */
.sales-final-cta {
  text-align: center;
  padding: 40px 24px;
  max-width: 500px;
  margin: 0 auto;
}
.sales-final-cta h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.sales-final-cta > p:first-of-type {
  color: var(--grey-500);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* --- Sales back link --- */
.sales-back-link {
  text-align: center;
  margin-top: 20px;
  padding-bottom: 40px;
}
.sales-back-link a {
  color: var(--grey-500);
  font-size: 0.85rem;
  text-decoration: underline;
}

/* Auth Welcome Avatar */
.auth-welcome-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grey-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px dashed var(--grey-300);
  transition: border-color 0.2s;
  background-size: cover;
  background-position: center;
}
.auth-welcome-avatar:hover {
  border-color: var(--green-500);
}
.auth-avatar-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 0.7rem;
  padding: 4px 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.auth-welcome-avatar:hover .auth-avatar-overlay {
  opacity: 1;
}

/* Beta Access Gate */
.beta-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f1218 0%, #1a1f2e 50%, #0f1218 100%);
  padding: 20px;
}
.beta-gate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(126, 217, 87, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(126, 217, 87, 0.05) 0%, transparent 50%);
  pointer-events: none;
}
.beta-gate-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}
.beta-gate-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.beta-gate-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(126, 217, 87, 0.12);
  color: var(--green-400);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 20px;
  border: 1px solid rgba(126, 217, 87, 0.2);
  margin-bottom: 20px;
}
.beta-gate-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.beta-gate-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 28px;
}
.beta-gate-input-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.beta-gate-input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.beta-gate-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.beta-gate-input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(126, 217, 87, 0.15);
}
.beta-gate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  background: var(--green-500);
  border: none;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.beta-gate-btn:hover {
  background: var(--green-600);
  transform: scale(1.05);
}
.beta-gate-error {
  color: #ef4444;
  font-size: 0.82rem;
  margin-top: 6px;
  text-align: left;
}
.beta-gate-footer {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
  margin-top: 24px;
  line-height: 1.5;
}
.beta-gate-footer strong {
  color: rgba(255, 255, 255, 0.5);
}

/* Shake animation for wrong code */
@keyframes betaShake {
  0%, 100% { transform: translateX(0); }
  10%, 50%, 90% { transform: translateX(-6px); }
  30%, 70% { transform: translateX(6px); }
}
.beta-shake {
  animation: betaShake 0.5s ease;
}

@media (max-width: 480px) {
  .beta-gate-card {
    padding: 32px 24px;
  }
  .beta-gate-logo {
    font-size: 1.6rem;
  }
}

/* Email Verification Screen */
.email-verify-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green-50);
  margin-bottom: 4px;
  animation: emailPulse 2s ease-in-out infinite;
}
@keyframes emailPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.2); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
}
.email-verify-tips {
  border: 1px solid var(--grey-100);
}
.email-verify-tips ul li {
  margin-bottom: 2px;
}

/* Sidebar Premium Link */
.sidebar-premium-link {
  background: var(--green-50) !important;
  color: var(--green-700) !important;
  border-radius: var(--radius-sm) !important;
  margin-top: 6px !important;
  font-weight: 600 !important;
  border: 1px solid var(--green-200) !important;
}
.sidebar-premium-link:hover {
  background: var(--green-100) !important;
}
.sidebar-premium-link svg {
  stroke: var(--green-600) !important;
}

/* Pricing recommended badge */
.pricing-recommended-badge {
  background: var(--green-500);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.pricing-card.highlighted .pricing-recommended-badge + .pricing-card-name {
  margin-top: 4px;
}

/* Hide default ::before when custom badge is used */
.pricing-card.highlighted:has(.pricing-recommended-badge)::before {
  display: none;
}

/* Sales Guarantee */
.sales-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 560px;
  margin: 32px auto;
  padding: 20px 24px;
  background: var(--green-50, #f0fdf4);
  border: 1px solid var(--green-200, #bbf7d0);
  border-radius: var(--radius-md);
}
.sales-guarantee .guarantee-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.sales-guarantee strong {
  color: var(--green-600);
  font-size: 0.95rem;
}
.sales-guarantee p {
  color: var(--grey-600);
  font-size: 0.85rem;
  margin-top: 4px;
  line-height: 1.5;
}

/* Sales FAQ */
.sales-faq {
  max-width: 600px;
  margin: 32px auto;
}
.sales-faq h3 {
  text-align: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
  color: var(--dark);
}
.faq-item {
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-item summary {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--grey-400);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  padding: 0 18px 14px;
  font-size: 0.85rem;
  color: var(--grey-600);
  line-height: 1.6;
}

/* Sales Final CTA */
.sales-final-cta {
  text-align: center;
  padding: 40px 24px;
  max-width: 500px;
  margin: 0 auto;
}
.sales-final-cta h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.sales-final-cta > p:first-of-type {
  color: var(--grey-500);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Sales back link */
.sales-back-link {
  text-align: center;
  margin-top: 20px;
  padding-bottom: 40px;
}

.sales-back-link a {
  color: var(--grey-500);
  font-size: 0.85rem;
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE — Public View & Auth Modal & Sales
   ============================================================ */

@media (max-width: 768px) {
  .public-header { padding: 12px 20px; }
  .public-hero { padding: 48px 20px; }
  .public-hero h1 { font-size: 1.8rem; }
  .public-courses { padding: 32px 20px 60px; }
  .public-courses-grid { grid-template-columns: 1fr; }
  .auth-modal { padding: 28px 20px; max-width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.highlighted { transform: none; }
  .pricing-card.highlighted:hover { transform: translateY(-3px); }
  .sales-content { padding: 32px 20px 60px; }
  .sales-hero h1 { font-size: 1.5rem; }
  .sales-consult-banner { flex-direction: column; text-align: center; padding: 24px 20px; }
  .sales-consult-banner .btn-white-outline { width: 100%; }
  .sales-social-proof-bar { gap: 16px; padding: 16px 16px; }
  .sales-social-proof-bar .sp-divider { display: none; }
  .comparison-table { font-size: 0.82rem; }
  .comparison-table th, .comparison-table td { padding: 10px 10px; }
  .calendly-modal-content { padding: 24px 20px; }
}

/* ═══════════════════════════════════════════════════
   POST-REGISTRATION FLOW — Hide "Zurück" during onboarding
   ═══════════════════════════════════════════════════ */
.sales-page.postreg-flow .public-header-actions {
  display: none;
}

/* ═══════════════════════════════════════════════════
   POST-REGISTRATION TUNNEL (Fullscreen Quiz)
   ═══════════════════════════════════════════════════ */
.postreg-tunnel {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.postreg-tunnel-header {
  text-align: center;
  margin-bottom: 40px;
}
.postreg-tunnel-header .logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}
.postreg-tunnel-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.postreg-tunnel-subtitle {
  font-size: 1rem;
  color: var(--grey-500);
}
.postreg-tunnel-progress {
  margin-bottom: 32px;
}
.postreg-tunnel-progress-bar {
  height: 6px;
  background: var(--grey-100);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}
.postreg-tunnel-progress-fill {
  height: 100%;
  background: var(--green-500);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.postreg-tunnel-progress-steps {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
}
.postreg-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grey-100);
  color: var(--grey-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.postreg-dot.current {
  background: var(--green-500);
  color: white;
  box-shadow: 0 0 0 4px rgba(126, 217, 87, 0.2);
}
.postreg-dot.done {
  background: var(--green-500);
  color: white;
}
.postreg-step {
  display: none;
  animation: fadeInUp 0.35s ease;
}
.postreg-step.active {
  display: block;
}
/* Reuse existing tunnel-option styles from landing page */
.postreg-step .tunnel-question { font-size: 1.25rem; }
.postreg-step .tunnel-subtitle { margin-bottom: 24px; }

/* ═══════════════════════════════════════════════════
   PACKAGE SELECTION PAGE
   ═══════════════════════════════════════════════════ */
.pkg-selection {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0 80px;
}
.pkg-selection-header {
  text-align: center;
  margin-bottom: 32px;
}
.pkg-selection-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.pkg-selection-header p {
  font-size: 1.05rem;
  color: var(--grey-500);
  max-width: 600px;
  margin: 0 auto 16px;
}
.pkg-savings-hero {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  display: inline-block;
}
.pkg-savings-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-600);
  margin-bottom: 4px;
}
/* Skip / X button */
.pkg-skip-btn {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 100;
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--grey-500);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s;
}
.pkg-skip-btn:hover { background: var(--grey-50); color: var(--dark); border-color: var(--grey-300); }

/* Result hero */
.pkg-result-hero {
  text-align: center;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-radius: 16px;
  padding: 32px 24px;
  margin-bottom: 32px;
}
.pkg-result-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green-600); margin-bottom: 4px; }
.pkg-result-amount { font-size: 2.6rem; font-weight: 800; color: var(--dark); }
.pkg-result-subtitle { font-size: 0.9rem; color: var(--grey-500); margin-top: 4px; }

/* Breakdown bars */
.pkg-breakdown { margin-bottom: 40px; background: white; border-radius: 16px; padding: 28px; border: 1px solid var(--grey-100); }
.pkg-breakdown-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 20px; color: var(--dark); }
.pkg-breakdown-item { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.pkg-breakdown-item:last-child { margin-bottom: 0; }
.pkg-breakdown-icon { font-size: 1.4rem; width: 36px; text-align: center; }
.pkg-breakdown-info { flex: 1; }
.pkg-breakdown-label { font-size: 0.88rem; color: var(--grey-600); margin-bottom: 6px; }
.pkg-breakdown-bar { height: 10px; background: var(--grey-100); border-radius: 5px; overflow: hidden; }
.pkg-breakdown-bar-fill { height: 100%; background: linear-gradient(90deg, var(--green-400), var(--green-500)); border-radius: 5px; transition: width 0.8s ease; }
.pkg-breakdown-value { font-weight: 700; color: var(--dark); font-size: 0.92rem; min-width: 110px; text-align: right; }

/* Fun comparisons */
.pkg-fun { text-align: center; margin-bottom: 40px; padding: 28px 0; }
.pkg-fun-title { font-weight: 700; margin-bottom: 20px; font-size: 1.05rem; color: var(--dark); }
.pkg-fun-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.pkg-fun-card { background: white; border: 1px solid var(--grey-100); border-radius: 16px; padding: 20px 24px; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 140px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.pkg-fun-emoji { font-size: 1.8rem; }
.pkg-fun-card strong { font-size: 1.4rem; color: var(--dark); }
.pkg-fun-card span { font-size: 0.82rem; color: var(--grey-500); }

/* Power moves */
.pkg-power-moves { margin-bottom: 40px; }
.pkg-power-title { font-size: 1.1rem; color: var(--dark); margin-bottom: 20px; line-height: 1.5; }
.power-label-tag { display: inline-block; background: var(--green-500); color: white; font-weight: 700; font-size: 0.72rem; padding: 4px 12px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.pkg-power-list { display: flex; flex-direction: column; gap: 14px; }
.pkg-power-item { display: flex; gap: 16px; background: white; border: 1px solid var(--grey-100); border-radius: 14px; padding: 20px; transition: box-shadow 0.2s; }
.pkg-power-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.pkg-power-icon { font-size: 1.6rem; margin-top: 2px; }
.pkg-power-text { flex: 1; }
.pkg-power-text strong { display: block; margin-bottom: 6px; color: var(--dark); font-size: 0.95rem; }
.pkg-power-text p { font-size: 0.88rem; color: var(--grey-600); margin: 0; line-height: 1.6; }
.pkg-power-amount { display: inline-block; background: #f0fdf4; color: var(--green-700); font-weight: 700; font-size: 0.82rem; padding: 4px 10px; border-radius: 6px; margin-top: 8px; }

/* Investment vs. Gewinn Grafik */
.pkg-invest-graphic {
  margin-bottom: 48px;
  background: linear-gradient(135deg, #f8fffe, #f0fdf4);
  border: 1px solid var(--green-100);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
}
.pkg-invest-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 28px; }
.pkg-invest-bars { display: flex; align-items: flex-end; justify-content: center; gap: 40px; margin-bottom: 20px; }
.pkg-invest-bar { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pkg-invest-bar-visual { width: 80px; border-radius: 12px 12px 0 0; display: flex; align-items: flex-end; justify-content: center; transition: height 0.6s ease; }
.pkg-invest-bar-invest { background: var(--grey-200); height: 40px; }
.pkg-invest-bar-gain { background: linear-gradient(180deg, var(--green-400), var(--green-500)); height: 180px; }
.pkg-invest-bar-value { font-weight: 800; font-size: 1.1rem; color: var(--dark); padding-bottom: 8px; }
.pkg-invest-bar-gain .pkg-invest-bar-value { color: white; }
.pkg-invest-bar-label { font-size: 0.82rem; color: var(--grey-500); font-weight: 500; }
.pkg-invest-multiplier {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; border: 2px solid var(--green-400);
  padding: 10px 24px; border-radius: 50px;
  font-size: 1rem; font-weight: 700; color: var(--dark);
}
.pkg-invest-multiplier strong { color: var(--green-600); font-size: 1.3rem; }

/* Compact Hero Section (top of package selection) */
.pkg-hero-compact {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid var(--green-200);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 24px;
}
.pkg-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.pkg-hero-result { flex: 1; }
.pkg-hero-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 4px;
}
.pkg-hero-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
}
.pkg-hero-sub {
  font-size: 0.88rem;
  color: var(--grey-500);
  margin-top: 4px;
}
.pkg-hero-roi {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border: 2px solid var(--green-400);
  border-radius: 14px;
  padding: 14px 20px;
  text-align: center;
  min-width: 90px;
}
.pkg-hero-roi-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-600);
  line-height: 1;
}
.pkg-hero-roi-label {
  font-size: 0.68rem;
  color: var(--grey-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.pkg-hero-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pkg-hb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--green-200);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.82rem;
  color: var(--grey-600);
}
.pkg-hb-chip span { font-size: 1rem; }
.pkg-hb-chip strong {
  color: var(--dark);
  font-weight: 700;
  margin-left: 2px;
}

/* Value Proposition Strip */
.pkg-value-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.pkg-vs-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: white;
  border: 1px solid var(--grey-100);
  border-radius: 12px;
}
.pkg-vs-icon {
  font-size: 1.4rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.pkg-vs-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--dark);
  margin-bottom: 3px;
}
.pkg-vs-item span {
  font-size: 0.78rem;
  color: var(--grey-500);
  line-height: 1.4;
}
.pkg-vs-amount {
  display: inline-block;
  background: #f0fdf4;
  color: var(--green-700) !important;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 6px;
}

@media (max-width: 1024px) {
  .pkg-value-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pkg-hero-compact { padding: 20px; }
  .pkg-hero-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pkg-hero-amount { font-size: 1.8rem; }
  .pkg-hero-breakdown { gap: 6px; }
  .pkg-hb-chip { font-size: 0.78rem; padding: 5px 10px; }
  .pkg-value-strip { grid-template-columns: 1fr; gap: 10px; }
  .pkg-vs-item { padding: 12px; }
}

/* Compact Analysis Section (collapsible, below packages) */
.pkg-analysis-compact {
  margin-top: 48px;
  border: 1px solid var(--grey-100);
  border-radius: 16px;
  background: white;
  overflow: hidden;
}
.pkg-analysis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.pkg-analysis-header:hover { background: var(--grey-50); }
.pkg-analysis-header h3 { font-size: 1.05rem; margin: 0; color: var(--dark); }
.pkg-analysis-toggle-icon {
  transition: transform 0.3s;
  color: var(--grey-400);
  display: flex;
}
.pkg-analysis-compact .pkg-analysis-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}
.pkg-analysis-compact.open .pkg-analysis-body {
  max-height: 2000px;
  padding: 0 24px 28px;
}
.pkg-analysis-compact.open .pkg-analysis-toggle-icon {
  transform: rotate(180deg);
}

/* Analysis Breakdown (compact horizontal) */
.pkg-analysis-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.pkg-ab-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--grey-50);
  border-radius: 10px;
  padding: 12px 14px;
}
.pkg-ab-icon { font-size: 1.2rem; }
.pkg-ab-label { flex: 1; font-size: 0.85rem; color: var(--grey-600); }
.pkg-ab-val { font-weight: 700; font-size: 0.88rem; color: var(--dark); white-space: nowrap; }

/* Analysis Power Moves (compact grid) */
.pkg-analysis-moves { margin-bottom: 24px; }
.pkg-am-title { font-size: 0.92rem; color: var(--grey-500); margin-bottom: 12px; font-weight: 600; }
.pkg-am-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.pkg-am-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: var(--grey-50);
  border-radius: 10px;
}
.pkg-am-icon { font-size: 1.3rem; margin-top: 2px; }
.pkg-am-item strong { display: block; font-size: 0.88rem; color: var(--dark); margin-bottom: 4px; }
.pkg-am-item p { font-size: 0.82rem; color: var(--grey-600); margin: 0; line-height: 1.5; }
.pkg-am-amount {
  display: inline-block;
  background: #f0fdf4;
  color: var(--green-700);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 6px;
}

/* Analysis Fun Comparisons (compact chips) */
.pkg-analysis-fun { margin-bottom: 24px; }
.pkg-af-title { font-size: 0.92rem; color: var(--grey-500); margin-bottom: 10px; font-weight: 600; }
.pkg-af-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pkg-af-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grey-50);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--dark);
}
.pkg-af-chip strong { color: var(--green-600); }

/* Analysis ROI (compact inline) */
.pkg-analysis-roi {
  background: linear-gradient(135deg, #f8fffe, #f0fdf4);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.pkg-ar-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.pkg-ar-bar {
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  padding: 10px 20px;
  min-width: 140px;
}
.pkg-ar-bar-gain {
  border-color: var(--green-400);
  background: #f0fdf4;
}
.pkg-ar-label { font-size: 0.75rem; color: var(--grey-500); display: block; margin-bottom: 2px; }
.pkg-ar-value { font-weight: 800; font-size: 1.05rem; color: var(--dark); }
.pkg-ar-bar-gain .pkg-ar-value { color: var(--green-600); }
.pkg-ar-arrow { font-size: 1.4rem; color: var(--green-500); font-weight: 700; }
.pkg-ar-multi { font-size: 0.92rem; color: var(--dark); }
.pkg-ar-multi strong { color: var(--green-600); font-size: 1.1rem; }

@media (max-width: 768px) {
  .pkg-result-banner { flex-direction: column; text-align: center; gap: 6px; }
  .pkg-analysis-breakdown { grid-template-columns: 1fr; }
  .pkg-am-grid { grid-template-columns: 1fr; }
  .pkg-ar-bars { flex-direction: column; gap: 8px; }
  .pkg-ar-arrow { transform: rotate(90deg); }
}

/* Package heading */
.pkg-heading-section { text-align: center; margin-top: 24px; margin-bottom: 20px; }
.pkg-heading-section h1 { font-size: 2rem; }
.pkg-heading-section p { color: var(--grey-500); margin-top: 10px; font-size: 1rem; }
.pkg-recommendation {
  display: inline-flex; align-items: center; gap: 8px;
  background: #f0fdf4; padding: 12px 24px; border-radius: 10px;
  font-size: 0.95rem; color: var(--dark); margin-top: 12px;
}

/* 3-col package grid */
.pkg-grid { display: grid; gap: 24px; margin-top: 36px; align-items: start; }
.pkg-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Personalized goals in cards */
.goal-item { background: #f0fdf4; border-radius: 8px; padding: 6px 8px; margin-bottom: 4px; font-weight: 500; }
.pricing-card-divider { height: 1px; background: var(--grey-100); margin: 14px 0; }
.pkg-recommended { border-color: var(--green-500) !important; box-shadow: 0 0 0 2px rgba(126,217,87,0.3), 0 8px 24px rgba(0,0,0,0.08) !important; }

/* Crossed-out features for Starter card */
.pricing-card-features-missing { opacity: 0.45; }
.pricing-card-features-missing li { text-decoration: line-through; }

/* Responsive Package Grid — match .pricing-grid breakpoints */
@media (max-width: 768px) {
  .pkg-grid-3 { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .pkg-invest-bars { gap: 24px; }
  .pkg-invest-bar-visual { width: 60px; }
  .pkg-selection-header h1 {
    font-size: 1.5rem;
  }
  .pkg-savings-amount {
    font-size: 1.8rem;
  }
  .postreg-tunnel-title {
    font-size: 1.3rem;
  }
  .postreg-dot {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }
}

/* ============================================================
   LIVE CALLS
   ============================================================ */
.live-calls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.lc-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.lc-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
  transform: translateY(-2px);
}
.lc-card-live {
  border-color: var(--green-400);
  box-shadow: 0 0 0 2px var(--green-100);
}
.lc-card-soon {
  border-color: #f59e0b;
}
.lc-card-past {
  opacity: 0.7;
}
.lc-card-past:hover {
  opacity: 1;
}
.lc-card-header {
  padding: 16px 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.lc-card-body {
  padding: 12px 20px 16px;
  flex: 1;
}
.lc-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.lc-card-body > p {
  font-size: 0.85rem;
  color: var(--grey-500);
  margin-bottom: 12px;
  line-height: 1.5;
}
.lc-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--grey-400);
}
.lc-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lc-card-footer {
  padding: 0 20px 20px;
}
/* Badges */
.lc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.lc-badge-live {
  background: var(--green-50);
  color: var(--green-700);
  animation: lc-pulse 2s infinite;
}
@keyframes lc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.lc-badge-soon {
  background: #fffbeb;
  color: #b45309;
}
.lc-badge-scheduled {
  background: var(--grey-100);
  color: var(--grey-600);
}
.lc-badge-past {
  background: var(--grey-50);
  color: var(--grey-400);
}
.lc-badge-premium {
  background: #f0f0ff;
  color: #5b4bd5;
}
.lc-badge-free {
  background: var(--green-50);
  color: var(--green-700);
}
/* Admin live call table */
.lc-admin-table {
  width: 100%;
  border-collapse: collapse;
}
.lc-admin-table th {
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 12px;
  border-bottom: 2px solid var(--grey-100);
}
.lc-admin-table td {
  padding: 12px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--grey-100);
  vertical-align: middle;
}
.lc-admin-table tr:hover td {
  background: var(--grey-50);
}
/* Edit form inline */
.lc-edit-form {
  background: var(--grey-50);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 12px;
}
.lc-edit-form .form-group {
  margin-bottom: 14px;
}
.lc-edit-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--grey-500);
  margin-bottom: 4px;
}
.lc-edit-form input,
.lc-edit-form select,
.lc-edit-form textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
}
.lc-edit-form textarea { min-height: 60px; resize: vertical; }
/* Responsive */
@media (max-width: 768px) {
  .live-calls-grid {
    grid-template-columns: 1fr;
  }
  .lc-admin-table { font-size: 0.82rem; }
  .lc-admin-table th, .lc-admin-table td { padding: 8px; }
}

/* ============================================================
   CALL ROOM PAGE
   ============================================================ */
.call-room {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 64px);
  overflow: hidden;
}

.call-room-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  flex-shrink: 0;
}
.call-room-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.call-room-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}
.call-room-host {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--grey-500);
}
.call-room-host-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--green-700);
}
.call-room-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.call-room-timer {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--grey-600);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: 6px;
}
.call-room-timer .lc-badge-live {
  font-size: 0.7rem;
}
.call-room-participants {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--grey-500);
}
.call-room-leave {
  background: #ef4444;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}
.call-room-leave:hover { background: #dc2626; }
.call-room-end-btn {
  background: #dc2626;
  box-shadow: 0 0 0 2px rgba(220,38,38,0.3);
  animation: pulse-end 2s infinite;
}
.call-room-end-btn:hover { background: #b91c1c; }
@keyframes pulse-end {
  0%, 100% { box-shadow: 0 0 0 2px rgba(220,38,38,0.3); }
  50% { box-shadow: 0 0 0 6px rgba(220,38,38,0.15); }
}

/* Main area: video + chat */
.call-room-main {
  display: flex;
  flex: 1;
  overflow: hidden;
}
.call-room-video {
  flex: 3;
  min-width: 0;
  background: #111;
}
.call-room-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Waiting state */
.call-room-waiting {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: var(--grey-50);
  text-align: center;
  padding: 40px;
}
.call-room-waiting h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.call-room-waiting p {
  color: var(--grey-500);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.call-room-countdown {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-500);
  font-variant-numeric: tabular-nums;
}

/* Chat Sidebar */
.call-room-chat {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--grey-200);
  background: var(--white);
}
.call-room-chat-header {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--grey-100);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.call-room-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.call-room-chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.call-room-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--green-700);
  flex-shrink: 0;
}
.call-room-chat-avatar.host-avatar {
  background: #f0f0ff;
  color: #5b4bd5;
}
.call-room-chat-bubble { flex: 1; min-width: 0; }
.call-room-chat-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}
.call-room-chat-name .chat-role-badge {
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 4px;
  font-weight: 600;
}
.chat-role-badge.host { background: #f0f0ff; color: #5b4bd5; }
.chat-role-badge.admin { background: #fef3c7; color: #92400e; }
.call-room-chat-text {
  font-size: 0.85rem;
  color: var(--grey-600);
  line-height: 1.4;
  word-break: break-word;
}
.call-room-chat-time {
  font-size: 0.68rem;
  color: var(--grey-400);
  margin-top: 2px;
}
.call-room-chat-input {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--grey-100);
  flex-shrink: 0;
}
.call-room-chat-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  outline: none;
  font-family: inherit;
}
.call-room-chat-input input:focus {
  border-color: var(--green-400);
  box-shadow: 0 0 0 2px var(--green-100);
}
.call-room-chat-send {
  background: var(--green-500);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
}
.call-room-chat-send:hover { background: var(--green-600); }

/* ============================================================
   CLICKABLE CARDS + DASHBOARD WIDGETS
   ============================================================ */
.lc-card-clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lc-card-clickable:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.10);
}
.lc-card-action-hint {
  font-size: 0.82rem;
  color: var(--grey-400);
  font-weight: 500;
}
.lc-action-join {
  color: var(--green-600);
  font-weight: 600;
}
.lc-card-host {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Dashboard Live Call Widget */
.dash-live-call-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.dash-live-call-card:hover {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.dash-live-call-live {
  border-color: var(--green-400);
  background: var(--green-50);
}
.dash-live-call-info { flex: 1; min-width: 0; }
.dash-live-call-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-live-call-countdown {
  font-size: 0.82rem;
  color: var(--grey-400);
  font-weight: 500;
  white-space: nowrap;
}

/* Call Detail Modal */
.call-detail-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}
.call-detail-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 90%;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  animation: slideUp 0.25s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.call-detail-modal h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.call-detail-modal p {
  font-size: 0.9rem;
  color: var(--grey-500);
  line-height: 1.5;
  margin-bottom: 16px;
}
.call-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--grey-500);
}
.call-detail-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.call-detail-countdown {
  text-align: center;
  padding: 20px;
  background: var(--grey-50);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.call-detail-countdown .countdown-label {
  font-size: 0.82rem;
  color: var(--grey-400);
  margin-bottom: 4px;
}
.call-detail-countdown .countdown-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-500);
  font-variant-numeric: tabular-nums;
}
.call-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .call-room-main { flex-direction: column; }
  .call-room-video { height: 50vh; flex: none; }
  .call-room-chat { max-width: 100%; min-width: 100%; flex: 1; }
  .call-room-topbar { flex-wrap: wrap; gap: 8px; padding: 10px 16px; }
  .call-room-topbar-left, .call-room-topbar-right { width: 100%; justify-content: space-between; }
  .dash-live-call-card { flex-wrap: wrap; }
}
