.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
  overflow: hidden;
  padding: 8rem 0 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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='%2300e5ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  width: 100%;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--light-text);
  text-align: left;
}

.hero-title .highlight {
  color: var(--primary-color);
  display: inline-block;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--light-text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
  text-align: left;
}

.hero-text {
  flex: 1;
  max-width: 50%;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.hero-svg {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(10, 16, 40, 0.5);
  padding: 10px;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.hero-svg:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.2);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-feature {
  background: rgba(15, 20, 35, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition-fast);
}

.hero-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(0, 229, 255, 0.3);
}

.hero-feature i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.hero-feature span {
  color: var(--light-text);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  color: var(--dark-bg);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--light-text);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.hero-social-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-rating {
  display: flex;
  flex-direction: column;
}

.hero-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.hero-stars i {
  color: #FFD700;
}

.hero-rating-text {
  color: var(--light-text-muted);
  font-size: 0.9rem;
}

.hero-students {
  display: flex;
  flex-direction: column;
}

.hero-students-count {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 0.25rem;
}

.hero-students-text {
  color: var(--light-text-muted);
  font-size: 0.9rem;
}

/* Floating badges on hero image */
.hero-badges-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(15, 20, 35, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(0, 229, 255, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  max-width: 300px;
  transition: all var(--transition-fast);
  pointer-events: auto;
}

.badge-1 {
  top: 15%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.badge-2 {
  top: 40%;
  right: 10%;
  animation: float 7s ease-in-out infinite;
}

.badge-3 {
  bottom: 20%;
  left: 20%;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.hero-badge:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 229, 255, 0.3);
  z-index: 3;
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.badge-content {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 0.25rem;
}

.badge-text {
  font-size: 0.85rem;
  color: var(--light-text-muted);
}

.hero-offer {
  background: rgba(15, 20, 35, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 229, 255, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  width: 100%;
  transition: all var(--transition-fast);
  margin-top: 1rem;
}

.hero-offer:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 229, 255, 0.3);
}

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

.offer-label i {
  color: var(--warning-color);
  font-size: 1.25rem;
}

.offer-label span {
  color: var(--light-text);
  font-weight: 600;
  font-size: 1.1rem;
}

.countdown {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.countdown-item {
  flex: 1;
  text-align: center;
}

.countdown-number {
  background: rgba(0, 229, 255, 0.1);
  border-radius: 8px;
  padding: 0.75rem 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 0.5rem;
  border: 1px solid rgba(0, 229, 255, 0.1);
  display: block;
}

.countdown-text {
  font-size: 0.75rem;
  color: var(--light-text-muted);
  display: block;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.blinking-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 50%;
  opacity: 0.5;
}

.blinking-dot:nth-child(1) {
  top: 20%;
  left: 10%;
  animation: blink 3s infinite alternate;
}

.blinking-dot:nth-child(2) {
  top: 70%;
  left: 20%;
  animation: blink 4s infinite alternate;
}

.blinking-dot:nth-child(3) {
  top: 40%;
  right: 15%;
  animation: blink 5s infinite alternate;
}

.code-element {
  position: absolute;
  color: rgba(0, 229, 255, 0.1);
  font-family: var(--code-font);
  font-size: 1.5rem;
  font-weight: 500;
}

.code-element:nth-child(4) {
  top: 25%;
  left: 5%;
}

.code-element:nth-child(5) {
  top: 60%;
  left: 15%;
}

.code-element:nth-child(6) {
  top: 30%;
  right: 10%;
}

.code-element:nth-child(7) {
  top: 70%;
  right: 20%;
}

.code-snippet {
  position: absolute;
  bottom: 10%;
  right: 5%;
  max-width: 300px;
  opacity: 0.1;
}

.code-snippet pre {
  font-family: var(--code-font);
  font-size: 0.875rem;
  color: var(--primary-color);
}

@keyframes blink {
  0% {
    opacity: 0.2;
  }
  100% {
    opacity: 0.8;
  }
}

/* Responsive styles */
@media screen and (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-badge {
    max-width: 250px;
  }
}

@media screen and (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-title, .hero-subtitle {
    text-align: center;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-social-proof {
    justify-content: center;
  }
  
  .hero-image {
    margin-top: 2rem;
    width: 100%;
    max-width: 600px;
  }
  
  .hero-badges-container {
    position: relative;
    height: 400px;
    margin-top: 2rem;
  }
  
  .badge-1 {
    top: 0;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .badge-2 {
    top: 33%;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .badge-3 {
    top: 66%;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  
  @keyframes float {
    0% {
      transform: translateX(-50%) translateY(0px);
    }
    50% {
      transform: translateX(-50%) translateY(-10px);
    }
    100% {
      transform: translateX(-50%) translateY(0px);
    }
  }
  
  .hero-badge:hover {
    transform: translateX(-50%) translateY(-5px) scale(1.05);
  }
}

@media screen and (max-width: 768px) {
  .hero {
    padding: 7rem 0 4rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .countdown {
    flex-wrap: wrap;
  }
  
  .countdown-item {
    flex: 0 0 calc(50% - 0.5rem);
    margin-bottom: 0.75rem;
  }
  
  .hero-badge {
    max-width: 220px;
    padding: 0.75rem;
  }
  
  .badge-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .hero-social-proof {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-badge {
    max-width: 200px;
  }
}
