/* =========================
GLOBAL
========================= */

body {
  background: #ffffff;
  color: #1f2937;
  -webkit-font-smoothing: antialiased;
}

/* =========================
HEADER
========================= */

.site-header {
  padding: 20px 0;
  border-bottom: 1px solid #f1f5f9;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
}

/* =========================
MENU
========================= */

.main-menu ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-menu a {
  text-decoration: none;
  color: #374151;
  font-size: 14px;
  transition: 0.2s;
}

.main-menu a:hover {
  color: #f43f5e;
}

/* =========================
PRICING
========================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
}

.price-card {
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* =========================
TEMPLATES SECTION
========================= */

.templates {
  padding: 80px 20px;
  background: #f8fafc;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1f2937;
}

/* =========================
TEMPLATE GRID
========================= */

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
}

/* =========================
TEMPLATE CARD
========================= */

.template-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #111;
  box-shadow: 0 5px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  padding-bottom: 20px;
}

.template-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.template-image {
  height: 180px;
  background: linear-gradient(135deg,#e2e8f0,#cbd5f5);
}

.template-card h3 {
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
}

/* =========================
BUTTON
========================= */

.btn-preview {
  margin-left: 15px;
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  display: inline-block;
  transition: 0.3s;
}

.btn-preview:hover {
  background: #1d4ed8;
}

/* =========================
SLUG INPUT FIX (PENTING)
========================= */

#slug-input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
}

/* Hilangkan semua efek focus bawaan browser */
#slug-input:focus,
#slug-input:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Hilangkan autofill kuning (Chrome) */
#slug-input:-webkit-autofill {
  box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: #374151 !important;
}

/* =========================
FORM WRAPPER (SEARCH STYLE)
========================= */

.slug-wrapper {
  background: #f9fafb;
  border-radius: 999px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.slug-wrapper:focus-within {
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(244,63,94,0.15);
}

/* =========================
UTILITY
========================= */

.text-center {
  text-align: center;
}

