/* ============================================================
   Netentive — Main Stylesheet
   ============================================================ */

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

:root {
  --bg-0:        #04080f;
  --bg-1:        #070e1a;
  --bg-2:        #0d1b2e;
  --bg-3:        #112240;
  --bg-card:     #0f1e35;
  --border:      #1a3050;
  --border-glow: #2563eb44;

  --blue:        #3b82f6;
  --blue-light:  #60a5fa;
  --blue-dark:   #1d4ed8;
  --teal:        #06d6a0;
  --teal-dark:   #059669;
  --purple:      #8b5cf6;
  --orange:      #f59e0b;
  --red:         #ef4444;
  --green:       #10b981;

  --text-1:      #e2e8f0;
  --text-2:      #94a3b8;
  --text-3:      #64748b;
  --text-inv:    #04080f;

  --gradient-hero:   linear-gradient(135deg, #0a1628 0%, #0d1f3c 50%, #091428 100%);
  --gradient-blue:   linear-gradient(135deg, #1d4ed8, #3b82f6);
  --gradient-teal:   linear-gradient(135deg, #059669, #06d6a0);
  --gradient-purple: linear-gradient(135deg, #6d28d9, #8b5cf6);
  --gradient-card:   linear-gradient(145deg, #0f1e35, #0d1929);

  --shadow-sm:   0 1px 3px rgba(0,0,0,.4);
  --shadow-md:   0 4px 20px rgba(0,0,0,.5);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.6);
  --shadow-blue: 0 0 30px rgba(59,130,246,.2);
  --shadow-teal: 0 0 30px rgba(6,214,160,.15);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;

  --transition:      all .2s ease;
  --transition-slow: all .4s ease;

  --nav-height:  70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family:      var(--font-sans);
  background-color: var(--bg-0);
  color:            var(--text-1);
  line-height:      1.6;
  min-height:       100vh;
  overflow-x:       hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

h1,h2,h3,h4,h5,h6 { line-height: 1.2; font-weight: 700; color: var(--text-1); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p  { color: var(--text-2); line-height: 1.75; }
a  { color: var(--blue-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal); }

.mono { font-family: var(--font-mono); }
.text-gradient {
  background: linear-gradient(135deg, var(--blue-light), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-muted  { color: var(--text-2); }
.text-subtle { color: var(--text-3); }
.text-center { text-align: center; }
.text-sm     { font-size: .875rem; }
.text-xs     { font-size: .75rem; }

.container    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px;  margin: 0 auto; padding: 0 24px; }
.container-xs { max-width: 560px;  margin: 0 auto; padding: 0 24px; }
.section      { padding: 100px 0; }
.section-sm   { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header p { font-size: 1.1rem; max-width: 600px; margin: 16px auto 0; }
.section-label {
  display: inline-block;
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); background: rgba(6,214,160,.1);
  padding: 5px 14px; border-radius: 99px; border: 1px solid rgba(6,214,160,.2);
  margin-bottom: 16px;
}

.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: 24px; }

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

.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     { display: flex; gap: 16px; }
.flex-gap-sm  { display: flex; gap: 8px; }
.flex-wrap    { flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-md);
  font-family: var(--font-sans); font-size: .9rem; font-weight: 600;
  border: none; cursor: pointer; transition: var(--transition);
  white-space: nowrap; text-decoration: none;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gradient-blue); color: #fff;
  box-shadow: 0 4px 20px rgba(59,130,246,.35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 6px 30px rgba(59,130,246,.5); }

.btn-teal {
  background: var(--gradient-teal); color: var(--text-inv);
  box-shadow: 0 4px 20px rgba(6,214,160,.3);
}
.btn-teal:hover { color: var(--text-inv); box-shadow: 0 6px 30px rgba(6,214,160,.45); }

.btn-outline {
  background: transparent; color: var(--text-1); border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue-light); background: rgba(59,130,246,.05); }

.btn-ghost { background: transparent; color: var(--text-2); padding: 10px 20px; }
.btn-ghost:hover { color: var(--text-1); background: var(--bg-3); }

.btn-danger { background: rgba(239,68,68,.15); color: var(--red); border: 1px solid rgba(239,68,68,.3); }
.btn-danger:hover { background: rgba(239,68,68,.25); }

.btn-sm   { padding: 8px 18px; font-size: .8rem; }
.btn-lg   { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-icon { padding: 10px; border-radius: var(--radius-sm); }

.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; transition: var(--transition);
}
.card:hover { border-color: var(--border-glow); box-shadow: var(--shadow-blue); }
.card-flush  { padding: 0; overflow: hidden; }
.card-header { padding: 20px 28px; border-bottom: 1px solid var(--border); }
.card-body   { padding: 28px; }
.card-footer { padding: 20px 28px; border-top: 1px solid var(--border); }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-1); margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 12px 16px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-1);
  font-family: var(--font-sans); font-size: .9rem;
  transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.form-control::placeholder { color: var(--text-3); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-hint  { font-size: .78rem; color: var(--text-3); margin-top: 4px; }
.form-error { font-size: .78rem; color: var(--red);    margin-top: 4px; }

.alert {
  padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: .9rem; margin-bottom: 20px; border: 1px solid transparent;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-success { background: rgba(16,185,129,.1);  border-color: rgba(16,185,129,.3); color: #6ee7b7; }
.alert-error   { background: rgba(239,68,68,.1);   border-color: rgba(239,68,68,.3);  color: #fca5a5; }
.alert-info    { background: rgba(59,130,246,.1);  border-color: rgba(59,130,246,.3); color: #93c5fd; }
.alert-warning { background: rgba(245,158,11,.1);  border-color: rgba(245,158,11,.3); color: #fcd34d; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 99px;
  font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.badge-blue   { background: rgba(59,130,246,.15);  color: var(--blue-light); }
.badge-teal   { background: rgba(6,214,160,.15);   color: var(--teal); }
.badge-purple { background: rgba(139,92,246,.15);  color: #c4b5fd; }
.badge-orange { background: rgba(245,158,11,.15);  color: #fcd34d; }
.badge-green  { background: rgba(16,185,129,.15);  color: #6ee7b7; }
.badge-red    { background: rgba(239,68,68,.15);   color: #fca5a5; }
.badge-gray   { background: rgba(100,116,139,.15); color: var(--text-2); }

.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height); display: flex; align-items: center;
  background: rgba(4,8,15,.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.35rem; font-weight: 800; color: var(--text-1);
  text-decoration: none; letter-spacing: -.02em;
}
.nav-brand:hover { color: var(--text-1); }
.nav-logo-icon {
  width: 36px; height: 36px; background: var(--gradient-blue);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 500; color: var(--text-2);
  transition: var(--transition); text-decoration: none;
}
.nav-link:hover, .nav-link.active { color: var(--text-1); background: var(--bg-3); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text-1); border-radius: 2px; transition: var(--transition); }

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--bg-1); padding: 16px; border-bottom: 1px solid var(--border); gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-outline { display: none; }
}
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--gradient-hero); position: relative; overflow: hidden;
  padding: calc(var(--nav-height) + 60px) 0 80px;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.05) 1px, transparent 1px);
  background-size: 50px 50px; pointer-events: none;
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
  animation: glow-pulse 6s ease-in-out infinite alternate;
}
.hero-glow-1 { width: 600px; height: 600px; background: rgba(59,130,246,.08); top: -100px; right: -100px; }
.hero-glow-2 { width: 400px; height: 400px; background: rgba(6,214,160,.06); bottom: 0; left: -100px; }
@keyframes glow-pulse { from { opacity:.5; transform:scale(1); } to { opacity:1; transform:scale(1.1); } }

.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); background: rgba(6,214,160,.08);
  padding: 6px 16px; border-radius: 99px; border: 1px solid rgba(6,214,160,.2); margin-bottom: 24px;
}
.hero-eyebrow::before { content:''; width:8px; height:8px; border-radius:50%; background:var(--teal); animation:blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1;}50%{opacity:.3;} }
.hero h1 { margin-bottom: 24px; letter-spacing: -.03em; }
.hero p  { font-size: 1.15rem; margin-bottom: 40px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats   { display: flex; gap: 40px; margin-top: 64px; flex-wrap: wrap; }
.hero-stat-num   { font-size: 2rem; font-weight: 800; color: var(--text-1); }
.hero-stat-label { font-size: .8rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }

.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; transition: var(--transition-slow);
}
.feature-card:hover { border-color: var(--border-glow); transform: translateY(-4px); box-shadow: var(--shadow-blue); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.feature-icon-blue   { background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.2); }
.feature-icon-teal   { background: rgba(6,214,160,.12);  border: 1px solid rgba(6,214,160,.2); }
.feature-icon-purple { background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.2); }
.feature-icon-orange { background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.2); }
.feature-card h3 { margin-bottom: 12px; font-size: 1.1rem; }

.pricing-toggle {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 99px; padding: 6px; margin-bottom: 48px;
}
.pricing-toggle-btn {
  padding: 8px 22px; border-radius: 99px; font-size: .85rem; font-weight: 600;
  border: none; cursor: pointer; transition: var(--transition);
  background: transparent; color: var(--text-2);
}
.pricing-toggle-btn.active { background: var(--blue); color: #fff; }
.pricing-badge-save { font-size:.65rem; background:var(--teal); color:var(--text-inv); padding:2px 8px; border-radius:99px; font-weight:700; }

.plan-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px 32px;
  position: relative; transition: var(--transition-slow);
  display: flex; flex-direction: column;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(59,130,246,.06) 0%, var(--bg-card) 100%);
  box-shadow: var(--shadow-blue);
}
.plan-badge-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-blue); color: #fff;
  padding: 4px 18px; border-radius: 99px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.plan-name   { font-size:.8rem; font-weight:600; text-transform:uppercase; letter-spacing:.1em; color:var(--text-3); margin-bottom:12px; }
.plan-price  { margin-bottom: 8px; }
.plan-price .amount   { font-size:3rem; font-weight:800; color:var(--text-1); letter-spacing:-.04em; }
.plan-price .currency { font-size:1.4rem; font-weight:700; color:var(--text-2); vertical-align:top; line-height:2.8; }
.plan-price .period   { font-size:.85rem; color:var(--text-3); }
.plan-desc { font-size:.875rem; color:var(--text-2); margin-bottom:28px; }
.plan-features { list-style:none; margin-bottom:32px; flex:1; }
.plan-features li {
  display:flex; align-items:flex-start; gap:10px;
  font-size:.875rem; color:var(--text-2); padding:7px 0;
  border-bottom:1px solid rgba(255,255,255,.04);
}
.plan-features li:last-child { border-bottom:none; }
.plan-features li .check { color:var(--teal);   flex-shrink:0; margin-top:2px; }
.plan-features li .x     { color:var(--text-3); flex-shrink:0; margin-top:2px; }

.blog-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg); overflow:hidden;
  transition:var(--transition); display:flex; flex-direction:column;
}
.blog-card:hover { border-color:var(--border-glow); transform:translateY(-3px); box-shadow:var(--shadow-blue); }
.blog-card-img   { width:100%; height:200px; object-fit:cover; background:var(--bg-2); display:flex; align-items:center; justify-content:center; }
.blog-card-body  { padding:24px; flex:1; }
.blog-card-meta  { display:flex; align-items:center; gap:12px; margin-bottom:12px; flex-wrap:wrap; }
.blog-card-meta span { font-size:.75rem; color:var(--text-3); }
.blog-card h3    { font-size:1.1rem; margin-bottom:10px; color:var(--text-1); }
.blog-card h3 a  { color:var(--text-1); }
.blog-card h3 a:hover { color:var(--blue-light); }
.blog-card p     { font-size:.875rem; color:var(--text-2); }
.blog-card-footer { padding:16px 24px; border-top:1px solid var(--border); }

.archive-filters { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:32px; }
.filter-btn {
  padding:7px 18px; border-radius:99px; font-size:.8rem; font-weight:600;
  border:1px solid var(--border); background:transparent; color:var(--text-2); cursor:pointer; transition:var(--transition);
}
.filter-btn:hover, .filter-btn.active { border-color:var(--blue); color:var(--blue-light); background:rgba(59,130,246,.08); }

.archive-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:24px;
  display:flex; gap:20px; align-items:flex-start; transition:var(--transition);
}
.archive-card:hover { border-color:var(--border-glow); box-shadow:var(--shadow-blue); }
.archive-type-icon {
  width:50px; height:50px; flex-shrink:0; border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center; font-size:1.4rem;
}
.archive-doc { background:rgba(59,130,246,.12); border:1px solid rgba(59,130,246,.2); }
.archive-vid { background:rgba(239,68,68,.12);  border:1px solid rgba(239,68,68,.2); }
.archive-info { flex:1; }
.archive-info h4 { font-size:1rem; margin-bottom:6px; }
.archive-info p  { font-size:.825rem; color:var(--text-2); margin-bottom:12px; }

.dashboard-layout { display:grid; grid-template-columns:240px 1fr; gap:0; min-height:calc(100vh - var(--nav-height)); }
.sidebar {
  background:var(--bg-1); border-right:1px solid var(--border);
  padding:32px 0; position:sticky; top:var(--nav-height);
  height:calc(100vh - var(--nav-height)); overflow-y:auto;
}
.sidebar-section { padding:0 16px; margin-bottom:24px; }
.sidebar-label { font-size:.68rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--text-3); padding:0 12px; margin-bottom:6px; }
.sidebar-link {
  display:flex; align-items:center; gap:10px;
  padding:9px 12px; border-radius:var(--radius-sm);
  font-size:.875rem; font-weight:500; color:var(--text-2);
  transition:var(--transition); text-decoration:none; margin-bottom:2px;
}
.sidebar-link:hover, .sidebar-link.active { color:var(--text-1); background:var(--bg-3); }
.sidebar-link.active { color:var(--blue-light); }
.sidebar-icon { width:18px; text-align:center; }
.main-content { padding:40px; }
.page-header  { margin-bottom:32px; }
.page-header h1 { font-size:1.8rem; }
.page-header p  { font-size:.9rem; color:var(--text-2); margin-top:6px; }

.stat-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px; }
.stat-card-label { font-size:.78rem; font-weight:600; color:var(--text-3); text-transform:uppercase; letter-spacing:.07em; margin-bottom:10px; }
.stat-card-value { font-size:2.2rem; font-weight:800; color:var(--text-1); letter-spacing:-.03em; }
.stat-card-sub   { font-size:.8rem; color:var(--text-3); margin-top:6px; }

@media (max-width:900px) { .dashboard-layout{grid-template-columns:1fr;} .sidebar{display:none;} .main-content{padding:24px;} }

.auth-page {
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  padding:40px 24px; background:var(--gradient-hero);
  padding-top:calc(var(--nav-height) + 40px);
}
.auth-card {
  width:100%; max-width:460px;
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-xl); padding:44px;
}
.auth-logo { text-align:center; margin-bottom:32px; }
.auth-logo .brand { font-size:1.5rem; font-weight:800; }
.auth-divider {
  display:flex; align-items:center; gap:12px;
  color:var(--text-3); font-size:.8rem; margin:24px 0;
}
.auth-divider::before, .auth-divider::after { content:''; flex:1; height:1px; background:var(--border); }

.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; }
th { text-align:left; font-size:.75rem; font-weight:600; text-transform:uppercase; letter-spacing:.07em; color:var(--text-3); padding:12px 16px; border-bottom:1px solid var(--border); }
td { padding:14px 16px; font-size:.875rem; border-bottom:1px solid rgba(255,255,255,.04); color:var(--text-2); }
tr:hover td { background:rgba(255,255,255,.02); }
tr:last-child td { border-bottom:none; }

.pagination { display:flex; gap:6px; justify-content:center; margin-top:40px; }
.page-btn {
  width:36px; height:36px; border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  font-size:.85rem; border:1px solid var(--border);
  background:transparent; color:var(--text-2); cursor:pointer; transition:var(--transition); text-decoration:none;
}
.page-btn:hover, .page-btn.active { border-color:var(--blue); color:var(--blue-light); background:rgba(59,130,246,.08); }

.footer { background:var(--bg-1); border-top:1px solid var(--border); padding:60px 0 32px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px; }
.footer-brand p { font-size:.875rem; color:var(--text-2); margin-top:16px; max-width:280px; line-height:1.7; }
.footer-col h4  { font-size:.85rem; font-weight:700; color:var(--text-1); margin-bottom:16px; letter-spacing:.04em; }
.footer-col ul  { list-style:none; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul li a { font-size:.85rem; color:var(--text-2); transition:var(--transition); }
.footer-col ul li a:hover { color:var(--blue-light); }
.footer-bottom { padding-top:28px; border-top:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
.footer-bottom p { font-size:.8rem; color:var(--text-3); }

@media (max-width:768px) { .footer-grid{grid-template-columns:1fr 1fr;} .footer-brand{grid-column:1/-1;} }
@media (max-width:480px) { .footer-grid{grid-template-columns:1fr;} .footer-bottom{flex-direction:column;text-align:center;} }

.mt-1{margin-top:4px;} .mt-2{margin-top:8px;} .mt-3{margin-top:16px;} .mt-4{margin-top:24px;} .mt-6{margin-top:40px;}
.mb-1{margin-bottom:4px;} .mb-2{margin-bottom:8px;} .mb-3{margin-bottom:16px;} .mb-4{margin-bottom:24px;} .mb-6{margin-bottom:40px;}
.p-3{padding:16px;} .p-4{padding:24px;} .p-6{padding:40px;}
.rounded{border-radius:var(--radius-md);} .w-full{width:100%;} .hidden{display:none;}
.divider{height:1px;background:var(--border);margin:24px 0;}

.fade-in { animation:fadeIn .4s ease forwards; }
@keyframes fadeIn { from{opacity:0;transform:translateY(16px);} to{opacity:1;transform:translateY(0);} }

.spinner { width:20px; height:20px; border-radius:50%; border:2px solid rgba(255,255,255,.2); border-top-color:#fff; animation:spin .6s linear infinite; }
@keyframes spin { to{transform:rotate(360deg);} }

pre, code { font-family:var(--font-mono); font-size:.85rem; background:var(--bg-2); border:1px solid var(--border); border-radius:var(--radius-sm); }
code { padding:2px 7px; }
pre  { padding:20px; overflow-x:auto; line-height:1.7; }

.post-content h2 { font-size:1.5rem; margin:32px 0 14px; }
.post-content h3 { font-size:1.2rem; margin:24px 0 10px; }
.post-content p  { margin-bottom:16px; color:var(--text-2); }
.post-content ul, .post-content ol { padding-left:24px; margin-bottom:16px; color:var(--text-2); }
.post-content li { margin-bottom:8px; }
.post-content strong { color:var(--text-1); }
.post-content blockquote {
  border-left:3px solid var(--blue); padding:12px 20px;
  background:rgba(59,130,246,.06); border-radius:0 var(--radius-sm) var(--radius-sm) 0;
  margin:24px 0; color:var(--text-2); font-style:italic;
}

@media (max-width:768px) { .section{padding:64px 0;} .hero-stats{gap:24px;} .auth-card{padding:28px;} }