/* Lui Wedding Gift — Commercial Design Tokens (Swiss Editorial & High-Conversion)
   Based on COMMERCIAL_DESIGN_RULES.md:
   - High Negative Space (40%-60% clean canvas)
   - Ultra-bold geometric typography with crisp contrast
   - Deep Obsidian Slate + Electric Cobalt + Pure Architectural White
   - High-contrast UI badges and cards
*/

:root {
  /* Latar & Kanvas (Clean Architectural Off-White) */
  --bg-1: #F8FAFC;
  --bg-2: #F1F5F9;
  --bg-3: #E2E8F0;
  --bg-canvas: #F8FAFC;

  /* Aksen Utama (Deep Obsidian + Electric Cobalt) */
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  
  /* Aksen Utama: Electric Cobalt & Blue */
  --blue-600: #1D4ED8;
  --blue-500: #2563EB;
  --blue-400: #3B82F6;
  --blue-300: #93C5FD;
  --blue-100: #EFF6FF;

  /* Aksen Utama: Vibrant Rose & Pink */
  --pink-600: #BE185D;
  --pink-500: #EC4899;
  --pink-400: #F472B6;
  --pink-300: #FBCFE8;
  --pink-100: #FDF2F8;

  /* Gradients Komersial Dual-Tone (Pink & Blue) */
  --grad-primary: linear-gradient(135deg, #2563EB 0%, #EC4899 100%);
  --grad-hero: linear-gradient(135deg, #0F172A 0%, #1E3A8A 40%, #831843 80%, #BE185D 100%);
  --grad-accent: linear-gradient(135deg, #3B82F6 0%, #EC4899 100%);
  --grad-soft: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  --grad-badge: linear-gradient(135deg, #2563EB 0%, #DB2777 100%);

  /* Permukaan & Border (Swiss Precision Cards) */
  --glass: rgba(255, 255, 255, 0.90);
  --glass-strong: rgba(255, 255, 255, 0.98);
  --glass-border: #E2E8F0;
  --card: #FFFFFF;
  --card-border: #E2E8F0;
  --card-border-subtle: rgba(15, 23, 42, 0.06);

  /* Shadows (Crisp Elevation, Non-muddy) */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-soft: 0 12px 28px -6px rgba(15, 23, 42, 0.12), 0 4px 10px -3px rgba(15, 23, 42, 0.04);
  --shadow-pink: 0 8px 24px -4px rgba(37, 99, 235, 0.28);
  --shadow-fab: 0 12px 24px -6px rgba(15, 23, 42, 0.35);

  /* Teks (Maximum Contrast & Readability) */
  --text: #0F172A;
  --text-muted: #475569;
  --text-dim: #94A3B8;
  --on-accent: #FFFFFF;

  /* Status Semantik Tajam */
  --success: #059669;
  --success-bg: #ECFDF5;
  --success-border: #A7F3D0;
  --warning: #D97706;
  --warning-bg: #FFFBEB;
  --warning-border: #FDE68A;
  --danger: #DC2626;
  --danger-bg: #FEF2F2;
  --danger-border: #FECACA;

  /* Bentuk & Ukuran Geometris */
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 9999px;
  --tap: 48px;
  --nav-h: 64px;

  /* Tipografi Geometric Sans-Serif */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-num: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg-canvas);
  background-image: 
    radial-gradient(at 100% 0%, rgba(37, 99, 235, 0.04) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(15, 23, 42, 0.03) 0px, transparent 50%);
  background-attachment: fixed;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
  letter-spacing: -0.01em;
}

/* Background grid aksen bersih (Swiss modern layout, bukan blob kartun) */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-image: radial-gradient(rgba(148, 163, 184, 0.22) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at 50% 20%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, black 30%, transparent 80%);
  opacity: 0.6;
}

.blob {
  display: none; /* Ditiadakan sesuai prinsip Anti-Slop: No generic messy particles/blobs */
}

input, button, textarea, select {
  font-family: inherit;
  font-size: 16px;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

::selection {
  background: #0F172A;
  color: #FFFFFF;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
