/* ===================================
   YawoNyonato.com — Global Design System
   =================================== */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root {
  /* Colors */
  --bg: #eef0f6;
  --bg-white: #ffffff;
  --bg-dark: #0f0f0f;
  --bg-dark-card: #1a1a1a;
  --text: #0d0d0d;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --blue: #3b5bdb;
  --blue-light: #4c6ef5;
  --blue-bg: #eef2ff;
  --green: #2f9e44;
  --green-bg: #ebfbee;
  --orange: #d9480f;
  --orange-bg: #fff4e6;
  --border: #dde1ec;
  --border-card: #e5e8f0;
  --border-dark: #2a2a2a;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 4px 16px rgba(0,0,0,.07);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.10);

  /* Radii */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  /* Typography */
  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;

  /* Layout */
  --max-w: 1140px;
  --nav-h: 70px;
}

html { scroll-behavior: smooth }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none }
img { display: block; max-width: 100% }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238,240,246,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08) }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s;
}
.logo:hover { opacity: .88 }

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue) 0%, #1e3a8a 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(59, 91, 219, 0.22);
  flex-shrink: 0;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .06em;
  color: var(--text);
  text-transform: uppercase;
}

.logo-sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--blue);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--text-muted);
  border-radius: 7px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.7) }
.nav-links a.active { color: var(--blue); font-weight: 600 }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ── LANGUAGE SWITCHER ── */
.lang-switcher-wrap {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
}
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 3px 4px;
  border-radius: 20px;
  gap: 2px;
}
.navbar.scrolled .lang-switcher {
  background: rgba(0, 0, 0, 0.05);
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}
.lang-btn:hover {
  color: var(--text);
}
.lang-btn.active {
  background: var(--blue);
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(59, 91, 219, 0.35);
}
.lang-divider {
  font-size: 10px;
  color: rgba(0, 0, 0, 0.2);
  user-select: none;
}
@media (max-width: 900px) {
  .lang-switcher-wrap {
    margin-left: auto;
    margin-right: 12px;
  }
}

/* ── SECTION UTILITIES ── */
.section-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-tag.dim { color: #444 }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -.015em;
}
.section-title.light { color: #fff }
.section-head { margin-bottom: 48px }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: #fff;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .18s, box-shadow .2s;
}
.btn-primary:hover { background: #1a1a2e; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.18) }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s, gap .18s;
}
.btn-link:hover { color: var(--text); gap: 10px }

/* ── AVATAR FALLBACK ── */
.avatar-fallback {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue-bg);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

/* ── TAGS ── */
.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 100px;
  letter-spacing: .02em;
}
.tag-blue { background: var(--blue-bg); color: var(--blue) }
.tag-green { background: var(--green-bg); color: var(--green) }
.tag-orange { background: var(--orange-bg); color: var(--orange) }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-dark);
  color: #6b7280;
  padding: 72px 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #222;
  margin-bottom: 32px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
}
.footer-logo .logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, #3b5bdb 0%, #1d4ed8 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(59, 91, 219, 0.4);
  flex-shrink: 0;
}
.footer-logo .logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.footer-logo .logo-name {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-logo .logo-sub {
  color: #93c5fd;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 2px;
}
.footer-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 20px;
}
.footer-socials { display: flex; gap: 9px }
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.social-btn:hover { background: var(--blue); color: #fff }
.footer-col-title {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; list-style: none }
.footer-links a { font-size: 13px; color: #555; transition: color .2s }
.footer-links a:hover { color: #fff }
.footer-avail {
  font-size: 12px;
  color: #333;
  line-height: 1.6;
  margin-top: 14px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #3a3a3a;
}

/* ── REVEAL ANIMATIONS ── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px) }
  to   { opacity: 1; transform: translateY(0) }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px) }
  to   { opacity: 1; transform: translateY(0) }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px) }
  to   { opacity: 1; transform: translateX(0) }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0) }
.reveal-d1 { transition-delay: .1s }
.reveal-d2 { transition-delay: .2s }
.reveal-d3 { transition-delay: .3s }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root { --nav-h: 64px }
  .nav-links { display: none }
  .nav-toggle { display: flex }
  .footer-top { grid-template-columns: 1fr; gap: 28px }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center }
}
@media (max-width: 480px) {
  .container { padding: 0 20px }
}

[id] { scroll-margin-top: 84px }
