/* ==========================================================================
   Galatea-Link Landing Page - Modern Cyberpunk & Tech Glassmorphism Styles
   ========================================================================== */

:root {
  --bg-dark: #09090f;
  --bg-card: rgba(22, 22, 34, 0.7);
  --bg-card-hover: rgba(30, 30, 48, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(139, 92, 246, 0.4);
  
  --primary: #8b5cf6;
  --primary-gradient: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  --cyber-cyan: #06b6d4;
  --neon-emerald: #10b981;
  --amber-gold: #f59e0b;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --shadow-glow: 0 10px 40px -10px rgba(139, 92, 246, 0.35);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Lights */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
}

.glow-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #0891b2 0%, transparent 70%);
  top: 40%;
  right: -100px;
}

.cyber-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Navigation Bar */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(9, 9, 15, 0.75);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.author-link {
  color: var(--primary);
}

.github-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.github-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.star-badge {
  font-size: 0.75rem;
  padding: 2px 7px;
  background: rgba(139, 92, 246, 0.25);
  color: #c4b5fd;
  border-radius: var(--radius-full);
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 1.5rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-size: 0.8rem;
  font-weight: 600;
  color: #c4b5fd;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.badge-version {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.hero-logo-box {
  position: relative;
  margin-bottom: 1.75rem;
}

.logo-backdrop-aura {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  z-index: 0;
}

.hero-app-logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  object-fit: cover;
  position: relative;
  z-index: 1;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.7), 0 0 20px rgba(139, 92, 246, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.15);
  animation: float-slow 4s ease-in-out infinite alternate;
}

@keyframes float-slow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  max-width: 800px;
}

.text-gradient {
  background: linear-gradient(135deg, #c084fc 0%, #60a5fa 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 660px;
  margin-bottom: 2.75rem;
}

/* Download Hub Card */
.download-hub-card {
  width: 100%;
  max-width: 720px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}

.channel-selector-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.channel-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c4b5fd;
}

.channel-toggle-group {
  display: flex;
  background: rgba(0, 0, 0, 0.45);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 4px;
  width: 100%;
}

.channel-btn {
  flex: 1;
  min-width: 120px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.channel-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.channel-btn.active {
  background: rgba(139, 92, 246, 0.3);
  color: #fff;
  border: 1px solid rgba(139, 92, 246, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tag-recommend {
  font-size: 0.65rem;
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
  padding: 1px 5px;
  border-radius: 4px;
}

/* Download CTA Row */
.download-cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.cta-download-btn {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--primary-gradient);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: #fff;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.cta-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 45px -5px rgba(139, 92, 246, 0.5);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-icon-wrapper {
  background: rgba(0, 0, 0, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
}

.btn-content {
  flex: 1;
  text-align: left;
}

.btn-primary-text {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn-sub-text {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

.btn-arrow {
  margin-left: 10px;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.cta-download-btn:hover .btn-arrow {
  transform: translateY(3px);
  opacity: 1;
}

.qr-trigger-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  padding: 0 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qr-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.download-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.meta-dot.green { background: #10b981; box-shadow: 0 0 6px #10b981; }
.meta-dot.blue { background: #06b6d4; box-shadow: 0 0 6px #06b6d4; }
.meta-dot.purple { background: #8b5cf6; box-shadow: 0 0 6px #8b5cf6; }

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Resources & Models Section */
.resources-section {
  padding: 3.5rem 1.5rem;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.resource-card {
  background: rgba(22, 22, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s ease;
  position: relative;
}

.resource-card:hover {
  background: rgba(30, 30, 48, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.resource-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.resource-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-icon-box.cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.resource-icon-box.purple {
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.resource-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.res-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.res-tag.required {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.res-tag.purple {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.res-tag.baseline {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.res-source-link {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.res-source-link:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.resource-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.resource-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.resource-actions {
  margin-top: auto;
}

.res-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #67e8f9;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.res-download-btn:hover {
  background: #06b6d4;
  color: #fff;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35);
  transform: translateY(-1px);
}

.res-guide-tip {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  text-align: center;
}

/* ==========================================================================
   GKG Multi-Version Models List Component (Enhanced Contrast & Solid Mobile)
   ========================================================================== */

.gkg-models-container {
  margin-top: 0.75rem;
  margin-bottom: 0.85rem;
  background: rgba(14, 14, 24, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.gkg-models-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gkg-header-label {
  font-weight: 700;
  display: flex;
  align-items: center;
  color: #c4b5fd;
}

.gkg-sync-status {
  font-size: 0.75rem;
  color: #34d399;
  font-weight: 600;
}

.gkg-models-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.gkg-model-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  background: rgba(26, 26, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gkg-model-item:hover {
  background: rgba(34, 34, 58, 1);
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-1px);
}

.gkg-model-item.is-recommended {
  border-left: 4px solid #10b981;
  background: rgba(18, 32, 34, 0.95);
  border-color: rgba(16, 185, 129, 0.4);
  border-left-color: #10b981;
}

.model-info-block {
  flex: 1;
  min-width: 0;
}

.model-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0.4rem;
}

.model-filename {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  word-break: break-all;
}

.model-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
}

.model-badge.recommend {
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.5);
}

.model-badge.protocol {
  background: rgba(139, 92, 246, 0.25);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.5);
}

.model-badge.epoch {
  background: rgba(6, 182, 212, 0.25);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.5);
}

.model-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #9ca3af;
  flex-wrap: wrap;
}

.dot-sep {
  opacity: 0.4;
}

.model-action-block {
  flex-shrink: 0;
}

.model-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
  white-space: nowrap;
}

.model-download-btn:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #4f46e5 100%);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.55);
  transform: translateY(-1px);
  color: #ffffff;
}

/* Bento Grid Features Section */
.features-section {
  padding: 3.5rem 1.5rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.bento-card.col-span-2 {
  grid-column: span 2;
}

.card-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon-box.violet {
  background: rgba(139, 92, 246, 0.15);
  color: #a855f7;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.card-icon-box.cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.card-icon-box.amber {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.card-icon-box.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-tag-row {
  display: flex;
  gap: 8px;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.feature-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

/* Guide Steps Section */
.guide-section {
  padding: 3.5rem 1.5rem;
}

.guide-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.guide-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Changelog Section */
.changelog-section {
  padding: 3.5rem 1.5rem 5rem;
}

.changelog-timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid rgba(255, 255, 255, 0.08);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.25rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 1.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  transform: translateX(-5px);
  box-shadow: 0 0 10px var(--primary);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.version-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
}

.release-date {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.status-pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.status-pill.green {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-pill.purple {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.release-notes-list {
  padding-left: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.release-notes-list li {
  margin-bottom: 0.35rem;
}

/* QR Code Modal */
.qr-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  padding: 1.5rem;
}

.qr-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.qr-modal-dialog {
  background: #13131f;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 380px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.qr-modal-backdrop.open .qr-modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.modal-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.qr-icon-circle {
  width: 48px;
  height: 48px;
  background: rgba(139, 92, 246, 0.15);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.modal-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.qr-code-box {
  background: #fff;
  padding: 12px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.qr-img {
  width: 180px;
  height: 180px;
  display: block;
}

.modal-link-copy {
  display: flex;
  gap: 8px;
}

.modal-link-copy input {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  outline: none;
}

.copy-btn {
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 12px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  opacity: 0.9;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  background: rgba(0, 0, 0, 0.3);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left {
  max-width: 480px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.footer-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--text-main);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Responsive Styles (Optimized for Mobile Viewing & Touch Targets)
   ========================================================================== */

@media (max-width: 840px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .resources-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.col-span-2 {
    grid-column: span 1;
  }
  .guide-steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
  }
  .footer-right {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .hero-section {
    padding-top: 2.5rem;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }
  .channel-btn {
    min-width: 45%;
    font-size: 0.75rem;
    padding: 6px 8px;
  }
  .download-cta-row {
    flex-direction: column;
  }
  .qr-trigger-btn {
    display: none;
  }
  .download-meta-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Mobile GKG Item Card */
  .gkg-model-item {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.75rem;
  }
  .model-name-row {
    margin-bottom: 0.5rem;
  }
  .model-meta-row {
    margin-bottom: 0.75rem;
  }
  .model-action-block {
    width: 100%;
  }
  .model-download-btn {
    width: 100%;
    padding: 11px 16px;
    font-size: 0.85rem;
    justify-content: center;
  }
}
