/* ============================================================
   NEXOPINE SERVICES — Global Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ─── CSS Custom Properties ──────────────────────────────── */
:root {
  --primary:        #0D3B36;
  --primary-hover:  #13695B;
  --accent:         #7E3AF2;
  --soft-accent:    #E9E6FF;
  --dark:           #0F141A;
  --text:           #1B1E24;
  --text-secondary: #68707A;
  --border:         #E4E9E6;
  --surface:        #F6FAF8;
  --white:          #FFFFFF;

  --radius-sm:  8px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-full: 100px;

  --shadow-sm:  0 1px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.03);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-primary: 0 2px 8px rgba(13,59,54,0.25);
  --shadow-accent:  0 2px 8px rgba(126,58,242,0.3);

  --transition: all 0.2s ease;
  --transition-slow: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

::selection {
  background: var(--soft-accent);
  color: var(--accent);
}

::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ─── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes scrollX {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.05); }
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up   { animation: fadeUp 0.6s ease forwards; }
.fade-in   { animation: fadeIn 0.5s ease forwards; }
.float-el  { animation: float 4s ease-in-out infinite; }
.scroll-x  { animation: scrollX 30s linear infinite; }

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Layout ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

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

/* ─── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.25;
}
.hero-title    { font-size: clamp(36px, 6vw, 72px); line-height: 1.1; font-weight: 800; }
.section-title { font-size: clamp(28px, 4vw, 42px); line-height: 1.2; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary-hover), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Eyebrow Labels ──────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--soft-accent);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow-dark {
  background: rgba(126,58,242,0.15);
  color: #A78BFA;
}

/* ─── Divider ─────────────────────────────────────────────── */
.divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  border: none;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
}
.btn-lg { padding: 16px 32px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 8px 16px;  font-size: 13px; border-radius: var(--radius-sm); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,59,54,0.35);
}
.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--surface);
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover {
  background: #6d2fe0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(126,58,242,0.4);
}
.btn-ghost-dark {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: var(--white);
}
.btn-ghost-dark:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--surface);
  transform: translateY(-1px);
}
.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

/* ─── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-surface {
  background: var(--surface);
}
.card-no-hover:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

/* ─── Glass Cards ─────────────────────────────────────────── */
.glass-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
}

/* ─── Tags ────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag-primary { background: rgba(13,59,54,0.08); color: var(--primary); }
.tag-accent  { background: var(--soft-accent);   color: var(--accent); }

/* ─── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.badge-green  { background: #ECFDF5; color: #059669; }
.badge-yellow { background: #FFFBEB; color: #D97706; }
.badge-blue   { background: #EFF6FF; color: #2563EB; }
.badge-purple { background: var(--soft-accent); color: var(--accent); }
.badge-gray   { background: #F3F4F6; color: #6B7280; }
.badge-red    { background: #FEF2F2; color: #DC2626; }

/* ─── Icon Containers ─────────────────────────────────────── */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}
.icon-box-sm  { width: 40px; height: 40px; border-radius: 10px; }
.icon-box-md  { width: 48px; height: 48px; border-radius: 12px; }
.icon-box-lg  { width: 56px; height: 56px; border-radius: 14px; }

/* ─── Form Inputs ─────────────────────────────────────────── */
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,59,54,0.1);
}
.form-input::placeholder { color: var(--text-secondary); }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input   { cursor: pointer; }

/* ─── Tables ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table  { width: 100%; border-collapse: collapse; }
thead  { }
th {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--surface);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--surface); }

/* ─── Stats ───────────────────────────────────────────────── */
.stat-value { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.stat-label { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.stat-delta { font-size: 12px; font-weight: 600; color: #059669; margin-top: 8px; }

/* ─── Timeline ────────────────────────────────────────────── */
.timeline { position: relative; }
.timeline-item {
  display: flex;
  gap: 20px;
  padding-bottom: 40px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--soft-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}
.timeline-content { padding-top: 6px; }

/* ─── Toast Notification ──────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--dark);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  animation: toastIn 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 320px;
}
.toast.hidden { display: none; }

/* ─── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228,233,230,0.7);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.06); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
}
.nav-logo img { display: block; }
.nav-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.nav-logo-text span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 6px;
  transition: var(--transition);
  text-decoration: none;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-text {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-heading {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.footer-social-btn:hover { background: rgba(255,255,255,0.12); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 13px; }

/* ─── Section Header ──────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .eyebrow { margin-bottom: 16px; }
.section-header .section-title { margin-bottom: 12px; }
.section-header p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ─── Marquee (Logo Strip) ────────────────────────────────── */
.marquee-wrapper { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 64px;
  align-items: center;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  font-size: 16px;
  font-weight: 700;
  color: rgb(0, 49, 0);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

/* ─── CTA Section ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0a2e2a 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,0.6); font-size: 18px; margin-bottom: 40px; }
.cta-actions    { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Success States ──────────────────────────────────────── */
.success-state {
  padding: 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(13,59,54,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

/* ─── Error States ────────────────────────────────────────── */
.alert-error {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #DC2626;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 20px;
}

/* ─── Page Headers ────────────────────────────────────────── */
.page-hero {
  padding: 96px 0 96px;
  text-align: center;
}
.page-hero-dark {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.page-hero-light {
  background: var(--surface);
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p  { color: var(--text-secondary); font-size: 18px; max-width: 500px; margin: 0 auto; }
.page-hero-dark h1 { color: var(--white); }
.page-hero-dark p  { color: rgba(255,255,255,0.5); }
.page-hero .eyebrow { margin-bottom: 20px; }

/* Ambient glow orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: pulse 6s ease-in-out infinite;
}
.glow-teal   { background: radial-gradient(circle, rgba(13,59,54,0.35) 0%, transparent 70%); }
.glow-violet { background: radial-gradient(circle, rgba(126,58,242,0.2) 0%, transparent 70%); animation-delay: 2s; animation-duration: 8s; }

/* ─── Mini Chart Bars ─────────────────────────────────────── */
.mini-bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 48px;
}
.mini-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  opacity: 0.75;
}

/* ─── Utility Helpers ─────────────────────────────────────── */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-gap-8  { gap: 8px; }
.flex-gap-12 { gap: 12px; }
.flex-gap-16 { gap: 16px; }
.flex-gap-24 { gap: 24px; }
.flex-wrap   { flex-wrap: wrap; }
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-secondary { color: var(--text-secondary); }
.text-primary   { color: var(--primary); }
.text-accent    { color: var(--accent); }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.p-20  { padding: 20px; }
.p-24  { padding: 24px; }
.p-28  { padding: 28px; }
.p-32  { padding: 32px; }
.p-40  { padding: 40px; }
.p-0   { padding: 0; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fs-12  { font-size: 12px; }
.fs-13  { font-size: 13px; }
.fs-14  { font-size: 14px; }
.fs-15  { font-size: 15px; }
.overflow-hidden { overflow: hidden; }
.w-full  { width: 100%; }

/* ─── Avatar ──────────────────────────────────────────────── */
.avatar {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}
.avatar-sm  { width: 36px; height: 36px; font-size: 13px; }
.avatar-md  { width: 44px; height: 44px; font-size: 16px; }
.avatar-lg  { width: 56px; height: 56px; font-size: 20px; }
.avatar-xl  { width: 72px; height: 72px; font-size: 26px; border-radius: 20px; }

/* ─── Progress Bar ────────────────────────────────────────── */
.progress-track {
  height: 8px;
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* ─── Sidebar (Dashboards) ────────────────────────────────── */
.sidebar {
  width: 240px;
  min-height: 100vh;
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.sidebar-logo { margin-bottom: 32px; }
.sidebar-section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  margin-bottom: 8px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 2px;
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.sidebar-link:hover { background: var(--surface); color: var(--text); }
.sidebar-link.active { background: rgba(13,59,54,0.08); color: var(--primary); font-weight: 600; }
.sidebar-link.active svg { color: var(--primary); }
.sidebar-link svg { color: var(--text-secondary); transition: color 0.15s; flex-shrink: 0; }
.sidebar-link:hover svg { color: var(--text); }
.sidebar-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }

/* ─── Hamburger button (dashboard mobile toggle) ─────────── */
.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger-btn:hover { background: var(--surface); }

/* ─── Sidebar overlay (mobile backdrop) ─────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 26, 0.45);
  z-index: 99;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.sidebar-overlay.open { display: block; }

.dashboard-wrapper { display: flex; min-height: 100vh; }
.dashboard-content {
  margin-left: 240px;
  flex: 1;
  background: var(--surface);
  min-height: 100vh;
  padding: 32px;
}
.dashboard-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}
.dashboard-topbar h1 { font-size: 24px; font-weight: 800; }
.dashboard-topbar p  { color: var(--text-secondary); font-size: 14px; margin-top: 4px; }

/* Tab Panels */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,20,26,0.95);
  z-index: 400;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-nav.open { display: flex; }

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .page-hero { padding: 120px 0 64px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn:not(.btn-primary) { display: none; }

  /* Mobile nav overlay */
  .mobile-nav .nav-link {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    padding: 12px 24px;
  }
  .mobile-nav .nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }
  .mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 28px;
    cursor: pointer;
  }

  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Dashboards */
  .sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
  .sidebar.open { transform: translateX(0); }
  .dashboard-content { margin-left: 0; padding: 16px; }

  /* Hamburger button — visible only on mobile */
  .hamburger-btn { display: flex; }

  /* Dashboard topbar on mobile */
  .dashboard-topbar { flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
  .dashboard-topbar h1 { font-size: 18px; }
  .dashboard-topbar p  { font-size: 12px; }

  /* Stat grid — 2 columns on mobile */
  .grid-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }

  /* Profile header stacks on mobile */
  .profile-header { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Modal profile grid — single column */
  .modal-profile-grid { grid-template-columns: 1fr !important; }

  /* Modal panel full width */
  .modal-panel { max-width: 100%; border-radius: 16px 16px 0 0; margin-top: auto; max-height: 90vh; }
  .modal-overlay { align-items: flex-end; padding: 0; }

  /* Topbar action buttons wrap */
  .tab-only-action { font-size: 12px !important; padding: 6px 10px !important; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(32px, 8vw, 48px); }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-lg { padding: 14px 24px; font-size: 14px; }

  /* Single column stat cards on very small phones */
  .grid-4 { grid-template-columns: 1fr !important; }
}
/* hall of fame */
.hall-of-fame{
    margin-top:60px;
    margin-bottom:60px;

    width:100vw;
    margin-left:calc(50% - 50vw);

    overflow:hidden;
    position:relative;
    
}

.hof-row{
    display:flex;
    gap:24px;
    width:max-content;
}

.hof-row-1{
    animation:marqueeLeft 40s linear infinite;
}

.hof-row-2{
    animation:marqueeRight 40s linear infinite;
    margin-top:24px;
}

@keyframes marqueeLeft{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

@keyframes marqueeRight{
    from{
        transform:translateX(-50%);
    }
    to{
        transform:translateX(0);
    }
}

.hof-card{
    min-width:320px;
    max-width:320px;
    position:relative;
    padding:28px;
}

.hof-card:hover{
    transform:translateY(-6px);
}

.hof-badge{
    position:absolute;
    top:16px;
    right:16px;
    font-size:11px;
    padding:6px 10px;
    border-radius:999px;
    background:rgba(126,58,242,.12);
    color:#7E3AF2;
}

.hof-projects{
    margin-top:12px;
    font-size:14px;
    color:#B3B3B3;
}

.hof-stars{
    margin-top:10px;
    color:#7E3AF2;
    font-size:15px;
    letter-spacing:2px;
}
.hall-of-fame::before,
.hall-of-fame::after{
    content:'';
    position:absolute;
    top:0;
    width:120px;
    height:100%;
    z-index:5;
    pointer-events:none;
}

.hall-of-fame::before{
    left:0;
    background:linear-gradient(
        to right,
        #020817 0%,
        rgba(2,8,23,0) 100%
    );
}

.hall-of-fame::after{
    right:0;
    background:linear-gradient(
        to left,
        #020817 0%,
        rgba(2,8,23,0) 100%
    );
}
.hall-of-fame:hover .hof-row{
    animation-play-state:paused;
}