* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

img {
  -webkit-user-drag: none; /* Chrome, Safari */
  -khtml-user-drag: none;
  user-drag: none; /* future spec */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; /* prevents text selection on the image */
  touch-action: none;
}

@keyframes move {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.hero h1 {
  animation: fadeInUp 1s;
}

.track-highlight {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.track-badge {
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  animation: fadeInUp 1s 0.4s backwards;
  border: 1px solid #1e293b;
  border-radius: 50px;
  padding: 10px 56px;
  display: inline-block;
}

.track-title {
  font-size: 22px;
  font-weight: bold;
  color: #1e293b;
}

.hero-stats {
  display: flex;
  justify-content: center;
  margin: 4rem 0;
  flex-wrap: wrap;
}

.stat-item {
  animation: fadeInUp 1s 0.6s backwards;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0 40px;
}
.stat-item:last-child {
  border: none;
}

.stat-number {
  font-size: 44px;
}

.stat-label {
  font-size: 16px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.cta-primary {
  background: white;
  color: #000;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-secondary:hover {
  background: white;
  color: black;
}

/* Track Selection */
.track-selection {
  padding: 5rem 2rem;
  background: white;
}

.track-selector {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.track-btn {
  padding: 13px 2rem;
  border: 2px solid var(--primary);
  /* background: #000; */
  color: var(--primary);
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
}

.track-btn.active {
  color: #0a1520;
  border-color: transparent;
}

.track-btn.no-code.active {
  background: linear-gradient(to right, #53a7fe, #e0feff);
}

.track-btn.low-code.active {
  background: linear-gradient(to right, #53a7fe, #e0feff);
}

.category-card {
  background: var(--light);
  padding: 14px 10px;
  border-right: 1px solid #ffffff34;
  transition: all 0.3s;
}
.category-card:last-child {
  border: none;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.category-icon {
  width: 50px;
  height: 50px;
  background: #1e293b;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.category-title {
  font-size: 20px;
  line-height: 1.2;
  color: var(--dark);
  width: 70%;
}

.topics-list {
  list-style: none;
}

.topics-list li {
  padding: 6px 0;
  font-weight: 300;
  color: #cecece;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topics-list li::before {
  content: "✓";
  color: #25d366;
  font-weight: bold;
}

/* Pricing Section */
/* .pricing {
  padding: 5rem 2rem;
  background: var(--gradient);
  color: white;
  position: relative;
} */

.pricing-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pricing-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pricing-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

.track-pricing {
  margin-bottom: 2rem;
}

.price-card {
  background: rgb(13, 8, 30);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 16px 12px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.price-tier {
  font-size: 24px;
  line-height: 1.3;
}

.price-amount {
  font-size: 40px;
  font-weight: bold;
  color: #fbbf24;
}

.price-features {
  list-style: none;
  text-align: left;
}

.price-features li {
  padding: 10px 2px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cecece;
}

.price-features li:last-child {
  border: none;
}

/* Payment Modal */
.payment-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.payment-content {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  max-width: 400px;
  width: 90%;
  position: relative;
  color: #000;
}

.close-modal {
  position: absolute;
  height: 30px;
  width: 30px;
  border-radius: 50px;
  background-color: #1e293b34;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  top: 6px;
  right: 10px;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.qr-code {
  width: 300px;
  height: 160px;
  background: #f0f0f0;
  margin: 1rem auto;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.payment-instructions {
  margin: 1rem 0;
  line-height: 1.6;
}
.payment-instructions ul li{
  font-size: 14px;
  line-height: 1.4;
  color: #666;
  padding-bottom: 4px;
  list-style: decimal;
  width: 80%;
  margin: auto;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .payment-content{
     padding: 2rem 1rem 2rem 1rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1.1rem;
  }

  .track-highlight {
    flex-wrap: nowrap;
    gap: 8px;
  }


  .tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .track-badge {
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s 0.4s backwards;
    border: 1px solid #1e293b;
    border-radius: 20px;
    padding: 12px 6px;
    display: inline-block;
  }
  .track-title .icon {
    font-size: 30px;
  }
  .track-title {
    font-size: 18px;
    font-weight: bold;
    color: #1e293b;
  }
  .course-hero.hero {
    flex-direction: column;
    text-align: center;
    padding: 119px 10px 60px !important;
  }
  .stat-item {
    animation: fadeInUp 1s 0.6s backwards;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 29px;
    width: 48%;
  }
  .stat-item:nth-child(even) {
    border-right: none;
  }
  .stat-item:nth-child(3) {
    border-bottom: none;
  }
  .hero-stats {
    margin: 1rem 0;
  }
  .cta-button {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  section.curriculum {
    padding-top: 0 !important;
  }
  .track-btn {
    padding: 12px 10px;
    border: 1px solid var(--primary);
    font-size: 12px;
  }
  .category-card {
    background: var(--light);
    padding: 14px 10px;
    border-right: none;
    border-bottom: 1px solid #ffffff34;
    transition: all 0.3s;
  }
  .category-title {
    font-size: 18px;
  }
  section.pricing {
    padding-bottom: 40px !important;
  }
}

/* new css  */

.reveal-svg {
  /* start completely clipped */
  clip-path: circle(0% at 50% 50%);
  animation: revealClip 3s ease-out forwards;
}

@keyframes revealClip {
  from {
    clip-path: circle(0% at 50% 50%);
  }
  to {
    clip-path: circle(150% at 50% 50%);
  }
}

.swing-star {
  transform-origin: top center; /* pivot point */
  animation: swing 1.5s ease-in-out 1s infinite alternate;
  /* delay = 1s (so it starts after clip reveal finishes) */
}

@keyframes swing {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.reveal-bottom {
  clip-path: inset(100% 0 0 0); /* fully hidden (clipped from bottom) */
  animation: revealFromBottom 2.2s ease-out forwards;
}

@keyframes revealFromBottom {
  from {
    clip-path: inset(100% 0 0 0); /* hidden */
  }
  to {
    clip-path: inset(0 0 0 0); /* fully visible */
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1280px) {
  .topics-list li{
    font-size: 14px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .course-hero.hero {
    min-height: 70vh !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .category-card {
    background: var(--light);
    padding: 20px;
    border-right: 1px solid #ffffff34;
    border-bottom: 1px solid #ffffff34;
    transition: all 0.3s;
  }
  .category-card:nth-child(even){
    border-right: none;
  }
   .category-card:nth-child(3){
    border-bottom: none;
  }
}
