/**
 * Riags Store — css/06-pages.css
 * Versi: v5.8
 * Scope: Tentang Kami (owner card, sejarah, visi-misi),
 *        Kontak Admin & FAQ accordion page, Toast notifications,
 *        Footer lengkap & stamp icon, Back to top button,
 *        Yellow dots background effect, Halaman Garansi Resmi full,
 *        Guarantee tabs 3 jenis garansi, Mobile polish kontak/WA,
 *        and Mobile ultra-compact layout fixes (<=380px).
 */

/* 14. HALAMAN TENTANG KAMI */
/* [V30-09] [V30-02] Reorder grid template: Owner (kiri 1fr) dan Sejarah (kanan 1.6fr) */
.about-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.history-card {
  display: flex;
  flex-direction: column;
}

.owner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-card:hover {
  border-color: var(--border-gold-hover);
  box-shadow: var(--shadow-gold);
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.about-icon-badge {
  font-size: 2rem;
}

.about-card-title {
  font-family: var(--font-gaming);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
}

.about-card-body p {
  line-height: 1.7;
}

.owner-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.owner-avatar-shield {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
  overflow: hidden;
}

.owner-avatar-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.owner-info {
  margin-top: 0.5rem;
  width: 100%;
}

.owner-tagline {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.25rem;
}

.owner-name {
  font-family: var(--font-gaming);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.05em;
  text-shadow: 0 0 18px rgba(245, 158, 11, 0.15);
  margin-bottom: 0.15rem;
}

.owner-divider {
  width: 60px;
  height: 2px;
  margin: 0.75rem auto 0.85rem;
  background: linear-gradient(90deg, var(--primary-red) 0%, var(--blade-gold) 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.owner-quote {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-left: 2px solid var(--blade-gold);
  padding-left: 1rem;
  margin-top: 0.75rem;
  text-align: left;
}

.owner-signature {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.visi-misi-section {
  margin-top: 3.5rem;
}

.visi-misi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.visi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.visi-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold-hover);
  box-shadow: var(--shadow-sm);
}

.visi-icon {
  width: 3rem;
  height: 3rem;
  max-width: 48px;
  max-height: 48px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.visi-icon svg {
  width: 1.6rem !important;
  height: 1.6rem !important;
  max-width: 26px !important;
  max-height: 26px !important;
}

.visi-card h4 {
  font-family: var(--font-gaming);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.visi-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}


/* 19. HALAMAN KONTAK ADMIN & FAQ */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.contact-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.admin-profile-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.admin-avatar-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.admin-avatar-shield {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #1f2438 0%, #10121a 100%);
  border: 2px solid var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blade-gold);
  box-shadow: 0 0 16px var(--primary-red-glow);
}

.admin-svg-icon {
  width: 2.2rem !important;
  height: 2.2rem !important;
  max-width: 35px !important;
  max-height: 35px !important;
}

.admin-profile-info {
  display: flex;
  flex-direction: column;
}

.online-pulse-indicator {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  background: #10b981;
  border: 2px solid var(--bg-surface);
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: statusPulse 1.6s infinite;
}

@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.admin-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  display: block;
}

.admin-name {
  font-family: var(--font-gaming);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.admin-online-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.status-text {
  font-size: 0.75rem;
  color: #34d399;
  font-weight: 700;
}

.admin-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.admin-meta-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.meta-label {
  color: var(--text-muted);
}

.meta-value {
  font-weight: 700;
}

.btn-contact-wa {
  padding: 0.9rem;
  font-size: 1rem;
}

/* ==========================================================================
   [SI-02] DARK SOCIAL MEDIA ICONS
   ========================================================================== */

.social-icons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.social-icon-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s var(--ease-out-expo);
  overflow: hidden;
  z-index: 1;
  min-height: 56px;
}

.social-icon-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand-color, var(--blade-gold));
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out-expo);
  z-index: -1;
}

.social-icon-item:hover::before,
.social-icon-item:focus-visible::before {
  transform: translateY(0);
}

.social-icon-item:hover,
.social-icon-item:focus-visible {
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--brand-glow, rgba(245, 158, 11, 0.35));
}

.social-icon-item svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out-expo);
}

.social-icon-item:hover svg {
  transform: scale(1.15);
}

.social-icon-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: inherit;
  transition: color 0.3s ease;
}

/* Tooltip */
.social-icon-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 0.35rem 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s var(--ease-out-expo);
  z-index: 10;
}

.social-icon-item:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Brand Colors */
.social-icon-item[data-brand="whatsapp"] { --brand-color: #25D366; --brand-glow: rgba(37, 211, 102, 0.4); }
.social-icon-item[data-brand="instagram"] { --brand-color: #E4405F; --brand-glow: rgba(228, 64, 95, 0.4); }
.social-icon-item[data-brand="discord"] { --brand-color: #5865F2; --brand-glow: rgba(88, 101, 242, 0.4); }
.social-icon-item[data-brand="email"] { --brand-color: #EA4335; --brand-glow: rgba(234, 67, 53, 0.4); }
.social-icon-item[data-brand="tiktok"] { --brand-color: #000000; --brand-glow: rgba(0, 0, 0, 0.5); }
.social-icon-item[data-brand="youtube"] { --brand-color: #FF0000; --brand-glow: rgba(255, 0, 0, 0.4); }

/* Light Theme */

/* Mobile Responsive */
@media (max-width: 768px) {
  .social-icons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }
  
  .social-icon-item {
    min-height: 48px;
    padding: 0.65rem 0.75rem;
    gap: 0.5rem;
  }

  .social-icon-item svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .social-icon-label {
    font-size: 0.8rem;
  }
}

/* FAQ Accordion */
.faq-section {
  margin-top: 3.5rem;
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-gold-hover);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-gaming);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  gap: 1rem;
}

.faq-icon-chevron {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform var(--transition-fast);
  color: var(--blade-gold);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-chevron {
  transform: rotate(180deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(14, 16, 23, 0.4);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* 21. TOAST NOTIFICATION */
.toast-container {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast-item {
  background: rgba(18, 21, 30, 0.95);
  border: 1px solid var(--blade-gold);
  box-shadow: var(--shadow-lg), 0 0 15px var(--blade-gold-subtle);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.9rem;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 280px;
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.toast-item.toast-leave {
  animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(15px); }
}

/* [V27-05] Toast type indicator */
.toast-item.toast-success { border-left: 3px solid #34d399; }
.toast-item.toast-warning { border-left: 3px solid #fbbf24; }
.toast-item.toast-info { border-left: 3px solid var(--blade-gold); }

/* 22. FOOTER */
.site-footer {
  background: #06070a;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 0;
  position: relative;
  z-index: 1;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Footer logo spacing — lebih lega dari navbar */
.footer-logo {
  margin-bottom: 0.5rem;
  gap: 1rem !important;   /* <-- naikkan dari default 0.75rem */
}

/* Redam glow di footer agar tidak menutupi teks */
.footer-logo .logo-shield {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;   /* <-- WAJIB, agar tidak terkompresi oleh flex */
  will-change: auto; /* matikan parallax hint di footer */
  box-shadow: 0 0 12px rgba(211, 47, 47, 0.35) !important;
  border-color: rgba(211, 47, 47, 0.5) !important;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.security-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  width: fit-content;
}

/* [V27-04] Stamp icon SVG */
.stamp-icon-svg {
  width: 1rem;
  height: 1rem;
  color: #34d399;
  flex-shrink: 0;
}

.stamp-icon {
  font-size: 1rem;
}

.footer-heading {
  font-family: var(--font-gaming);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
  letter-spacing: 0.03em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--blade-gold);
  padding-left: 4px;
}

.payment-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pay-pill {
  font-size: 0.6875rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 1.25rem 0;
  background: #040507;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer-credit {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
}

.footer-credit-link {
  color: var(--blade-gold);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-credit-link:hover {
  color: var(--blade-gold-hover);
  text-decoration: underline;
}


/* ==========================================================================
   [V27-14 .. V27-17] MOBILE ULTRA-COMPACT LAYOUT FIXES (≤380px / 320px)
   ========================================================================== */

@media (max-width: 380px) {
  /* [V4.5] Task 3b: Cek Padding di Ultra Small (≤380px) */
  .nav-container {
    padding: 0.55rem 0.75rem;
  }

  /* [V30-03] [V28-04] Ultra small mobile navbar shrink */
  .navbar-sticky.scrolled {
    transform: scaleY(0.97);
  }

  .navbar-sticky.scrolled .nav-container {
    padding: 0.55rem 0.75rem;
  }

  .brand-logo {
    gap: 0.45rem;
  }

  .logo-shield {
    width: 1.85rem;
    height: 1.85rem;
  }

  .logo-svg {
    width: 1.05rem;
    height: 1.05rem;
  }

  .logo-brand {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
  }

  .brand-logo-text--mobile .logo-brand {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
  }

  /* Sembunyikan badge verifikasi di HP kecil untuk hemat ruang */
  .badge-verif-mini {
    display: none;
  }

  .nav-actions {
    gap: 0.3rem;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
  }

  .btn-wa-nav {
    width: auto;
    height: 34px;
    padding: 0 0.55rem;
    gap: 0.25rem;
  }

  .wa-label-mobile {
    font-size: 0.68rem;
  }

  /* [V27-15] Feedback emoji compact di HP kecil */
  .feedback-options {
    padding: 0.65rem 0.25rem !important;
    gap: 0.15rem !important;
  }

  .feedback-option {
    min-height: 62px !important;
    padding: 0.15rem !important;
  }

  .feedback-face {
    width: 36px !important;
    height: 36px !important;
  }

  .feedback-label {
    font-size: 0.55rem !important;
    max-width: 50px !important;
    line-height: 1.1 !important;
  }

  /* [V27-16] Product grid di HP kecil */
  .product-grid, .skeleton-grid {
    gap: 0.4rem !important;
  }


  .card-body {
    padding: 0.5rem !important;
  }

  .card-title {
    font-size: 0.75rem !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .card-price {
    font-size: 0.9rem !important;
  }

  .btn-view-detail {
    font-size: 0.68rem !important;
    padding: 0.38rem 0.4rem !important;
    min-height: 40px !important;
  }

  /* [V27-17] Container padding di HP kecil */
  .container {
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
  }

  /* [QA-04] Testimonials slider negative margin sesuai padding container di HP kecil */
  .testimonials-scroll-wrapper {
    margin: 0 -0.7rem !important;
    padding: 0 0.7rem !important;
  }

  .section {
    padding: 1.75rem 0 !important;
  }

  /* [V28-03] HP kecil — gap tombol WA lebih rapat */
  .modal-footer-actions .btn,
  .pay-cta-wrapper .btn,
  .btn-contact-wa,
  .feedback-submit-btn {
    gap: 0.4rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
}


/* ========================================================================== */
/* [V31-01] MOBILE POLISH — KONTAK ADMIN & TOMBOL WHATSAPP CTA (<=768px)      */
/* ========================================================================== */
@media (max-width: 768px) {
  /* [V31-01a] Kontak Admin — label di atas, nilai di bawah (rapi, tidak berebut ruang) */
  .admin-meta-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .meta-value {
    text-align: left;
  }

  /* [V31-01b] Tombol WhatsApp halaman Tata Cara Pembayaran (Cash / Cicil / COD)
     — override global `.btn-wa-nav span { display: none; }` agar teks tampil penuh */
  .pay-cta-wrapper .btn-wa-nav,
  .pay-cta-btn {
    width: 100% !important;
    height: auto !important;
    padding: 0.85rem 1.5rem !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.6rem !important;
  }

  .pay-cta-wrapper .btn-wa-nav span,
  .pay-cta-btn span {
    display: inline-block !important;
    font-size: 0.9rem !important;
    white-space: normal !important;
  }

  /* [V31-01c] Tombol "Lanjut ke WhatsApp" pada step S&K modal checkout
     — full-width, center, dan teks tetap terlihat */
  /* Satu kolom agar tombol WA benar-benar full-width (selaras dengan aturan ≤480px) */
  .modal-footer-actions {
    grid-template-columns: 1fr !important;
  }

  .modal-footer-actions .btn-wa-nav,
  #termsSubmitWABtn {
    width: 100% !important;
    height: auto !important;
    padding: 0.75rem 1rem !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .modal-footer-actions .btn-wa-nav span,
  #termsSubmitWABtn span {
    display: inline-block !important;
    font-size: 0.875rem !important;
    white-space: normal !important;
  }
}

/* ========================================================================== */
/* [V31-02] LIGHT MODE — BERSIHKAN WARNA MERAH DI TEPI VIEWPORT              */
/* ========================================================================== */
/* Border bawah + glow navbar scrolled — ganti merah jadi emas */

/* Sheen navbar — hilangkan komponen merah di tepi atas viewport */

/* ========================================================================== */
/* [V32-01] LIGHT MODE — BACKGROUND RATA DARI ATAS KE BAWAH                   */
/* ========================================================================== */
/* Hero banner — hilangkan gradient dan overlay agar background menyatu rata */

/* Section flash sale — transparan tanpa gradient vertikal */


/* ========================================================================== */
/* [VIS-04] CYBER BLUEPRINT GRID OVERLAY (STRUCTURED DIGITAL GRID 3-4%)       */
/* ========================================================================== */
.yellow-dots-bg,
.cyber-grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-image:
    linear-gradient(to right, rgba(245, 158, 11, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 158, 11, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center center;
  opacity: 1;
}

/* ========================================================================== */
/* [V41-01] HALAMAN GARANSI RESMI (#page-garansi)                             */
/* ========================================================================== */

/* 8a. Hero Section Garansi */
.guarantee-hero {
  position: relative;
  padding: 3rem 2rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.12) 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  overflow: hidden;
  text-align: center;
}

.guarantee-hero-content {
  position: relative;
  z-index: 1;
}

.guarantee-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.guarantee-shield-badge {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--blade-gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.5),
              0 0 0 4px rgba(245, 158, 11, 0.15);
  animation: guaranteeShieldPulse 3s ease-in-out infinite;
}

.guarantee-shield-badge svg {
  width: 2.5rem;
  height: 2.5rem;
}

@keyframes guaranteeShieldPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(245, 158, 11, 0.5), 0 0 0 4px rgba(245, 158, 11, 0.15); }
  50% { box-shadow: 0 0 60px rgba(245, 158, 11, 0.75), 0 0 0 8px rgba(245, 158, 11, 0.1); }
}

.guarantee-hero-title {
  font-family: var(--font-gaming);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-main);
  margin: 1rem 0 0.75rem;
}

.guarantee-hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.guarantee-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blade-gold);
}

.guarantee-pill strong {
  font-family: var(--font-gaming);
  font-size: 1rem;
  font-weight: 800;
  color: var(--blade-gold-light);
}

/* 8b. Cakupan Proteksi (Scope Cards) */
.guarantee-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.guarantee-scope-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.guarantee-scope-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blade-gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.guarantee-scope-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold-hover);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6), var(--shadow-gold);
}

.guarantee-scope-card:hover::before { opacity: 1; }

.guarantee-scope-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-subtle);
}

.guarantee-scope-icon svg { width: 1.85rem; height: 1.85rem; }

.guarantee-icon-emerald { background: rgba(16, 185, 129, 0.12); color: #34d399; border-color: rgba(16, 185, 129, 0.35); }
.guarantee-icon-gold { background: rgba(245, 158, 11, 0.12); color: var(--blade-gold); border-color: rgba(245, 158, 11, 0.35); }
.guarantee-icon-cyan { background: rgba(6, 182, 212, 0.12); color: var(--accent-cyan); border-color: rgba(6, 182, 212, 0.35); }

.guarantee-scope-card h3 {
  font-family: var(--font-gaming);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.65rem;
  letter-spacing: 0.02em;
}

.guarantee-scope-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 8c. Prosedur Klaim (Claim Steps Timeline) */
.guarantee-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  counter-reset: step;
}

.guarantee-steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blade-gold), var(--blade-gold), transparent);
  opacity: 0.35;
  z-index: 0;
}

.guarantee-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.guarantee-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--blade-gold) 100%);
  color: #ffffff;
  font-family: var(--font-gaming);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.4),
              0 0 0 4px var(--bg-body),
              0 0 0 5px rgba(245, 158, 11, 0.25);
  margin-bottom: 1.25rem;
}

.guarantee-step-content h4 {
  font-family: var(--font-gaming);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.guarantee-step-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 8d. Syarat & Ketentuan (Terms Card) */
.guarantee-terms-card {
  position: relative;
  padding: 2.25rem 2.5rem;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.05) 0%, var(--bg-card) 60%);
  border: 1px solid rgba(211, 47, 47, 0.3);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.guarantee-terms-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red) 0%, var(--blade-gold) 100%);
}

.guarantee-terms-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.guarantee-terms-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: rgba(211, 47, 47, 0.15);
  border: 1px solid rgba(211, 47, 47, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b81;
  flex-shrink: 0;
}

.guarantee-terms-icon.guarantee-icon-svg {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--blade-gold, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.15);
}

.guarantee-terms-icon.guarantee-icon-svg svg {
  width: 24px;
  height: 24px;
  color: var(--blade-gold, #f59e0b);
}

.guarantee-terms-title {
  font-family: var(--font-gaming);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.guarantee-terms-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 0;
  counter-reset: guaranteeStep;
}

.guarantee-terms-list > li {
  counter-increment: guaranteeStep;
}

.guarantee-terms-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.guarantee-terms-list li::before {
  content: counter(guaranteeStep) '.';
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--blade-gold);
  font-size: 0.875rem;
  font-weight: 800;
  font-family: var(--font-gaming);
  line-height: 1.5;
}

.guarantee-terms-list strong {
  color: var(--text-main);
  font-weight: 700;
}

/* 8e. CTA Section (Bantuan Langsung) */
.guarantee-cta-card {
  position: relative;
  padding: 3rem 2.5rem;
  background: linear-gradient(135deg, var(--bg-body) 0%, var(--bg-surface) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
}

.guarantee-cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(211, 47, 47, 0.25) 0%, rgba(245, 158, 11, 0.15) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.guarantee-cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.guarantee-cta-title {
  font-family: var(--font-gaming);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.03em;
  margin: 0.5rem 0;
}

.guarantee-cta-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.guarantee-cta-btn.btn-wa-nav {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

/* 8f. Light Mode Overrides */

/* 8g. Responsive Mobile */
@media (max-width: 992px) {
  .guarantee-scope-grid { grid-template-columns: 1fr; gap: 1rem; }
  .guarantee-steps { grid-template-columns: 1fr; gap: 0.5rem; }
  .guarantee-steps::before { display: none; }
  .guarantee-step { flex-direction: row; text-align: left; align-items: flex-start; gap: 1rem; padding: 0.5rem 0; }
  .guarantee-step-num { width: 3rem; height: 3rem; font-size: 1.1rem; margin-bottom: 0; flex-shrink: 0; }
  .guarantee-step-content { padding-top: 0.25rem; }
}

@media (max-width: 768px) {
  .guarantee-hero { padding: 2rem 1.25rem; margin-bottom: 1rem; }
  .guarantee-shield-badge { width: 4rem; height: 4rem; margin-bottom: 1rem; }
  .guarantee-shield-badge svg { width: 2rem; height: 2rem; }
  .guarantee-hero-badges { flex-direction: column; align-items: center; }
  .guarantee-pill { width: 100%; max-width: 260px; justify-content: center; }
  .guarantee-scope-card { padding: 1.5rem 1.25rem; }
  .guarantee-scope-icon { width: 3rem; height: 3rem; }
  .guarantee-scope-card h3 { font-size: 1.15rem; }
  .guarantee-terms-card { padding: 1.5rem 1.25rem; }
  .guarantee-terms-title { font-size: 1.25rem; }
  .guarantee-cta-card { padding: 2rem 1.25rem; }
}

@media (max-width: 480px) {
  .guarantee-hero { padding: 1.75rem 1rem; }
  .guarantee-pill { font-size: 0.78rem; padding: 0.4rem 0.9rem; }
  .guarantee-step-num { width: 2.5rem; height: 2.5rem; font-size: 1rem; }
  .guarantee-terms-list li { font-size: 0.875rem; }
}

@media (prefers-reduced-motion: reduce) {
  .guarantee-shield-badge { animation: none; }
}
.reduce-fx .guarantee-shield-badge { animation: none; }





/* ============================================ */
/* GUARANTEE TABS — 3 JENIS GARANSI             */
/* ============================================ */

.guarantee-types-section {
  padding: 3.5rem 0;
}

/* Tab Nav */
.guarantee-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.guarantee-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  backdrop-filter: blur(8px);
}

.guarantee-tab-btn:hover:not(.active) {
  border-color: var(--border-gold-hover);
  color: var(--text-main);
  background: var(--bg-elevated);
  transform: translateY(-1px);
}

.guarantee-tab-btn.active {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--blade-gold) 100%);
  border-color: var(--blade-gold-light);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}

.guarantee-tab-btn.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 55%;
  height: 3px;
  background: var(--blade-gold);
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.9), 0 0 20px rgba(245, 158, 11, 0.5);
}

.guarantee-tab-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.guarantee-tab-label {
  line-height: 1.2;
}

/* Tab Content */
.guarantee-tabs-content {
  position: relative;
}

.guarantee-tab-panel {
  display: none;
  animation: guaranteeFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.guarantee-tab-panel.active {
  display: block;
}

@keyframes guaranteeFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Lead paragraph */
.guarantee-lead {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(245, 158, 11, 0.05);
  border-left: 3px solid var(--blade-gold);
  border-radius: var(--radius-sm);
}

.guarantee-lead strong {
  color: var(--text-main);
}

/* Sublist (nested ul) */
.guarantee-sublist {
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.guarantee-sublist li {
  position: relative;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.guarantee-sublist li::before {
  content: '›';
  position: absolute;
  left: -1rem;
  color: var(--blade-gold);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}

.guarantee-sublist li strong {
  color: var(--text-main);
}

/* Warning box */
.guarantee-warning-box {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(211, 47, 47, 0.08);
  border: 1px solid rgba(211, 47, 47, 0.35);
  border-radius: var(--radius-md);
  position: relative;
}

.guarantee-warning-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-red);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.guarantee-warning-box strong {
  display: block;
  font-family: var(--font-gaming);
  font-size: 1rem;
  font-weight: 800;
  color: #ff6b81;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.guarantee-warning-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.guarantee-warning-box p strong {
  display: inline;
  font-family: inherit;
  font-size: inherit;
  color: var(--text-main);
  letter-spacing: normal;
  text-transform: none;
  margin: 0;
}

/* Responsive Mobile */
@media (max-width: 768px) {
  .guarantee-types-section {
    padding: 2.25rem 0;
  }

  .guarantee-tabs-nav {
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
  }

  .guarantee-tab-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .guarantee-tab-icon {
    font-size: 1rem;
  }

  .guarantee-lead {
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
  }

  .guarantee-sublist {
    padding-left: 1.25rem;
  }

  .guarantee-sublist li {
    font-size: 0.8125rem;
  }

  .guarantee-warning-box {
    padding: 1rem 1.15rem;
    margin-top: 1.5rem;
  }
}

/* ==========================================================================
   MOBILE LAYOUT FIXES (GRID & CONTAINER PROPORTIONALITY)
   ========================================================================== */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 1.75rem;
  }

  .about-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .visi-misi-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .social-icons-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    width: 100%;
  }

  .page-content-pad {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr !important;
  }
  .social-icons-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* FIX: Penyelarasan Tinggi Modul Kalkulator Prime */
.prime-calc-grid,
.prime-calc-wrapper,
.calc-grid-container,
.calculators-grid {
  display: flex !important;
  align-items: stretch !important;
  gap: 1.5rem;
}

.prime-calc-card,
.calc-box-card,
.calculator-card,
.prime-calc-grid > div,
.calculators-grid > div {
  flex: 1 1 0;
  height: 100% !important;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .prime-calc-grid,
  .prime-calc-wrapper,
  .calc-grid-container,
  .calculators-grid {
    flex-direction: column !important;
  }
}



/* FIX V3.3: Kalkulator Sejajar & Responsif */
.calculators-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important; /* 2 kolom di PC */
  align-items: stretch !important;
  gap: 1.5rem !important;
}

.calculator-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Khusus Mobile (layar kecil) */
@media (max-width: 768px) {
  .calculators-grid {
    grid-template-columns: 1fr !important; /* 1 kolom di HP */
  }
}
