/* ==========================================================================
   Celestial Fundraising Website — Stylesheet
   Warm cartoon style, mobile-first, responsive
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* --- Design Tokens --- */
:root {
  /* Warm palette */
  --color-primary: #C2410C;      /* warm orange — WCAG AA on white (5.18:1) */
  --color-primary-dark: #A8350A; /* darker orange — hover (6.61:1) */
  --color-secondary: #F7B801;    /* golden yellow — decorative only, not behind text */
  --color-accent: #0E7C7B;       /* teal green — WCAG AA on white (5.01:1) */
  --color-accent-dark: #0A5C5B;  /* darker teal — hover (7.79:1) */
  --color-bg: #FFF8F0;           /* warm off-white */
  --color-bg-alt: #FFF0E0;       /* slightly warmer */
  --color-card: #FFFFFF;
  --color-text: #2D1B0E;         /* warm dark brown */
  --color-text-muted: #6B5544;
  --color-border: #E8D5C4;
  --color-success: #4CAF50;
  --color-danger: #E53935;

  /* Typography */
  --font-en: 'Inter', 'Poppins', 'Nunito', system-ui, sans-serif;
  --font-cn: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
             'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-mono: 'Fira Code', 'Cascadia Code', Consolas, monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 64px;
}

/* --- Base --- */
body {
  font-family: var(--font-en), var(--font-cn);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

[lang="zh-hans"] body, [lang="zh-hant"] body {
  font-family: var(--font-cn), var(--font-en);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* ==========================================================================
   S-01: Top Navigation
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-text);
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-text small {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.nav-links {
  display: none;
  list-style: none;
  gap: var(--space-lg);
}

.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.currency-switcher {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 4px 12px 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%236B5544'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 22px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.currency-switcher:hover {
  border-color: var(--color-primary);
}

.currency-switcher:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(194, 65, 12, 0.2);
}

.lang-switcher {
  display: flex;
  gap: 2px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-switcher a {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}

.lang-switcher a.active {
  background: var(--color-primary);
  color: #fff;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md);
  z-index: 99;
  box-shadow: var(--shadow-md);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-menu a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

/* ==========================================================================
   S-02: Hero Section
   ========================================================================== */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  padding: var(--space-xl) var(--space-md);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 124, 123, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

/* S02-01: Philosophy paragraph — smooth, readable, centered */
.hero-philosophy {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* S02-02: Bridge sentence — transitions from philosophy to product */
.hero-bridge {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.hero-brand-tag {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: var(--space-xs);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.5px;
}

/* S02-04: Subtitle */
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   S-03: Fundraising Progress Bar
   ========================================================================== */
.progress-section {
  background: var(--color-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.progress-bars {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.progress-item {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.progress-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-sm);
}

.progress-item-label {
  font-weight: 700;
  font-size: 1rem;
}

.progress-item-amount {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.progress-item-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
}

.progress-pct {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  opacity: 0.85;
}

.progress-bar-track {
  width: 100%;
  height: 24px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  min-width: 0;
}

.progress-bar-fill.donation {
  /* Orange-only gradient: white % text sits at the right (dark-orange) end, passes WCAG AA */
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
}

.progress-bar-fill.sales {
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
}

.progress-bar-fill.total {
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
}

.progress-target-line {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  border-left: 2px dashed var(--color-text-muted);
  z-index: 2;
}

.progress-target-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-align: right;
  margin-top: 2px;
}

.progress-updated {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-md);
}

/* ==========================================================================
   S-04: Why Support Us
   ========================================================================== */
.why-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.why-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.why-card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.why-card-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.why-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.why-quote {
  text-align: center;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text-muted);
  margin-top: var(--space-xl);
  padding: 0 var(--space-md);
}

/* ==========================================================================
   S-05: SQL Product Showcase
   ========================================================================== */
.product-section {
  background: var(--color-bg-alt);
}

.product-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.product-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.product-name {
  font-size: 1.5rem;
  font-weight: 800;
}

.product-tagline {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge.live {
  background: rgba(76, 175, 80, 0.15);
  color: #1B5E20;   /* green-900 — WCAG AA on the light green tint (6.84:1) */
}

.status-badge.beta {
  background: rgba(255, 152, 0, 0.15);
  color: #9A4906;   /* dark amber — WCAG AA on the light amber tint (5.62:1) */
}

.product-screenshots {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
}

.product-screenshots img {
  width: 200px;
  height: auto;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

.screenshot-placeholder {
  width: 200px;
  height: 360px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  flex-shrink: 0;
}

.product-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.product-features li {
  font-size: 0.9rem;
  padding: var(--space-xs) 0;
}

.product-download {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.price-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-left: var(--space-sm);
}

/* ==========================================================================
   S-06: Donation Tiers
   ========================================================================== */
.tiers-section {
  background: var(--color-card);
}

.inheritance-rule {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  border-left: 4px solid var(--color-accent);
}

.tiers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.tier-card {
  background: var(--color-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.tier-card.featured {
  border-color: var(--color-secondary);
  background: linear-gradient(180deg, #FFFEF5, var(--color-card));
}

.tier-icon {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
}

.tier-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.tier-amount {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.cad-note {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-left: 4px;
}

.tier-limited {
  display: inline-block;
  background: rgba(229, 57, 53, 0.1);
  color: var(--color-danger);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.tier-perks {
  list-style: none;
  flex-grow: 1;
  margin-bottom: var(--space-md);
}

.tier-perks li {
  font-size: 0.85rem;
  padding: 3px 0;
  padding-left: 20px;
  position: relative;
}

.tier-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.tier-cta {
  margin-top: auto;
}

/* --- Platform Links --- */
.platform-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.platform-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid var(--color-border);
}

.platform-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.platform-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.platform-fee {
  font-size: 0.75rem;
  color: var(--color-accent-dark);
  font-weight: 600;
}

.fee-prompt {
  background: rgba(247, 184, 1, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-top: var(--space-lg);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
  border: 1px dashed var(--color-secondary);
}

/* ==========================================================================
   S-07: Vote Section
   ========================================================================== */
.vote-section {
  background: var(--color-bg-alt);
}

.vote-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.vote-card {
  background: var(--color-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: border-color 0.2s ease;
}

.vote-card:hover {
  border-color: var(--color-accent);
}

.vote-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.vote-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.vote-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.vote-card-other {
  background: var(--color-bg-alt);
  border: 2px dashed var(--color-accent);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vote-card-other:hover {
  border-color: var(--color-primary);
  background: var(--color-bg);
}

.vote-card-other .vote-icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ==========================================================================
   S-08: FAQ
   ========================================================================== */
.faq-section {
  background: var(--color-card);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: var(--space-md) 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  font-family: inherit;
}

.faq-question::after {
  content: '▼';
  font-size: 0.75rem;
  color: var(--color-text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-question.active::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-answer.open {
  max-height: 500px;
  padding-bottom: var(--space-md);
}

/* ==========================================================================
   S-09: Game Vision
   ========================================================================== */
.game-vision-section {
  background: var(--color-bg-alt);
}

.vision-principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.vision-card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  border: 1px solid var(--color-border);
}

.vision-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.vision-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.vision-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   S-10: Footer
   ========================================================================== */
.footer {
  background: var(--color-text);
  color: #fff;
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer .container {
  text-align: center;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: #fff;
}

.footer-donations {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.footer-donations a {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-donations a:hover {
  color: #fff;
}

.footer-blogs {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.footer-blogs a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-blogs a:hover {
  color: #fff;
}

.footer-email {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
}

.footer-email a {
  color: var(--color-secondary);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-sm);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-lang {
  margin-top: var(--space-md);
  display: flex;
  justify-content: center;
}

.footer-lang .lang-switcher {
  background: rgba(255, 255, 255, 0.1);
}

.footer-lang .lang-switcher a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-lang .lang-switcher a.active {
  background: var(--color-primary);
  color: #fff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet: 640px+ */
@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }

  .progress-bars {
    grid-template-columns: 1fr 1fr;
  }

  .progress-bars .progress-item:last-child {
    grid-column: 1 / -1;
  }

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

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

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

  .platform-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .vote-cards {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .progress-bars {
    grid-template-columns: repeat(3, 1fr);
  }

  .progress-bars .progress-item:last-child {
    grid-column: auto;
  }

  .why-cards {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .tiers-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .vote-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .vision-principles {
    grid-template-columns: repeat(5, 1fr);
  }

  .section-title {
    font-size: 2.25rem;
  }
}

/* Large desktop: 1280px+ */
@media (min-width: 1280px) {
  .tiers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
