:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f172a;
  --card-bg: rgba(15, 23, 42, 0.6);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-primary: #00d9ff;
  --accent-secondary: #00ff88;
  --accent-purple: #a855f7;
  --border-color: rgba(0, 217, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 217, 255, 0.2);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  /* Solid monotone background */
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

/* Removed global glows for monotone look */
body::before {
  display: none;
}

/* Navbar */
@keyframes glowLine {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleX(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes logoPulse {

  0%,
  100% {
    filter: drop-shadow(0 0 12px rgba(0, 217, 255, 0.4));
  }

  50% {
    filter: drop-shadow(0 0 28px rgba(0, 255, 136, 0.6));
  }
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 10, 22, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 217, 255, 0.12);
  padding: 1rem 0;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(0, 217, 255, 0.08) inset;
  overflow: hidden;
  /* prevent navbar content overflow into page */
}

@media (max-width: 768px) {

  /* Fix horizontal overflow: hide nav-actions block in navbar on mobile */
  .navbar .nav-actions {
    display: none !important;
  }

  .nav-container {
    padding: 0 1rem !important;
    overflow: hidden !important;
  }
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-secondary), transparent);
  animation: glowLine 3s ease-in-out infinite;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Center the nav-menu (desktop only) */
.nav-menu-desktop {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding-left: 0;
}

/* MOBILE: hide desktop nav elements */
@media (max-width: 768px) {

  .nav-menu-desktop,
  .nav-actions-desktop {
    display: none !important;
  }
}

/* Right-side actions group */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.nav-logo:hover {
  transform: translateY(-2px);
}

.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 2rem;
  border-right: 1px solid rgba(0, 217, 255, 0.12);
  position: relative;
}

/* Glowing dot on separator */
.nav-brand-group::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px rgba(0, 217, 255, 0.8);
}

.site-logo-img {
  height: 100px;
  width: auto;
  display: block;
  object-fit: contain;
  animation: logoPulse 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-logo:hover .site-logo-img {
  transform: scale(1.1) rotate(-2deg);
  animation-play-state: paused;
  filter: drop-shadow(0 0 35px rgba(0, 255, 136, 0.7)) drop-shadow(0 0 60px rgba(0, 217, 255, 0.4));
}

.nav-menu-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding-left: 1.5rem;
}

.nav-link {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0rem;
  transition: all 0.25s ease;
  position: relative;
  letter-spacing: 0.45px;
  padding: 0.6rem 1.1rem;
  border-radius: 9px;
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.35);
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.07), rgba(0, 255, 136, 0.05));
  opacity: 1;
  transition: opacity 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  transition: width 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
  border-radius: 2px;
}

.nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.8), 0 0 40px rgba(0, 255, 136, 0.3);
}

.nav-link:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.13), rgba(0, 255, 136, 0.09));
}

.nav-link:hover::after {
  width: 70%;
  opacity: 1;
}

/* Login link — ghost pill style */
.nav-link.login-link {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.45rem 1.1rem;
  border-radius: 10px;
  margin-left: 0.5rem;
  color: rgba(148, 163, 184, 0.9);
  background: rgba(255, 255, 255, 0.03);
}

.nav-link.login-link:hover {
  border-color: rgba(0, 217, 255, 0.35);
  background: rgba(0, 217, 255, 0.06);
  color: var(--accent-primary);
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.1);
}

.nav-link.login-link::after {
  display: none;
}

/* Certificate link — special gradient glow pill */
@keyframes certFlicker {
  0% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.8), 0 0 20px rgba(0, 217, 255, 0.4);
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.2);
  }

  2% {
    opacity: 0.7;
    text-shadow: none;
    border-color: rgba(0, 217, 255, 0.1);
    box-shadow: none;
  }

  4% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.8), 0 0 20px rgba(0, 217, 255, 0.4);
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.2);
  }

  8% {
    opacity: 0.85;
    text-shadow: 0 0 5px rgba(0, 217, 255, 0.3);
    border-color: rgba(0, 217, 255, 0.2);
    box-shadow: none;
  }

  10% {
    opacity: 1;
    text-shadow: 0 0 14px rgba(0, 217, 255, 1), 0 0 30px rgba(0, 255, 136, 0.5);
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 0 0 18px rgba(0, 217, 255, 0.3);
  }

  45% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.8), 0 0 20px rgba(0, 217, 255, 0.4);
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.2);
  }

  46% {
    opacity: 0.6;
    text-shadow: none;
    border-color: rgba(0, 217, 255, 0.1);
    box-shadow: none;
  }

  48% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.8);
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.2);
  }

  90% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.8), 0 0 20px rgba(0, 217, 255, 0.4);
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.2);
  }

  91% {
    opacity: 0.75;
    text-shadow: 0 0 4px rgba(0, 217, 255, 0.2);
    border-color: rgba(0, 217, 255, 0.15);
    box-shadow: none;
  }

  92% {
    opacity: 1;
    text-shadow: 0 0 16px rgba(0, 255, 136, 1), 0 0 35px rgba(0, 217, 255, 0.6);
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.25);
  }

  100% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.8), 0 0 20px rgba(0, 217, 255, 0.4);
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.2);
  }
}

.nav-link.cert-link {
  border: 1px solid rgba(0, 217, 255, 0.5);
  padding: 0.45rem 1.1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.08), rgba(0, 255, 136, 0.06));
  color: var(--accent-primary);
  font-weight: 600;
  animation: certFlicker 4s ease-in-out infinite;
}

.nav-link.cert-link:hover {
  animation: none;
  border-color: rgba(0, 217, 255, 0.7);
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.18), rgba(0, 255, 136, 0.14));
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.9), 0 0 40px rgba(0, 255, 136, 0.5);
  box-shadow: 0 0 25px rgba(0, 217, 255, 0.25), inset 0 0 12px rgba(0, 217, 255, 0.08);
  transform: translateY(-2px);
}

.nav-link.cert-link::after {
  display: none;
}

.nav-link.cert-link::before {
  border-radius: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.main-content {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(0, 255, 136, 0.1));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::before {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-primary);
}

@keyframes btnGradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes btnGlowPulse {

  0%,
  100% {
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3), 0 0 30px rgba(0, 217, 255, 0.1);
  }

  50% {
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.5), 0 0 50px rgba(0, 217, 255, 0.2);
  }
}

@keyframes btnShimmer {
  0% {
    transform: translateX(-120%) skewX(-15deg);
  }

  100% {
    transform: translateX(250%) skewX(-15deg);
  }
}

.btn.primary {
  background: linear-gradient(90deg, #00d9ff, #00ff88, #00d9ff);
  background-size: 200% 200%;
  border: none;
  color: #020c14;
  font-weight: 800;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  animation: btnGradientShift 4s ease infinite, btnGlowPulse 3s ease-in-out infinite;
  letter-spacing: 0.3px;
}

/* Shimmer streak */
.btn.primary::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-120%) skewX(-15deg);
  transition: none;
}

.btn.primary:hover::after {
  animation: btnShimmer 0.6s ease forwards;
}

.btn.primary::before {
  background: transparent;
}

.btn.primary:hover {
  animation: none;
  background: linear-gradient(90deg, #00ff88, #00d9ff);
  box-shadow: 0 0 35px rgba(0, 217, 255, 0.6), 0 0 70px rgba(0, 255, 136, 0.3), 0 8px 25px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px) scale(1.04);
  color: #000;
}

/* Navbar-specific Register button size */
.nav-btn {
  padding: 0.7rem 1.8rem !important;
  font-size: 0.95rem !important;
}



.mobile-only-btn {
  display: none !important;
}

/* Cards */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

/* HUD Decorative Corners */
.card::before,
.card::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--accent-primary);
  border-style: solid;
  opacity: 0.3;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.card::before {
  top: 15px;
  left: 15px;
  border-width: 2px 0 0 2px;
}

.card::after {
  bottom: 15px;
  right: 15px;
  border-width: 0 2px 2px 0;
}

.card:hover::before,
.card:hover::after {
  opacity: 0.8;
  transform: scale(1.1);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 217, 255, 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 217, 255, 0.1);
}

/* Course Page Layout */
.card[data-price-corp] {
  max-width: 1100px;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
}

.left-col {
  min-width: 0;
}

.right-col {
  min-width: 0;
}

@media (max-width: 1024px) {
  .card[data-price-corp] {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .right-col {
    order: -1;
  }
}

@media (max-width: 768px) {
  .card {
    padding: 1.5rem;
  }

  .card[data-price-corp] {
    margin: 1rem auto;
  }
}

/* Geometric Section Dividers */
.section-divider {
  position: relative;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--bg-primary);
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

@media (max-width: 768px) {
  .section-divider::before {
    height: 60px;
    top: -30px;
  }
}

.eyebrow {
  font-size: 0.75rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.h1 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .h1 {
    font-size: 1.875rem;
  }
}

@media (max-width: 520px) {
  .h1 {
    font-size: 1.5rem;
  }
}

.toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: var(--radius-md);
}

.tbtn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  font-size: 0.9375rem;
}

.tbtn.active {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(0, 255, 136, 0.2));
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 217, 255, 0.2);
}

.info-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(0, 255, 136, 0.1));
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--accent-primary);
  font-size: 1.5rem;
  border: 1px solid var(--border-color);
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.info-text b {
  display: block;
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.info-text small {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.bullet {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.bullet:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 217, 255, 0.3);
  transform: translateX(4px);
}

.bullet .ico {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.15), rgba(0, 255, 136, 0.15));
  color: var(--accent-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.bullet b {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.bullet small {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .bullets {
    gap: 0.5rem;
  }

  .bullet {
    padding: 0.875rem;
  }
}

/* Lessons Slider */
.lessons-wrap {
  margin: 1.5rem 0;
}

.lessons {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
}

.lessons.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.lessons::-webkit-scrollbar {
  height: 4px;
}

.lessons::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.lessons::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

.lesson-chip {
  flex: 0 0 220px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
  cursor: pointer;
}

.lesson-chip:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.lnum {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(0, 255, 136, 0.2));
  color: var(--text-primary);
  font-weight: 800;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.ltitle {
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.ldur {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
}

.chips-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  margin-top: 1rem;
  overflow: hidden;
}

.chips-progress .bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 768px) {
  .price {
    font-size: 2rem;
  }
}

@media (max-width: 520px) {
  .price {
    font-size: 1.75rem;
  }

  .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.qty {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

@media (max-width: 520px) {
  .qty {
    width: 100%;
    justify-content: center;
  }
}

.qty button {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-weight: 900;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.qty button:hover {
  background: rgba(0, 217, 255, 0.2);
  color: var(--accent-primary);
}

.qty input {
  width: 60px;
  height: 40px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text-primary);
  font-family: inherit;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (max-width: 520px) {
  .actions .btn {
    width: 100%;
  }
}

/* Dock */
.dock {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  margin-top: 1rem;
}

.dock-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 1.25rem;
  border: 1px solid transparent;
}

.dock-item:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Modal */
#regModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(12px);
  padding: 1rem;
}

.modal-content {
  width: min(520px, 100%);
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-color);
  animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-primary);
  position: relative;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-content h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.form-label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.3s;
  appearance: none;
}

select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

select option {
  background-color: #1a1f2e;
  color: #ffffff;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Footer */
footer {
  margin-top: 4rem;
  padding: 3rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--accent-primary);
}

/* Glitch Effect */
.glitch {
  position: relative;
  color: var(--text-primary);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--accent-primary);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 var(--accent-secondary);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim {

  0%,
  100% {
    clip: rect(30px, 9999px, 10px, 0);
  }

  20% {
    clip: rect(80px, 9999px, 90px, 0);
  }

  40% {
    clip: rect(10px, 9999px, 40px, 0);
  }

  60% {
    clip: rect(50px, 9999px, 20px, 0);
  }

  80% {
    clip: rect(20px, 9999px, 60px, 0);
  }
}

@keyframes glitch-anim2 {

  0%,
  100% {
    clip: rect(10px, 9999px, 80px, 0);
  }

  20% {
    clip: rect(60px, 9999px, 10px, 0);
  }

  40% {
    clip: rect(30px, 9999px, 50px, 0);
  }

  60% {
    clip: rect(90px, 9999px, 20px, 0);
  }

  80% {
    clip: rect(10px, 9999px, 40px, 0);
  }
}

/* Feature Cards */
.feature-card {
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 217, 255, 0.3);
}

.course-card {
  display: block;
  text-decoration: none;
  color: inherit;
}