/* ==========================================================================
   GadaiManado.com - Standar Desain Resmi & Bersih
   Spesialis Gadai: Laptop, HP (Android & iPhone), dan Emas di Kota Manado
   ========================================================================== */

:root {
  --primary: #0353a4;
  --primary-hover: #023e7d;
  --primary-soft: #eef4fc;
  --secondary: #0077b6;
  --gold: #d97706;
  --gold-soft: #fef3c7;
  --dark: #0a192f;
  --navy: #0f2b48;
  --gray-900: #0f172a;
  --gray-800: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;

  --whatsapp: #16a34a;
  --whatsapp-hover: #15803d;
  --whatsapp-glow: rgba(22, 163, 74, 0.2);

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background-color: var(--gray-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gray-900);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.top-bar {
  background: var(--navy);
  color: #cbd5e1;
  font-size: 0.825rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-bar-item a {
  color: #38bdf8;
  font-weight: 600;
}
.top-bar-item a:hover {
  color: var(--white);
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  z-index: 100;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.06);
  border-bottom: 1px solid var(--gray-200);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  flex-shrink: 0;
  margin-right: 14px;
}
.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(3, 83, 164, 0.2);
}
.logo span {
  color: var(--primary);
}
.logo .tag-domain {
  font-size: 0.72rem;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 4px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all 0.2s;
}
.nav-item:hover, .nav-item.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-wa-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: var(--white);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 3px 10px var(--whatsapp-glow);
  transition: all 0.2s;
}
.btn-wa-header:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-1px);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--gray-800);
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   TOP LISTING SECTION (INSTANT PROVIDER SHOWCASE)
   ========================================================================== */
.top-listing-hero {
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
  padding: 36px 0 50px;
  border-bottom: 1px solid var(--gray-200);
}
.listing-hero-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 32px;
}
.listing-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dbeafe;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.listing-hero-title {
  font-size: 2.15rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 800;
  line-height: 1.25;
}
.listing-hero-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* 5 PROVIDERS GRID */
.providers-top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (min-width: 992px) {
  .providers-top-grid .provider-top-card:nth-child(4),
  .providers-top-grid .provider-top-card:nth-child(5) {
    grid-column: span 1;
  }
}

.provider-top-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
}
.provider-top-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.provider-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.card-badge-num {
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}
.card-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.card-badge-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.provider-card-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.35;
}

.provider-card-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  background: #f1f5f9;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.provider-card-phone i {
  color: var(--whatsapp);
  font-size: 1.25rem;
}

.provider-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.tag-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--gray-700);
}
.tag-pill.focus {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}
.tag-pill.gold {
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 700;
}

.provider-card-location {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 14px;
  line-height: 1.4;
}
.provider-card-location i {
  color: var(--primary);
  margin-top: 3px;
  font-size: 0.85rem;
}

.provider-card-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.btn-card-whatsapp {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--whatsapp);
  color: var(--white);
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 3px 8px var(--whatsapp-glow);
  transition: all 0.2s ease;
}
.btn-card-whatsapp:hover {
  background: var(--whatsapp-hover);
  color: var(--white);
  transform: translateY(-1px);
}

/* ==========================================================================
   CATEGORY SECTION (3 CORE CATEGORIES)
   ========================================================================== */
.categories-section {
  padding: 60px 0;
  background: var(--white);
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.section-desc {
  font-size: 1rem;
  color: var(--gray-600);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.category-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.cat-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.category-card.gold-cat .cat-icon {
  background: var(--gold-soft);
  color: var(--gold);
}
.cat-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.cat-desc {
  font-size: 0.925rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}
.cat-items-list {
  list-style: none;
  margin-bottom: 20px;
  font-size: 0.875rem;
  color: var(--gray-700);
}
.cat-items-list li {
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-items-list li i {
  color: #16a34a;
  font-size: 0.85rem;
}
.cat-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s;
}
.category-card:hover .cat-link-btn {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ==========================================================================
   SIMULATOR CALCULATOR
   ========================================================================== */
.calc-section {
  padding: 60px 0;
  background: var(--gray-50);
}
.calc-container {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 24px;
}
.calc-input-group {
  margin-bottom: 18px;
}
.calc-input-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 6px;
}
.calc-input-group select,
.calc-input-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-900);
  background: var(--white);
}
.calc-input-group select:focus,
.calc-input-group input:focus {
  border-color: var(--primary);
  outline: none;
}
.calc-result-box {
  background: var(--primary-soft);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #cbd5e1;
}
.calc-result-row:last-of-type {
  border-bottom: none;
}
.calc-result-label {
  font-size: 0.875rem;
  color: var(--gray-700);
}
.calc-result-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}
.calc-result-val.highlight {
  font-size: 1.4rem;
  color: var(--primary);
}

/* ==========================================================================
   EDITORIAL & GUIDELINES CONTENT (PEMBAHASAN)
   ========================================================================== */
.editorial-section {
  padding: 60px 0;
  background: var(--white);
}
.editorial-content {
  max-width: 860px;
  margin: 0 auto;
}
.editorial-content h2 {
  font-size: 1.75rem;
  color: var(--navy);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-soft);
}
.editorial-content h2:first-of-type {
  margin-top: 0;
}
.editorial-content h3 {
  font-size: 1.3rem;
  color: var(--gray-900);
  margin: 22px 0 10px;
}
.editorial-content p {
  font-size: 1.025rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 18px;
}
.editorial-content ul, .editorial-content ol {
  margin: 0 0 20px 24px;
}
.editorial-content li {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 8px;
}

.feature-box {
  background: var(--gray-50);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px;
  margin: 24px 0;
}
.feature-box.security {
  border-left-color: #16a34a;
  background: #f0fdf4;
}
.feature-box h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* STEPS GRID */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 30px 0;
}
.step-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.45;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 60px 0;
  background: var(--gray-50);
}
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s;
}
.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.faq-question i {
  font-size: 0.9rem;
  color: var(--primary);
  transition: transform 0.25s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 20px 18px;
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 50px 0 24px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.footer-brand p {
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #cbd5e1;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.825rem;
  color: #64748b;
}

/* ==========================================================================
   RESPONSIVE DESIGN (320px - 1280px)
   ========================================================================== */
@media (max-width: 991px) {
  .providers-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    display: none;
    border-bottom: 1px solid var(--gray-200);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .btn-wa-header {
    display: none;
  }

  .listing-hero-title {
    font-size: 1.65rem;
  }
  .providers-top-grid {
    grid-template-columns: 1fr;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .top-bar-left, .top-bar-right {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .listing-hero-title {
    font-size: 1.45rem;
  }
  .provider-card-name {
    font-size: 1.1rem;
  }
  .provider-card-phone {
    font-size: 1rem;
  }
  .btn-card-whatsapp {
    font-size: 0.9rem;
    padding: 10px;
  }
}
