/* BoardSphere — Full Light Theme */
:root {
  --orange: #F48120;
  --orange-deep: #E85D04;
  --orange-light: #FFF4EC;
  --dark: #111827;
  --slate: #1F2937;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --light: #F9FAFB;
  --white: #FFFFFF;
  --blue: #2563EB;
  --green: #10B981;
  --red: #EF4444;
  --sidebar-width: 248px;

  /* Sidebar — light */
  --sb-bg: #FFFFFF;
  --sb-border: #E5E7EB;
  --sb-text: #6B7280;
  --sb-text-active: #111827;
  --sb-hover-bg: #F9FAFB;
  --sb-active-bg: #FFF4EC;
  --sb-active-border: #F48120;
  --sb-section-label: #9CA3AF;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--light);
  color: var(--dark);
  font-size: 14px;
  line-height: 1.6;
}

/* ── Layout ── */
.app-layout { display: flex; min-height: 100vh; }

/* ── Sidebar ── */
.sidebar {
  width: var(--sidebar-width);
  background: #FFFFFF;
  border-right: 1px solid #F0F1F3;
  box-shadow: 2px 0 12px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: transform 0.25s ease;
}

.sidebar-logo {
  padding: 20px 18px 18px;
  border-bottom: 1px solid #F0F1F3;
  display: flex; align-items: center; gap: 10px;
}

.sidebar-logo img { border-radius: 8px; }

.sidebar-logo span {
  font-size: 16px; font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.sidebar-logo .dot { color: var(--orange); }

.sidebar-nav {
  flex: 1;
  padding: 8px 0 12px;
  overflow-y: auto;
  scrollbar-width: none;
}
.sidebar-nav::-webkit-scrollbar { display: none; }

.nav-section-label {
  display: block;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  color: #C0C4CC; text-transform: uppercase;
  padding: 16px 20px 5px;
}

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8.5px 16px;
  margin: 1px 10px;
  color: #6B7280;
  text-decoration: none;
  font-size: 13.5px; font-weight: 500;
  border-radius: 9px;
  border-left: 2px solid transparent;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  cursor: pointer;
  position: relative;
}

.nav-item:hover {
  background: #F9FAFB;
  color: #111827;
}

.nav-item.active {
  background: #FFF4EC;
  color: var(--orange);
  font-weight: 600;
  border-left-color: var(--orange);
  margin-left: 10px;
  padding-left: 14px;
}

.nav-item i {
  font-size: 15px; flex-shrink: 0;
  width: 18px; text-align: center;
  opacity: 0.65;
  transition: opacity 0.12s;
}
.nav-item:hover i { opacity: 0.9; }
.nav-item.active i { opacity: 1; color: var(--orange); }

.sidebar-footer {
  padding: 10px 12px 14px;
  border-top: 1px solid #F0F1F3;
}

.sb-user {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 10px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s;
}
.sb-user:hover { background: #F9FAFB; }
.sb-user-info { flex: 1; min-width: 0; }
.sb-user-name {
  font-size: 13px; font-weight: 600; color: #111827;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sb-user-email {
  font-size: 11px; color: #9CA3AF;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sb-logout {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: #9CA3AF; font-size: 14px; flex-shrink: 0;
  transition: background 0.12s, color 0.12s;
  text-decoration: none;
}
.sb-logout:hover { background: #FEE2E2; color: #EF4444; }

/* Org switcher in sidebar */
.org-switcher-wrap { padding: 10px 10px 0; }
.org-switcher {
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid #E9EAEC;
  background: #F9FAFB;
  cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.org-switcher__avatar {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--orange); color: white;
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.org-switcher__info { flex: 1; min-width: 0; }
.org-switcher__caret { color: #9CA3AF; font-size: 12px; flex-shrink: 0; }
.org-switcher:hover {
  border-color: var(--orange);
  background: #FFF8F2;
  box-shadow: 0 2px 8px rgba(244,129,32,0.1);
}
.org-switcher-name { font-size: 13px; font-weight: 600; color: var(--dark); }
.org-switcher-role { font-size: 11px; color: var(--gray); margin-top: 1px; }

.org-dropdown {
  margin: 4px 10px 0;
  background: var(--white);
  border: 1px solid #EAECEF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}
.org-dropdown-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  font-size: 13px; color: var(--dark);
  text-decoration: none;
  transition: background 0.1s;
}
.org-dropdown-item:hover { background: #F9FAFB; }
.org-dropdown-item.active { color: var(--orange); font-weight: 600; }
.org-dropdown-divider { border: none; border-top: 1px solid #F0F1F3; margin: 4px 0; }
.org-dropdown__avatar {
  width: 22px; height: 22px; border-radius: 5px;
  background: var(--orange); color: white;
  font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.org-dropdown__name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org-dropdown-item--new { color: #6B7280; font-size: 12.5px; }

/* ── Main wrapper ── */
.main-wrapper {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Topbar ── */
.topbar {
  height: 56px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 24px;
  gap: 16px;
  position: sticky; top: 0; z-index: 50;
}

.topbar-title { font-size: 15px; font-weight: 600; color: var(--dark); white-space: nowrap; }
.topbar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange);
  color: white; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}

/* ── Main Content ── */
#main-content { flex: 1; padding: 28px; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
}

.card-title { font-size: 15px; font-weight: 600; color: var(--dark); }
.card-subtitle { font-size: 13px; color: var(--gray); margin-top: 2px; }

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.stat-card .stat-value { font-size: 28px; font-weight: 700; color: var(--dark); }
.stat-card .stat-label { font-size: 11.5px; color: var(--gray); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-change.up { color: var(--green); font-size: 12px; }
.stat-change.down { color: var(--red); font-size: 12px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500;
  border: none; cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, opacity 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-primary { background: var(--orange); color: white; }
.btn-primary:hover { background: var(--orange-deep); color: white; }

.btn-secondary { background: var(--white); color: var(--dark); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--light); }

.btn-danger { background: var(--red); color: white; }
.btn-danger:hover { opacity: 0.88; }

.btn-ghost { background: transparent; color: var(--gray); border: none; }
.btn-ghost:hover { background: var(--light); color: var(--dark); }

.btn-sm { padding: 5px 12px; font-size: 12.5px; }
.btn-lg { padding: 11px 22px; font-size: 15px; }

/* ── Forms ── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 5px; color: var(--slate); }
.form-control {
  width: 100%; padding: 9px 12px;
  border: 1px solid #D1D5DB; border-radius: 8px;
  font-size: 14px; background: white; color: var(--dark);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,129,32,0.1); }
.form-error { font-size: 12px; color: var(--red); margin-top: 4px; }

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 20px;
  font-size: 11.5px; font-weight: 600;
}
.badge-orange { background: #FEF3C7; color: #B45309; }
.badge-green  { background: #D1FAE5; color: #065F46; }
.badge-red    { background: #FEE2E2; color: #991B1B; }
.badge-blue   { background: #DBEAFE; color: #1E40AF; }
.badge-gray   { background: #F3F4F6; color: #374151; }

/* ── Tables ── */
.table-clean { width: 100%; border-collapse: collapse; }
.table-clean th {
  text-align: left; font-size: 11.5px; font-weight: 600;
  color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px;
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  background: var(--light);
}
.table-clean td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); font-size: 13.5px; }
.table-clean tr:last-child td { border-bottom: none; }
.table-clean tr:hover td { background: #FAFAFA; }

/* ── Alerts ── */
.alert {
  padding: 11px 16px; border-radius: 8px;
  font-size: 13.5px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-info    { background: #DBEAFE; color: #1E40AF; border: 1px solid #BFDBFE; }
.alert-warning { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }

/* ── Empty State ── */
.empty-state { text-align: center; padding: 48px 24px; color: var(--gray); }
.empty-state svg { width: 44px; height: 44px; margin: 0 auto 12px; opacity: 0.35; display: block; }
.empty-state h3 { font-size: 15px; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.empty-state p { font-size: 13px; }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(2px);
}
.modal {
  background: white; border-radius: 14px;
  padding: 28px; width: 100%; max-width: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-title { font-size: 16px; font-weight: 700; }

/* ── Loading ── */
.btn-loading { pointer-events: none; opacity: 0.7; }
.spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Toast ── */
#toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 999; display: flex; flex-direction: column; gap: 8px;
}
.toast {
  background: var(--dark); color: white;
  padding: 12px 18px; border-radius: 10px;
  font-size: 13.5px; min-width: 240px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  animation: slideUp 0.2s ease;
  display: flex; align-items: center; gap: 8px;
}
.toast.success { border-left: 4px solid var(--green); }
.toast.error   { border-left: 4px solid var(--red); }
.toast.info    { border-left: 4px solid var(--blue); }
@keyframes slideUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* ── Grid helpers ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ── Org Detail ── */
.org-detail-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
  padding: 24px; background: white; border-radius: 14px;
  border: 1px solid var(--border); box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.org-detail-identity { display: flex; align-items: center; gap: 18px; }
.org-detail-logo {
  width: 64px; height: 64px; border-radius: 14px; object-fit: cover;
  border: 1px solid var(--border); flex-shrink: 0;
}
.org-detail-logo-placeholder {
  width: 64px; height: 64px; border-radius: 14px; flex-shrink: 0;
  background: var(--orange); color: white;
  font-size: 26px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.org-detail-name { font-size: 22px; font-weight: 700; color: var(--dark); margin: 0 0 6px; }
.org-detail-meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--gray); margin: 0;
}
.org-detail-meta span { display: flex; align-items: center; gap: 5px; }
.org-detail-actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; align-items: center; }

.org-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}
.org-stat-card {
  background: white; border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
  transition: box-shadow 0.15s;
}
.org-stat-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.org-stat-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.org-stat-value { font-size: 22px; font-weight: 700; color: var(--dark); line-height: 1.2; }
.org-stat-label { font-size: 11.5px; color: var(--gray); font-weight: 500; text-transform: uppercase; letter-spacing: 0.4px; margin-top: 2px; }

.org-member-list { display: flex; flex-direction: column; }
.org-member-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center; gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid #F3F4F6;
  transition: background 0.1s;
}
.org-member-row:last-child { border-bottom: none; }
.org-member-row:hover { background: #FAFAFA; border-radius: 8px; }
.org-member-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.org-member-info { min-width: 0; }
.org-member-name { font-size: 14px; font-weight: 600; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org-member-email { font-size: 12px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org-member-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.org-member-title { font-size: 12px; color: var(--gray); }
.org-member-joined { font-size: 12px; color: #9CA3AF; white-space: nowrap; display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.org-member-actions { display: flex; gap: 4px; flex-shrink: 0; }

/* ── Meeting Detail ── */
.mtg-header {
  background: white; border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.mtg-header-main { display: flex; }
.mtg-status-strip { width: 5px; flex-shrink: 0; }
.mtg-status-scheduled    { background: #3B82F6; }
.mtg-status-in_progress  { background: #F48120; }
.mtg-status-completed    { background: #10B981; }
.mtg-status-cancelled    { background: #EF4444; }
.mtg-status-draft        { background: #9CA3AF; }

.mtg-header-body { padding: 20px 22px; flex: 1; min-width: 0; }
.mtg-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.mtg-title { font-size: 22px; font-weight: 700; color: var(--dark); margin: 0 0 10px; line-height: 1.3; }
.mtg-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mtg-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.mtg-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; color: #6B7280;
  background: #F9FAFB; border: 1px solid #F3F4F6;
  padding: 4px 10px; border-radius: 20px;
}
.mtg-desc { font-size: 13.5px; color: #374151; line-height: 1.6; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid #F3F4F6; }
.mtg-chip-cal {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: 1.5px dashed #D1D5DB; cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.mtg-chip-cal:hover { border-color: #F48120; background: #FFF4EC; color: #C05621; }
.mtg-chip-cal.has-integration { border-style: solid; border-color: #E5E7EB; background: white; }
.mtg-chip-cal.has-integration:hover { border-color: #F48120; }

.mtg-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }

.mtg-dropdown { position: relative; }
.mtg-dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: white; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12); min-width: 190px; overflow: hidden;
  padding: 4px 0;
  opacity: 0; transform: translateY(-6px) scale(0.98);
  transition: opacity 0.10s ease, transform 0.10s ease;
  pointer-events: none;
}
.mtg-dropdown-menu.dd-open {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}
.mtg-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; font-size: 13px; color: var(--dark);
  text-decoration: none; background: none; border: none; cursor: pointer; width: 100%; text-align: left;
  transition: background 0.1s;
}
.mtg-dropdown-item:hover { background: #F9FAFB; }
.mtg-dropdown-item i { color: #6B7280; font-size: 14px; }
.mtg-dropdown-danger { color: #EF4444 !important; }
.mtg-dropdown-danger i { color: #EF4444 !important; }
.mtg-dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }

.mtg-rsvp-bar {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 12px; padding: 14px 22px; border-top: 1px solid #F3F4F6; background: #FAFAFA;
  width: 100%;
}
.mtg-rsvp-label { font-size: 13px; color: #6B7280; }
.mtg-rsvp-yes   { color: #10B981; }
.mtg-rsvp-no    { color: #EF4444; }
.mtg-rsvp-maybe { color: #F48120; }
.mtg-rsvp-form { display: flex; gap: 6px; flex: 1; }
.mtg-rsvp-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px; border-radius: 8px; border: 1px solid #E5E7EB;
  background: white; font-size: 12.5px; font-weight: 500; color: #374151;
  cursor: pointer; transition: all 0.15s; flex: 1;
}
.mtg-rsvp-btn:hover { border-color: #D1D5DB; background: #F9FAFB; }
.mtg-rsvp-btn.active-yes   { background: #D1FAE5; border-color: #6EE7B7; color: #065F46; }
.mtg-rsvp-btn.active-maybe { background: #FEF3C7; border-color: #FCD34D; color: #92400E; }
.mtg-rsvp-btn.active-no    { background: #FEE2E2; border-color: #FCA5A5; color: #991B1B; }

.mtg-body-grid {
  display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start;
}
.mtg-card-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px;
}

.mtg-agenda-list { display: flex; flex-direction: column; gap: 2px; }
.mtg-agenda-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 8px; border-radius: 8px; transition: background 0.1s;
}
.mtg-agenda-item:hover { background: #F9FAFB; }
.mtg-agenda-num {
  width: 26px; height: 26px; border-radius: 50%; background: #FFF4EC;
  color: #F48120; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
  border: 1.5px solid #FDBA74;
}
.mtg-agenda-content { flex: 1; min-width: 0; }
.mtg-agenda-title { font-size: 13.5px; font-weight: 600; color: var(--dark); }
.mtg-agenda-desc { font-size: 12px; color: #6B7280; margin-top: 2px; line-height: 1.5; }
.mtg-agenda-meta { display: flex; gap: 12px; margin-top: 5px; font-size: 11.5px; color: #9CA3AF; }
.mtg-agenda-meta span { display: flex; align-items: center; gap: 4px; }
.mtg-agenda-actions { display: flex; gap: 2px; flex-shrink: 0; margin-top: 1px; opacity: 0; transition: opacity 0.15s; }
.mtg-agenda-item:hover .mtg-agenda-actions { opacity: 1; }

.mtg-icon-btn {
  width: 28px; height: 28px; border-radius: 6px; border: none; background: none;
  color: #9CA3AF; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; transition: background 0.1s, color 0.1s; text-decoration: none;
}
.mtg-icon-btn:hover { background: #F3F4F6; color: #374151; }
.mtg-icon-danger:hover { background: #FEE2E2; color: #EF4444; }

.mtg-rsvp-summary { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #F3F4F6; }
.mtg-rsvp-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 20px;
}
.mtg-rsvp-pill.rsvp-yes   { background: #D1FAE5; color: #065F46; }
.mtg-rsvp-pill.rsvp-maybe { background: #FEF3C7; color: #92400E; }
.mtg-rsvp-pill.rsvp-no    { background: #FEE2E2; color: #991B1B; }

.mtg-attendee-list { display: flex; flex-direction: column; }
.mtg-attendee-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 4px; border-bottom: 1px solid #F9FAFB; transition: background 0.1s;
}
.mtg-attendee-row:last-child { border-bottom: none; }
.mtg-attendee-row:hover { background: #FAFAFA; border-radius: 8px; }
.mtg-attendee-info { flex: 1; min-width: 0; }
.mtg-attendee-name { font-size: 13px; font-weight: 600; color: var(--dark); }
.mtg-attendee-email { font-size: 11px; color: #9CA3AF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Calendar Modal ── */
.cal-modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  pointer-events: none;
  transition: background 0.15s ease;
}
.cal-modal-backdrop.modal-open {
  background: rgba(0,0,0,0.45);
  pointer-events: auto;
}
.cal-modal-backdrop.modal-open .cal-modal {
  opacity: 1; transform: scale(1) translateY(0);
}
.cal-modal {
  background: white; border-radius: 16px; width: 100%; max-width: 500px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  opacity: 0; transform: scale(0.97) translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  overflow: hidden;
}
.cal-modal-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 20px 20px 16px; border-bottom: 1px solid #F3F4F6;
}
.cal-modal-title { font-size: 16px; font-weight: 700; color: var(--dark); }
.cal-modal-sub   { font-size: 12px; color: #6B7280; margin-top: 3px; }
.cal-modal-close {
  width: 30px; height: 30px; border-radius: 8px; border: none; background: none;
  cursor: pointer; color: #9CA3AF; font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.1s, color 0.1s;
}
.cal-modal-close:hover { background: #F3F4F6; color: #374151; }
.cal-modal-body { padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 2px; }

.cal-option {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 10px; border-radius: 10px; text-decoration: none;
  color: var(--dark); cursor: pointer; transition: background 0.12s;
  border: none; background: none; width: 100%; text-align: left;
}
.cal-option:hover { background: #F9FAFB; }
.cal-option-disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.cal-option-icon {
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid #E5E7EB;
  background: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cal-option-icon-gray { background: #F9FAFB; }
.cal-option-info { flex: 1; min-width: 0; }
.cal-option-name { font-size: 14px; font-weight: 600; color: var(--dark); }
.cal-option-desc { font-size: 12px; color: #6B7280; margin-top: 2px; }
.cal-option-arrow { color: #9CA3AF; font-size: 14px; flex-shrink: 0; }

/* ── Meeting Create Form Layout ── */
.mcf-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 24px;
}
.mcf-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #9CA3AF; margin-bottom: 6px;
}
.mcf-breadcrumb a { color: #6B7280; text-decoration: none; }
.mcf-breadcrumb a:hover { color: #F48120; }
.mcf-breadcrumb i { font-size: 10px; }
.mcf-title { font-size: 22px; font-weight: 800; color: #111827; letter-spacing: -0.4px; margin: 0 0 2px; }
.mcf-sub   { font-size: 13px; color: #6B7280; margin: 0; }

.mcf-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

.mcf-main {
  background: white; border: 1px solid #E5E7EB; border-radius: 14px; overflow: hidden;
}
.mcf-section {
  padding: 22px 24px;
  border-bottom: 1px solid #F3F4F6;
}
.mcf-section-label {
  font-size: 11px; font-weight: 700; color: #9CA3AF;
  text-transform: uppercase; letter-spacing: 0.6px;
  margin-bottom: 14px; display: flex; align-items: center; gap: 6px;
}
.mcf-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mcf-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.mcf-virtual-toggle {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 9px;
  border: 1.5px solid #E5E7EB; background: #FAFAFA;
  cursor: pointer; transition: border-color 0.15s;
}
.mcf-virtual-toggle:has(input:checked) { border-color: #F48120; background: #FFF9F5; }
.req { color: #EF4444; }
.form-control-lg { font-size: 16px !important; padding: 10px 14px !important; font-weight: 500; }

.mcf-aside {
  display: flex; flex-direction: column; gap: 14px;
  position: sticky; top: 16px;
}
.mcf-aside-card {
  background: white; border: 1px solid #E5E7EB; border-radius: 12px; padding: 16px;
}
.mcf-aside-title {
  font-size: 11px; font-weight: 700; color: #9CA3AF;
  text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 12px;
}
.mcf-preview-title {
  font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mcf-preview-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #6B7280; margin-bottom: 6px;
}
.mcf-preview-row i { color: #F48120; font-size: 13px; flex-shrink: 0; }
.mcf-integration-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.mcf-int-badge {
  font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 6px;
  white-space: nowrap; text-decoration: none;
}
.mcf-int-on  { background: #F0FDF4; color: #15803D; border: 1px solid #BBF7D0; }
.mcf-int-off { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.mcf-int-off:hover { background: #DBEAFE; }

@media (max-width: 900px) {
  .mcf-layout { grid-template-columns: 1fr; }
  .mcf-aside  { position: static; flex-direction: row; flex-wrap: wrap; }
  .mcf-aside-card { flex: 1; min-width: 200px; }
  .mcf-row-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .mcf-row-2, .mcf-row-3 { grid-template-columns: 1fr; }
  .mcf-aside { flex-direction: column; }
}

/* ── Meeting platform picker ── */
.mtg-platform-grid {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px;
}
.mtg-platform-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 8px;
  border: 1.5px solid #E5E7EB; background: white;
  font-size: 13px; font-weight: 500; color: #374151;
  cursor: pointer; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  position: relative;
}
.mtg-platform-btn:hover { border-color: #F48120; background: #FFFBF7; box-shadow: 0 1px 6px rgba(244,129,32,0.1); }
.mtg-platform-btn.mtg-platform-active { border-color: #F48120; background: #FFF4EC; color: #C05621; }
.mtg-platform-connect { border-color: #BFDBFE !important; background: #EFF6FF !important; color: #1D4ED8 !important; text-decoration: none; }
.mtg-platform-connect:hover { border-color: #3B82F6 !important; background: #DBEAFE !important; }
.mtg-connect-prompt {
  display: none; align-items: center; gap: 8px;
  margin-top: 8px; padding: 9px 14px; border-radius: 8px;
  background: #EFF6FF; border: 1px solid #BFDBFE;
  font-size: 13px; color: #374151;
}
.mtg-connect-link {
  font-weight: 600; color: #1D4ED8; text-decoration: none; white-space: nowrap; margin-left: auto;
}
.mtg-connect-link:hover { text-decoration: underline; }
.mtg-platform-disabled {
  opacity: 0.45; cursor: not-allowed; pointer-events: none;
}
.mtg-platform-soon {
  font-size: 10px; font-weight: 600; color: #9CA3AF;
  background: #F3F4F6; border-radius: 4px; padding: 1px 5px; margin-left: 2px;
}
.mtg-join-btn { display: inline-flex; align-items: center; gap: 7px; }
.mtg-join-gmeet { background: white !important; border-color: #E5E7EB !important; color: #111827 !important; }
.mtg-join-gmeet:hover { border-color: #4285F4 !important; box-shadow: 0 1px 6px rgba(66,133,244,0.15); }
.mtg-provider-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 500; color: #6B7280;
  background: #F3F4F6; border-radius: 5px; padding: 2px 7px;
}
.mtg-btn-spinner {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white; display: inline-block;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cal-sync-connected {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 10px;
  background: #F0FDF4; border: 1px solid #BBF7D0; margin-bottom: 2px;
}
.cal-sync-prompt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  background: #EFF6FF; border: 1px solid #BFDBFE; margin-bottom: 2px;
}
.cal-modal-divider { height: 1px; background: #F3F4F6; margin: 8px 0; }

/* ── Auth pages ── */
.auth-page {
  min-height: 100vh;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.auth-card {
  background: white; border-radius: 16px;
  padding: 40px; width: 100%; max-width: 420px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border: 1px solid var(--border);
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo h1 { font-size: 22px; font-weight: 800; color: var(--dark); }
.auth-logo h1 span { color: var(--orange); }
.auth-logo p { font-size: 13px; color: var(--gray); margin-top: 4px; }

/* ── Onboarding v2 (split layout) ── */
.ob2-layout {
  display: grid; grid-template-columns: 420px 1fr;
  min-height: 100vh;
}

/* Left brand panel */
.ob2-brand {
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  display: flex; align-items: stretch; position: sticky; top: 0; height: 100vh;
}
.ob2-brand-inner {
  padding: 48px 40px; display: flex; flex-direction: column; gap: 0; width: 100%;
}
.ob2-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 52px;
}
.ob2-logo span {
  font-size: 22px; font-weight: 800; color: white; letter-spacing: -0.5px;
}
.ob2-logo span em { color: #F48120; font-style: normal; }

.ob2-brand-headline { margin-bottom: 40px; }
.ob2-brand-headline h2 {
  font-size: 32px; font-weight: 800; color: white;
  line-height: 1.2; letter-spacing: -0.8px; margin-bottom: 12px;
}
.ob2-brand-headline p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }

.ob2-features {
  list-style: none; padding: 0; margin: 0 0 auto; display: flex; flex-direction: column; gap: 14px;
}
.ob2-features li {
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px; color: rgba(255,255,255,0.75); font-weight: 500;
}
.ob2-features li i {
  width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #F48120; flex-shrink: 0;
}

.ob2-brand-footer {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.8;
}
.ob2-brand-footer strong { color: rgba(255,255,255,0.75); }
.ob2-brand-footer a { color: #F48120; text-decoration: none; }
.ob2-brand-footer a:hover { text-decoration: underline; }

/* Right panel */
.ob2-right {
  background: #F8F9FB; display: flex; align-items: center; justify-content: center;
  padding: 40px 24px; min-height: 100vh;
}
.ob2-right-inner { width: 100%; max-width: 480px; }

/* Welcome row */
.ob2-welcome {
  display: flex; align-items: center; gap: 16px; margin-bottom: 32px;
}
.ob2-avatar {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #F48120, #e06010);
  color: white; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(244,129,32,0.3);
}
.ob2-welcome-title { font-size: 22px; font-weight: 800; color: #111827; margin: 0 0 4px; letter-spacing: -0.4px; }
.ob2-welcome-sub { font-size: 13.5px; color: #6B7280; margin: 0; }

/* Option cards */
.ob2-cards { display: flex; flex-direction: column; gap: 12px; }
.ob2-card {
  display: flex; align-items: center; gap: 16px;
  background: white; border: 1.5px solid #E5E7EB; border-radius: 14px;
  padding: 20px; cursor: pointer; text-align: left; width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.ob2-card:hover {
  border-color: #F48120; box-shadow: 0 4px 20px rgba(244,129,32,0.1);
  transform: translateY(-1px);
}
.ob2-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.ob2-card-body { flex: 1; min-width: 0; }
.ob2-card-title { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 4px; }
.ob2-card-desc  { font-size: 13px; color: #6B7280; line-height: 1.5; }
.ob2-card-arrow { color: #D1D5DB; font-size: 16px; flex-shrink: 0; transition: color 0.15s; }
.ob2-card:hover .ob2-card-arrow { color: #F48120; }

/* Form views */
.ob2-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: #6B7280; font-weight: 500;
  background: none; border: none; cursor: pointer; padding: 0;
  margin-bottom: 24px; transition: color 0.15s;
}
.ob2-back:hover { color: #111827; }
.ob2-form-title { font-size: 22px; font-weight: 800; color: #111827; margin: 0 0 6px; letter-spacing: -0.4px; }
.ob2-form-sub   { font-size: 13.5px; color: #6B7280; margin: 0 0 28px; line-height: 1.6; }
.ob2-form       { display: flex; flex-direction: column; gap: 4px; }
.ob2-submit     { margin-top: 8px; width: 100%; justify-content: center; }
.ob2-required   { color: #EF4444; margin-left: 2px; }
.ob2-optional   { color: #9CA3AF; font-weight: 400; font-size: 12px; }

/* Responsive */
@media (max-width: 900px) {
  .ob2-layout { grid-template-columns: 1fr; }
  .ob2-brand { height: auto; position: static; padding: 0; }
  .ob2-brand-inner { padding: 28px 24px 24px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0; }
  .ob2-logo { margin-bottom: 0; flex: 1; }
  .ob2-brand-headline, .ob2-features { display: none; }
  .ob2-brand-footer { margin-top: 0; padding-top: 0; border-top: none; flex: 1; text-align: right; }
  .ob2-right { min-height: auto; padding: 32px 20px 48px; align-items: flex-start; }
}

/* ── Onboarding v3 (centered, no sidebar) ── */
.ob3-page {
  min-height: 100vh;
  background: #F8F9FB;
  display: flex; flex-direction: column;
}

.ob3-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 60px;
  background: white; border-bottom: 1px solid #F3F4F6;
  position: sticky; top: 0; z-index: 10;
}
.ob3-logo { display: flex; align-items: center; gap: 10px; }
.ob3-logo span { font-size: 18px; font-weight: 800; color: #111827; letter-spacing: -0.4px; }
.ob3-logo span em { color: #F48120; font-style: normal; }
.ob3-topbar-user { display: flex; align-items: center; gap: 16px; }
.ob3-topbar-email { font-size: 13px; color: #6B7280; }
.ob3-topbar-logout {
  font-size: 13px; color: #6B7280; text-decoration: none; font-weight: 500;
  padding: 5px 12px; border-radius: 7px; border: 1px solid #E5E7EB;
  transition: background 0.12s, color 0.12s;
}
.ob3-topbar-logout:hover { background: #F9FAFB; color: #374151; }

.ob3-main {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 48px 24px;
  animation: ob3PageIn 0.3s ease both;
}
@keyframes ob3PageIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ob3-main > div { width: 100%; max-width: 520px; }

/* Hero */
.ob3-hero { text-align: center; margin-bottom: 36px; }
.ob3-avatar {
  width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(135deg, #F48120, #e06010);
  color: white; font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; box-shadow: 0 6px 18px rgba(244,129,32,0.28);
}
.ob3-hero-title {
  font-size: 26px; font-weight: 800; color: #111827;
  letter-spacing: -0.6px; margin: 0 0 8px;
}
.ob3-hero-sub { font-size: 14px; color: #6B7280; margin: 0; }

/* Option rows */
.ob3-options { display: flex; flex-direction: column; gap: 0; margin-bottom: 28px; }
.ob3-option {
  display: flex; align-items: center; gap: 16px;
  background: white; border: 1.5px solid #E5E7EB; border-radius: 14px;
  padding: 18px 20px; cursor: pointer; text-align: left; width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
  margin-bottom: 0;
}
.ob3-option:first-child { border-radius: 14px 14px 0 0; border-bottom: none; }
.ob3-option:last-child  { border-radius: 0 0 14px 14px; }
.ob3-option:hover {
  border-color: #F48120; z-index: 1; position: relative;
  box-shadow: 0 4px 20px rgba(244,129,32,0.1); transform: translateY(-1px);
  border-radius: 14px;
}
.ob3-option-iconwrap {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ob3-option-text { flex: 1; min-width: 0; }
.ob3-option-title { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 3px; }
.ob3-option-desc  { font-size: 13px; color: #6B7280; line-height: 1.5; }
.ob3-option-chevron { color: #D1D5DB; font-size: 16px; flex-shrink: 0; transition: color 0.15s, transform 0.15s; }
.ob3-option:hover .ob3-option-chevron { color: #F48120; transform: translateX(3px); }

.ob3-option-or {
  text-align: center; position: relative; padding: 10px 0;
}
.ob3-option-or span {
  background: #F8F9FB; padding: 0 12px;
  font-size: 12px; color: #9CA3AF; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px;
  position: relative; z-index: 1;
}
.ob3-option-or::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: #E5E7EB;
}

/* Feature pills */
.ob3-features {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.ob3-features span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: #6B7280; font-weight: 500;
  background: white; border: 1px solid #E5E7EB;
  padding: 5px 12px; border-radius: 20px;
}
.ob3-features span i { color: #F48120; font-size: 13px; }

/* Form views */
.ob3-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: #6B7280; font-weight: 500;
  background: none; border: none; cursor: pointer; padding: 0;
  margin-bottom: 24px; transition: color 0.15s;
}
.ob3-back:hover { color: #111827; }
.ob3-form-head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
}
.ob3-form-icon {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.ob3-form-title { font-size: 20px; font-weight: 800; color: #111827; margin: 0 0 4px; letter-spacing: -0.4px; }
.ob3-form-sub   { font-size: 13px; color: #6B7280; margin: 0; }
.ob3-form       { background: white; border: 1px solid #E5E7EB; border-radius: 14px; padding: 24px; }
.ob3-submit     { width: 100%; justify-content: center; margin-top: 8px; }

/* Prevent Alpine flash before init */
[x-cloak] { display: none !important; }

/* ob3 view transitions — fade + slide up */
.ob3-enter      { transition: opacity 0.2s ease, transform 0.2s ease; }
.ob3-enter-start{ opacity: 0; transform: translateY(8px); }
.ob3-enter-end  { opacity: 1; transform: translateY(0); }
.ob3-leave      { transition: opacity 0.15s ease; }
.ob3-leave-start{ opacity: 1; }
.ob3-leave-end  { opacity: 0; }

/* Keep the main content area stable height during transitions */
.ob3-main { position: relative; }
.ob3-main > div { position: relative; }

@media (max-width: 540px) {
  .ob3-topbar { padding: 0 16px; }
  .ob3-topbar-email { display: none; }
  .ob3-hero-title { font-size: 22px; }
  .ob3-option { padding: 14px 16px; }
}

/* ── Onboarding ── */
.onboarding-page {
  min-height: 100vh;
  background: var(--light);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 24px;
}
.onboarding-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 48px;
}
.onboarding-logo span { font-size: 20px; font-weight: 800; color: var(--dark); letter-spacing: -0.4px; }
.onboarding-logo span em { color: var(--orange); font-style: normal; }

.onboarding-hero { text-align: center; margin-bottom: 44px; }
.onboarding-hero h1 {
  font-size: 34px; font-weight: 800; color: var(--dark);
  line-height: 1.2; letter-spacing: -0.8px; margin-bottom: 12px;
}
.onboarding-hero h1 span { color: var(--orange); }
.onboarding-hero p { font-size: 15px; color: var(--gray); max-width: 460px; margin: 0 auto; line-height: 1.7; }

.onboarding-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; width: 100%; max-width: 860px; margin-bottom: 36px;
}
.ob-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 24px 22px;
  cursor: pointer; text-decoration: none;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.15s;
  display: flex; flex-direction: column; gap: 12px;
}
.ob-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(244,129,32,0.1);
  transform: translateY(-2px);
}
.ob-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.ob-card h3 { font-size: 14.5px; font-weight: 700; color: var(--dark); margin: 0; }
.ob-card p  { font-size: 13px; color: var(--gray); line-height: 1.6; margin: 0; }
.ob-arrow   { margin-top: auto; font-size: 12px; color: var(--orange); font-weight: 600; }

.ob-form-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 32px;
  width: 100%; max-width: 480px; margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.ob-form-panel h2 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.ob-form-panel p  { font-size: 13px; color: var(--gray); margin-bottom: 22px; }

.onboarding-footer { font-size: 13px; color: var(--gray-light); }
.onboarding-footer a { color: var(--orange); text-decoration: none; }

@media (max-width: 700px) {
  .onboarding-cards { grid-template-columns: 1fr; }
  .onboarding-hero h1 { font-size: 24px; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-wrapper { margin-left: 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  #main-content { padding: 16px; }

  .org-detail-header { flex-direction: column; }
  .org-detail-actions { width: 100%; }
  .org-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .org-member-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }
  .org-member-joined { display: none; }
  .org-member-actions { grid-column: 2; grid-row: 1 / 3; }
  .org-member-meta { grid-column: 1; }

  .mtg-body-grid { grid-template-columns: 1fr; }
  .mtg-title-row { flex-direction: column; }
  .mtg-actions { width: 100%; }
  .mtg-rsvp-bar { flex-direction: column; align-items: flex-start; }
  .mtg-rsvp-form { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .org-stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .org-detail-identity { flex-direction: row; }
  .org-detail-logo, .org-detail-logo-placeholder { width: 52px; height: 52px; font-size: 20px; }
  .org-detail-name { font-size: 18px; }
}

/* ── Notifications ── */
.notification-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-list {
  display: flex;
  flex-direction: column;
}

.notification-item {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.12s;
}

.notification-item:hover {
  background: var(--light);
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item.unread {
  background: #FFFBF5;
}

.notification-item.unread:hover {
  background: #FFF4EC;
}

.notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gray);
  font-size: 16px;
}

.notification-item.unread .notification-icon {
  background: var(--orange-light);
  color: var(--orange);
}

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

.notification-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.notification-message {
  font-size: 12.5px;
  color: var(--gray);
  margin-bottom: 4px;
}

.notification-time {
  font-size: 11.5px;
  color: var(--gray-light);
}

.notification-actions {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.form-check {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.form-check:last-child {
  border-bottom: none;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.form-check-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
  flex: 1;
}

.form-check-label strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
}

.form-check-label .text-muted {
  font-size: 12px;
  color: var(--gray);
  display: block;
}

.form-section {
  margin-bottom: 28px;
}

.form-section h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.page-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.page-header .text-muted {
  font-size: 13px;
  color: var(--gray);
}

/* ═══════════════════════════════════════════
   PUBLIC PAGES
═══════════════════════════════════════════ */
:root {
  --pub-muted: #6B7280;
  --pub-border: #E5E7EB;
}

/* ── Public Nav ── */
.pub-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pub-border);
}
.pub-nav__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px; height: 64px;
  display: flex; align-items: center; gap: 32px;
}
.pub-nav__logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-size: 18px; font-weight: 800;
  color: var(--dark); letter-spacing: -0.4px; flex-shrink: 0;
}
.pub-nav__links {
  display: flex; list-style: none; gap: 4px; margin: 0; padding: 0;
}
.pub-nav__links a {
  padding: 6px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--pub-muted);
  text-decoration: none; transition: color 0.15s, background 0.15s;
}
.pub-nav__links a:hover { color: var(--dark); background: var(--light); }
.pub-nav__cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.btn-ghost {
  padding: 7px 16px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--dark); text-decoration: none; transition: background 0.15s;
}
.btn-ghost:hover { background: var(--light); }
.btn-primary {
  padding: 8px 18px; border-radius: 8px; font-size: 14px; font-weight: 600;
  background: var(--orange); color: white; text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--orange-deep); color: white; }
.pub-nav__burger { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--dark); }
.pub-nav__mobile { display: none; flex-direction: column; padding: 12px 24px 16px; gap: 4px; border-top: 1px solid var(--pub-border); }
.pub-nav__mobile a { padding: 10px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--dark); text-decoration: none; }
.pub-nav__mobile a:hover { background: var(--light); }
.pub-nav__mobile .btn-primary { text-align: center; margin-top: 8px; }

/* ── Public Buttons ── */
.pub-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-size: 15px; font-weight: 600;
  background: var(--orange); color: white; text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.pub-btn-primary:hover { background: var(--orange-deep); color: white; transform: translateY(-1px); }
.pub-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-size: 15px; font-weight: 600;
  background: white; color: var(--dark); text-decoration: none;
  border: 1px solid var(--pub-border); transition: background 0.15s;
}
.pub-btn-ghost:hover { background: var(--light); }
.pub-btn-ghost-light {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-size: 15px; font-weight: 600;
  background: rgba(255,255,255,0.15); color: white; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3); transition: background 0.15s;
}
.pub-btn-ghost-light:hover { background: rgba(255,255,255,0.25); }
.pub-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px; font-size: 14px; font-weight: 600;
  background: transparent; color: var(--orange); text-decoration: none;
  border: 2px solid var(--orange); transition: background 0.15s;
}
.pub-btn-outline:hover { background: var(--orange-light); }
.pub-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--orange); font-size: 14px; font-weight: 600; text-decoration: none;
  margin-top: 24px;
}
.pub-link:hover { text-decoration: underline; }

/* ── Section base ── */
.pub-section {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.pub-section h2 {
  font-size: 36px; font-weight: 800; color: var(--dark);
  letter-spacing: -0.8px; margin-bottom: 12px; line-height: 1.2;
}
.pub-section__label {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--orange);
  background: var(--orange-light); padding: 4px 12px; border-radius: 20px;
  margin-bottom: 16px;
}
.pub-section__sub { font-size: 17px; color: var(--pub-muted); max-width: 560px; margin: 0 auto 48px; line-height: 1.7; }

/* ── Hero ── */
.pub-hero {
  text-align: center;
  padding: 100px 24px 80px;
  background: linear-gradient(160deg, #fff 0%, #FFF4EC 60%, #fff 100%);
  overflow: hidden;
}
.pub-hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange-light); color: var(--orange);
  font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: 20px;
  margin-bottom: 24px;
}
.pub-hero h1 {
  font-size: clamp(36px, 6vw, 64px); font-weight: 900;
  color: var(--dark); letter-spacing: -1.5px; line-height: 1.1;
  margin-bottom: 20px;
}
.pub-hero h1 span { color: var(--orange); }
.pub-hero p {
  font-size: 18px; color: var(--pub-muted); max-width: 560px;
  margin: 0 auto 36px; line-height: 1.7;
}
.pub-hero__cta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── Mockup ── */
.pub-hero__preview { margin-top: 64px; }
.pub-mockup {
  display: inline-block; background: white;
  border-radius: 16px; border: 1px solid var(--pub-border);
  box-shadow: 0 32px 80px rgba(0,0,0,0.12);
  overflow: hidden; max-width: 780px; width: 100%;
  text-align: left;
}
.pub-mockup__bar {
  background: #F3F4F6; padding: 10px 16px;
  display: flex; gap: 6px; align-items: center;
  border-bottom: 1px solid var(--pub-border);
}
.pub-mockup__bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #D1D5DB; display: inline-block;
}
.pub-mockup__bar span:nth-child(1) { background: #EF4444; }
.pub-mockup__bar span:nth-child(2) { background: #F59E0B; }
.pub-mockup__bar span:nth-child(3) { background: #10B981; }
.pub-mockup__body { display: flex; min-height: 280px; }
.pub-mockup__sidebar {
  width: 160px; background: #F9FAFB; border-right: 1px solid var(--pub-border);
  padding: 16px 12px; flex-shrink: 0;
}
.pub-mock-logo { font-size: 13px; font-weight: 800; color: var(--dark); margin-bottom: 16px; padding: 0 4px; }
.pub-mock-nav {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 8px; border-radius: 6px; font-size: 11.5px;
  color: var(--pub-muted); margin-bottom: 2px;
}
.pub-mock-nav i { font-size: 6px; }
.pub-mock-nav.active { background: var(--orange-light); color: var(--orange); font-weight: 600; }
.pub-mockup__content { flex: 1; padding: 20px; }
.pub-mock-header { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.pub-mock-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 20px; }
.pub-mock-stat {
  background: var(--light); border-radius: 8px; padding: 10px;
  border: 1px solid var(--pub-border);
}
.pub-mock-stat .val { font-size: 18px; font-weight: 800; color: var(--dark); }
.pub-mock-stat .lbl { font-size: 10px; color: var(--pub-muted); margin-top: 2px; }
.pub-mock-row { height: 10px; background: #F3F4F6; border-radius: 4px; margin-bottom: 8px; }
.pub-mock-row.short { width: 60%; }

/* ── Trusted ── */
.pub-trusted {
  background: var(--light); border-top: 1px solid var(--pub-border); border-bottom: 1px solid var(--pub-border);
  padding: 32px 24px; text-align: center;
}
.pub-trusted p { font-size: 13px; color: var(--pub-muted); font-weight: 500; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.8px; }
.pub-trusted__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pub-trust-logo {
  padding: 8px 20px; border-radius: 8px; background: white;
  border: 1px solid var(--pub-border); font-size: 13px; font-weight: 600;
  color: var(--pub-muted);
}

/* ── Features Grid ── */
.pub-features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px; text-align: left; margin-top: 48px;
}
.pub-feat-card {
  background: white; border: 1px solid var(--pub-border); border-radius: 14px;
  padding: 24px; transition: box-shadow 0.2s, transform 0.15s;
}
.pub-feat-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }
.pub-feat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--orange-light); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}
.pub-feat-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.pub-feat-card p { font-size: 13.5px; color: var(--pub-muted); line-height: 1.6; }

/* ── Why Boardora ── */
.pub-why {
  background: var(--dark); padding: 80px 24px;
}
.pub-why__inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center;
}
.pub-why__label {
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 20px; padding: 4px 12px; border-radius: 20px; display: inline-block;
}
.pub-why__label.before { background: rgba(239,68,68,0.15); color: #FCA5A5; }
.pub-why__label.after  { background: rgba(16,185,129,0.15); color: #6EE7B7; }
.pub-why__before ul, .pub-why__after ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pub-why__before li, .pub-why__after li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.8); }
.pub-why__before li i { color: #FCA5A5; }
.pub-why__after li i { color: #6EE7B7; }
.pub-why__arrow { font-size: 36px; color: var(--orange); }

/* ── Use Cases ── */
.pub-use-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px; margin-top: 48px; text-align: left;
}
.pub-use-card {
  background: white; border: 1px solid var(--pub-border); border-radius: 14px;
  padding: 24px; transition: border-color 0.2s, box-shadow 0.2s;
}
.pub-use-card:hover { border-color: var(--orange); box-shadow: 0 4px 20px rgba(244,129,32,0.1); }
.pub-use-icon { font-size: 28px; color: var(--orange); margin-bottom: 12px; }
.pub-use-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.pub-use-card p { font-size: 13px; color: var(--pub-muted); line-height: 1.6; }

/* ── Security ── */
.pub-security { background: var(--light); padding: 80px 24px; }
.pub-security__inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.pub-security__inner h2 { font-size: 32px; font-weight: 800; color: var(--dark); margin: 16px 0 48px; letter-spacing: -0.6px; }
.pub-security__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; text-align: left; }
.pub-sec-item {
  background: white; border: 1px solid var(--pub-border); border-radius: 14px; padding: 24px;
}
.pub-sec-item i { font-size: 28px; color: var(--orange); margin-bottom: 12px; display: block; }
.pub-sec-item h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.pub-sec-item p { font-size: 13px; color: var(--pub-muted); line-height: 1.6; }

/* ── Testimonials ── */
.pub-testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; text-align: left; }
.pub-testi-card {
  background: white; border: 1px solid var(--pub-border); border-radius: 14px; padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.pub-testi-card p { font-size: 15px; color: var(--slate); line-height: 1.7; font-style: italic; flex: 1; }
.pub-testi-author { display: flex; align-items: center; gap: 12px; }
.pub-testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: white; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pub-testi-author strong { display: block; font-size: 14px; font-weight: 700; color: var(--dark); }
.pub-testi-author span { font-size: 12px; color: var(--pub-muted); }

/* ── Pricing ── */
.pub-pricing-preview { background: var(--light); }
.pub-price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
.pub-price-card {
  background: white; border: 1px solid var(--pub-border); border-radius: 16px;
  padding: 32px; position: relative; text-align: left;
  transition: box-shadow 0.2s;
}
.pub-price-card.featured {
  border-color: var(--orange); border-width: 2px;
  box-shadow: 0 8px 40px rgba(244,129,32,0.15);
}
.pub-price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: white; font-size: 11px; font-weight: 700;
  padding: 3px 14px; border-radius: 20px; white-space: nowrap;
}
.pub-price-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.pub-price-amount { font-size: 40px; font-weight: 900; color: var(--dark); margin-bottom: 8px; letter-spacing: -1px; }
.pub-price-amount span { font-size: 16px; font-weight: 500; color: var(--pub-muted); }
.pub-price-card p { font-size: 13.5px; color: var(--pub-muted); margin-bottom: 20px; line-height: 1.6; }
.pub-price-desc { font-size: 13.5px; color: var(--pub-muted); margin-bottom: 20px; line-height: 1.6; }
.pub-price-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pub-price-features li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--slate); }
.pub-price-features li i { color: var(--green); font-size: 15px; flex-shrink: 0; }
.pub-price-card .pub-btn-primary,
.pub-price-card .pub-btn-outline { width: 100%; justify-content: center; }

/* ── CTA Banner ── */
.pub-cta {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  padding: 80px 24px; text-align: center;
}
.pub-cta h2 { font-size: 36px; font-weight: 900; color: white; letter-spacing: -0.8px; margin-bottom: 12px; }
.pub-cta p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 36px; }

/* ── Page Hero (inner pages) ── */
.pub-page-hero {
  text-align: center; padding: 80px 24px 60px;
  background: linear-gradient(160deg, #fff 0%, #FFF4EC 60%, #fff 100%);
}
.pub-page-hero h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 900; color: var(--dark); letter-spacing: -1px; margin: 16px 0 12px; }
.pub-page-hero p { font-size: 17px; color: var(--pub-muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ── About ── */
.pub-about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  text-align: left; align-items: start;
}
.pub-about-text h2 { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.pub-about-text p { font-size: 15px; color: var(--pub-muted); line-height: 1.8; margin-bottom: 14px; }
.pub-values { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.pub-value-item { display: flex; align-items: flex-start; gap: 14px; }
.pub-value-item i { font-size: 22px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.pub-value-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.pub-value-item p { font-size: 13px; color: var(--pub-muted); margin: 0; }
.pub-about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pub-about-stat {
  background: white; border: 1px solid var(--pub-border); border-radius: 14px;
  padding: 28px 20px; text-align: center;
}
.pub-about-stat .val { font-size: 36px; font-weight: 900; color: var(--orange); letter-spacing: -1px; }
.pub-about-stat .lbl { font-size: 13px; color: var(--pub-muted); margin-top: 4px; font-weight: 500; }

/* ── Contact ── */
.pub-contact-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 48px;
  text-align: left; align-items: start;
}
.pub-contact-form { display: flex; flex-direction: column; gap: 0; }
.pub-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pub-form-group { margin-bottom: 16px; }
.pub-form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.pub-form-group input,
.pub-form-group select,
.pub-form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #D1D5DB; border-radius: 8px;
  font-size: 14px; color: var(--dark); background: white; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s; font-family: inherit;
}
.pub-form-group input:focus,
.pub-form-group select:focus,
.pub-form-group textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,129,32,0.1); }
.pub-contact-info { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.pub-contact-item { display: flex; align-items: flex-start; gap: 14px; }
.pub-contact-item i { font-size: 20px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.pub-contact-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.pub-contact-item span { font-size: 13.5px; color: var(--pub-muted); }
.pub-contact-trust {
  background: var(--orange-light); border-radius: 10px; padding: 14px 16px;
  font-size: 13px; color: var(--orange); font-weight: 500;
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
}
.pub-contact-trust i { font-size: 16px; }

/* ── Footer ── */
.pub-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 64px 24px 0; }
.pub-footer__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 64px; padding-bottom: 48px; }
.pub-footer__brand { display: flex; flex-direction: column; gap: 10px; }
.pub-footer__brand img { filter: brightness(0) invert(1); opacity: 0.9; }
.pub-footer__brand span { font-size: 18px; font-weight: 800; color: white; }
.pub-footer__brand p { font-size: 13px; line-height: 1.7; max-width: 240px; }
.pub-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pub-footer__cols h4 { font-size: 12px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px; }
.pub-footer__cols a { display: block; font-size: 13.5px; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 8px; transition: color 0.15s; }
.pub-footer__cols a:hover { color: white; }
.pub-footer__bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; display: flex; justify-content: space-between;
  font-size: 12.5px; color: rgba(255,255,255,0.4);
}

/* ── Responsive Public ── */
@media (max-width: 900px) {
  .pub-nav__links, .pub-nav__cta { display: none; }
  .pub-nav__burger { display: block; margin-left: auto; }
  .pub-nav__mobile[x-show] { display: flex !important; }
  .pub-why__inner { grid-template-columns: 1fr; }
  .pub-why__arrow { display: none; }
  .pub-about-grid, .pub-contact-grid { grid-template-columns: 1fr; }
  .pub-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .pub-footer__cols { grid-template-columns: repeat(2, 1fr); }
  .pub-footer__bottom { flex-direction: column; gap: 6px; text-align: center; }
  .pub-mockup__sidebar { display: none; }
  .pub-mock-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pub-hero { padding: 64px 16px 48px; }
  .pub-section { padding: 56px 16px; }
  .pub-price-grid { grid-template-columns: 1fr; }
  .pub-form-row { grid-template-columns: 1fr; }
  .pub-footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════
   LANDING PAGE REFACTOR  (lp-*)
═══════════════════════════════════════════ */

/* ── Hero ── */
.lp-hero {
  background: var(--dark);
  padding: 0 24px;
  overflow: hidden;
}
.lp-hero__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 56px; align-items: center;
  min-height: 90vh; padding: 80px 0 100px;
}
.lp-hero__text { color: white; }
.lp-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(244,129,32,0.18); color: var(--orange);
  border: 1px solid rgba(244,129,32,0.35);
  font-size: 13px; font-weight: 600; padding: 5px 14px;
  border-radius: 20px; margin-bottom: 26px;
}
.lp-hero__text h1 {
  font-size: clamp(38px, 5vw, 62px); font-weight: 900;
  color: white; letter-spacing: -1.8px; line-height: 1.08;
  margin-bottom: 22px;
}
.lp-hero__text h1 span { color: var(--orange); }
.lp-hero__text > p {
  font-size: 17px; color: rgba(255,255,255,0.68);
  max-width: 460px; margin-bottom: 38px; line-height: 1.8;
}
.lp-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.lp-btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-size: 15px; font-weight: 600;
  background: rgba(255,255,255,0.1); color: white; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.22); transition: background 0.15s;
}
.lp-btn-white:hover { background: rgba(255,255,255,0.18); color: white; }

/* ── Hero Visual ── */
.lp-hero__visual { position: relative; }
.lp-hero__img {
  width: 100%; border-radius: 20px;
  box-shadow: 0 48px 100px rgba(0,0,0,0.5);
  aspect-ratio: 4/3; object-fit: cover;
  display: block;
}
.lp-float-card {
  position: absolute; bottom: -22px; left: -28px;
  background: white; border-radius: 14px;
  padding: 16px 22px; display: flex; align-items: center; gap: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
.lp-float-stat { text-align: center; }
.lp-float-stat span { display: block; font-size: 22px; font-weight: 900; color: var(--orange); letter-spacing: -0.5px; }
.lp-float-stat small { font-size: 11px; color: var(--gray); font-weight: 500; white-space: nowrap; }
.lp-float-divider { width: 1px; height: 32px; background: var(--border); }

/* ── Stats Bar ── */
.lp-statsbar { background: var(--orange); padding: 26px 24px; }
.lp-statsbar__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px;
}
.lp-sstat { text-align: center; }
.lp-sstat span { display: block; font-size: 30px; font-weight: 900; color: white; letter-spacing: -0.5px; }
.lp-sstat p { font-size: 13px; color: rgba(255,255,255,0.8); margin: 0; font-weight: 500; }

/* ── LP Section ── */
.lp-section { max-width: 1200px; margin: 0 auto; padding: 88px 24px; }
.lp-section--alt { max-width: 100%; background: var(--light); padding: 88px 24px; }
.lp-section--alt .lp-section__head,
.lp-section--alt .lp-sectors { max-width: 1200px; margin-left: auto; margin-right: auto; }
.lp-section__head { text-align: center; margin-bottom: 52px; }
.lp-section__head h2 {
  font-size: clamp(28px, 4vw, 38px); font-weight: 800;
  color: var(--dark); letter-spacing: -0.8px;
  margin: 14px 0 12px; line-height: 1.2;
}
.lp-section__head p { font-size: 16px; color: var(--pub-muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ── Capability Cards (image bg) ── */
.lp-caps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.lp-cap-card {
  border-radius: 20px; overflow: hidden; position: relative;
  height: 360px; background-size: cover; background-position: center;
  transition: transform 0.25s;
}
.lp-cap-card:hover { transform: translateY(-4px); }
.lp-cap-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.93) 0%, rgba(17,24,39,0.25) 100%);
  padding: 28px 26px; display: flex; flex-direction: column;
  justify-content: flex-end; color: white;
}
.lp-cap-overlay i { font-size: 30px; color: var(--orange); margin-bottom: 10px; }
.lp-cap-overlay h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.lp-cap-overlay p { font-size: 13.5px; color: rgba(255,255,255,0.72); line-height: 1.65; }

/* ── Sectors ── */
.lp-sectors { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.lp-sector { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3/4; }
.lp-sector img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.lp-sector:hover img { transform: scale(1.04); }
.lp-sector__label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.88) 0%, transparent 100%);
  color: white; padding: 32px 18px 18px;
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.lp-sector__label i { color: var(--orange); font-size: 17px; }

/* ── Testimonials ── */
.lp-testi-section { padding: 88px 24px; background: var(--dark); }
.lp-testi-section__inner { max-width: 1200px; margin: 0 auto; }
.lp-testi-section .lp-section__head h2 { color: white; }
.lp-testi-section .pub-section__label { background: rgba(244,129,32,0.2); }
.lp-testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.lp-testi-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px; padding: 30px 28px;
  display: flex; flex-direction: column; gap: 18px;
  transition: background 0.2s;
}
.lp-testi-card:hover { background: rgba(255,255,255,0.08); }
.lp-testi-card img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange); }
.lp-testi-card p { font-size: 15px; color: rgba(255,255,255,0.78); line-height: 1.75; font-style: italic; flex: 1; }
.lp-testi-who strong { display: block; font-size: 14px; font-weight: 700; color: white; }
.lp-testi-who span { font-size: 12px; color: rgba(255,255,255,0.45); }

/* ── Final CTA ── */
.lp-cta { background: var(--orange); overflow: hidden; }
.lp-cta__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 48px;
  padding: 0 24px;
}
.lp-cta__text { padding: 80px 0; }
.lp-cta__text h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; color: white; letter-spacing: -1px; margin-bottom: 14px; line-height: 1.15; }
.lp-cta__text p { font-size: 16px; color: rgba(255,255,255,0.82); margin-bottom: 36px; line-height: 1.7; }
.lp-cta__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  min-height: 380px; filter: brightness(0.85) saturate(0.9);
}

/* ── Improved Nav ── */
.pub-nav { border-bottom: 1px solid rgba(229,231,235,0.7); }
.pub-nav__logo img { border-radius: 6px; }
.pub-nav__links a.active { color: var(--dark); font-weight: 600; }

/* ── Improved Footer ── */
.pub-footer {
  background: #0D1117;
  background-image: linear-gradient(to bottom right, #0D1117 60%, #1a1f2e 100%);
}
.pub-footer__brand { gap: 12px; }
.pub-footer__tagline { font-size: 12px; color: rgba(255,255,255,0.35); font-style: italic; margin-top: 4px; }
.pub-footer__social { display: flex; gap: 10px; margin-top: 8px; }
.pub-footer__social a {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; text-decoration: none; transition: background 0.15s, color 0.15s;
}
.pub-footer__social a:hover { background: var(--orange); color: white; }
.pub-footer__bottom { align-items: center; }
.pub-footer__bottom-brand { display: flex; align-items: center; gap: 8px; }
.pub-footer__bottom-brand img { filter: brightness(0) invert(1); opacity: 0.5; height: 20px; }

/* ── LP Responsive ── */
@media (max-width: 1024px) {
  .lp-sectors { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .lp-hero__inner { grid-template-columns: 1fr; min-height: auto; padding: 64px 0 80px; }
  .lp-hero__visual { display: none; }
  .lp-caps-grid { grid-template-columns: 1fr; }
  .lp-testi-grid { grid-template-columns: 1fr; }
  .lp-statsbar__inner { gap: 32px; }
  .lp-cta__inner { grid-template-columns: 1fr; }
  .lp-cta__img { display: none; }
  .lp-cta__text { padding: 64px 0; }
}
@media (max-width: 600px) {
  .lp-section { padding: 56px 16px; }
  .lp-section--alt { padding: 56px 16px; }
  .lp-testi-section { padding: 56px 16px; }
  .lp-sectors { grid-template-columns: repeat(2,1fr); }
  .lp-float-card { display: none; }
  .lp-statsbar__inner { justify-content: center; gap: 20px; }
}
