/* ============================================
   IndieMerger Design System — "Refined Founder"
   Bricolage Grotesque + Outfit | Emerald Dark
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ──────────────────── */
:root {
  /* Typography */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  /* Colors — Surfaces */
  --bg-deep: #0c0f14;
  --bg-base: #111622;
  --bg-surface: #171d2b;
  --bg-elevated: #1e2535;
  --bg-hover: #252d40;
  --bg-light: #f6f8fb;

  /* Colors — Brand */
  --emerald: #10b981;
  --emerald-hover: #059669;
  --emerald-soft: rgba(16, 185, 129, 0.12);
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --teal: #4fd1c5;
  --teal-soft: rgba(79, 209, 197, 0.12);
  --teal-hover: #38b2ac;
  --gold: #f59e0b;
  --gold-soft: rgba(245, 158, 11, 0.12);
  --gold-hover: #d97706;

  /* Colors — Semantic */
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.12);
  --warning: #f59e0b;
  --info: #3b82f6;

  /* Colors — Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Colors — Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-active: rgba(16, 185, 129, 0.4);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 24px rgba(16, 185, 129, 0.15);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.15s var(--ease-out);
  --transition-base: 0.25s var(--ease-out);
  --transition-slow: 0.4s var(--ease-out);

  /* Sidebar */
  --sidebar-width: 270px;
}

/* ── Base & Reset ───────────────────────────── */

body {
  font-family: var(--font-body) !important;
  color: var(--text-primary) !important;
  background: var(--bg-deep) !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display) !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
}

li {
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: var(--emerald) !important;
  text-decoration: none !important;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--emerald-hover) !important;
}

::selection {
  background: var(--emerald-soft);
  color: var(--text-primary);
}

/* ── First Block / Landing Header ───────────── */

.first-block {
  background: var(--bg-deep);
  color: var(--text-primary);
  padding: 20px 0;
  position: relative;
}

.first-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.first-block a {
  color: var(--text-primary) !important;
}

.first-block a:hover {
  color: var(--text-secondary) !important;
}

.first-block .btn-primary-home {
  color: #ffffff !important;
}

.first-block .btn-primary-home:hover {
  color: #ffffff !important;
}

.first-block a.dropdown-item {
  color: #475569 !important;
}

.first-block a.dropdown-item:hover {
  color: var(--emerald) !important;
}

/* ── Table Links ────────────────────────────── */
td a {
  color: var(--emerald);
  text-decoration: none;
}

td a:hover {
  color: var(--emerald-hover);
}

/* ── Image Preview ──────────────────────────── */

.preview {
  display: flex;
  flex-wrap: wrap;
  padding: 0.5rem;
}

.preview-image {
  position: relative;
  margin-bottom: 0.5rem;
  margin-right: 0.5rem;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.preview-image.removing {
  transform: scale(0);
  transition: transform 0.3s;
}

.removing {
  transform: scale(0) !important;
  transition: transform 0.3s;
}

.preview-image img {
  width: 180px;
  height: auto;
}

.preview-image:hover .preview-remove {
  opacity: 1;
}

.preview-remove {
  opacity: 0;
  width: 24px;
  height: 24px;
  position: absolute;
  right: 4px;
  top: 4px;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity var(--transition-fast);
  border-radius: var(--radius-full);
  color: white;
  font-size: 12px;
}

.preview-info {
  position: absolute;
  right: 0;
  bottom: 26px;
  left: 0;
  height: 24px;
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
  transition: bottom var(--transition-base);
}

.preview-info-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: -7px;
  background: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width var(--transition-base);
}

.single {
  width: 300px;
  height: auto;
  padding: 10px;
}

.list {
  padding: 0;
}

/* ── Progress Bar ───────────────────────────── */

#progress-wrp {
  border: 1px solid var(--border-hover);
  padding: 1px;
  position: relative;
  height: 30px;
  border-radius: var(--radius-full);
  margin: 10px;
  text-align: left;
  background: var(--bg-surface);
}

#progress-wrp .progress-bar {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--emerald), var(--teal));
  width: 0;
}

#progress-wrp .status {
  top: 3px;
  left: 50%;
  position: absolute;
  display: inline-block;
  color: var(--text-primary);
}

/* ── Bootstrap Icons ────────────────────────── */

.bi {
  vertical-align: -0.125em;
  pointer-events: none;
  fill: currentColor;
}

/* ── Dropdown ───────────────────────────────── */

.dropdown-toggle {
  outline: 0;
}

.btn-group .dropdown-toggle::after {
  content: "" !important;
  display: none !important;
}

.dropdown-menu {
  min-width: 15rem !important;
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  backdrop-filter: blur(12px);
  padding: 6px !important;
}

.dropdown-item {
  color: var(--text-secondary) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 12px !important;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.dropdown-item:focus, .dropdown-item:hover {
  background: var(--emerald-soft) !important;
  color: var(--text-primary) !important;
}

/* ── Navigation ─────────────────────────────── */

.nav-flush .nav-link {
  border-radius: 0;
}

.nav-link {
}

.btn-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: transparent;
  border: 0;
}

.btn-toggle:hover,
.btn-toggle:focus {
  color: var(--text-primary);
  background-color: var(--emerald-soft);
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28148,163,184,1%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform var(--transition-base);
  transform-origin: 0.5em 50%;
}

.btn-toggle[aria-expanded='true'] {
  color: var(--text-primary);
}

.btn-toggle[aria-expanded='true']::before {
  transform: rotate(90deg);
}

.btn-toggle-nav a {
  display: inline-flex;
  padding: 0.1875rem 0.5rem;
  margin-top: 0.125rem;
  margin-left: 1.25rem;
  text-decoration: none;
}

.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: var(--emerald-soft);
}

.scrollarea {
  overflow-y: auto;
}

.fw-semibold {
  font-weight: 600;
}

.lh-tight {
  line-height: 1.25;
}

/* ── Forms ──────────────────────────────────── */

.form-switch.form-switch-md {
  margin-bottom: 1rem;
}

.form-switch.form-switch-md .form-check-input {
  height: 1.5rem;
  width: calc(2rem + 0.75rem);
  border-radius: 3rem;
}

.form-control {
  max-width: 100%;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-md) !important;
  padding: 10px 14px !important;
  font-family: var(--font-body) !important;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--emerald) !important;
  box-shadow: 0 0 0 3px var(--emerald-soft) !important;
  outline: none;
}

.form-control::placeholder {
  color: var(--text-dim) !important;
}

.form-select {
  background-color: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-md) !important;
}

.form-check .form-check-input {
  float: none !important;
}

.form-check-input:checked {
  background-color: var(--emerald) !important;
  border-color: var(--emerald) !important;
}

.form-floating > .form-control::placeholder {
  color: revert !important;
}

.form-floating > .form-control:not(:focus)::placeholder {
  color: transparent !important;
}

/* ── Moderation ─────────────────────────────── */

.moderation-icon {
  position: absolute;
  top: 10px;
  right: -8px;
  background: var(--gold);
  padding: 5px;
  transform: rotate(24deg);
  font-size: 12px;
  border-radius: var(--radius-sm);
}

/* ── Gallery ────────────────────────────────── */

#lightgallery a {
  text-decoration: none;
  display: inline-flex;
}

#lightgallery a > img {
  transform: scale3d(1, 1, 1);
  transition: transform 0.3s var(--ease-out);
  border-radius: var(--radius-md);
}

#lightgallery a:hover > img {
  transform: scale3d(1.05, 1.05, 1.05);
}

/* ── Background Utilities ───────────────────── */

.bg-main {
  background-color: var(--bg-deep);
  color: var(--text-primary);
}

.bg-dark {
  background-color: var(--bg-base) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bg-black {
  background-color: var(--bg-deep) !important;
}

/* ── Navigation Styles ──────────────────────── */

.main-nav {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding-right: 10px;
}

.primary-icons {
  font-size: 50px;
  color: var(--text-dim);
}

.feature h2 {
  margin-top: 15px;
}

#caption-field {
  margin-top: 10px;
}

.preview-content {
  min-height: 240px;
}

.update-div {
  margin-top: 10px;
}

/* ── Hero ───────────────────────────────────── */

.hero {
  padding-top: 100px;
  padding-bottom: 100px;
}

.feature-img {
  max-width: 440px;
}

.featurette {
  padding-left: 100px;
  padding-right: 100px;
}

.lead {
  font-size: 1.35rem !important;
  font-weight: 400 !important;
  color: var(--text-secondary);
}

h2.featurette-heading {
  font-size: 2.4rem;
}

/* ── Headline ───────────────────────────────── */

.headline-custom {
  font-family: var(--font-display) !important;
  font-size: 3.6rem;
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.05;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Photo Buttons ──────────────────────────── */

.btn.btn-primary.add-photo {
  color: var(--text-dim);
  font-size: 20px;
  font-weight: 500;
  background-color: var(--bg-light) !important;
  border: 0;
}

.btn.btn-primary.add-photo:hover {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  background-color: var(--emerald) !important;
}

/* ── Nav Items ──────────────────────────────── */

li.nav-item a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
}

li.nav-item a.nav-link {
  color: var(--text-dim) !important;
  font-size: 15px !important;
  font-weight: 400;
  letter-spacing: 0;
}

li.nav-item a:hover {
  font-size: 15px;
  color: var(--text-primary) !important;
}

label:hover,
input[type='checkbox']:hover {
  cursor: pointer;
}

.row {
  margin-right: 0 !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: transparent !important;
  color: var(--text-primary) !important;
  font-weight: 600;
}

.nav-pills .nav-link.active .primary-icons,
.nav-pills .show > .nav-link .primary-icons {
  color: var(--emerald);
}

li.nav-item a:hover .primary-icons,
.primary-icons:hover {
  color: var(--text-primary);
}

.nav-pills .nav-link.active .primary-icons,
li.nav-item a:hover .primary-icons,
.nav-pills .show > .nav-link .primary-icons {
  color: var(--text-primary);
}

li.nav-item a .primary-icons.plus {
  color: var(--emerald);
}

li.nav-item a:hover .primary-icons.plus {
  color: var(--teal);
}

/* ── Text Utilities ─────────────────────────── */

.text-white {
  color: var(--text-primary) !important;
}

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

.text-success2 {
  color: var(--emerald) !important;
}

.text-success3 {
  color: var(--teal) !important;
}

.text-muted2 {
  color: var(--text-secondary) !important;
}

.text-warning {
  color: var(--gold) !important;
}

/* ── Keyword Block ──────────────────────────── */

.keyword-block {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--text-primary);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 15px;
  width: 335px;
  min-height: 115px;
  height: 100%;
}

.keyword-block a {
  color: var(--text-primary);
  text-decoration: none;
}

.keyword-block:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.keyword-block:hover > a {
  color: var(--emerald);
}

.keyword-block .plashka {
  font-size: 15px;
  display: inline-flex;
  text-align: center;
  line-height: 12px;
  vertical-align: middle;
  font-weight: 600;
}

.keyword-block .plashka:hover {
  color: var(--info);
}

.keyword-block .plashka span {
  font-size: 14px;
  margin-right: 5px;
}

.keyword-block .plashka:hover {
}

.keyword-block .low {
  color: var(--gold);
}

.keyword-block .high {
  color: var(--warning);
}

.keyword-block .best {
  color: var(--emerald);
}

.keyword-block .icon {
  background: var(--teal);
}

/* ── View Block ─────────────────────────────── */

.view-block {
  display: block;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--text-primary);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 15px;
  text-decoration: none;
  margin: 15px 0;
}

/* ── Buttons ────────────────────────────────── */

[type='button'],
[type='reset'],
[type='submit'],
button {
  -webkit-appearance: button-bevel !important;
}

.btn-primary-home {
  background: var(--emerald) !important;
  color: #ffffff !important;
  border-color: var(--emerald) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
  transition: all var(--transition-base) !important;
  font-family: var(--font-body) !important;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn-primary-home:hover {
  background: var(--emerald-hover) !important;
  color: #ffffff !important;
  border-color: var(--emerald-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3) !important;
}

.btn, a.btn.btn-primary,
.btn-warning {
  background: var(--emerald) !important;
  color: #ffffff !important;
  border-color: var(--emerald) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
  transition: all var(--transition-base) !important;
  font-family: var(--font-body) !important;
}

.btn:hover, a.btn.btn-primary:hover,
.btn-warning:hover {
  background: var(--emerald-hover) !important;
  border-color: var(--emerald-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn-second {
  background: var(--bg-elevated) !important;
  color: var(--text-primary) !important;
  border-color: var(--border) !important;
}

.btn-second:hover {
  background: var(--bg-hover) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-hover) !important;
}

.btn-success {
  background-color: var(--emerald) !important;
  border-color: var(--emerald) !important;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: all var(--transition-base);
}

.btn-success:hover {
  background-color: var(--emerald-hover) !important;
  border-color: var(--emerald-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-outline-success {
  color: var(--emerald) !important;
  border-color: var(--emerald) !important;
  background: transparent !important;
  transition: all var(--transition-base);
}

.btn-outline-success:hover {
  color: white !important;
  background-color: var(--emerald) !important;
  transform: translateY(-2px);
  cursor: pointer;
}

.btn-lifetime {
  font-size: 20px !important;
  padding: 15px !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
}

.btn-lifetime:hover {
  background: linear-gradient(135deg, #5a6fd6 0%, #6a4296 100%) !important;
  transform: translateY(-1px);
}

/* ── Container ──────────────────────────────── */

.container {
}

.progress-bar {
  background-color: var(--emerald) !important;
}

/* ── Cards ──────────────────────────────────── */

.card {
  color: var(--text-primary);
  background-color: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--border-hover) !important;
  box-shadow: var(--shadow-md);
}

.card-body {
  height: 100%;
}

.card-header {
  background: none !important;
  border-bottom: 1px solid var(--border) !important;
}

.card-header h4 {
  font-weight: 600 !important;
  font-size: 1.5rem !important;
}

.card-title a {
  color: var(--text-primary) !important;
  text-decoration: none;
}

.card-title a:hover {
  color: var(--emerald) !important;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

/* ── Footer ─────────────────────────────────── */

footer a {
  color: var(--text-dim) !important;
  text-decoration: none;
}

footer ul li a:hover {
  color: var(--text-secondary) !important;
  text-decoration: underline;
}

/* ── Filter Buttons ─────────────────────────── */

.action-remove-this-filter {
  display: none;
  opacity: 0.25;
  position: absolute;
  z-index: 1;
  top: 9px;
  right: 5px;
  padding: 0.25em 3px 2px 3px;
  line-height: 1;
  text-align: center;
  border-radius: 100%;
  color: #fff;
  width: 20px;
  height: 20px;
}

.btn-check:checked + .btn-primary .action-remove-this-filter {
  display: block;
}

.btn-check:checked + .btn-primary {
  background-color: var(--emerald-soft) !important;
  color: var(--text-primary) !important;
  cursor: zoom-out;
  border: 2px solid var(--emerald) !important;
}

.btn-check + .btn-primary {
  font-weight: bold;
  position: relative;
  background-color: var(--bg-elevated) !important;
  color: var(--text-secondary) !important;
  cursor: cell;
  padding-right: 30px;
  border: 2px dashed var(--border-hover) !important;
}

.btn-primary:active:focus,
.btn-check:focus + .btn-primary,
.btn-primary:focus {
  box-shadow: none !important;
}

/* ── Table ──────────────────────────────────── */

.table tr td {
  padding: 1.5rem 0.5rem;
  border-bottom-width: 0;
}

td {
  vertical-align: middle;
}

/* ── Fixed Top Banner ───────────────────────── */

.fixed-top-banner {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--bg-deep) 0%, var(--bg-base) 100%);
  color: var(--text-primary);
  font-weight: 600;
  text-align: center;
  padding: 10px;
  font-size: 16px;
  z-index: 9999;
  border-bottom: 1px solid var(--border);
}

.mention-block {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

/* ── Show All ───────────────────────────────── */

#show-all:hover {
  cursor: pointer;
}

/* ── Top Menu ───────────────────────────────── */

.top-menu {
  align-items: center;
  margin-left: 120px;
}

.off50 {
  position: absolute;
  font-size: 10px;
  padding: 0.2rem 0.4rem;
  background: #c13a04;
  width: fit-content;
  border-radius: var(--radius-full);
  margin-left: 129px;
  margin-top: 38px;
  rotate: 15deg;
}

/* ── Responsive ─────────────────────────────── */

@media only screen and (max-width: 768px) {
  .top-menu {
    margin-left: 0;
  }
  .off50 {
    margin-left: 352px;
  }
  .nav-pills li.nav-item a.nav-link,
  .nav-pills li.nav-item a.nav-link .primary-icons {
    color: var(--text-secondary) !important;
  }
  .feature-img {
    max-width: 100%;
  }
  .first-block {
  }
  .featurette {
    padding: 0;
  }
  .row {
    margin-right: calc(var(--bs-gutter-x) * 0) !important;
  }
  .view-block {
    width: 100%;
  }
}

@media only screen and (max-width: 720px) {
  .modal-body .input-group > .form-control,
  .input-group > .form-select {
  }

  header {
    margin-top: 70px;
  }

  table tr td {
    border: 0;
    text-align: center;
    padding: 0.1rem !important;
  }
  table tr {
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
  }
  .single {
    width: 100%;
  }
  .preview-image {
    margin: 0 auto;
  }
}

@media only screen and (max-width: 425px) {
  .off50 {
    margin-left: 210px;
  }
  .headline-custom {
    font-size: 2.4rem;
    line-height: 1.0;
    margin-top: 25px !important;
  }
  .modal.show .modal-dialog {
    height: auto;
  }
  .input-group > .form-select {
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 375px) {
  .off50 {
    margin-left: 158px;
  }
  .headline-custom {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 320px) {
  .headline-custom {
    font-size: 1.8rem;
  }
}

/* ── Main Flexible Block ────────────────────── */

.main-flexible-block {
  width: 100%;
}

@media (min-width: 992px) {
  .main-flexible-block {
    width: calc(100% - 290px) !important;
  }
}

/* ── Overlay / Popup ────────────────────────── */

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 9999;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 20px auto;
  padding: 24px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  width: auto;
  max-width: 1024px;
  position: relative;
  transition: all 0.4s var(--ease-out);
  border: 1px solid var(--border);
  max-height: -webkit-fill-available;
  box-shadow: var(--shadow-lg);
}

.popup h2 {
  margin-top: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.popup .close {
  position: absolute;
  top: -5px;
  right: 10px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: var(--text-secondary);
}

.popup-light {
  margin: 20px auto;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  width: fit-content;
  max-width: 100%;
  position: relative;
  transition: all 0.4s var(--ease-out);
  border: 1px solid var(--border);
  max-height: -webkit-fill-available;
  box-shadow: var(--shadow-lg);
}

.popup-light h2 {
  margin-top: 0;
  color: #1e293b;
  font-family: var(--font-display);
}

.popup-light .close {
  position: absolute;
  top: -5px;
  right: 10px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #1e293b;
}

.popup .close:hover,
.popup-light .close:hover {
  color: var(--emerald);
}

.popup .content,
.popup-light .content {
  max-height: fit-content;
  overflow: hidden;
}

hr {
  margin: 0.5rem 0 !important;
  border-color: var(--border) !important;
}

/* ── Sidebar Scroll ─────────────────────────── */

.sidebar-scroll {
  position: sticky;
  max-height: 100vh;
  overflow-x: hidden;
  height: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow-y: auto;
}

.sidebar-scroll::-webkit-scrollbar {
  display: none;
}

@media only screen and (max-width: 1024px) {
  .popup,
  .popup-light {
    overflow-y: auto;
    max-height: -webkit-fill-available;
  }
}

/* ── Loader ─────────────────────────────────── */

.loader {
  border: 3px solid var(--bg-hover);
  border-radius: 50%;
  border-top: 3px solid var(--emerald);
  width: 48px;
  height: 48px;
  animation: spin 0.8s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── Nav Link Disabled ──────────────────────── */

.nav-link.disabled {
  color: var(--text-dim) !important;
}

/* ── Select/Input Group ─────────────────────── */

.select-drop {
  background: var(--bg-elevated);
  padding: 5px 15px;
  color: var(--text-primary) !important;
  border-radius: var(--radius-md);
}

.select-drop a {
  color: var(--text-primary) !important;
}

.input-group .dropdown-item {
  background-color: var(--bg-surface) !important;
}

.input-group .dropdown-item.active {
  background-color: transparent !important;
}

.input-group .dropdown-item:hover {
  background-color: var(--emerald-soft) !important;
}

.input-group .dropdown-header {
  color: var(--text-secondary) !important;
}

.input-group .dropdown-menu {
  height: 300px !important;
  overflow-y: auto !important;
}

.input-group .dropdown {
  min-width: 290px;
}

/* ── Tabs ───────────────────────────────────── */

.nav-tabs {
  border-bottom: 0 !important;
}

.post-form .tab-content {
  max-width: fit-content;
  margin: auto;
}

.nav-tabs .nav-link {
  margin-bottom: -1px;
  background: 0 0;
  border: 1px solid transparent;
  border-radius: var(--radius-full) !important;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.nav-tabs .nav-link.active {
  border: 1px solid var(--border-hover) !important;
  border-radius: var(--radius-full);
  background: var(--bg-elevated) !important;
  color: var(--text-primary) !important;
}

.nav-tabs .nav-link:hover {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-full);
}

#header .nav-pills .nav-item:hover {
  background: var(--bg-hover);
  border-radius: var(--radius-md);
}

/* ── Highlight ──────────────────────────────── */

.highlight {
  background: var(--emerald);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 5px 10px;
}

.keyword-input {
  display: block;
  margin-bottom: 5px;
}

/* ── View Button ────────────────────────────── */

.view-btn {
  padding: 5px 15px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--emerald);
  border: 1px solid var(--emerald);
  border-top: 0;
  width: fit-content;
  height: fit-content;
  color: white;
}

.view-btn:hover {
  background: var(--emerald-hover);
}

.a-block {
  color: var(--text-primary) !important;
}

.a-block:hover {
  color: var(--text-secondary) !important;
}

/* ── Login Google ───────────────────────────── */

.login-google, .first-block a.login-google {
  border: 1px solid var(--border-hover) !important;
  color: #1e293b !important;
  background: #ffffff !important;
  width: 100%;
  border-radius: var(--radius-md) !important;
  font-weight: 500 !important;
  transition: all var(--transition-fast) !important;
}

.login-google:hover, .first-block a.login-google:hover {
  border: 1px solid #94a3b8 !important;
  color: #0f172a !important;
  background: #f8fafc !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm) !important;
}

/* ── Create Block ───────────────────────────── */

.create-block {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  color: var(--text-primary);
  background-color: var(--bg-surface);
  padding: 20px;
  display: flex;
  flex-flow: column;
  width: 450px;
  max-width: 100%;
}

@media (min-width: 1200px) {
  .col-xl-9 {
    flex: 0 0 auto;
    width: 74% !important;
  }
}

a .partner-block:hover {
  background-color: var(--bg-hover) !important;
}

.myprofile-form .form-control {
  font-size: 0.9rem;
}

/* ── Problem-Solution ───────────────────────── */

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }

/* ── Trust / Red Gradients ──────────────────── */

.trust-gradient {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.04) 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.trust-gradient:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

.red-gradient {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.04) 100%);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-lg);
}

/* ── Trust Icon ─────────────────────────────── */

.trust-icon {
  color: var(--emerald);
  transition: transform var(--transition-base);
}

.trust-card:hover .trust-icon {
  transform: scale(1.1);
}

/* ── Success Story ──────────────────────────── */

.success-story {
  transition: transform var(--transition-base);
}

.success-story:hover {
  transform: translateY(-5px);
}

/* ── ROI Card ───────────────────────────────── */

.roi-card {
  transition: all var(--transition-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.roi-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.fa-3x {
  font-size: 3em;
}

/* ── Badge ──────────────────────────────────── */

.badge.bg-success {
  background-color: var(--emerald) !important;
}

.bg-success.bg-opacity-10 {
  background-color: var(--emerald-soft) !important;
}

/* ── Animation Classes ──────────────────────── */

.fade-in {
  animation: fadeIn 0.6s var(--ease-out);
}

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

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 var(--emerald-glow); }
  50% { box-shadow: 0 0 16px 4px var(--emerald-glow); }
}

/* ── Custom Card Styles ─────────────────────── */

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
  border-radius: var(--radius-lg);
}

.feature-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-glow);
}

/* ── Icon Styles ────────────────────────────── */

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-soft);
  margin-bottom: 1rem;
}

/* ── Avatar ─────────────────────────────────── */

.avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--emerald);
}

/* ── Stats ──────────────────────────────────── */

.stats-counter {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 0.5rem;
}

/* ── Testimonial ────────────────────────────── */

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 4rem;
  color: var(--emerald-soft);
  font-family: serif;
  line-height: 1;
}

/* ── How It Works Arrow ─────────────────────── */

.how-it-works .col-md-4:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -30px;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald-soft), transparent);
}

@media (max-width: 768px) {
  .how-it-works .col-md-4:not(:last-child)::after {
    display: none;
  }
}

/* ── Custom List ────────────────────────────── */

.custom-list {
  list-style: none;
  padding: 0;
}

.custom-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Section Spacing ────────────────────────── */

.section-spacing {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-spacing {
    padding: 3rem 0;
  }
  .display-6 {
    font-size: 1.75rem;
  }
  .content-wrapper .container-fluid .container {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
  }
  .content-wrapper .container-fluid .row {
    margin-left: 0rem !important;
    margin-right: 0rem !important;
  }
  .content-wrapper .container-fluid .row > * {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
  }
  .btn-success {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* ── Story Content ──────────────────────────── */

.story-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.story-content h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--emerald);
}

.story-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.story-content li {
  margin-bottom: 0.5rem;
}

.story-content p {
  margin-bottom: 1.5rem;
}

/* ── Modal ──────────────────────────────────── */

.modal-dialog {
  align-items: center;
  display: flex;
  height: 100%;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.modal-content {
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg) !important;
}

.modal-header {
  border-bottom-color: var(--border) !important;
}

.modal-footer {
  border-top-color: var(--border) !important;
}

/* ====================================
   DASHBOARD LAYOUT — Sidebar + Main
   ==================================== */

.main-content {
  margin-left: var(--sidebar-width);
  padding: 0;
  min-height: 100vh;
  background: var(--bg-deep);
  transition: all 0.3s var(--ease-out);
}

/* ── Sidebar ────────────────────────────────── */

.sidebar {
  display: flex;
  flex-direction: column;
  width: var(--sidebar-width);
  background: var(--bg-base);
  color: white;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  transition: all 0.3s var(--ease-out);
  border-right: 1px solid var(--border);
}

.sidebar-header {
  padding: 14px 16px;
  background: var(--bg-deep);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.sidebar-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

/* ── Sidebar Profile ────────────────────────── */

.sidebar-profile {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.user-avatar {
  margin-bottom: 10px;
}

.user-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--emerald-soft);
  box-shadow: 0 0 0 4px var(--bg-base), 0 0 20px rgba(16, 185, 129, 0.1);
  transition: all var(--transition-base);
}

.user-avatar img:hover {
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px var(--bg-base), 0 0 24px rgba(16, 185, 129, 0.2);
}

.user-info-sidebar h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ── Profile Actions ────────────────────────── */

.profile-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.profile-btn {
  display: inline-block;
  padding: 6px 12px;
  background: var(--emerald-soft);
  color: var(--emerald) !important;
  border-radius: var(--radius-full);
  font-size: 12px;
  text-decoration: none;
  transition: all var(--transition-fast);
  font-weight: 500;
}

.profile-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-1px);
}

.view-profile-btn {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary) !important;
}

.view-profile-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--emerald) !important;
}

.edit-profile-btn {
  background: var(--emerald-soft);
  color: var(--emerald) !important;
}

.edit-profile-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  color: #fff !important;
}

/* ── Sidebar Menu ───────────────────────────── */

.sidebar-menu {
  padding: 8px 0;
  list-style: none;
  margin: 0;
}

.sidebar-menu li {
  padding: 0;
  font-size: 14px;
  line-height: 1.4rem;
}

.sidebar-menu li a {
  color: var(--text-secondary) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  transition: all var(--transition-fast);
  font-weight: 500;
  border-left: 3px solid transparent;
}

.sidebar-menu li.bottom-menu-item a {
  padding: 6px 20px;
  font-size: 13px;
  color: var(--text-dim) !important;
}

.sidebar-menu li a:hover {
  color: var(--text-primary) !important;
  background: var(--emerald-soft);
  border-left-color: var(--emerald);
  padding-left: 17px;
}

.sidebar-menu li.active a {
  color: var(--text-primary) !important;
  background: var(--emerald-soft);
  border-left-color: var(--emerald);
  padding-left: 17px;
  font-weight: 600 !important;
}

.sidebar-menu li a i {
  width: 20px;
  text-align: center;
  margin-right: 10px;
  font-size: 15px;
  opacity: 0.7;
}

.sidebar-menu li.active a i,
.sidebar-menu li a:hover i {
  opacity: 1;
}

.sidebar-menu li a .badge {
  margin-left: 10px;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
}

.sidebar-menu-item a {
  color: var(--text-secondary) !important;
}

.sidebar-menu-item a:hover {
  color: var(--text-primary) !important;
}

.sidebar-menu-item.active a {
  font-weight: 600 !important;
}

/* ── Top Navbar (Mobile) ────────────────────── */

.top-navbar {
  background: var(--bg-base);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
}

#sidebar-toggle {
  display: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease-out);
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1050;
  }

  .sidebar.active {
    transform: translateX(0);
    box-shadow: var(--shadow-lg);
  }

  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    transition: margin-left 0.3s var(--ease-out);
    padding: 0;
  }

  #sidebar-toggle {
    display: block;
  }

  body.sidebar-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 1040;
  }
}

/* ── Content Wrapper ────────────────────────── */

.content-wrapper {
  padding: 20px;
}

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

/* ── Online Status Indicators ───────────────── */

.online-status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid var(--bg-surface);
  position: absolute;
  bottom: 2px;
  right: 2px;
}

.online-status.online {
  background-color: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

.online-status.recently {
  background-color: var(--gold);
}

.online-status.offline {
  background-color: var(--text-dim);
}

.avatar-with-status {
  position: relative;
  display: inline-block;
}

.online-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.online-badge.online {
  background-color: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}

.online-badge.recently {
  background-color: var(--gold-soft);
  color: var(--gold);
}

.online-badge.offline {
  background-color: rgba(100, 116, 139, 0.12);
  color: var(--text-dim);
}

/* ====================================
   HEADER.EJS — Sidebar Styles (inline)
   ==================================== */

/* Mode Switcher Tabs */
.mode-switcher {
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

.mode-tabs {
  display: flex;
  background: var(--bg-deep);
  border-radius: var(--radius-md);
  padding: 3px;
  gap: 1px;
}

.mode-tab {
  flex: 1;
  padding: 4px 10px;
  text-align: center;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  position: relative;
  border: 1px solid transparent;
}

.mode-tab i {
  font-size: 12px;
}

.mode-tab:hover {
  color: var(--text-primary);
  text-decoration: none;
  transform: translateY(-1px);
  border-color: var(--emerald);
  background: var(--emerald-soft);
}

.mode-tab.active {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-hover) 100%);
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  transform: translateY(-1px);
  border-color: var(--emerald-hover);
}

.mode-tab.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* Workspace selector */
.workspace-selector {
  margin-top: 10px;
  display: none;
}

.workspace-selector.show {
  display: block;
}

.workspace-dropdown-wrapper {
  position: relative;
}

.workspace-dropdown {
  width: 100%;
  padding: 8px 16px;
  padding-right: 40px;
  border: 1px solid var(--emerald);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.workspace-dropdown:focus {
  outline: none;
  border-color: var(--emerald-hover);
  box-shadow: 0 0 0 3px var(--emerald-soft);
}

.workspace-dropdown option {
  background-color: var(--bg-surface);
  color: white;
  padding: 10px;
}

.dropdown-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--emerald);
  pointer-events: none;
  transition: all var(--transition-fast);
}

.workspace-dropdown:focus + .dropdown-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.mode-indicator {
  font-size: 12px;
  color: var(--emerald);
  text-align: center;
  margin-top: 8px;
  font-weight: 600;
}

/* ── Boost Button (Sidebar) ─────────────────── */

.boost-btn-sidebar {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-hover));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  width: fit-content;
  margin: 16px auto;
  cursor: pointer;
}

.boost-btn-sidebar:hover {
  background: linear-gradient(135deg, var(--emerald-hover), #047857);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  color: white;
}

.boost-btn-sidebar i {
  margin-right: 6px;
}

/* ── Boost Modal ────────────────────────────── */

.boost-modal-header {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-hover));
  color: white;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.boost-plan {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 15px;
  transition: all var(--transition-base);
  cursor: pointer;
  background: var(--bg-surface);
}

.boost-plan:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.boost-plan.selected {
  border-color: var(--emerald);
  background: var(--emerald-soft);
}

.boost-plan-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.boost-plan-duration {
  font-size: 14px;
  color: var(--text-secondary);
}

.boost-benefits {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 15px;
  margin-bottom: 20px;
}

.boost-benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.boost-benefit-item i {
  color: var(--emerald);
  margin-right: 10px;
}

/* ── Mobile Mode Tabs ───────────────────────── */

@media (max-width: 768px) {
  .mode-switcher {
    padding: 10px;
  }

  .mode-tabs {
    margin-bottom: 8px;
  }

  .mode-tab {
    padding: 6px 8px;
    font-size: 11px;
    gap: 3px;
  }

  .mode-tab i {
    font-size: 11px;
  }

  .workspace-dropdown {
    padding: 8px 10px;
    padding-right: 30px;
    font-size: 12px;
  }

  .dropdown-arrow {
    right: 8px;
  }

  .mode-indicator {
    font-size: 10px;
    padding: 4px 8px;
  }
}

@media (max-width: 480px) {
  .mode-tab span {
    display: none;
  }

  .mode-tab i {
    font-size: 14px;
  }

  .mode-tab {
    padding: 8px 6px;
  }
}

@media (min-width: 481px) {
  .mode-tab span {
    display: inline;
  }
}

/* ====================================
   PAGE ENHANCEMENTS — Subtle Effects
   ==================================== */

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* Focus ring */
*:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* ── Page load staggered reveal ─────────────── */

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

.animate-in {
  animation: slideUp 0.6s var(--ease-out) both;
}

.animate-in:nth-child(1) { animation-delay: 0s; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }
.animate-in:nth-child(5) { animation-delay: 0.4s; }

/* ── Grain Texture Overlay (subtle) ─────────── */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
