/* ========================
   DESIGN SYSTEM & TOKENS
   ======================== */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f1a;
  --bg-card: #13131f;
  --bg-card-hover: #1a1a2e;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  --accent-primary: #7c3aed;
  --accent-secondary: #a855f7;
  --accent-tertiary: #c084fc;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;

  --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  --gradient-hero: linear-gradient(135deg, #7c3aed, #06b6d4);
  --gradient-card: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(168, 85, 247, 0.05));
  --gradient-glow: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.15), transparent 70%);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --text-accent: #a78bfa;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(124, 58, 237, 0.3);
  --border-hover: rgba(168, 85, 247, 0.5);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.2);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --nav-height: 72px;
  --font-sans: 'Be Vietnam Pro', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

/* ========================
   RESET & BASE
   ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ========================
   SCROLLBAR
   ======================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-primary); border-radius: var(--radius-full); }

/* ========================
   PARTICLES
   ======================== */
#particles-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0;
}

@keyframes floatParticle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ========================
   NAVIGATION
   ======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
}

.logo-bracket {
  color: var(--accent-secondary);
}

.logo-text {
  color: var(--text-primary);
  margin: 0 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.15);
}

.nav-link.active {
  color: var(--accent-tertiary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ========================
   CONTAINER
   ======================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ========================
   HERO SECTION
   ======================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-accent);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: fadeInDown 0.6s ease both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInDown 0.7s ease 0.1s both;
}

.title-line {
  display: block;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeInDown 0.7s ease 0.2s both;
}

.hero-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  animation: fadeInDown 0.7s ease 0.3s both;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.info-card:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.info-icon {
  font-size: 1.25rem;
}

.info-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInDown 0.7s ease 0.4s both;
}

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-spring);
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.6);
}

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

.btn-ghost:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

/* ========================
   HERO VISUAL
   ======================== */
.hero-visual {
  position: relative;
  width: 420px;
  height: 420px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s ease 0.3s both;
}

.visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: rotateRing linear infinite;
}

.ring-1 {
  width: 100%;
  height: 100%;
  border-color: rgba(124, 58, 237, 0.2);
  animation-duration: 20s;
}

.ring-2 {
  width: 75%;
  height: 75%;
  border-color: rgba(168, 85, 247, 0.25);
  animation-duration: 15s;
  animation-direction: reverse;
}

.ring-3 {
  width: 50%;
  height: 50%;
  border-color: rgba(6, 182, 212, 0.2);
  animation-duration: 10s;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.visual-center {
  position: relative;
  z-index: 2;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.3), inset 0 0 40px rgba(124, 58, 237, 0.1);
}

.center-icon {
  font-size: 3rem;
  animation: floatIcon 3s ease-in-out infinite;
}

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

.floating-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-tertiary);
  z-index: 3;
  animation: floatBadge ease-in-out infinite;
  box-shadow: var(--shadow-card);
}

.fb-1 { top: 15%; right: 5%; animation-duration: 4s; animation-delay: 0s; }
.fb-2 { bottom: 20%; right: 10%; animation-duration: 5s; animation-delay: 1s; }
.fb-3 { bottom: 15%; left: 5%; animation-duration: 3.5s; animation-delay: 0.5s; }
.fb-4 { top: 20%; left: 8%; animation-duration: 4.5s; animation-delay: 1.5s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

/* ========================
   SECTION COMMON
   ======================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-secondary);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================
   ABOUT SECTION
   ======================== */
.about {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.about::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.07), transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.about-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

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

.card-icon {
  font-size: 2.25rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.about-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  color: var(--text-primary);
}

.about-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ========================
   RUBRIC TABLE
   ======================== */
.rubric-section {
  margin-top: 60px;
}

.rubric-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.rubric-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.rubric-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.rubric-table thead {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(168, 85, 247, 0.1));
}

.rubric-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  color: var(--text-accent);
  border-bottom: 1px solid var(--border-accent);
  white-space: nowrap;
}

.rubric-table td {
  padding: 14px 20px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.rubric-row:last-child td {
  border-bottom: none;
}

.rubric-row {
  transition: background var(--transition-fast);
}

.rubric-row:hover {
  background: rgba(124, 58, 237, 0.05);
}

.rubric-row.highlight {
  background: rgba(124, 58, 237, 0.06);
}

.rubric-row.highlight td {
  color: var(--text-primary);
  font-weight: 500;
}

.score-badge {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.score-3 {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
}

.score-1 {
  background: rgba(124, 58, 237, 0.2);
  color: var(--accent-tertiary);
  border: 1px solid rgba(124, 58, 237, 0.3);
}

/* ========================
   WEEKS SECTION
   ======================== */
.weeks-section {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.04), transparent);
  position: relative;
  z-index: 1;
}

.weeks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}

.week-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.week-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.week-card::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.week-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.week-card:hover::before,
.week-card:hover::after {
  opacity: 1;
}

.week-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.week-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.week-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.week-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.week-score {
  font-size: 0.8rem;
  color: var(--accent-secondary);
  font-weight: 600;
  background: rgba(168, 85, 247, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.week-status {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.week-status.done {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.week-icon-wrap {
  text-align: center;
  margin: 16px 0;
  position: relative;
  z-index: 1;
}

.week-icon {
  font-size: 3rem;
  display: inline-block;
  transition: transform var(--transition-spring);
}

.week-card:hover .week-icon {
  transform: scale(1.2) rotate(5deg);
}

.week-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.week-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.week-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all var(--transition-fast);
}

.week-card:hover .tag {
  border-color: rgba(124, 58, 237, 0.25);
  color: var(--text-accent);
}

.week-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-md);
  color: var(--accent-tertiary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-sans);
  position: relative;
  z-index: 1;
}

.week-btn:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.4);
  transform: none;
}

/* ========================
   DOWNLOADS
   ======================== */
.downloads-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.downloads-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
}

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

.dl-icon {
  font-size: 2rem;
}

.dl-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dl-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.dl-type {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(124, 58, 237, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.dl-arrow {
  color: var(--accent-secondary);
  transition: transform var(--transition-base);
}

.download-card:hover .dl-arrow {
  transform: translateY(3px);
}

/* ========================
   SUMMARY SECTION
   ======================== */
.summary-section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.summary-section::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(6, 182, 212, 0.05), transparent 70%);
  pointer-events: none;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.summary-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition-base);
}

.summary-block:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.summary-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.summary-block h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.summary-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
}

/* ========================
   SKILLS BARS
   ======================== */
.skills-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-name {
  font-size: 0.825rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.skill-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================
   PRINCIPLES
   ======================== */
.principles-section {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(6, 182, 212, 0.04));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.principles-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text-primary);
  text-align: center;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.principle-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.principle-item:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
  transform: translateX(4px);
}

.principle-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  line-height: 1.2;
}

.principle-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

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

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo-bracket,
.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-brand p {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.6;
}

.footer-info {
  text-align: right;
}

.footer-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

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

/* ========================
   MODAL
   ======================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-spring);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(124, 58, 237, 0.2);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.modal-content {
  padding: 48px 40px 40px;
}

.modal-header {
  margin-bottom: 32px;
}

.modal-week-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

.modal-section {
  margin-top: 28px;
}

.modal-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-tertiary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-section-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 18px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.modal-body-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-body-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 12px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  line-height: 1.6;
  border-left: 3px solid var(--accent-primary);
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.modal-download {
  margin-top: 28px;
}

.modal-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-spring);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.modal-dl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

/* ========================
   ANIMATIONS
   ======================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

.animate-in {
  animation: fadeInUp 0.6s ease both;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: calc(var(--nav-height) + 60px) 24px 80px;
  }

  .hero-info {
    justify-content: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    width: 280px;
    height: 280px;
    order: -1;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-info {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

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

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

  .principles-section {
    padding: 32px 24px;
  }

  .modal-content {
    padding: 40px 24px 32px;
  }
}

@media (max-width: 480px) {
  .downloads-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .hero-title {
    font-size: 2rem;
  }
}
