/* =====================================================================
   boostingsocial.com — Premium Agency Design System
   Fresh, contract-first, official-ads aesthetic (dark canvas + electric accents)
   ===================================================================== */

:root {
  --bg-0:  #07070d;
  --bg-1:  #0b0b16;
  --bg-2:  #10101f;
  --bg-3:  #171730;
  --ink-0: #f5f5fb;
  --ink-1: #d8d8ea;
  --ink-2: #9b9bb8;
  --ink-3: #6b6b8a;
  --line:  #23234a;
  --line-hi: #3a3a6f;

  --accent-1: #b1ff4b;     /* electric lime */
  --accent-2: #7c5cff;     /* violet */
  --accent-3: #ff5cf0;     /* magenta */
  --accent-4: #40e6ff;     /* cyan */
  --danger:   #ff5c5c;
  --success:  #43e39f;
  --warn:     #ffb547;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-1: 0 10px 30px rgba(0,0,0,.35);
  --shadow-2: 0 20px 60px rgba(124,92,255,.18);

  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body:    'Geist', 'Neue Haas Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-0);
  color: var(--ink-1);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent-1); color: #0a0a10; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-0); text-decoration: none; transition: opacity .18s ease, color .18s ease; }
a:hover { opacity: .85; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { color: var(--ink-0); font-weight: 500; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; }
p  { color: var(--ink-1); margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* ---------- Grid noise / grain overlay ---------- */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    radial-gradient(1200px 600px at 12% -10%, rgba(124,92,255,.20), transparent 60%),
    radial-gradient(900px  500px at 100% 0%, rgba(64,230,255,.10), transparent 60%),
    radial-gradient(700px  400px at 50% 110%, rgba(177,255,75,.08), transparent 60%);
  pointer-events: none; z-index: 0;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/></svg>");
  mix-blend-mode: overlay; opacity: .04;
  pointer-events: none; z-index: 0;
}

.container {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
}
.container-narrow { max-width: 940px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius-pill);
  font-weight: 500; font-size: 14.5px; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent-1); color: #0a0a10;
  box-shadow: 0 8px 30px rgba(177,255,75,.18);
}
.btn-primary:hover { background: #c6ff6d; }

.btn-secondary {
  background: transparent; color: var(--ink-0);
  border-color: var(--line-hi);
}
.btn-secondary:hover { background: var(--bg-2); border-color: var(--ink-2); }

.btn-violet { background: var(--accent-2); color: #fff; }
.btn-ghost  { background: transparent; color: var(--ink-1); border-color: var(--line); }
.btn-block  { width: 100%; justify-content: center; }
.btn-sm     { padding: 9px 14px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(7,7,13,.72);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 32px;
  padding: 16px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: -0.02em;
  color: var(--ink-0);
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-4));
  display: grid; place-items: center; color: #0a0a10; font-weight: 700; font-family: var(--font-body); font-size: 16px;
}
.brand em { color: var(--accent-1); font-style: normal; }

.nav {
  display: flex; gap: 4px; align-items: center; flex: 1;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--ink-1); font-size: 14.5px;
}
.nav-link:hover { background: var(--bg-2); color: var(--ink-0); }
.nav-item .caret { width: 10px; height: 10px; opacity: .6; }

.mega {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 640px; max-width: 720px;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-1);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px;
}
.nav-item:hover > .mega,
.nav-item:focus-within > .mega { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mega a {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--ink-1);
}
.mega a:hover { background: var(--bg-2); color: var(--ink-0); }
.mega .icon {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--bg-3);
}
.mega .icon svg { width: 18px; height: 18px; }
.mega .t { font-weight: 500; color: var(--ink-0); font-size: 14px; }
.mega .d { font-size: 12px; color: var(--ink-3); }

.search-wrap {
  position: relative; flex: 0 1 320px;
  display: flex; align-items: center;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-pill); padding: 4px 4px 4px 14px;
}
.search-wrap input {
  flex: 1; background: transparent; border: 0; color: var(--ink-0);
  padding: 8px 6px; font-size: 14px; outline: none;
}
.search-wrap input::placeholder { color: var(--ink-3); }
.search-wrap button {
  background: var(--accent-1); color: #0a0a10;
  border: 0; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 500;
}
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 8px;
  max-height: 380px; overflow: auto; z-index: 200;
  box-shadow: var(--shadow-1); display: none;
}
.search-results.show { display: block; }
.search-results a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: 8px; color: var(--ink-1); font-size: 13.5px;
}
.search-results a:hover { background: var(--bg-2); color: var(--ink-0); }
.search-results .badge {
  font-size: 11px; color: var(--ink-3);
  background: var(--bg-3); padding: 3px 8px; border-radius: 999px;
}

.auth-actions { display: flex; gap: 8px; align-items: center; }

/* Mobile nav toggle */
.mobile-toggle { display: none; }
@media (max-width: 1024px) {
  .nav, .search-wrap { display: none; }
  .mobile-toggle {
    display: inline-flex; margin-left: auto;
    background: var(--bg-2); border: 1px solid var(--line);
    color: var(--ink-0); padding: 9px 12px; border-radius: 10px;
  }
}

/* ---------- Hero ---------- */
.hero { padding: 80px 0 60px; position: relative; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero .eyebrow .dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--accent-1); box-shadow: 0 0 0 4px rgba(177,255,75,.12);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% {opacity:1;} 50%{opacity:.5;} }
.hero h1 { max-width: 18ch; }
.hero h1 em { color: var(--accent-1); font-style: normal; font-family: var(--font-display); }
.hero .sub { max-width: 60ch; color: var(--ink-2); font-size: 17px; margin: 20px 0 32px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.trust-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-pill {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 8px 14px; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 999px; font-size: 12.5px; color: var(--ink-2);
}
.trust-pill svg { width: 14px; height: 14px; color: var(--accent-1); }

.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; margin-top: 56px;
  background: linear-gradient(180deg, rgba(23,23,48,.6), rgba(11,11,22,.4));
}
.stat-strip .stat {
  padding: 24px 26px; border-right: 1px solid var(--line);
}
.stat-strip .stat:last-child { border-right: 0; }
.stat .n { font-family: var(--font-display); font-size: 34px; color: var(--ink-0); letter-spacing: -0.02em; }
.stat .l { font-size: 12.5px; color: var(--ink-3); letter-spacing: .05em; text-transform: uppercase; margin-top: 4px; }

@media (max-width: 900px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .stat:nth-child(2) { border-right: 0; }
  .stat-strip .stat:nth-child(1), .stat-strip .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Section titles ---------- */
.section { padding: 80px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-eyebrow {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-1);
  font-family: var(--font-mono); margin-bottom: 12px;
}

/* ---------- Platform grid ---------- */
.platform-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.platform-card {
  position: relative;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 22px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  overflow: hidden;
}
.platform-card::before {
  content: ''; position: absolute; inset: -1px;
  background: radial-gradient(400px 200px at 0% 0%, var(--_c, transparent), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
  pointer-events: none;
}
.platform-card:hover { transform: translateY(-3px); border-color: var(--line-hi); }
.platform-card:hover::before { opacity: .35; }
.platform-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--bg-3); color: var(--_c, var(--accent-2));
}
.platform-icon svg { width: 22px; height: 22px; }
.platform-card h3 { color: var(--ink-0); font-size: 17px; margin-bottom: 4px; }
.platform-card .t { font-size: 13px; color: var(--ink-3); }
.platform-card .arrow { position: absolute; top: 20px; right: 20px; color: var(--ink-3); opacity: 0; transition: opacity .2s, transform .2s; }
.platform-card:hover .arrow { opacity: 1; transform: translateX(2px); }

/* ---------- Service cards ---------- */
.service-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.service-card {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s ease, border-color .2s;
}
.service-card:hover { transform: translateY(-2px); border-color: var(--line-hi); }
.service-card .plat {
  display: inline-flex; gap: 6px; align-items: center;
  font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase;
  font-family: var(--font-mono);
}
.service-card .plat i {
  width: 6px; height: 6px; border-radius: 999px; background: var(--_c, var(--accent-2));
}
.service-card h3 { color: var(--ink-0); font-size: 17.5px; margin: 0; }
.service-card p  { color: var(--ink-2); font-size: 13.5px; margin: 0; }
.service-card .row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line);
}
.service-card .fee { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); }
.service-card .fee b { color: var(--ink-0); font-weight: 500; }

/* ---------- Feature 3-col ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  padding: 26px; background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.feature .n {
  font-family: var(--font-mono); font-size: 12px; color: var(--accent-1);
  letter-spacing: .1em; margin-bottom: 12px;
}
.feature h3 { font-size: 18px; margin: 0 0 8px; }
.feature p  { color: var(--ink-2); font-size: 14px; margin: 0; }

/* ---------- Testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 800px) { .tst-grid { grid-template-columns: 1fr; } }
.tst {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 26px;
}
.tst .stars { color: var(--accent-1); letter-spacing: 2px; font-size: 15px; margin-bottom: 10px; }
.tst p { color: var(--ink-1); font-size: 15px; }
.tst .who { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.tst .who img { width: 40px; height: 40px; border-radius: 999px; }
.tst .who .n { color: var(--ink-0); font-size: 14px; }
.tst .who .r { color: var(--ink-3); font-size: 12.5px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line); padding: 18px 4px;
}
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 17px; color: var(--ink-0); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; color: var(--accent-1); font-size: 22px; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-2); font-size: 14.5px; padding-top: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-1); border-top: 1px solid var(--line);
  padding: 60px 0 24px; margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand p { color: var(--ink-3); font-size: 13.5px; max-width: 38ch; }
.footer h4 { color: var(--ink-0); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; font-family: var(--font-mono); font-weight: 500; }
.footer a { display: block; color: var(--ink-2); font-size: 14px; padding: 5px 0; }
.footer a:hover { color: var(--ink-0); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; margin-top: 40px; border-top: 1px solid var(--line);
  color: var(--ink-3); font-size: 12.5px;
}
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--bg-2); border-radius: 8px; padding: 0;
}
.footer-bottom .socials svg { width: 15px; height: 15px; color: var(--ink-1); }

/* ---------- Forms / Inputs ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.input, .select, .textarea {
  width: 100%; background: var(--bg-2); color: var(--ink-0);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: 14.5px; font-family: inherit;
  transition: border-color .18s, background .18s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--accent-1); background: var(--bg-3);
}
.textarea { min-height: 110px; resize: vertical; }
.helper { font-size: 12px; color: var(--ink-3); margin-top: 5px; }

/* Range slider */
.range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--accent-1) var(--_p, 30%), var(--bg-3) var(--_p, 30%));
  border-radius: 999px;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--accent-1); border: 3px solid var(--bg-0);
  box-shadow: 0 0 0 1px var(--line);
}
.range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--accent-1); border: 3px solid var(--bg-0);
}

/* Alerts */
.alert {
  border-radius: 12px; padding: 12px 14px; font-size: 13.5px;
  border: 1px solid var(--line); background: var(--bg-2); margin-bottom: 14px;
}
.alert-success { border-color: rgba(67,227,159,.4); background: rgba(67,227,159,.08); color: #b9f5d8; }
.alert-error   { border-color: rgba(255,92,92,.4); background: rgba(255,92,92,.08); color: #ffc7c7; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(4,4,10,.7); backdrop-filter: blur(8px);
  z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.show { display: flex; }
.modal {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-lg); width: 100%; max-width: 640px;
  max-height: 92vh; overflow: auto; padding: 32px;
  box-shadow: var(--shadow-2);
}
.modal h2 { margin: 0 0 4px; }
.modal .lede { color: var(--ink-2); font-size: 14px; margin-bottom: 22px; }
.modal-close {
  float: right; background: transparent; border: 0; color: var(--ink-2); font-size: 22px; cursor: pointer;
}

/* Service page layout */
.svc-layout {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  padding: 60px 0;
}
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; } }
.svc-meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; color: var(--accent-1); letter-spacing: .1em; text-transform: uppercase;
}
.svc-panel {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  position: sticky; top: 100px; align-self: start;
}
.svc-panel .price {
  display: flex; align-items: baseline; gap: 8px;
  padding: 14px 16px; background: var(--bg-2); border-radius: 12px; margin-bottom: 16px;
}
.svc-panel .price .n { font-family: var(--font-display); font-size: 32px; color: var(--ink-0); }
.svc-panel .price .l { color: var(--ink-3); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }

.deliverables { list-style: none; padding: 0; margin: 20px 0 0; }
.deliverables li {
  padding: 8px 0 8px 24px; position: relative; color: var(--ink-1); font-size: 14px;
  border-top: 1px solid var(--line);
}
.deliverables li:first-child { border-top: 0; }
.deliverables li::before {
  content: '✓'; position: absolute; left: 0; top: 8px; color: var(--accent-1); font-weight: 700;
}

/* Dashboard */
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 32px; }
.dash-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; }
.dash-card .l { font-size: 12px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.dash-card .n { font-family: var(--font-display); font-size: 30px; color: var(--ink-0); margin-top: 4px; }

/* Data table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { padding: 12px 16px; text-align: left; }
table.data thead th {
  background: var(--bg-2); color: var(--ink-2); font-weight: 500;
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
table.data tbody tr { border-top: 1px solid var(--line); }
table.data tbody tr:hover { background: var(--bg-2); }
.status-pill {
  display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-family: var(--font-mono);
  background: var(--bg-3); color: var(--ink-1); letter-spacing: .04em;
}
.status-pending_verification { background: rgba(255,181,71,.14); color: var(--warn); }
.status-proposal_sent        { background: rgba(64,230,255,.14); color: var(--accent-4); }
.status-active_contract      { background: rgba(67,227,159,.14); color: var(--success); }
.status-completed            { background: rgba(124,92,255,.14); color: var(--accent-2); }
.status-cancelled            { background: rgba(255,92,92,.14); color: var(--danger); }

/* Utility */
.text-muted { color: var(--ink-3); }
.text-lime  { color: var(--accent-1); }
.mt-8  { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.flex { display: flex; } .between { justify-content: space-between; } .center { align-items: center; }
.hidden { display: none; }

/* Admin sidebar */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side {
  background: var(--bg-1); border-right: 1px solid var(--line);
  padding: 24px 16px;
}
.admin-side .brand { padding: 0 8px 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.admin-nav a {
  display: flex; gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 10px;
  color: var(--ink-2); font-size: 14px; margin-bottom: 4px;
}
.admin-nav a:hover, .admin-nav a.active { background: var(--bg-3); color: var(--ink-0); }
.admin-main { padding: 32px 40px; }
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side  { display: none; }
  .admin-main  { padding: 20px; }
}

/* Fade-in helper */
.fade-in { animation: fade .6s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none;} }
