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

:root {
  --bg: #000000;
  --bg2: #0a0f1f;
  --bg3: #111827;
  --surface: rgba(255,255,255,.04);
  --surface2: rgba(255,255,255,.08);
  --surface3: rgba(255,255,255,.12);
  --text: #ffffff;
  --text2: #c7d2fe;
  --muted: #6b7280;
  --accent: #2563eb;
  --accent2: #3b82f6;
  --green: #10b981;
  --orange: #f59e0b;
  --red: #ef4444;
  --grad: linear-gradient(135deg, #2563eb, #3b82f6);
  --grad2: linear-gradient(135deg, #3b82f6, #60a5fa);
  --grad3: linear-gradient(135deg, #2563eb, #1e3a8a);
  --radius: 12px;
  --radius2: 16px;
  --radius3: 20px;
  --shadow: 0 4px 20px rgba(0,0,0,.3);
  --shadow2: 0 8px 40px rgba(0,0,0,.4);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all .2s;
}

a:hover {
  color: var(--accent2);
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text);
}

input, textarea, select, button {
  font-family: var(--font);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================== */
/* BADGES                */
/* ===================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .6rem;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 600;
}

.badge-blue {
  background: rgba(91,124,250,.15);
  color: var(--accent);
}

.badge-purple {
  background: rgba(37,99,235,.15);
  color: var(--accent2);
}

.badge-green {
  background: rgba(16,185,129,.15);
  color: var(--green);
}

.badge-orange,
.badge-yellow {
  background: rgba(245,158,11,.15);
  color: var(--orange);
}

.badge-red {
  background: rgba(239,68,68,.15);
  color: var(--red);
}

.badge-count {
  background: var(--red);
  color: #fff;
  font-size: .65rem;
  padding: .15rem .45rem;
  border-radius: 10px;
  margin-left: .3rem;
  font-weight: 700;
  line-height: 1;
}

/* ===================== */
/* BUTTONS               */
/* ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .6rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  border-color: rgba(91,124,250,.3);
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(91,124,250,.4);
  transform: translateY(-1px);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--surface3);
}

.btn-secondary:hover {
  background: var(--surface2);
  border-color: var(--accent);
  color: var(--text);
}

.btn-danger {
  background: rgba(239,68,68,.1);
  color: var(--red);
  border-color: rgba(239,68,68,.2);
}

.btn-danger:hover {
  background: rgba(239,68,68,.2);
  color: var(--red);
}

.btn-outline {
  background: transparent;
  color: var(--text2);
  border-color: var(--surface3);
}

.btn-outline:hover {
  background: var(--surface2);
  border-color: var(--accent);
  color: var(--text);
}

.btn-sm {
  padding: .35rem .75rem;
  font-size: .78rem;
  border-radius: 8px;
}

.btn-lg {
  padding: .8rem 1.8rem;
  font-size: 1rem;
  border-radius: var(--radius2);
}

/* ===================== */
/* FORMS                 */
/* ===================== */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: .4rem;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: .65rem .9rem;
  color: var(--text);
  font-family: var(--font);
  font-size: .85rem;
  outline: none;
  transition: all .2s;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91,124,250,.15);
  background: rgba(255,255,255,.06);
}

textarea.form-input {
  resize: vertical;
  min-height: 60px;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6080' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  padding-right: 2rem;
}

option {
  background: var(--bg2);
  color: var(--text);
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row > .form-group {
  flex: 1;
}

/* ===================== */
/* TABLE                 */
/* ===================== */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  padding: .7rem .8rem;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 2px solid var(--surface2);
}

.table td {
  padding: .7rem .8rem;
  font-size: .85rem;
  border-bottom: 1px solid var(--surface);
  color: var(--text2);
}

.table tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover {
  background: rgba(255,255,255,.02);
}

/* ===================== */
/* STATUS                */
/* ===================== */
.status {
  display: inline-flex;
  align-items: center;
  padding: .2rem .6rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
}

.status-pending {
  background: rgba(245,158,11,.15);
  color: var(--orange);
}

.status-approved {
  background: rgba(16,185,129,.15);
  color: var(--green);
}

.status-rejected {
  background: rgba(239,68,68,.15);
  color: var(--red);
}

/* ===================== */
/* PRICE & AVATAR        */
/* ===================== */
.price {
  color: var(--green);
  font-weight: 700;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

/* ===================== */
/* PUBLIC GRID           */
/* ===================== */
.public-grid {
  display: grid;
  gap: 1.5rem;
}

/* ===================== */
/* AUTH PAGES            */
/* ===================== */
.auth-container {
  background: rgba(17,17,48,.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: .3rem;
}

.auth-sub {
  color: var(--muted);
  font-size: .9rem;
}

.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
  font-size: .85rem;
  color: var(--muted);
}

.auth-switch a {
  color: var(--accent);
  font-weight: 600;
}

/* ===================== */
/* ADMIN LAYOUT          */
/* ===================== */
.admin-body {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: var(--bg2);
  border-right: 1px solid var(--surface2);
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 100;
  transition: transform .3s;
}

.admin-sidebar .sidebar-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--surface2);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}

.admin-sidebar .sidebar-brand-letter {
  width: 32px;
  height: 32px;
  background: var(--grad);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: #fff;
  flex-shrink: 0;
}

.admin-sidebar .sidebar-brand img {
  height: 28px;
  vertical-align: middle;
  border-radius: 6px;
}

.admin-sidebar .sidebar-nav {
  flex: 1;
  padding: .8rem;
  overflow-y: auto;
}

.admin-sidebar .sidebar-nav a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .8rem;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text2);
  transition: all .2s;
  margin-bottom: 2px;
  text-decoration: none;
}

.admin-sidebar .sidebar-nav a:hover {
  color: var(--text);
  background: var(--surface);
}

.admin-sidebar .sidebar-nav a.active {
  color: var(--text);
  background: rgba(91,124,250,.1);
}

.admin-sidebar .sidebar-footer {
  padding: .8rem;
  border-top: 1px solid var(--surface2);
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.admin-sidebar .sidebar-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .8rem;
  border-radius: 8px;
  font-size: .82rem;
  color: var(--text2);
  text-decoration: none;
  transition: all .2s;
}

.admin-sidebar .sidebar-link:hover {
  color: var(--text);
  background: var(--surface);
}

.admin-main {
  margin-left: 260px;
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.admin-sidebar-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg2);
  border: 1px solid var(--surface2);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-title {
  font-size: 1.5rem;
  font-weight: 800;
}

.admin-subtitle {
  color: var(--muted);
  font-size: .9rem;
  margin-top: .2rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-grid .stat-card {
  background: var(--bg2);
  border: 1px solid var(--surface2);
  border-radius: var(--radius2);
  padding: 1.3rem;
  text-align: center;
}

.admin-grid .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
}

.admin-grid .stat-label {
  font-size: .75rem;
  color: var(--muted);
  margin-top: .2rem;
}

/* ===================== */
/* MODALS                */
/* ===================== */
.modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-bg.active {
  display: flex;
}

.modal {
  background: var(--bg2);
  border: 1px solid var(--surface2);
  border-radius: var(--radius2);
  width: 90%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow2);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--surface2);
}

.modal-head h3,
.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: .25rem .5rem;
  border-radius: 6px;
  transition: all .2s;
}

.modal-close:hover {
  color: var(--text);
  background: var(--surface);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--surface2);
}

/* ===================== */
/* PUBLIC NAV            */
/* ===================== */
.public-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(10,10,26,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.public-nav-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  z-index: 110;
}

.public-nav-logo .logo {
  width: 36px;
  height: 36px;
  background: var(--grad);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.public-nav-logo .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

  /* Hamburger Button */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    cursor: pointer;
    z-index: 110;
    padding: 8px;
    transition: all .3s;
  }
  .nav-hamburger:hover {
    background: rgba(37,99,235,.12);
    border-color: rgba(37,99,235,.3);
  }
  .nav-hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all .4s cubic-bezier(.68,-.55,.27,1.55);
    transform-origin: center;
  }
  .nav-hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    background: var(--accent2);
  }
  .nav-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    background: var(--accent2);
  }

.public-nav-links {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.public-nav-links a {
  padding: .5rem 1rem;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text2);
  transition: all .2s;
  text-decoration: none;
}

.public-nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
}

.public-nav-cta {
  background: var(--grad) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: .5rem 1.2rem !important;
}

.public-nav-cta:hover {
  box-shadow: 0 4px 20px rgba(91,124,250,.4);
  transform: translateY(-1px);
  color: #fff !important;
}

/* ===================== */
/* HERO                  */
/* ===================== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(91,124,250,.12), transparent 70%);
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  animation: heroPulse 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,.08), transparent 70%);
  bottom: -200px;
  right: -100px;
  border-radius: 50%;
  animation: heroPulse 8s ease-in-out infinite reverse;
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(91,124,250,.1);
  border: 1px solid rgba(91,124,250,.2);
  border-radius: 30px;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  animation: fadeUp .6s ease;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  animation: fadeUp .8s ease;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text2);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 1s ease;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1.2s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* PARTICLES */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .3;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: .3; }
  90% { opacity: .3; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* ===================== */
/* SECTIONS              */
/* ===================== */
.public-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.public-section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: .5rem;
}

.public-section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 3rem;
  font-size: 1rem;
}

.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all .6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== */
/* CARDS                 */
/* ===================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(17,17,48,.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius3);
  padding: 1.5rem;
  transition: all .4s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(91,124,250,.15);
  border-color: rgba(91,124,250,.2);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform .4s;
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.card p {
  color: var(--text2);
  font-size: .85rem;
  margin-bottom: 1rem;
}

.card .price {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.card .price small {
  font-size: .75rem;
  font-weight: 400;
  color: var(--muted);
}

/* ===================== */
/* PRODUCT CARDS         */
/* ===================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--surface2);
  border-radius: var(--radius2);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s, border-color .3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
  animation: cardIn .6s ease forwards;
}
@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}
.product-card:nth-child(1) { animation-delay: .05s; }
.product-card:nth-child(2) { animation-delay: .10s; }
.product-card:nth-child(3) { animation-delay: .15s; }
.product-card:nth-child(4) { animation-delay: .20s; }
.product-card:nth-child(5) { animation-delay: .25s; }
.product-card:nth-child(6) { animation-delay: .30s; }
.product-card:nth-child(7) { animation-delay: .35s; }
.product-card:nth-child(8) { animation-delay: .40s; }
.product-card:nth-child(n+9) { animation-delay: .45s; }

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 0 1px var(--accent);
  border-color: transparent;
}
.product-card:hover .product-card-img {
  transform: scale(1.06);
}

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg3);
  display: block;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.product-card-body {
  padding: 1.1rem 1.2rem .6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  font-size: 1rem;
  margin-bottom: .35rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.product-card-body .cat {
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: .5rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-weight: 600;
}

.product-card-body .desc {
  font-size: .82rem;
  color: var(--text2);
  margin-bottom: .8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-foot {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .6rem 1.2rem 1.2rem;
  border-top: 1px solid var(--surface);
  margin-top: auto;
}

.product-card .price-block {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.product-card .price-pix {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent2);
}
.product-card .price-pix small {
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-left: .3rem;
}
.product-card .price-old {
  font-size: .72rem;
  color: var(--muted);
  text-decoration: line-through;
}
.product-card .installments {
  font-size: .72rem;
  color: var(--text2);
}
.product-card .buy-cta {
  margin-top: .65rem;
  padding: .65rem 1rem;
  background: var(--grad);
  color: #fff;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: .03em;
  transition: all .25s;
  text-decoration: none;
  display: block;
}
.product-card:hover .buy-cta {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  box-shadow: 0 6px 20px rgba(37,99,235,.4);
  transform: translateY(-1px);
}

/* badge overlays on image */
.product-card .badge-deal {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: #ef4444;
  color: #fff;
  padding: .25rem .6rem;
  border-radius: 6px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(239,68,68,.4);
}
.product-card .badge-new {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--accent);
  color: #fff;
  padding: .25rem .6rem;
  border-radius: 6px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(37,99,235,.4);
}
.product-card .badge-ai {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: rgba(59,130,246,.15);
  color: var(--accent2);
  border: 1px solid rgba(59,130,246,.4);
  padding: .25rem .5rem;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 700;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.product-card .discount-tag {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: rgba(16,185,129,.2);
  color: #10b981;
  border: 1px solid rgba(16,185,129,.4);
  padding: .25rem .5rem;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 800;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.product-card-foot .price {
  font-size: 1.1rem;
}

/* COLOR DOTS */
.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid rgba(255,255,255,.2);
  cursor: pointer;
  transition: all .2s;
}

.color-dot:hover,
.color-dot.active {
  transform: scale(1.2);
  border-color: #fff;
}

/* ===================== */
/* CATEGORIES GRID       */
/* ===================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.cat-card {
  background: var(--bg2);
  border: 1px solid var(--surface2);
  border-radius: var(--radius2);
  padding: 1.5rem;
  text-align: center;
  transition: all .3s;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 10px 40px rgba(91,124,250,.1);
  color: var(--text);
}

.cat-card .icon {
  font-size: 2rem;
  margin-bottom: .5rem;
}

.cat-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .2rem;
}

.cat-card span {
  font-size: .75rem;
  color: var(--muted);
}

/* ===================== */
/* SEARCH & FILTERS      */
/* ===================== */
.search-bar {
  display: flex;
  gap: .75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.search-bar .form-input {
  flex: 1;
  min-width: 200px;
}

.filter-bar {
  display: flex;
  gap: .75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-chip {
  padding: .4rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--surface3);
  background: transparent;
  color: var(--text2);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font);
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ===================== */
/* ABOUT                 */
/* ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text2);
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  gap: 1rem;
}

.about-feature {
  display: flex;
  gap: 1rem;
  align-items: start;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-feature h4 {
  font-size: .9rem;
  margin-bottom: .2rem;
}

.about-feature p {
  font-size: .8rem;
  color: var(--text2);
}

/* ===================== */
/* BEFORE/AFTER SLIDER   */
/* ===================== */
.ba-slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius3);
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--surface2);
  aspect-ratio: 16/10;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
}

.ba-slider-after {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ba-slider-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-slider-before {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 2;
  overflow: hidden;
  width: 50%;
}

.ba-slider-before img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-slider-handle-line {
  width: 3px;
  flex: 1;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0,0,0,.5);
}

.ba-slider-handle-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(91,124,250,.6);
  pointer-events: auto;
  cursor: col-resize;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,.9);
  transition: transform .2s, box-shadow .2s;
  letter-spacing: 2px;
}

.ba-slider-handle-btn:hover,
.ba-slider.dragging .ba-slider-handle-btn {
  transform: scale(1.15);
  box-shadow: 0 4px 30px rgba(91,124,250,.8);
}

.ba-slider .ba-label {
  position: absolute;
  top: 16px;
  z-index: 5;
  padding: .3rem .8rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.ba-label-before {
    left: 16px;
    background: rgba(239,68,68,.25);
    color: #f87171;
    border: 1px solid rgba(239,68,68,.35);
    z-index: 3;
}

.ba-label-after {
    right: 16px;
    background: rgba(16,185,129,.25);
    color: var(--green);
    border: 1px solid rgba(16,185,129,.35);
    z-index: 3;
}

/* ===================== */
/* MARQUEE               */
/* ===================== */
.marquee-track {
    display: inline-flex;
    gap: 1.5rem;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===================== */
/* COMPARISON POINTS     */
/* ===================== */
.comparison-points {
    padding: 1rem 0;
}

.comparison-points ul {
    list-style: none;
}

.comparison-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    border-left: 3px solid;
}

.comparison-points li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===================== */
/* FAQ ACCORDEON         */
/* ===================== */
.faq-item {
    border: 1px solid var(--surface2);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg2);
}

.faq-item summary {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    transition: background 0.2s;
}

.faq-item summary:hover {
    background: var(--surface);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] summary svg {
    transform: rotate(180deg);
}

.faq-item > div {
    padding: 0 1.5rem 1.2rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    animation: fadeUp 0.3s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===================== */
/* REVIEWS               */
/* ===================== */
.review-card {
  background: var(--bg2);
  border: 1px solid var(--surface2);
  border-radius: var(--radius2);
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.review-head {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  color: #fff;
  flex-shrink: 0;
}

.review-stars {
  color: var(--orange);
  font-size: .9rem;
}

/* ===================== */
/* CHAT                  */
/* ===================== */
.chat-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(91,124,250,.4);
  z-index: 999;
  transition: all .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-toggle:hover {
  transform: scale(1.1);
}

/* ===================== */
/* WHATSAPP FLOAT        */
/* ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  z-index: 998;
  transition: all .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.5);
  color: #fff;
}

.chat-window {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: 380px;
  max-height: 500px;
  background: var(--bg2);
  border: 1px solid var(--surface2);
  border-radius: var(--radius3);
  display: none;
  flex-direction: column;
  z-index: 999;
  overflow: hidden;
  box-shadow: var(--shadow2);
  animation: slideUp .3s ease;
}

.chat-window.active {
  display: flex;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-head {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--surface2);
  background: rgba(17,17,48,.8);
}

.chat-head .dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  max-height: 320px;
}

.chat-msg {
  max-width: 85%;
  padding: .7rem 1rem;
  border-radius: 14px;
  font-size: .85rem;
  line-height: 1.5;
  animation: fadeUp .3s ease;
}

.chat-msg.bot {
  background: var(--surface2);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--text2);
}

.chat-msg.user {
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-site-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  overflow: hidden;
  margin-top: .6rem;
  max-width: 260px;
  animation: fadeUp .3s ease;
  transition: transform .2s;
}

.chat-site-card:hover {
  transform: translateY(-2px);
}

.chat-site-card a:hover {
  transform: scale(1.05);
}

.chat-input {
  display: flex;
  gap: .5rem;
  padding: .8rem 1rem;
  border-top: 1px solid var(--surface2);
}

.chat-input input {
  flex: 1;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: .5rem 1rem;
  color: var(--text);
  font-size: .85rem;
  font-family: var(--font);
  outline: none;
}

.chat-input input:focus {
  border-color: var(--accent);
}

.chat-input button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.typing {
  display: flex;
  gap: 4px;
  padding: .7rem 1rem;
}

.typing span {
  width: 6px;
  height: 6px;
  background: var(--muted);
  border-radius: 50%;
  animation: bounce .6s infinite alternate;
}

.typing span:nth-child(2) {
  animation-delay: .2s;
}

.typing span:nth-child(3) {
  animation-delay: .4s;
}

@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

/* ===================== */
/* FOOTER                */
/* ===================== */
.public-footer {
  background: var(--bg2);
  border-top: 1px solid var(--surface2);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.public-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.public-footer h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .8rem;
}

.public-footer p,
.public-footer a {
  color: var(--text2);
  font-size: .85rem;
  display: block;
  margin-bottom: .4rem;
}

/* ===================== */
/* RESPONSIVE            */
/* ===================== */
@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-sidebar-toggle {
    display: flex;
  }

  .admin-main {
    margin-left: 0;
    padding: 1rem;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Backdrop overlay behind mobile menu */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
    z-index: 104;
  }
  .nav-backdrop.show {
    opacity: 1;
    pointer-events: auto;
  }

  .public-nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: linear-gradient(180deg, #0a0f1f 0%, #000000 100%);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--surface2);
    flex-direction: column;
    align-items: stretch;
    padding: 5.5rem 1.5rem 2rem;
    gap: .4rem;
    transform: translateX(105%);
    transition: transform .45s cubic-bezier(.4,0,.2,1);
    z-index: 105;
    box-shadow: -20px 0 60px rgba(0,0,0,.6);
    overflow-y: auto;
  }

  .public-nav-links.open {
    transform: translateX(0);
  }

  /* slide menu header */
  .public-nav-links::before {
    content: 'Menu';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--muted);
    text-transform: uppercase;
  }

  .public-nav-links a {
    padding: .85rem 1.1rem;
    font-size: 1rem;
    border-radius: 12px;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity .4s ease, transform .4s ease, background .2s, color .2s;
    background: rgba(255,255,255,.02);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: .6rem;
  }
  .public-nav-links a::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--accent);
    border-radius: 4px;
    opacity: 0;
    transform: scaleY(0);
    transition: all .25s;
  }
  .public-nav-links.open a {
    opacity: 1;
    transform: translateX(0);
  }
  .public-nav-links a:hover::before,
  .public-nav-links a.active-link::before {
    opacity: 1;
    transform: scaleY(1);
  }

  .public-nav-links.open a:nth-child(1) { transition-delay: .08s; }
  .public-nav-links.open a:nth-child(2) { transition-delay: .14s; }
  .public-nav-links.open a:nth-child(3) { transition-delay: .20s; }
  .public-nav-links.open a:nth-child(4) { transition-delay: .26s; }
  .public-nav-links.open a:nth-child(5) { transition-delay: .32s; }
  .public-nav-links.open a:nth-child(6) { transition-delay: .38s; }
  .public-nav-links.open a:nth-child(7) { transition-delay: .44s; }
  .public-nav-links.open a:nth-child(8) { transition-delay: .50s; }

  .public-nav-cta {
    margin-top: .8rem;
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .chat-window {
    width: calc(100vw - 2rem);
    right: 1rem;
    bottom: 5rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .ba-slider-handle-btn {
    width: 40px;
    height: 40px;
    font-size: .65rem;
  }

  .comparison-points > div > div {
    grid-template-columns: 1fr !important;
  }

  .comparison-points li {
    padding: .5rem;
    font-size: .85rem;
  }

  .admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  #stats-bar > div {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .ba-slider {
    aspect-ratio: 4/3 !important;
  }

  .ba-slider-handle-btn {
    width: 36px;
    height: 36px;
    font-size: .6rem;
  }

  .marquee-track {
    gap: 1rem;
    animation-duration: 15s;
  }
}
