/* ============================================
   BOOSTFY - SAAS PREMIUM THEME
   Paleta: Preto, Laranja, Amarelo Ouro
   ============================================ */

:root {
  --bg-0: #0a0a0a;
  --bg-1: #111111;
  --bg-2: #1a1a1a;
  --bg-3: #222222;
  --border: rgba(255,255,255,0.08);
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --orange: #ff7a00;
  --orange-2: #ff5e00;
  --gold: #ffc107;
  --gold-2: #ffd54f;
  --gradient: linear-gradient(135deg, #ff7a00 0%, #ffc107 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255,122,0,.15), rgba(255,193,7,.08));
  --glow: 0 0 40px rgba(255,122,0,.35);
  --shadow: 0 20px 50px -20px rgba(0,0,0,.8);
}

* { box-sizing: border-box; }
html, body { background: var(--bg-0); color: var(--text); font-family: 'Inter', system-ui, -apple-system, sans-serif; margin: 0; }

body {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255,122,0,.18), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(255,193,7,.12), transparent 60%),
    var(--bg-0);
  min-height: 100vh;
}

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

/* NAVBAR */
.navbar-premium {
  background: rgba(10,10,10,.75) !important;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.navbar-brand {
  font-weight: 900;
  letter-spacing: -.5px;
  font-size: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.navbar-brand i { -webkit-text-fill-color: var(--orange); margin-right: 6px; }

/* HERO */
.hero {
  padding: 110px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero .badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--gradient-soft);
  border: 1px solid rgba(255,193,7,.3);
  color: var(--gold-2); font-size: .85rem; font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-stats {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  margin-top: 60px;
}
.hero-stats .stat strong {
  display: block; font-size: 2rem; font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stats .stat span { color: var(--text-muted); font-size: .9rem; }

/* BUTTONS */
.btn-premium {
  background: var(--gradient);
  color: #0a0a0a !important;
  font-weight: 700;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  box-shadow: var(--glow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-premium:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(255,193,7,.5); }
.btn-ghost {
  background: transparent; color: var(--text); border: 1px solid var(--border);
  padding: 14px 28px; border-radius: 12px; font-weight: 600;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--gold); }

/* CATEGORIES */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -1px;
}
.section-title h2 .grad {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title p { color: var(--text-muted); }

.cat-tabs {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px;
}
.cat-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text-muted);
  font-weight: 600; cursor: pointer; transition: all .2s;
}
.cat-tab:hover { color: var(--gold); border-color: var(--orange); }
.cat-tab.active {
  background: var(--gradient); color: #0a0a0a; border-color: transparent;
  box-shadow: var(--glow);
}

/* SERVICE CARDS */
.service-card {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gradient-soft); opacity: 0; transition: opacity .25s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(255,122,0,.5); }
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }

.service-card .badge-destaque {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: var(--gradient); color: #0a0a0a;
  padding: 4px 12px; border-radius: 999px; font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .5px;
}
.service-card .icon-wrap {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--gradient-soft);
  border: 1px solid rgba(255,193,7,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--gold); margin-bottom: 18px;
}
.service-card h5 { font-weight: 800; margin-bottom: 6px; }
.service-card .qtd { color: var(--gold-2); font-weight: 600; font-size: .95rem; }
.service-card .desc { color: var(--text-muted); font-size: .9rem; margin: 12px 0 18px; min-height: 40px; }
.service-card .price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.service-card .price {
  font-size: 2rem; font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.service-card .price-old { color: var(--text-muted); text-decoration: line-through; font-size: 1rem; }
.service-card .btn-buy {
  width: 100%; background: var(--gradient); color: #0a0a0a;
  font-weight: 800; border: none; padding: 12px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .2s;
}
.service-card .btn-buy:hover { transform: scale(1.02); color: #0a0a0a; }

/* FEATURES */
.feature {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 18px; padding: 28px; height: 100%;
}
.feature .ico {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--gradient); color: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.feature h6 { font-weight: 800; }
.feature p { color: var(--text-muted); margin: 0; font-size: .92rem; }

/* FOOTER */
.footer {
  background: var(--bg-1); border-top: 1px solid var(--border);
  padding: 40px 0; color: var(--text-muted); text-align: center;
}
.footer .brand { color: var(--gold); font-weight: 800; }

/* WHATSAPP FLOAT */
.wpp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; box-shadow: 0 10px 30px rgba(37,211,102,.4);
  z-index: 999; transition: transform .2s;
}
.wpp-float:hover { transform: scale(1.1); color: #fff; }

/* =========== ADMIN =========== */
.admin-body { background: var(--bg-0); min-height: 100vh; }
.admin-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: 260px;
  background: linear-gradient(180deg, #111, #0a0a0a);
  border-right: 1px solid var(--border); padding: 24px 16px;
  z-index: 100;
}
.admin-sidebar .brand {
  font-size: 1.4rem; font-weight: 900; margin-bottom: 32px; padding: 0 8px;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.admin-sidebar a.nav-link {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted); padding: 12px 14px; border-radius: 10px;
  margin-bottom: 4px; font-weight: 500; transition: all .2s;
}
.admin-sidebar a.nav-link:hover { background: var(--bg-2); color: var(--gold); }
.admin-sidebar a.nav-link.active {
  background: var(--gradient); color: #0a0a0a; box-shadow: var(--glow);
}
.admin-main { margin-left: 260px; padding: 32px; }
.admin-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px;
}
.admin-header h1 { font-weight: 900; margin: 0; letter-spacing: -1px; }

.kpi {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--border); border-radius: 18px; padding: 24px;
  position: relative; overflow: hidden;
}
.kpi .label { color: var(--text-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; }
.kpi .value {
  font-size: 2.2rem; font-weight: 900; margin-top: 8px;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.kpi .ico {
  position: absolute; right: 20px; top: 24px;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--gradient-soft); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}

.panel {
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: 18px; padding: 24px; margin-bottom: 24px;
}
.panel h5 { font-weight: 800; margin-bottom: 18px; }

.table-dark-premium { width: 100%; color: var(--text); }
.table-dark-premium th {
  text-align: left; padding: 12px; font-size: .8rem;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px;
  border-bottom: 1px solid var(--border);
}
.table-dark-premium td { padding: 14px 12px; border-bottom: 1px solid var(--border); }
.table-dark-premium tr:hover td { background: rgba(255,255,255,.02); }

.form-control, .form-select {
  background: var(--bg-2) !important; border: 1px solid var(--border) !important;
  color: var(--text) !important; padding: 12px 14px; border-radius: 10px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 3px rgba(255,122,0,.2) !important;
}
.form-label { color: var(--text-muted); font-weight: 600; font-size: .9rem; margin-bottom: 6px; }

.btn-action {
  background: var(--gradient); color: #0a0a0a; font-weight: 700;
  border: none; padding: 10px 20px; border-radius: 10px;
}
.btn-action:hover { color: #0a0a0a; opacity: .9; }
.btn-danger-soft {
  background: rgba(220,38,38,.15); color: #f87171; border: 1px solid rgba(220,38,38,.3);
  padding: 6px 12px; border-radius: 8px; font-size: .85rem;
}
.btn-edit-soft {
  background: var(--gradient-soft); color: var(--gold); border: 1px solid rgba(255,193,7,.3);
  padding: 6px 12px; border-radius: 8px; font-size: .85rem;
}

/* LOGIN */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.login-card {
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: 22px; padding: 40px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow);
}
.login-card .brand {
  text-align: center; font-size: 1.8rem; font-weight: 900; margin-bottom: 8px;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.login-card p.sub { text-align: center; color: var(--text-muted); margin-bottom: 28px; }

.alert-soft {
  background: rgba(220,38,38,.1); border: 1px solid rgba(220,38,38,.3);
  color: #fca5a5; border-radius: 10px; padding: 12px; margin-bottom: 16px;
}
.alert-success-soft {
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3);
  color: #86efac; border-radius: 10px; padding: 12px; margin-bottom: 16px;
}

@media (max-width: 768px) {
  .admin-sidebar { position: relative; width: 100%; height: auto; }
  .admin-main { margin-left: 0; padding: 20px; }
}
