/* ==================== VARIABLES ==================== */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #52525b;
  
  --accent-purple: #a855f7;
  --accent-pink: #ec4899;
  --accent-gradient: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(168, 85, 247, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --shadow-glow: 0 0 60px rgba(168, 85, 247, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

/* ==================== NAVBAR ==================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
}

.logo-sub {
  font-weight: 400;
  color: var(--text-secondary);
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-purple);
}

.lock-icon {
  width: 16px;
  height: 16px;
}

.btn-reset-access {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
}

.btn-reset-access:hover {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

.btn-reset-access svg {
  width: 18px;
  height: 18px;
}

/* ==================== MODAL ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 20px;
}

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

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s;
}

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

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: pulse 2s infinite;
}

.modal-icon svg {
  width: 32px;
  height: 32px;
  color: var(--danger);
}

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

.modal h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

.modal input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 16px;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: 4px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.modal input:focus {
  outline: none;
  border-color: var(--accent-purple);
}

.modal input::placeholder {
  letter-spacing: normal;
  color: var(--text-muted);
}

.error-msg {
  color: var(--danger);
  font-size: 13px;
  min-height: 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.modal-footer {
  margin-top: 24px;
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.5;
  font-family: monospace;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
  background: var(--accent-purple);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  width: 100%;
}

.btn-primary:hover {
  background: #9333ea;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3);
  transform: translateY(-2px);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-ghost svg {
  width: 16px;
  height: 16px;
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--accent-purple);
  font-weight: 500;
  margin-bottom: 32px;
}

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

.hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

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

.hero-subtitle {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Hero CTA Grid */
.hero-cta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.hero-cta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-cta-item .btn-primary,
.hero-cta-item .btn-training {
  min-width: 220px;
}

.btn-training {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: var(--accent-gradient);
  color: white;
}

.btn-training:hover:not(.locked) {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4);
}

.btn-training.locked {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: not-allowed;
}

.btn-training.locked:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-training .lock-svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.cta-label {
  font-size: 12px;
  text-align: center;
  max-width: 200px;
}

.cta-label.open {
  color: var(--text-secondary);
}

.cta-label.closed {
  color: var(--text-muted);
}

.hero-status-line {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* ==================== FEATURE CARD ==================== */
.feature-section {
  padding: 40px 24px 80px;
}

.feature-card {
  max-width: 400px;
  margin: 0 auto 60px;
  padding: 32px;
  background: rgba(22, 22, 31, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s;
}

.feature-card:hover .feature-icon {
  background: var(--accent-purple);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-purple);
  transition: color 0.3s;
}

.feature-card:hover .feature-icon svg {
  color: white;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* ==================== ANIMATED ORB - CONTINENTAL CORE ==================== */
.orb-container {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  --core-pulse-duration: 5s;
}

.orb-container.focus-mode .orbit { opacity: 0.3; }
.orb-container.focus-mode .orbit.active { opacity: 1; }
.orb-container.focus-mode .floating-icon { opacity: 0.4; }
.orb-container.focus-mode .floating-icon.active { opacity: 1; }

.orb-center {
  position: absolute;
  width: 100px;
  height: 100px;
  z-index: 10;
}

.orb-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: var(--accent-gradient);
  opacity: 0.2;
  filter: blur(40px);
  animation: corePulse var(--core-pulse-duration) ease-in-out infinite;
}

.orb-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.3);
  animation: ringPulse var(--core-pulse-duration) ease-in-out infinite;
}

.orb-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.1);
  animation: coreBreath var(--core-pulse-duration) ease-in-out infinite;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.orb-inner:hover {
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.orb-center.pulse .orb-inner {
  animation: corePulseBig 0.8s ease-out;
}

.core-letter {
  font-size: 36px;
  font-weight: 800;
  color: white;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  letter-spacing: -2px;
}

@keyframes corePulse {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.15); opacity: 0.35; }
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.5; }
}

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

@keyframes corePulseBig {
  0% { transform: scale(1); box-shadow: 0 0 30px rgba(168, 85, 247, 0.4); }
  50% { transform: scale(1.12); box-shadow: 0 0 60px rgba(168, 85, 247, 0.8); }
  100% { transform: scale(1); box-shadow: 0 0 30px rgba(168, 85, 247, 0.4); }
}

/* Floating Icons */
.floating-icon {
  position: absolute;
  padding: 14px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
  z-index: 5;
}

.floating-icon svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.floating-icon .icon-label {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.floating-icon:hover .icon-label,
.floating-icon.active .icon-label {
  opacity: 1;
}

.floating-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.floating-icon:hover svg {
  transform: scale(1.1);
}

/* Icon positions and breathing animations */
.floating-icon.book { 
  left: 8%; top: 25%; 
  background: rgba(59, 130, 246, 0.12); 
  border: 1px solid rgba(59, 130, 246, 0.25);
  animation: iconBreath1 6s ease-in-out infinite;
}
.floating-icon.book svg { color: #3b82f6; }

.floating-icon.dollar { 
  right: 8%; top: 20%; 
  background: rgba(34, 197, 94, 0.12); 
  border: 1px solid rgba(34, 197, 94, 0.25);
  animation: iconBreath2 7s ease-in-out infinite;
}
.floating-icon.dollar svg { color: #22c55e; }

.floating-icon.star { 
  left: 15%; bottom: 22%; 
  background: rgba(250, 204, 21, 0.12); 
  border: 1px solid rgba(250, 204, 21, 0.25);
  animation: iconBreath3 5.5s ease-in-out infinite;
}
.floating-icon.star svg { color: #facc15; }

.floating-icon.trend { 
  right: 12%; bottom: 28%; 
  background: rgba(168, 85, 247, 0.12); 
  border: 1px solid rgba(168, 85, 247, 0.25);
  animation: iconBreath1 6.5s ease-in-out infinite 0.5s;
}
.floating-icon.trend svg { color: #a855f7; }

.floating-icon.zap { 
  left: 30%; top: 8%; 
  background: rgba(236, 72, 153, 0.12); 
  border: 1px solid rgba(236, 72, 153, 0.25);
  animation: iconBreath2 5s ease-in-out infinite 0.3s;
}
.floating-icon.zap svg { color: #ec4899; }

.floating-icon.sparkle { 
  right: 25%; top: 6%; 
  background: rgba(6, 182, 212, 0.12); 
  border: 1px solid rgba(6, 182, 212, 0.25);
  animation: iconBreath3 7.5s ease-in-out infinite 0.8s;
}
.floating-icon.sparkle svg { color: #06b6d4; }

@keyframes iconBreath1 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

@keyframes iconBreath2 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.03); }
}

@keyframes iconBreath3 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.02); }
}

/* Orbits */
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: opacity 0.4s ease, border-color 0.4s ease;
}

.orbit-1 {
  width: 180px;
  height: 180px;
  animation: spin 35s linear infinite;
}

.orbit-2 {
  width: 260px;
  height: 260px;
  animation: spin 45s linear infinite reverse;
}

.orbit-3 {
  width: 340px;
  height: 340px;
  animation: spin 55s linear infinite;
  border-style: dotted;
}

.orbit.active {
  border-color: rgba(168, 85, 247, 0.3);
}

.orbit-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.orbit-1 .orbit-particle { 
  background: var(--accent-purple); 
  box-shadow: 0 0 8px var(--accent-purple); 
}
.orbit-2 .orbit-particle { 
  background: var(--accent-pink); 
  box-shadow: 0 0 8px var(--accent-pink); 
}
.orbit-3 .orbit-particle { 
  background: #06b6d4; 
  box-shadow: 0 0 8px #06b6d4;
  width: 5px;
  height: 5px;
}

.orb-container:hover .orbit-particle {
  box-shadow: 0 0 12px currentColor;
}

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

.orb-caption {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ==================== CONDITIONS PAGE ==================== */
.page-header {
  text-align: center;
  padding: 80px 24px 60px;
}

.page-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: rgba(168, 85, 247, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.page-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent-purple);
}

.page-header h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 18px;
}

.conditions-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.condition-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  gap: 20px;
  transition: border-color 0.2s;
}

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

.condition-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

.condition-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.condition-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.condition-agree {
  max-width: 800px;
  margin: 0 auto 80px;
  padding: 20px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--success);
  font-weight: 500;
}

.condition-agree svg {
  width: 20px;
  height: 20px;
}

/* ==================== TRAINING PAGE ==================== */
.modules-header {
  padding: 80px 24px 40px;
  text-align: center;
}

.modules-header h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}

.modules-header p {
  color: var(--text-secondary);
}

.search-container {
  max-width: 500px;
  margin: 30px auto;
  position: relative;
}

.search-container input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px 14px 48px;
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color 0.2s;
}

.search-container input:focus {
  outline: none;
  border-color: var(--accent-purple);
}

.search-container svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

.modules-grid {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

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

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

.module-card .number {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 48px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.module-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.module-card:hover .module-icon {
  background: var(--accent-purple);
}

.module-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-purple);
  transition: color 0.3s;
}

.module-card:hover .module-icon svg {
  color: white;
}

.module-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.module-card:hover h3 {
  color: var(--accent-purple);
}

.module-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.module-progress {
  margin-top: auto;
}

.module-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 100px;
  transition: width 0.5s ease;
}

.module-start {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-purple);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
}

.module-card:hover .module-start {
  opacity: 1;
  transform: translateX(0);
}

.module-start svg {
  width: 16px;
  height: 16px;
}

/* ==================== MODULE VIEW (STEPS) ==================== */
.module-view {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.module-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
}

.module-back:hover {
  color: var(--text-primary);
}

.module-back svg {
  width: 18px;
  height: 18px;
}

.module-title-block {
  margin-bottom: 48px;
}

.module-title-block h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.module-title-block .desc {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 20px;
}

.module-overall-progress {
  display: flex;
  align-items: center;
  gap: 16px;
}

.module-overall-progress .progress-bar {
  flex: 1;
  height: 8px;
}

.module-overall-progress span {
  font-size: 13px;
  color: var(--text-muted);
  font-family: monospace;
}

/* ==================== STEP CARD ==================== */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.2s;
}

.step-card.completed {
  border-color: rgba(34, 197, 94, 0.3);
}

.step-header {
  display: flex;
  gap: 24px;
  padding: 32px;
  align-items: flex-start;
}

.step-number {
  font-size: 64px;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  min-width: 100px;
}

.step-info {
  flex: 1;
}

.step-info h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-info .subtitle {
  color: var(--text-secondary);
  font-size: 15px;
}

.step-content {
  padding: 0 32px 32px;
}

/* ==================== BLOCK TYPES ==================== */
.block {
  margin-bottom: 24px;
}

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

/* Bullets */
.block-bullets ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.block-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.block-bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-purple);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

/* Cards (small, in row) */
.block-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.mini-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.mini-card p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

/* Big Cards (2 columns) */
.block-bigcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.big-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.big-card h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
}

.big-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Callouts */
.callout {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
}

.callout-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.callout h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.callout p {
  font-size: 14px;
  line-height: 1.6;
}

.callout.warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.callout.warning .callout-icon, .callout.warning h4 { color: var(--warning); }
.callout.warning p { color: rgba(245, 158, 11, 0.8); }

.callout.danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.callout.danger .callout-icon, .callout.danger h4 { color: var(--danger); }
.callout.danger p { color: rgba(239, 68, 68, 0.8); }

.callout.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.callout.success .callout-icon, .callout.success h4 { color: var(--success); }
.callout.success p { color: rgba(34, 197, 94, 0.8); }

.callout.info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.callout.info .callout-icon, .callout.info h4 { color: var(--info); }
.callout.info p { color: rgba(59, 130, 246, 0.8); }

/* Example / Quote */
.block-example {
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.block-example h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-purple);
  margin-bottom: 16px;
}

.example-message {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.example-message:last-child {
  margin-bottom: 0;
}

.example-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 60px;
  text-transform: uppercase;
}

.example-text {
  color: var(--text-secondary);
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
}

/* Media Gallery */
.block-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.media-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.media-item img, .media-item video {
  width: 100%;
  display: block;
}

.media-caption {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.5);
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

/* Quote Block */
.block-quote {
  position: relative;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.08));
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--radius-lg);
  padding: 32px 32px 32px 48px;
}

.block-quote .quote-mark {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 48px;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  opacity: 0.6;
}

.block-quote p {
  font-size: 18px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Text Block */
.block-text p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Numbered List */
.block-numbered ol {
  list-style: none;
  counter-reset: numbered;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.block-numbered li {
  counter-increment: numbered;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.5;
}

.block-numbered li::before {
  content: counter(numbered);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background: var(--accent-gradient);
  color: white;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Highlight Block */
.block-highlight {
  text-align: center;
  padding: 32px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.1));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-lg);
}

.block-highlight .highlight-value {
  font-size: 48px;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 8px;
}

.block-highlight .highlight-label {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Conditions Hero */
.conditions-hero {
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 800px;
  margin: 0 auto;
}

.conditions-hero h1 {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.conditions-hero .hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Step Footer */
.step-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

.btn-complete {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-complete.pending {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-complete.pending:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn-complete.done {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.btn-complete svg {
  width: 18px;
  height: 18px;
}

/* Module Navigation */
.module-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.module-nav .btn-secondary {
  flex: 1;
  justify-content: center;
}

/* ==================== FOOTER ==================== */
.footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

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

.stagger > * {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }
.stagger > *:nth-child(6) { animation-delay: 0.6s; }
.stagger > *:nth-child(7) { animation-delay: 0.7s; }
.stagger > *:nth-child(8) { animation-delay: 0.8s; }
.stagger > *:nth-child(9) { animation-delay: 0.9s; }
.stagger > *:nth-child(10) { animation-delay: 1s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .nav-links {
    gap: 20px;
  }
  
  .logo-text {
    display: none;
  }
  
  .hero {
    padding: 40px 20px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
  }
  
  .hero-cta-grid {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }
  
  .hero-cta-item .btn-primary,
  .hero-cta-item .btn-training {
    width: 100%;
    min-width: auto;
  }
  
  .step-header {
    flex-direction: column;
    gap: 16px;
  }
  
  .step-number {
    font-size: 48px;
    min-width: auto;
  }
  
  .module-nav {
    flex-direction: column;
  }
  
  .orb-container {
    height: 280px;
  }
  
  .orbit-3 {
    display: none;
  }
  
  .floating-icon {
    padding: 10px;
  }
  
  .floating-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .floating-icon .icon-label {
    display: none;
  }
  
  .orb-center {
    width: 80px;
    height: 80px;
  }
  
  .core-letter {
    font-size: 28px;
  }
}
