/* ============================================================
   OpenClaw — Design System & Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- Tokens --- */
:root {
  --bg-base: #080c18;
  --bg-surface: #0d1220;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 212, 255, 0.3);

  --cyan: #00d4ff;
  --cyan-dim: rgba(0, 212, 255, 0.15);
  --cyan-glow: rgba(0, 212, 255, 0.25);
  --orange: #ff6b35;
  --orange-dim: rgba(255, 107, 53, 0.12);

  --text-primary: #e8edf5;
  --text-secondary: rgba(232, 237, 245, 0.6);
  --text-muted: rgba(232, 237, 245, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-cyan: 0 0 40px rgba(0, 212, 255, 0.15), 0 0 8px rgba(0, 212, 255, 0.08);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 212, 255, 0.1);

  --transition-fast: 0.18s ease;
  --transition-med: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 64px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; transition: opacity var(--transition-fast); }
a:hover { opacity: 0.8; }
img { display: block; max-width: 100%; }

/* --- Background Grid --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: -30%;
  right: -15%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  transition: background var(--transition-med), backdrop-filter var(--transition-med), border-color var(--transition-med);
}

nav.scrolled {
  background: rgba(8, 12, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo .claw-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px var(--cyan));
}

.nav-logo span { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: 2rem;
  list-style: none;
}

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

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.lang-btn.active {
  background: var(--cyan);
  color: var(--bg-base);
}

.lang-btn:hover:not(.active) { color: var(--text-primary); }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  position: relative;
  z-index: 1;
}

section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--cyan-dim), var(--orange-dim));
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}

.hero-badge::before {
  content: '🦞';
  font-size: 1em;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, #4facfe 50%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--cyan), #4facfe);
  color: var(--bg-base);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-med);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.45);
  opacity: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 100px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition-med);
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  opacity: 1;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  animation: fadeUp 0.6s 0.4s ease both;
}

.hero-stat { text-align: left; }

.hero-stat .value {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cyan);
  line-height: 1.2;
}

.hero-stat .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s 0.3s ease both;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.hero-image-wrapper img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-cyan), var(--shadow-card);
  position: relative;
  z-index: 1;
}

/* Floating badges on hero */
.hero-float-badge {
  position: absolute;
  background: rgba(13, 18, 32, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

.hero-float-badge.badge-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
  color: var(--cyan);
  border-color: rgba(0, 212, 255, 0.4);
}

.hero-float-badge.badge-2 {
  bottom: 15%;
  right: -8%;
  animation-delay: 1.5s;
  color: var(--orange);
  border-color: rgba(255, 107, 53, 0.4);
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
#features { background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.02) 50%, transparent); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-med);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--cyan-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card:nth-child(2) .feature-icon { background: rgba(255, 107, 53, 0.1); border-color: rgba(255, 107, 53, 0.3); }
.feature-card:nth-child(3) .feature-icon { background: rgba(168, 85, 247, 0.1); border-color: rgba(168, 85, 247, 0.3); }

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.feature-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

/* Session Format Row */
.format-row {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  align-items: center;
}

.format-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.format-item:not(:last-child) {
  padding-right: 1rem;
  border-right: 1px solid var(--border);
}

.format-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cyan);
  white-space: nowrap;
}

.format-label { font-size: 0.88rem; color: var(--text-secondary); font-weight: 500; }

/* ============================================================
   COURSE SCHEDULE
   ============================================================ */
#schedule { position: relative; }

.day-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.day-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-med), box-shadow var(--transition-med);
}

.day-card:hover { border-color: rgba(0, 212, 255, 0.2); }
.day-card.open { border-color: var(--border-accent); box-shadow: var(--shadow-card); }

.day-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition-fast);
}

.day-header:hover { background: var(--bg-card-hover); }

.day-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--cyan-dim), transparent);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  font-family: 'JetBrains Mono', monospace;
}

.day-number .day-n {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.day-number .day-d {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.day-info { flex: 1; }

.day-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.day-goal-preview {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.day-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
  white-space: nowrap;
}

.day-toggle svg {
  transition: transform var(--transition-med);
  width: 18px;
  height: 18px;
}

.day-card.open .day-toggle svg { transform: rotate(180deg); }

/* Day Body (Expandable) */
.day-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.day-card.open .day-body { max-height: 1200px; }

.day-body-inner {
  padding: 0 2rem 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.goal-box {
  background: var(--cyan-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.goal-box strong { color: var(--cyan); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 4px; }

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.steps-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-num {
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-card-hover);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 1px;
}

.homework-box {
  display: flex;
  gap: 0.75rem;
  background: rgba(255, 107, 53, 0.07);
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.6;
  align-items: flex-start;
}

.homework-box::before {
  content: '📚';
  flex-shrink: 0;
  margin-top: 1px;
}

.homework-box strong { color: var(--orange); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 4px; }

/* Code snippet inline */
code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(0, 212, 255, 0.15);
}

/* ============================================================
   PREREQUISITES
   ============================================================ */
#prereqs { background: linear-gradient(180deg, transparent, rgba(255, 107, 53, 0.02) 50%, transparent); }

.prereqs-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.prereq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.prereq-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0.875rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

.prereq-list li:hover { border-color: rgba(0, 212, 255, 0.2); }

.prereq-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #4facfe);
  color: var(--bg-base);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.cost-highlight {
  background: linear-gradient(135deg, var(--orange-dim), rgba(255, 107, 53, 0.05));
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.cost-highlight h3 {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.cost-highlight p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.cost-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

/* ============================================================
   RESOURCES
   ============================================================ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  text-decoration: none;
  transition: all var(--transition-med);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.resource-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  opacity: 1;
}

.resource-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.resource-title .arrow {
  color: var(--cyan);
  transition: transform var(--transition-fast);
}

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

.resource-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.5; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { position: relative; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--transition-med);
}

.contact-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.contact-type {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cyan);
  word-break: break-all;
}

/* ============================================================
   WECHAT GROUP CARD
   ============================================================ */
.wechat-group-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: linear-gradient(135deg, rgba(9, 188, 138, 0.07), rgba(9, 188, 138, 0.03));
  border: 1px solid rgba(9, 188, 138, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
}

.wechat-group-text { flex: 1; }

.wechat-group-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #09bc8a;
  margin-bottom: 0.6rem;
}

.wechat-group-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.wechat-group-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.75rem;
  max-width: 480px;
}

.wechat-group-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.wechat-group-qr {
  flex-shrink: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.wechat-group-qr img {
  display: block;
  border-radius: var(--radius-md);
  width: 200px;
  height: 200px;
  object-fit: cover;
}

@media (max-width: 700px) {
  .wechat-group-card {
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 2rem;
    text-align: center;
  }
  .wechat-group-desc { max-width: 100%; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-brand .logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.footer-brand .logo span { color: var(--cyan); }

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

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

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

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

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 2; }
  .hero-visual { order: 1; }
  .hero-subtitle { max-width: 100%; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-float-badge.badge-1 { left: 0; }
  .hero-float-badge.badge-2 { right: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .prereqs-inner { grid-template-columns: 1fr; gap: 2rem; }
  .resources-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .format-row { flex-wrap: wrap; gap: 1.5rem; }
  .format-item { border-right: none !important; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .day-header { gap: 1rem; padding: 1.25rem; }
  .day-body-inner { padding: 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

/* Mobile menu open */
nav.menu-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(8, 12, 24, 0.97);
  backdrop-filter: blur(20px);
  padding: 2rem;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  animation: fadeIn 0.2s ease;
}
