/* 
 * PT Wicaksana Global Teknologi
 * Modern Tech Light Design System
 */

:root {
  --wgt-primary: #7c3aed;
  /* Premium Purple */
  --wgt-primary-hover: #6d28d9;
  --wgt-secondary: #92400e;
  /* Brown/Gold for Pegadaian */
  --wgt-dark: #0f172a;
  --wgt-dark-blue: #1e293b;
  --wgt-gray-dark: #334155;
  --wgt-gray-muted: #64748b;
  --wgt-gray-light: #f8fafc;
  --wgt-bg-soft: #f3e8ff;
  /* Soft purple bg */
  --wgt-border-color: #e2e8f0;
  --wgt-white: #ffffff;
  --wgt-font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --wgt-font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

  /* Refined, modern tech shadows */
  --wgt-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --wgt-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --wgt-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.025);
  --wgt-shadow-glow: 0 0 20px rgba(14, 165, 233, 0.15);

  --wgt-radius-sm: 8px;
  --wgt-radius-md: 12px;
  --wgt-radius-lg: 16px;
  --wgt-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base Typography */
body {
  font-family: var(--wgt-font-main);
  color: var(--wgt-gray-dark);
  background-color: var(--wgt-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--wgt-font-heading);
  font-weight: 700;
  color: var(--wgt-dark);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  transition: var(--wgt-transition);
  color: var(--wgt-primary);
}

a:hover {
  color: var(--wgt-primary-hover);
}

/* Custom Buttons */
.btn-wgt-primary {
  background-color: var(--wgt-primary);
  color: var(--wgt-white);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: var(--wgt-radius-sm);
  border: 1px solid var(--wgt-primary);
  box-shadow: 0 2px 4px rgba(14, 165, 233, 0.2);
  transition: var(--wgt-transition);
}

.btn-wgt-primary:hover,
.btn-wgt-primary:focus {
  background-color: var(--wgt-primary-hover);
  border-color: var(--wgt-primary-hover);
  color: var(--wgt-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(14, 165, 233, 0.3);
}

.btn-wgt-outline {
  background-color: transparent;
  color: var(--wgt-primary);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: var(--wgt-radius-sm);
  border: 1.5px solid var(--wgt-primary);
  transition: var(--wgt-transition);
}

.btn-wgt-outline:hover,
.btn-wgt-outline:focus {
  background-color: var(--wgt-primary);
  color: var(--wgt-white);
  box-shadow: 0 4px 8px rgba(14, 165, 233, 0.2);
}

.btn-wgt-whatsapp {
  background-color: #10b981;
  color: var(--wgt-white);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: var(--wgt-radius-sm);
  border: 1px solid #10b981;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
  transition: var(--wgt-transition);
}

.btn-wgt-whatsapp:hover,
.btn-wgt-whatsapp:focus {
  background-color: #059669;
  color: var(--wgt-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

/* Floating Pill Navbar Custom Styling */
.navbar-wgt {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 90%;
  max-width: 1000px;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.5rem 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  z-index: 1050;
  transition: var(--wgt-transition);
}

@media (max-width: 768px) {
  .navbar-wgt {
    top: 15px;
    width: 95%;
    padding: 0.5rem 1rem;
    border-radius: 20px;
  }
}

.navbar-wgt .navbar-brand img {
  height: 40px;
  /* Sensible logo size */
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .navbar-wgt .navbar-brand img {
    height: 32px;
  }
}

.navbar-wgt .nav-link {
  font-weight: 500;
  color: var(--wgt-gray-dark);
  padding: 0.5rem 1rem !important;
  font-size: 0.95rem;
  transition: var(--wgt-transition);
}

.navbar-wgt .nav-link:hover,
.navbar-wgt .nav-link.active {
  color: var(--wgt-primary);
}

.navbar-wgt .nav-link#nav-item-pegadaian:hover,
.navbar-wgt .nav-link#nav-item-pegadaian.active {
  color: var(--wgt-secondary) !important;
}

/* Custom Secondary (Pegadaian) Colors */
.text-wgt-secondary {
  color: var(--wgt-secondary) !important;
}

.bg-wgt-secondary {
  background-color: var(--wgt-secondary) !important;
  color: var(--wgt-white) !important;
}

.border-wgt-secondary {
  border-color: var(--wgt-secondary) !important;
}

.bg-wgt-secondary-subtle {
  background-color: #fef3c7 !important;
  border-color: #fde68a !important;
  color: var(--wgt-secondary) !important;
}

.navbar-wgt .dropdown-menu {
  border: 1px solid var(--wgt-border-color);
  box-shadow: var(--wgt-shadow-md);
  border-radius: var(--wgt-radius-md);
  padding: 0.5rem;
}

.navbar-wgt .dropdown-item {
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  color: var(--wgt-gray-dark);
}

.navbar-wgt .dropdown-item:hover {
  background-color: var(--wgt-bg-soft);
  color: var(--wgt-primary);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: radial-gradient(circle at top right, #f3e8ff 0%, #ffffff 100%);
  padding: 12rem 0 6rem 0;
  /* Increased top padding to accommodate floating navbar */
  overflow: hidden;
  border-bottom: 1px solid var(--wgt-border-color);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background-color: #f3e8ff;
  color: var(--wgt-primary);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 50px;
  border: 1px solid #d8b4fe;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.15;
  color: var(--wgt-dark);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--wgt-gray-muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-logo-box {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
  text-align: center;
  display: inline-block;
  margin-top: 2rem;
}

.hero-logo-box img {
  display: inline-block;
  max-height: 250px;
  /* Lebih gagah lagi */
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 45px rgba(124, 58, 237, 0.6));
  /* Efek glow langsung di logo */
  transform: scale(1.1);
  transition: var(--wgt-transition);
}

.hero-logo-box img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 60px rgba(124, 58, 237, 0.8));
}

@media (max-width: 768px) {
  .hero-logo-box img {
    max-height: 120px;
  }
}

/* Feature Cards & Service Cards */
.card-wgt {
  background-color: var(--wgt-white);
  border: 1px solid var(--wgt-border-color);
  border-radius: var(--wgt-radius-md);
  box-shadow: var(--wgt-shadow-sm);
  padding: 2rem;
  transition: var(--wgt-transition);
  height: 100%;
}

.card-wgt:hover {
  transform: translateY(-4px);
  box-shadow: var(--wgt-shadow-md);
  border-color: #bae6fd;
}

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #f3e8ff;
  color: var(--wgt-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.icon-box-pegadaian {
  background: #fef3c7; /* Soft gold/brown */
  color: #92400e; /* Dark gold/brown */
}

/* Dual Business Cards Section */
.business-card {
  position: relative;
  border-radius: var(--wgt-radius-lg);
  overflow: hidden;
  border: 1px solid var(--wgt-border-color);
  background: var(--wgt-white);
  transition: var(--wgt-transition);
  box-shadow: var(--wgt-shadow-sm);
  height: 100%;
}

.business-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wgt-shadow-md);
}

.business-card-header {
  padding: 2rem 2rem 1rem 2rem;
}

.business-card-body {
  padding: 0 2rem 2rem 2rem;
}

.business-tag {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1rem;
}

.tag-tech {
  background-color: #f3e8ff;
  color: var(--wgt-primary);
  border: 1px solid #d8b4fe;
}

.tag-pawn {
  background-color: #ecfdf5;
  color: #10b981;
  border: 1px solid #a7f3d0;
}

/* Timeline / Cara Gadai */
.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.timeline-step {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-left: 2px dashed var(--wgt-border-color);
  margin-left: 1.25rem;
  padding-left: 2rem;
  position: relative;
}

.timeline-step:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.timeline-step:hover .timeline-number {
  transform: scale(1.1);
  box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.1);
}

.timeline-number {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background-color: #fef3c7;
  /* Soft gold/brown bg */
  color: #92400e;
  /* Dark gold/brown text */
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  grid-auto-rows: minmax(180px, auto);
}

.bento-item {
  background: var(--wgt-white);
  border-radius: var(--wgt-radius-lg);
  border: 1px solid var(--wgt-border-color);
  padding: 2rem;
  transition: var(--wgt-transition);
  box-shadow: var(--wgt-shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--wgt-shadow-md);
  border-color: #d8b4fe;
}

.bento-col-span-2 {
  grid-column: span 2;
}

.bento-col-span-3 {
  grid-column: span 3;
}

.bento-col-span-4 {
  grid-column: span 4;
}

.bento-row-span-2 {
  grid-row: span 2;
}

.bento-item.bg-primary-soft {
  background: #f3e8ff;
  border-color: #e9d5ff;
}

.bento-item.bg-dark-accent {
  background: var(--wgt-dark);
  color: var(--wgt-white);
  border-color: var(--wgt-dark);
}

.bento-item.bg-dark-accent h4,
.bento-item.bg-dark-accent p {
  color: var(--wgt-white) !important;
}

@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-col-span-3,
  .bento-col-span-4 {
    grid-column: span 2;
  }
}

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

  .bento-col-span-2,
  .bento-col-span-3,
  .bento-col-span-4 {
    grid-column: span 1;
  }

  .bento-row-span-2 {
    grid-row: span 1;
  }
}

/* Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #25d366;
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: var(--wgt-transition);
  border: none;
}

.floating-wa-btn:hover {
  background-color: #1ebc57;
  color: #ffffff;
  transform: scale(1.05);
}

/* Section Headings */
.section-header {
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--wgt-primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--wgt-dark);
}

/* Footer Styling */
.footer-wgt {
  background-color: var(--wgt-gray-light);
  color: var(--wgt-gray-dark);
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
  border-top: 1px solid var(--wgt-border-color);
}

.footer-wgt h5 {
  color: var(--wgt-dark);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-wgt a {
  color: var(--wgt-gray-muted);
}

.footer-wgt a:hover {
  color: var(--wgt-primary);
  padding-left: 4px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wgt-white);
  color: var(--wgt-gray-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  border: 1px solid var(--wgt-border-color);
  transition: var(--wgt-transition);
}

.footer-social-link:hover {
  background: var(--wgt-primary);
  color: var(--wgt-white) !important;
  border-color: var(--wgt-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--wgt-border-color);
  padding-top: 1.5rem;
  margin-top: 3rem;
}

/* Page Header Banner */
.page-header-banner {
  background: var(--wgt-white);
  color: var(--wgt-dark);
  padding: 12rem 0 5rem 0;
  /* Jarak atas ekstra untuk navbar melayang */
  position: relative;
  border-bottom: 2px solid var(--wgt-border-color);
}

.page-header-banner h1 {
  color: var(--wgt-dark);
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-header-banner p {
  color: var(--wgt-gray-muted);
  font-size: 1.1rem;
}

/* Empty State Styling */
.empty-state-box {
  background: var(--wgt-gray-light);
  border: 2px dashed var(--wgt-border-color);
  border-radius: var(--wgt-radius-md);
  padding: 3rem 2rem;
  text-align: center;
}

.empty-state-icon {
  font-size: 2.5rem;
  color: var(--wgt-gray-muted);
  margin-bottom: 1rem;
}

/* Clean Overrides for Bootstrap to match Tech Theme */
.bg-light,
.bg-white,
.bg-dark-blue,
.bg-gradient,
.bg-primary-subtle,
.bg-success-subtle {
  background: var(--wgt-white) !important;
  background-color: var(--wgt-white) !important;
}

.rounded-4 {
  border-radius: var(--wgt-radius-lg) !important;
}

.rounded-3 {
  border-radius: var(--wgt-radius-md) !important;
}

.rounded-pill {
  border-radius: 50px !important;
}

.rounded {
  border-radius: var(--wgt-radius-sm) !important;
}

.shadow-sm {
  box-shadow: var(--wgt-shadow-sm) !important;
}

.shadow {
  box-shadow: var(--wgt-shadow-md) !important;
}

.shadow-lg {
  box-shadow: var(--wgt-shadow-lg) !important;
}

.border {
  border: 1px solid var(--wgt-border-color) !important;
}

.border-bottom {
  border-bottom: 1px solid var(--wgt-border-color) !important;
}

.text-muted,
.text-white-50 {
  color: var(--wgt-gray-muted) !important;
}

.text-white {
  color: var(--wgt-dark) !important;
}

.text-dark {
  color: var(--wgt-dark) !important;
}

.text-success {
  color: var(--wgt-secondary) !important;
}

.badge {
  background-color: #f1f5f9 !important;
  color: var(--wgt-gray-dark) !important;
  border: 1px solid var(--wgt-border-color) !important;
  font-weight: 500 !important;
  padding: 0.35rem 0.75rem !important;
  text-transform: none;
  letter-spacing: normal;
}