/* ═══════════════════════════════════════════════
   GrowPro — Design System
   Palette: Deep Space × Electric Violet × Mint Teal
═══════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────── */
:root {
  --c-bg:          #0D0B1E;
  --c-bg2:         #150F2E;
  --c-card:        #1A1535;
  --c-card2:       #201944;
  --c-border:      rgba(124,58,237,0.18);
  --c-violet:      #7C3AED;
  --c-violet-lt:   #9D5FFF;
  --c-violet-dim:  rgba(124,58,237,0.15);
  --c-teal:        #06D6A0;
  --c-teal-dim:    rgba(6,214,160,0.12);
  --c-orange:      #FF6B35;
  --c-yellow:      #FFD60A;
  --c-text:        #EDE9FE;
  --c-muted:       #8B7FB8;
  --c-white:       #FFFFFF;
  --c-success:     #06D6A0;
  --c-danger:      #F43F5E;
  --c-warning:     #FFD60A;
  --c-info:        #60A5FA;

  --f-display: 'Syne', system-ui, sans-serif;
  --f-body:    'DM Sans', system-ui, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4), 0 1px 4px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(124,58,237,0.25);

  --sidebar-w: 248px;
  --topbar-h: 60px;
}

/* ── Reset & Base ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--c-violet-lt); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-teal); }
ul { list-style: none; }
input, select, textarea, button { font-family: var(--f-body); }

/* ── Typography ──────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--f-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--c-muted); line-height: 1.75; }

/* ── Layout ──────────────────────────────────── */
.container { max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.container-sm { max-width: 760px; margin-inline: auto; padding-inline: 20px; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--r-full);
  font-family: var(--f-display); font-size: .9rem; font-weight: 600;
  cursor: pointer; border: none; transition: all .22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-violet), #5B21B6);
  color: var(--c-white); box-shadow: 0 4px 20px rgba(124,58,237,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,58,237,.55); color: var(--c-white); }
.btn-teal {
  background: linear-gradient(135deg, var(--c-teal), #059669);
  color: #0D0B1E; box-shadow: 0 4px 20px rgba(6,214,160,.3);
}
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(6,214,160,.45); color: #0D0B1E; }
.btn-outline {
  background: transparent; color: var(--c-text);
  border: 1.5px solid var(--c-border);
}
.btn-outline:hover { border-color: var(--c-violet-lt); color: var(--c-violet-lt); background: var(--c-violet-dim); }
.btn-danger  { background: var(--c-danger); color: var(--c-white); }
.btn-danger:hover { opacity: .85; color: var(--c-white); }
.btn-sm { padding: 7px 16px; font-size: .8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ── Cards ───────────────────────────────────── */
.card {
  background: var(--c-card); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-card);
}
.card-sm { padding: 16px; }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.card-header h3 { font-size: 1.05rem; color: var(--c-text); }

/* ── Forms ───────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; color: var(--c-text); }
.form-control {
  width: 100%; padding: 11px 14px; background: var(--c-bg2);
  border: 1.5px solid var(--c-border); border-radius: var(--r-md);
  color: var(--c-text); font-size: .93rem; transition: border-color .2s;
}
.form-control:focus { outline: none; border-color: var(--c-violet-lt); box-shadow: 0 0 0 3px rgba(124,58,237,.15); }
.form-control::placeholder { color: var(--c-muted); }
textarea.form-control { resize: vertical; min-height: 90px; }
select.form-control { cursor: pointer; }
.form-hint { font-size: .78rem; color: var(--c-muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ── Alerts ──────────────────────────────────── */
.alert {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--r-md); margin-bottom: 18px;
  font-size: .9rem; font-weight: 500;
}
.alert-icon { flex-shrink: 0; font-size: 1rem; font-weight: 700; }
.alert-success { background: rgba(6,214,160,.12); border: 1px solid rgba(6,214,160,.3); color: #06D6A0; }
.alert-error   { background: rgba(244,63,94,.12);  border: 1px solid rgba(244,63,94,.3);  color: #F87171; }
.alert-warning { background: rgba(255,214,10,.1);  border: 1px solid rgba(255,214,10,.3); color: #FFD60A; }
.alert-info    { background: rgba(96,165,250,.1);  border: 1px solid rgba(96,165,250,.3); color: #60A5FA; }

/* ── Badges ──────────────────────────────────── */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-full); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge-success   { background: rgba(6,214,160,.18);   color: #06D6A0; }
.badge-danger    { background: rgba(244,63,94,.18);   color: #F87171; }
.badge-warning   { background: rgba(255,214,10,.18);  color: #FFD60A; }
.badge-info      { background: rgba(96,165,250,.18);  color: #60A5FA; }
.badge-primary   { background: rgba(124,58,237,.2);   color: #C4B5FD; }
.badge-secondary { background: rgba(139,127,184,.15); color: var(--c-muted); }

/* ── Tables ──────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--c-border); }
table { width: 100%; border-collapse: collapse; }
thead th { background: var(--c-card2); padding: 12px 16px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); text-align: left; }
tbody td { padding: 14px 16px; border-top: 1px solid var(--c-border); font-size: .88rem; vertical-align: middle; }
tbody tr:hover td { background: var(--c-violet-dim); }

/* ── Stats grid ──────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card {
  background: var(--c-card); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 20px 22px;
  display: flex; align-items: center; gap: 16px;
}
.stat-icon { width: 48px; height: 48px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.stat-icon-violet { background: var(--c-violet-dim); }
.stat-icon-teal   { background: var(--c-teal-dim); }
.stat-icon-orange { background: rgba(255,107,53,.12); }
.stat-icon-yellow { background: rgba(255,214,10,.1); }
.stat-value { font-family: var(--f-display); font-size: 1.55rem; font-weight: 800; color: var(--c-white); line-height: 1; }
.stat-label { font-size: .78rem; color: var(--c-muted); margin-top: 3px; }

/* ═══════════════════════════════════════════════
   NAVIGATION (Public)
═══════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,11,30,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; max-width: 1160px; margin-inline: auto; padding-inline: 20px;
}
.logo { font-family: var(--f-display); font-size: 1.55rem; font-weight: 800; color: var(--c-white); }
.logo span { color: var(--c-teal); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--c-muted); transition: color .2s; }
.nav-links a:hover { color: var(--c-text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-hamburger { display: none; background: none; border: none; color: var(--c-text); font-size: 1.4rem; cursor: pointer; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 80px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,.35) 0%, transparent 60%),
              radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6,214,160,.12) 0%, transparent 50%),
              var(--c-bg);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(124,58,237,.08) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; text-align: center; padding-block: 80px 60px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-violet-dim); border: 1px solid rgba(124,58,237,.3);
  padding: 6px 16px; border-radius: var(--r-full); font-size: .82rem; font-weight: 600;
  color: var(--c-violet-lt); margin-bottom: 24px; letter-spacing: .05em;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 span { color: var(--c-teal); display: inline-block; }
.hero-sub { font-size: 1.1rem; max-width: 560px; margin-inline: auto; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-platforms {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 56px; flex-wrap: wrap;
}
.platform-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--c-card); border: 1px solid var(--c-border);
  padding: 8px 16px; border-radius: var(--r-full);
  font-size: .85rem; font-weight: 600;
  transition: border-color .2s, transform .2s;
}
.platform-pill:hover { border-color: var(--c-violet-lt); transform: translateY(-2px); }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.orb-1 { width: 400px; height: 400px; background: rgba(124,58,237,.2); top: -80px; left: -100px; animation: float 8s ease-in-out infinite; }
.orb-2 { width: 300px; height: 300px; background: rgba(6,214,160,.1); bottom: 0; right: -60px; animation: float 10s ease-in-out infinite reverse; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-30px)} }

/* ── Stats bar ───────────────────────────────── */
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-family: var(--f-display); font-size: 2rem; font-weight: 800; color: var(--c-white); }
.hero-stat .num span { color: var(--c-teal); }
.hero-stat .lbl { font-size: .8rem; color: var(--c-muted); margin-top: 2px; }

/* ═══════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════ */
section { padding-block: 80px; }
.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-violet-lt); margin-bottom: 12px;
}
.section-label::before { content: ''; width: 20px; height: 2px; background: var(--c-violet-lt); }
.section-title { margin-bottom: 14px; }
.section-sub { font-size: 1.05rem; max-width: 520px; }
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin-inline: auto; }

/* ── Services grid ───────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.service-card {
  background: var(--c-card); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 22px; transition: all .22s;
  cursor: pointer; position: relative; overflow: hidden;
}
.service-card:hover { border-color: var(--c-violet-lt); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.service-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(124,58,237,.06), transparent); pointer-events: none; }
.service-icon { font-size: 2rem; margin-bottom: 12px; }
.service-platform { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 4px; }
.service-name { font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; color: var(--c-white); margin-bottom: 8px; }
.service-price { font-size: 1.4rem; font-weight: 800; color: var(--c-teal); font-family: var(--f-display); }
.service-price span { font-size: .8rem; font-weight: 400; color: var(--c-muted); }
.service-meta { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.service-tag { font-size: .72rem; background: var(--c-violet-dim); color: var(--c-violet-lt); padding: 3px 10px; border-radius: var(--r-full); }

/* ── How it works ────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step-card { text-align: center; padding: 32px 24px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-violet-dim); border: 2px solid rgba(124,58,237,.4);
  font-family: var(--f-display); font-size: 1.2rem; font-weight: 800; color: var(--c-violet-lt);
  margin-bottom: 18px;
}
.step-card h3 { margin-bottom: 8px; color: var(--c-white); }

/* ── CTA split ───────────────────────────────── */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta-card {
  border-radius: var(--r-xl); padding: 40px; overflow: hidden; position: relative;
}
.cta-card.client { background: linear-gradient(135deg, #3B1FA3, #6D28D9); border: 1px solid rgba(124,58,237,.4); }
.cta-card.worker { background: linear-gradient(135deg, #064E3B, #065F46); border: 1px solid rgba(6,214,160,.3); }
.cta-card .eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; opacity: .7; margin-bottom: 10px; }
.cta-card h2 { font-size: 1.7rem; color: var(--c-white); margin-bottom: 10px; }
.cta-card p { color: rgba(255,255,255,.7); margin-bottom: 24px; }
@media (max-width: 680px) { .cta-split { grid-template-columns: 1fr; } }

/* ── Pricing ─────────────────────────────────── */
.platform-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.platform-tab {
  display: flex; align-items: center; gap: 8px; padding: 8px 18px;
  border-radius: var(--r-full); background: var(--c-card); border: 1px solid var(--c-border);
  font-size: .88rem; font-weight: 500; cursor: pointer; transition: all .2s;
}
.platform-tab.active, .platform-tab:hover { background: var(--c-violet-dim); border-color: var(--c-violet-lt); color: var(--c-white); }

/* ═══════════════════════════════════════════════
   DASHBOARD SHELL
═══════════════════════════════════════════════ */
.dash-shell { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
  width: var(--sidebar-w); background: var(--c-card); border-right: 1px solid var(--c-border);
  display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; z-index: 200;
  transition: transform .3s ease;
}
.sidebar-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px; border-bottom: 1px solid var(--c-border); }
.sidebar-close { display: none; background: none; border: none; color: var(--c-muted); font-size: 1.1rem; cursor: pointer; }
.sidebar-user { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--c-border); }
.user-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--c-violet), var(--c-teal)); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 700; font-size: .95rem; color: var(--c-white); flex-shrink: 0; }
.user-name { font-size: .9rem; font-weight: 600; color: var(--c-white); }
.user-role { font-size: .72rem; color: var(--c-muted); text-transform: capitalize; }
.sidebar-nav { flex: 1; padding: 14px 12px; overflow-y: auto; }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md); font-size: .88rem; font-weight: 500; color: var(--c-muted); transition: all .18s; margin-bottom: 2px; }
.nav-item:hover, .nav-item.active { background: var(--c-violet-dim); color: var(--c-violet-lt); }
.nav-item.active { color: var(--c-white); font-weight: 600; }
.nav-icon { width: 22px; text-align: center; font-size: 1.05rem; flex-shrink: 0; }
.sidebar-footer { padding: 12px; border-top: 1px solid var(--c-border); }
.nav-logout:hover { background: rgba(244,63,94,.12); color: var(--c-danger); }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 150; }

/* Main content */
.dash-main { margin-left: var(--sidebar-w); flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.topbar {
  height: var(--topbar-h); background: var(--c-card2); border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: 28px; position: sticky; top: 0; z-index: 99;
}
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar-menu-btn { display: none; background: none; border: none; color: var(--c-text); font-size: 1.3rem; cursor: pointer; }
.topbar-title { font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; color: var(--c-white); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-balance { background: var(--c-teal-dim); border: 1px solid rgba(6,214,160,.3); color: var(--c-teal); padding: 6px 14px; border-radius: var(--r-full); font-size: .85rem; font-weight: 700; }
.dash-content { padding: 28px; flex: 1; }
.dash-content h2 { font-size: 1.5rem; margin-bottom: 20px; color: var(--c-white); }

@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-close { display: block; }
  .sidebar-overlay.show { display: block; }
  .dash-main { margin-left: 0; }
  .topbar-menu-btn { display: block; }
}

/* ═══════════════════════════════════════════════
   AUTH PAGES
═══════════════════════════════════════════════ */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124,58,237,.25) 0%, transparent 60%), var(--c-bg);
}
.auth-card {
  width: 100%; max-width: 440px;
  background: var(--c-card); border: 1px solid var(--c-border);
  border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-card);
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo a { font-family: var(--f-display); font-size: 1.8rem; font-weight: 800; color: var(--c-white); }
.auth-logo a span { color: var(--c-teal); }
.auth-title { font-size: 1.5rem; text-align: center; margin-bottom: 6px; color: var(--c-white); }
.auth-sub { text-align: center; font-size: .88rem; margin-bottom: 28px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--c-muted); font-size: .8rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--c-border); }
.auth-switch { text-align: center; margin-top: 20px; font-size: .88rem; color: var(--c-muted); }
.role-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 22px; }
.role-btn {
  padding: 10px; border-radius: var(--r-md); border: 1.5px solid var(--c-border);
  background: transparent; color: var(--c-muted); font-size: .88rem; font-weight: 500;
  cursor: pointer; transition: all .2s; text-align: center;
}
.role-btn.active { background: var(--c-violet-dim); border-color: var(--c-violet-lt); color: var(--c-white); }

/* ═══════════════════════════════════════════════
   ORDER PAGE
═══════════════════════════════════════════════ */
.order-builder { display: grid; grid-template-columns: 1fr 360px; gap: 24px; }
@media (max-width: 900px) { .order-builder { grid-template-columns: 1fr; } }
.order-summary { background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 24px; position: sticky; top: calc(var(--topbar-h) + 20px); }
.order-summary h3 { font-size: 1.05rem; color: var(--c-white); margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--c-border); font-size: .9rem; }
.summary-row:last-of-type { border-bottom: none; }
.summary-row .lbl { color: var(--c-muted); }
.summary-row .val { font-weight: 600; color: var(--c-white); }
.summary-total { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--c-border); }
.summary-total .val { font-family: var(--f-display); font-size: 1.4rem; color: var(--c-teal); }
.platform-select { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px,1fr)); gap: 10px; margin-bottom: 6px; }
.plat-opt {
  border: 1.5px solid var(--c-border); border-radius: var(--r-md); padding: 10px;
  text-align: center; cursor: pointer; transition: all .18s;
}
.plat-opt:hover, .plat-opt.selected { border-color: var(--c-violet-lt); background: var(--c-violet-dim); }
.plat-opt .icon { font-size: 1.5rem; margin-bottom: 4px; }
.plat-opt .name { font-size: .72rem; font-weight: 600; color: var(--c-muted); }
.plat-opt.selected .name { color: var(--c-white); }

/* ── Service select list ─────────────────────── */
.service-list { display: flex; flex-direction: column; gap: 8px; }
.service-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border: 1.5px solid var(--c-border); border-radius: var(--r-md);
  cursor: pointer; transition: all .18s;
}
.service-option:hover, .service-option.selected { border-color: var(--c-violet-lt); background: var(--c-violet-dim); }
.service-option .sname { font-size: .9rem; font-weight: 600; color: var(--c-white); }
.service-option .smeta { font-size: .75rem; color: var(--c-muted); margin-top: 2px; }
.service-option .sprice { font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; color: var(--c-teal); white-space: nowrap; }

/* ── Quantity slider ─────────────────────────── */
.qty-wrap { position: relative; }
input[type=range] {
  width: 100%; -webkit-appearance: none; height: 6px;
  background: var(--c-border); border-radius: var(--r-full);
  outline: none; cursor: pointer; margin: 8px 0;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--c-violet-lt); cursor: pointer;
  box-shadow: 0 0 8px rgba(124,58,237,.5);
}
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--c-violet-lt); cursor: pointer; border: none; }
.qty-display { display: flex; justify-content: space-between; font-size: .8rem; color: var(--c-muted); }

/* ═══════════════════════════════════════════════
   WORKER TASK CARDS
═══════════════════════════════════════════════ */
.task-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 16px; }
.task-card {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 20px;
  transition: border-color .2s;
}
.task-card:hover { border-color: var(--c-violet-lt); }
.task-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.task-platform { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--c-text); }
.task-earn { font-family: var(--f-display); font-size: 1.3rem; font-weight: 800; color: var(--c-teal); }
.task-body { font-size: .88rem; color: var(--c-muted); margin-bottom: 14px; }
.task-link { font-size: .8rem; color: var(--c-violet-lt); word-break: break-all; margin-bottom: 14px; display: block; }
.task-footer { display: flex; align-items: center; justify-content: space-between; }
.task-type { background: var(--c-violet-dim); color: var(--c-violet-lt); padding: 3px 10px; border-radius: var(--r-full); font-size: .72rem; font-weight: 700; text-transform: uppercase; }

/* ═══════════════════════════════════════════════
   ADMIN SPECIFIC
═══════════════════════════════════════════════ */
.admin-sidebar .sidebar { background: #0A0818; }
.admin-topbar { background: #0D0B22; }
.chart-placeholder {
  background: var(--c-card2); border-radius: var(--r-lg); padding: 32px;
  text-align: center; color: var(--c-muted); font-size: .88rem;
  border: 1px solid var(--c-border); min-height: 180px;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
}
.revenue-chart { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bar { background: linear-gradient(180deg, var(--c-violet), rgba(124,58,237,.3)); border-radius: 4px 4px 0 0; width: 100%; transition: height .4s; min-height: 4px; }
.bar-label { font-size: .65rem; color: var(--c-muted); }
.admin-actions-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.search-box { position: relative; }
.search-box input { padding-left: 36px; width: 240px; }
.search-box::before { content: '🔍'; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: .85rem; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer { background: var(--c-bg2); border-top: 1px solid var(--c-border); padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { display: inline-block; margin-bottom: 14px; font-size: 1.4rem; }
.footer-brand p { font-size: .88rem; color: var(--c-muted); line-height: 1.7; margin-bottom: 18px; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 36px; height: 36px; background: var(--c-card); border: 1px solid var(--c-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all .2s; color: var(--c-muted); }
.social-links a:hover { background: var(--c-violet-dim); border-color: var(--c-violet-lt); color: var(--c-white); }
.footer-col h4 { font-size: .85rem; font-weight: 700; color: var(--c-text); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .88rem; color: var(--c-muted); transition: color .2s; }
.footer-col ul li a:hover { color: var(--c-text); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--c-border); font-size: .82rem; color: var(--c-muted); flex-wrap: wrap; gap: 8px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Misc ─────────────────────────────────────── */
.text-muted   { color: var(--c-muted); }
.text-teal    { color: var(--c-teal); }
.text-violet  { color: var(--c-violet-lt); }
.text-white   { color: var(--c-white); }
.text-danger  { color: var(--c-danger); }
.text-sm      { font-size: .82rem; }
.text-center  { text-align: center; }
.fw-700       { font-weight: 700; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-12 { gap: 12px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--c-muted); }
.empty-state .icon { font-size: 3rem; margin-bottom: 12px; }
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid var(--c-border); border-top-color: var(--c-violet-lt); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--c-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-text); }
.breadcrumb-sep { opacity: .4; }
.progress-bar { height: 6px; background: var(--c-border); border-radius: var(--r-full); overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--c-violet), var(--c-teal)); border-radius: var(--r-full); transition: width .4s; }
.divider { height: 1px; background: var(--c-border); margin-block: 20px; }
.tag { display: inline-flex; padding: 3px 10px; border-radius: var(--r-full); font-size: .72rem; font-weight: 600; }
.tag-violet { background: var(--c-violet-dim); color: var(--c-violet-lt); }
.tag-teal   { background: var(--c-teal-dim);   color: var(--c-teal); }
.pagination { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 24px; }
.page-btn { width: 36px; height: 36px; border-radius: var(--r-md); background: var(--c-card); border: 1px solid var(--c-border); color: var(--c-muted); display: flex; align-items: center; justify-content: center; font-size: .85rem; transition: all .2s; cursor: pointer; }
.page-btn.active, .page-btn:hover { background: var(--c-violet-dim); border-color: var(--c-violet-lt); color: var(--c-white); }

/* ── Mobile tweaks ───────────────────────────── */
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .dash-content { padding: 16px; }
  .topbar { padding-inline: 16px; }
  .hero-stats { gap: 20px; }
  .card { padding: 16px; }
}
