/* ============================================
   GOMOKU FIVE - Modern Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --color-primary: #1a1a2e;
  --color-primary-light: #16213e;
  --color-accent: #e2b96f;
  --color-accent-hover: #d4a54e;
  --color-accent-light: #f5e6c8;
  --color-secondary: #0f3460;
  --color-highlight: #53a8b6;
  --color-highlight-light: #79c2ce;

  /* Neutrals */
  --color-white: #ffffff;
  --color-off-white: #f8f6f1;
  --color-light-gray: #eee9df;
  --color-mid-gray: #9a9590;
  --color-dark-gray: #4a4543;
  --color-text: #2d2926;
  --color-text-light: #6b6560;

  /* Board Colors */
  --color-board: #dcb35c;
  --color-board-dark: #c49a3c;
  --color-stone-black: #1a1a1a;
  --color-stone-white: #f0f0f0;

  /* Layout */
  --max-width: 1200px;
  --content-width: 800px;
  --nav-height: 64px;
  --section-padding: 80px;

  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--content-width);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav__logo:hover {
  color: var(--color-accent);
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--color-white);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--color-accent);
  color: var(--color-primary) !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav__cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(226, 185, 111, 0.3);
}

.nav__cta::after {
  display: none !important;
}

/* Mobile Nav */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* Language Switcher */
.nav__lang {
  position: relative;
}

.nav__lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav__lang-btn:hover {
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
}

.nav__lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-base);
  z-index: 100;
}

.nav__lang:hover .nav__lang-dropdown,
.nav__lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: var(--color-text);
  font-size: 0.9rem;
  border-radius: 6px;
  transition: background var(--transition-fast);
}

.nav__lang-dropdown a:hover {
  background: var(--color-light-gray);
  color: var(--color-text);
}

.nav__lang-dropdown a.active {
  background: var(--color-accent-light);
  color: var(--color-primary);
  font-weight: 600;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 40%, var(--color-secondary) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__text {
  color: var(--color-white);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(226, 185, 111, 0.15);
  border: 1px solid rgba(226, 185, 111, 0.3);
  border-radius: 50px;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero__title span {
  background: linear-gradient(135deg, var(--color-accent), var(--color-highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__stat {
  text-align: left;
}

.hero__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* Hero Board Visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__board {
  width: 420px;
  height: 420px;
  background: linear-gradient(145deg, #dcb35c, #c49a3c);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), 0 0 80px rgba(226, 185, 111, 0.2);
  position: relative;
  overflow: hidden;
}

.hero__board::before {
  content: '';
  position: absolute;
  inset: 20px;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent calc(100% / 14 - 1px), #8B6914 calc(100% / 14 - 1px), #8B6914 calc(100% / 14)),
    repeating-linear-gradient(90deg, transparent, transparent calc(100% / 14 - 1px), #8B6914 calc(100% / 14 - 1px), #8B6914 calc(100% / 14));
  opacity: 0.3;
}

.hero__board-stones {
  position: absolute;
  inset: 20px;
}

.hero__stone {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero__stone--black {
  background: radial-gradient(circle at 35% 35%, #4a4a4a, #1a1a1a);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero__stone--white {
  background: radial-gradient(circle at 35% 35%, #ffffff, #d0d0d0);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Floating decorative elements */
.hero__float {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.hero__float--1 {
  width: 200px;
  height: 200px;
  background: var(--color-accent);
  top: -40px;
  right: -60px;
  animation-delay: 0s;
}

.hero__float--2 {
  width: 120px;
  height: 120px;
  background: var(--color-highlight);
  bottom: 40px;
  left: -30px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226, 185, 111, 0.3);
}

.btn--secondary {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* --- Section --- */
.section {
  padding: var(--section-padding) 0;
}

.section--gray {
  background: var(--color-light-gray);
}

.section--dark {
  background: var(--color-primary);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

.section--dark p {
  color: rgba(255,255,255,0.7);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section__label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section__title {
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.feature-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Games Grid --- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.game-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--transition-base);
  text-decoration: none;
  display: block;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.game-card__preview {
  height: 160px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.game-card__body {
  padding: 20px;
}

.game-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.game-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.game-card__tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-accent-light);
  color: var(--color-accent-hover);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  margin-top: 10px;
}

/* --- Article Cards --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--transition-base);
  text-decoration: none;
  display: block;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.article-card__img {
  height: 200px;
  background: linear-gradient(135deg, var(--color-board), var(--color-board-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.3);
}

.article-card__body {
  padding: 24px;
}

.article-card__category {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.article-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.article-card__excerpt {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-light-gray);
  font-size: 0.8rem;
  color: var(--color-mid-gray);
}

/* --- Content Page --- */
.page-header {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  text-align: center;
}

.page-header__title {
  color: var(--color-white);
  margin-bottom: 16px;
}

.page-header__desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-header__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.page-header__breadcrumb a {
  color: rgba(255,255,255,0.5);
}

.page-header__breadcrumb a:hover {
  color: var(--color-accent);
}

.page-header__breadcrumb span {
  color: rgba(255,255,255,0.3);
}

.page-header__breadcrumb .current {
  color: rgba(255,255,255,0.8);
}

/* Article Content */
.content {
  padding: 60px 0 var(--section-padding);
}

.content__body {
  max-width: var(--content-width);
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.content__body h2 {
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-light-gray);
}

.content__body h3 {
  margin-top: 36px;
  margin-bottom: 16px;
}

.content__body p {
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.content__body ul, .content__body ol {
  margin-bottom: 1.25rem;
}

.content__body li {
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.content__body blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--color-accent-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--color-dark-gray);
}

.content__body .info-box {
  background: linear-gradient(135deg, #e8f4f8, #d1ecf1);
  border: 1px solid #b8daff;
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}

.content__body .info-box h4 {
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.content__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.content__body th {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.content__body td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-light-gray);
  font-size: 0.95rem;
}

.content__body tr:last-child td {
  border-bottom: none;
}

/* Table of Contents */
.toc {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.toc__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.toc ol {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.toc li {
  margin-bottom: 6px;
  color: var(--color-text-light);
}

.toc a {
  color: var(--color-secondary);
  font-size: 0.95rem;
}

.toc a:hover {
  color: var(--color-accent);
}

/* --- FAQ --- */
.faq-list {
  max-width: var(--content-width);
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast);
}

.faq-item__question:hover {
  background: var(--color-off-white);
}

.faq-item__icon {
  font-size: 1.2rem;
  color: var(--color-accent);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding: 0 24px 20px;
  color: var(--color-text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- CTA Section --- */
.cta {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.cta__title {
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta__desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  max-width: 300px;
  margin-top: 16px;
}

.footer__heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.3);
}

.footer__lang-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__lang-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

.footer__lang-links a:hover {
  color: var(--color-accent);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-primary);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .nav__lang {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn--lg {
    width: 100%;
  }
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
