:root {
  --primary: #6366f1;
  --primary-light: #8b5cf6;
  --primary-dark: #4f46e5;
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --success: var(--accent-green);
  --warning: var(--accent-orange);
  --danger: #ef4444;
  --info: var(--accent-cyan);
  --bg-primary: #ffffff;
  --bg-secondary: var(--gray-50);
  --bg-dark: var(--gray-900);
  --bg-glass: rgba(255, 255, 255, 0.1);
  --bg-glass-dark: rgba(15, 23, 42, 0.8);
  --border-color: var(--gray-200);
  --border-color-dark: var(--gray-700);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 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.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --font-display: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "SF Mono", "Monaco", "Inconsolata", monospace;
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-slower: 500ms ease;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.glass, .input-modern.input-glass, .btn-modern.btn-glass, .card-modern.card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.glass.glass-strong, .glass-strong.input-modern.input-glass, .glass-strong.btn-modern.btn-glass, .glass-strong.card-modern.card-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}
.glass.glass-dark, .glass-dark.input-modern.input-glass, .glass-dark.btn-modern.btn-glass, .glass-dark.card-modern.card-glass {
  background: var(--bg-glass-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.glass.glass-bordered, .glass-bordered.input-modern.input-glass, .glass-bordered.btn-modern.btn-glass, .glass-bordered.card-modern.card-glass {
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-lg);
}

.neon-glow {
  position: relative;
}
.neon-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-gradient);
  border-radius: inherit;
  opacity: 0;
  filter: blur(20px);
  transition: opacity var(--transition-base);
  z-index: -1;
}
.neon-glow:hover::before {
  opacity: 0.7;
}

.cyber-border {
  position: relative;
  border: 2px solid transparent;
  background: linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box, var(--primary-gradient) border-box;
}
.cyber-border::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--primary-gradient);
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}
.cyber-border:hover::before {
  opacity: 0.2;
}

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

@-webkit-keyframes dataFlow {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes dataFlow {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}
.data-flow {
  position: relative;
  overflow: hidden;
}
.data-flow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-gradient);
  -webkit-animation: dataFlow 2s infinite;
          animation: dataFlow 2s infinite;
}

.card-modern {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
  border-color: rgba(99, 102, 241, 0.3);
}
.card-modern.card-glass {
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.card-modern.card-glow:hover {
  box-shadow: var(--shadow-glow), var(--shadow-2xl);
}

.btn-modern {
  position: relative;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  overflow: hidden;
}
.btn-modern.btn-primary {
  background: var(--primary-gradient);
  color: white;
}
.btn-modern.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn-modern.btn-glass {
  color: var(--gray-700);
}
.btn-modern.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
}
.btn-modern.btn-neon {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-modern.btn-neon:hover {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-glow);
}
.btn-modern:active {
  transform: translateY(0);
}

.input-modern {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
  transition: all var(--transition-base);
  font-family: var(--font-body);
}
.input-modern:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.input-modern.input-glass {
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.input-modern.input-glass:focus {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-webkit-keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@-webkit-keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(99, 102, 241, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.8);
  }
}
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(99, 102, 241, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.8);
  }
}
@-webkit-keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
.animate-fade-in-up {
  -webkit-animation: fadeInUp 0.6s ease-out;
          animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
  -webkit-animation: fadeInLeft 0.6s ease-out;
          animation: fadeInLeft 0.6s ease-out;
}

.animate-pulse-glow {
  -webkit-animation: pulseGlow 2s infinite;
          animation: pulseGlow 2s infinite;
}

.animate-float {
  -webkit-animation: float 3s ease-in-out infinite;
          animation: float 3s ease-in-out infinite;
}

.delay-100 {
  -webkit-animation-delay: 100ms;
          animation-delay: 100ms;
}

.delay-200 {
  -webkit-animation-delay: 200ms;
          animation-delay: 200ms;
}

.delay-300 {
  -webkit-animation-delay: 300ms;
          animation-delay: 300ms;
}

.delay-500 {
  -webkit-animation-delay: 500ms;
          animation-delay: 500ms;
}

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

.backdrop-blur {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glow {
  box-shadow: var(--shadow-glow);
}

.hover-lift {
  transition: transform var(--transition-base);
}
.hover-lift:hover {
  transform: translateY(-4px);
}

.hover-scale {
  transition: transform var(--transition-base);
}
.hover-scale:hover {
  transform: scale(1.05);
}

@media (min-width: 640px) {
  .sm\:block {
    display: block;
  }
  .sm\:hidden {
    display: none;
  }
}
@media (min-width: 768px) {
  .md\:block {
    display: block;
  }
  .md\:hidden {
    display: none;
  }
}
@media (min-width: 1024px) {
  .lg\:block {
    display: block;
  }
  .lg\:hidden {
    display: none;
  }
}
@media (min-width: 1280px) {
  .xl\:block {
    display: block;
  }
  .xl\:hidden {
    display: none;
  }
}
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 280px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-slow);
  z-index: var(--z-fixed);
  overflow: hidden;
}
.sidebar.collapsed {
  width: 80px;
}
.sidebar.collapsed .sidebar-header .brand-text,
.sidebar.collapsed .sidebar-nav .nav-text,
.sidebar.collapsed .sidebar-footer .user-info {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-20px);
}
.sidebar.collapsed .sidebar-nav .nav-item {
  justify-content: center;
  padding: var(--space-3) var(--space-4);
}
.sidebar.collapsed .sidebar-nav .section-title {
  opacity: 0;
  visibility: hidden;
}
.sidebar.collapsed .sidebar-nav .nav-badge {
  position: absolute;
  top: -5px;
  right: 10px;
  transform: scale(0.8);
}
.sidebar.collapsed .sidebar-footer .user-card {
  justify-content: center;
}
.sidebar-header {
  height: 80px;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.sidebar-header .brand-logo {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.sidebar-header .brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  transition: all var(--transition-base);
  white-space: nowrap;
}
.sidebar-header .toggle-btn {
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}
.sidebar-header .toggle-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-lg);
}
.sidebar-header .toggle-btn i {
  font-size: 0.875rem;
  transition: transform var(--transition-base);
}
.sidebar-nav {
  flex: 1;
  padding: var(--space-4) 0;
  overflow-y: auto;
  overflow-x: hidden;
}
.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}
.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}
.sidebar-nav .nav-section {
  margin-bottom: var(--space-6);
}
.sidebar-nav .nav-section .section-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
  padding: 0 var(--space-6);
  transition: all var(--transition-base);
  white-space: nowrap;
}
.sidebar-nav .nav-item {
  display: flex;
  align-items: center;
  padding: var(--space-3) var(--space-6);
  margin: 0 var(--space-3);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--gray-600);
  transition: all var(--transition-base);
  position: relative;
  gap: var(--space-3);
}
.sidebar-nav .nav-item:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  transform: translateX(4px);
}
.sidebar-nav .nav-item.active {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-lg);
}
.sidebar-nav .nav-item.active::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--primary);
  border-radius: 2px;
}
.sidebar-nav .nav-item .nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.sidebar-nav .nav-item .nav-text {
  font-weight: 500;
  transition: all var(--transition-base);
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}
.sidebar-nav .nav-item .nav-badge {
  margin-left: auto;
  background: var(--accent-cyan);
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  min-width: 18px;
  text-align: center;
  transition: all var(--transition-base);
  flex-shrink: 0;
}
.sidebar-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-footer .user-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: pointer;
}
.sidebar-footer .user-card:hover {
  background: rgba(255, 255, 255, 0.1);
}
.sidebar-footer .user-card .user-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  flex-shrink: 0;
}
.sidebar-footer .user-card .user-info {
  transition: all var(--transition-base);
  min-width: 0;
  flex: 1;
}
.sidebar-footer .user-card .user-info .user-name {
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-footer .user-card .user-info .user-role {
  font-size: 0.75rem;
  color: var(--gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-content {
  margin-left: 280px;
  transition: margin-left var(--transition-slow);
  min-height: 100vh;
}
.sidebar.collapsed ~ .main-content {
  margin-left: 80px;
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .sidebar.collapsed {
    width: 280px;
  }
  .main-content {
    margin-left: 0;
  }
  .sidebar.collapsed ~ .main-content {
    margin-left: 0;
  }
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    z-index: var(--z-modal-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }
  .sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}
.sidebar .nav-item:nth-child(1) {
  -webkit-animation-delay: 50ms;
          animation-delay: 50ms;
}
.sidebar .nav-item:nth-child(2) {
  -webkit-animation-delay: 100ms;
          animation-delay: 100ms;
}
.sidebar .nav-item:nth-child(3) {
  -webkit-animation-delay: 150ms;
          animation-delay: 150ms;
}
.sidebar .nav-item:nth-child(4) {
  -webkit-animation-delay: 200ms;
          animation-delay: 200ms;
}
.sidebar .nav-item:nth-child(5) {
  -webkit-animation-delay: 250ms;
          animation-delay: 250ms;
}

.sidebar.collapsed .nav-item {
  position: relative;
}
.sidebar.collapsed .nav-item:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-800);
  color: white;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  white-space: nowrap;
  z-index: var(--z-tooltip);
  opacity: 0;
  -webkit-animation: fadeInLeft 0.2s ease-out forwards;
          animation: fadeInLeft 0.2s ease-out forwards;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(168, 85, 247, 0.1) 100%);
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(99,102,241,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
  -webkit-animation: gridMove 20s linear infinite;
          animation: gridMove 20s linear infinite;
}
.hero-section .floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.hero-section .floating-shapes .shape {
  position: absolute;
  background: var(--primary-gradient);
  opacity: 0.1;
  -webkit-animation: float 6s ease-in-out infinite;
          animation: float 6s ease-in-out infinite;
}
.hero-section .floating-shapes .shape.circle {
  border-radius: 50%;
}
.hero-section .floating-shapes .shape.circle:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}
.hero-section .floating-shapes .shape.circle:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}
.hero-section .floating-shapes .shape.triangle {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 52px solid;
  border-bottom-color: var(--accent-cyan);
  background: transparent;
}
.hero-section .floating-shapes .shape.triangle:nth-child(3) {
  top: 30%;
  right: 25%;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
.hero-section .floating-shapes .shape.square {
  transform: rotate(45deg);
}
.hero-section .floating-shapes .shape.square:nth-child(4) {
  width: 60px;
  height: 60px;
  top: 70%;
  left: 20%;
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
}
.hero-section .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-section .hero-content .hero-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
@media (max-width: 768px) {
  .hero-section .hero-content .hero-main {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
}
.hero-section .hero-content .hero-text .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-6);
}
.hero-section .hero-content .hero-text .hero-badge .badge-icon {
  width: 16px;
  height: 16px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
}
.hero-section .hero-content .hero-text .hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-6);
  color: var(--gray-900);
}
.hero-section .hero-content .hero-text .hero-title .highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.hero-section .hero-content .hero-text .hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
  opacity: 0.3;
}
.hero-section .hero-content .hero-text .hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: var(--space-8);
  max-width: 500px;
}
.hero-section .hero-content .hero-text .hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .hero-section .hero-content .hero-text .hero-actions {
    justify-content: center;
  }
}
.hero-section .hero-content .hero-text .hero-actions .btn-primary {
  padding: var(--space-4) var(--space-8);
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--primary-gradient);
  border: none;
  border-radius: var(--radius-xl);
  color: white;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.hero-section .hero-content .hero-text .hero-actions .btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}
.hero-section .hero-content .hero-text .hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow), var(--shadow-xl);
}
.hero-section .hero-content .hero-text .hero-actions .btn-primary:hover::before {
  left: 100%;
}
.hero-section .hero-content .hero-text .hero-actions .btn-secondary {
  padding: var(--space-4) var(--space-8);
  font-size: 1.1rem;
  font-weight: 600;
  background: transparent;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  color: var(--gray-700);
  transition: all var(--transition-base);
}
.hero-section .hero-content .hero-text .hero-actions .btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.hero-section .hero-content .hero-text .hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-10);
}
@media (max-width: 768px) {
  .hero-section .hero-content .hero-text .hero-stats {
    justify-content: center;
  }
}
.hero-section .hero-content .hero-text .hero-stats .stat-item {
  text-align: center;
}
.hero-section .hero-content .hero-text .hero-stats .stat-item .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.hero-section .hero-content .hero-text .hero-stats .stat-item .stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: var(--space-1);
}
.hero-section .hero-content .hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-section .hero-content .hero-visual .hero-image {
  position: relative;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
}
.hero-section .hero-content .hero-visual .hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
}
.hero-section .hero-content .hero-visual .hero-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: var(--primary-gradient);
  border-radius: var(--radius-2xl);
  opacity: 0.1;
  z-index: -1;
  -webkit-animation: pulseGlow 3s ease-in-out infinite;
          animation: pulseGlow 3s ease-in-out infinite;
}
.hero-section .hero-content .hero-visual .floating-card {
  position: absolute;
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
  -webkit-animation: float 4s ease-in-out infinite;
          animation: float 4s ease-in-out infinite;
}
.hero-section .hero-content .hero-visual .floating-card.card-1 {
  top: 10%;
  left: -10%;
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}
.hero-section .hero-content .hero-visual .floating-card.card-1 .card-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-green);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: var(--space-2);
}
.hero-section .hero-content .hero-visual .floating-card.card-1 .card-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
}
.hero-section .hero-content .hero-visual .floating-card.card-2 {
  bottom: 15%;
  right: -15%;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
.hero-section .hero-content .hero-visual .floating-card.card-2 .card-content {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.hero-section .hero-content .hero-visual .floating-card.card-2 .card-content .avatar-group {
  display: flex;
}
.hero-section .hero-content .hero-visual .floating-card.card-2 .card-content .avatar-group .avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--primary-gradient);
  border: 2px solid white;
  margin-left: -8px;
}
.hero-section .hero-content .hero-visual .floating-card.card-2 .card-content .avatar-group .avatar:first-child {
  margin-left: 0;
}
.hero-section .hero-content .hero-visual .floating-card.card-2 .card-content .card-info .count {
  font-weight: 700;
  color: var(--primary);
}
.hero-section .hero-content .hero-visual .floating-card.card-2 .card-content .card-info .label {
  font-size: 0.75rem;
  color: var(--gray-600);
}
.hero-section .hero-content .hero-visual .floating-card.card-3 {
  top: 50%;
  right: 10%;
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}
.hero-section .hero-content .hero-visual .floating-card.card-3 .progress-ring {
  width: 60px;
  height: 60px;
  position: relative;
}
.hero-section .hero-content .hero-visual .floating-card.card-3 .progress-ring svg {
  transform: rotate(-90deg);
}
.hero-section .hero-content .hero-visual .floating-card.card-3 .progress-ring svg circle {
  fill: none;
  stroke-width: 4;
}
.hero-section .hero-content .hero-visual .floating-card.card-3 .progress-ring svg circle.bg {
  stroke: var(--gray-200);
}
.hero-section .hero-content .hero-visual .floating-card.card-3 .progress-ring svg circle.progress {
  stroke: var(--accent-cyan);
  stroke-dasharray: 157;
  stroke-dashoffset: 47;
  -webkit-animation: progressAnimation 2s ease-out;
          animation: progressAnimation 2s ease-out;
}
.hero-section .hero-content .hero-visual .floating-card.card-3 .progress-ring .progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  color: var(--accent-cyan);
}

@-webkit-keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(10px, 10px);
  }
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(10px, 10px);
  }
}
@-webkit-keyframes progressAnimation {
  0% {
    stroke-dashoffset: 157;
  }
  100% {
    stroke-dashoffset: 47;
  }
}
@keyframes progressAnimation {
  0% {
    stroke-dashoffset: 157;
  }
  100% {
    stroke-dashoffset: 47;
  }
}
.tech-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.tech-particles .particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  -webkit-animation: particleFloat 8s linear infinite;
          animation: particleFloat 8s linear infinite;
}
.tech-particles .particle:nth-child(1) {
  left: 10%;
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
  -webkit-animation-duration: 6s;
          animation-duration: 6s;
}
.tech-particles .particle:nth-child(2) {
  left: 25%;
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
  -webkit-animation-duration: 7s;
          animation-duration: 7s;
}
.tech-particles .particle:nth-child(3) {
  left: 40%;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
  -webkit-animation-duration: 8s;
          animation-duration: 8s;
}
.tech-particles .particle:nth-child(4) {
  left: 60%;
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
  -webkit-animation-duration: 5s;
          animation-duration: 5s;
}
.tech-particles .particle:nth-child(5) {
  left: 80%;
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
  -webkit-animation-duration: 6s;
          animation-duration: 6s;
}

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

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) scale(1);
  }
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.cards-grid .course-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
  position: relative;
}
.cards-grid .course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: rgba(99, 102, 241, 0.3);
}
.cards-grid .course-card .card-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.cards-grid .course-card .card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform var(--transition-base);
}
.cards-grid .course-card .card-image .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cards-grid .course-card .card-image .play-button {
  width: 60px;
  height: 60px;
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transform: scale(0.8);
  transition: all var(--transition-base);
}
.cards-grid .course-card .card-image:hover img {
  transform: scale(1.05);
}
.cards-grid .course-card .card-image:hover .card-overlay {
  opacity: 1;
}
.cards-grid .course-card .card-image:hover .play-button {
  transform: scale(1);
}
.cards-grid .course-card .card-content {
  padding: var(--space-6);
}
.cards-grid .course-card .card-content .card-category {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.cards-grid .course-card .card-content .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
  line-height: 1.4;
}
.cards-grid .course-card .card-content .card-description {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cards-grid .course-card .card-content .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-color);
}
.cards-grid .course-card .card-content .card-footer .card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.cards-grid .course-card .card-content .card-footer .card-meta .meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.875rem;
  color: var(--gray-500);
}
.cards-grid .course-card .card-content .card-footer .card-meta .meta-item i {
  font-size: 0.75rem;
}
.cards-grid .course-card .card-content .card-footer .card-action {
  padding: var(--space-2) var(--space-4);
  background: var(--primary-gradient);
  color: white;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}
.cards-grid .course-card .card-content .card-footer .card-action:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.navbar-modern {
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-4) 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}
.navbar-modern .navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  text-decoration: none;
}
.navbar-modern .navbar-brand .brand-logo {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}
.navbar-modern .navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: auto;
}
.navbar-modern .navbar-nav .nav-link {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}
.navbar-modern .navbar-nav .nav-link:hover {
  color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}
.navbar-modern .navbar-nav .nav-link.active {
  color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}
.navbar-modern .navbar-nav .nav-button {
  padding: var(--space-2) var(--space-4);
  background: var(--primary-gradient);
  color: white;
  border-radius: var(--radius-lg);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}
.navbar-modern .navbar-nav .nav-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.navbar-modern .navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-700);
  cursor: pointer;
}
@media (max-width: 768px) {
  .navbar-modern .navbar-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .navbar-modern .navbar-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    padding: var(--space-4);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }
  .navbar-modern .navbar-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

.search-modern {
  position: relative;
  max-width: 400px;
}
.search-modern .search-input {
  width: 100%;
  padding: var(--space-3) var(--space-4) var(--space-3) 3rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  background: var(--bg-primary);
  transition: all var(--transition-base);
  font-size: 0.875rem;
}
.search-modern .search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.search-modern .search-input::-moz-placeholder {
  color: var(--gray-400);
}
.search-modern .search-input::placeholder {
  color: var(--gray-400);
}
.search-modern .search-icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}
.search-modern .search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 300px;
  overflow-y: auto;
  z-index: var(--z-dropdown);
}
.search-modern .search-suggestions .suggestion-item {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background-color var(--transition-base);
}
.search-modern .search-suggestions .suggestion-item:hover {
  background: var(--gray-50);
}
.search-modern .search-suggestions .suggestion-item:last-child {
  border-bottom: none;
}

.loading-modern {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.loading-modern .loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-200);
  border-top: 2px solid var(--primary);
  border-radius: 50%;
  -webkit-animation: spin 1s linear infinite;
          animation: spin 1s linear infinite;
}
.loading-modern .loading-text {
  color: var(--gray-600);
  font-size: 0.875rem;
}

@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.tags-modern {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.tags-modern .tag {
  padding: var(--space-1) var(--space-3);
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  transition: all var(--transition-base);
}
.tags-modern .tag:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-1px);
}
.tags-modern .tag.tag-primary {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
}
.tags-modern .tag.tag-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
  }
}
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .hero-section .hero-content .hero-main {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
}
