/* ============================================================
   BIG-TIM-BIJW — Design System 2025
   Theme: Refined Dark Finance / Wealth Aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
  /* Colors */
  --c-bg:           #0A0C10;
  --c-bg-2:         #0F1217;
  --c-bg-card:      #13171F;
  --c-bg-card-hover:#181D27;
  --c-border:       #1E2535;
  --c-border-light: #252D3F;

  --c-gold:         #C9A84C;
  --c-gold-light:   #E8C97A;
  --c-gold-dim:     #7A6030;
  --c-emerald:      #2ECC8A;
  --c-emerald-dim:  #1A5C40;
  --c-blue:         #4F8EF7;
  --c-red:          #E05252;

  --c-text:         #E8EAF0;
  --c-text-muted:   #7B8299;
  --c-text-dim:     #4A5068;

  /* Typography */
  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'DM Sans', system-ui, sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Layout */
  --max-w: 1280px;
  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,.45);
  --shadow-gold: 0 0 40px rgba(201,168,76,.15);
  --shadow-glow: 0 0 60px rgba(79,142,247,.12);

  /* Transitions */
  --ease: cubic-bezier(.22,.61,.36,1);
  --t-fast: 160ms;
  --t-med: 280ms;
  --t-slow: 500ms;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

p { color: var(--c-text-muted); }
strong { color: var(--c-text); font-weight: 600; }

.text-gold { color: var(--c-gold); }
.text-emerald { color: var(--c-emerald); }
.text-muted { color: var(--c-text-muted); }
.text-center { text-align: center; }

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-5 { gap: var(--sp-5); }

/* ── Card ─────────────────────────────────────────────────── */
.card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.card:hover {
  background: var(--c-bg-card-hover);
  border-color: var(--c-border-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.card--gold { border-color: var(--c-gold-dim); }
.card--gold:hover { border-color: var(--c-gold); box-shadow: var(--shadow-gold); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 11px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--c-gold);
  color: #0A0C10;
}
.btn-primary:hover {
  background: var(--c-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,.35);
}

.btn-secondary {
  background: transparent;
  color: var(--c-gold);
  border: 1.5px solid var(--c-gold-dim);
}
.btn-secondary:hover {
  border-color: var(--c-gold);
  background: rgba(201,168,76,.06);
}

.btn-ghost {
  background: transparent;
  color: var(--c-text-muted);
  border: 1.5px solid var(--c-border-light);
}
.btn-ghost:hover { color: var(--c-text); border-color: var(--c-text-muted); }

.btn-emerald {
  background: var(--c-emerald);
  color: #0A0C10;
}
.btn-emerald:hover {
  background: #3DDFAA;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(46,204,138,.3);
}

/* ── Badge ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge-gold { background: rgba(201,168,76,.15); color: var(--c-gold); border: 1px solid rgba(201,168,76,.3); }
.badge-emerald { background: rgba(46,204,138,.12); color: var(--c-emerald); border: 1px solid rgba(46,204,138,.25); }
.badge-blue { background: rgba(79,142,247,.12); color: var(--c-blue); border: 1px solid rgba(79,142,247,.25); }
.badge-muted { background: rgba(255,255,255,.05); color: var(--c-text-muted); border: 1px solid var(--c-border); }

/* ── Section ──────────────────────────────────────────────── */
.section {
  padding: var(--sp-10) 0;
}
.section-header {
  margin-bottom: var(--sp-8);
  text-align: center;
}
.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-3);
}
.section-header p {
  max-width: 560px;
  margin: var(--sp-3) auto 0;
  font-size: 1.05rem;
}

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border), transparent);
  margin: 0;
}

.divider-gold {
  background: linear-gradient(90deg, transparent, var(--c-gold-dim), transparent);
}

/* ── Form Elements ────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.form-label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--c-text-muted);
  letter-spacing: .02em;
}
.form-input {
  background: var(--c-bg-2);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--c-text);
  font-size: .95rem;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: var(--c-gold-dim);
  box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}
.form-input::placeholder { color: var(--c-text-dim); }
.form-hint {
  font-size: .8rem;
  color: var(--c-text-dim);
}

/* ── Notification ─────────────────────────────────────────── */
.notification {
  position: fixed;
  top: var(--sp-5);
  right: var(--sp-5);
  z-index: 9999;
  min-width: 280px;
  max-width: 420px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border-left: 3px solid var(--c-gold);
  background: var(--c-bg-card);
  box-shadow: var(--shadow-card);
  font-size: .9rem;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg-2); }
::-webkit-scrollbar-thumb { background: var(--c-border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-text-dim); }

/* ── Selection ────────────────────────────────────────────── */
::selection { background: rgba(201,168,76,.25); color: var(--c-text); }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .5; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-fadeUp { animation: fadeUp .6s var(--ease) both; }
.animate-fadeIn { animation: fadeIn .4s var(--ease) both; }

[data-anim] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-anim].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --sp-6: 20px; --sp-7: 32px; --sp-8: 48px; }
  .container { padding: 0 var(--sp-4); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: var(--sp-8) 0; }
}
