/* ==========================================================================
   PATUNGANDIGITAL.id — Core Design System & Styling
   Aesthetic: Sleek Modern Dark Tech, Glassmorphism, Micro-Animations
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #090D16;
  --bg-surface: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(16, 185, 129, 0.35);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  /* Accent Colors */
  --emerald-500: #10B981;
  --emerald-400: #34D399;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  
  --cyan-500: #06B6D4;
  --cyan-400: #22D3EE;
  
  --indigo-500: #6366F1;
  --violet-500: #8B5CF6;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Transitions & Shadows */
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.2);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 85% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 45%),
              var(--bg-dark);
}

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

/* ==========================================================================
   Typography & Helpers
   ========================================================================== */

h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

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

.gradient-text {
  background: linear-gradient(135deg, #34D399 0%, #06B6D4 50%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-emerald { color: var(--emerald-400); }
.text-cyan { color: var(--cyan-400); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.hidden { display: none !important; }

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-400);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-pill.pulse {
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0%, 100% { border-color: rgba(16, 185, 129, 0.3); }
  50% { border-color: rgba(16, 185, 129, 0.8); box-shadow: 0 0 12px rgba(16, 185, 129, 0.3); }
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-400);
  display: inline-block;
  box-shadow: 0 0 8px var(--emerald-400);
}

.badge-mini {
  background: var(--emerald-500);
  color: #052e16;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34D399, #10B981);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-emerald {
  background: #10B981;
  color: #FFFFFF;
}

.btn-emerald:hover {
  background: #059669;
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.btn-outline:hover {
  border-color: var(--emerald-400);
  color: var(--emerald-400);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.top-bar {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.25), rgba(16, 185, 129, 0.25));
  border-bottom: 1px solid var(--border-glass);
  padding: 8px 0;
  font-size: 0.8rem;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-link {
  color: var(--cyan-400);
  font-weight: 600;
}

.top-bar-link:hover {
  text-decoration: underline;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  padding: 16px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #10B981, #06B6D4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--emerald-400);
}

.logo-text small {
  color: var(--cyan-400);
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--emerald-400);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 70px 0 60px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.85rem;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.18;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.65;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

.stat-item .stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-item .stat-number small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-item .stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background-color: var(--border-glass);
}

/* Hero Preview Card */
.preview-card {
  padding: 28px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.8) 0%, rgba(10, 15, 26, 0.95) 100%);
  position: relative;
  overflow: hidden;
}

.preview-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.preview-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 6px var(--emerald-400);
}

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

.preview-service {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon.mini {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.spotify-bg { background: #1DB954; color: #FFFFFF; }
.netflix-bg { background: #E50914; color: #FFFFFF; }
.youtube-bg { background: #FF0000; color: #FFFFFF; }
.chatgpt-bg { background: #10A37F; color: #FFFFFF; }
.canva-bg { background: #00C4CC; color: #FFFFFF; }

.service-meta h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.service-meta p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.price-comparison-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.comp-col .comp-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.comp-price {
  font-size: 1.15rem;
  font-weight: 700;
}

.comp-price.strike {
  text-decoration: line-through;
  color: var(--text-muted);
}

.comp-arrow {
  color: var(--text-muted);
}

.comp-col.highlight .comp-price {
  color: var(--emerald-400);
}

.save-tag {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-400);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.slot-tracker {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 20px;
}

.slot-tracker-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.slot-dots {
  display: flex;
  gap: 8px;
}

.slot-dot {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.slot-dot.filled {
  background: var(--cyan-500);
}

.slot-dot.available {
  background: rgba(16, 185, 129, 0.3);
  border: 1px dashed var(--emerald-400);
}

.pulse-dot {
  animation: pulseSlot 1.5s infinite;
}

@keyframes pulseSlot {
  0%, 100% { background: rgba(16, 185, 129, 0.2); }
  50% { background: var(--emerald-400); box-shadow: 0 0 10px var(--emerald-400); }
}

.escrow-secure-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.escrow-secure-banner svg {
  color: var(--emerald-400);
}

/* ==========================================================================
   Section Header Standard
   ========================================================================== */

.section-header {
  margin-bottom: 48px;
}

.section-title {
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  margin: 12px 0;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

/* ==========================================================================
   Interactive Calculator Section (Patch v1.2)
   ========================================================================== */

.calculator-section {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.5) 100%);
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  padding: 40px;
  gap: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-label {
  display: block;
  font-weight: 600;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.service-selector-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.chip:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text-primary);
}

.chip.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--emerald-400);
  color: var(--emerald-400);
}

.calc-slider-box {
  margin-bottom: 24px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.925rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.slider-val {
  color: var(--cyan-400);
}

input[type=range] {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  outline: none;
  -webkit-appearance: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--emerald-400);
  cursor: pointer;
  box-shadow: 0 0 10px var(--emerald-400);
  transition: var(--transition-smooth);
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-marks {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.calc-detail-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 0.85rem;
}

.calc-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.result-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  position: relative;
}

.result-card.highlight-border {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.result-tier {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 6px;
}

.result-price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

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

.tag-solo {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 8px;
}

.saving-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: linear-gradient(135deg, #10B981, #06B6D4);
  color: #042f2e;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.savings-counter-box {
  background: rgba(16, 185, 129, 0.15);
  border: 1px dashed rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin: 16px 0;
  text-align: center;
}

.savings-counter-box span {
  display: block;
  font-size: 0.8rem;
  color: var(--emerald-400);
}

.savings-counter-box strong {
  font-size: 1.35rem;
  color: #FFFFFF;
}

/* ==========================================================================
   Catalog Section
   ========================================================================== */

.catalog-section {
  padding: 80px 0;
}

.catalog-section .section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.catalog-filters {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.filter-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--bg-surface);
  color: var(--emerald-400);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.catalog-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
  box-shadow: 0 15px 35px -10px rgba(16, 185, 129, 0.15);
}

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

.card-service-title {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.card-host-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.card-host-meta .verified {
  color: var(--cyan-400);
}

.card-spec-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.card-spec-box strong {
  color: var(--text-primary);
}

.card-pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-pricing-row .price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--emerald-400);
}

.card-pricing-row .price small {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.card-pricing-row .solo-strike {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

/* ==========================================================================
   How It Works & Escrow Flow
   ========================================================================== */

.how-it-works-section {
  padding: 80px 0;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
}

.escrow-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.step-card {
  padding: 30px;
  position: relative;
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.3);
}

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
  position: absolute;
  top: 18px;
  right: 22px;
}

.step-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-400);
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.step-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan-400);
  background: rgba(6, 182, 212, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ==========================================================================
   Legal Governance & FAQ (Patch v1.1)
   ========================================================================== */

.legal-section {
  padding: 80px 0;
}

.legal-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  padding: 48px;
  gap: 48px;
}

.legal-info .section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 16px 0 28px;
}

.compliance-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comp-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.comp-icon.check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.comp-point strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.comp-point p {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.04);
}

.faq-question {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.925rem;
}

.faq-toggle {
  font-size: 1.25rem;
  color: var(--emerald-400);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 20px 20px 20px;
}

/* ==========================================================================
   User Testing Empirical Feedback (R1, R2, R3)
   ========================================================================== */

.testi-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.4) 0%, transparent 100%);
}

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

.testi-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #FFFFFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.testi-name {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.testi-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testi-rating {
  color: #FBBF24;
  font-size: 0.9rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-sus {
  font-size: 0.72rem;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.testi-quote {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testi-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan-400);
  border-top: 1px solid var(--border-glass);
  padding-top: 12px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px;
  background: #060911;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 320px;
}

.footer-links-col h4 {
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links-col a, .footer-links-col span {
  display: block;
  font-size: 0.825rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: var(--transition-smooth);
}

.footer-links-col a:hover {
  color: var(--emerald-400);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-badges {
  display: flex;
  gap: 14px;
}

.badge-secure {
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
}

/* ==========================================================================
   Floating Live Toast (Social Proof)
   ========================================================================== */

.live-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.live-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--emerald-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.toast-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.toast-desc {
  font-size: 0.75rem;
  color: var(--emerald-400);
}

/* ==========================================================================
   Modals Standard (Checkout, Dashboard, WA)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 640px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  animation: modalEnter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalEnter {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-title {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Stepper Indicator */
.modal-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-glass);
}

.step-indicator {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.step-indicator.active {
  color: var(--emerald-400);
}

.step-indicator.done {
  color: var(--cyan-400);
}

.step-divider {
  flex: 1;
  height: 1px;
  background: var(--border-glass);
  margin: 0 8px;
}

/* Form Styles */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--emerald-400);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

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

.modal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  gap: 12px;
}

.modal-actions-stacked {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

/* Selected Product Summary Box */
.selected-product-summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Legal Notice in Modal (Patch v1.1) */
.legal-notice-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.notice-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-400);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.legal-notice-box h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.legal-checklist {
  list-style: none;
  margin: 16px 0;
}

.legal-checklist li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.form-check label {
  font-size: 0.825rem;
  color: var(--text-primary);
  line-height: 1.4;
  cursor: pointer;
}

/* Payment Summary Box */
.payment-summary-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}

.pay-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.pay-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  border-top: 1px solid var(--border-glass);
  padding-top: 10px;
  margin-top: 8px;
}

.pay-row.total .total-val {
  color: var(--emerald-400);
}

.payment-methods label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.pay-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.pay-option.selected {
  border-color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-400);
}

.qris-display-box {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.qris-card {
  background: #FFFFFF;
  color: #0F172A;
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.qris-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #DC2626;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.qr-label {
  font-size: 0.68rem;
  font-weight: 600;
  margin-top: 8px;
  color: #475569;
}

/* Step 4 Escrow Live Components */
.success-icon-wrapper {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.escrow-live-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 20px 0;
  text-align: left;
}

.escrow-live-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.status-badge.held {
  background: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.escrow-timer {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.escrow-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.escrow-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #F59E0B, #10B981);
  animation: escrowPulse 2s infinite ease-in-out;
}

@keyframes escrowPulse {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}

.escrow-info-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.credential-info-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.85rem;
}

.credential-info-box h4 {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.cred-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.825rem;
}

.cred-row span {
  color: var(--text-muted);
}

.cred-link {
  color: var(--cyan-400);
  cursor: pointer;
  text-decoration: underline;
  word-break: break-all;
}

/* Dashboard Modal Specifics */
.dashboard-modal-card {
  max-width: 800px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06B6D4, #10B981);
  color: #042f2e;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.dash-stat-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-glass);
  padding: 16px;
  border-radius: var(--radius-md);
}

.dash-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.dash-stat-val {
  font-size: 1.35rem;
  font-weight: 800;
  display: block;
}

.dash-stat-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.dash-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.dash-tag {
  font-size: 0.72rem;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.dash-slots-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.dash-slot-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 14px 18px;
  border-radius: var(--radius-md);
}

.slot-item-service {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slot-item-service strong {
  font-size: 0.9rem;
  display: block;
}

.slot-item-service p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.slot-item-status {
  text-align: right;
}

.status-pill.active {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-400);
  display: block;
}

.slot-item-status small {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.dash-modal-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-glass);
}

/* WhatsApp Simulation Modal */
.wa-modal-card {
  max-width: 450px;
  padding: 0;
  overflow: hidden;
  background: #0B141B;
  border: 1px solid #1F2C34;
}

.wa-header {
  background: #1F2C34;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00A884;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #FFFFFF;
  position: relative;
}

.wa-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25D366;
  border: 2px solid #1F2C34;
}

.wa-header h4 {
  font-size: 0.9rem;
  color: #E9EDEF;
}

.wa-status {
  font-size: 0.72rem;
  color: #8696A0;
}

.wa-chat-body {
  padding: 20px 16px;
  height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: radial-gradient(circle, #0B141B 0%, #080D11 100%);
}

.chat-bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  position: relative;
}

.chat-bubble.support {
  align-self: flex-start;
  background: #202C33;
  color: #E9EDEF;
  border-top-left-radius: 2px;
}

.chat-bubble.user {
  align-self: flex-end;
  background: #005C4B;
  color: #E9EDEF;
  border-top-right-radius: 2px;
}

.chat-time {
  display: block;
  font-size: 0.65rem;
  color: #8696A0;
  text-align: right;
  margin-top: 4px;
}

.wa-input-row {
  display: flex;
  padding: 12px 16px;
  background: #1F2C34;
  gap: 10px;
}

.wa-input-row input {
  flex: 1;
  background: #2A3942;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  color: #E9EDEF;
  font-size: 0.85rem;
}

.wa-input-row input:focus {
  outline: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }
  .legal-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .catalog-section .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .dash-stats-grid {
    grid-template-columns: 1fr;
  }
  .dash-slot-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .slot-item-status {
    text-align: left;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}
