/* Club Connect - Modern Design System (Navy #0F172A, Teal #0D9488, Orange #F97316) */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --navy-950: #090e1a;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --navy-700: #334155;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-50: #f0fdfa;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-50: #fff7ed;
  --bg-page: #f1f5f9;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --success: #15803d;
  --success-bg: #f0fdf4;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal-600);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--teal-700);
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Sticky Glass Navbar */
.navbar {
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 60;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: #ffffff;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-500), var(--orange-500));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.nav-toggle {
  display: none;
  background: var(--navy-800);
  color: #ffffff;
  border: 1px solid var(--navy-700);
  border-radius: 8px;
  padding: 0.42rem 0.65rem;
  cursor: pointer;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.user-pill {
  background: rgba(13, 148, 136, 0.16);
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: #99f6e4;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Split Modern Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(20, 184, 166, 0.22), transparent 42%),
    radial-gradient(circle at 12% 85%, rgba(249, 115, 22, 0.18), transparent 40%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, #113540 100%);
  color: #ffffff;
  padding: 3.75rem 0 4.25rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(249, 115, 22, 0.16);
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: #fdba74;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.25);
}

.hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-highlight {
  background: linear-gradient(90deg, #2dd4bf, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: #cbd5e1;
  font-size: 1.04rem;
  max-width: 580px;
  margin-bottom: 1.65rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hero-trust-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: #94a3b8;
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Hero Live Campus Pulse Card */
.hero-panel {
  background: rgba(30, 41, 59, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.hero-panel-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
}

.live-chip {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5eead4;
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.4);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.hero-metric {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.8rem;
  text-align: center;
}

.hero-metric strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.hero-metric span {
  font-size: 0.75rem;
  color: #94a3b8;
}

.spotlight-box {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.2), rgba(249, 115, 22, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 1rem;
}

.spotlight-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fdba74;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.spotlight-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.spotlight-meta {
  font-size: 0.82rem;
  color: #cbd5e1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.64rem 1.2rem;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.28);
}

.btn-accent {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.28);
}

.btn-navy {
  background: var(--navy-800);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--teal-600);
  color: var(--teal-700);
}

.btn-outline:hover {
  background: var(--teal-50);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.btn-danger {
  background: var(--danger);
  color: #ffffff;
}

.btn-sm {
  padding: 0.4rem 0.82rem;
  font-size: 0.82rem;
  border-radius: 8px;
}

/* Main Layout & Sections */
main {
  flex: 1;
  padding: 2.25rem 0 3.5rem;
}

.section {
  margin-bottom: 2.75rem;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-title::before {
  content: "";
  width: 5px;
  height: 1.35rem;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--orange-500), var(--teal-600));
  display: inline-block;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(305px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

/* Category Chips & Search Bar */
.search-toolbar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.search-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.search-input-wrap {
  flex: 1;
  min-width: 240px;
  position: relative;
}

.search-input-wrap svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.search-input-wrap input {
  padding-left: 2.5rem;
}

.chip-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.chip-btn {
  border: 1px solid var(--border);
  background: var(--bg-page);
  color: var(--navy-700);
  padding: 0.38rem 0.88rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip-btn:hover {
  border-color: var(--teal-600);
  color: var(--teal-700);
}

.chip-btn.active {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.2);
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card-interactive:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #cbd5e1;
}

.club-cover {
  margin: -1.3rem -1.3rem 0.35rem;
  padding: 1rem 1.3rem;
  border-radius: var(--radius) var(--radius) 0 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--navy-900), var(--teal-700));
}

.club-cover.cat-cultural {
  background: linear-gradient(135deg, #0f172a, #ea580c);
}

.club-cover.cat-sports {
  background: linear-gradient(135deg, #1e293b, #0d9488);
}

.club-cover.cat-literary {
  background: linear-gradient(135deg, #0f172a, #0f766e);
}

.club-cover.cat-social {
  background: linear-gradient(135deg, #1e293b, #f97316);
}

.club-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
}

.card-meta {
  font-size: 0.87rem;
  color: var(--text-muted);
}

.card-actions {
  margin-top: auto;
  padding-top: 0.6rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

/* Capacity Progress Bar */
.capacity-wrap {
  margin-top: 0.25rem;
}

.capacity-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.progress-track {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-600), var(--teal-500));
  transition: width 0.3s ease;
}

.progress-fill.near-full {
  background: linear-gradient(90deg, var(--orange-500), var(--danger));
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal-600);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.stat-card.accent {
  border-top-color: var(--orange-500);
}

.stat-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

.stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-top: 0.15rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-teal {
  background: var(--teal-50);
  color: var(--teal-700);
  border: 1px solid #99f6e4;
}

.badge-orange {
  background: var(--orange-50);
  color: var(--orange-600);
  border: 1px solid #fed7aa;
}

.badge-navy {
  background: #e2e8f0;
  color: var(--navy-900);
}

.badge-glass {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

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

.badge-danger {
  background: var(--danger-bg);
  color: var(--danger);
}

/* Role Journey Showcase */
.journey-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.journey-step {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--teal-50);
  color: var(--teal-700);
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

/* Split Auth Layout */
.auth-shell {
  max-width: 920px;
  margin: 1.5rem auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
}

.auth-aside {
  background: linear-gradient(155deg, var(--navy-950), var(--navy-900), var(--teal-700));
  color: #ffffff;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.auth-aside h2 {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
}

.auth-aside ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.auth-panel {
  padding: 2.25rem;
}

.form-card {
  max-width: 480px;
  margin: 2rem auto;
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
}

label {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--navy-800);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.62rem 0.82rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.94rem;
  font-family: inherit;
  background: #ffffff;
  color: var(--text-main);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.16);
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.35rem;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 0.7rem 1.05rem;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s ease;
}

.tab-btn:hover {
  color: var(--navy-900);
}

.tab-btn.active {
  color: var(--teal-700);
  border-bottom-color: var(--orange-500);
}

.hidden {
  display: none !important;
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  padding: 0.8rem 0.95rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--navy-900);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

tr:hover td {
  background: #f8fafc;
}

tr:last-child td {
  border-bottom: none;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 120;
}

.modal-box {
  background: #ffffff;
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  max-height: 88vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.modal-close {
  background: var(--bg-page);
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

/* Skeleton Loader */
.skeleton-card {
  height: 190px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}

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

/* Alerts & Toast */
.alert {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.alert-error {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid #fecaca;
}

.alert-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #bbf7d0;
}

.alert-info {
  background: var(--teal-50);
  color: var(--teal-700);
  border: 1px solid #99f6e4;
}

.toast {
  position: fixed;
  bottom: 5.25rem;
  right: 1.25rem;
  z-index: 150;
  max-width: 360px;
  padding: 0.9rem 1.15rem;
  border-radius: 12px;
  color: #ffffff;
  background: var(--navy-900);
  border-left: 5px solid var(--teal-500);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.9rem;
}

.toast.error {
  border-left-color: var(--danger);
}

.toast.accent {
  border-left-color: var(--orange-500);
}

.footer {
  background: var(--navy-950);
  color: #94a3b8;
  padding: 1.5rem 1rem;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .hero-grid,
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-aside {
    padding: 1.5rem;
  }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-links.open {
    display: flex;
  }
  .hero {
    padding: 2.25rem 0 2.75rem;
  }
  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .chatbot-window {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    bottom: 4.8rem;
  }
}

/* Help & Support Floating Chatbot */
.chatbot-launcher {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 140;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--teal-700) 100%);
  color: #ffffff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.chatbot-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.34);
}

.chatbot-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
}

.chatbot-window {
  position: fixed;
  bottom: 5rem;
  right: 1.25rem;
  width: 365px;
  max-height: 510px;
  z-index: 145;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-900), var(--teal-700));
  color: #ffffff;
  padding: 0.95rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.chatbot-header strong {
  display: block;
  font-size: 0.98rem;
}

.chatbot-header span {
  font-size: 0.76rem;
  color: #99f6e4;
}

.chatbot-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.chatbot-messages {
  flex: 1;
  padding: 0.95rem;
  background: #f8fafc;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 220px;
  max-height: 290px;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.62rem 0.85rem;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
  white-space: pre-line;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: #ffffff;
  color: var(--navy-900);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.chat-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chatbot-chips {
  padding: 0.55rem 0.85rem;
  background: #ffffff;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.chatbot-chip {
  background: var(--teal-50);
  color: var(--teal-700);
  border: 1px solid #99f6e4;
  border-radius: 999px;
  padding: 0.25rem 0.62rem;
  font-size: 0.74rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.chatbot-chip:hover {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
}

.chatbot-form {
  display: flex;
  gap: 0.45rem;
  padding: 0.7rem 0.85rem;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.chatbot-form input {
  flex: 1;
  padding: 0.5rem 0.72rem;
  font-size: 0.86rem;
}
