/* ==========================================================================
   eKaaJi UNDANGAN DIGITAL — DESIGN SYSTEM
   Aesthetic Anchor: Organic Luxury & Editorial Elegance
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Brand Palettes */
  --gold-primary: #c59b27;
  --gold-hover: #b0871b;
  --gold-dark: #876510;
  --gold-light: #fbf5e5;
  --gold-glow: rgba(197, 155, 39, 0.28);

  --bg-main: #f9f6f0;
  --bg-card: #ffffff;
  --bg-card-subtle: #fdfbf8;
  --bg-header: rgba(255, 255, 255, 0.88);

  --text-main: #221e1a;
  --text-muted: #6e665d;
  --text-light: #948c82;

  --border-gold: rgba(197, 155, 39, 0.22);
  --border-subtle: rgba(34, 30, 26, 0.08);
  --border-focus: #c59b27;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-subtle: 0 4px 16px rgba(34, 30, 26, 0.04);
  --shadow-card: 0 16px 40px rgba(44, 32, 18, 0.07), 0 2px 6px rgba(44, 32, 18, 0.04);
  --shadow-hover: 0 24px 60px rgba(44, 32, 18, 0.13), 0 4px 12px rgba(197, 155, 39, 0.15);

  /* Transitions */
  --ease-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*,
*::before,
*::after {
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  max-width: 100%;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

section[id] {
  scroll-margin-top: 84px;
}

body {
  margin: 0;
  padding-top: 74px;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
  overflow-x: clip;
  max-width: 100%;
  position: relative;
  touch-action: pan-y pinch-zoom;
}

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 500;
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 13px 0;
  transition: var(--ease-smooth);
  box-shadow: 0 2px 14px rgba(44, 32, 18, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-monogram {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #aa820a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(197, 155, 39, 0.3);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-main);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--gold-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--ease-smooth);
}

.nav-link:hover {
  color: var(--gold-dark);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--gold-light);
  color: var(--gold-dark);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--ease-smooth);
}

.nav-cta:hover {
  background: var(--gold-primary);
  color: #ffffff;
  border-color: var(--gold-primary);
}

/* ==========================================================================
   MOBILE NAVIGATION CONTROLS & LUXURY DRAWER
   ========================================================================== */
.header-mobile-controls {
  display: none;
  align-items: center;
  gap: 8px;
}

.btn-hamburger {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 1px solid var(--border-gold);
  color: var(--gold-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: var(--ease-smooth);
  box-shadow: 0 2px 8px rgba(197, 155, 39, 0.12);
  flex-shrink: 0;
}

.btn-hamburger:active {
  transform: scale(0.92);
}

.hamburger-bar {
  width: 18px;
  height: 2px;
  background: var(--gold-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* Animated Hamburger to 'X' */
.btn-hamburger.is-active .bar-1 {
  transform: translateY(7px) rotate(45deg);
}

.btn-hamburger.is-active .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.btn-hamburger.is-active .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer Sheet */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.mobile-nav-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 30, 26, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.is-open .mobile-nav-backdrop {
  opacity: 1;
}

.mobile-nav-sheet {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #fdfbf8;
  border-bottom: 2px solid var(--gold-primary);
  border-radius: 0 0 28px 28px;
  box-shadow: 0 20px 50px rgba(44, 32, 18, 0.22);
  padding: 20px 20px 28px;
  transform: translateY(-105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 88vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.is-open .mobile-nav-sheet {
  transform: translateY(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(197, 155, 39, 0.2);
  margin-bottom: 16px;
}

.monogram-sm {
  width: 36px;
  height: 36px;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.mobile-nav-title-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-left: 12px;
}

.mobile-nav-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.mobile-nav-sub {
  font-size: 0.68rem;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(34, 30, 26, 0.05);
  border: 1px solid rgba(34, 30, 26, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--ease-smooth);
}

.mobile-nav-close:active {
  transform: scale(0.9);
  background: rgba(197, 155, 39, 0.15);
  color: var(--gold-dark);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid rgba(197, 155, 39, 0.18);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(44, 32, 18, 0.02);
}

.mobile-nav-item:active {
  transform: scale(0.98);
  border-color: var(--gold-primary);
  background: var(--gold-light);
}

.mobile-nav-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gold-light);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(197, 155, 39, 0.25);
}

.mobile-nav-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mobile-nav-text strong {
  font-size: 0.94rem;
  color: var(--text-main);
  font-weight: 600;
}

.mobile-nav-text small {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.mobile-nav-arrow {
  color: var(--gold-dark);
  opacity: 0.6;
  flex-shrink: 0;
}

.mobile-nav-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(197, 155, 39, 0.16);
  text-align: center;
}

.mobile-nav-support-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Prevent body scroll when drawer is open */
body.mobile-nav-open {
  overflow: hidden !important;
}

@media (max-width: 860px) {
  .nav-menu {
    display: none !important;
  }

  .header-mobile-controls {
    display: flex;
  }

  .nav-cta-mobile {
    padding: 7px 12px;
    font-size: 0.8rem;
    font-weight: 600;
  }
}


/* ==========================================================================
   HERO SECTION (ASYMMETRIC EDITORIAL LUXURY)
   ========================================================================== */
.hero-editorial {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding: 56px 0 44px;
  position: relative;
}

@media (max-width: 960px) {
  .hero-editorial {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
    padding: 36px 0 28px;
  }
}

.hero-editorial-content {
  display: flex;
  flex-direction: column;
}

@media (max-width: 960px) {
  .hero-editorial-content {
    align-items: center;
  }
}

.hero-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-dark);
  background: transparent;
  border: none;
  padding: 0;
  width: fit-content;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw + 0.8rem, 3.4rem);
  line-height: 1.14;
  color: var(--text-main);
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 18px;
}

.hero-lead {
  font-size: clamp(1rem, 0.9vw + 0.85rem, 1.12rem);
  color: var(--text-muted);
  line-height: 1.68;
  margin: 0 0 28px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

@media (max-width: 960px) {
  .hero-cta-group {
    justify-content: center;
  }
}

.btn-hero-primary {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #ffffff;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 99px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.28);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(184, 134, 11, 0.38);
}

.btn-hero-ghost {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid rgba(197, 155, 39, 0.35);
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 99px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.btn-hero-ghost:hover {
  background: #faf7f2;
  transform: translateY(-2px);
  border-color: var(--gold-primary);
}

.hero-editorial-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(197, 155, 39, 0.2);
  max-width: 560px;
}

@media (max-width: 960px) {
  .hero-editorial-meta {
    justify-content: center;
    text-align: center;
  }
}

.hero-meta-col {
  display: flex;
  flex-direction: column;
}

.hero-meta-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

.hero-meta-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

.hero-meta-divider {
  width: 1px;
  height: 28px;
  background: rgba(197, 155, 39, 0.25);
  flex-shrink: 0;
}

/* Hero Right Side Visual Stack */
.hero-editorial-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 360px;
}

.hero-card-back {
  position: absolute;
  top: -10px;
  left: 12px;
  right: -12px;
  bottom: 10px;
  background: #f5eedf;
  border: 1px solid rgba(197, 155, 39, 0.3);
  border-radius: 28px;
  transform: rotate(3deg);
  z-index: 1;
}

.hero-card-front {
  position: relative;
  background: #ffffff;
  border: 1.5px solid rgba(197, 155, 39, 0.35);
  border-radius: 28px;
  padding: 32px 28px 24px;
  text-align: center;
  box-shadow: 0 20px 48px rgba(44, 32, 18, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  z-index: 2;
  transform: rotate(-1.5deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-card-front:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 26px 56px rgba(44, 32, 18, 0.16);
}

.hero-card-seal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #8c6d1f);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(140, 109, 31, 0.35);
}

.hero-card-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 6px;
}

.hero-card-couple {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.15;
}

.hero-card-divider {
  width: 36px;
  height: 1px;
  background: var(--gold-primary);
  opacity: 0.4;
  margin: 12px auto;
}

.hero-card-date {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.hero-card-venue {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.hero-card-interactive-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #faf7f2;
  border: 1px solid rgba(197, 155, 39, 0.2);
  border-radius: 99px;
  font-size: 0.75rem;
}



.hero-card-guest-count {
  font-weight: 500;
  color: var(--text-muted);
}

.hero-card-badge-flat {
  background: #ffffff;
  color: #8c6d1f;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid rgba(140, 109, 31, 0.25);
}


/* ==========================================================================
   TEMPLATE SHOWCASE (CARDS)
   ========================================================================== */
.section-header {
  text-align: center;
  margin: 56px 0 36px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.5vw + 1rem, 2.4rem);
  margin: 0 0 10px;
  color: var(--text-main);
  letter-spacing: -0.015em;
  font-weight: 600;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

.demos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 64px;
}

/* Mobile carousel bar & pagination */
.demos-mobile-bar {
  display: none;
}

.demos-dots-container {
  display: none;
}

@media (max-width: 860px) {
  .demos-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 14px;
    margin-bottom: 8px;
  }

  .demos-mobile-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
  }

  .demos-swipe-icon {
    color: var(--gold-primary);
    animation: swipePulse 2s ease-in-out infinite;
    flex-shrink: 0;
  }

  @keyframes swipePulse {

    0%,
    100% {
      transform: translateX(0);
      opacity: 0.45;
    }

    50% {
      transform: translateX(3px);
      opacity: 1;
    }
  }

  .demos-mobile-controls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid rgba(197, 155, 39, 0.28);
    border-radius: 99px;
    padding: 3px 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .demos-nav-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--gold-light);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
    padding: 0;
  }

  .demos-nav-btn:active {
    transform: scale(0.9);
    background: rgba(197, 155, 39, 0.25);
  }

  .demos-counter-badge {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    padding: 0 6px;
    letter-spacing: 0.02em;
    min-width: 52px;
    text-align: center;
  }

  .counter-sep {
    color: var(--text-muted);
    font-size: 0.72rem;
    margin: 0 2px;
    font-weight: 400;
  }

  /* Horizontal swipe track with momentum scroll & CSS scroll-snap */
  .demos {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    scroll-padding-right: 24px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    gap: 16px;
    padding: 12px 24px 28px;
    margin: 0 -24px 16px -24px;
    scrollbar-width: none;
    /* Firefox */
  }

  .demos::-webkit-scrollbar {
    display: none;
    /* WebKit */
  }

  .demos .card {
    flex: 0 0 calc(100vw - 68px);
    max-width: 324px;
    min-width: 275px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    margin-bottom: 0;
    padding: 20px 18px;
  }

  @media (hover: none) {
    .demos .card:hover {
      transform: none;
      box-shadow: var(--shadow-card);
    }
  }

  .demos-dots-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 44px;
  }

  .demos-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: rgba(197, 155, 39, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .demos-dot.active {
    width: 24px;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    box-shadow: 0 2px 6px rgba(184, 134, 11, 0.35);
  }
}

.card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
  transition: var(--ease-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #f3e5ab, #aa820a);
  opacity: 0.8;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(197, 155, 39, 0.45);
}

.card.card-selected {
  border-color: #b8860b !important;
  box-shadow: 0 0 0 2px #d4af37, 0 16px 40px rgba(184, 134, 11, 0.22) !important;
  background: linear-gradient(180deg, #ffffff, #fdfbf7) !important;
}

.card.card-selected::before {
  height: 4px;
  background: linear-gradient(90deg, #b8860b, #e6ca65, #b8860b);
  opacity: 1;
}

.card.card-selected .btn[data-action="order"] {
  background: linear-gradient(135deg, #221e1a, #38312b) !important;
  color: #fbf5e5 !important;
  box-shadow: 0 4px 14px rgba(34, 30, 26, 0.25) !important;
  border-color: #221e1a !important;
}

.card-selected-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #c59b27, #8c6d1f);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(140, 109, 31, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 10;
  animation: popInBadge 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popInBadge {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--gold-light);
  color: var(--gold-dark);
  font-weight: 600;
  border: 1px solid rgba(197, 155, 39, 0.2);
}

.tag.premium,
.tag-tier.premium {
  background: var(--gold-light);
  color: var(--gold-dark);
  border-color: rgba(197, 155, 39, 0.3);
}

.tag-tier.starter {
  background: #edf6f0;
  color: #1e6338;
  border-color: rgba(30, 99, 56, 0.22);
}

.tag-tier.vip {
  background: #fbf0ea;
  color: #92341d;
  border-color: rgba(146, 52, 29, 0.25);
}

.price {
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 700;
  font-feature-settings: "tnum";
}

.card-template-meta {
  margin-bottom: 6px;
}

.template-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.template-features-summary {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

/* ==========================================================================
   PHONE MOCKUP VIEWPORT (NATIVE IFRAME-LIKE SIMULATION)
   ========================================================================== */
.phone-mockup {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 32px;
  border: 5px solid #231f1c;
  background: #111111;
  box-shadow: 0 16px 36px rgba(44, 32, 18, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 12px 0 18px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.card:hover .phone-mockup {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(44, 32, 18, 0.22);
}

.phone-speaker {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  z-index: 10;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.phone-bg-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .phone-bg-photo {
  transform: scale(1.06);
}

.phone-screen-overlay {
  position: relative;
  z-index: 2;
  padding: 32px 18px 22px;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.04) 0%, rgba(10, 8, 6, 0.6) 42%, rgba(10, 8, 6, 0.94) 100%);
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-kicker {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.phone-couple {
  margin: 6px 0 0;
  font-size: 1.65rem;
  font-family: var(--font-serif);
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  line-height: 1.15;
}

.phone-divider {
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  margin: 10px auto;
}

.phone-date {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
}

.phone-place {
  margin: 3px 0 16px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
}

.phone-mockup {
  cursor: pointer;
}

.phone-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 99px;
  color: #1a1714;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.phone-open-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.phone-open-btn:active {
  transform: scale(0.97);
}

/* Theme variations for Phone Mockup */
.theme-gold .phone-bg-photo {
  background-image: linear-gradient(180deg, rgba(20, 16, 10, 0.15) 0%, rgba(20, 16, 10, 0.75) 100%), url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=700&q=80');
}

.theme-gold .phone-couple {
  font-family: 'Playfair Display', Georgia, serif;
  color: #fffdf7;
}

.theme-gold .phone-divider {
  color: #f3e5ab;
}

.theme-gold .phone-open-btn {
  background: #faf4e4;
  color: #725208;
}

.theme-sage .phone-bg-photo {
  background-image: linear-gradient(180deg, rgba(16, 28, 20, 0.15) 0%, rgba(16, 28, 20, 0.8) 100%), url('https://images.unsplash.com/photo-1583939003579-730e3918a45a?auto=format&fit=crop&w=700&q=80');
}

.theme-sage .phone-couple {
  font-family: 'Playfair Display', Georgia, serif;
}

.theme-sage .phone-divider {
  color: #a3c4b1;
}

.theme-sage .phone-open-btn {
  background: #edf4f0;
  color: #244130;
}

.theme-ruby .phone-bg-photo {
  background-image: linear-gradient(180deg, rgba(32, 10, 18, 0.15) 0%, rgba(32, 10, 18, 0.85) 100%), url('https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&w=700&q=80');
}

.theme-ruby .phone-couple {
  font-family: 'Playfair Display', Georgia, serif;
}

.theme-ruby .phone-divider {
  color: #f7aabf;
}

.theme-ruby .phone-open-btn {
  background: #fdf2f4;
  color: #6c122e;
}

.theme-noir .phone-bg-photo {
  background-image: linear-gradient(180deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.88) 100%), url('https://images.unsplash.com/photo-1606800052052-a08af7148866?auto=format&fit=crop&w=700&q=80');
}

.theme-noir .phone-couple {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
  font-size: 1.45rem;
}

.theme-noir .phone-divider {
  color: #ffffff;
}

.theme-noir .phone-open-btn {
  background: #ffffff;
  color: #111111;
}

.theme-nusantara .phone-bg-photo {
  background-image: linear-gradient(180deg, rgba(40, 18, 8, 0.15) 0%, rgba(40, 18, 8, 0.85) 100%), url('https://images.unsplash.com/photo-1544077960-604201fe74bc?auto=format&fit=crop&w=700&q=80');
}

.theme-nusantara .phone-couple {
  font-family: 'Cinzel', serif;
  font-size: 1.45rem;
}

.theme-nusantara .phone-divider {
  color: #fbbf24;
}

.theme-nusantara .phone-open-btn {
  background: #fef5e7;
  color: #78350f;
}

.theme-celestial .phone-bg-photo {
  background-image: linear-gradient(180deg, rgba(7, 11, 20, 0.25) 0%, rgba(7, 11, 20, 0.92) 100%), url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?auto=format&fit=crop&w=700&q=80');
}

.theme-celestial .phone-couple {
  font-family: 'Cinzel', serif;
  font-size: 1.45rem;
  color: #f8fafc;
  text-shadow: 0 0 16px rgba(129, 140, 248, 0.6);
}

.theme-celestial .phone-divider {
  color: #818cf8;
}

.theme-celestial .phone-open-btn {
  background: #1e1b4b;
  color: #c7d2fe;
  border: 1px solid rgba(129, 140, 248, 0.5);
}

.theme-oceanic .phone-bg-photo {
  background-image: linear-gradient(180deg, rgba(3, 105, 161, 0.2) 0%, rgba(3, 105, 161, 0.85) 100%), url('https://images.unsplash.com/photo-1570077188670-e3a8d69ac5ff?auto=format&fit=crop&w=700&q=80');
}

.theme-oceanic .phone-couple {
  font-family: 'Playfair Display', Georgia, serif;
  color: #ffffff;
}

.theme-oceanic .phone-divider {
  color: #38bdf8;
}

.theme-oceanic .phone-open-btn {
  background: #f0f9ff;
  color: #0284c7;
}

.theme-sakura .phone-bg-photo {
  background-image: linear-gradient(180deg, rgba(74, 35, 43, 0.15) 0%, rgba(74, 35, 43, 0.85) 100%), url('https://images.unsplash.com/photo-1522383225653-ed111181a951?auto=format&fit=crop&w=700&q=80');
}

.theme-sakura .phone-couple {
  font-family: 'Playfair Display', Georgia, serif;
  color: #fff5f6;
}

.theme-sakura .phone-divider {
  color: #f7aab7;
}

.theme-sakura .phone-open-btn {
  background: #fff0f3;
  color: #bf5163;
}

.theme-terracotta .phone-bg-photo {
  background-image: linear-gradient(180deg, rgba(61, 26, 14, 0.15) 0%, rgba(61, 26, 14, 0.88) 100%), url('https://images.unsplash.com/photo-1509316975850-ff9c5deb0cd9?auto=format&fit=crop&w=700&q=80');
}

.theme-terracotta .phone-couple {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  color: #fff8f5;
}

.theme-terracotta .phone-divider {
  color: #f28b63;
}

.theme-terracotta .phone-open-btn {
  background: #fdf3ed;
  color: #a3421e;
}

.theme-emerald .phone-bg-photo {
  background-image: linear-gradient(180deg, rgba(8, 40, 33, 0.15) 0%, rgba(8, 40, 33, 0.82) 100%), url('https://images.unsplash.com/photo-1515934751635-c81c6bc9a2d8?auto=format&fit=crop&w=700&q=80');
}

.theme-emerald .phone-couple {
  font-family: 'Cinzel', serif;
  font-size: 1.45rem;
  color: #f0fdf4;
  letter-spacing: 0.05em;
}

.theme-emerald .phone-divider {
  color: #c8a348;
}

.theme-emerald .phone-open-btn {
  background: #f0fdf4;
  color: #165b4c;
  border: 1px solid #c8a348;
}


.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.2);
  transition: var(--ease-smooth);
}

.btn:hover {
  background: linear-gradient(135deg, #dfbc45, #aa7b09);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 134, 11, 0.32);
}

.btn:active {
  transform: translateY(0);
}

.btn.ghost {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-subtle);
}

.btn.ghost:hover {
  background: var(--gold-light);
  color: var(--gold-dark);
  border-color: var(--gold-primary);
}

.btn-primary-large {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  width: 100%;
}

/* ==========================================================================
   ORDER FORM SECTION
   ========================================================================== */
.order-section {
  margin-bottom: 80px;
}

.order-form {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
  padding: 44px 40px;
  position: relative;
  overflow-x: clip;
}

.form-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 36px 0;
}

.fieldset-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}

.legend-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(249, 245, 235, 0.95), rgba(240, 230, 210, 0.9));
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-serif);
  letter-spacing: 0.05em;
  border: 1px solid rgba(197, 155, 39, 0.35);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.order-form input[type="text"],
.order-form input[type="date"],
.order-form select,
.order-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-main);
  background: #ffffff;
  transition: var(--ease-smooth);
}

.order-form textarea {
  min-height: 84px;
  max-width: 100%;
  min-width: 100%;
  resize: vertical;
  /* Mengunci agar dilarang keras ditarik horizontal / ke samping */
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

/* ==========================================================================
   LUXURY FILE UPLOAD STYLING (BESPOKE, TACTILE & RESPONSIVE)
   ========================================================================== */
.file-upload-box {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(197, 155, 39, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 4px rgba(36, 33, 29, 0.02);
}

.file-upload-box:hover,
.file-upload-box.dragover {
  border-color: var(--gold-primary);
  background: #fdfbf7;
  box-shadow: 0 4px 16px rgba(197, 155, 39, 0.12);
}

.file-upload-box.has-file {
  border-color: rgba(197, 155, 39, 0.5);
  background: #fffdf9;
}

.file-upload-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.file-upload-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-dark);
  transition: transform 0.25s ease;
}

.file-upload-box:hover .file-upload-icon-badge {
  transform: scale(1.08);
}

.file-upload-icon-badge svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.file-upload-details {
  flex: 1;
  min-width: 0;
}

.file-upload-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
}

.file-upload-hint {
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

/* Custom styled file input button & Trigger */
.custom-file-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.custom-file-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.28);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.custom-file-trigger:hover {
  background: linear-gradient(135deg, #dfbc45, #a37609);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(184, 134, 11, 0.38);
}

.custom-file-trigger:active {
  transform: translateY(0);
}

.custom-file-trigger svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.custom-file-status-text {
  font-size: 0.84rem;
  color: var(--text-light);
  font-style: italic;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.custom-file-input-hidden {
  position: absolute !important;
  width: 0.1px !important;
  height: 0.1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

/* Fallback for native file selector if rendered directly */
.file-upload-box input[type="file"]:not(.custom-file-input-hidden) {
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 100%;
  outline: none;
}

.file-upload-box input[type="file"]::file-selector-button {
  border: none;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-right: 14px;
  box-shadow: 0 3px 10px rgba(184, 134, 11, 0.26);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
}

.file-upload-box input[type="file"]::-webkit-file-upload-button {
  border: none;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-right: 14px;
  box-shadow: 0 3px 10px rgba(184, 134, 11, 0.26);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.file-upload-box input[type="file"]::file-selector-button:hover,
.file-upload-box input[type="file"]::-webkit-file-upload-button:hover {
  background: linear-gradient(135deg, #dfbc45, #a37609);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(184, 134, 11, 0.38);
}

.file-upload-box input[type="file"]::file-selector-button:active,
.file-upload-box input[type="file"]::-webkit-file-upload-button:active {
  transform: translateY(0);
}

/* File Preview Strip */
.file-preview-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid rgba(197, 155, 39, 0.25);
  border-radius: var(--radius-sm);
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.file-preview-thumb {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-gold);
  background: #f4ede2;
  flex-shrink: 0;
}

.file-preview-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.file-preview-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-preview-size {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.file-preview-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold-dark);
  background: var(--gold-light);
  border: 1px solid rgba(197, 155, 39, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.file-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.file-gallery-thumb-item {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Interactive Color Swatches */
.color-picker-group {
  display: flex;
  gap: 16px;
  background: var(--bg-card-subtle);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-top: 8px;
}

.color-picker-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.color-picker-item input[type="color"] {
  width: 100%;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  padding: 2px;
  background: #ffffff;
}

/* Form Actions */
.form-actions {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.whatsapp-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ==========================================================================
   MODAL PREVIEW
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  background: #ffffff;
  padding: 32px;
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 2;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-gold);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  border: none;
  background: var(--bg-card-subtle);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--ease-smooth);
}

.modal-close:hover {
  background: #f1ede6;
  color: var(--text-main);
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
  margin: 0 auto;
}

.footer-ecosystem-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 155, 39, 0.08);
  border: 1px solid rgba(197, 155, 39, 0.25);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.82rem;
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.ecosystem-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.footer-ecosystem-badge a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-ecosystem-badge a:hover {
  color: var(--gold-primary);
  text-decoration: underline;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 20px;
}

.footer-parent-link {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(197, 155, 39, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-parent-link:hover {
  color: var(--gold-primary);
  border-bottom-style: solid;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-highlight-link {
  color: var(--gold-dark) !important;
  font-weight: 600;
}

.footer-sep {
  color: rgba(34, 30, 26, 0.2);
  font-size: 0.75rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
  border-top: 1px solid rgba(34, 30, 26, 0.06);
  padding-top: 18px;
  width: 100%;
}

.footer-copy a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-copy a:hover {
  color: var(--gold-primary);
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE QUERIES (MOBILE-FIRST POLISH)
   ========================================================================== */
@media (max-width: 768px) {
  body {
    padding-top: 66px;
  }

  .site-header {
    padding: 10px 0;
  }

  .hero-section {
    padding: 32px 0 20px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
  }

  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero-features-bar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .order-form {
    padding: 24px 16px;
    border-radius: var(--radius-md);
  }

  .demos {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none !important;
  }

  .modal-card {
    padding: 20px 16px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 14px;
  }

  /* Mobile Carousels Bleed Alignment matching 14px container padding */
  .demos {
    margin: 0 -14px 16px -14px !important;
    padding: 12px 14px 28px !important;
    scroll-padding-left: 14px !important;
    scroll-padding-right: 14px !important;
  }

  .demos .card {
    flex: 0 0 calc(100vw - 44px) !important;
    max-width: 310px !important;
    min-width: 260px !important;
  }

  .styles-matrix-grid {
    margin: 0 -14px 0 -14px !important;
    padding: 6px 14px 20px 14px !important;
    scroll-padding-left: 14px !important;
    scroll-padding-right: 14px !important;
    gap: 10px !important;
  }

  .styles-matrix-grid>div {
    flex: 0 0 162px !important;
    min-width: 162px !important;
  }

  .pricing-card.featured {
    padding: 24px 14px 20px !important;
  }

  .pricing-feature-grid {
    padding: 1rem 0.5rem !important;
    gap: 0.65rem !important;
  }

  .modal-card-confirm {
    padding: 24px 14px 20px !important;
  }

  .confirm-summary-table {
    padding: 12px 14px !important;
  }

  .confirm-row {
    font-size: 0.82rem !important;
    gap: 8px !important;
  }

  .confirm-label {
    flex: 0 0 100px !important;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-tagline {
    font-size: 0.65rem;
  }

  .order-form input[type="text"],
  .order-form input[type="date"],
  .order-form select,
  .order-form textarea {
    font-size: 16px !important;
    /* Mencegah auto-zoom di iOS Safari */
    padding: 11px 12px;
  }

  .order-form textarea {
    resize: none !important;
    /* Hilangkan handle resize di HP agar tidak bisa terseret saat scrolling */
    max-width: 100% !important;
    min-width: 100% !important;
  }

  .fieldset-legend {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }

  .file-upload-box {
    padding: 14px 12px;
  }

  .file-upload-inner {
    gap: 12px;
  }

  .file-upload-icon-badge {
    width: 38px;
    height: 38px;
  }

  .file-upload-icon-badge svg {
    width: 18px;
    height: 18px;
  }

  .custom-file-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .custom-file-trigger {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.88rem;
    text-align: center;
  }

  .custom-file-status-text {
    font-size: 0.8rem;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    text-align: center;
  }

  .color-picker-group {
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  .form-actions button[type="submit"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.98rem;
  }
}

/* ==========================================================================
   PRICING & PACKAGE COMPARISON SECTION
   ========================================================================== */
.pricing-section {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(197, 155, 39, 0.15);
}

.section-badge-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  background: var(--gold-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  border: 1px solid rgba(197, 155, 39, 0.25);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 36px;
}

.pricing-card {
  background: var(--card-bg);
  border-radius: 24px;
  border: 1px solid rgba(197, 155, 39, 0.2);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 18px rgba(44, 32, 18, 0.04);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(44, 32, 18, 0.08);
}

.pricing-card.featured {
  border: 2px solid var(--gold-primary);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(197, 155, 39, 0.14);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 20px 48px rgba(197, 155, 39, 0.2);
}

.pricing-popular-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #d4af37, #aa820a);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(170, 130, 10, 0.3);
  white-space: nowrap;
}

.pricing-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.pricing-badge.starter {
  background: #edf6f0;
  color: #1e6338;
  border: 1px solid rgba(30, 99, 56, 0.2);
}

.pricing-badge.premium {
  background: var(--gold-light);
  color: var(--gold-dark);
  border: 1px solid rgba(197, 155, 39, 0.3);
}

.pricing-badge.vip {
  background: #fbf0ea;
  color: #92341d;
  border: 1px solid rgba(146, 52, 29, 0.25);
}

.pricing-title {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.pricing-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  min-height: 38px;
  margin-bottom: 16px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-price-wrap .currency {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-dark);
}

.pricing-price-wrap .amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.pricing-price-wrap .period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-divider {
  height: 1px;
  background: rgba(197, 155, 39, 0.15);
  margin: 18px 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.feature-included svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-included span {
  color: var(--text-main);
}

.feature-excluded svg {
  width: 18px;
  height: 18px;
  fill: #9ca3af;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-excluded span {
  color: #8f8880;
  text-decoration: line-through;
  opacity: 0.75;
}

.pricing-card-footer {
  margin-top: auto;
}

/* Pricing Guarantee Trust Pill */
.pricing-guarantee-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(197, 155, 39, 0.08);
  border: 1px solid rgba(197, 155, 39, 0.28);
  border-radius: 16px;
  padding: 12px 22px;
  text-align: left;
  max-width: 620px;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(197, 155, 39, 0.06);
}

.pricing-shield-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #fdf8ed);
  border: 1.5px solid rgba(197, 155, 39, 0.45);
  color: #8c6d1f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.16);
}

.pricing-shield-wrap svg {
  width: 26px;
  height: 26px;
  stroke: #8c6d1f;
}

.pricing-guarantee-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.guarantee-headline {
  font-size: 0.96rem;
  font-weight: 700;
  color: #8c6d1f;
  line-height: 1.3;
}

.guarantee-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 600px) {
  .pricing-guarantee-pill {
    padding: 12px 14px;
    gap: 12px;
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .pricing-shield-wrap {
    width: 44px;
    height: 44px;
  }

  .pricing-shield-wrap svg {
    width: 24px;
    height: 24px;
  }

  .guarantee-headline {
    font-size: 0.88rem;
  }

  .guarantee-sub {
    font-size: 0.78rem;
  }
}


.btn-package-select {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--bg-cream);
  color: var(--text-main);
  border: 1px solid rgba(197, 155, 39, 0.3);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-package-select:hover {
  background: var(--gold-light);
  color: var(--gold-dark);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.pricing-card.featured .btn-package-select {
  background: linear-gradient(135deg, #d4af37, #aa820a);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(170, 130, 10, 0.25);
}

.pricing-card.featured .btn-package-select:hover {
  background: linear-gradient(135deg, #e0be48, #b88d0f);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(170, 130, 10, 0.35);
}

/* Tier Feature Notice in Order Form */
.tier-feature-notice {
  background: #fdfaf3;
  border: 1px solid rgba(197, 155, 39, 0.25);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tier-feature-notice .notice-badge {
  background: #edf6f0;
  color: #1e6338;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.tier-feature-notice p {
  font-size: 0.84rem;
  color: var(--text-main);
  margin: 0;
  line-height: 1.45;
}

/* Package Summary Card in Order Form */
.package-summary-card {
  background: linear-gradient(135deg, #fffdf8, #fdf7ec);
  border: 1.5px solid rgba(197, 155, 39, 0.35);
  border-radius: 18px;
  padding: 18px 22px;
  margin: 24px 0 20px;
  box-shadow: 0 6px 20px rgba(44, 32, 18, 0.05);
}

.summary-card-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.summary-badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.summary-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.summary-badge.starter {
  background: #edf6f0;
  color: #1e6338;
}

.summary-badge.premium {
  background: var(--gold-light);
  color: var(--gold-dark);
}

.summary-badge.vip {
  background: #fbf0ea;
  color: #92341d;
}

.summary-template-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
}

.summary-features {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.summary-right {
  text-align: right;
  flex-shrink: 0;
}

.summary-price-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.summary-price {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1.2;
}

.summary-price-note {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured {
    transform: none;
  }

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

  .summary-card-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .summary-right {
    text-align: left;
    width: 100%;
    border-top: 1px solid rgba(197, 155, 39, 0.15);
    padding-top: 10px;
  }
}

/* ==========================================================================
   10 STYLES MATRIX GRID & MOBILE SWIPE
   ========================================================================== */
.styles-mobile-hint {
  display: none;
}

.styles-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

@media (max-width: 860px) {
  .styles-mobile-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 12px;
  }

  .styles-mobile-hint svg {
    color: var(--gold-primary);
  }

  .styles-matrix-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    scroll-padding-right: 24px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    gap: 12px;
    padding: 6px 24px 20px 24px;
    margin: 0 -24px 0 -24px;
    scrollbar-width: none;
  }

  .styles-matrix-grid::-webkit-scrollbar {
    display: none;
  }

  .styles-matrix-grid>div {
    flex: 0 0 175px;
    min-width: 175px;
    scroll-snap-align: start;
    box-sizing: border-box;
  }
}

/* ==========================================================================
   ORDER CONFIRMATION MODAL
   ========================================================================== */
.modal-card-confirm {
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px 30px;
}

.confirm-modal-header {
  margin-bottom: 24px;
}

.confirm-modal-seal {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #8c6d1f);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 12px;
  box-shadow: 0 4px 14px rgba(140, 109, 31, 0.35);
}

.confirm-modal-kicker {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.confirm-modal-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--text-main);
  margin: 0 0 8px;
  line-height: 1.2;
}

.confirm-modal-lead {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 460px;
}

.confirm-summary-table {
  background: #fdfbf7;
  border: 1px solid rgba(197, 155, 39, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(197, 155, 39, 0.12);
  font-size: 0.88rem;
}

.confirm-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.confirm-row.total-row {
  border-top: 2px solid rgba(197, 155, 39, 0.35);
  margin-top: 6px;
  padding-top: 12px;
}

.confirm-label {
  color: var(--text-muted);
  font-weight: 500;
  flex: 0 0 130px;
}

.confirm-val {
  color: var(--text-main);
  font-weight: 600;
  text-align: right;
  flex: 1;
  word-break: break-word;
}

.confirm-val.val-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold-dark);
}

.confirm-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .confirm-modal-actions {
    flex-direction: column;
  }

  .confirm-modal-actions button {
    width: 100%;
  }
}

/* ==========================================================================
   ORDER TRACKING & HISTORY SECTION
   ========================================================================== */
.tracking-section {
  padding: 60px 0 70px;
  border-top: 1px solid var(--border-subtle);
}

.tracking-container {
  max-width: 860px;
  margin: 0 auto;
}

.tracking-search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .tracking-search-bar {
    flex-direction: column;
  }
}

.tracking-search-input-wrap {
  position: relative;
  flex: 1;
}

.tracking-search-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-dark);
  pointer-events: none;
}

.tracking-search-input-wrap input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: #ffffff;
  transition: var(--ease-smooth);
}

.tracking-search-input-wrap input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.tracking-workflow-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid rgba(197, 155, 39, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
  .tracking-workflow-card {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .workflow-sep {
    display: none;
  }
}

.workflow-step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 99px;
  background: #faf7f2;
  color: var(--text-main);
  border: 1px solid rgba(197, 155, 39, 0.22);
}

.workflow-step-pill.step-pending {
  background: #fdfbf7;
  color: var(--gold-dark);
  border: 1px solid rgba(197, 155, 39, 0.3);
}

.workflow-step-pill.step-process {
  background: linear-gradient(135deg, #fdf8ed, #f5eedf);
  color: #725208;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 2px 8px rgba(197, 155, 39, 0.12);
}

.workflow-step-pill.step-completed {
  background: #221e1a;
  color: #fbf5e5;
  border: 1px solid #221e1a;
}

.workflow-step-pill.step-completed .step-num {
  color: var(--gold-primary);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--gold-dark);
}

.workflow-sep {
  color: rgba(197, 155, 39, 0.4);
}

.order-history-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-card {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: var(--ease-smooth);
}

.order-card:hover {
  border-color: rgba(197, 155, 39, 0.5);
  box-shadow: 0 8px 24px rgba(44, 32, 18, 0.08);
}

.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.order-id-badge {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.order-status-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.order-status-tag.pending {
  background: var(--gold-light);
  color: var(--gold-dark);
  border: 1px solid rgba(197, 155, 39, 0.35);
}

.order-status-tag.process {
  background: linear-gradient(135deg, #fdf8ed, #f5eedf);
  color: #725208;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 2px 10px rgba(197, 155, 39, 0.15);
}

.order-status-tag.completed {
  background: #221e1a;
  color: #fbf5e5;
  border: 1px solid #221e1a;
  box-shadow: 0 2px 8px rgba(34, 30, 26, 0.15);
}

.order-card-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
  position: relative;
}

.stepper-track {
  position: absolute;
  top: 14px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: rgba(34, 30, 26, 0.08);
  z-index: 1;
}

.stepper-track-fill {
  height: 100%;
  background: linear-gradient(90deg, #c59b27, #8c6d1f);
  transition: width 0.4s ease;
}

.stepper-node {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 90px;
}

.stepper-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(34, 30, 26, 0.14);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

.stepper-node.active .stepper-icon-circle {
  border-color: var(--gold-primary);
  background: #ffffff;
  color: var(--gold-dark);
  box-shadow: 0 0 0 4px rgba(197, 155, 39, 0.2);
}

.stepper-node.done .stepper-icon-circle {
  border-color: var(--gold-primary);
  background: linear-gradient(135deg, #c59b27, #8c6d1f);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(140, 109, 31, 0.25);
}

.stepper-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
}

.stepper-node.active .stepper-label {
  color: var(--gold-dark);
  font-weight: 700;
}

.stepper-node.done .stepper-label {
  color: var(--text-main);
  font-weight: 600;
}

.order-card-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  background: #fdfbf7;
  border: 1px solid rgba(197, 155, 39, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.order-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.order-empty-state {
  background: #ffffff;
  border: 1px dashed rgba(197, 155, 39, 0.4);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
}

.order-empty-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(197, 155, 39, 0.1);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* ==========================================================================
   LOADING ANIMATIONS & SPINNER
   ========================================================================== */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(197, 155, 39, 0.2);
  border-top-color: var(--gold-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  margin: 0 auto 12px;
}

.spinner-svg {
  width: 38px;
  height: 38px;
  animation: spin 0.8s linear infinite;
  display: block;
  margin: 0 auto 12px;
  transform-origin: center center;
  transform-box: fill-box;
}

/* ==========================================================================
   NO-LOGIN TRUST BADGES & BANNERS
   ========================================================================== */
.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -10px 0 26px;
}

@media (max-width: 960px) {
  .hero-trust-bar {
    justify-content: center;
  }
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #15803d;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.22);
  padding: 5px 12px;
  border-radius: 99px;
  letter-spacing: 0.01em;
}

.trust-badge-item svg {
  flex-shrink: 0;
  stroke: #16a34a;
}

.hero-pill-badge {
  background: #15803d;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Order Section Direct Notice Banner */
.order-direct-notice {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  text-align: left;
}

.order-direct-notice::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.direct-notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #15803d;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.direct-notice-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.direct-notice-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}