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

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

:root {
  --bg:        #f6f5f2;
  --surface:   #ffffff;
  --border:    #e4e2dc;
  --text:      #0d0d0c;
  --muted:     #6e6d68;
  --accent:    #5046e4;
  --accent-lt: #eeecff;
  --accent-dk: #3730b8;
  --amber:     #e08c00;
  --amber-lt:  #fff7e0;
  --green:     #12954a;
  --green-lt:  #d8faec;
  --red:       #d72b2b;
  --red-lt:    #fdeaea;
  --indigo2:   #7c3aed;
  --pink:      #db2777;
  --dark:      #0d0c10;
  --r-sm:      8px;
  --r-md:      14px;
  --r-lg:      20px;
  --r-xl:      28px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,.09), 0 1px 4px rgba(0,0,0,.05);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.12), 0 3px 10px rgba(0,0,0,.06);
  --shadow-xl: 0 24px 72px rgba(0,0,0,.14), 0 6px 16px rgba(0,0,0,.08);
  --ease:        cubic-bezier(.4,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes fadeUp   { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn   { from{opacity:0} to{opacity:1} }
@keyframes scaleIn  { from{opacity:0;transform:scale(.94)} to{opacity:1;transform:scale(1)} }
@keyframes float    { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes spin-slow{ from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes shimmer  { 0%{background-position:-600px 0} 100%{background-position:600px 0} }
@keyframes pulseDot { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:.6} }
@keyframes gradMove {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

/* ── Layout ─────────────────────────────────────────────── */
.container { width: min(1160px, 92%); margin: 0 auto; }

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
  background: rgba(246,245,242,.9);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow .3s var(--ease);
}

.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }

.admin-nav {
  background: rgba(13,12,16,.94);
  border-bottom: 0;
}

.nav-container {
  min-height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px; font-weight: 900; letter-spacing: -.6px;
  animation: fadeIn .5s both;
}

.logo span {
  background: linear-gradient(135deg, var(--accent), var(--indigo2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-nav .logo span {
  background: linear-gradient(135deg, #818cf8, #c084fc);
  -webkit-background-clip: text; background-clip: text;
}

.nav-menu { display: flex; align-items: center; gap: 2px; }

.nav-menu a {
  color: var(--muted); font-size: 14px; font-weight: 500;
  padding: 7px 13px; border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}

.nav-menu a:hover { color: var(--text); background: rgba(0,0,0,.05); }

.nav-menu a.active {
  color: var(--accent); background: var(--accent-lt); font-weight: 700;
}

.admin-nav .nav-menu a       { color: #94a3b8; }
.admin-nav .nav-menu a:hover { color: white; background: rgba(255,255,255,.07); }
.admin-nav .nav-menu a.active{ color: #a5b4fc; background: rgba(99,102,241,.18); }

.nav-toggle {
  display: none; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); padding: 8px 11px; border-radius: var(--r-sm);
  cursor: pointer; font-size: 18px; line-height: 1; transition: background .2s;
}
.nav-toggle:hover { background: #eee; }
.admin-nav .nav-toggle { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: white; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: var(--r-md); padding: 11px 20px;
  font-family: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; white-space: nowrap; position: relative; overflow: hidden;
  transition: transform .2s var(--ease-spring), box-shadow .2s, filter .2s;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--indigo2));
  color: white !important;
  box-shadow: 0 4px 16px rgba(80,70,228,.38), 0 1px 3px rgba(80,70,228,.2);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(80,70,228,.48); filter: brightness(1.08); }

.btn-secondary {
  background: var(--accent-lt);
  color: var(--accent) !important;
  box-shadow: inset 0 0 0 1px rgba(80,70,228,.2);
}
.btn-secondary:hover { background: #e4e0ff; }

.btn-outline {
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text) !important;
}
.btn-outline:hover { border-color: #bbb; background: #f8f8f6; }

.admin-nav .btn-outline {
  border-color: rgba(255,255,255,.2); background: transparent; color: white !important;
}

.btn-danger {
  background: linear-gradient(135deg, var(--red), #b91c1c);
  color: white !important; box-shadow: 0 4px 14px rgba(220,38,38,.3);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white !important; box-shadow: 0 4px 14px rgba(22,163,74,.3);
}

.btn-small  { padding: 7px 14px; font-size: 13px; }
.full       { width: 100%; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 88px 0 100px;
  background: linear-gradient(145deg, #eeeaff 0%, #f6f5f2 38%, #fff7e8 70%, #ffe8f8 100%);
  background-size: 300% 300%;
  animation: gradMove 10s ease infinite;
  position: relative; overflow: hidden;
}

/* Decorative blobs */
.hero::before {
  content: '';
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(80,70,228,.13) 0%, transparent 70%);
  top: -160px; right: -80px; pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(219,39,119,.09) 0%, transparent 70%);
  bottom: -120px; left: 5%; pointer-events: none;
}

/* Floating decorative circles */
.hero-deco {
  position: absolute; border-radius: 50%; pointer-events: none; opacity: .55;
}
.hero-deco-1 {
  width: 22px; height: 22px; top: 18%; right: 22%;
  background: linear-gradient(135deg,#a78bfa,#818cf8);
  animation: float 5s ease-in-out infinite;
}
.hero-deco-2 {
  width: 14px; height: 14px; top: 60%; right: 14%;
  background: linear-gradient(135deg,#fb7185,#f472b6);
  animation: float 7s ease-in-out infinite .8s;
}
.hero-deco-3 {
  width: 10px; height: 10px; top: 30%; left: 8%;
  background: linear-gradient(135deg,#34d399,#059669);
  animation: float 6s ease-in-out infinite 1.5s;
}

.hero-grid {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center;
  animation: fadeUp .65s var(--ease) both; position: relative; z-index: 1;
}

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(80,70,228,.1); color: var(--accent);
  border: 1px solid rgba(80,70,228,.2);
  padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .03em; margin-bottom: 20px;
}

.badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 2s ease-in-out infinite;
}

.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.09; letter-spacing: -2px; margin-bottom: 18px;
  background: linear-gradient(145deg, #0d0c10 0%, #3730b8 60%, #7c3aed 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero p { color: var(--muted); font-size: 16px; max-width: 460px; line-height: 1.7; }

.hero-actions, .action-row, .owner-actions {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px;
}

.hero-card {
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--r-xl); padding: 28px;
  box-shadow: var(--shadow-xl);
  animation: scaleIn .7s var(--ease) .18s both;
  position: relative; overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--indigo2), var(--pink));
}

.hero-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }

.check-list { margin-top: 14px; list-style: none; }

.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--muted);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: '✓'; flex-shrink: 0; width: 22px; height: 22px;
  background: var(--green-lt); color: var(--green);
  border-radius: 50%; font-size: 11px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 80px 0; }

.soft-bg {
  background: linear-gradient(160deg, #fafaf8 0%, #f0effc 50%, #fafaf8 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}

.section-title { margin-bottom: 32px; }

.section-title h2, .page-header h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 3vw, 40px); letter-spacing: -.7px;
}

.section-title p, .page-header p { color: var(--muted); margin-top: 6px; font-size: 15px; }

.row-title {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

.link-more {
  color: var(--accent); font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  transition: gap .2s;
}
.link-more:hover { gap: 10px; }

/* ── Category Cards ─────────────────────────────────────── */
.category-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 12px;
}

/* Rotating hue per card */
.category-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  padding: 18px 16px; border-radius: var(--r-md);
  font-weight: 700; font-size: 14px;
  transition: transform .25s var(--ease-spring), box-shadow .25s, border-color .2s, color .2s, background .2s;
  position: relative; overflow: hidden; cursor: pointer;
}

.category-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--indigo2));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(80,70,228,.15);
  border-color: rgba(80,70,228,.3);
  color: var(--accent);
  background: #fbfaff;
}

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

/* ── Product Grid ────────────────────────────────────────── */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 18px;
}

.product-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .25s;
  position: relative;
  animation: fadeUp .5s var(--ease) both;
}

.product-card:nth-child(1) { animation-delay: .04s; }
.product-card:nth-child(2) { animation-delay: .09s; }
.product-card:nth-child(3) { animation-delay: .14s; }
.product-card:nth-child(4) { animation-delay: .19s; }
.product-card:nth-child(5) { animation-delay: .24s; }
.product-card:nth-child(6) { animation-delay: .29s; }

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(80,70,228,.14), 0 4px 12px rgba(0,0,0,.07);
  border-color: rgba(80,70,228,.3);
}

.product-card img, .detail-image img {
  width: 100%; height: 240px; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: bicubic;
}
.product-card:hover img { transform: scale(1.06); }

/* Gradient overlay on image bottom */
.product-img-wrap {
  position: relative; overflow: hidden; border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.product-img-wrap::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(to top, rgba(255,255,255,.7), transparent);
  pointer-events: none;
}

.placeholder-img {
  height: 240px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ece9ff, #e4e2dc);
  color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .08em;
}

.placeholder-img.big {
  height: 480px; border-radius: var(--r-lg);
}

.product-body { padding: 16px 18px 20px; }

.product-meta {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px;
}

.product-body h3 {
  font-size: 15px; font-weight: 700; line-height: 1.35; margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.price {
  color: var(--accent); font-weight: 900; font-size: 16px; letter-spacing: -.3px;
}
.price.large { font-size: 30px; margin: 10px 0 16px; letter-spacing: -.8px; }

.meet-location {
  color: var(--muted); font-size: 12px; margin: 5px 0 14px;
  display: flex; align-items: center; gap: 4px;
}

/* ── Status Pills ────────────────────────────────────────── */
.status {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.status-tersedia  { background: var(--green-lt); color: var(--green); }
.status-negosiasi { background: var(--amber-lt);  color: var(--amber); }
.status-terjual   { background: var(--red-lt);    color: var(--red);   }
.status-default   { background: #ece9ff; color: var(--accent); }

/* ── Filter Box ─────────────────────────────────────────── */
.filter-box {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 14px;
  display: grid; grid-template-columns: 1fr 200px auto; gap: 10px;
  margin-bottom: 30px; box-shadow: var(--shadow-sm);
  animation: fadeUp .4s var(--ease) both;
}

/* ── Inputs ─────────────────────────────────────────────── */
input, select, textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  padding: 11px 14px; font: inherit; font-size: 14px;
  background: var(--bg); color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent); background: var(--surface);
  box-shadow: 0 0 0 3px rgba(80,70,228,.1);
}
input::placeholder { color: #b5b4ae; }

label { font-weight: 700; font-size: 14px; margin-top: 14px; margin-bottom: 6px; display: block; }

/* ── Cards ───────────────────────────────────────────────── */
.hero-card, .card, .table-card, .stat-card, .auth-card, .detail-info {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-lg);
}
.card, .form-card  { padding: 24px; }
.table-card        { padding: 22px; margin-top: 18px; }
.stat-card         { padding: 22px; }
.auth-card         { padding: 32px; }

/* ── Stat Cards ─────────────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px;
}

.stat-card {
  position: relative; overflow: hidden;
  transition: transform .25s var(--ease-spring), box-shadow .25s;
  animation: fadeUp .5s var(--ease) both;
}

.stat-card:nth-child(1) { animation-delay: .05s; }
.stat-card:nth-child(2) { animation-delay: .10s; }
.stat-card:nth-child(3) { animation-delay: .15s; }
.stat-card:nth-child(4) { animation-delay: .20s; }

.stat-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--indigo2));
}

.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.stat-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 30px; letter-spacing: -.6px;
  background: linear-gradient(135deg, var(--accent), var(--indigo2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-card p { color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 5px; }

/* ── Detail Page ─────────────────────────────────────────── */
.detail-grid {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 30px; align-items: start;
}

.detail-image img {
  height: 480px; border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: bicubic;
}

.detail-info {
  padding: 30px; box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}

.detail-info::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--indigo2), var(--pink));
}

.detail-info h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 3.5vw, 40px); line-height: 1.15;
  letter-spacing: -.8px; margin-top: 10px;
}

.info-list {
  padding: 16px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin: 14px 0; font-size: 14px; color: var(--muted);
}

/* ── Meeting Box ─────────────────────────────────────────── */
.meeting-box {
  background: linear-gradient(135deg, #0d0c10 0%, #1e1b4b 50%, #2e1065 100%);
  color: white; padding: 44px 48px; border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  box-shadow: 0 16px 56px rgba(13,12,16,.35);
  position: relative; overflow: hidden;
}

.meeting-box::before {
  content: '';
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.28) 0%, transparent 70%);
  right: -80px; top: -120px; pointer-events: none;
}

.meeting-box::after {
  content: '';
  position: absolute; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(219,39,119,.18) 0%, transparent 70%);
  left: 20%; bottom: -80px; pointer-events: none;
}

.meeting-box h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: white; letter-spacing: -.5px; position: relative; z-index: 1;
}

.meeting-box p { color: #a5b4fc; max-width: 640px; font-size: 15px; margin-top: 10px; position: relative; z-index: 1; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--dark); border-top: 0;
  padding: 36px 0;
}

.footer-grid {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13px; color: #64748b;
}

.footer-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 18px; letter-spacing: -.4px;
  background: linear-gradient(135deg, #818cf8, #c084fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Page ───────────────────────────────────────────────── */
.page { padding: 44px 0 76px; }

.page-header {
  margin-bottom: 30px;
  animation: fadeUp .4s var(--ease) both;
}

/* ── Alerts ─────────────────────────────────────────────── */
.alert {
  padding: 13px 16px; border-radius: var(--r-sm);
  margin-bottom: 16px; font-weight: 600; font-size: 14px;
  animation: fadeIn .3s both; border-left: 4px solid;
}
.alert.success { background: var(--green-lt); color: var(--green); border-color: var(--green); }
.alert.danger  { background: var(--red-lt);   color: var(--red);   border-color: var(--red); }

/* ── Auth ────────────────────────────────────────────────── */
.auth-body {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: linear-gradient(145deg, #eeeaff 0%, #f6f5f2 45%, #fff0f9 100%);
  background-size: 200% 200%; animation: gradMove 8s ease infinite;
}

.auth-card {
  width: min(430px, 100%); box-shadow: var(--shadow-xl);
  position: relative; overflow: hidden;
}
.auth-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--indigo2), var(--pink));
}

.auth-card h1 {
  margin-top: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -.5px;
}

.auth-card p  { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.center-logo  { display: block; text-align: center; }
.auth-link, .demo-login { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }
.auth-link a  { color: var(--accent); font-weight: 700; }

/* ── Tables ─────────────────────────────────────────────── */
.table-responsive { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; margin-top: 14px; min-width: 660px; }

th, td {
  text-align: left; padding: 12px 10px;
  border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle;
}

th {
  color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; background: var(--bg);
}

tr:last-child td { border-bottom: 0; }
tr:hover td { background: #faf9ff; }

.table-actions { display: flex; gap: 7px; flex-wrap: wrap; }

/* ── Admin ───────────────────────────────────────────────── */
.admin-nav { background: rgba(13,12,16,.96); }

.admin-grid {
  display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start;
}

/* ── Section label eyebrow ────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}

/* ── Empty State ─────────────────────────────────────────── */
.empty-state {
  background: var(--surface); border: 1.5px dashed var(--border);
  padding: 60px 24px; border-radius: var(--r-lg);
  color: var(--muted); grid-column: 1 / -1; text-align: center;
  font-weight: 600; font-size: 14px; animation: fadeIn .4s both;
}

.empty-state::before {
  content: '📦'; display: block; font-size: 40px; margin-bottom: 14px;
}

/* ── Misc ────────────────────────────────────────────────── */
.inline-form, .form-inline-report {
  display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.form-inline-report { width: 100%; margin-top: 12px; }
.form-inline-report input { flex: 1; min-width: 200px; }

.preview-img {
  width: 140px; height: 100px; object-fit: cover;
  border-radius: var(--r-sm); border: 1.5px solid var(--border); margin-top: 10px;
}

.form-container { max-width: 720px; }

.review-form {
  display: grid; grid-template-columns: 75px minmax(140px,1fr) auto; gap: 6px;
}

.mt-24 { margin-top: 24px; }

/* ── Skeleton ────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #eeecea 25%, #e4e2dc 50%, #eeecea 75%);
  background-size: 800px 100%; animation: shimmer 1.4s linear infinite;
  border-radius: var(--r-sm);
}

/* ── Scroll reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Section divider ─────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
  border: 0;
}

/* ── Gradient tag on category section title ──────────────── */
.section-title h2 .grad-text,
.page-header h1 .grad-text {
  background: linear-gradient(135deg, var(--accent), var(--indigo2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 5%; flex-direction: column; align-items: stretch;
    gap: 2px; display: none; box-shadow: var(--shadow-md);
    animation: fadeIn .2s var(--ease);
  }

  .admin-nav .nav-menu { background: rgba(13,12,16,.97); border-bottom-color: rgba(255,255,255,.08); }

  .nav-menu.show { display: flex; }
  .nav-menu a { font-size: 15px; padding: 11px 14px; }

  .hero-grid, .detail-grid, .admin-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .filter-box { grid-template-columns: 1fr; }
  .meeting-box, .row-title, .footer-grid { flex-direction: column; align-items: flex-start; }
  .meeting-box { padding: 30px; }
}

@media (max-width: 640px) {
  .hero { padding: 56px 0 64px; }
  .hero h1 { letter-spacing: -1px; }
  .product-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .detail-image img, .placeholder-img.big { height: 260px; }
  .review-form { grid-template-columns: 1fr; }
  .meeting-box { border-radius: var(--r-lg); }
  .section { padding: 56px 0; }

  /* Kartu produk compact di mobile */
  .product-card img { height: 140px; }
  .placeholder-img { height: 140px; font-size: 11px; }
  .product-body { padding: 10px 12px 13px; }
  .product-body h3 { font-size: 13px; -webkit-line-clamp: 2; }
  .product-meta { margin-bottom: 6px; }
  .price { font-size: 13px !important; }
  .status { font-size: 10px !important; padding: 2px 7px !important; }
  .meet-location { font-size: 11px !important; }
  .btn.btn-small { font-size: 12px; padding: 7px 10px; }
  .product-body > p[style] { font-size: 11px !important; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .product-card img { height: 120px; }
  .placeholder-img { height: 120px; }
  .product-body { padding: 8px 10px 11px; }
  .product-body h3 { font-size: 12px; }
  .btn { padding: 10px 15px; font-size: 13px; }
  .btn.btn-small { font-size: 11px; padding: 6px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* Informasi ruang lingkup kampus */
.scope-note {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}
.scope-note.small {
    font-size: 13px;
    margin-top: 8px;
}
.alert.info {
    background: #eef7ff;
    color: #075985;
    border: 1px solid #bae6fd;
}
