@import url('https://fonts.googleapis.com/css2?family=ZCOOL+KuaiLe&family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
  --primary: #6B21A8;
  --primary-light: #7C3AED;
  --primary-dark: #4C1D95;
  --accent-gold: #FBBF24;
  --accent-pink: #F9A8D4;
  --accent-blue: #93C5FD;
  --accent-green: #86EFAC;
  --accent-orange: #FDBA74;
  --accent-red: #FCA5A5;
  --bg-dark: #1E1B4B;
  --bg-darker: #0F0A2E;
  --bg-card: #FFFFFF;
  --bg-page: #F5F3FF;
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --text-white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(107, 33, 168, 0.08);
  --shadow-md: 0 4px 16px rgba(107, 33, 168, 0.12);
  --shadow-lg: 0 8px 32px rgba(107, 33, 168, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: 'ZCOOL KuaiLe', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 960px;
  }
}

/* ============ Navigation ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(30, 27, 75, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .nav-inner {
    max-width: 720px;
  }
}

@media (min-width: 1024px) {
  .nav-inner {
    max-width: 960px;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 18px;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.25s ease;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.12);
}

/* ============ Hero Section ============ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(160deg, var(--bg-darker) 0%, var(--bg-dark) 40%, var(--primary) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
  overflow: hidden;
}

.hero-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--duration, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--text-white);
  font-size: 13px;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 12px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent-gold), #F59E0B);
  color: var(--primary-dark);
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
  animation: fadeInUp 0.8s ease 0.6s both;
  border: none;
  cursor: pointer;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(251, 191, 36, 0.5);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============ Section Styles ============ */
.section {
  padding: 60px 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 13px;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--text-primary);
  line-height: 1.3;
}

.section-title .highlight {
  color: var(--primary-light);
}

.section-desc {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto 36px;
}

/* ============ About Section ============ */
.about-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--primary-light), var(--accent-gold));
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.about-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
}

.about-text strong {
  color: var(--text-primary);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #F3F4F6;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--primary-light);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

/* ============ Course Category Cards ============ */
.category-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(124, 58, 237, 0.15);
}

.category-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

.category-icon.body {
  background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
}

.category-icon.cognitive {
  background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
}

.category-icon.game {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
}

.category-info {
  flex: 1;
}

.category-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.category-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.category-arrow {
  color: var(--primary-light);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.category-card:hover .category-arrow {
  transform: translateX(4px);
}

/* ============ Course Cards (on detail pages) ============ */
.course-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.course-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.course-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.12);
}

.course-item-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.course-item-body {
  background: linear-gradient(135deg, #EDE9FE, #C4B5FD);
}

.course-item-cognitive {
  background: linear-gradient(135deg, #DBEAFE, #93C5FD);
}

.course-item-game {
  background: linear-gradient(135deg, #FEF3C7, #FCD34D);
}

.course-item-info {
  flex: 1;
  min-width: 0;
}

.course-item-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.course-item-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-item-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #F5F3FF, #EDE9FE);
  border-radius: 999px;
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

/* ============ Course Detail Page ============ */
.course-hero {
  position: relative;
  padding: 100px 20px 48px;
  text-align: center;
  overflow: hidden;
}

.course-hero.body {
  background: linear-gradient(160deg, #4C1D95 0%, #6B21A8 60%, #7C3AED 100%);
}

.course-hero.cognitive {
  background: linear-gradient(160deg, #1E3A8A 0%, #1E40AF 60%, #3B82F6 100%);
}

.course-hero.game {
  background: linear-gradient(160deg, #92400E 0%, #B45309 60%, #D97706 100%);
}

.course-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
}

.course-hero-content {
  position: relative;
  z-index: 2;
}

.course-hero-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  margin: 0 auto 16px;
  backdrop-filter: blur(8px);
}

.course-hero-title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text-white);
  margin-bottom: 8px;
}

.course-hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 400px;
  margin: 0 auto;
}

.course-hero-back {
  position: absolute;
  top: 80px;
  left: 16px;
  color: var(--text-white);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.course-hero-back:hover {
  background: rgba(255, 255, 255, 0.25);
}

.detail-section {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
}

.detail-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #F3F4F6;
}

.detail-section-title-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.detail-section-body .detail-section-title-icon {
  background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
}

.detail-section-cognitive .detail-section-title-icon {
  background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
}

.detail-section-game .detail-section-title-icon {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
}

/* Flow Steps */
.flow-steps {
  list-style: none;
  position: relative;
  padding-left: 0;
}

.flow-steps::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-light), var(--accent-gold));
}

.flow-step {
  position: relative;
  padding: 0 0 20px 44px;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(107, 33, 168, 0.3);
}

.flow-step-content {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.flow-step-content strong {
  color: var(--text-primary);
}

/* Content blocks */
.content-block {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
}

.content-block p {
  margin-bottom: 12px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.content-block .highlight-text {
  background: linear-gradient(120deg, transparent 0%, #FEF3C7 30%, #FEF3C7 70%, transparent 100%);
  padding: 2px 4px;
  border-radius: 4px;
  color: #92400E;
}

/* Reward Section */
.reward-card {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 2px solid #FDE68A;
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}

.reward-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.reward-text {
  font-size: 14px;
  color: #92400E;
  line-height: 1.7;
}

/* ============ Team Page ============ */
.team-hero {
  padding: 100px 20px 60px;
  text-align: center;
  background: linear-gradient(160deg, var(--bg-darker), var(--primary));
  color: var(--text-white);
}

.team-hero-title {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 12px;
}

.team-hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto;
}

.team-intro {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin: -30px 16px 0;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.team-intro p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
}

.team-intro strong {
  color: var(--primary-light);
}

.team-group {
  margin: 40px 0;
}

.team-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-left: 4px;
}

.team-group-title::before {
  content: '';
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, var(--primary-light), var(--accent-gold));
  border-radius: 2px;
}

.team-group-subtitle {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
  padding-left: 14px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.member-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.member-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.member-card:hover::after {
  opacity: 1;
}

.member-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-white);
  margin: 0 auto 10px;
}

.member-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.member-role {
  font-size: 11px;
  color: var(--primary-light);
  background: linear-gradient(135deg, #F5F3FF, #EDE9FE);
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 600;
}

.member-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============ Footer ============ */
.footer {
  background: linear-gradient(160deg, var(--bg-darker), var(--bg-dark));
  color: var(--text-white);
  padding: 40px 20px 24px;
  margin-top: 60px;
}

.footer-content {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    max-width: 720px;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 20px;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.25s ease;
}

.footer-link:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============ Contact Section ============ */
.contact-section {
  background: linear-gradient(180deg, #F5F3FF, #EDE9FE);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 680px;
  margin: 0 auto;
}

.contact-qrcode {
  position: relative;
  flex-shrink: 0;
}

.qrcode-glow {
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-gold));
  opacity: 0.35;
  filter: blur(24px);
}

.contact-qrcode-img {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: white;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
  cursor: zoom-in;
}

.contact-qrcode-img:hover {
  transform: scale(1.03) rotate(-1deg);
}

.qrcode-zoom-hint {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  opacity: 0.8;
}

/* QR Code Lightbox */
.qrcode-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(8px);
}

.qrcode-overlay.active {
  opacity: 1;
  visibility: visible;
}

.qrcode-overlay-inner {
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.qrcode-overlay.active .qrcode-overlay-inner {
  transform: scale(1);
}

.qrcode-overlay-img {
  width: min(80vw, 420px);
  height: auto;
  border-radius: var(--radius-lg);
  padding: 16px;
  background: white;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.qrcode-overlay-tip {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info {
  flex: 1;
}

.contact-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.contact-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-meta-icon {
  font-size: 18px;
}

@media (max-width: 600px) {
  .contact-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    gap: 24px;
  }

  .contact-qrcode-img {
    width: 160px;
    height: 160px;
  }

  .contact-meta {
    align-items: center;
  }

  .contact-meta-item {
    justify-content: center;
  }
}

/* ============ Footer ============ */
.tabs {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 6px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab {
  flex: 1;
  min-width: 100px;
  padding: 10px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  background: transparent;
}

.tab.active {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(107, 33, 168, 0.3);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

/* ============ Utilities ============ */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-light), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fade-in {
  animation: fadeIn 0.6s ease both;
}

.slide-up {
  animation: slideUp 0.6s ease both;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Card entrance animation */
.card-enter {
  animation: cardEnter 0.5s ease both;
}

@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Page transition */
.page {
  animation: pageEnter 0.5s ease both;
}

@keyframes pageEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}