/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── DESIGN TOKENS ─── */
:root {
  --brand-1: #2347E8;
  --brand-2: #4F73F0;
  --brand-3: #6B8FE8;
  --accent: #F59E0B;
  --dark: #090D1E;
  --dark-2: #0E1630;
  --dark-3: #141E3A;
  --text: #D6DCF3;
  --text-muted: #7A8BB5;
  --white: #FFFFFF;
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
  --radius: 16px;
  --shadow: 0 8px 40px rgba(35,71,232,0.22);
}

/* ─── BASE ─── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans Khmer', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── NOISE TEXTURE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ─── NAVBAR LOGO (shared) ─── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo .logo-icon {
  height: 36px;
  width: auto;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 3px 6px;
}

.nav-logo .logo-icon img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-logo .logo-text {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.1;
}

.nav-logo .logo-text span {
  display: block;
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
