/* ============================================
   base.css — Typography, Global Utilities v4
   Crazy Agency | NO GRADIENTS — Solid only
   ============================================ */

/* --- Gradient Text — REMOVED, now solid dark --- */
.gradient-text {
  color: var(--text-primary);
  font-weight: 800;
}

/* --- Logo --- */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--text-primary);   /* Solid dark — NO gradient */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--text-primary);
  white-space: nowrap;
}

/* --- Section Tags (Eyebrow) --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-muted);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Section Header Block --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--title-section);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-sub {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* --- Language Switcher --- */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px;
  gap: 1px;
}

.lang-btn {
  padding: 4px 9px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.07em;
  line-height: 1;
}

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

/* Active lang button — solid dark, NO gradient */
.lang-btn.active {
  background: var(--text-primary);
  color: #fff;
  border-radius: 3px;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================
   CUSTOM CURSOR — magnetic ring (desktop only, js/cursor-ring.js)
   Approach A: mix-blend-mode auto-inverts against any background
   Approach B: .cursor-light forces pure white on known-dark surfaces
   ============================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform, left, top;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity .2s, width .25s, height .25s, background-color .2s, border-color .2s;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: #FFFFFF;
  z-index: 99999;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid #FFFFFF;
  background-color: transparent;
  z-index: 99998;
}

.cursor-ring.cursor-hover {
  background-color: rgba(255, 255, 255, .12);
}

/* Approach B — guaranteed pure-white cursor over footer / dark panels /
   modal & lightbox backdrops, bypassing the blend-mode calculation */
.cursor-dot.cursor-light,
.cursor-ring.cursor-light {
  mix-blend-mode: normal;
}
.cursor-dot.cursor-light { background-color: #FFFFFF; }
.cursor-ring.cursor-light {
  border-color: #FFFFFF;
  background-color: rgba(255, 255, 255, .1);
}
