/* =========================================
   🎨 CORE VARIABLES (Ultra Premium Dark)
   ========================================= */
:root {
  --bg-solid: #050507;
  --card-bg-start: rgba(255, 255, 255, 0.04);
  --card-bg-end: rgba(255, 255, 255, 0.01);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-dark: rgba(255, 255, 255, 0.04);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --brand: #6c4dff;
  --brand-glow: rgba(108, 77, 255, 0.4);
  --neon-blue: #3ceeff;
  --danger: #ff4757;
}

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

body {
  font-family: 'Manrope', sans-serif;
  background-color: var(--bg-solid);
  background-image: radial-gradient(circle at 50% 0%, #171527 0%, var(--bg-solid) 60%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

/* Lock body scroll when mobile menu open */
body.menu-open { overflow: hidden; }

/* =========================================
   📱 CONTAINERS & LAYOUT
   ========================================= */
.max-900 { max-width: 900px; margin: 0 auto; padding: 0 24px; width: 100%; }
.max-1200 { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
.section { padding: clamp(60px, 10vw, 120px) 0; }

/* =========================================
   💎 TYPOGRAPHY
   ========================================= */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; color: #ffffff; }
h1 { font-size: clamp(32px, 6vw, 56px); font-weight: 800; margin-bottom: 24px; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; }
h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
p { color: var(--text-muted); font-size: clamp(16px, 2vw, 18px); margin-bottom: 24px; font-weight: 500; }

.party-highlight {
  color: var(--neon-blue);
  text-shadow: 0 0 20px rgba(60, 238, 255, 0.4);
  font-weight: 800;
}

/* =========================================
   🪟 CARDS (Glassmorphism 3.0)
   ========================================= */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.card, .quiz-shell, .vip-card {
  background: linear-gradient(180deg, var(--card-bg-start) 0%, var(--card-bg-end) 100%);
  border: 1px solid var(--border-dark);
  border-top: 1px solid var(--border-light);
  border-radius: 24px;
  padding: clamp(30px, 5vw, 50px);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 77, 255, 0.3);
  border-top-color: rgba(108, 77, 255, 0.6);
  box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.6), 0 0 30px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* =========================================
   🚀 NAVIGATION & HEADER
   ========================================= */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 40px; background: rgba(5, 5, 7, 0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark); position: sticky; top: 0; z-index: 1000;
}

.logo { font-size: 22px; font-weight: 800; color: #fff; text-decoration: none; position: relative; z-index: 1002; }
.nav-wrapper { display: flex; align-items: center; gap: 32px; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 14px; transition: 0.2s; }
.nav a:hover, .nav a.active { color: #fff; }

.desktop-only { display: inline-flex !important; }
.menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1002; border: none; background: transparent; padding: 5px; }
.menu-toggle span { width: 28px; height: 2px; background-color: #fff; transition: 0.3s; border-radius: 2px; }

/* Перемикач мов */
.lang-switch { display: flex; gap: 4px; background: rgba(255,255,255,0.03); padding: 4px; border-radius: 12px; border: 1px solid var(--border-dark); position: relative; z-index: 1002; }
.lang-switch button { background: transparent; border: none; font-family: inherit; font-size: 13px; font-weight: 700; color: var(--text-muted); cursor: pointer; padding: 6px 14px; border-radius: 8px; transition: 0.3s; }
.lang-switch button.active { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* =========================================
   🎡 MARQUEE ANIMATION (CSS-ONLY)
   ========================================= */
.marquee-container {
  overflow: hidden;
  width: 100%;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 30px 0;
  position: relative;
  white-space: nowrap;
}

.marquee-container::before, .marquee-container::after {
  content: ''; position: absolute; top: 0; width: 80px; height: 100%; z-index: 2; pointer-events: none;
}
.marquee-container::before { left: 0; background: linear-gradient(to right, var(--bg-solid), transparent); }
.marquee-container::after { right: 0; background: linear-gradient(to left, var(--bg-solid), transparent); }

.marquee-track {
  display: inline-flex;
  align-items: center;
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll-marquee 60s linear infinite;
}

.marquee-logos {
  display: inline-flex;
  align-items: center;
  gap: 50px;
  padding-right: 50px;
  font-weight: 800;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
  flex-wrap: nowrap;
}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================
   🔘 TACTILE BUTTONS (FIXED CENTERING)
   ========================================= */
.btn-main, .cta-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
  color: #0f172a !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  border-radius: 14px;
  padding: 18px 36px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(255,255,255,0.1), inset 0 -3px 0 rgba(0,0,0,0.1);
}

.btn-main:hover, .cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.25), inset 0 -3px 0 rgba(0,0,0,0.1);
}

.btn-outline, .cta-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: transparent;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  border-radius: 14px;
  padding: 16px 32px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: 0.3s;
}

.btn-outline:hover, .cta-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.3);
}

/* =========================================
   📱 FLAWLESS MOBILE ADAPTIVE
   ========================================= */
@media screen and (max-width: 768px) {
  /* Шапка */
  .topbar { padding: 12px 20px; }
  .logo { font-size: 20px; }
  .nav-wrapper { gap: 15px; }

  .desktop-only { display: none !important; }
  .menu-toggle { display: flex !important; }

  /* Мобільне меню на весь екран */
  .nav {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(5, 5, 7, 0.98); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 40px;
    padding-top: 50px;
    opacity: 0; pointer-events: none; transition: 0.3s ease; z-index: 1001;
  }
  .nav.active { opacity: 1; pointer-events: all; }

  /* Лінки меню */
  .nav a { font-size: 28px; font-weight: 800; letter-spacing: 1px; color: #fff; }

  /* Кнопка Аудит в меню */
  .nav a.btn-main {
    display: flex !important;
    width: calc(100% - 48px);
    max-width: 300px;
    margin-top: 40px;
    padding: 22px;
    font-size: 18px;
  }

  /* Анімація гамбургера в хрестик */
  .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* Загальні відступи */
  .max-900, .max-1200 { padding: 0 16px; }
  .section { padding: 60px 0; }

  h1 { font-size: 32px; }
  h2 { font-size: 26px; }

  /* Сітка та картки */
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .card, .quiz-shell, .vip-card { padding: 25px 20px; border-radius: 20px; }

  /* Кнопки на всю ширину (текст залишиться по центру завдяки display: inline-flex і justify-content: center) */
  .btn-main, .cta-primary, .btn-outline, .cta-secondary { width: 100%; }

  /* Специфічний фікс для Футера */
  .footer-inner { flex-direction: column; gap: 30px; text-align: center; }
}
/* =========================================
   🧠 QUIZ OPTIONS BUTTONS (ФІКС КНОПОК КВІЗУ)
   ========================================= */
/* Націлюємося на всі кнопки варіантів відповідей всередині квізу */
.quiz-shell button,
#quiz-options button,
.quiz-option {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
  padding: 16px 24px !important;
  margin-bottom: 12px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  line-height: 1.3 !important;
}

.quiz-shell button:hover,
#quiz-options button:hover,
.quiz-option:hover {
  background: rgba(108, 77, 255, 0.15) !important;
  border-color: var(--brand) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(108, 77, 255, 0.2) !important;
}

.quiz-shell button.selected,
#quiz-options button.selected,
.quiz-option.selected {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 0 20px rgba(108, 77, 255, 0.4) !important;
}


/* ============================================================
   ============================================================
   📦 v2.0 EXTENSIONS — додано 2026-05-02
   Нові класи для нового index.html та статей блогу.
   Не торкається існуючих стилів вище.
   ============================================================
   ============================================================ */

/* =========================================
   ♿ ACCESSIBILITY
   ========================================= */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: #fff;
  color: #0f172a !important;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* =========================================
   🎯 HERO (NEW INDEX)
   ========================================= */
.hero-section {
  text-align: center;
  padding-top: 100px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(60, 238, 255, 0.05);
  border: 1px solid rgba(60, 238, 255, 0.2);
  color: var(--neon-blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 30px;
}

.hero-sub {
  margin-bottom: 32px;
  color: var(--text-muted);
  font-size: 18px;
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.hero-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--role-color);
  background: color-mix(in srgb, var(--role-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--role-color) 30%, transparent);
  transition: 0.2s;
}

.hero-role-pill:hover {
  background: color-mix(in srgb, var(--role-color) 18%, transparent);
  border-color: color-mix(in srgb, var(--role-color) 50%, transparent);
  transform: translateY(-1px);
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.hero-microcopy {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================
   📐 SECTION VARIANTS
   ========================================= */
.section-tight {
  padding-top: 0;
}

.section-bg-alt {
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* =========================================
   📜 MANIFESTO QUOTE
   ========================================= */
.card-manifesto {
  text-align: center;
  border: 1px solid var(--brand-glow);
}

.manifesto-quote {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  font-style: italic;
  margin: 20px 0;
  border: none;
  padding: 0;
}

.manifesto-quote .quote-author,
.quote-author {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* =========================================
   🏷️ CARD TAGS
   ========================================= */
.card-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: 1px;
}
.tag-blue {
  background: rgba(60, 238, 255, 0.1);
  color: var(--neon-blue);
}
.tag-red {
  background: rgba(255, 71, 87, 0.1);
  color: var(--danger);
}

.card-lead {
  font-size: 15px;
}

/* =========================================
   🛠️ TECH STACK CARDS
   ========================================= */
.card-tech {
  padding: 24px !important;
  text-align: center;
}
.card-tech p {
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 0;
}
.tech-blue { color: var(--neon-blue); }
.tech-brand { color: var(--brand); }
.tech-white { color: #fff; }
.tech-title {
  margin-bottom: 0;
}

/* =========================================
   📋 STEP & WAR LISTS (Methodology / Strategy)
   ========================================= */
.step-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 20px;
}
.step-list li {
  margin-bottom: 15px;
  border-left: 2px solid var(--brand);
  padding-left: 15px;
  color: var(--text-muted);
}
.step-list strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.war-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 20px;
}
.war-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
}
.war-list strong { color: #fff; }
.war-icon { color: var(--danger); flex-shrink: 0; }

/* =========================================
   👤 FOUNDER SECTION
   ========================================= */
.founder-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}
.founder-photo {
  flex: 1 1 300px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin: 0;
  max-width: 500px;
}
.founder-photo img {
  width: 100%;
  display: block;
  height: auto;
}
.founder-text {
  flex: 2 1 400px;
}

@media screen and (max-width: 768px) {
  .founder-grid { gap: 30px; }
}

/* =========================================
   ❓ FAQ ACCORDION
   ========================================= */
.faq-item {
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(108, 77, 255, 0.3);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  list-style: none;
  padding-right: 30px;
  position: relative;
  outline: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--brand);
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-item p {
  margin-top: 15px;
  margin-bottom: 0;
  color: var(--text-muted);
}

/* =========================================
   🦶 SITE FOOTER (NEW STRUCTURE)
   ========================================= */
.site-footer {
  border-top: 1px solid var(--border-dark);
  padding: 60px 40px;
  margin-top: 40px;
  background: rgba(0, 0, 0, 0.4);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.footer-brand { flex: 2 1 200px; }
.footer-logo {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 10px;
  color: #fff;
}
.footer-copy {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.footer-nav, .footer-contact {
  flex: 1 1 200px;
}
.footer-title {
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  font-weight: 800;
}
.footer-nav a, .footer-contact a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-contact a:hover {
  color: var(--brand);
}

@media screen and (max-width: 768px) {
  .site-footer { padding: 40px 20px; }
}

/* =========================================
   📰 ARTICLE / BLOG (shu-ha-ri, sun-tzu)
   ========================================= */
.article {
  display: block;
}
.article-header {
  padding-top: 60px;
}
.article-header h1 {
  margin-bottom: 16px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 20px 0 30px;
  color: var(--text-muted);
  font-size: 14px;
}
.article-meta strong { color: #fff; }
.article-sep { color: var(--text-muted); }

.article-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  border-left: 3px solid var(--brand);
  padding-left: 20px;
  margin: 30px 0;
}
.article-lead strong { color: #fff; }

/* =========================================
   📝 PROSE (long-form text in articles)
   ========================================= */
.prose {
  font-size: 16px;
  line-height: 1.7;
}
.prose h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 40px 0 20px;
  color: #fff;
}
.prose h3 {
  font-size: 21px;
  margin: 30px 0 15px;
  color: #fff;
}
.prose p {
  margin-bottom: 18px;
  color: var(--text-muted);
}
.prose strong { color: #fff; }
.prose em { color: #fff; font-style: italic; }
.prose a {
  color: var(--neon-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s;
}
.prose a:hover {
  color: #fff;
}
.prose ul, .prose ol {
  margin: 20px 0 25px;
  padding-left: 25px;
  color: var(--text-muted);
}
.prose ul li, .prose ol li {
  margin-bottom: 12px;
}
.prose blockquote {
  margin: 25px 0;
}

/* =========================================
   🍞 BREADCRUMBS
   ========================================= */
.breadcrumbs {
  padding: 30px 40px 0;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumbs a:hover {
  color: var(--brand);
}
.breadcrumb-sep {
  margin: 0 8px;
  color: var(--brand);
}

@media screen and (max-width: 768px) {
  .breadcrumbs { padding: 20px 16px 0; font-size: 11px; }
}

/* =========================================
   📑 TABLE OF CONTENTS
   ========================================= */
.toc {
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.02);
  margin: 30px 0;
}
.toc-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin: 0 0 15px;
  font-weight: 800;
}
.toc-list {
  padding-left: 20px;
  margin: 0;
  color: var(--text-muted);
}
.toc-list li {
  margin-bottom: 8px;
}
.toc-list a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.toc-list a:hover {
  color: var(--brand);
}

/* =========================================
   🈳 KANJI GRID (Shu-Ha-Ri, Sun Tzu)
   ========================================= */
.kanji-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.kanji-item {
  text-align: center;
  padding: 30px 20px;
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.kanji-item:hover {
  border-color: rgba(108, 77, 255, 0.3);
  transform: translateY(-4px);
}
.kanji-symbol {
  font-size: 64px;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 15px;
  font-weight: 700;
}
.kanji-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.kanji-meaning {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-style: italic;
}
.kanji-stage {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(60, 238, 255, 0.1);
  color: var(--neon-blue);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 700px) {
  .kanji-grid { grid-template-columns: 1fr; }
}

/* =========================================
   💡 CALLOUT BOXES
   ========================================= */
.callout {
  border-left: 3px solid var(--danger);
  background: rgba(255, 71, 87, 0.05);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 25px 0;
  color: var(--text-muted);
}
.callout strong { color: #fff; }
.callout-success {
  border-left-color: var(--brand);
  background: rgba(108, 77, 255, 0.06);
}

/* =========================================
   📊 COMPARISON TABLE
   ========================================= */
.comparison-table {
  overflow-x: auto;
  margin: 30px 0;
  border-radius: 12px;
  border: 1px solid var(--border-dark);
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.01);
}
.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-dark);
  font-size: 14px;
  vertical-align: top;
}
.comparison-table th {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}
.comparison-table td {
  color: var(--text-muted);
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table strong { color: #fff; }

/* =========================================
   🔢 NUMBERED LIST (5 errors)
   ========================================= */
.numbered-list {
  counter-reset: numlist;
  padding-left: 0;
  list-style: none;
  margin: 30px 0;
}
.numbered-list li {
  counter-increment: numlist;
  padding-left: 56px;
  position: relative;
  margin-bottom: 24px;
  color: var(--text-muted);
  line-height: 1.6;
}
.numbered-list li::before {
  content: counter(numlist);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.numbered-list strong { color: #fff; }

/* =========================================
   📣 CTA CARD
   ========================================= */
.card-cta {
  text-align: center;
  border: 1px solid var(--brand-glow);
  background: linear-gradient(180deg, rgba(108, 77, 255, 0.06) 0%, rgba(108, 77, 255, 0.02) 100%);
  padding: clamp(40px, 6vw, 60px) clamp(30px, 5vw, 50px);
}
.card-cta h2 {
  margin-bottom: 15px;
}
.card-cta p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 auto 25px;
  max-width: 540px;
}
.card-cta .hero-microcopy {
  display: block;
  margin-top: 15px;
}

/* =========================================
   🔗 RELATED ARTICLES
   ========================================= */
.card-related {
  text-decoration: none;
  display: block;
  cursor: pointer;
}
.card-related h3 {
  font-size: 18px;
  color: #fff;
  margin: 10px 0 8px;
}
.card-related p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* =========================================
   🎬 REDUCED MOTION (a11y)
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track {
    animation: none !important;
  }
}

/* =========================================
   🔗 CARD LINKS (Methodology / Strategy "Читати повний матеріал")
   ========================================= */
.card-link-wrap {
  margin-top: 20px;
  margin-bottom: 0;
}
.card-link {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.card-link:hover {
  opacity: 0.8;
  transform: translateX(4px);
}
.card-link-blue {
  color: var(--neon-blue);
}
.card-link-red {
  color: var(--danger);
}
/* ============================================================
 * PATCH v3.0 — UA-only architecture
 * Hide language switcher (kept in HTML for future EN expansion)
 * Add this to the END of style.css
 * ============================================================ */

.lang-switch {
  display: none !important;
}

/* If you need to remove space the switcher used to occupy,
   also adjust .nav-wrapper gap if needed */