/* ==========================================================================
   HansSanctuary - Platform Stylesheet
   Tema: Total Putih Bersih & Emas Berkilau (Pure White & Shimmering Gold)
   Header & Footer Kompak / Ramping
   ========================================================================== */

:root {
  /* Palet Emas Berkilau & Sampanye */
  --color-gold: #C5A880;
  --color-gold-bright: #D4AF37;       /* Royal Gold Berkilau */
  --color-gold-metallic: #9C7A48;     /* Antique Gold */
  --color-gold-light: #FBF7EE;        /* Soft Gold Tint */
  --color-gold-border: rgba(212, 175, 55, 0.28);

  /* Palet Putih Total (Bebas Tema Gelap) */
  --color-bg-base: #FFFFFF;           /* Putih Murni */
  --color-bg-soft: #FDFCF9;           /* Putih Ivory Sangat Halus */
  --color-bg-card: #FFFFFF;           /* Kartu Putih Bersih */
  --color-bg-alt: #FAF8F5;            /* Aksen Lembut */
  
  /* Tipografi */
  --color-text-dark: #1F2226;         /* Charcoal Pekat untuk Keterbacaan Optimal */
  --color-text-muted: #555961;        /* Abu-abu Hangat */
  --color-text-subtle: #7E838D;       /* Abu-abu Ringan */
  --color-accent-green: #25D366;      /* WhatsApp Brand */

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-title: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-script: 'Great Vibes', cursive;

  /* Bayangan Halus & Kilau Emas */
  --shadow-card: 0 4px 20px rgba(197, 168, 128, 0.12), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 10px 30px rgba(212, 175, 55, 0.2), 0 2px 6px rgba(0, 0, 0, 0.04);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-base);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

/* ==========================================================================
   Animasi Kilau Emas (Shimmer)
   ========================================================================== */
@keyframes shimmerSweep {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes buttonGlint {
  0% { transform: translateX(-150%) rotate(25deg); }
  30%, 100% { transform: translateX(150%) rotate(25deg); }
}

/* ==========================================================================
   Navbar (Ukuran Lebih Kecil & Kompak, Putih Bersih)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-gold-border);
  box-shadow: 0 2px 10px rgba(197, 168, 128, 0.08);
  height: 60px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-gold-bright);
}

.brand-logo-img,
.brand-logo-seal {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
  list-style: none;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.88rem;
  color: var(--color-text-dark);
  transition: color 0.2s ease;
  font-weight: 600;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-gold-bright);
}

.btn-nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #D4AF37 0%, #C5A880 50%, #9C7A48 100%);
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-nav-wa::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%);
  transform: rotate(25deg);
  animation: buttonGlint 4s infinite;
}

.btn-nav-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(212, 175, 55, 0.45);
}

/* ==========================================================================
   Hero Section (Ukuran Proporsional & Putih Murni Emas)
   ========================================================================== */
.hero {
  position: relative;
  padding: 105px 0 55px;
  background: radial-gradient(circle at 50% 15%, #FFFDF8 0%, #FFFFFF 85%);
  border-bottom: 1px solid var(--color-gold-border);
}

.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 350px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--color-gold-border);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.8rem;
  color: var(--color-gold-metallic);
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(197, 168, 128, 0.12);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--color-text-dark);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

.hero-title span {
  background: linear-gradient(90deg, #9C7A48 0%, #D4AF37 30%, #E7C970 50%, #D4AF37 70%, #9C7A48 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmerSweep 6s linear infinite;
  font-style: italic;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #D4AF37 0%, #C5A880 50%, #9C7A48 100%);
  color: #FFFFFF;
  padding: 13px 28px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%);
  transform: rotate(25deg);
  animation: buttonGlint 3.5s infinite;
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
}

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--color-gold);
  background: #FFFFFF;
  color: var(--color-gold-metallic);
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(197, 168, 128, 0.1);
  transition: all 0.2s ease;
}

.btn-outline-hero:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  border-color: var(--color-gold-bright);
}

/* ==========================================================================
   Section Headers (Kompak)
   ========================================================================== */
.section {
  padding: 60px 0;
}

.section-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
}

.section-tag {
  font-family: var(--font-title);
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-gold-bright);
  margin-bottom: 8px;
  display: block;
  font-weight: 700;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Features Grid (Putih Bersih + Aksen Emas)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-gold-border);
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-bright);
  box-shadow: var(--shadow-hover);
}

.feature-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(197, 168, 128, 0.08) 100%);
  border: 1px solid rgba(197, 168, 128, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--color-gold-bright);
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Template Catalog Showcase
   ========================================================================== */
.catalog-section {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-gold-border);
  border-bottom: 1px solid var(--color-gold-border);
}

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

.template-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-gold-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.template-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold-bright);
  box-shadow: var(--shadow-hover);
}

.template-preview {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #F3EFEA;
}

.template-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.template-card:hover .template-img {
  transform: scale(1.04);
}

.template-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-gold-border);
  color: var(--color-gold-metallic);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.template-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.template-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.template-style {
  font-size: 0.82rem;
  color: var(--color-gold-bright);
  margin-bottom: 12px;
  font-weight: 700;
}

.template-features {
  list-style: none;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  flex: 1;
}

.template-features li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.template-features li::before {
  content: '✓';
  color: var(--color-gold-bright);
  font-weight: bold;
}

.template-actions {
  display: flex;
  gap: 10px;
}

.btn-demo {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 9999px;
  background: var(--color-gold-light);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-metallic);
  font-size: 0.84rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-demo:hover {
  background: var(--color-gold-bright);
  color: #FFFFFF;
  border-color: var(--color-gold-bright);
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.3);
}

.btn-order-wa {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 9999px;
  background: #25D366;
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-order-wa:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-gold-border);
  border-radius: 18px;
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.pricing-card.featured {
  border: 2px solid var(--color-gold-bright);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF7 100%);
  box-shadow: 0 10px 35px rgba(212, 175, 55, 0.2);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #D4AF37 0%, #C5A880 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 9999px;
  letter-spacing: 1px;
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.pricing-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.pricing-price {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--color-gold-metallic);
  margin-bottom: 14px;
  font-weight: 700;
}

.pricing-price span {
  font-size: 0.84rem;
  color: var(--color-text-subtle);
  font-family: var(--font-sans);
  font-weight: 400;
}

.pricing-list {
  list-style: none;
  font-size: 0.86rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  flex: 1;
}

.pricing-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-list li.check::before {
  content: '✓';
  color: var(--color-gold-bright);
  font-weight: bold;
}

/* ==========================================================================
   Footer (Ukuran Lebih Kecil, Bersih & Kompak)
   ========================================================================== */
.footer {
  background: #FFFFFF;
  border-top: 1px solid var(--color-gold-border);
  padding: 36px 0 20px;
  text-align: center;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: var(--color-gold-bright);
  letter-spacing: 1.5px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

.footer-copy {
  font-size: 0.76rem;
  color: var(--color-text-subtle);
  border-top: 1px solid rgba(197, 168, 128, 0.18);
  padding-top: 16px;
}
