@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');
@import url('https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css');

:root {
  --primary: #6c3fc5;
  --primary-light: #8b5cf6;
  --primary-dark: #4c2a9e;
  --secondary: #f59e42;
  --secondary-light: #fbbf24;
  --secondary-dark: #d97706;
  --accent: #e94f7c;
  --accent-light: #f472b6;
  --bg-main: #f4f0fb;
  --bg-card: #ffffff;
  --bg-dark: #1a1040;
  --text-main: #22153a;
  --text-muted: #7c6fa0;
  --text-light: #c4b5e8;
  --border: #e0d4f7;
  --shadow-sm: 0 2px 8px rgba(108, 63, 197, 0.08);
  --shadow-md: 0 6px 24px rgba(108, 63, 197, 0.14);
  --shadow-lg: 0 16px 48px rgba(108, 63, 197, 0.18);
  --gradient-primary: linear-gradient(135deg, #6c3fc5 0%, #e94f7c 100%);
  --gradient-secondary: linear-gradient(135deg, #f59e42 0%, #e94f7c 100%);
  --gradient-hero: linear-gradient(120deg, #1a1040 0%, #3b1d8a 50%, #6c3fc5 100%);
  --gradient-card: linear-gradient(160deg, #f4f0fb 0%, #e9e0fa 100%);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 48px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ==================== CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-light), var(--accent));
  border-radius: 99px;
  border: 2px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

/* ==================== STICKY HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition-bounce);
}

.site-logo:hover {
  transform: scale(1.05);
}

.site-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  -webkit-text-fill-color: white;
  box-shadow: 0 4px 12px rgba(108, 63, 197, 0.35);
  flex-shrink: 0;
}

/* ==================== NAVIGATION ==================== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.85rem;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 99px;
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--primary);
  background: rgba(108, 63, 197, 0.07);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.main-nav a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-cta {
  margin-left: 0.75rem;
}

/* ==================== MOBILE NAVIGATION ==================== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  gap: 5px;
}

.mobile-menu-btn:hover {
  background: rgba(108, 63, 197, 0.08);
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 99px;
  transition: var(--transition);
  transform-origin: center;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  background: rgba(255, 255, 255, 0.98);
  border-top: 1.5px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-md);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--text-main);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.mobile-menu a:hover {
  color: var(--primary);
  background: rgba(108, 63, 197, 0.07);
  border-left-color: var(--primary);
  padding-left: 1.25rem;
}

.mobile-menu a.active {
  color: var(--primary);
  background: rgba(108, 63, 197, 0.07);
  border-left-color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .main-nav {
    display: none;
  }
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: var(--transition-bounce);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(108, 63, 197, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(108, 63, 197, 0.45);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: 0 4px 16px rgba(245, 158, 66, 0.35);
}

.btn-secondary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(245, 158, 66, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108, 63, 197, 0.25);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(108, 63, 197, 0.08);
  color: var(--primary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(108, 63, 197, 0.15);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 16px rgba(233, 79, 124, 0.35);
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(233, 79, 124, 0.45);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-xl {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

.btn-loading {
  pointer-events: none;
  opacity: 0.75;
}

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 3rem);
  max-width: 720px;
  background: var(--bg-dark);
  color: #e5deff;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 60px rgba(26, 16, 64, 0.5), 0 0 0 1px rgba(108, 63, 197, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.cookie-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(108, 63, 197, 0.4);
  pointer-events: none;
}

.cookie-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

.cookie-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.cookie-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #c4b5e8;
}

.cookie-text strong {
  color: white;
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}

.cookie-text a {
  color: var(--secondary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--transition);
}

.cookie-text a:hover {
  color: var(--secondary);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  align-items: center;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    width: auto;
    transform: none;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
    text-align: center;
  }
}

/* ==================== FORMS ==================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.01em;
}

.form-label span.required {
  color: var(--accent);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.925rem;
  color: var(--text-main);
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
  font-family: inherit;
  line-height: 1.5;
}

.form-control:hover {
  border-color: var(--primary-light);
}

.form-control:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(108, 63, 197, 0.12);
}

.form-control::placeholder {
  color: var(--text-light);
}

.form-control.error {
  border-color: var(--accent);
  background: rgba(233, 79, 124, 0.04);
}

.form-control.error:focus {
  box-shadow: 0 0 0 4px rgba(233, 79, 124, 0.12);
}

.form-control.success {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.04);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c3fc5' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-help {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-error {
  font-size: 0.8rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  margin-top: 2px;
}

.form-check-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-check-label a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.input-icon-wrapper .form-control {
  padding-left: 2.75rem;
}

.input-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.1rem;
  pointer-events: none;
  transition: var(--transition);
}

.input-icon-wrapper:focus-within .input-icon {
  color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* ==================== CARDS ==================== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(108, 63, 197, 0.2);
  transform: translateY(-3px);
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1.5px solid var(--border);
  background: var(--gradient-card);
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1.5px solid var(--border);
  background: rgba(244, 240, 251, 0.5);
}

.course-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.course-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(108, 63, 197, 0.25);
  transform: translateY(-5px);
}

.course-card .card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: var(--transition);
}

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

.course-card .card-img-wrapper {
  overflow: hidden;
  position: relative;
}

.course-card .card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(108, 63, 197, 0.35);
}

.course-card .card-content {
  padding: 1.25rem;
}

.course-card .card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.course-card .card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.course-card .card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.course-card .card-price {
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.course-card .card-price-old {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: 0.35rem;
  -webkit-text-fill-color: var(--text-light);
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.rating-stars i {
  color: var(--secondary);
  font-size: 0.85rem;
}

.rating-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(233, 79, 124, 0.2) 0%, transparent 70%);
  animation: pulseGlow 6s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(108, 63, 197, 0.25) 0%, transparent 70%);
  animation: pulseGlow 8s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(245, 158, 66, 0.15);
  border: 1px solid rgba(245, 158, 66, 0.35);
  border-radius: 99px;
  color: var(--secondary-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease forwards;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.7s ease forwards;
}

.hero-title .highlight {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(196, 181, 232, 0.9);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease forwards;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  animation: fadeInUp 1s ease forwards;
}

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

.hero-stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(196, 181, 232, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==================== SECTION STYLES ==================== */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: rgba(108, 63, 197, 0.1);
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==================== GRID LAYOUTS ==================== */
.grid-courses {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.grid-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .grid-courses,
  .grid-features,
  .grid-testimonials {
    grid-template-columns: 1fr;
  }
}

/* ==================== FEATURE ITEM ==================== */
.feature-item {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(108, 63, 197, 0.2);
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: var(--transition-bounce);
  border: 1.5px solid var(--border);
}

.feature-item:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(108, 63, 197, 0.3);
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==================== TESTIMONIALS ==================== */
.testimonial-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 4rem;
  line-height: 1;
  color: rgba(108, 63, 197, 0.12);
  font-family: Georgia, serif;
  font-weight: 900;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial-rating {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}

.testimonial-rating i {
  color: var(--secondary);
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--text-main);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==================== ACCORDION ==================== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-item {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.open {
  border-color: rgba(108, 63, 197, 0.3);
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
  gap: 1rem;
}

.accordion-header:hover {
  background: rgba(108, 63, 197, 0.04);
}

.accordion-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
  flex: 1;
}

.accordion-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  transition: var(--transition-bounce);
}

.accordion-item.open .accordion-icon {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.accordion-body.open {
  max-height: 800px;
}

.accordion-content {
  padding: 0 1.4rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ==================== BADGES ==================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-primary {
  background: rgba(108, 63, 197, 0.12);
  color: var(--primary);
}

.badge-secondary {
  background: rgba(245, 158, 66, 0.15);
  color: var(--secondary-dark);
}

.badge-accent {
  background: rgba(233, 79, 124, 0.12);
  color: var(--accent);
}

.badge-success {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

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

/* ==================== LOADING SPINNER ==================== */
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

.spinner-sm {
  width: 20px;
  height: 20px;
  border-width: 2px;
}

.spinner-lg {
  width: 52px;
  height: 52px;
  border-width: 4px;
}

.spinner-accent {
  border-top-color: var(--accent);
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(244, 240, 251, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 9999;
}

.loading-dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: bounceLoader 1.2s ease infinite;
}

.loading-dots span:nth-child(2) {
  background: var(--accent);
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  background: var(--secondary);
  animation-delay: 0.4s;
}

/* ==================== PROGRESS BAR ==================== */
.progress {
  width: 100%;
  height: 8px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 99px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  animation: progressShimmer 2s ease infinite;
  background-size: 200% 100%;
}

/* ==================== SECTION - STATS ==================== */
.stats-section {
  background: var(--gradient-hero);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-number {
  display: block;
  font-size: 2.75rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(196, 181, 232, 0.8);
  font-weight: 500;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  background: white;
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(108, 63, 197, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(233, 79, 124, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== INSTRUCTOR CARD ==================== */
.instructor-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.instructor-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(108, 63, 197, 0.2);
}

.instructor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 3px solid var(--border);
  object-fit: cover;
  transition: var(--transition-bounce);
}

.instructor-card:hover .instructor-avatar {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(108, 63, 197, 0.25);
}

.instructor-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.instructor-title {
  font-size: 0.825rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.instructor-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(196, 181, 232, 0.8);
  padding: 4rem 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(108, 63, 197, 0.2);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 540px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.footer-brand .site-logo {
  margin-bottom: 1rem;
  display: inline-flex;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(196, 181, 232, 0.7);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(108, 63, 197, 0.15);
  border: 1px solid rgba(108, 63, 197, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(196, 181, 232, 0.8);
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition-bounce);
}

.social-link:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 16px rgba(108, 63, 197, 0.4);
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links li a {
  font-size: 0.875rem;
  color: rgba(196, 181, 232, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links li a::before {
  content: '';
  width: 0;
  height: 1.5px;
  background: var(--primary-light);
  transition: var(--transition);
  border-radius: 99px;
}

.footer-links li a:hover {
  color: white;
  padding-left: 0.4rem;
}

.footer-links li a:hover::before {
  width: 10px;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-text {
  font-size: 0.8rem;
  color: rgba(196, 181, 232, 0.5);
}

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

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(196, 181, 232, 0.5);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: rgba(196, 181, 232, 0.9);
}

/* ==================== NOTIFICATION / TOAST ==================== */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 360px;
  width: 100%;
}

.toast {
  background: white;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  animation: slideInRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.toast.toast-success {
  border-left: 4px solid #10b981;
}

.toast.toast-error {
  border-left: 4px solid var(--accent);
}

.toast.toast-info {
  border-left: 4px solid var(--primary);
}

.toast-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.toast.toast-success .toast-icon { color: #10b981; }
.toast.toast-error .toast-icon { color: var(--accent); }
.toast.toast-info .toast-icon { color: var(--primary); }

.toast-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.toast-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==================== SEARCH BAR ==================== */
.search-bar {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.search-input {
  width: 100%;
  padding: 0.85rem 3.5rem 0.85rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-main);
  background: white;
  border: 2px solid var(--border);
  border-radius: 99px;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(108, 63, 197, 0.12);
}

.search-input::placeholder {
  color: var(--text-light);
}

.search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 12px rgba(108, 63, 197, 0.35);
}

.search-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 18px rgba(108, 63, 197, 0.5);
}

/* ==================== FILTERS / TABS ==================== */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-tab:hover {
  color: var(--primary);
  border-color: var(--primary-light);
  background: rgba(108, 63, 197, 0.05);
}

.filter-tab.active {
  color: white;
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(108, 63, 197, 0.3);
}

/* ==================== NEWSLETTER ==================== */
.newsletter-section {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.newsletter-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -30px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.newsletter-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.newsletter-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px