@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --ink:       #0a0e1a;
  --ink-mid:   #131929;
  --ink-soft:  #1e2a42;
  --surface:   #f5f2ec;
  --gold:      #d4a843;
  --gold-light:#e8c96b;
  --gold-dim:  #8a6b24;
  --white:     #ffffff;
  --muted:     #8892a4;
  --danger:    #e55252;
  --success:   #3db87a;
  --warning:   #f0a500;
  --info:      #4a9fd4;
  --radius:    12px;
  --radius-sm: 6px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.15);
  --shadow:    0 8px 32px rgba(0,0,0,.25);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.4);
  --transition: all .22s cubic-bezier(.4,0,.2,1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

/* ── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
p  { color: var(--muted); line-height: 1.75; }

/* ── LAYOUT ──────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 680px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.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; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--muted); }
.text-gold   { color: var(--gold); }
.text-success{ color: var(--success); }
.text-danger { color: var(--danger); }
.w-100 { width: 100%; }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none; cursor: pointer;
  font-size: .95rem; font-weight: 600;
  letter-spacing: .3px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212,168,67,.4);
}
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-secondary:hover {
  background: var(--gold);
  color: var(--ink);
}
.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.12);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-danger-outline {
  background: transparent;
  color: var(--danger);
  border: 1.5px solid var(--danger);
}
.btn-danger-outline:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: 7px 16px; font-size: .85rem; }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-icon { padding: 10px; border-radius: 50%; }

/* ── CARDS ───────────────────────────────────── */
.card {
  background: var(--ink-mid);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.card:hover { border-color: rgba(212,168,67,.25); }
.card-gold {
  border-color: var(--gold-dim);
  background: linear-gradient(135deg, var(--ink-mid), var(--ink-soft));
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.card-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--white); }

/* ── FORMS ───────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 7px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: .95rem;
  transition: var(--transition);
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(212,168,67,.06);
  box-shadow: 0 0 0 3px rgba(212,168,67,.15);
}
.form-control::placeholder { color: var(--muted); }
select.form-control option { background: var(--ink-mid); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: .8rem; color: var(--muted); margin-top: 5px; }
.form-error { font-size: .8rem; color: var(--danger); margin-top: 5px; }

/* ── BADGES ──────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.badge-submitted  { background: rgba(74,159,212,.15); color: var(--info); }
.badge-pending    { background: rgba(240,165,0,.15);  color: var(--warning); }
.badge-approved   { background: rgba(61,184,122,.15); color: var(--success); }
.badge-inprogress { background: rgba(138,107,36,.3);  color: var(--gold-light); }
.badge-completed  { background: rgba(61,184,122,.2);  color: var(--success); }
.badge-rejected   { background: rgba(229,82,82,.15);  color: var(--danger); }
.badge-felloff    { background: rgba(136,146,164,.15);color: var(--muted); }
.badge-default    { background: rgba(255,255,255,.1);  color: var(--white); }

/* ── TABLES ──────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  background: rgba(255,255,255,.04);
  padding: 12px 16px;
  text-align: left;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--muted);
  white-space: nowrap;
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: .9rem;
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,.02); }

/* ── TOAST NOTIFICATIONS ─────────────────────── */
.toast {
  position: fixed; top: 24px; right: 24px; z-index: 9999;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500;
  max-width: 380px;
  box-shadow: var(--shadow);
  animation: toastIn .3s ease, toastOut .4s ease 4s forwards;
}
.toast-success { background: var(--success); color: #fff; }
.toast-error   { background: var(--danger);  color: #fff; }
.toast-info    { background: var(--info);    color: #fff; }
.toast-warning { background: var(--warning); color: var(--ink); }
@keyframes toastIn  { from { opacity:0; transform: translateX(100%); } to { opacity:1; transform: translateX(0); } }
@keyframes toastOut { from { opacity:1; } to { opacity:0; pointer-events:none; } }

/* ── NAV ─────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,14,26,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  height: 66px;
  display: flex; align-items: center;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.nav-logo {
  transition: transform .22s cubic-bezier(.34,1.56,.64,1);
  transform-origin: left center;
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 900;
  color: var(--white); letter-spacing: 1px;
}
.nav-logo span { color: var(--gold); }
.nav-logo:hover { transform: scale(1.13); color: var(--white); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: .9rem; font-weight: 500;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.06); }
.nav-link.active { color: var(--gold); }

/* ── DASHBOARD LAYOUT ────────────────────────── */
.dash-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--ink-mid);
  border-right: 1px solid rgba(255,255,255,.06);
  position: fixed; top: 0; left: 0; bottom: 0;
  overflow-y: auto; z-index: 50;
  display: flex; flex-direction: column;
  transition: transform .3s ease;
}
.sidebar-logo {
  padding: 24px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sidebar-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 900; color: var(--white);
}
.sidebar-logo .logo-text span { color: var(--gold); }
.sidebar-logo .logo-sub { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.sidebar-nav { flex: 1; padding: 16px 12px; }
.sidebar-section { margin-bottom: 24px; }
.sidebar-section-title {
  font-size: .68rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1.2px;
  padding: 0 8px; margin-bottom: 6px;
}
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: .88rem; font-weight: 500;
  transition: var(--transition);
  margin-bottom: 2px;
}
.sidebar-link:hover { color: var(--white); background: rgba(255,255,255,.05); }
.sidebar-link.active { color: var(--gold); background: rgba(212,168,67,.1); }
.sidebar-link .link-icon { width: 18px; text-align: center; font-size: .95rem; }
.sidebar-user {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; gap: 12px;
}
.sidebar-user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: .9rem; font-weight: 700;
  color: var(--ink); overflow: hidden; flex-shrink: 0;
}
.sidebar-user-info .user-name { font-size: .85rem; font-weight: 600; color: var(--white); }
.sidebar-user-info .user-role { font-size: .72rem; color: var(--muted); }
.dash-main { margin-left: 260px; flex: 1; padding: 32px; min-height: 100vh; }
.dash-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.dash-page-title { font-size: 1.6rem; font-weight: 700; }
.dash-page-sub { font-size: .88rem; color: var(--muted); margin-top: 2px; }

/* ── STAT CARDS ──────────────────────────────── */
.stat-card {
  background: var(--ink-mid);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 24px;
  position: relative; overflow: hidden; z-index: 10;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.stat-card .stat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(212,168,67,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 16px;
  color: var(--gold);
}
.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 900; color: var(--white);
  line-height: 1;
}
.stat-card .stat-label { font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* ── ALERTS ──────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 16px;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-errors { background: rgba(229,82,82,.12); border: 1px solid rgba(229,82,82,.3); color: #ff8080; }
.alert-success { background: rgba(61,184,122,.12); border: 1px solid rgba(61,184,122,.3); color: var(--success); }
.alert-info   { background: rgba(74,159,212,.12); border: 1px solid rgba(74,159,212,.3); color: var(--info); }
.alert ul { margin: 4px 0 0 16px; }
.alert ul li { margin-bottom: 3px; }

/* ── TIMELINE ────────────────────────────────── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute; left: 7px; top: 0; bottom: 0;
  width: 2px; background: rgba(255,255,255,.08);
}
.timeline-item { position: relative; margin-bottom: 20px; }
.timeline-item::before {
  content: '';
  position: absolute; left: -25px; top: 5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--ink-mid);
}
.timeline-date { font-size: .75rem; color: var(--muted); margin-bottom: 3px; }
.timeline-text { font-size: .88rem; }

/* ── SECTION DIVIDER ─────────────────────────── */
.section    { padding: 100px 0; position: relative; z-index: 10; }
.section-sm { padding: 60px 0;  position: relative; z-index: 10; }
.section-title { margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; max-width: 560px; margin: 0 auto 48px; text-align: center; }
.gold-line {
  display: inline-block;
  width: 48px; height: 3px;
  background: var(--gold);
  margin-bottom: 12px;
}

/* ── FLOATING WHATSAPP ───────────────────────── */
.wa-float {
  position: fixed; bottom: 32px; right: 32px; z-index: 9990;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 20px rgba(37,211,102,.4);
  animation: waPulse 2.5s infinite;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ── MODAL ───────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.7);
  z-index: 9000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--ink-mid);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 32px; width: 90%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  transform: scale(.95) translateY(10px);
  transition: transform .25s;
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-close { cursor: pointer; color: var(--muted); font-size: 1.4rem; background: none; border: none; }
.modal-close:hover { color: var(--white); }

/* ── PRICING CARDS ───────────────────────────── */
.pricing-card {
  background: var(--ink-mid);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative; overflow: hidden; z-index: 10;
  transition: var(--transition);
}
.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(145deg, var(--ink-mid), var(--ink-soft));
}
.pricing-card.featured::before {
  content: 'Popular';
  position: absolute; top: 20px; right: -30px;
  background: var(--gold); color: var(--ink);
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  padding: 4px 40px; transform: rotate(45deg);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-card .pkg-name { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); margin-bottom: 8px; }
.pricing-card .pkg-price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 900; color: var(--gold); line-height: 1; }
.pricing-card .pkg-price-sub { font-size: .8rem; color: var(--muted); margin-bottom: 20px; }
.pricing-card .pkg-features { list-style: none; margin-bottom: 28px; }
.pricing-card .pkg-features li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: .88rem;
  display: flex; align-items: center; gap: 8px;
}
.pricing-card .pkg-features li::before { content: '✦'; color: var(--gold); font-size: .6rem; }

/* ── LANDING HERO SPECIFIC ───────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden; z-index: 10;
  padding-top: 66px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(212,168,67,.12) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 80% 60%, rgba(212,168,67,.06) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-content { position: relative; z-index: 11; max-width: 720px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,168,67,.12);
  border: 1px solid rgba(212,168,67,.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: .8rem; font-weight: 600; color: var(--gold);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero-title { margin-bottom: 20px; line-height: 1.1; }
.hero-title em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: 1.1rem; max-width: 520px; margin-bottom: 40px; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ── SCROLL ANIMATIONS ───────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .dash-main { margin-left: 0; }
  .sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 49; }
  .sidebar-overlay.active { display: block; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .dash-main { padding: 20px 16px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .section { padding: 64px 0; }
  .nav-links .btn { display: none; }
  .nav-links .nav-link { display: none; }
  .nav-links .nav-link:last-child, .nav-links .btn:last-child { display: flex; }
  .wa-float { bottom: 20px; right: 20px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 16px; }
}

/* ── MISC ────────────────────────────────────── */
.divider { height: 1px; background: rgba(255,255,255,.07); margin: 24px 0; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: .75rem; font-weight: 600; background: rgba(255,255,255,.07); color: var(--muted); }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--gold-dim); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ink); font-family: var(--font-display); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: .4; }
.empty-state p { font-size: .9rem; }
.spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,.2); border-top-color: var(--gold); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.tab-nav { display: flex; gap: 4px; background: rgba(255,255,255,.04); padding: 4px; border-radius: var(--radius-sm); margin-bottom: 24px; }
.tab-btn { flex: 1; padding: 9px 16px; border: none; background: transparent; color: var(--muted); font-size: .88rem; font-weight: 500; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); }
.tab-btn.active { background: var(--ink-soft); color: var(--white); }

.tag-gold { display: inline-block; background: rgba(212,168,67,.15); color: var(--gold); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 5px; align-items: center;
  z-index: 300;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: center;
}
/* Show hamburger on mobile always — both landing and dashboard */
@media (max-width: 1024px) {
  .hamburger { display: flex; }
}
/* Landing page: hide nav-link text on small screens */
@media (max-width: 768px) {
  .nav-links .nav-link { display: none; }
  .nav-links .theme-toggle { display: flex; }
}
/* Mobile nav drawer light theme */
html[data-theme="light"] #mobile-nav-drawer {
  background: rgba(240,237,232,.98) !important;
  border-bottom-color: rgba(0,0,0,.1) !important;
}
html[data-theme="light"] #mobile-nav-drawer a {
  color: var(--white);
  border-bottom-color: rgba(0,0,0,.06) !important;
}

.contract-box {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 20px;
  max-height: 340px; overflow-y: auto;
  font-family: monospace; font-size: .82rem;
  color: var(--muted); line-height: 1.7;
  white-space: pre-wrap;
  margin-bottom: 16px;
}
