/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --primary-color: #2196F3;
  --secondary-color: #03DAC6;
  --accent-color: #FF6B6B;
  --flutter-blue: #02569B;
  --ai-purple: #9C27B0;
  --mobile-green: #4CAF50;
  
  /* Dark Theme */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-card: #1e1e1e;
  --bg-elevated: #2a2a2a;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #808080;
  --text-inverse: #000000;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2196F3 0%, #21CBF3 100%);
  --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-flutter: linear-gradient(135deg, #02569B 0%, #0277BD 100%);
  --gradient-ai: linear-gradient(135deg, #9C27B0 0%, #E91E63 100%);
  --gradient-mobile: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --space-5xl: 10rem;
  
  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 4rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(33, 150, 243, 0.3);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 50%;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-Index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
}

/* ===== LIGHT THEME ===== */
.light-theme {
  /* Elegant Light Theme Colors - Premium palette */
  --bg-primary: #fdfdfd;
  --bg-secondary: #f8fafb;
  --bg-tertiary: #f1f5f7;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  
  /* Sophisticated Text Colors */
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-inverse: #ffffff;
  
  /* Elegant shadows with subtle warmth */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 25px rgba(33, 150, 243, 0.25), 0 0 50px rgba(33, 150, 243, 0.1);
  
  /* Premium card styles */
  --card-border: 1px solid rgba(226, 232, 240, 0.8);
  --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --card-glass-effect: rgba(255, 255, 255, 0.9);
  
  /* Refined code editor styles */
  --code-bg: #f8fafc;
  --code-border: #e2e8f0;
  --code-comment: #64748b;
  --code-keyword: #dc2626;
  --code-string: #059669;
  --code-function: #7c3aed;
  --code-type: #ea580c;
  
  /* Elegant accent colors */
  --accent-light: rgba(33, 150, 243, 0.08);
  --accent-medium: rgba(33, 150, 243, 0.15);
  --accent-strong: rgba(33, 150, 243, 0.25);
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition-normal);
}

input, textarea {
  outline: none;
  border: none;
  font-family: inherit;
}

/* ===== LOADING SCREEN ===== */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.code-brackets {
  font-size: var(--font-size-4xl);
  font-family: var(--font-mono);
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

.code-brackets span {
  display: inline-block;
  animation: fadeInUp 0.8s ease forwards;
}

.code-brackets span:nth-child(1) {
  animation-delay: 0.1s;
}

.code-brackets .flutter-logo {
  background: var(--gradient-flutter);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation-delay: 0.2s;
}

.code-brackets span:nth-child(3) {
  animation-delay: 0.3s;
}

.ai-animation {
  height: 4px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.neural-network {
  height: 100%;
  background: var(--gradient-ai);
  border-radius: var(--radius-full);
  animation: neuralPulse 2s ease-in-out infinite;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-dark {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  font-weight: 500;
  font-size: var(--font-size-base);
  text-decoration: none;
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: var(--z-fixed);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo a {
  font-size: var(--font-size-xl);
  font-weight: 700;
  font-family: var(--font-mono);
}

.logo-bracket {
  color: var(--primary-color);
}

.logo-name {
  color: var(--text-primary);
  margin: 0 0.2rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  transition: var(--transition-normal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.light-theme .theme-toggle {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-normal);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
  margin-bottom: var(--space-4xl);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-shape {
  position: absolute;
  border-radius: var(--radius-full);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-shape.flutter-blue {
  width: 100px;
  height: 100px;
  background: var(--gradient-flutter);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shape.ai-purple {
  width: 150px;
  height: 150px;
  background: var(--gradient-ai);
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.floating-shape.mobile-green {
  width: 80px;
  height: 80px;
  background: var(--gradient-mobile);
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  width: 100%;
}

.hero-text {
  max-width: 600px;
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.title-line {
  display: block;
  font-size: var(--font-size-2xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
  animation: fadeInUp 1s ease 0.2s both;
}

.title-name {
  display: block;
  font-size: var(--font-size-6xl);
  margin-bottom: var(--space-xs);
  animation: fadeInUp 1s ease 0.4s both;
}

.title-role {
  display: block;
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.8s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s ease 1s both;
}

.hero-social {
  display: flex;
  gap: var(--space-md);
  animation: fadeInUp 1s ease 1.2s both;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  animation: fadeInRight 1s ease 0.8s both;
}

/* Profile Section */
.profile-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.profile-image {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: profileFloat 6s ease-in-out infinite;
}

.profile-photo {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--bg-card);
  border: 3px solid var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  font-weight: 600;
}

.profile-photo.placeholder {
  background: linear-gradient(45deg, var(--bg-card), var(--bg-secondary));
  border: 2px dashed rgba(139, 69, 255, 0.3);
}

@keyframes profileFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Hero Graphics */
.hero-graphics {
  position: relative;
  margin-top: var(--space-xl);
}

.floating-tech-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 200px;
  margin: 0 auto;
}

.tech-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  color: white;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  animation: iconFloat 4s ease-in-out infinite;
}

.tech-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  filter: blur(20px);
  opacity: 0.3;
  z-index: -1;
}

.flutter-icon {
  background: var(--gradient-flutter);
  animation-delay: 0s;
}

.ai-icon {
  background: var(--gradient-ai);
  animation-delay: 1s;
}

.mobile-icon {
  background: var(--gradient-mobile);
  animation-delay: 2s;
}

.code-icon {
  background: var(--gradient-primary);
  animation-delay: 3s;
}

.tech-icon:hover {
  transform: translateY(-10px) scale(1.1);
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(2deg); }
  50% { transform: translateY(-5px) rotate(0deg); }
  75% { transform: translateY(-15px) rotate(-2deg); }
}

/* ===== SHOWCASE SECTION ===== */
.showcase {
  background: var(--bg-secondary);
  padding: var(--space-5xl) 0;
  margin-top: var(--space-4xl);
}

.showcase-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5xl);
  max-width: 100%;
  overflow: hidden;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.showcase-item.reverse {
  direction: rtl;
}

.showcase-item.reverse > * {
  direction: ltr;
}

.showcase-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.showcase-text h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.showcase-text p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Enhanced Code Window */
.code-window {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  max-width: 500px;
  width: 100%;
  box-sizing: border-box;
  animation: codeWindowGlow 3s ease-in-out infinite alternate;
}

@keyframes codeWindowGlow {
  from { box-shadow: var(--shadow-2xl); }
  to { box-shadow: 0 25px 50px rgba(139, 69, 255, 0.2); }
}

.window-header {
  background: var(--bg-elevated);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-controls {
  display: flex;
  gap: var(--space-xs);
}

.control {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
}

.control.close { background: #ff5f56; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #27ca3f; }

.window-title {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.code-content {
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
}

.code-block {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0;
}

.code-keyword { color: #ff6b9d; }
.code-type { color: #4ecdc4; }
.code-string { color: #45b7d1; }
.code-function { color: #96ceb4; }
.code-comment { color: #999; }
.code-class { color: #ffd93d; }
.code-bracket { color: #c7ecee; }

.code-footer {
  background: var(--bg-primary);
  padding: var(--space-sm) var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.code-stats {
  display: flex;
  gap: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
}

/* Mobile Showcase - CodePlay Connect App */
.mobile-showcase {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  max-width: 100%;
  overflow: hidden;
}

.phone-device {
  position: relative;
  perspective: 1000px;
}

.phone-bezel {
  width: 320px;
  height: 640px;
  max-width: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border-radius: 30px;
  padding: 8px;
  box-shadow: 
    0 0 0 3px rgba(255, 255, 255, 0.1),
    0 30px 60px rgba(0, 0, 0, 0.4);
  animation: phoneFloat 8s ease-in-out infinite;
  box-sizing: border-box;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0px) rotateY(-3deg); }
  50% { transform: translateY(-20px) rotateY(3deg); }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: var(--bg-card);
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 600;
}

.status-right {
  display: flex;
  gap: 4px;
  align-items: center;
}

.app-interface {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-logo .logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.app-title h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
}

.app-title p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.course-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.course-card.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px rgba(33, 150, 243, 0.2);
}

.course-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.course-icon.python {
  background: linear-gradient(135deg, #3776ab, #ffd43b);
}

.course-icon.java {
  background: linear-gradient(135deg, #f89820, #ed8b00);
}

.course-icon.js {
  background: linear-gradient(135deg, #f7df1e, #f0db4f);
  color: #323330;
}

.course-info {
  flex: 1;
}

.course-info h4 {
  margin: 0 0 4px 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.progress-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.progress-info span {
  font-size: 11px;
  color: var(--text-secondary);
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--bg-secondary);
  border-radius: 2px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.8s ease;
}

.course-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(33, 150, 243, 0.1);
  color: var(--primary-color);
}

.course-badge.new {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
}

.achievements-section {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 12px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-title h4 {
  margin: 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.view-all {
  font-size: 11px;
  color: var(--primary-color);
  cursor: pointer;
}

.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.achievement-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  flex-shrink: 0;
}

.achievement-icon.first-code {
  background: linear-gradient(135deg, #ffc107, #ff8f00);
}

.achievement-icon.streak {
  background: linear-gradient(135deg, #ff5722, #d84315);
}

.achievement-text {
  flex: 1;
}

.achievement-text h5 {
  margin: 0;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
}

.achievement-text span {
  font-size: 10px;
  color: var(--text-secondary);
}

.achievement-time {
  font-size: 10px;
  color: var(--text-secondary);
}

.action-buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn-primary, .btn-secondary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-footer {
  display: flex;
  justify-content: space-around;
  padding: 12px 8px 8px;
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-item.active {
  color: var(--primary-color);
}

.nav-item i {
  font-size: 16px;
}

.phone-shadow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
  filter: blur(20px);
  border-radius: 50%;
}

.app-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  min-width: 140px;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.info-card.downloads .card-icon {
  background: var(--gradient-primary);
}

.info-card.rating .card-icon {
  background: linear-gradient(135deg, #ffc107, #ff8f00);
}

.info-card.users .card-icon {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
}

.card-content {
  text-align: center;
}

.card-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

.card-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* AI Visualization - Neural Network Dashboard */
.ai-visualization {
  max-width: 550px;
  width: 100%;
  padding: var(--space-lg);
  box-sizing: border-box;
  overflow: hidden;
}

.neural-dashboard {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid rgba(139, 69, 255, 0.2);
  box-shadow: var(--shadow-2xl);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.neural-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(139, 69, 255, 0.05), transparent);
  animation: dashboardGlow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes dashboardGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.header-left h4 {
  color: var(--text-primary);
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0 0 var(--space-xs) 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.model-type {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  font-weight: 400;
}

.training-status {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--primary-color);
}

.status-indicator.active {
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 5px var(--primary-color); }
  50% { opacity: 0.5; box-shadow: 0 0 10px var(--primary-color); }
}

.training-progress {
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.progress-label {
  color: var(--text-primary);
  font-weight: 500;
  font-size: var(--font-size-sm);
}

.progress-percentage {
  color: var(--primary-color);
  font-weight: 700;
  font-size: var(--font-size-md);
  font-family: var(--font-mono);
}

.progress-bar-container {
  margin-bottom: var(--space-sm);
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: var(--bg-primary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  animation: progressGlow 2s ease-in-out infinite alternate;
  transition: width 0.8s ease-out;
}

@keyframes progressGlow {
  0% { box-shadow: 0 0 5px var(--primary-color); }
  100% { box-shadow: 0 0 15px var(--primary-color); }
}

.epoch-info {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.neural-network-viz {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
  padding: var(--space-md) 0;
}

.network-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.layer-label {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.neurons {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.neuron {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.neuron.active {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(33, 150, 243, 0.5);
  animation: neuronPulse 3s ease-in-out infinite;
}

@keyframes neuronPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.connections {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-xs);
  position: relative;
  width: 40px;
}

.connection-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  border-radius: 1px;
}

.connection-line.active {
  background: var(--gradient-primary);
  box-shadow: 0 0 3px var(--primary-color);
  animation: connectionFlow 2s ease-in-out infinite;
}

@keyframes connectionFlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.performance-metrics {
  position: relative;
  z-index: 1;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.metric-row:last-child {
  margin-bottom: 0;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-secondary);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
}

.metric-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.metric-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--font-size-sm);
  flex-shrink: 0;
}

.metric-icon.accuracy {
  background: linear-gradient(135deg, #4CAF50, #45a049);
}

.metric-icon.loss {
  background: linear-gradient(135deg, #FF5722, #e64a19);
}

.metric-icon.speed {
  background: linear-gradient(135deg, #2196F3, #1976d2);
}

.metric-icon.dataset {
  background: linear-gradient(135deg, #9C27B0, #7b1fa2);
}

.metric-content {
  flex: 1;
}

.metric-value {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  font-family: var(--font-mono);
}

.metric-label {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  font-weight: 500;
}

.code-window {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  max-width: 500px;
  width: 100%;
}

.window-header {
  background: var(--bg-elevated);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-controls {
  display: flex;
  gap: var(--space-xs);
}

.control {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
}

.control.close {
  background: #ff5f56;
}

.control.minimize {
  background: #ffbd2e;
}

.control.maximize {
  background: #27ca3f;
}

.window-title {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.code-content {
  padding: var(--space-lg);
}

.code-block {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: var(--text-primary);
}

.code-keyword {
  color: #c792ea;
}

.code-class {
  color: #ffcb6b;
}

.code-type {
  color: #82aaff;
}

.code-string {
  color: #c3e88d;
}

.code-function {
  color: #82aaff;
}

.code-comment {
  color: #546e7a;
  font-style: italic;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  color: var(--text-secondary);
  font-size: var(--font-size-xl);
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-card {
  background: var(--bg-card);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-xl);
}

.about-card h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.tech-orbit {
  position: relative;
  width: 300px;
  height: 300px;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--gradient-flutter);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  color: white;
  box-shadow: var(--shadow-xl);
}

.orbit-ring {
  position: relative;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  animation: rotate 20s linear infinite;
}

.orbit-item {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--bg-card);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  box-shadow: var(--shadow-lg);
  animation: counter-rotate 20s linear infinite;
}

.orbit-item:nth-child(1) {
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-item:nth-child(2) {
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
}

.orbit-item:nth-child(3) {
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-item:nth-child(4) {
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
}

/* ===== FOOTER STYLES ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-2xl) 0;
  margin-top: var(--space-4xl);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-text {
  flex: 1;
}

.footer-text p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.3px;
}

.footer-social {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.footer-social .social-link {
  width: 40px;
  height: 40px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social .social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
  border-color: var(--primary-color);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    padding: var(--space-xl) 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
    padding: 0 var(--space-md);
  }
  
  .footer-text {
    order: 2;
  }
  
  .footer-social {
    order: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: var(--space-lg) 0;
  }
  
  .footer-content {
    padding: 0 var(--space-sm);
  }
  
  .footer-social {
    gap: var(--space-md);
  }
  
  .footer-social .social-link {
    width: 36px;
    height: 36px;
    font-size: var(--font-size-sm);
  }
  
  .footer-text p {
    font-size: var(--font-size-xs);
  }
}

/* Light Theme Footer */
.light-theme .footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.light-theme .footer-social .social-link {
  background: var(--bg-elevated);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.light-theme .footer-social .social-link:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.2);
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition-normal);
}

input, textarea {
  outline: none;
  border: none;
  font-family: inherit;
}

/* ===== LOADING SCREEN ===== */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.code-brackets {
  font-size: var(--font-size-4xl);
  font-family: var(--font-mono);
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

.code-brackets span {
  display: inline-block;
  animation: fadeInUp 0.8s ease forwards;
}

.code-brackets span:nth-child(1) {
  animation-delay: 0.1s;
}

.code-brackets .flutter-logo {
  background: var(--gradient-flutter);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation-delay: 0.2s;
}

.code-brackets span:nth-child(3) {
  animation-delay: 0.3s;
}

.ai-animation {
  height: 4px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.neural-network {
  height: 100%;
  background: var(--gradient-ai);
  border-radius: var(--radius-full);
  animation: neuralPulse 2s ease-in-out infinite;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-dark {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0; /* remove auto-centering */
  text-align: left; /* ensure text inside is left-aligned */
}


.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  font-weight: 500;
  font-size: var(--font-size-base);
  text-decoration: none;
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: var(--z-fixed);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo a {
  font-size: var(--font-size-xl);
  font-weight: 700;
  font-family: var(--font-mono);
}

.logo-bracket {
  color: var(--primary-color);
}

.logo-name {
  color: var(--text-primary);
  margin: 0 0.2rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  transition: var(--transition-normal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.light-theme .theme-toggle {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-normal);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
  margin-bottom: var(--space-4xl);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-shape {
  position: absolute;
  border-radius: var(--radius-full);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-shape.flutter-blue {
  width: 100px;
  height: 100px;
  background: var(--gradient-flutter);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shape.ai-purple {
  width: 150px;
  height: 150px;
  background: var(--gradient-ai);
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.floating-shape.mobile-green {
  width: 80px;
  height: 80px;
  background: var(--gradient-mobile);
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  width: 100%;
}

.hero-text {
  max-width: 600px;
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.title-line {
  display: block;
  font-size: var(--font-size-2xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
  animation: fadeInUp 1s ease 0.2s both;
}

.title-name {
  display: block;
  font-size: var(--font-size-6xl);
  margin-bottom: var(--space-xs);
  animation: fadeInUp 1s ease 0.4s both;
}

.title-role {
  display: block;
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.8s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s ease 1s both;
}

.hero-social {
  display: flex;
  gap: var(--space-md);
  animation: fadeInUp 1s ease 1.2s both;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  animation: fadeInRight 1s ease 0.8s both;
}

/* Profile Section */
.profile-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.profile-image {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: profileFloat 6s ease-in-out infinite;
}

.profile-photo {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--bg-card);
  border: 3px solid var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  font-weight: 600;
}

.profile-photo.placeholder {
  background: linear-gradient(45deg, var(--bg-card), var(--bg-secondary));
  border: 2px dashed rgba(139, 69, 255, 0.3);
}

@keyframes profileFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Hero Graphics */
.hero-graphics {
  position: relative;
  margin-top: var(--space-xl);
}

.floating-tech-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 200px;
  margin: 0 auto;
}

.tech-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  color: white;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  animation: iconFloat 4s ease-in-out infinite;
}

.tech-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  filter: blur(20px);
  opacity: 0.3;
  z-index: -1;
}

.flutter-icon {
  background: var(--gradient-flutter);
  animation-delay: 0s;
}

.ai-icon {
  background: var(--gradient-ai);
  animation-delay: 1s;
}

.mobile-icon {
  background: var(--gradient-mobile);
  animation-delay: 2s;
}

.code-icon {
  background: var(--gradient-primary);
  animation-delay: 3s;
}

.tech-icon:hover {
  transform: translateY(-10px) scale(1.1);
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(2deg); }
  50% { transform: translateY(-5px) rotate(0deg); }
  75% { transform: translateY(-15px) rotate(-2deg); }
}

/* ===== SHOWCASE SECTION ===== */
.showcase {
  background: var(--bg-secondary);
  padding: var(--space-5xl) 0;
  margin-top: var(--space-4xl);
}

.showcase-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5xl);
  max-width: 100%;
  overflow: hidden;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.showcase-item.reverse {
  direction: rtl;
}

.showcase-item.reverse > * {
  direction: ltr;
}

.showcase-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.showcase-text h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.showcase-text p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Enhanced Code Window */
.code-window {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  max-width: 500px;
  width: 100%;
  box-sizing: border-box;
  animation: codeWindowGlow 3s ease-in-out infinite alternate;
}

@keyframes codeWindowGlow {
  from { box-shadow: var(--shadow-2xl); }
  to { box-shadow: 0 25px 50px rgba(139, 69, 255, 0.2); }
}

.window-header {
  background: var(--bg-elevated);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-controls {
  display: flex;
  gap: var(--space-xs);
}

.control {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
}

.control.close { background: #ff5f56; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #27ca3f; }

.window-title {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.code-content {
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
}

.code-block {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0;
}

.code-keyword { color: #ff6b9d; }
.code-type { color: #4ecdc4; }
.code-string { color: #45b7d1; }
.code-function { color: #96ceb4; }
.code-comment { color: #999; }
.code-class { color: #ffd93d; }
.code-bracket { color: #c7ecee; }

.code-footer {
  background: var(--bg-primary);
  padding: var(--space-sm) var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.code-stats {
  display: flex;
  gap: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
}

/* Mobile Showcase - CodePlay Connect App */
.mobile-showcase {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  max-width: 100%;
  overflow: hidden;
}

.phone-device {
  position: relative;
  perspective: 1000px;
}

.phone-bezel {
  width: 320px;
  height: 640px;
  max-width: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border-radius: 30px;
  padding: 8px;
  box-shadow: 
    0 0 0 3px rgba(255, 255, 255, 0.1),
    0 30px 60px rgba(0, 0, 0, 0.4);
  animation: phoneFloat 8s ease-in-out infinite;
  box-sizing: border-box;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0px) rotateY(-3deg); }
  50% { transform: translateY(-20px) rotateY(3deg); }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: var(--bg-card);
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 600;
}

.status-right {
  display: flex;
  gap: 4px;
  align-items: center;
}

.app-interface {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-logo .logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.app-title h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
}

.app-title p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.course-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.course-card.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px rgba(33, 150, 243, 0.2);
}

.course-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.course-icon.python {
  background: linear-gradient(135deg, #3776ab, #ffd43b);
}

.course-icon.java {
  background: linear-gradient(135deg, #f89820, #ed8b00);
}

.course-icon.js {
  background: linear-gradient(135deg, #f7df1e, #f0db4f);
  color: #323330;
}

.course-info {
  flex: 1;
}

.course-info h4 {
  margin: 0 0 4px 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.progress-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.progress-info span {
  font-size: 11px;
  color: var(--text-secondary);
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--bg-secondary);
  border-radius: 2px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.8s ease;
}

.course-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(33, 150, 243, 0.1);
  color: var(--primary-color);
}

.course-badge.new {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
}

.achievements-section {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 12px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-title h4 {
  margin: 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.view-all {
  font-size: 11px;
  color: var(--primary-color);
  cursor: pointer;
}

.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.achievement-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  flex-shrink: 0;
}

.achievement-icon.first-code {
  background: linear-gradient(135deg, #ffc107, #ff8f00);
}

.achievement-icon.streak {
  background: linear-gradient(135deg, #ff5722, #d84315);
}

.achievement-text {
  flex: 1;
}

.achievement-text h5 {
  margin: 0;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
}

.achievement-text span {
  font-size: 10px;
  color: var(--text-secondary);
}

.achievement-time {
  font-size: 10px;
  color: var(--text-secondary);
}

.action-buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn-primary, .btn-secondary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-footer {
  display: flex;
  justify-content: space-around;
  padding: 12px 8px 8px;
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-item.active {
  color: var(--primary-color);
}

.nav-item i {
  font-size: 16px;
}

.phone-shadow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
  filter: blur(20px);
  border-radius: 50%;
}

.app-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  min-width: 140px;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.info-card.downloads .card-icon {
  background: var(--gradient-primary);
}

.info-card.rating .card-icon {
  background: linear-gradient(135deg, #ffc107, #ff8f00);
}

.info-card.users .card-icon {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
}

.card-content {
  text-align: center;
}

.card-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

.card-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* AI Visualization - Neural Network Dashboard */
.ai-visualization {
  max-width: 550px;
  width: 100%;
  padding: var(--space-lg);
  box-sizing: border-box;
  overflow: hidden;
}

.neural-dashboard {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid rgba(139, 69, 255, 0.2);
  box-shadow: var(--shadow-2xl);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.neural-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(139, 69, 255, 0.05), transparent);
  animation: dashboardGlow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes dashboardGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.header-left h4 {
  color: var(--text-primary);
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0 0 var(--space-xs) 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.model-type {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  font-weight: 400;
}

.training-status {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--primary-color);
}

.status-indicator.active {
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 5px var(--primary-color); }
  50% { opacity: 0.5; box-shadow: 0 0 10px var(--primary-color); }
}

.training-progress {
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.progress-label {
  color: var(--text-primary);
  font-weight: 500;
  font-size: var(--font-size-sm);
}

.progress-percentage {
  color: var(--primary-color);
  font-weight: 700;
  font-size: var(--font-size-md);
  font-family: var(--font-mono);
}

.progress-bar-container {
  margin-bottom: var(--space-sm);
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: var(--bg-primary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  animation: progressGlow 2s ease-in-out infinite alternate;
  transition: width 0.8s ease-out;
}

@keyframes progressGlow {
  0% { box-shadow: 0 0 5px var(--primary-color); }
  100% { box-shadow: 0 0 15px var(--primary-color); }
}

.epoch-info {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.neural-network-viz {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
  padding: var(--space-md) 0;
}

.network-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.layer-label {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.neurons {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.neuron {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.neuron.active {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(33, 150, 243, 0.5);
  animation: neuronPulse 3s ease-in-out infinite;
}

@keyframes neuronPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.connections {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-xs);
  position: relative;
  width: 40px;
}

.connection-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  border-radius: 1px;
}

.connection-line.active {
  background: var(--gradient-primary);
  box-shadow: 0 0 3px var(--primary-color);
  animation: connectionFlow 2s ease-in-out infinite;
}

@keyframes connectionFlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.performance-metrics {
  position: relative;
  z-index: 1;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.metric-row:last-child {
  margin-bottom: 0;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-secondary);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
}

.metric-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.metric-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--font-size-sm);
  flex-shrink: 0;
}

.metric-icon.accuracy {
  background: linear-gradient(135deg, #4CAF50, #45a049);
}

.metric-icon.loss {
  background: linear-gradient(135deg, #FF5722, #e64a19);
}

.metric-icon.speed {
  background: linear-gradient(135deg, #2196F3, #1976d2);
}

.metric-icon.dataset {
  background: linear-gradient(135deg, #9C27B0, #7b1fa2);
}

.metric-content {
  flex: 1;
}

.metric-value {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  font-family: var(--font-mono);
}

.metric-label {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  font-weight: 500;
}

.code-window {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  max-width: 500px;
  width: 100%;
}

.window-header {
  background: var(--bg-elevated);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-controls {
  display: flex;
  gap: var(--space-xs);
}

.control {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
}

.control.close {
  background: #ff5f56;
}

.control.minimize {
  background: #ffbd2e;
}

.control.maximize {
  background: #27ca3f;
}

.window-title {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.code-content {
  padding: var(--space-lg);
}

.code-block {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: var(--text-primary);
}

.code-keyword {
  color: #c792ea;
}

.code-class {
  color: #ffcb6b;
}

.code-type {
  color: #82aaff;
}

.code-string {
  color: #c3e88d;
}

.code-function {
  color: #82aaff;
}

.code-comment {
  color: #546e7a;
  font-style: italic;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  color: var(--text-secondary);
  font-size: var(--font-size-xl);
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-card {
  background: var(--bg-card);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-xl);
}

.about-card h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.tech-orbit {
  position: relative;
  width: 300px;
  height: 300px;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--gradient-flutter);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  color: white;
  box-shadow: var(--shadow-xl);
}

.orbit-ring {
  position: relative;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  animation: rotate 20s linear infinite;
}

.orbit-item {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--bg-card);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  box-shadow: var(--shadow-lg);
  animation: counter-rotate 20s linear infinite;
}

.orbit-item:nth-child(1) {
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-item:nth-child(2) {
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
}

.orbit-item:nth-child(3) {
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-item:nth-child(4) {
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
}

/* ===== FOOTER STYLES ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-2xl) 0;
  margin-top: var(--space-4xl);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-text {
  flex: 1;
}

.footer-text p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.3px;
}

.footer-social {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.footer-social .social-link {
  width: 40px;
  height: 40px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social .social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
  border-color: var(--primary-color);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    padding: var(--space-xl) 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
    padding: 0 var(--space-md);
  }
  
  .footer-text {
    order: 2;
  }
  
  .footer-social {
    order: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: var(--space-lg) 0;
  }
  
  .footer-content {
    padding: 0 var(--space-sm);
  }
  
  .footer-social {
    gap: var(--space-md);
  }
  
  .footer-social .social-link {
    width: 36px;
    height: 36px;
    font-size: var(--font-size-sm);
  }
  
  .footer-text p {
    font-size: var(--font-size-xs);
  }
}

/* Light Theme Footer */
.light-theme .footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.light-theme .footer-social .social-link {
  background: var(--bg-elevated);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.light-theme .footer-social .social-link:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.2);
}