/* ═══════════════════════════════════════════════════════
   OKFAST Programmatic — Feuille de style principale
   Design : professionnel, fond blanc, typographie soignée
   ═══════════════════════════════════════════════════════ */

/* ── Variables ────────────────────────────────────────── */
:root {
  --navy:       #0F172A;
  --navy2:      #1E293B;
  --slate:      #334155;
  --muted:      #64748B;
  --light:      #94A3B8;
  --border:     #E2E8F0;
  --border2:    #F1F5F9;
  --bg:         #FFFFFF;
  --bg-soft:    #F8FAFC;
  --bg-card:    #FFFFFF;
  --teal:       #0D9488;
  --teal-light: #CCFBF1;
  --teal-dark:  #0F766E;
  --red:        #DC2626;
  --red-light:  #FEF2F2;
  --green:      #16A34A;
  --green-light:#F0FDF4;
  --yellow:     #D97706;
  --yellow-light:#FFFBEB;
  --purple:     #7C3AED;
  --grad:       linear-gradient(135deg, #DC2626 0%, #9333EA 100%);
  --grad-teal:  linear-gradient(135deg, #0D9488 0%, #0891B2 100%);
  --shadow-sm:  0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow:     0 4px 6px rgba(15,23,42,.06), 0 2px 4px rgba(15,23,42,.04);
  --shadow-md:  0 10px 15px rgba(15,23,42,.07), 0 4px 6px rgba(15,23,42,.05);
  --shadow-lg:  0 20px 25px rgba(15,23,42,.08), 0 8px 10px rgba(15,23,42,.04);
  --radius:     12px;
  --radius-sm:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--bg); color: var(--navy); font-size: 15px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Scrollbar ────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── Layout utils ─────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1380px; margin: 0 auto; padding: 0 32px; }

/* ═══════════════════════════════════════════════════════
   SITE HEADER
   ═══════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.site-logo { display: flex; align-items: center; gap: 8px; }
.logo-text { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.logo-ok   { color: var(--red); }
.logo-fast { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { font-size: 14px; font-weight: 500; color: var(--muted); padding: 6px 14px; border-radius: var(--radius-sm); transition: all .15s; }
.site-nav a:hover { color: var(--navy); background: var(--bg-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { font-size: 14px; font-weight: 500; color: var(--slate); padding: 8px 16px; border-radius: var(--radius-sm); transition: all .15s; }
.nav-login:hover { background: var(--bg-soft); }
.btn-nav-cta { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: var(--radius-sm); background: var(--teal); color: #fff; font-size: 14px; font-weight: 600; transition: background .15s; }
.btn-nav-cta:hover { background: var(--teal-dark); }

/* ═══════════════════════════════════════════════════════
   HERO (landing)
   ═══════════════════════════════════════════════════════ */
.hero {
  padding: 88px 0 80px;
  background: linear-gradient(180deg, #F8FAFC 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; background: var(--teal-light); color: var(--teal-dark); border-radius: 100px; padding: 5px 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .3px; margin-bottom: 20px; }
.hero-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero h1 { font-size: clamp(36px,5vw,54px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 20px; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 17px; color: var(--muted); line-height: 1.7; max-width: 460px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hstat-num { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.hstat-num.teal { color: var(--teal); }
.hstat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Hero right: live widget */
.hero-widget { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-lg); }
.widget-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--light); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.widget-title::before { content: ''; width: 7px; height: 7px; background: #22C55E; border-radius: 50%; animation: blink 1.5s infinite; }
.widget-channel { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border2); }
.widget-channel:last-child { border-bottom: none; padding-bottom: 0; }
.wch-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--bg-soft); flex-shrink: 0; }
.wch-name { font-size: 13.5px; font-weight: 600; }
.wch-genre { font-size: 12px; color: var(--muted); margin-top: 1px; }
.wch-cpm { margin-left: auto; text-align: right; }
.wch-cpm-val { font-size: 14px; font-weight: 700; color: var(--teal); }
.wch-cpm-label { font-size: 11px; color: var(--light); }

/* ═══════════════════════════════════════════════════════
   SECTIONS (landing)
   ═══════════════════════════════════════════════════════ */
section { padding: 88px 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--teal); margin-bottom: 12px; }
.section-title { font-size: clamp(28px,3.5vw,42px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 520px; line-height: 1.7; }

/* Why grid */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 52px; }
.why-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: box-shadow .2s, transform .2s; }
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.why-icon { font-size: 28px; margin-bottom: 14px; }
.why-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 52px; position: relative; }
.steps-grid::before { content:''; position:absolute; top:20px; left:calc(12.5% + 10px); right:calc(12.5% + 10px); height:1px; background: linear-gradient(90deg, var(--teal), var(--purple)); opacity:.3; }
.step-item { text-align: center; padding: 0 12px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: var(--teal); margin: 0 auto 16px; position: relative; z-index: 1; }
.step-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step-item p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Channels */
.channels-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 14px; margin-top: 40px; }
.channel-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 16px 16px; text-align: center; transition: all .2s; display: flex; flex-direction: column; align-items: center; }
.channel-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.ch-thumb-wrap { width: 72px; height: 72px; border-radius: 14px; margin: 0 auto 12px; overflow: hidden; flex-shrink: 0; }
.ch-thumb { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; object-position: center; display: block; }
.ch-name { font-size: 13px; font-weight: 700; margin-bottom: 3px; line-height: 1.3; width: 100%; }
.ch-genre { font-size: 11px; color: var(--muted); line-height: 1.4; }
.ch-cpm { font-size: 12px; font-weight: 700; color: var(--teal); margin-top: 7px; }

/* Platforms strip */
.platforms-strip { display: flex; align-items: center; justify-content: center; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.platform-badge { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 52px; }
.pricing-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: 32px 28px; position: relative; transition: box-shadow .2s; }
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card.featured { border-color: var(--teal); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff; padding: 4px 16px; border-radius: 100px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.pricing-plan { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 10px; }
.pricing-price { font-size: 44px; font-weight: 800; letter-spacing: -2px; line-height: 1; margin-bottom: 4px; }
.pricing-price sup { font-size: 20px; vertical-align: top; margin-top: 10px; }
.pricing-period { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.pricing-feats { list-style: none; margin-bottom: 28px; }
.pricing-feats li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate); padding: 8px 0; border-bottom: 1px solid var(--border2); }
.pricing-feats li:last-child { border-bottom: none; }
.feat-check { color: var(--teal); font-size: 16px; flex-shrink: 0; }

/* CTA section */
.cta-section { background: var(--navy); padding: 80px 0; text-align: center; }
.cta-section h2 { color: #fff; font-size: 38px; font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.cta-section p { color: var(--light); font-size: 17px; margin-bottom: 36px; }

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-family: inherit; font-weight: 600; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: all .15s; text-decoration: none; }
.btn-primary { padding: 13px 28px; background: var(--teal); color: #fff; font-size: 15px; box-shadow: 0 4px 12px rgba(13,148,136,.25); }
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 6px 16px rgba(13,148,136,.3); transform: translateY(-1px); }
.btn-outline { padding: 12px 24px; background: transparent; color: var(--navy); font-size: 14px; border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--slate); background: var(--bg-soft); }
.btn-white { padding: 13px 28px; background: #fff; color: var(--navy); font-size: 15px; box-shadow: var(--shadow); }
.btn-white:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-danger { background: var(--red); color: #fff; padding: 9px 18px; font-size: 13.5px; border-radius: var(--radius-sm); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 7px; }
.btn-ghost { padding: 8px 16px; background: var(--bg-soft); color: var(--slate); font-size: 13.5px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.btn-ghost:hover { background: var(--border2); }

/* ═══════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════ */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--slate); margin-bottom: 7px; }
.form-group input:not([type=checkbox]):not([type=radio]),
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14.5px; color: var(--navy); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,.1);
}
.form-group textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.form-hint { font-size: 12.5px; color: var(--light); margin-top: 5px; line-height: 1.5; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-section-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }

/* Range slider */
input[type=range] { width: 100%; height: 4px; -webkit-appearance: none; background: var(--border); border-radius: 2px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); cursor: pointer; border: 3px solid #fff; box-shadow: var(--shadow-sm); }

/* ═══════════════════════════════════════════════════════
   ALERTS / FLASH
   ═══════════════════════════════════════════════════════ */
.alert { border-radius: var(--radius-sm); padding: 13px 18px; font-size: 14px; margin-bottom: 18px; }
.alert-success { background: var(--green-light); border: 1px solid #86EFAC; color: #166534; }
.alert-error   { background: var(--red-light);   border: 1px solid #FECACA; color: #991B1B; }
.alert-info    { background: #EFF6FF;             border: 1px solid #BFDBFE; color: #1E40AF; }
.alert-warn    { background: var(--yellow-light); border: 1px solid #FDE68A; color: #92400E; }
.flash-toast { position: fixed; top: 80px; right: 24px; z-index: 500; max-width: 380px; box-shadow: var(--shadow-md); animation: fadeIn .3s ease; }
@keyframes fadeIn { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }

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

.dash-sidebar {
  width: 236px; flex-shrink: 0; background: #fff;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  overflow-y: auto;
}
.dash-sidebar--admin { border-right-color: var(--border); }
.sidebar-logo { padding: 20px 20px 16px; border-bottom: 1px solid var(--border); }
.sidebar-tag { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--light); margin-top: 4px; }
.sidebar-tag--admin { color: var(--red); }

.dash-nav { flex: 1; padding: 12px; }
.dash-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--muted);
  transition: all .15s; margin-bottom: 2px;
}
.dash-nav-link:hover { background: var(--bg-soft); color: var(--navy); }
.dash-nav-link.active { background: var(--teal-light); color: var(--teal-dark); font-weight: 600; }
.dnl-icon { font-size: 16px; width: 22px; text-align: center; flex-shrink: 0; }

.sidebar-footer { padding: 16px; border-top: 1px solid var(--border); }
.user-chip { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.user-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--teal-light); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.user-name  { font-size: 13.5px; font-weight: 600; }
.user-email { font-size: 11.5px; color: var(--muted); }
.logout-link { display: block; font-size: 13px; color: var(--muted); padding: 6px 4px; transition: color .15s; }
.logout-link:hover { color: var(--red); }

.dash-main { flex: 1; margin-left: 236px; background: var(--bg-soft); min-height: 100vh; }
.dash-page { padding: 32px 36px; max-width: 1200px; }

/* Page header */
.page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.page-title { font-size: 24px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 3px; }
.page-subtitle { font-size: 14px; color: var(--muted); }

/* ═══════════════════════════════════════════════════════
   KPI CARDS
   ═══════════════════════════════════════════════════════ */
.kpi-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 24px; }
.kpi-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.kpi-label { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 8px; letter-spacing: .2px; }
.kpi-value { font-size: 28px; font-weight: 800; letter-spacing: -1px; line-height: 1; margin-bottom: 6px; }
.kpi-delta { font-size: 12.5px; display: flex; align-items: center; gap: 4px; }
.kpi-delta.up   { color: var(--green); }
.kpi-delta.down { color: var(--red); }
.kpi-delta.neutral { color: var(--muted); }

/* ═══════════════════════════════════════════════════════
   CARDS / PANELS
   ═══════════════════════════════════════════════════════ */
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 20px; }
.panel-head { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.panel-title { font-size: 15px; font-weight: 700; }
.panel-body  { padding: 24px; }

/* ═══════════════════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════════════════ */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 11px 16px; font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-table td { padding: 13px 16px; font-size: 13.5px; border-bottom: 1px solid var(--border2); vertical-align: middle; }
.data-table tbody tr:hover td { background: var(--bg-soft); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* ═══════════════════════════════════════════════════════
   STATUS BADGES
   ═══════════════════════════════════════════════════════ */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 100px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-active   { background: var(--green-light);  color: var(--green); }
.badge-paused   { background: var(--yellow-light); color: var(--yellow); }
.badge-draft    { background: var(--bg-soft);      color: var(--muted); }
.badge-pending  { background: #EFF6FF;             color: #1D4ED8; }
.badge-rejected { background: var(--red-light);    color: var(--red); }
.badge-approved { background: var(--green-light);  color: var(--green); }
.badge::before { content: '●'; font-size: 8px; }

/* ═══════════════════════════════════════════════════════
   CAMPAIGN WIZARD
   ═══════════════════════════════════════════════════════ */
.wizard-track { display: flex; align-items: center; gap: 0; margin-bottom: 32px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 24px; }
.wz-step { display: flex; align-items: center; gap: 10px; flex: 1; }
.wz-step:last-child { flex: 0; }
.wz-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--light); background: #fff; flex-shrink: 0; transition: all .2s; }
.wz-dot.done { background: var(--teal); border-color: var(--teal); color: #fff; }
.wz-dot.current { border-color: var(--teal); color: var(--teal); }
.wz-step-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.wz-step-label.current { color: var(--navy); }
.wz-line { flex: 1; height: 1px; background: var(--border); margin: 0 10px; }
.wz-line.done { background: var(--teal); }

.wizard-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.wizard-card-head { padding: 22px 28px; border-bottom: 1px solid var(--border); }
.wizard-card-head h2 { font-size: 18px; font-weight: 700; }
.wizard-card-body { padding: 28px; }
.wizard-card-foot { padding: 20px 28px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: var(--bg-soft); }

/* Channel picker */
.channel-picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 10px; }
.ch-pick { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px 10px; text-align: center; cursor: pointer; transition: all .15s; user-select: none; }
.ch-pick:hover { border-color: var(--teal); background: rgba(13,148,136,.03); }
.ch-pick.selected { border-color: var(--teal); background: var(--teal-light); }
.ch-pick img { width: 40px; height: 40px; border-radius: 8px; margin: 0 auto 8px; object-fit: cover; }
.ch-pick-name { font-size: 12px; font-weight: 600; }
.ch-pick-cpm  { font-size: 11px; color: var(--teal); margin-top: 3px; font-weight: 600; }

/* Upload zone */
.upload-zone { border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: 48px 32px; text-align: center; cursor: pointer; transition: all .2s; }
.upload-zone:hover { border-color: var(--teal); background: rgba(13,148,136,.03); }
.upload-zone p { color: var(--muted); font-size: 14px; }
.upload-zone .uz-cta { color: var(--teal); font-weight: 600; }

/* Budget estimator */
.budget-preview { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; text-align: center; margin-top: 16px; }
.bp-val { font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.bp-label { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* Review card */
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.review-item .ri-label { font-size: 12.5px; color: var(--muted); font-weight: 500; margin-bottom: 3px; }
.review-item .ri-val   { font-size: 14.5px; font-weight: 600; }

/* ═══════════════════════════════════════════════════════
   VAST PAGE (protected)
   ═══════════════════════════════════════════════════════ */
.vast-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px; }
.vast-box-head { background: var(--navy); padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; }
.vast-box-head h3 { color: #fff; font-size: 15px; font-weight: 700; }
.vast-endpoint-chip { background: rgba(13,148,136,.2); border: 1px solid rgba(13,148,136,.4); color: var(--teal); padding: 4px 12px; border-radius: 100px; font-size: 12px; font-family: monospace; }
.vast-box-body { padding: 24px; }
.code-block { background: var(--navy); border-radius: var(--radius-sm); padding: 18px 20px; font-family: 'Courier New', monospace; font-size: 13px; line-height: 1.9; color: #CBD5E1; overflow-x: auto; position: relative; }
.code-kw  { color: #93C5FD; }
.code-str { color: #6EE7B7; }
.code-cm  { color: #64748B; font-style: italic; }
.code-copy { position: absolute; top: 10px; right: 10px; padding: 4px 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 6px; color: #94A3B8; font-size: 11px; cursor: pointer; transition: all .2s; }
.code-copy:hover { background: rgba(255,255,255,.15); color: #fff; }

.param-table { width: 100%; border-collapse: collapse; }
.param-table th { padding: 10px 14px; font-size: 11px; font-weight: 700; color: var(--muted); text-align: left; border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: .5px; }
.param-table td { padding: 11px 14px; font-size: 13.5px; border-bottom: 1px solid var(--border2); vertical-align: top; }
.param-name { font-family: monospace; color: var(--teal); font-size: 13px; }
.param-type { display: inline-block; background: #F0F9FF; color: #0369A1; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }

/* ═══════════════════════════════════════════════════════
   LOGIN / REGISTER
   ═══════════════════════════════════════════════════════ */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-left { background: var(--navy); padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; }
.auth-left-logo { margin-bottom: 40px; }
.auth-left h2 { font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -1px; line-height: 1.2; margin-bottom: 14px; }
.auth-left p { font-size: 15px; color: #94A3B8; line-height: 1.7; margin-bottom: 36px; }
.auth-feature { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.auth-feature .af-icon { font-size: 18px; }
.auth-feature p { font-size: 14px; color: #CBD5E1; }
.auth-right { background: var(--bg-soft); display: flex; align-items: center; justify-content: center; padding: 40px; }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px 36px; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); }
.auth-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.auth-card .auth-sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }

/* ═══════════════════════════════════════════════════════
   ADMIN SPECIFIC
   ═══════════════════════════════════════════════════════ */
.moderation-item { display: flex; align-items: center; gap: 16px; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; transition: box-shadow .15s; }
.moderation-item:hover { box-shadow: var(--shadow); }
.mod-preview { width: 80px; height: 52px; border-radius: 8px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.mod-info { flex: 1; }
.mod-brand { font-size: 14.5px; font-weight: 600; }
.mod-meta  { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.mod-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* Progress bar */
.progress-wrap { background: var(--border); border-radius: 3px; height: 5px; overflow: hidden; }
.progress-bar  { height: 5px; border-radius: 3px; background: var(--grad-teal); transition: width .3s; }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand p { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin-top: 12px; max-width: 260px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--slate); margin-bottom: 8px; transition: color .15s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-widget { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
}
@media (max-width: 768px) {
  .site-nav { display: none; }
  .dash-sidebar { display: none; }
  .dash-main { margin-left: 0; }
  .dash-page { padding: 20px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
