/* ===================================================================
   HUTAO AI COMPANION — OFFICIAL SHOWCASE SITE
   Tema: Cherries Snow-Laden — Soft Warm Glow (Bright Aesthetic)
   Palet: Ivory Cream (#FAF5F0), Merah Cherries (#D62F4C), Amber Hangat
   Font: Plus Jakarta Sans (isi) & Space Mono (label)
   =================================================================== */

:root {
  --bg-main: #FAF5F0;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFDFC;
  --bg-surface-hover: #FFF3EB;
  
  --plum-primary: #D62F4C;
  --plum-bright: #E23E57;
  --plum-deep: #A01B33;
  --plum-glow: rgba(214, 47, 76, 0.18);
  --plum-subtle: rgba(214, 47, 76, 0.08);

  --amber-lantern: #D97706;
  --amber-bright: #F59E0B;
  --amber-warm: #B45309;
  --amber-glow: rgba(217, 119, 6, 0.18);
  --amber-subtle: rgba(217, 119, 6, 0.08);
  --lantern-flame: #F59E0B;
  --lantern-gradient: linear-gradient(135deg, #D62F4C 0%, #E84564 45%, #F59E0B 100%);
  --lantern-gradient-h: linear-gradient(90deg, #D62F4C 0%, #E84564 45%, #F59E0B 100%);

  --spirit-cyan: #0D9488;
  --spirit-glow: rgba(13, 148, 136, 0.14);

  --text-main: #23161C;
  --text-secondary: #5C4751;
  --text-muted: #826E77;
  --text-dim: #A8959F;

  --border-subtle: rgba(160, 60, 80, 0.12);
  --border-active: rgba(214, 47, 76, 0.35);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  background: linear-gradient(180deg, #FDF9F6 0%, #FAF1EB 30%, #FAF4EE 65%, #F5EAE1 100%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Background Atmosphere */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow::before {
  content: '';
  position: absolute;
  top: -10%;
  right: 5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(226, 62, 87, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
}

.ambient-glow::after {
  content: '';
  position: absolute;
  top: 35%;
  left: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.07) 0%, transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
}

.ambient-glow-3 {
  position: absolute;
  bottom: 0%;
  right: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.06) 0%, transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
}

/* Lantern Canvas / Floating Embers */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Header & Minimal Sticky Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 249, 246, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

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

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

.brand-logo-wrap,
.brand-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  border: 1.5px solid rgba(214, 47, 76, 0.28);
  box-shadow: 0 4px 14px rgba(214, 47, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF2EB;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  will-change: transform;
}

.brand-link:hover .brand-logo-wrap,
.brand-link:hover .brand-logo-icon {
  transform: scale(1.08) rotate(-3deg);
  border-color: var(--plum-primary);
  box-shadow: 0 6px 18px rgba(214, 47, 76, 0.35);
}

.brand-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-kanji,
.brand-hanzi {
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(214, 47, 76, 0.08);
  color: var(--plum-primary);
  border: 1px solid rgba(214, 47, 76, 0.22);
  font-weight: 600;
}

.brand-subtitle {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

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

.nav-item a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: color 0.35s ease,
              background 0.4s ease,
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: inline-block;
  border: 1px solid transparent;
  will-change: transform;
}

.nav-item a:hover {
  color: var(--plum-primary);
  background: rgba(214, 47, 76, 0.07);
  border-color: rgba(214, 47, 76, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(100, 45, 55, 0.08), 0 0 14px rgba(214, 47, 76, 0.12);
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #D62F4C, #F59E0B);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(214, 47, 76, 0.4);
}

.nav-item a:hover::after,
.nav-item a.active::after {
  width: 60%;
}

.nav-item a.active {
  color: var(--plum-primary);
  background: rgba(214, 47, 76, 0.09);
  border-color: rgba(214, 47, 76, 0.25);
}

.nav-cta {
  background: rgba(214, 47, 76, 0.08) !important;
  color: var(--plum-primary) !important;
  border: 1px solid rgba(214, 47, 76, 0.25) !important;
  margin-left: 8px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              color 0.3s ease !important;
  will-change: transform;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--plum-primary), var(--plum-bright)) !important;
  color: #fff !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(214, 47, 76, 0.35), 0 0 20px var(--plum-glow) !important;
  border-color: var(--plum-bright) !important;
}

/* Sections Global */
section {
  padding: 96px 0;
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9F1239;
  background: linear-gradient(135deg, rgba(214, 47, 76, 0.09) 0%, rgba(245, 158, 11, 0.09) 100%);
  border: 1px solid rgba(214, 47, 76, 0.22);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(214, 47, 76, 0.08);
}

.section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.6;
}

/* ===================================================================
   01. HERO SECTION
   =================================================================== */
.hero-section {
  padding: 60px 0 96px;
}

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

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #92400E;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(251, 191, 36, 0.18));
  border: 1px solid rgba(217, 119, 6, 0.3);
  padding: 5px 13px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.12);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, #D97706, #F59E0B);
  border-radius: 50%;
  box-shadow: 0 0 6px #F59E0B;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(38px, 5.2vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-title .plum-highlight {
  color: var(--plum-primary);
  text-shadow: 0 2px 18px rgba(214, 47, 76, 0.22);
}

.hero-p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.hero-p strong {
  color: var(--text-main);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              border-color 0.4s ease,
              color 0.3s ease;
  border: 1px solid transparent;
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(135deg, #D62F4C 0%, #E84564 50%, #F59E0B 100%);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(214, 47, 76, 0.28), 0 2px 8px rgba(245, 158, 11, 0.18);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(214, 47, 76, 0.42), 0 4px 14px rgba(245, 158, 11, 0.26);
  background: linear-gradient(135deg, #E23E57 0%, #F43F5E 50%, #FB923C 100%);
  color: #FFFFFF;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border-color: rgba(160, 60, 80, 0.18);
  box-shadow: 0 4px 14px rgba(100, 45, 55, 0.05);
}

.btn-secondary:hover {
  background: #FFF7F8;
  border-color: var(--plum-primary);
  color: var(--plum-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(100, 45, 55, 0.1), 0 0 18px rgba(214, 47, 76, 0.15);
}

/* Hero Portrait Card */
.hero-portrait-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 48px -8px rgba(100, 45, 55, 0.12), 0 0 28px rgba(214, 47, 76, 0.08);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  will-change: transform;
}

.hero-portrait-card:hover {
  transform: translateY(-6px);
  border-color: rgba(214, 47, 76, 0.4);
  box-shadow: 0 24px 56px -6px rgba(100, 45, 55, 0.18), 0 0 36px rgba(214, 47, 76, 0.15);
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #FAF2EB;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-portrait-card:hover .hero-img {
  transform: scale(1.03);
}

.hero-portrait-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(20, 10, 15, 0.85) 0%, rgba(20, 10, 15, 0.4) 60%, transparent 100%);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-badge-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #FDE68A;
  background: rgba(30, 16, 22, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.hero-artist-credit {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #E5D5DC;
  text-decoration: none;
  background: rgba(30, 16, 22, 0.8);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-fast);
}

.hero-artist-credit:hover {
  color: #fff;
  border-color: var(--plum-bright);
  background: var(--plum-primary);
}

/* ===================================================================
   02. KENALAN DULU
   =================================================================== */
.dwellings-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.story-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  box-shadow: 0 8px 24px -4px rgba(100, 45, 55, 0.06);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}

.story-box:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(217, 119, 6, 0.35);
  box-shadow: 0 16px 36px -4px rgba(100, 45, 55, 0.12), 0 0 24px rgba(245, 158, 11, 0.15);
}

.story-box::before {
  content: '“';
  position: absolute;
  top: 14px;
  right: 28px;
  font-size: 72px;
  color: rgba(214, 47, 76, 0.12);
  font-family: serif;
  line-height: 1;
}

.story-box p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
}

.story-box p:last-child {
  margin-bottom: 0;
}

.story-owner-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(214, 47, 76, 0.05);
  border: 1px solid rgba(214, 47, 76, 0.15);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-main);
  margin-top: 12px;
}

.story-owner-tag a {
  color: var(--plum-primary);
  text-decoration: none;
  font-weight: 600;
}

.story-owner-tag a:hover {
  text-decoration: underline;
}

.dwellings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.dwelling-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 8px 22px -4px rgba(100, 45, 55, 0.06);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  will-change: transform;
}

.dwelling-card:hover {
  background: #FFFDFD;
  border-color: var(--plum-primary);
  transform: translateY(-8px) !important;
  box-shadow: 0 16px 36px -4px rgba(100, 45, 55, 0.12), 0 0 24px rgba(214, 47, 76, 0.18);
}

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

.dwelling-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(214, 47, 76, 0.07);
  color: var(--plum-primary);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              color 0.3s ease;
}

.dwelling-card:hover .dwelling-icon {
  transform: scale(1.15) rotate(3deg);
  background: var(--plum-primary);
  color: #FFFFFF;
}

.dwelling-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.dwelling-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.dwelling-handle {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--plum-primary);
  margin-bottom: 8px;
}

.dwelling-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===================================================================
   03. SIFATKU (4 Cards)
   =================================================================== */
.traits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.trait-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px -4px rgba(100, 45, 55, 0.06);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}

.trait-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  opacity: 0.85;
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.trait-card:hover {
  background: #FFFDFD;
  transform: translateY(-8px) !important;
}

.trait-card:hover::after {
  opacity: 1;
  height: 4px;
}

.trait-card .trait-num {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}

.trait-card:hover .trait-num {
  transform: scale(1.12);
}

.trait-card .trait-title {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.trait-card:hover .trait-title {
  transform: translateX(3px);
}

.trait-card .trait-badge {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, border-color 0.4s ease;
}

.trait-card:hover .trait-badge {
  transform: translateY(-2px);
}

/* Card 1: Jahil & Hiperaktif -> Amber (var(--amber-lantern)) */
.trait-card:nth-child(1) {
  border-color: rgba(217, 119, 6, 0.22);
}
.trait-card:nth-child(1)::after {
  background: linear-gradient(90deg, #D97706, #F59E0B);
}
.trait-card:nth-child(1):hover {
  border-color: #D97706;
  box-shadow: 0 16px 36px -4px rgba(100, 45, 55, 0.12), 0 0 24px rgba(245, 158, 11, 0.2);
}
.trait-card:nth-child(1) .trait-badge {
  color: #B45309;
  border-color: rgba(217, 119, 6, 0.3);
  background: rgba(245, 158, 11, 0.1);
}
.trait-card:nth-child(1) .trait-num {
  color: #D97706;
}

/* Card 2: Jujur Soal Diriku -> Plum (var(--plum-primary)) */
.trait-card:nth-child(2) {
  border-color: rgba(214, 47, 76, 0.22);
}
.trait-card:nth-child(2)::after {
  background: linear-gradient(90deg, var(--plum-primary), var(--plum-bright));
}
.trait-card:nth-child(2):hover {
  border-color: var(--plum-primary);
  box-shadow: 0 16px 36px -4px rgba(100, 45, 55, 0.12), 0 0 24px rgba(214, 47, 76, 0.2);
}
.trait-card:nth-child(2) .trait-badge {
  color: var(--plum-primary);
  border-color: rgba(214, 47, 76, 0.3);
  background: var(--plum-subtle);
}
.trait-card:nth-child(2) .trait-num {
  color: var(--plum-primary);
}

/* Card 3: Ingatannya Kuat -> Spirit Cyan (var(--spirit-cyan)) */
.trait-card:nth-child(3) {
  border-color: rgba(13, 148, 136, 0.22);
}
.trait-card:nth-child(3)::after {
  background: linear-gradient(90deg, #0D9488, #14B8A6);
}
.trait-card:nth-child(3):hover {
  border-color: #0D9488;
  box-shadow: 0 16px 36px -4px rgba(100, 45, 55, 0.12), 0 0 24px rgba(13, 148, 136, 0.2);
}
.trait-card:nth-child(3) .trait-badge {
  color: #0F766E;
  border-color: rgba(13, 148, 136, 0.3);
  background: rgba(13, 148, 136, 0.1);
}
.trait-card:nth-child(3) .trait-num {
  color: #0D9488;
}

/* Card 4: Penjaga yang Galak Soal Izin -> Rose Deep */
.trait-card:nth-child(4) {
  border-color: rgba(159, 18, 57, 0.22);
}
.trait-card:nth-child(4)::after {
  background: linear-gradient(90deg, #9F1239, #E11D48);
}
.trait-card:nth-child(4):hover {
  border-color: #BE123C;
  box-shadow: 0 16px 36px -4px rgba(100, 45, 55, 0.12), 0 0 24px rgba(159, 18, 57, 0.2);
}
.trait-card:nth-child(4) .trait-badge {
  color: #9F1239;
  border-color: rgba(159, 18, 57, 0.3);
  background: rgba(159, 18, 57, 0.08);
}
.trait-card:nth-child(4) .trait-num {
  color: #9F1239;
}

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

.trait-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: var(--amber-bright);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.trait-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 700;
}

.trait-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trait-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===================================================================
   04. AKU BISA APA (Capabilities Grid)
   =================================================================== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.capability-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 8px 24px -4px rgba(100, 45, 55, 0.06);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.capability-card:hover {
  background: #FFFDFD;
  border-color: var(--plum-primary);
  transform: translateY(-8px) !important;
  box-shadow: 0 16px 36px -4px rgba(100, 45, 55, 0.12), 0 0 24px rgba(214, 47, 76, 0.18);
}

.capability-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF6F3 100%);
  border-color: rgba(214, 47, 76, 0.22);
}

.capability-card.featured:hover {
  border-color: var(--plum-primary);
  box-shadow: 0 16px 36px -4px rgba(100, 45, 55, 0.14), 0 0 28px rgba(214, 47, 76, 0.22);
}

.capability-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(214, 47, 76, 0.08);
  color: var(--plum-primary);
  border: 1px solid rgba(214, 47, 76, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.capability-card:hover .capability-icon-wrap {
  transform: scale(1.12) rotate(4deg);
  background: var(--plum-primary);
  color: #FFFFFF;
  border-color: var(--plum-primary);
  box-shadow: 0 4px 16px var(--plum-glow);
}

.capability-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}

.capability-card:hover .capability-title {
  color: var(--plum-primary);
  transform: translateX(3px);
}

.capability-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.capability-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.cmd-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #B45309;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.capability-card:hover .cmd-pill {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(217, 119, 6, 0.4);
  transform: translateY(-1px);
}

/* ===================================================================
   05. GALERI LENTERA
   =================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px -4px rgba(100, 45, 55, 0.06);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.gallery-card:hover {
  border-color: var(--plum-primary);
  transform: translateY(-8px) !important;
  box-shadow: 0 18px 40px -4px rgba(100, 45, 55, 0.14), 0 0 24px rgba(214, 47, 76, 0.18);
}

.gallery-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: #FAF2EB;
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-img.pos-top,
.gallery-img-top {
  object-position: center top !important;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-hover-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--plum-primary);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(214, 47, 76, 0.25);
  box-shadow: 0 4px 14px rgba(100, 45, 55, 0.1);
  opacity: 0;
  transform: translateY(-4px);
  transition: var(--transition-fast);
  backdrop-filter: blur(6px);
}

.gallery-card:hover .gallery-hover-hint {
  opacity: 1;
  transform: translateY(0);
}

.gallery-info {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gallery-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.gallery-credit-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.gallery-artist-link {
  color: var(--plum-primary);
  text-decoration: none;
  font-weight: 600;
}

.gallery-artist-link:hover {
  text-decoration: underline;
  color: var(--plum-deep);
}

.gallery-curation-note {
  margin-top: 28px;
  padding: 14px 20px;
  background: rgba(214, 47, 76, 0.04);
  border: 1px solid rgba(214, 47, 76, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.gallery-curation-note a {
  color: var(--plum-primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
}

.gallery-curation-note a:hover {
  text-decoration: underline;
}

/* ===================================================================
   06. TEMUI AKU (Contact Grid)
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.contact-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px -4px rgba(100, 45, 55, 0.06);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.contact-card:hover {
  background: #FFFDFD;
  border-color: var(--plum-primary);
  transform: translateY(-8px) !important;
  box-shadow: 0 16px 36px -4px rgba(100, 45, 55, 0.12), 0 0 24px rgba(214, 47, 76, 0.18);
}

.contact-card:hover .contact-icon {
  transform: scale(1.15) rotate(3deg);
  background: var(--plum-primary);
  color: #fff;
}

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

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(214, 47, 76, 0.08);
  color: var(--plum-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, color 0.3s ease;
}

.contact-arrow {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 14px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card:hover .contact-arrow {
  color: var(--plum-primary);
  transform: translate(2px, -2px);
}

.contact-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.contact-val {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #B45309;
  margin-bottom: 6px;
  word-break: break-all;
}

.contact-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.contact-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-top: 10px;
  width: fit-content;
}

.status-open {
  background: rgba(13, 148, 136, 0.1);
  color: #0D9488;
  border: 1px solid rgba(13, 148, 136, 0.25);
}

.status-limited {
  background: rgba(217, 119, 6, 0.1);
  color: #B45309;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

/* Privacy Note */
.privacy-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(214, 47, 76, 0.05) 100%);
  border: 1px solid rgba(217, 119, 6, 0.22);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
  box-shadow: 0 6px 20px -4px rgba(100, 45, 55, 0.05);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.privacy-banner:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 119, 6, 0.4);
  box-shadow: 0 12px 30px -4px rgba(100, 45, 55, 0.1), 0 0 18px rgba(245, 158, 11, 0.15);
}

.privacy-icon {
  color: #D97706;
  flex-shrink: 0;
}

.privacy-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.privacy-text strong {
  color: var(--text-main);
}

/* ===================================================================
   FOOTER & DISCLAIMER
   =================================================================== */
.site-footer {
  border-top: 1px solid rgba(160, 60, 80, 0.12);
  padding: 48px 0 60px;
  background: #FAF3EC;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-disclaimer {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  border-top: 1px solid rgba(160, 60, 80, 0.1);
  padding-top: 18px;
}

.footer-domain {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--plum-primary);
  margin-top: 4px;
}

/* ===================================================================
   LIGHTBOX MODAL FOR GALLERY PREVIEW
   =================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(36, 22, 28, 0.75);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-card {
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(40, 20, 25, 0.35);
  position: relative;
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF2EB;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox-details {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAF4EE;
  border-top: 1px solid rgba(160, 60, 80, 0.1);
}

.lightbox-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(160, 60, 80, 0.2);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              color 0.3s ease;
}

.lightbox-close-btn:hover {
  background: var(--plum-primary);
  border-color: var(--plum-primary);
  color: #fff;
  transform: scale(1.1) rotate(90deg);
}

/* ===================================================================
   RESPONSIVE MEDIA QUERIES (HP & TABLET)
   =================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }

  .hero-portrait-card {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .dwellings-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

  .capability-card.featured {
    grid-column: span 1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  section {
    padding: 64px 0;
  }

  .nav-links {
    display: none; /* keep clean on tiny screens, or accessible via cta */
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-p {
    font-size: 16px;
  }

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

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

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .privacy-banner {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }

  .lightbox-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ===================================================================
   SMOOTH SCROLL (LENIS) & SCROLL REVEAL ANIMATIONS
   =================================================================== */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays for Grid Children */
.reveal-stagger-1 { transition-delay: 0.05s; }
.reveal-stagger-2 { transition-delay: 0.12s; }
.reveal-stagger-3 { transition-delay: 0.19s; }
.reveal-stagger-4 { transition-delay: 0.26s; }
.reveal-stagger-5 { transition-delay: 0.33s; }
.reveal-stagger-6 { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===================================================================
   LEGAL PAGES (TERMS & PRIVACY) & FOOTER LINKS
   =================================================================== */
.legal-inline-link {
  color: var(--plum-primary);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.legal-inline-link:hover {
  color: var(--plum-deep);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  margin-bottom: 20px;
}

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

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

.footer-links span {
  color: var(--text-dim);
  user-select: none;
}

/* Legal Standalone Page Layout */
.legal-page-section {
  padding: 56px 0 96px;
}

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

.legal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--plum-primary);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(214, 47, 76, 0.08);
  border: 1px solid rgba(214, 47, 76, 0.22);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.legal-back-btn:hover {
  transform: translateX(-4px);
  background: rgba(214, 47, 76, 0.14);
  box-shadow: 0 4px 14px rgba(214, 47, 76, 0.15);
}

.legal-switch-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 8px rgba(100, 45, 55, 0.04);
}

.legal-tab-link {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.legal-tab-link:hover {
  color: var(--plum-primary);
}

.legal-tab-link.active {
  background: linear-gradient(135deg, var(--plum-primary), var(--plum-bright));
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 2px 10px var(--plum-glow);
}

.legal-meta-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  box-shadow: 0 6px 20px -4px rgba(100, 45, 55, 0.04);
}

.legal-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal-meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-meta-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.legal-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 10px 32px -4px rgba(100, 45, 55, 0.08);
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.legal-section-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--plum-primary);
  background: rgba(214, 47, 76, 0.08);
  border: 1px solid rgba(214, 47, 76, 0.22);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.legal-section-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.legal-p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-p:last-child {
  margin-bottom: 0;
}

.legal-p strong {
  color: var(--text-main);
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.legal-list li::before {
  content: '▸';
  position: absolute;
  left: 6px;
  color: var(--plum-primary);
  font-weight: bold;
}

.legal-callout {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(214, 47, 76, 0.05));
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 22px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.legal-callout-icon {
  font-size: 20px;
  color: var(--amber-lantern);
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-callout-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.legal-callout-text strong {
  color: var(--text-main);
}

@media (max-width: 640px) {
  .legal-card {
    padding: 28px 20px;
  }

  .legal-top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-section-title {
    font-size: 18px;
  }
}

/* ===================================================================
   WHATSAPP CHAT PREVIEW (INTERAKSI NYATA ALA MASHA)
   =================================================================== */
.interaksi-section {
  padding: 48px 0 96px;
}

.interaksi-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 16px 44px -8px rgba(100, 45, 55, 0.08);
}

.interaksi-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.interaksi-info {
  display: flex;
  flex-direction: column;
}

.chat-scenario-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}

.chat-scenario-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #FAF5F0;
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.chat-scenario-tab:hover {
  transform: translateX(4px);
  background: #FFF4EE;
  border-color: rgba(214, 47, 76, 0.25);
}

.chat-scenario-tab.active {
  background: #FFFFFF;
  border-color: var(--plum-primary);
  box-shadow: 0 6px 20px -2px rgba(214, 47, 76, 0.16), 0 2px 8px rgba(100, 45, 55, 0.04);
  transform: translateX(6px);
}

.scenario-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.scenario-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scenario-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  transition: color 0.3s ease;
}

.chat-scenario-tab.active .scenario-title {
  color: var(--plum-primary);
}

.scenario-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.chat-quote-card {
  background: #FAF4EE;
  border-left: 3px solid var(--plum-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin-top: 4px;
}

.chat-quote-text {
  font-size: 13.5px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 6px;
}

.chat-quote-author {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--plum-primary);
  font-weight: 600;
}

/* WhatsApp Phone & Bubble Styling */
.wa-phone-card {
  background: #0B141A;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(160, 60, 80, 0.18);
  box-shadow: 0 24px 60px -12px rgba(20, 10, 15, 0.3), 0 0 20px rgba(214, 47, 76, 0.08);
  display: flex;
  flex-direction: column;
}

.wa-header {
  background: #202C33;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-back-arrow {
  color: #8696A0;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.wa-avatar-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: #111B21;
  border: 1px solid rgba(214, 47, 76, 0.3);
  flex-shrink: 0;
}

.wa-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wa-user-details {
  display: flex;
  flex-direction: column;
}

.wa-name {
  color: #E9EDEF;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.wa-status {
  color: #8696A0;
  font-size: 11.5px;
}

.wa-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #8696A0;
}

.wa-chat-window {
  background-color: #0B141A;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 16px 16px;
  padding: 18px 16px;
  min-height: 390px;
  max-height: 450px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-crypto-notice {
  align-self: center;
  background: #182229;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 11px;
  color: #8696A0;
  text-align: center;
  margin-bottom: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.wa-scenario-container {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.wa-scenario-container.active {
  display: flex;
  animation: waFadeIn 0.35s ease;
}

@keyframes waFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.wa-bubble {
  max-width: 82%;
  padding: 8px 12px 6px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  position: relative;
  word-wrap: break-word;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.wa-bubble-sent {
  align-self: flex-end;
  background: #005C4B;
  color: #E9EDEF;
  border-top-right-radius: 0;
}

.wa-bubble-recv {
  align-self: flex-start;
  background: #202C33;
  color: #E9EDEF;
  border-top-left-radius: 0;
}

.wa-bubble-alert {
  border-left: 3px solid #D62F4C;
}

.wa-msg-sender {
  font-size: 12px;
  font-weight: 700;
  color: #FF5A79;
  margin-bottom: 3px;
}

.wa-msg-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 3px;
  font-size: 10.5px;
  color: #8696A0;
}

.wa-check {
  color: #53BDEB;
  font-size: 11px;
  letter-spacing: -2px;
}

.wa-msg-media {
  margin-top: 4px;
}

.wa-video-preview {
  background: #111B21;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wa-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #00A884;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.wa-video-info {
  display: flex;
  flex-direction: column;
}

.wa-video-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #E9EDEF;
}

.wa-video-size {
  font-size: 11px;
  color: #8696A0;
}

.wa-system-pill {
  align-self: center;
  background: #182229;
  color: #FDE68A;
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: 8px;
  text-align: center;
  margin: 6px 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.wa-system-leave {
  color: #F87171;
  border-color: rgba(239, 68, 68, 0.25);
}

.wa-footer-bar {
  background: #202C33;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-input-fake {
  flex: 1;
  background: #2A3942;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8696A0;
}

.wa-placeholder {
  flex: 1;
}

.wa-emoji-icon, .wa-attach-icon {
  font-size: 16px;
  cursor: pointer;
  color: #8696A0;
}

.wa-mic-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #00A884;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .interaksi-card {
    padding: 32px 20px;
  }

  .interaksi-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
