:root{
  --bg:#0b1220;
  --card:#101a2e;
  --muted:#9fb1d1;
  --text:#e9f0ff;
  --brand:#4f8cff;
  --brand2:#22c55e;
  --border:rgba(255,255,255,.10);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: radial-gradient(1200px 600px at 20% 10%, rgba(79,140,255,.25), transparent 60%),
              radial-gradient(900px 500px at 90% 20%, rgba(34,197,94,.18), transparent 55%),
              var(--bg);
  color:var(--text);
}
a{color:inherit; text-decoration:none}
.container{width:min(1200px, 92%); margin:0 auto}
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.55);
  border-bottom:1px solid var(--border);
}
.nav .inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; gap:10px; align-items:center;
  font-weight:800; letter-spacing:.3px;
}
.badge{
  font-size:12px; padding:4px 10px; border-radius:999px;
  border:1px solid var(--border); color:var(--muted);
}
.hero{
  padding:46px 0 20px;
}
.hero h1{
  margin:0;
  font-size: clamp(26px, 4.2vw, 44px);
  line-height:1.05;
}
.hero p{
  color:var(--muted);
  margin:10px 0 0;
  max-width:740px;
  line-height:1.6;
}
.grid{
  margin:26px 0 60px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
}
.card{
  grid-column: span 4;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--border);
  border-radius:18px;
  overflow:hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover{
  transform: translateY(-3px);
  border-color: rgba(79,140,255,.35);
}
.thumb{
  aspect-ratio: 16/10;
  background:#0d1630;
  display:block;
  overflow:hidden;
}
.thumb img{
  width:100%; height:100%;
  object-fit:cover;
  transform: scale(1.02);
  transition: transform .25s ease;
}
.card:hover .thumb img{ transform: scale(1.06); }
.card .body{
  padding:14px 14px 16px;
}
.title{
  font-size:16px;
  font-weight:800;
  margin:0 0 6px;
}
.desc{
  margin:0 0 10px;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}
.tags{
  display:flex; flex-wrap:wrap; gap:8px;
  margin-bottom:12px;
}
.tag{
  font-size:12px; color:var(--muted);
  border:1px solid var(--border);
  padding:4px 10px; border-radius:999px;
}
.btn{
  width:100%;
  cursor:pointer;
  border:none;
  border-radius:14px;
  padding:11px 12px;
  font-weight:800;
  background: linear-gradient(90deg, var(--brand), #8b5cf6);
  color:white;
}
.btn:hover{ filter: brightness(1.05); }
.footer{
  border-top:1px solid var(--border);
  padding:18px 0;
  color:var(--muted);
  font-size:13px;
}

.modal{
  position:fixed; inset:0; display:none; place-items:center;
  background: rgba(0,0,0,.6);
  padding:18px;
  z-index:100;
}
.modal.show{ display:grid; }
.modal .panel{
  width:min(520px, 100%);
  background: var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
}
.modal .panel h3{margin:0 0 6px}
.modal .panel p{margin:0 0 12px; color:var(--muted); line-height:1.5}
.field{
  width:100%;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius:14px;
  padding:12px 12px;
  outline:none;
}
.row{display:flex; gap:10px; margin-top:10px}
.row .btn2{
  flex:1;
  border:none;
  border-radius:14px;
  padding:11px 12px;
  font-weight:800;
}
.cancel{
  background: rgba(255,255,255,.08);
  color: var(--text);
}
.confirm{
  background: linear-gradient(90deg, var(--brand2), #16a34a);
  color:white;
}
.alert{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-size:13px;
}
@media (max-width: 980px){
  .card{ grid-column: span 6; }
}
@media (max-width: 560px){
  .card{ grid-column: span 12; }
}

/* Filter Bar */
.filterbar{
  margin: 14px 0 0;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.filterbar .field2{
  flex:1;
  min-width: 220px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius:14px;
  padding:12px 12px;
  outline:none;
}
.pills{
  display:flex; gap:8px; flex-wrap:wrap;
}
.pill{
  cursor:pointer;
  user-select:none;
  font-size:12px;
  color: var(--muted);
  border:1px solid var(--border);
  padding:6px 12px;
  border-radius:999px;
}
.pill.active{
  border-color: rgba(79,140,255,.55);
  color: #fff;
}

/* WhatsApp Floating Button */
.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12);
}
.whatsapp-float:hover{ filter: brightness(1.05); }
.whatsapp-icon{
  width: 18px; height:18px;
  display:inline-block;
  background: rgba(255,255,255,.2);
  border-radius: 6px;
}
