/* Nexus Institute - Static Website Styles */

/* CSS Variables */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #f59e0b;
  --secondary-dark: #d97706;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-100: #fef3c7;
  --purple-100: #f3e8ff;
  --purple-600: #9333ea;
  --orange-100: #ffedd5;
  --orange-600: #ea580c;
  --red-500: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--slate-700);
  background-color: var(--slate-50);
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 768px) {
  .md\\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\\:flex-row { flex-direction: row; }
}

@media (min-width: 1024px) {
  .lg\\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--slate-900);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

.btn-outline {
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--slate-100);
}

.btn-outline-white {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  background-color: transparent;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
  background: linear-gradient(to right, var(--slate-900), var(--slate-800), var(--slate-900));
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 1024px) {
  .navbar-content {
    height: 5rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-text {
  color: var(--white);
}

.navbar.scrolled .logo-text {
  color: var(--slate-900);
}

.logo-accent {
  color: var(--amber-400);
}

.nav-links {
  display: none;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--amber-400);
}

.navbar.scrolled .nav-link {
  color: var(--slate-700);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--primary);
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: var(--white);
}

.mobile-menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .mobile-menu-btn {
  color: var(--slate-700);
}

.navbar.scrolled .mobile-menu-btn:hover {
  background-color: var(--slate-100);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--slate-50);
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.9));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 8rem 1rem 4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(245, 158, 11, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--green-500);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-title span {
  color: var(--amber-400);
  display: block;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 48rem;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: rgba(255, 255, 255, 0.5);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-0.5rem); }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-white {
  background-color: var(--white);
}

.section-gray {
  background-color: var(--slate-50);
}

.section-dark {
  background-color: var(--slate-900);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--slate-600);
}

.section-description {
  color: var(--slate-500);
  max-width: 42rem;
  margin: 1rem auto 0;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .stat-value {
    font-size: 3rem;
  }
}

.stat-label {
  color: var(--slate-600);
}

/* Feature Cards */
.feature-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background-color: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--slate-600);
}

/* Steps */
.steps-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-item {
  position: relative;
}

.step-number {
  font-size: 3.75rem;
  font-weight: 700;
  color: #dbeafe;
  margin-bottom: 1rem;
  line-height: 1;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.step-description {
  color: var(--slate-600);
  font-size: 0.875rem;
}

/* Course Cards */
.courses-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.course-card {
  background-color: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}

.course-card:hover {
  box-shadow: var(--shadow-lg);
}

.course-image {
  height: 12rem;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-content {
  padding: 2rem;
}

.course-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge-featured {
  padding: 0.25rem 0.75rem;
  background-color: #dbeafe;
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

.badge-category {
  padding: 0.25rem 0.75rem;
  background-color: var(--slate-100);
  color: var(--slate-600);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  text-transform: capitalize;
}

.badge-category.health {
  background-color: var(--green-100);
  color: #15803d;
}

.badge-category.logistics {
  background-color: var(--orange-100);
  color: var(--orange-600);
}

.badge-category.management {
  background-color: var(--purple-100);
  color: var(--purple-600);
}

.course-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.course-description {
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.course-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-meta svg {
  width: 1rem;
  height: 1rem;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
}

.course-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.course-actions {
  display: flex;
  gap: 0.75rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: var(--slate-50);
  border-radius: 1rem;
  padding: 2rem;
}

.testimonial-quote {
  font-size: 2.25rem;
  color: #93c5fd;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  color: var(--slate-700);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--slate-900);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* CTA Section */
.cta-box {
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
}

.cta-box-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.cta-box-title svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--amber-400);
}

.cta-box-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.cta-box-link {
  color: var(--amber-400);
  font-size: 0.875rem;
  font-weight: 500;
}

.cta-box-link:hover {
  color: #fcd34d;
}

/* Footer */
.footer {
  background-color: var(--slate-900);
  color: var(--slate-300);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .footer-brand {
    grid-column: span 1;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.footer-logo-accent {
  color: #60a5fa;
}

.footer-description {
  font-size: 0.875rem;
  color: var(--slate-400);
  margin-bottom: 1.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-400);
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.footer-title {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--slate-400);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--slate-800);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-link {
  font-size: 0.875rem;
  color: var(--slate-500);
  transition: color 0.2s;
}

.footer-legal-link:hover {
  color: var(--white);
}

/* Page Header */
.page-header {
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.7));
}

.page-header-content {
  position: relative;
  z-index: 10;
}

.page-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .page-title {
    font-size: 3rem;
  }
}

.page-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 36rem;
}

.page-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.page-header-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--amber-400);
}

.page-header-meta svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Filter Tabs */
.filter-bar {
  position: sticky;
  top: 4rem;
  z-index: 40;
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 1024px) {
  .filter-bar {
    top: 5rem;
  }
}

.filter-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  overflow-x: auto;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
  background-color: var(--slate-100);
  color: var(--slate-700);
}

.filter-btn:hover {
  background-color: var(--slate-200);
}

.filter-btn.active {
  background-color: var(--primary);
  color: var(--white);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid var(--slate-300);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
  color: var(--slate-400);
}

.form-input-icon {
  position: relative;
}

.form-input-icon svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--slate-400);
}

.form-input-icon .form-input {
  padding-left: 2.5rem;
}

/* Portal Styles */
.portal-page {
  min-height: 100vh;
  background: linear-gradient(to bottom right, var(--slate-900), var(--slate-800), var(--slate-900));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.portal-card {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  width: 100%;
  max-width: 28rem;
  box-shadow: var(--shadow-xl);
}

.portal-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.portal-logo a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
}

.portal-logo-accent {
  color: var(--amber-500);
}

.portal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.portal-subtitle {
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.portal-form {
  space: 1.25rem;
}

.portal-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
}

.portal-footer p {
  color: var(--slate-600);
}

.portal-footer button {
  color: var(--primary);
  font-weight: 500;
}

.portal-footer button:hover {
  color: var(--primary-dark);
}

/* Dashboard */
.dashboard {
  min-height: 100vh;
  background-color: var(--slate-50);
}

.dashboard-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.dashboard-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dashboard-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #3b82f6, #9333ea);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
}

.dashboard-name {
  display: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
}

@media (min-width: 640px) {
  .dashboard-name {
    display: block;
  }
}

.dashboard-main {
  display: grid;
  gap: 2rem;
  padding: 2rem 0;
}

@media (min-width: 1024px) {
  .dashboard-main {
    grid-template-columns: 16rem 1fr;
  }
}

.dashboard-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .dashboard-sidebar {
    display: block;
  }
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dashboard-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: all 0.2s;
  text-align: left;
}

.dashboard-nav-btn:hover {
  background-color: var(--slate-100);
}

.dashboard-nav-btn.active {
  background-color: #eff6ff;
  color: var(--primary);
}

.dashboard-nav-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.dashboard-nav-badge {
  margin-left: auto;
  padding: 0.125rem 0.5rem;
  background-color: var(--red-500);
  color: var(--white);
  font-size: 0.75rem;
  border-radius: 9999px;
}

.dashboard-nav-logout {
  color: var(--red-500);
}

.dashboard-nav-logout:hover {
  background-color: #fef2f2;
}

.dashboard-content {
  min-height: calc(100vh - 8rem);
}

.dashboard-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

/* Progress Bar */
.progress-bar {
  height: 0.5rem;
  background-color: var(--slate-200);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--primary);
  border-radius: 9999px;
  transition: width 0.3s;
}

/* Locked Course */
.locked-course {
  opacity: 0.75;
}

.locked-course-image {
  position: relative;
}

.locked-course-image img {
  filter: grayscale(100%);
}

.locked-course-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.locked-course-overlay svg {
  width: 3rem;
  height: 3rem;
  color: var(--white);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}

.modal {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  width: 100%;
  max-width: 28rem;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--amber-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.modal-icon svg {
  width: 2rem;
  height: 2rem;
  color: #d97706;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.modal-text {
  color: var(--slate-600);
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.modal-actions .btn {
  flex: 1;
}

/* Schedule */
.schedule-item {
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  padding: 1.25rem;
}

.schedule-date {
  width: 4rem;
  text-align: center;
  flex-shrink: 0;
}

.schedule-day {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.schedule-date-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.schedule-events {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.schedule-event {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background-color: var(--slate-50);
  border-radius: 0.5rem;
}

.schedule-event-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.schedule-event-dot.live {
  background-color: var(--green-500);
}

.schedule-event-dot.deadline {
  background-color: var(--amber-500);
}

.schedule-event-title {
  font-weight: 500;
  color: var(--slate-900);
}

.schedule-event-time {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.schedule-event-badge {
  margin-left: auto;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 9999px;
}

.schedule-event-badge.live {
  background-color: var(--green-100);
  color: #15803d;
}

/* Messages */
.message-item {
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  padding: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.message-item:hover {
  background-color: var(--slate-50);
}

.message-item.unread {
  border-color: #93c5fd;
  background-color: rgba(239, 246, 255, 0.3);
}

.message-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.message-avatar svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.message-content {
  flex: 1;
  min-width: 0;
}

.message-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.message-from {
  font-weight: 500;
  color: var(--slate-900);
}

.message-time {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.message-subject {
  font-weight: 500;
  color: var(--slate-800);
  margin-bottom: 0.25rem;
}

.message-preview {
  font-size: 0.875rem;
  color: var(--slate-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.message-unread-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem;
  background-color: var(--slate-50);
  border-radius: 0.75rem;
}

.empty-state-icon {
  width: 4rem;
  height: 4rem;
  color: var(--slate-300);
  margin: 0 auto 1rem;
}

.empty-state-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.empty-state-text {
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

/* Profile Form */
.profile-form {
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  padding: 1.5rem;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-avatar-large {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #3b82f6, #9333ea);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.875rem;
  font-weight: 700;
}

.profile-info h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--slate-900);
}

.profile-info p {
  color: var(--slate-600);
}

.profile-info .text-sm {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.profile-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.profile-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--slate-600);
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.back-link svg {
  width: 1rem;
  height: 1rem;
}

/* Info Cards */
.info-card {
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  padding: 1.5rem;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.info-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.info-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
}

.info-card-text {
  color: var(--slate-600);
  margin-bottom: 1rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.info-list-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--green-500);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.info-list-item span {
  color: var(--slate-700);
}

/* Curriculum */
.curriculum-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.curriculum-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--slate-50);
  border-radius: 0.75rem;
  transition: background-color 0.2s;
}

.curriculum-item:hover {
  background-color: var(--slate-100);
}

.curriculum-number {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.curriculum-title {
  font-weight: 500;
  color: var(--slate-900);
}

/* Certification Box */
.cert-box {
  background: linear-gradient(to bottom right, #eff6ff, #eef2ff);
  border-radius: 0.75rem;
  border: 1px solid #dbeafe;
  padding: 1.5rem;
}

.cert-box-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cert-box-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-box-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--white);
}

.cert-box-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
}

.cert-box-text {
  color: var(--slate-700);
  line-height: 1.7;
}

/* Sidebar Cards */
.sidebar-card {
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  padding: 1.5rem;
}

.sidebar-card-price {
  text-align: center;
  margin-bottom: 1.5rem;
}

.sidebar-card-price-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
}

.sidebar-card-price-label {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.sidebar-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sidebar-card-actions .btn {
  width: 100%;
}

.sidebar-card-details {
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-card-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

.sidebar-card-detail-label {
  color: var(--slate-500);
}

.sidebar-card-detail-value {
  font-weight: 500;
  color: var(--slate-900);
}

/* Alert Box */
.alert-box {
  padding: 1rem;
  background-color: var(--slate-50);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.alert-box-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-box-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--slate-500);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.alert-box-text {
  font-size: 0.875rem;
  color: var(--slate-600);
}

/* Payment Info Box */
.payment-info {
  background-color: var(--amber-50);
  border-radius: 0.75rem;
  border: 1px solid #fde68a;
  padding: 1.5rem;
}

.payment-info-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.payment-info-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #d97706;
}

.payment-info-title {
  font-weight: 600;
  color: #92400e;
}

.payment-info-text {
  font-size: 0.875rem;
  color: #a16207;
  margin-bottom: 1rem;
}

.payment-info-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #a16207;
}

.payment-info-link:hover {
  text-decoration: underline;
}

/* Support Box */
.support-box {
  background-color: var(--slate-100);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.support-box-title {
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.support-box-text {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 1rem;
}

/* Bank Transfer Details */
.bank-details {
  background-color: var(--amber-50);
  border-radius: 0.75rem;
  border: 1px solid #fde68a;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.bank-details-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.bank-details-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #d97706;
}

.bank-details-title {
  font-weight: 600;
  color: #92400e;
}

.bank-details-list {
  display: flex;
  flex-direction: column;
}

.bank-detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #fde68a;
}

.bank-detail-item:last-child {
  border-bottom: none;
}

.bank-detail-label {
  color: #a16207;
}

.bank-detail-value {
  font-weight: 500;
  color: #92400e;
}

.bank-detail-value.mono {
  font-family: monospace;
}

.bank-detail-value.large {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Order Summary */
.order-summary {
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  padding: 1.5rem;
}

.order-summary-title {
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.order-summary-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.order-summary-item-info h4 {
  font-weight: 500;
  color: var(--slate-900);
}

.order-summary-item-info p {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.order-summary-item-price {
  font-weight: 500;
  color: var(--slate-900);
}

.order-summary-divider {
  border-top: 1px solid var(--slate-200);
  margin: 1rem 0;
}

.order-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.order-summary-row-label {
  color: var(--slate-600);
}

.order-summary-row-value {
  color: var(--slate-900);
}

.order-summary-row-value.free {
  color: var(--green-500);
}

.order-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-200);
}

.order-summary-total-label {
  font-weight: 600;
  color: var(--slate-900);
}

.order-summary-total-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  background-color: var(--slate-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.success-card {
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  text-align: center;
  max-width: 32rem;
}

.success-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--green-500);
}

.success-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.success-text {
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.success-highlight {
  font-weight: 600;
}

.success-info {
  padding: 1.5rem;
  background-color: #eff6ff;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.success-info-text {
  font-size: 0.875rem;
  color: #1e40af;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .success-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* Responsive Utilities */
.hidden { display: none; }

@media (min-width: 640px) {
  .sm\\:flex { display: flex; }
  .sm\\:hidden { display: none; }
}

@media (min-width: 768px) {
  .md\\:flex { display: flex; }
  .md\\:hidden { display: none; }
  .md\\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .lg\\:flex { display: flex; }
  .lg\\:hidden { display: none; }
  .lg\\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\\:col-span-1 { grid-column: span 1; }
  .lg\\:col-span-2 { grid-column: span 2; }
  .lg\\:col-span-3 { grid-column: span 3; }
}

/* Spacing */
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

/* Text */
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Colors */
.text-white { color: var(--white); }
.text-gray-600 { color: var(--slate-600); }
.text-gray-700 { color: var(--slate-700); }
.text-gray-900 { color: var(--slate-900); }

/* Backgrounds */
.bg-white { background-color: var(--white); }
.bg-gray-50 { background-color: var(--slate-50); }
.bg-gray-100 { background-color: var(--slate-100); }

/* Borders */
.border { border: 1px solid var(--slate-200); }
.border-t { border-top: 1px solid var(--slate-200); }
.border-b { border-bottom: 1px solid var(--slate-200); }

/* Shadow */
.shadow-sm { box-shadow: var(--shadow-sm); }
