*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f1f5f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --green: #16a34a;
  --green-light: #dcfce7;
  --orange: #ea580c;
  --orange-light: #ffedd5;
  --red: #dc2626;
  --red-light: #fee2e2;
  --blue-light: #dbeafe;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --radius: 10px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 15px;
}

/* ===== FLOATING BACKGROUND BLOBS (decorative, driven by JS in app.js) ===== */
.bg-blobs { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bg-blob { position: absolute; top: 0; left: 0; }
.bg-blob-1 {
  width: 620px; height: 620px; border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  background: radial-gradient(circle at 35% 35%, rgba(37,99,235,.78), rgba(37,99,235,.21) 55%, transparent 72%);
}
.bg-blob-2 {
  width: 420px; height: 420px; border-radius: 60% 40% 38% 62% / 55% 65% 35% 45%;
  background: radial-gradient(circle at 60% 55%, rgba(37,99,235,.66), rgba(37,99,235,.15) 55%, transparent 72%);
}
.bg-blob-3 {
  width: 300px; height: 300px; border-radius: 55% 45% 62% 38% / 40% 55% 45% 60%;
  background: radial-gradient(circle at 40% 40%, rgba(124,58,237,.60), rgba(124,58,237,.15) 55%, transparent 72%);
}
.bg-blob-4 {
  width: 340px; height: 340px; border-radius: 38% 62% 55% 45% / 60% 35% 65% 40%;
  background: radial-gradient(circle at 45% 50%, rgba(37,99,235,.54), rgba(37,99,235,.12) 55%, transparent 72%);
}
/* Much more subtle on phones — same movement, far less visual weight */
@media (max-width: 768px) {
  .bg-blobs { opacity: .4; }
  .bg-blob-1 { width: 220px; height: 220px; }
  .bg-blob-2 { width: 160px; height: 160px; }
  .bg-blob-3 { width: 110px; height: 110px; }
  .bg-blob-4 { width: 130px; height: 130px; }
}

#app { min-height: 100vh; }

/* ===== AUTH ===== */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: transparent;
  position: relative;
  overflow: hidden;
}
.auth-card {
  background: linear-gradient(160deg, rgba(219,234,254,.6), rgba(191,219,254,.5));
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(37,99,235,.25);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(37,99,235,.18);
  position: relative;
  z-index: 1;
}
@media (max-width: 480px) {
  .auth-wrapper { padding: 24px 40px; }
  .auth-card { max-width: 360px; padding: 26px 20px; border-radius: 20px; }
}
.lang-dropdown { position: relative; display: inline-block; }
.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  overflow: hidden;
  z-index: 999;
  min-width: 130px;
}
.lang-dropdown-menu.drop-up {
  top: auto;
  bottom: calc(100% + 6px);
}
.lang-dropdown-menu.open { display: block; }
.lang-dropdown-menu button {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 9px 14px;
  background: none; border: none; cursor: pointer;
  font-size: 14px; color: var(--text); text-align: left;
}
.lang-dropdown-menu button:hover { background: var(--bg); }
.lang-dropdown-menu button.active { font-weight: 700; color: var(--primary); }
.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}
.auth-logo h1 { font-size: 26px; font-weight: 900; color: #1e293b; letter-spacing: -.5px; }
.auth-logo h1 span { color: var(--primary); }
.auth-logo p { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.auth-logo-img { height: 48px; width: auto; }
.auth-tabs { display: flex; gap: 4px; margin-bottom: 24px; background: var(--bg); border-radius: 8px; padding: 4px; }
.auth-tab {
  flex: 1; padding: 8px; border: none; background: none; cursor: pointer;
  border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--text-muted); transition: all .2s;
}
.auth-tab.active { background: var(--card); color: var(--text); box-shadow: var(--shadow); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=date],
input[type=number], input[type=time], select, textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 14px; color: var(--text);
  background: var(--card); transition: border-color .2s; outline: none; font-family: inherit;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); }
textarea { resize: vertical; min-height: 80px; }
.role-select { display: flex; gap: 8px; }
.role-btn {
  flex: 1; padding: 10px; border: 2px solid var(--border); background: var(--card);
  border-radius: 8px; cursor: pointer; text-align: center; font-size: 13px; font-weight: 600;
  color: var(--text-muted); transition: all .2s;
}
.role-btn.active { border-color: var(--primary); color: var(--primary); background: var(--blue-light); }
.color-picker-row { display: flex; align-items: center; gap: 12px; }
.color-swatch { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--border); cursor: pointer; }
input[type=color] { width: 0; height: 0; opacity: 0; position: absolute; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border: none; border-radius: 8px; cursor: pointer;
  font-size: 14px; font-weight: 600; transition: all .15s; text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { background: #15803d; }
.btn-danger { background: var(--red); color: #fff; }
.btn-outline {
  background: none; border: 1.5px solid var(--border); color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ===== LAYOUT ===== */
.layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 220px; min-height: 100vh; background: #1e293b; color: #fff;
  display: flex; flex-direction: column; flex-shrink: 0; position: fixed; left: 0; top: 0;
}
.sidebar-logo {
  padding: 20px 16px 16px; border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 18px; font-weight: 800; color: #fff;
}
.sidebar-logo span { color: #60a5fa; }
.sidebar-logo-img { height: 31px; width: auto; display: block; }
.sidebar-user {
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 12px; color: rgba(255,255,255,.5);
}
.sidebar-user strong { display: block; font-size: 14px; color: #fff; margin-bottom: 2px; }
.sidebar-nav { flex: 1; padding: 12px 0; }
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 11px 16px;
  cursor: pointer; border-radius: 8px; margin: 2px 8px; color: rgba(255,255,255,.7);
  font-size: 14px; font-weight: 500; transition: all .15s; border: none; background: none;
  text-align: left; width: calc(100% - 16px);
}
.nav-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-item.active { background: var(--primary); color: #fff; }
.nav-item .icon { font-size: 18px; }
.nav-badge {
  margin-left: auto; background: var(--red); color: #fff; border-radius: 10px;
  font-size: 11px; padding: 1px 6px; font-weight: 700;
}
.sidebar-footer { padding: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.main { margin-left: 220px; padding: 28px; flex: 1; }

/* ===== CARDS ===== */
.card {
  background: rgba(255,255,255,.72); border-radius: var(--radius); box-shadow: var(--shadow);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.card-header h2 { font-size: 16px; font-weight: 700; }
.card-body { padding: 20px; }

/* ===== PAGE HEADER ===== */
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.page-header h1 { font-size: 22px; font-weight: 800; }

/* ===== PLANNING GRID ===== */
.week-nav { display: flex; align-items: center; gap: 12px; }
.week-nav span { font-size: 15px; font-weight: 600; }
.planning-grid { overflow-x: auto; }
.planning-table {
  width: 100%; border-collapse: collapse; min-width: 700px;
}
.planning-table th {
  background: var(--bg); padding: 10px 14px; text-align: left;
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  border-bottom: 2px solid var(--border); text-transform: uppercase; letter-spacing: .5px;
}
.planning-table td {
  padding: 8px 14px; vertical-align: top; border-bottom: 1px solid var(--border); min-width: 120px;
}
.day-col { font-size: 13px; font-weight: 600; white-space: nowrap; }
.today-col { background: #eff6ff; }
.employee-header {
  display: flex; align-items: center; gap: 6px; padding: 8px 14px;
  border-bottom: 2px solid var(--border); cursor: pointer;
}
.emp-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.emp-name { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.task-chip {
  display: block; padding: 5px 10px; border-radius: 6px; margin: 3px 0;
  font-size: 12px; font-weight: 500; cursor: pointer; border: none; text-align: left;
  width: 100%; transition: opacity .15s; color: #fff;
}
.task-chip:hover { opacity: .85; }

.plan-chip {
  display: block; padding: 4px 9px; border-radius: 6px; margin: 3px 0;
  font-size: 11px; font-weight: 600; text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== STATUS BADGES ===== */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}
.badge-blue { background: var(--blue-light); color: var(--primary); }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-orange { background: var(--orange-light); color: var(--orange); }
.badge-red { background: var(--red-light); color: var(--red); }

/* ===== EMPLOYEE STATUS ROW ===== */
.emp-status-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px;
}
.emp-status-card {
  padding: 14px 16px; border-radius: 10px; border: 2px solid; cursor: pointer; transition: transform .15s;
}
.emp-status-card:hover { transform: translateY(-2px); }
.emp-status-name { font-size: 14px; font-weight: 700; }
.emp-status-sub { font-size: 12px; margin-top: 2px; }

/* ===== WERKBON DETAIL ===== */
.wb-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.wb-title { font-size: 20px; font-weight: 800; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.info-item label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.info-item p { font-size: 14px; margin-top: 2px; }
.section-title { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-bottom: 10px; }

/* ===== QUOTE LIST ===== */
.list-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; border-bottom: 1px solid var(--border); cursor: pointer;
}
.list-item:last-child { border-bottom: none; }
.list-item:hover { background: var(--bg); }
.list-icon {
  width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0;
}
.list-content { flex: 1; }
.list-title { font-size: 14px; font-weight: 600; }
.list-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ===== NOTIFICATIONS ===== */
.notif-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 20px;
  border-bottom: 1px solid var(--border); cursor: pointer;
}
.notif-item:hover { background: var(--bg); }
.notif-item.unread { background: #eff6ff; }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; margin-top: 5px; }
.notif-msg { font-size: 14px; }
.notif-time { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

/* ===== PHOTO GRID ===== */
.photo-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.photo-grid img {
  width: 80px; height: 80px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--border); cursor: pointer;
}
.file-tile {
  display: inline-flex; align-items: center; gap: 6px; max-width: 200px;
  padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg); color: var(--primary); font-size: 13px; font-weight: 500;
  text-decoration: none; cursor: pointer; transition: border-color .15s, background .15s;
}
.file-tile:hover { border-color: var(--primary); background: var(--blue-light); }
.file-tile span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
}
.modal {
  background: var(--card); border-radius: 16px; width: 100%;
  max-width: 560px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,.3);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--card);
}
.modal-header h3 { font-size: 16px; font-weight: 700; }
.modal-close { font-size: 22px; cursor: pointer; color: var(--text-muted); background: none; border: none; }
.modal-body { padding: 20px; }
.modal-footer {
  padding: 16px 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 8px;
  position: sticky; bottom: 0; background: var(--card);
}

/* ===== TOAST ===== */
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: #1e293b; color: #fff; padding: 12px 18px; border-radius: 10px;
  font-size: 14px; box-shadow: 0 4px 20px rgba(0,0,0,.3);
  animation: slideIn .2s ease; max-width: 300px;
}
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--border); margin: 20px 0; }

/* ===== EMPTY STATE ===== */
.empty { text-align: center; padding: 40px; color: var(--text-muted); }
.empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty p { font-size: 14px; }

/* ===== UPLOAD ===== */
.file-upload-area {
  border: 2px dashed var(--border); border-radius: 8px; padding: 20px;
  text-align: center; cursor: pointer; transition: border-color .2s; color: var(--text-muted); font-size: 13px;
}
.file-upload-area:hover { border-color: var(--primary); color: var(--primary); }
.file-names { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ===== TABS ===== */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 20px; }
.tab-btn {
  padding: 9px 16px; border: none; background: none; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--text-muted); border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: all .15s;
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ===== GRID HELPERS ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mt-16 { margin-top: 16px; }
.mt-8 { margin-top: 8px; }
.mb-16 { margin-bottom: 16px; }

/* ===== SCROLLABLE ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* ===== HELPDESK CHAT WIDGET ===== */
#helpdesk-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.helpdesk-fab {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none; cursor: pointer;
  font-size: 22px; box-shadow: 0 4px 16px rgba(37,99,235,.4);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
.helpdesk-fab:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,99,235,.5); }
.helpdesk-panel {
  width: 340px; height: 480px; background: #fff; border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.16); flex-direction: column; overflow: hidden;
}
.helpdesk-header {
  background: var(--primary); color: #fff; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.helpdesk-messages {
  flex: 1; overflow-y: auto; padding: 14px 12px; display: flex;
  flex-direction: column; gap: 8px; background: #f8fafc;
}
.hd-msg { display: flex; }
.hd-user { justify-content: flex-end; }
.hd-bot { justify-content: flex-start; }
.hd-bubble {
  max-width: 82%; padding: 9px 13px; border-radius: 14px;
  font-size: 13.5px; line-height: 1.5;
}
.hd-user .hd-bubble {
  background: var(--primary); color: #fff;
  border-bottom-right-radius: 4px;
}
.hd-bot .hd-bubble {
  background: #fff; color: var(--text);
  border: 1px solid var(--border); border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.hd-typing { color: var(--text-muted); letter-spacing: 2px; }
.helpdesk-input-row {
  display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border);
  background: #fff; flex-shrink: 0;
}
.helpdesk-input {
  flex: 1; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 13.5px; outline: none; transition: border-color .15s;
}
.helpdesk-input:focus { border-color: var(--primary); }
.helpdesk-send {
  width: 38px; height: 38px; border-radius: 8px; border: none;
  background: var(--primary); color: #fff; cursor: pointer; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.helpdesk-send:hover { background: var(--primary-dark); }

/* ===== WORK TIMER (Strobo-style) ===== */
.wb-timer {
  text-align: center; padding: 16px 14px;
  background: var(--bg); border-radius: 10px; border: 1.5px solid var(--border);
}
.timer-display {
  font-size: 36px; font-weight: 800; letter-spacing: 1px;
  font-variant-numeric: tabular-nums; color: var(--text);
}
.timer-display.running { color: var(--green); }
.timer-display.paused { color: var(--orange); }
.timer-state-label { font-size: 13px; font-weight: 600; color: var(--orange); margin-top: 2px; }
.timer-buttons {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 12px;
}
.timer-result { font-size: 17px; padding: 6px 0; }
.timer-result strong { color: var(--green); font-size: 20px; }

/* ===== MANUAL TIME ENTRY ===== */
.wb-manual {
  align-items: center; gap: 8px; justify-content: center;
  padding: 14px; background: var(--bg); border-radius: 10px; border: 1.5px solid var(--border);
}
.wb-manual input { width: 80px; text-align: center; font-size: 18px; font-weight: 700; }
.wb-manual span { font-size: 14px; color: var(--text-muted); font-weight: 600; }

/* ===== COLOR GRID (registratie werknemer) ===== */
.color-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.color-cell {
  aspect-ratio: 1 / 1; width: 100%; border-radius: 50%;
  border: 2.5px solid transparent; cursor: pointer; padding: 0;
  position: relative; transition: transform .1s;
}
.color-cell:hover:not(.taken) { transform: scale(1.15); }
.color-cell.selected {
  border-color: var(--text);
  box-shadow: inset 0 0 0 2.5px #fff;
}
.color-cell.taken { opacity: .4; cursor: not-allowed; }

/* ===== ARCHIVE DETAILS/SUMMARY ===== */
.archive-details { margin-bottom: 16px; }
.archive-details summary {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px; background: var(--card); border-radius: 12px;
  border: 1px solid var(--border); cursor: pointer;
  font-weight: 600; font-size: 14px; color: var(--text-muted);
  list-style: none; user-select: none;
}
.archive-details summary::-webkit-details-marker { display: none; }
.archive-details summary::before { content: '▶'; font-size: 11px; transition: transform .2s; }
.archive-details[open] summary::before { transform: rotate(90deg); }
.archive-details summary:hover { background: var(--bg); }
.color-cell.taken::after {
  content: ''; position: absolute; left: -4px; right: -4px; top: 50%;
  border-top: 3px solid #0f172a; transform: rotate(-45deg);
}

/* ===== PAGE HEADER STRUCTURE (desktop + mobile base) ===== */
.mobile-topbar { display: none; }
.mobile-logo-img { height: 31px; width: auto; display: block; }
.sidebar-overlay { display: none; }
.page-header-text { min-width: 0; }
.mob-greeting { display: none; }
.page-header-actions { display: flex; align-items: center; gap: 8px; }
/* Mobile-only elements — hidden on desktop */
.mob-bottom-nav { display: none; }
.mob-meer-overlay { display: none; }
.mob-meer-sheet { display: none; }
.mob-only { display: none; }
.dash-stats-mobile { display: none; }

/* ===== MOBILE REDESIGN ===== */
@media (max-width: 768px) {

  /* 1. Hide old hamburger topbar + drawer sidebar */
  .mobile-topbar  { display: none !important; }
  .sidebar        { display: none !important; }
  .sidebar-overlay{ display: none !important; }

  /* 2. Main content: full-width, space at bottom for nav bar */
  .main { margin-left: 0; padding: 0 16px 84px; }

  /* 3. Page header → full-bleed blue gradient banner */
  .page-header {
    margin: 0 -16px 20px;
    padding: 20px 20px 24px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    border-radius: 0 0 24px 24px;
    flex-wrap: wrap; align-items: flex-start; gap: 12px;
  }
  .page-header-actions { flex-wrap: wrap; }
  .page-header-actions:has(.week-nav) { flex: 1 1 100%; }
  .page-header .week-nav {
    flex-wrap: wrap; row-gap: 8px; justify-content: flex-start;
    width: 100%; flex-basis: 100%;
  }
  .page-header .week-nav span { width: 100%; order: -1; font-size: 13px; }
  .mob-greeting {
    display: block; font-size: 13px; color: rgba(255,255,255,.75);
    font-weight: 500; margin-bottom: 4px;
  }
  .page-header h1 { font-size: 22px; font-weight: 800; color: #fff; }
  .page-header-actions { padding-top: 2px; flex-shrink: 0; }
  .page-header .btn {
    background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25);
    color: #fff; font-size: 13px; padding: 8px 14px;
  }
  .page-header .btn-primary { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.3); }
  .page-header .btn-outline  { background: rgba(255,255,255,.1);  border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.9); }
  .page-header .btn-danger   { background: rgba(220,38,38,.6);    border-color: rgba(220,38,38,.4); }
  .page-header .btn-sm { padding: 6px 12px; font-size: 12px; }
  .page-header .lang-dropdown { display: none; }

  /* 4. Bottom navigation bar */
  .mob-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; border-top: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: space-around;
    height: 68px; padding: 0 4px;
    z-index: 900; box-shadow: 0 -4px 24px rgba(0,0,0,.08);
  }
  .mob-nav-item {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 3px; padding: 8px 0;
    background: none; border: none; cursor: pointer;
    color: #94a3b8; font-size: 10px; font-weight: 600; letter-spacing: .1px;
    position: relative; transition: color .15s; font-family: inherit;
  }
  .mob-nav-item.active { color: #2563eb; }
  .mob-nav-icon { font-size: 22px; line-height: 1.2; }
  .mob-nav-fab-wrap {
    flex-shrink: 0; display: flex; flex-direction: column;
    align-items: center; margin-top: -20px;
  }
  .mob-nav-fab {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff; border: 4px solid #fff; cursor: pointer;
    font-size: 26px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 18px rgba(37,99,235,.45); line-height: 1;
    transition: transform .15s, box-shadow .15s;
  }
  .mob-nav-fab:active { transform: scale(.92); box-shadow: 0 2px 10px rgba(37,99,235,.3); }
  .mob-nav-badge {
    position: absolute; top: 4px; right: calc(50% - 22px);
    background: #dc2626; color: #fff; border-radius: 10px;
    font-size: 10px; min-width: 16px; padding: 1px 4px;
    font-weight: 700; text-align: center; line-height: 1.4;
  }

  /* 5. Meer bottom sheet */
  .mob-meer-overlay {
    display: block; position: fixed; inset: 0;
    background: rgba(0,0,0,.45); z-index: 1200;
    opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .mob-meer-overlay.open { opacity: 1; pointer-events: auto; }
  .mob-meer-sheet {
    display: block; position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; border-radius: 20px 20px 0 0;
    z-index: 1300; padding-bottom: 72px;
    box-shadow: 0 -8px 40px rgba(0,0,0,.15);
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.22,1,.36,1);
    max-height: 82vh; overflow-y: auto;
  }
  .mob-meer-sheet.open { transform: translateY(0); }
  .mob-meer-handle {
    width: 40px; height: 4px; background: #e2e8f0;
    border-radius: 2px; margin: 12px auto 4px;
  }
  .mob-meer-user {
    padding: 12px 20px 16px; display: flex; align-items: center;
    justify-content: space-between; gap: 12px; border-bottom: 1px solid #f1f5f9;
  }
  .mob-meer-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
  }
  .mob-meer-section { border-bottom: 6px solid #f8fafc; padding: 6px 0; }
  .mob-meer-logout-section { padding: 6px 0; }
  .mob-meer-item {
    display: flex; align-items: center; gap: 14px; padding: 15px 20px;
    border: none; background: none; width: 100%; text-align: left;
    cursor: pointer; font-size: 15px; font-weight: 500; color: #1e293b;
    font-family: inherit; transition: background .1s;
  }
  .mob-meer-item:active { background: #f8fafc; }
  .mob-meer-icon { font-size: 22px; width: 28px; text-align: center; flex-shrink: 0; }
  .mob-meer-badge-inline {
    margin-left: auto; background: #dc2626; color: #fff;
    border-radius: 10px; font-size: 11px; min-width: 18px;
    padding: 2px 6px; font-weight: 700; text-align: center;
  }
  .mob-danger { color: #dc2626; }

  /* 6. General mobile improvements */
  .info-grid, .grid-2 { grid-template-columns: 1fr; }
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal { border-radius: 20px 20px 0 0; max-height: 90vh; width: 100%; max-width: 100%; }
  .card { border-radius: 16px; }
  .toast-container { bottom: 80px; }
  #helpdesk-widget { bottom: 80px; right: 16px; }
  .helpdesk-panel { width: calc(100vw - 32px); max-width: 360px; height: 70vh; max-height: 460px; }
  .color-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; }

  /* 7. Mobile-only utility + dashboard stat tiles */
  .mob-only { display: inline-flex; }
  .mob-hide { display: none !important; }
  .dash-stats-mobile {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
    margin-bottom: 16px;
  }
  .dash-stat-tile {
    background: rgba(255,255,255,.72); border-radius: 14px; padding: 14px 16px;
    box-shadow: var(--shadow); cursor: pointer; transition: transform .1s;
    backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  }
  .dash-stat-tile:active { transform: scale(.97); }
  .dash-stat-num { font-size: 26px; font-weight: 800; color: var(--text); line-height: 1.1; }
  .dash-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; font-weight: 600; }

  /* 8. Mobile day-agenda (Planning) */
  .day-nav-row .btn { min-width: 44px; }
  .day-task-card {
    background: rgba(255,255,255,.72); border-radius: 14px; padding: 14px 16px;
    box-shadow: var(--shadow); cursor: pointer;
    backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  }
}

/* ===== DESKTOP REDESIGN ===== */
@media (min-width: 769px) {

  body { background: #f4f6fb; position: relative; }
  #app { position: relative; }
  .layout { position: relative; z-index: 1; }

  /* 1. Sidebar — dark navy gradient matching mobile banner colors */
  .sidebar {
    width: 240px;
    background: linear-gradient(180deg, #1e3a5f 0%, #101d33 100%);
    border-right: 1px solid rgba(255,255,255,.06);
  }
  .sidebar-logo {
    padding: 22px 20px 18px; font-size: 19px; letter-spacing: -.3px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .sidebar-user {
    padding: 18px 20px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .sidebar-user::before {
    content: '👤'; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
    box-shadow: 0 3px 10px rgba(0,0,0,.25); margin-bottom: 8px;
  }
  .sidebar-nav { padding: 16px 12px; }
  .nav-item {
    padding: 10px 14px; margin: 3px 0; border-radius: 10px;
    font-size: 13.5px; color: rgba(255,255,255,.62);
  }
  .nav-item:hover { background: rgba(255,255,255,.07); color: #fff; transform: translateX(2px); }
  .nav-item.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff;
    box-shadow: 0 4px 14px rgba(37,99,235,.45);
  }
  .nav-item .icon { font-size: 16px; }
  .sidebar-footer { padding: 14px; }

  /* 2. Main content area */
  .main { padding: 32px 40px 48px; max-width: 1360px; }

  /* 3. Page header — clean bar with accent, no full banner */
  .page-header {
    padding: 4px 0 22px; margin-bottom: 26px; border-bottom: 1px solid var(--border);
  }
  .page-header h1 {
    font-size: 26px; font-weight: 800; letter-spacing: -.4px;
    position: relative; padding-left: 14px;
  }
  .page-header h1::before {
    content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px;
    border-radius: 3px; background: linear-gradient(180deg, #2563eb, #60a5fa);
  }
  .page-header .btn { border-radius: 9px; }
  .page-header .week-nav { gap: 10px; align-items: center; }
  .page-header .week-nav span {
    font-weight: 800; color: var(--text); background: #fff; border: 1px solid var(--border);
    padding: 7px 18px; border-radius: 20px; box-shadow: 0 1px 3px rgba(15,23,42,.05);
  }
  .page-header .week-nav .btn-outline {
    background: var(--blue-light); border-color: transparent; color: var(--primary); font-weight: 700;
  }
  .page-header .week-nav .btn-outline:hover { background: var(--primary); color: #fff; }

  /* Hide the "— datum" next to the daily employee-status card title (redundant on desktop) */
  .card-header h2 .mob-hide { display: none !important; }

  /* 4. Dashboard stat tiles — reuse mobile markup, restyle for desktop */
  .dash-stats-mobile {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px;
  }
  .dash-stat-tile {
    background: rgba(255,255,255,.72); border-radius: 16px; padding: 18px 20px;
    box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 20px rgba(15,23,42,.05);
    border: 1px solid var(--border); border-top: 3px solid var(--primary);
    cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
    backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  }
  .dash-stat-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 16px 28px rgba(15,23,42,.09);
  }
  .dash-stat-tile:nth-child(1) { border-top-color: #2563eb; }
  .dash-stat-tile:nth-child(2) { border-top-color: #ea580c; }
  .dash-stat-tile:nth-child(3) { border-top-color: #16a34a; }
  .dash-stat-tile:nth-child(4) { border-top-color: #7c3aed; }
  .dash-stat-num { font-size: 30px; font-weight: 800; }
  .dash-stat-label { font-size: 12.5px; }

  /* 5. Cards — subtle gradient accent bar on every card for a livelier feel */
  .card {
    position: relative; border-radius: 16px; border: 1px solid var(--border);
    box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 20px rgba(15,23,42,.05);
    overflow: hidden;
  }
  .card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #2563eb, #60a5fa 50%, #7c3aed);
  }
  .card-header { padding: 18px 22px; }
  .card-header h2 { font-size: 15px; }
  .card-body { padding: 22px; }
  .mb-16.card { margin-bottom: 20px !important; }

  /* 6. Employee status cards */
  .emp-status-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
  .emp-status-card { border-radius: 14px; border-width: 1.5px; transition: transform .15s ease, box-shadow .15s ease; }
  .emp-status-card:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 22px rgba(15,23,42,.09); }

  /* 7. List items — only lift/shift rows that are actually clickable */
  .list-item { padding: 14px 22px; transition: background .12s ease, transform .12s ease; }
  .list-item[onclick]:hover { transform: translateX(2px); }
  .list-icon { border-radius: 12px; transition: transform .15s ease; }
  .list-item[onclick]:hover .list-icon { transform: scale(1.08) rotate(-4deg); }

  /* 8. Planning grid — cleaner, rounder, colour-coded chips */
  .planning-grid { border-radius: 16px; }
  .planning-table thead th { background: #f8fafc; }
  .employee-header { border-radius: 8px; margin: 4px; transition: background .12s ease; }
  .employee-header:hover { background: var(--bg); }
  .planning-table tbody tr:hover td { background: #fafbff; }
  .planning-table tbody tr.today-col:hover td { background: #eff6ff; }
  .task-chip, .plan-chip {
    border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.06);
  }
  .task-chip { transition: box-shadow .15s ease, transform .15s ease; }
  .task-chip:hover { box-shadow: 0 4px 10px rgba(0,0,0,.16); transform: translateY(-1px); }

  /* 9. Modals */
  .modal { border-radius: 18px; box-shadow: 0 30px 70px rgba(15,23,42,.25); }
  .modal-header {
    padding: 18px 24px; background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%); color: #fff;
    border-bottom: none;
  }
  .modal-header h3 { color: #fff; }
  .modal-close { color: rgba(255,255,255,.85); }
  .modal-close:hover { color: #fff; }
  .modal-body { padding: 24px; }
  .modal-footer { padding: 16px 24px; }

  /* 10. Buttons — slightly rounder, crisper hover, tactile press */
  .btn { border-radius: 9px; transition: all .15s ease, transform .1s ease; }
  .btn-primary:hover, .btn-success:hover, .btn-danger:hover { transform: translateY(-1px); }
  .btn:active { transform: scale(.96); }

  /* 11. Tabs */
  .tab-btn { font-size: 13.5px; }

  /* 12. Notifications */
  .notif-item { padding: 14px 22px; transition: background .12s ease; }

  /* 13. Badges — a touch more vivid */
  .badge { font-weight: 700; letter-spacing: .2px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }

  /* 14. Emp status color dot subtle pulse on hover */
  .emp-status-card:hover span[style*="border-radius:50%"] { box-shadow: 0 0 0 4px rgba(0,0,0,.06); }

  /* 15. Team — invite code, dressed up as a real "code chip" */
  .invite-code-chip {
    font-family: 'SFMono-Regular', Consolas, monospace; font-size: 19px; font-weight: 700;
    letter-spacing: 5px; color: var(--primary); background: var(--blue-light);
    display: inline-block; padding: 6px 14px; border-radius: 8px;
    border: 1.5px dashed #93c5fd;
  }

  /* 16. Abonnement — highlight the price */
  .price-highlight {
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    border-radius: 12px; padding: 14px 18px !important; border: 1px solid #dbeafe;
  }
}

/* ===== LANDING PAGE ===== */
.lp-wrapper { background: #fff; color: #1e293b; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; overflow-x: hidden; }

/* Nav */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  padding: 0 24px; height: 64px;
  display: flex; align-items: center;
}
.lp-nav-inner {
  max-width: 1160px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.lp-logo { font-size: 24px; font-weight: 900; color: #1e293b; letter-spacing: -.5px; display: flex; align-items: center; }
.lp-logo span { color: #2563eb; }
.lp-logo-img { height: 42px; width: auto; display: block; }
.lp-nav-actions { display: flex; align-items: center; gap: 10px; }
.lp-btn-ghost {
  padding: 8px 18px; border: none; background: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: #475569; border-radius: 8px; transition: color .15s;
}
.lp-btn-ghost:hover { color: #2563eb; }
.lp-btn-cta {
  padding: 9px 20px; background: #2563eb; color: #fff; border: none;
  border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background .15s, transform .1s; white-space: nowrap;
}
.lp-btn-cta:hover { background: #1d4ed8; transform: translateY(-1px); }

/* Container */
.lp-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.lp-hero {
  background: linear-gradient(-45deg, #0f172a, #0c1520, #1e3a5f, #1a2f6e, #0f172a);
  background-size: 400% 400%;
  animation: lp-gradient 18s ease infinite;
  padding: 140px 0 80px; overflow: hidden; position: relative;
}
@keyframes lp-gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.lp-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(99,102,241,.2) 0%, transparent 60%);
}
.lp-hero-blob {
  position: absolute; pointer-events: none; z-index: 0;
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
}
.lp-hero-blob-1 {
  top: -80px; left: -60px; width: 480px; height: 480px;
  background: radial-gradient(circle at 35% 35%, rgba(37,99,235,.75), rgba(37,99,235,.2) 55%, transparent 72%);
  animation: lp-blob-float-1 16s ease-in-out infinite;
}
.lp-hero-blob-2 {
  bottom: -100px; right: -40px; width: 380px; height: 380px;
  border-radius: 60% 40% 38% 62% / 55% 65% 35% 45%;
  background: radial-gradient(circle at 60% 55%, rgba(124,58,237,.65), rgba(124,58,237,.16) 55%, transparent 72%);
  animation: lp-blob-float-2 13s ease-in-out infinite;
}
.lp-hero-blob-3 {
  top: 30%; left: 55%; width: 300px; height: 300px;
  border-radius: 55% 45% 62% 38% / 40% 55% 45% 60%;
  background: radial-gradient(circle at 45% 50%, rgba(37,99,235,.5), rgba(37,99,235,.12) 55%, transparent 72%);
  animation: lp-blob-float-3 15s ease-in-out infinite;
}
@keyframes lp-blob-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 35px) scale(1.08); }
}
@keyframes lp-blob-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, -30px) scale(1.1); }
}
@keyframes lp-blob-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.06); }
}
.lp-hero-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.lp-badge-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.lp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); color: #93c5fd;
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(255,255,255,.15);
}
.lp-hero h1 {
  font-size: 52px; font-weight: 900; color: #fff; line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 20px;
}
.lp-hero h1 em { font-style: normal; color: #60a5fa; }
.lp-hero p {
  font-size: 18px; color: #94a3b8; line-height: 1.65; margin-bottom: 36px; max-width: 460px;
}
.lp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.lp-btn-hero {
  padding: 14px 28px; background: #2563eb; color: #fff; border: none;
  border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer;
  transition: all .15s; box-shadow: 0 4px 24px rgba(37,99,235,.5);
}
.lp-btn-hero:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,99,235,.6); }
.lp-btn-ghost-white {
  padding: 14px 24px; background: rgba(255,255,255,.1); color: #cbd5e1;
  border: 1px solid rgba(255,255,255,.2); border-radius: 10px; font-size: 15px;
  font-weight: 600; cursor: pointer; transition: all .15s;
}
.lp-btn-ghost-white:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ===== HERO ENTRANCE ANIMATIONS ===== */
@keyframes lp-fade-up   { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:none; } }
@keyframes lp-fade-down { from { opacity:0; transform:translateY(-20px);} to { opacity:1; transform:none; } }
@keyframes lp-fade-in   { from { opacity:0; }                             to { opacity:1; } }
@keyframes lp-float     { 0%,100% { transform:perspective(800px) rotateY(-8deg) rotateX(2deg) translateY(0); }
                          50%     { transform:perspective(800px) rotateY(-8deg) rotateX(2deg) translateY(-12px); } }

.lp-hero-badge   { animation: lp-fade-down .5s cubic-bezier(.22,1,.36,1) both .1s; }
.lp-hero-text h1 { animation: lp-fade-up   .65s cubic-bezier(.22,1,.36,1) both .3s; }
.lp-hero-text > p { animation: lp-fade-up  .65s cubic-bezier(.22,1,.36,1) both .48s; }
.lp-hero-actions { animation: lp-fade-up   .65s cubic-bezier(.22,1,.36,1) both .6s; }

/* ===== SCROLL REVEAL ===== */
.lp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
  transition-delay: calc(var(--ri, 0) * 90ms);
}
.lp-reveal.lp-visible { opacity: 1; transform: none; }

/* ===== HOVER LIFTS ===== */
.lp-feature-card {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  cursor: pointer;
}
.lp-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(37,99,235,.13);
  border-color: #bfdbfe;
}
/* pain flip handled below — placeholder kept to avoid gap */

.lp-testimonial { transition: transform .2s ease, box-shadow .2s ease; cursor: default; }
.lp-testimonial:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.07); }

/* ===== PRICING CTA PULSE ===== */
@keyframes lp-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); } 60% { box-shadow: 0 0 0 10px rgba(37,99,235,.18); } }
.lp-pricing-cta { animation: lp-pulse 2.8s ease-in-out infinite 1.5s; }
.lp-pricing-cta:hover { animation: none; transform: translateY(-2px); }

/* ===== ENHANCED ANIMATION VARIANTS ===== */
.lp-reveal-left  { opacity: 0; transform: translateX(-65px) scale(.96); }
.lp-reveal-right { opacity: 0; transform: translateX(65px)  scale(.96); }
.lp-reveal-zoom  { opacity: 0; transform: scale(.80) translateY(28px); }
.lp-reveal-left, .lp-reveal-right, .lp-reveal-zoom {
  transition: opacity .78s cubic-bezier(.22,1,.36,1), transform .78s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--rd, 0s);
}
.lp-reveal-left.lp-visible,
.lp-reveal-right.lp-visible,
.lp-reveal-zoom.lp-visible { opacity: 1; transform: none; }

/* Feature icon hover */
.lp-feature-icon {
  display: inline-block;
  transition: transform .35s cubic-bezier(.22,1,.36,1), filter .3s ease;
}
.lp-feature-card:hover .lp-feature-icon {
  transform: scale(1.35) rotate(10deg);
  filter: drop-shadow(0 4px 18px rgba(37,99,235,.55));
}

/* Spotlight on dark sections */
.lp-spotlight { position: relative; overflow: hidden; }
.lp-spotlight::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--sx,-200px) var(--sy,-200px), rgba(99,102,241,.17) 0%, transparent 65%);
  z-index: 0;
}
.lp-spotlight > * { position: relative; z-index: 1; }

/* Particles (JS-created) */
.lp-particle {
  position: fixed; border-radius: 50%; pointer-events: none; z-index: 99999;
  transition-property: transform, opacity;
  transition-timing-function: cubic-bezier(.22,1,.36,1);
}

/* Number blur-in on count start */
@keyframes lp-num-blur { from { filter: blur(8px) brightness(1.7); } to { filter: none; } }
.lp-counting { animation: lp-num-blur .55s ease forwards; }

/* ===== STATS COUNTER ===== */
.lp-stat-num { display: inline-block; }

/* App Mockup */
.lp-mockup {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1);
  transform: perspective(800px) rotateY(-8deg) rotateX(2deg);
  transition: transform .4s ease;
}
.lp-mockup:hover { transform: perspective(800px) rotateY(-4deg) rotateX(1deg); }
.lp-mockup-bar {
  background: #1e293b; padding: 10px 16px;
  display: flex; align-items: center; gap: 6px;
}
.lp-mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.lp-mockup-sidebar {
  position: absolute; left: 0; top: 34px; bottom: 0; width: 52px;
  background: #1e293b; display: flex; flex-direction: column; align-items: center;
  padding: 12px 0; gap: 4px;
}
.lp-mockup-nav {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.lp-mockup-nav.active { background: #2563eb; }
.lp-mockup-body { display: flex; height: 280px; position: relative; }
.lp-mockup-main { flex: 1; background: #f1f5f9; padding: 14px; margin-left: 52px; }
.lp-mockup-title {
  font-size: 11px; font-weight: 800; color: #1e293b; margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: .5px;
}
.lp-wb-row {
  background: #fff; border-radius: 8px; padding: 10px 12px; margin-bottom: 7px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.07);
}
.lp-wb-icon { font-size: 18px; }
.lp-wb-info { flex: 1; }
.lp-wb-name { font-size: 11px; font-weight: 700; color: #1e293b; }
.lp-wb-sub { font-size: 10px; color: #64748b; margin-top: 1px; }
.lp-wb-badge {
  font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 10px;
}
.lp-wb-badge.green { background: #dcfce7; color: #16a34a; }
.lp-wb-badge.orange { background: #ffedd5; color: #ea580c; }
.lp-wb-badge.blue { background: #dbeafe; color: #2563eb; }

/* Stats bar */
.lp-stats {
  background: #fff; padding: 32px 24px;
  position: relative; overflow: hidden;
}
.lp-stats::before {
  content: ''; position: absolute; top: -60%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 260px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(37,99,235,.16) 0%, transparent 70%);
}
.lp-stats > * { position: relative; z-index: 1; }
.lp-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.lp-stats-grid > div {
  padding: 0 24px;
  border-right: 1px solid #e2e8f0;
}
.lp-stats-grid > div:first-child { padding-left: 0; }
.lp-stats-grid > div:last-child { border-right: none; padding-right: 0; }
.lp-stat-num { font-size: 30px; font-weight: 900; color: #1e293b; line-height: 1; }
.lp-stat-label { font-size: 12px; color: #64748b; margin-top: 6px; line-height: 1.4; }

/* Sections
   Note: sections intentionally do NOT clip (overflow: hidden) their decorative
   blobs — .lp-wrapper clips horizontally instead. This lets each blob bleed
   across the boundary into the next section instead of being hard-cut at the
   section edge (which used to show up as a visible "seam" between sections). */
.lp-section { padding: 80px 0; position: relative; }
.lp-section::before {
  content: ''; position: absolute; top: 20%; left: -220px; width: 460px; height: 460px;
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  background: radial-gradient(circle at 40% 40%, rgba(37,99,235,.62), transparent 68%);
  pointer-events: none;
  animation: lp-blob-float-1 17s ease-in-out infinite;
}
.lp-section::after {
  content: ''; position: absolute; bottom: 10%; right: -220px; width: 480px; height: 480px;
  border-radius: 60% 40% 38% 62% / 55% 65% 35% 45%;
  background: radial-gradient(circle at 60% 60%, rgba(124,58,237,.57), transparent 68%);
  pointer-events: none;
  animation: lp-blob-float-2 14s ease-in-out infinite;
}
.lp-section > * { position: relative; z-index: 1; }
.lp-section-alt { background: #fff; padding: 80px 0; position: relative; }
.lp-section-alt::before {
  content: ''; position: absolute; top: -180px; right: -160px; width: 540px; height: 540px;
  border-radius: 55% 45% 62% 38% / 40% 55% 45% 60%;
  background: radial-gradient(circle at 40% 40%, rgba(37,99,235,.66), transparent 68%);
  pointer-events: none;
  animation: lp-blob-float-2 15s ease-in-out infinite;
}
.lp-section-alt::after {
  content: ''; position: absolute; bottom: -200px; left: -180px; width: 500px; height: 500px;
  border-radius: 38% 62% 55% 45% / 60% 35% 65% 40%;
  background: radial-gradient(circle at 60% 60%, rgba(124,58,237,.62), transparent 68%);
  pointer-events: none;
  animation: lp-blob-float-1 12s ease-in-out infinite;
}
.lp-section-alt > * { position: relative; z-index: 1; }
.lp-section h2, .lp-section-alt h2 {
  font-size: 38px; font-weight: 900; color: #0f172a; text-align: center;
  letter-spacing: -1px; margin-bottom: 14px; line-height: 1.2;
}
.lp-section-sub {
  text-align: center; font-size: 17px; color: #64748b; max-width: 540px;
  margin: 0 auto 56px; line-height: 1.6;
}

/* Pain points — flip cards */
.lp-pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.lp-pain-card { perspective: 900px; min-height: 170px; }
.lp-pain-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.22,1,.36,1);
}
.lp-pain-card:hover .lp-pain-inner { transform: rotateY(180deg); }
.lp-pain-front, .lp-pain-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 14px;
}
.lp-pain-front {
  background: #fff; border: 1px solid #e2e8f0;
  padding: 32px 24px; min-height: 170px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.lp-pain-back {
  position: absolute; inset: 0;
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border: 1px solid #bfdbfe;
  padding: 28px 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.lp-pain-icon { font-size: 42px; margin-bottom: 14px; display: block; }
.lp-pain-front h3 { font-size: 18px; font-weight: 800; color: #0f172a; margin: 0; }
.lp-pain-back .lp-pain-icon { font-size: 28px; margin-bottom: 10px; }
.lp-pain-back p { font-size: 15px; font-weight: 600; color: #1e293b; line-height: 1.6; margin: 0; }

/* Feature grid */
.lp-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.lp-feature-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.lp-feature-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); transform: translateY(-2px); }
.lp-feature-icon {
  width: 52px; height: 52px; border-radius: 14px; background: #eff6ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.lp-feature-card h3 { font-size: 16px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.lp-feature-card p { font-size: 14px; color: #64748b; line-height: 1.55; }

/* How it works */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 56px; position: relative; }
.lp-steps::before {
  content: ''; position: absolute; top: 28px; left: calc(16.6% + 28px); right: calc(16.6% + 28px);
  height: 2px; background: linear-gradient(90deg, #2563eb, #7c3aed); z-index: 0;
  transform-origin: left; transform: scaleX(0);
  transition: transform 1.4s cubic-bezier(.22,1,.36,1) .2s;
}
.lp-steps.lp-connector-go::before { transform: scaleX(1); }

/* Step flip card */
.lp-step { text-align: center; position: relative; perspective: 900px; }
.lp-step-inner {
  position: relative; min-height: 210px;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.lp-step:hover .lp-step-inner { transform: rotateY(180deg); }
.lp-step-front, .lp-step-back { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.lp-step-front { text-align: center; }
.lp-step-back {
  position: absolute; inset: 0;
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  border-radius: 20px; padding: 28px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff;
}
.lp-step-back-emoji { font-size: 34px; margin-bottom: 10px; }
.lp-step-back p { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,.9); margin: 0; }
.lp-step-num {
  width: 56px; height: 56px; border-radius: 50%; background: #2563eb; color: #fff;
  font-size: 22px; font-weight: 900; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px #eff6ff;
}
.lp-step h3 { font-size: 17px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.lp-step-front p { font-size: 14px; color: #64748b; line-height: 1.55; }

/* ROI */
.lp-roi { background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%); padding: 80px 0; }
.lp-roi h2 { color: #fff; text-align: center; }
.lp-roi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.lp-roi-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px; padding: 32px; text-align: center; backdrop-filter: blur(8px);
}
.lp-roi-num { font-size: 38px; font-weight: 900; color: #fff; line-height: 1.1; word-break: break-word; overflow-wrap: break-word; }
.lp-roi-unit { font-size: 16px; color: #93c5fd; font-weight: 700; }
.lp-roi-label { font-size: 14px; color: #94a3b8; margin-top: 8px; line-height: 1.5; }

/* Testimonials */
.lp-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.lp-testimonial {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.lp-stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; }
.lp-testimonial-text { font-size: 15px; color: #334155; line-height: 1.65; font-style: italic; flex: 1; }
.lp-testimonial-author { display: flex; align-items: center; gap: 12px; }
.lp-author-avatar {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 18px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.lp-author-name { font-size: 14px; font-weight: 700; color: #0f172a; }
.lp-author-role { font-size: 12px; color: #64748b; }

/* Pricing */
.lp-pricing-card {
  max-width: 480px; margin: 48px auto 0; background: #fff;
  border: 2px solid #2563eb; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(37,99,235,.15);
}
.lp-pricing-header {
  background: linear-gradient(135deg, #2563eb, #1d4ed8); padding: 32px;
  text-align: center; color: #fff;
}
.lp-pricing-header h3 { font-size: 18px; font-weight: 700; opacity: .8; margin-bottom: 8px; }
.lp-pricing-price { font-size: 56px; font-weight: 900; line-height: 1; }
.lp-pricing-price span { font-size: 22px; font-weight: 400; opacity: .7; }
.lp-pricing-trial { font-size: 14px; opacity: .8; margin-top: 8px; }
.lp-pricing-body { padding: 32px; }
.lp-pricing-feature {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid #f1f5f9; font-size: 15px; color: #334155;
}
.lp-pricing-feature:last-child { border-bottom: none; }
.lp-pricing-check { color: #16a34a; font-size: 18px; flex-shrink: 0; }
.lp-pricing-cta {
  width: 100%; padding: 16px; background: #2563eb; color: #fff; border: none;
  border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer;
  margin-top: 24px; transition: background .15s, transform .1s;
}
.lp-pricing-cta:hover { background: #1d4ed8; transform: translateY(-1px); }
.lp-pricing-note { text-align: center; font-size: 12px; color: #94a3b8; margin-top: 10px; line-height: 1.5; word-break: break-word; white-space: normal; }

/* FAQ */
.lp-faq { max-width: 720px; margin: 48px auto 0; }
.lp-faq-item {
  border-bottom: 1px solid #e2e8f0; overflow: hidden;
}
.lp-faq-q {
  width: 100%; padding: 20px 0; background: none; border: none; cursor: pointer;
  text-align: left; font-size: 16px; font-weight: 700; color: #0f172a;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.lp-faq-q:hover { color: #2563eb; }
.lp-faq-icon { font-size: 20px; flex-shrink: 0; color: #94a3b8; transition: transform .2s; }
.lp-faq-item.open .lp-faq-icon { transform: rotate(45deg); color: #2563eb; }
.lp-faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  font-size: 15px; color: #64748b; line-height: 1.65;
}
.lp-faq-item.open .lp-faq-a { max-height: 200px; padding-bottom: 20px; }

/* Final CTA */
.lp-final-cta {
  background: #0f172a; padding: 100px 24px; text-align: center;
}
.lp-final-cta h2 {
  font-size: 44px; font-weight: 900; color: #fff; margin-bottom: 16px;
  letter-spacing: -1px; line-height: 1.15;
}
.lp-final-cta h2 em { font-style: normal; color: #60a5fa; }
.lp-final-cta p { font-size: 17px; color: #94a3b8; margin-bottom: 36px; }
.lp-final-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.lp-footer {
  background: #0f172a; border-top: 1px solid rgba(255,255,255,.07);
  padding: 32px 24px; text-align: center;
}
.lp-footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.lp-footer-logo { font-size: 16px; font-weight: 900; color: #fff; }
.lp-footer-logo span { color: #3b82f6; }
.lp-footer-logo-img { height: 28px; width: auto; display: block; }
.lp-footer-links { display: flex; gap: 20px; }
.lp-footer-links a { font-size: 13px; color: #64748b; text-decoration: none; }
.lp-footer-links a:hover { color: #94a3b8; }
.lp-footer-copy { font-size: 12px; color: #475569; }

/* ===== SIGNUP FUNNEL ===== */
.signup-funnel-wrapper {
  min-height: 100vh; display: flex; align-items: stretch; background: transparent; position: relative; z-index: 1;
}
.signup-funnel-left {
  width: 380px; flex-shrink: 0; background: #0f172a; padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.signup-funnel-left::before {
  content: ''; position: absolute; top: -100px; right: -120px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(99,102,241,.35), rgba(99,102,241,.05) 55%, transparent 72%);
  pointer-events: none;
}
.signup-funnel-left::after {
  content: ''; position: absolute; bottom: -140px; left: -100px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle at 60% 60%, rgba(37,99,235,.3), rgba(37,99,235,.04) 55%, transparent 72%);
  pointer-events: none;
}
.signup-funnel-left > * { position: relative; z-index: 1; }
.signup-funnel-right {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 40px 32px;
}
.signup-funnel-form-card {
  width: 100%; max-width: 420px;
  background: linear-gradient(160deg, rgba(219,234,254,.6), rgba(191,219,254,.5));
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(37,99,235,.25);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(37,99,235,.18);
}
.signup-funnel-logo {
  font-size: 22px; font-weight: 900; color: #fff; letter-spacing: -.5px; margin-bottom: 32px; cursor: pointer;
}
.signup-funnel-logo span { color: #60a5fa; }
.signup-funnel-logo-img { height: 36px; width: auto; display: block; }
.signup-funnel-tagline {
  font-size: 24px; font-weight: 900; color: #fff; line-height: 1.25; margin-bottom: 10px;
}
.signup-funnel-sub {
  font-size: 14px; color: #94a3b8; line-height: 1.6; margin-bottom: 32px;
}
.signup-funnel-benefits { list-style: none; padding: 0; margin: 0 0 32px; }
.signup-funnel-benefits li {
  font-size: 14px; color: #cbd5e1; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06); display: flex; align-items: flex-start; gap: 10px; line-height: 1.4;
}
.signup-funnel-benefits li:last-child { border-bottom: none; }
.signup-funnel-benefits li span.check { color: #34d399; font-weight: 800; flex-shrink: 0; }
.signup-funnel-trust {
  font-size: 12px; color: #475569; display: flex; gap: 16px; flex-wrap: wrap;
}
.signup-funnel-trust span { display: flex; align-items: center; gap: 5px; }
.signup-form-title {
  font-size: 22px; font-weight: 900; color: #0f172a; margin-bottom: 4px;
}
.signup-form-subtitle {
  font-size: 14px; color: #64748b; margin-bottom: 24px;
}
.signup-form-subtitle a { color: #2563eb; text-decoration: none; font-weight: 600; }
.signup-form-subtitle a:hover { text-decoration: underline; }
.signup-trial-badge {
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px;
  padding: 10px 14px; font-size: 13px; color: #16a34a; font-weight: 600;
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
}
.signup-form-note {
  text-align: center; font-size: 11px; color: #94a3b8; margin-top: 12px; line-height: 1.5;
}
@media (max-width: 860px) {
  .signup-funnel-left { display: none; }
  .signup-funnel-wrapper { background: transparent; }
  .signup-funnel-right { padding: 24px 16px; }
}

.lp-insight-h { min-height: 52px; }

/* ===== FEATURE DETAIL PAGE ===== */
.lp-fd-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lp-fd-back { display: inline-flex; align-items: center; gap: 6px; color: #2563eb; font-weight: 700; font-size: 14px; cursor: pointer; margin: 32px 0 40px; padding: 8px 0; text-decoration: none; }
.lp-fd-back:hover { opacity: .75; }
.lp-fd-header { text-align: center; margin-bottom: 64px; }
.lp-fd-icon { font-size: 52px; margin-bottom: 16px; }
.lp-fd-header h1 { font-size: 40px; font-weight: 900; color: #0f172a; letter-spacing: -1px; margin-bottom: 12px; }
.lp-fd-header p { font-size: 18px; color: #64748b; max-width: 540px; margin: 0 auto; line-height: 1.6; }
.lp-fd-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; margin-bottom: 80px; }
.lp-fd-bullets { list-style: none; margin: 0 0 36px; padding: 0; }
.lp-fd-bullets li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: #334155; line-height: 1.6; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
.lp-fd-bullets li:last-child { border-bottom: none; }
.lp-fd-cta { display: inline-flex; align-items: center; gap: 8px; background: #2563eb; color: #fff; font-weight: 800; font-size: 15px; padding: 14px 28px; border-radius: 10px; cursor: pointer; text-decoration: none; border: none; transition: transform .2s, box-shadow .2s; }
.lp-fd-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,.3); }

/* App mockup (feature detail) */
.lp-fd-mockup { background: #fff; border-radius: 20px; border: 1px solid #e2e8f0; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.09), 0 4px 16px rgba(0,0,0,.04); }
.lp-fd-bar { background: #f1f5f9; padding: 10px 16px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #e2e8f0; font-size: 12px; color: #64748b; font-weight: 600; }
.lp-fd-dots { display: flex; gap: 5px; margin-right: 8px; }
.lp-fd-dot { width: 10px; height: 10px; border-radius: 50%; }
.lp-fd-content { padding: 20px; min-height: 300px; background: #f8fafc; }
.fd-row { background: #fff; border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.fd-badge { padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.fd-badge.open   { background: #dbeafe; color: #1d4ed8; }
.fd-badge.bezig  { background: #fef9c3; color: #a16207; }
.fd-badge.klaar  { background: #dcfce7; color: #166534; }
.fd-label { font-size: 13px; font-weight: 700; color: #0f172a; }
.fd-sub   { font-size: 12px; color: #64748b; }
.fd-plan-grid { display: grid; grid-template-columns: 80px repeat(5,1fr); gap: 1px; background: #e2e8f0; border-radius: 8px; overflow: hidden; font-size: 11px; }
.fd-plan-cell { background: #fff; padding: 6px 8px; min-height: 32px; }
.fd-plan-cell.head { background: #1e293b; color: #fff; font-weight: 700; font-size: 11px; }
.fd-plan-block { background: #dbeafe; color: #1e3a8a; border-radius: 4px; padding: 4px 6px; font-size: 11px; font-weight: 600; margin-bottom: 2px; }
.fd-plan-block.g { background: #dcfce7; color: #14532d; }
.fd-timer { text-align: center; padding: 24px 16px; }
.fd-timer-num { font-size: 48px; font-weight: 900; color: #0f172a; font-variant-numeric: tabular-nums; letter-spacing: -1px; }
.fd-timer-label { font-size: 13px; color: #64748b; margin-bottom: 20px; }
.fd-timer-btns { display: flex; gap: 10px; justify-content: center; }
.fd-timer-btn { padding: 8px 18px; border-radius: 8px; font-weight: 700; font-size: 13px; cursor: default; }
.fd-timer-btn.start { background: #dcfce7; color: #166534; }
.fd-timer-btn.pause { background: #fef9c3; color: #a16207; }
.fd-timer-btn.stop  { background: #fee2e2; color: #991b1b; }
.fd-file-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.fd-file-thumb { border-radius: 8px; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 22px; background: #eff6ff; border: 1px solid #dbeafe; }
.fd-file-thumb.pdf { background: #fff1f2; border-color: #fecdd3; }
.fd-notif { display: flex; gap: 10px; align-items: flex-start; background: #fff; border-radius: 10px; padding: 12px; margin-bottom: 8px; border-left: 3px solid #2563eb; }
.fd-notif-icon { font-size: 20px; }
.fd-notif-text { font-size: 12px; color: #334155; line-height: 1.5; }
.fd-notif-time { font-size: 11px; color: #94a3b8; margin-top: 2px; }

@media (max-width: 860px) {
  .lp-fd-body { grid-template-columns: 1fr; }
  .lp-fd-header h1 { font-size: 28px; }
}

/* Language select — shown at all sizes, right-most in the nav */
.lp-lang-select {
  display: block;
  border: 1px solid #e2e8f0; border-radius: 6px; padding: 5px 8px;
  font-size: 12px; font-weight: 700; color: #1e293b; background: #fff;
  cursor: pointer; outline: none;
}
/* Badge-side lang selector only exists for mobile layout; hidden by default (desktop) */
.lp-lang-select-badge { display: none; }

/* ===== RESPONSIVE LANDING ===== */
@media (max-width: 900px) {
  .lp-hero-inner { grid-template-columns: 1fr; }
  .lp-mockup { display: none; }
  .lp-hero h1 { font-size: 34px; }
  .lp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-pain-grid,
  .lp-feature-grid,
  .lp-testimonial-grid,
  .lp-roi-grid { grid-template-columns: 1fr; }
  .lp-steps { grid-template-columns: 1fr; gap: 24px; }
  .lp-steps::before { display: none; }
  .lp-section h2, .lp-section-alt h2 { font-size: 28px; }
  .lp-roi h2 { font-size: 28px; }
  .lp-final-cta h2 { font-size: 28px; }
  .lp-footer-inner { flex-direction: column; text-align: center; }
  .lp-section, .lp-section-alt { padding: 56px 0; }
  .lp-roi { padding: 56px 0; }
  /* WHY 3-col → 1-col */
  .lp-why-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  /* Insight 2-col → 1-col */
  .lp-insight-grid { grid-template-columns: 1fr !important; }
  [data-lp-dark] { padding: 48px 0 !important; }

  /* Decorative blobs: fewer, smaller and softer on mobile — full desktop size/opacity
     looked oversized and overwhelming on narrow screens. */
  .lp-hero-blob-3 { display: none; }
  .lp-hero-blob-1 { width: 260px; height: 260px; top: -50px; left: -50px; }
  .lp-hero-blob-2 { width: 200px; height: 200px; bottom: -60px; right: -30px; }
  .lp-section::before, .lp-section-alt::before {
    width: 260px; height: 260px;
  }
  .lp-section::after, .lp-section-alt::after {
    width: 260px; height: 260px;
  }
  .lp-section::before { background: radial-gradient(circle at 40% 40%, rgba(37,99,235,.4), transparent 68%); }
  .lp-section::after { background: radial-gradient(circle at 60% 60%, rgba(124,58,237,.35), transparent 68%); }
  .lp-section-alt::before { background: radial-gradient(circle at 40% 40%, rgba(37,99,235,.42), transparent 68%); }
  .lp-section-alt::after { background: radial-gradient(circle at 60% 60%, rgba(124,58,237,.4), transparent 68%); }
}

@media (max-width: 600px) {
  /* ---- NAV: smaller, less busy ---- */
  .lp-lang-select { font-size: 11px !important; padding: 4px 6px !important; }
  .lp-logo { font-size: 18px !important; letter-spacing: 0 !important; }
  .lp-logo-img { height: 31px !important; }
  .lp-btn-ghost { font-size: 12px !important; padding: 6px 8px !important; color: #475569 !important; }
  .lp-btn-cta { font-size: 11px !important; padding: 6px 10px !important; border-radius: 6px !important; }
  /* Lang selector moves out of the header on mobile — it now lives next to the hero badge */
  .lp-lang-select-header { display: none !important; }
  /* Login stacked above the CTA; nav-inner's align-items:center keeps the logo vertically centered against the pair */
  .lp-nav-actions { flex-direction: column; align-items: stretch !important; gap: 4px; }

  /* ---- HERO: single column, clean ---- */
  .lp-hero { padding: 76px 0 28px; }
  .lp-hero-inner { grid-template-columns: 1fr !important; gap: 20px !important; align-items: flex-start !important; }
  .lp-hero h1 { font-size: 26px; line-height: 1.2; margin-bottom: 10px; letter-spacing: -.5px; }
  .lp-hero p {
    font-size: 13px; margin-bottom: 16px; line-height: 1.5; max-width: 100%;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .lp-hero-badge { font-size: 11px !important; padding: 5px 12px !important; margin-bottom: 14px !important; }
  /* Badge: drop the "billed after trial" text, show the lang selector to its right (outside the pill) */
  .lp-badge-sep, .lp-badge-rest { display: none !important; }
  .lp-lang-select-badge { display: inline-block !important; font-size: 11px !important; padding: 4px 6px !important; width: 74px !important; flex-shrink: 0; }
  .lp-hero-actions { flex-direction: column; gap: 8px; align-items: flex-start; }
  .lp-hero-actions .lp-btn-hero { font-size: 13px !important; padding: 10px 18px !important; width: 100% !important; text-align: center; }
  .lp-hero-actions .lp-btn-ghost-white { font-size: 12px !important; padding: 9px 18px !important; width: 100% !important; text-align: center; }

  /* ---- MOCKUP: show a small, flat (non-rotated) preview under the CTAs ---- */
  .lp-mockup {
    display: block !important; margin: 22px auto 0; max-width: 300px;
    transform: none !important; box-shadow: 0 16px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08);
  }
  .lp-mockup:hover { transform: none !important; }
  .lp-mockup-body { height: 220px; }
  .lp-mockup-sidebar { width: 40px; }
  .lp-mockup-main { margin-left: 40px; padding: 10px; }
  .lp-mockup-nav { font-size: 14px; }

  /* ---- SECTIONS ---- */
  .lp-section, .lp-section-alt { padding: 36px 0; }
  .lp-roi { padding: 36px 0; }
  [data-lp-dark] { padding: 36px 0 !important; }
  .lp-section h2, .lp-section-alt h2 { font-size: 20px; letter-spacing: -.5px; }
  .lp-roi h2 { font-size: 20px; }
  .lp-section-sub { font-size: 13px; margin-bottom: 22px; }

  /* ---- STATS BAR: 4-in-a-row ---- */
  .lp-stats-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 0; }
  .lp-stats-grid > div { padding: 0 6px; }
  .lp-stat-num { font-size: 15px; }
  .lp-stat-label { font-size: 8px; margin-top: 3px; line-height: 1.3; }

  /* ---- PAIN CARDS: 2x2 grid, smaller back text ---- */
  .lp-pain-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .lp-pain-card { min-height: 120px !important; perspective: 600px; cursor: pointer; }
  .lp-pain-inner { min-height: 120px; }
  .lp-pain-front { min-height: 120px !important; padding: 16px 10px; }
  .lp-pain-front h3 { font-size: 12px; }
  .lp-pain-icon { font-size: 24px; margin-bottom: 8px; }
  .lp-pain-back { padding: 14px 10px !important; }
  .lp-pain-back p { font-size: 11px !important; line-height: 1.45 !important; font-weight: 500 !important; }
  .lp-pain-back .lp-pain-icon { font-size: 20px; margin-bottom: 6px; }

  /* Add subtle tap hint to pain cards */
  .lp-pain-front::after {
    content: 'Tik ↩'; display: block; font-size: 10px; color: #94a3b8;
    margin-top: 6px; font-weight: 600;
  }

  /* ---- WHY SECTION: 3-column compact, icon + title only ---- */
  .lp-why-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; margin-top: 18px !important; }
  .lp-why-grid > div { padding: 0 2px !important; display: block !important; text-align: center !important; }
  .lp-why-grid > div > div:first-child { width: 42px !important; height: 42px !important; font-size: 20px !important; margin: 0 auto 8px !important; }
  .lp-why-grid h3 { font-size: 10px !important; margin-bottom: 0 !important; line-height: 1.3; }
  .lp-why-grid p { display: none !important; }

  /* ---- FEATURE CARDS: 3-column, icon + title only ---- */
  .lp-feature-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 7px !important; }
  .lp-feature-card { padding: 14px 8px !important; }
  .lp-feature-card p { display: none !important; }
  .lp-feature-more { display: none !important; }
  .lp-feature-card h3 { font-size: 10px !important; margin-bottom: 0 !important; line-height: 1.3; }
  .lp-feature-icon { width: 32px !important; height: 32px !important; font-size: 16px !important; margin-bottom: 8px !important; }

  /* ---- STEPS: no 3D flip on mobile, use toggle ---- */
  .lp-step { cursor: pointer; }
  .lp-step-inner { min-height: 160px; transform-style: flat !important; -webkit-transform-style: flat !important; transition: none !important; }
  .lp-step:hover .lp-step-inner { transform: none !important; }
  .lp-step-back { transform: none !important; position: absolute; inset: 0; display: none; }
  .lp-step.lp-step-flipped .lp-step-front { display: none; }
  .lp-step.lp-step-flipped .lp-step-back { display: flex; border-radius: 20px; }
  .lp-step-num { transition: box-shadow .2s; }
  .lp-step:not(.lp-step-flipped) .lp-step-num:active { box-shadow: 0 0 0 12px rgba(37,99,235,.2) !important; }

  /* ---- INSIGHT SECTION: 2 columns side by side, compact ---- */
  .lp-insight-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .lp-insight-card { padding: 16px 12px !important; }
  .lp-insight-card h3 { font-size: 13px !important; line-height: 1.3; margin-bottom: 8px !important; }
  .lp-insight-h { min-height: 65px !important; }
  .lp-ins-p { display: none !important; }

  /* ---- ROI CARDS ---- */
  .lp-roi-num { font-size: 26px; }

  /* ---- PRICING: fix price overflow ---- */
  .lp-pricing-price { font-size: 42px !important; }
  .lp-pricing-header { padding: 24px 20px !important; }

  /* ---- FINAL CTA ---- */
  .lp-final-cta { padding: 48px 20px; }
  .lp-final-cta h2 { font-size: 20px; }
  .lp-btn-hero { font-size: 14px; padding: 13px 22px; }
}

/* ===== STEP CLICK HINT (mobile only) ===== */
.lp-step-click-hint {
  display: none;
  font-size: 11px; color: var(--primary); font-weight: 700;
  margin-top: 10px; background: #eff6ff; border-radius: 6px;
  padding: 4px 10px; display: inline-block; letter-spacing: .2px;
}
@media (max-width: 600px) {
  .lp-step-click-hint { display: inline-block; }
}

/* ===== SIGNUP FUNNEL MOBILE HEADER ===== */
.signup-mobile-hero {
  display: none;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  padding: 24px 20px 20px;
}
.signup-mobile-hero-logo {
  font-size: 22px; font-weight: 900; color: #fff; letter-spacing: -.5px; cursor: pointer; margin-bottom: 6px;
}
.signup-mobile-hero-logo-img { height: 34px; width: auto; display: block; }
.signup-mobile-hero-logo span { color: #60a5fa; }
.signup-mobile-hero-sub { font-size: 13px; color: #94a3b8; margin-bottom: 12px; }
.signup-mobile-hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.signup-mobile-hero-badges span { font-size: 11px; color: #34d399; font-weight: 600; }

@media (max-width: 860px) {
  .signup-mobile-hero { display: block; }
  .signup-funnel-wrapper { flex-direction: column; }
  .signup-funnel-right { padding: 24px 20px; align-items: center; }
  .signup-funnel-form-card {
    padding: 0; max-width: 480px; width: 100%;
    background: linear-gradient(160deg, rgba(219,234,254,.6), rgba(191,219,254,.5));
    backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: none; box-shadow: none; border-radius: 0;
  }
  .signup-funnel-form-card > div[onclick] { display: none !important; }
}
