* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'JetBrains Mono', monospace;
  background: #0a0a0f;
  color: #cbc9c1;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Add smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 206, 62, 0.1);
  z-index: 100;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo {
  font-size: 1.8rem;
  font-weight: 600;
  margin-left: 1rem;
  color: #cbc9c1;
  position: relative;
  overflow: visible;
  height: 3rem;
  width: 8rem;
}

.logo::before {
  content: "⚡";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffce3e;
  font-size: 1.8rem;
  animation: logoFlicker 2s ease-in-out infinite;
  z-index: 2;
}

.logo::after {
  content: "Strike";
  position: absolute;
  left: 2rem;
  top: 0;
  opacity: 1;
  color: #cbc9c1;
  font-size: 1.8rem;
  font-weight: 600;
  animation: logoFlicker 2s ease-in-out infinite;
  animation-delay: 0.1s;
  z-index: 1;
}

@keyframes logoFlicker {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 10px #ffce3e80, 0 0 20px #ffce3e60;
  }
  10% {
    opacity: 0.3;
    text-shadow: 0 0 5px #ffce3e40;
  }
  15% {
    opacity: 1;
    text-shadow: 0 0 15px #ffce3eff, 0 0 25px #ffce3ecc, 0 0 35px #ffce3e80;
  }
  25% {
    opacity: 0.7;
    text-shadow: 0 0 8px #ffce3e60;
  }
  30% {
    opacity: 1;
    text-shadow: 0 0 20px #ffce3eff, 0 0 30px #ffce3ecc;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 12px #ffce3e80, 0 0 22px #ffce3e60;
  }
  60% {
    opacity: 0.4;
    text-shadow: 0 0 6px #ffce3e40;
  }
  65% {
    opacity: 1;
    text-shadow: 0 0 18px #ffce3eff, 0 0 28px #ffce3ecc;
  }
  85% {
    opacity: 0.6;
    text-shadow: 0 0 7px #ffce3e50;
  }
  90% {
    opacity: 1;
    text-shadow: 0 0 16px #ffce3eff, 0 0 26px #ffce3ecc;
  }
}

.menu-icon {
  display: block;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
  transition: color 0.3s ease, transform 0.2s ease;
}

.menu-icon:hover {
  color: #ffce3e;
  transform: scale(1.1);
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked + .menu-icon {
  color: #ffce3e;
}

.nav-links {
  position: fixed;
  top: 60px;
  right: -300px;
  width: 250px;
  background: rgba(28, 28, 40, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: right 0.4s ease-in-out;
  z-index: 99;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.3);
  border-radius: 8px 0 0 8px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 206, 62, 0.1);
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  transform: translateX(30px);
  opacity: 0;
  display: block;
  font-size: 1rem;
  font-weight: 400;
}

.nav-links a:last-child {
  border-bottom: none;
}

.nav-links a:hover {
  color: #ffce3e;
}

.nav-links a.btn {
  background: #ffce3e;
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  margin: 0.5rem 1rem;
  text-align: center;
  border-bottom: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.nav-links a.btn:hover {
  box-shadow: 0 0 15px rgba(255, 206, 62, 0.5);
  transform: translateY(-2px);
  background: #e6b835;
  padding-left: 1.5rem;
}

#menu-toggle:checked + .menu-icon + .nav-links {
  right: 20px;
}

#menu-toggle:checked + .menu-icon + .nav-links a {
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease, background 0.3s ease, padding 0.3s ease;
}

#menu-toggle:checked + .menu-icon + .nav-links a:nth-child(1) { transition-delay: 0.1s; }
#menu-toggle:checked + .menu-icon + .nav-links a:nth-child(2) { transition-delay: 0.2s; }
#menu-toggle:checked + .menu-icon + .nav-links a:nth-child(3) { transition-delay: 0.3s; }
#menu-toggle:checked + .menu-icon + .nav-links a:nth-child(4) { transition-delay: 0.4s; }

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 1rem 4rem;
  background: linear-gradient(135deg, #ff3ecf, #3e8cff, #ff3ecf, #3e8cff);
  background-size: 400% 400%;
  animation: gradientFlow 6s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  animation: float 20s ease-in-out infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: heroSlideIn 1s ease-out;
  position: relative;
  z-index: 2;
}

.hero h1 span {
  color: #ffce3e;
  text-shadow: 0 0 20px #ffce3e80;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.9);
  animation: heroSlideIn 1s ease-out 0.3s both;
  position: relative;
  z-index: 2;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: heroSlideIn 1s ease-out 0.6s both;
  position: relative;
  z-index: 2;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  margin-top: 3rem;
  flex-wrap: wrap;
  animation: heroSlideIn 1s ease-out 0.9s both;
  position: relative;
  z-index: 2;
  width: 100%;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  min-width: 130px;
  max-width: 130px;
  width: 130px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.4rem;
  color: #ffce3e;
  filter: drop-shadow(0 0 10px rgba(255, 206, 62, 0.5));
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px rgba(255, 206, 62, 0.8));
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffce3e;
  margin-bottom: 0.1rem;
  text-shadow: 0 0 10px rgba(255, 206, 62, 0.5);
  line-height: 1.2;
  text-align: center;
  width: 100%;
  flex-shrink: 0;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  width: 100%;
  word-wrap: break-word;
  hyphens: auto;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.primary {
  background: #ffce3e;
  color: #000;
  box-shadow: 0 4px 15px rgba(255, 206, 62, 0.3);
}

.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 206, 62, 0.5);
}

.secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.secondary:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Features */
.features {
  padding: 4rem 1rem;
  text-align: center;
  background: #12121a;
  position: relative;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffce3e, transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.features h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #fff;
  position: relative;
}

.features h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff3ecf, #ffce3e, #3e8cff);
  border-radius: 2px;
}

.feature-grid {
  display: grid;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: linear-gradient(145deg, #1c1c28, #252533);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 206, 62, 0.1);
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.8s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.5s; }
.feature-card:nth-child(2) { animation-delay: 0.7s; }
.feature-card:nth-child(3) { animation-delay: 0.9s; }
.feature-card:nth-child(4) { animation-delay: 1.1s; }

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 206, 62, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 206, 62, 0.2);
  border-color: #ffce3e;
}

.feature-card h3 {
  color: #ffce3e;
  margin: 1rem 0;
  font-size: 1.2rem;
}

.feature-card p {
  color: #cbc9c1;
  line-height: 1.6;
}

/* Courses */
.courses {
  padding: 4rem 1rem;
  background: #0e0e12;
  text-align: center;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.courses h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #fff;
  position: relative;
}

.courses h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #3e8cff, #ffce3e, #ff3ecf);
  border-radius: 2px;
}

.course-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.course-card {
  background: linear-gradient(145deg, #1c1c28, #252533);
  padding: 1.5rem;
  border-radius: 15px;
  transition: all 0.4s ease;
  width: 100%;
  max-width: 350px;
  min-width: 300px;
  border: 1px solid rgba(62, 140, 255, 0.1);
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.8s ease forwards;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(62, 140, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-card:hover::before {
  opacity: 1;
}

.course-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(62, 140, 255, 0.2);
  border-color: #3e8cff;
}

.course-img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.course-card .course-img img {
  transition: transform 0.3s ease;
}

.course-card h3 {
  color: #3e8cff;
  margin: 1rem 0;
  font-size: 1.2rem;
}

.course-card p {
  color: #cbc9c1;
  margin-bottom: 3.5rem;
  line-height: 1.6;
}

.btn.small {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  background: #3e8cff;
  color: #fff;
  border-radius: 20px;
}

.btn.small:hover {
  background: #2d6bcc;
  transform: translateY(-2px);
}

.course-badge {
  position: absolute;
  text-align: center;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Community */
.community {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #3e8cff, #ff3ecf, #3e8cff, #ff3ecf);
  background-size: 400% 400%;
  animation: gradientFlow 6s ease-in-out infinite;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.community::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes gradientFlowReverse {
  0% {
    background-position: 200% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.community h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.community p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #151520;
  color: #bbb;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 206, 62, 0.1);
}

.socials {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.socials a {
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
  padding: 0.5rem;
  border-radius: 50%;
  background: #151520
}

.socials a:hover {
  transform: translateY(-3px) scale(1.1);
  opacity: 1;
  background: #151520
}

.social-icon {
  width: 24px;
  height: 24px;
  color: #bbb;
  transition: color 0.3s ease;
}

.socials a:hover .social-icon {
  color: #ffce3e;
}

/* Tablet and up */
@media (min-width: 768px) {
  body {
    padding-top: 80px;
  }

  .menu-icon {
    display: none;
  }

  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    width: auto;
    height: auto;
    right: auto;
    padding: 0;
    box-shadow: none;
    border: none;
  }

  .nav-links a {
    padding-top: 1rem;
    margin: 0;
    border-bottom: none;
    transform: none;
    opacity: 1;
  }

  .nav-links a.btn {
    margin-top: 0.2rem;
    margin-left: 1rem;
    transform: none;
  }

  .nav-links a.btn:hover {
    color: #ffffff;
  }

  .hero h1 {
    font-size: 3.5rem;
    margin-top: -4.5rem;
  }

  .hero p {
    font-size: 1.3rem;
  }

  .hero-buttons {
    gap: 2rem;
  }

  .hero-stats {
    gap: 2.5rem;
    margin-top: 4rem;
  }

  .stat-item {
    padding: 1.4rem;
    min-width: 140px;
    max-width: 140px;
    width: 140px;
    height: 130px;
  }

  .stat-icon {
    width: 2.8rem;
    height: 2.8rem;
    margin-bottom: 0.5rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-grid {
    gap: 3rem;
  }

  .course-card {
    max-width: 380px;
  }

  .socials {
    gap: 2rem;
  }

  .social-icon {
    width: 28px;
    height: 28px;
  }

  /* Add larger gaps between sections */
  .features,
  .courses,
  .community {
    padding: 6rem 2rem;
  }
  
}

/* Desktop and up */
@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero h1 {
    font-size: 4rem;
  }

  .course-card {
    max-width: 400px;
  }

  .features,
  .courses,
  .community {
    padding: 8rem 2rem;
  }

  .hero-stats {
    gap: 3rem;
  }

  .stat-item {
    padding: 1.6rem;
    min-width: 150px;
    max-width: 150px;
    width: 150px;
    height: 140px;
  }

  .stat-icon {
    width: 3rem;
    height: 3rem;
  }

  .stat-number {
    font-size: 1.7rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }
}

/* Large desktop and up */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 4.5rem;
  }

  .course-card {
    max-width: 450px;
  }

  .features,
  .courses,
  .community {
    padding: 10rem 2rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}