:root {
  --color-bg: #0A0A0A;
  --color-surface: #1E1E1E;
  --color-primary: #D4AF37;
  /* Gold/Amber */
  --color-primary-dark: #B5952F;
  --color-text: #F5F5F0;
  --color-text-muted: #A0A0A0;
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-primary {
  color: var(--color-primary);
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #000;
  font-weight: bold;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #000;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
}

.section {
  padding: 100px 0;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: #fff;
  letter-spacing: 2px;
}

.logo span {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--color-primary);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
  z-index: -2;
  transform: scale(1.1);
  animation: zoomBg 20s infinite alternate linear;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.9));
  z-index: -1;
}

@keyframes zoomBg {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 0.5s;
}

.hero-subtitle {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 3px;
  margin-bottom: 10px;
  display: block;
}

.hero-title {
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Stats Section */
.stats {
  padding: 40px 0;
  background-color: var(--color-primary);
  color: #000;
  position: relative;
  z-index: 10;
  margin-top: -50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-item p {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--color-surface);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

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

.feature-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--color-text-muted);
}

/* Classes Section */
.classes {
  padding: 100px 0;
  background-color: #111;
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.class-card {
  position: relative;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.class-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.class-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: var(--transition);
}

.class-card:hover img {
  transform: scale(1.1);
}

.class-card:hover .class-overlay {
  background: linear-gradient(to top, rgba(212, 175, 55, 0.9), rgba(0, 0, 0, 0.4));
}

.class-card h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}

.class-card:hover h3 {
  color: #000;
}

.class-card p {
  color: #ccc;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.class-card:hover p {
  color: #111;
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  background-color: var(--color-surface);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.footer-col p,
.footer-col li {
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.footer-col ul a:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: #fff;
}

.social-links a:hover {
  background-color: var(--color-primary);
  color: #000;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Login Button (Home Page Only) */
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50%;
  color: var(--color-primary);
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-login-btn i {
  font-size: 1.15rem;
  transition: transform 0.3s ease;
}

.nav-login-btn:hover {
  background: var(--color-primary);
  color: #000;
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.nav-login-btn:hover i {
  transform: scale(1.15);
}

/* Mobile Toggle (Hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  transform-origin: left center;
}

/* Hamburger Morph to X Animation */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(2px, -1px);
}

.nav-toggle.active span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(2px, 1px);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stats {
    margin-top: 0;
  }

  /* Hide login button on mobile as requested */
  .nav-actions {
    display: none !important;
  }

  /* Mobile Menu Hamburger Button */
  .nav-toggle {
    display: flex;
  }

  /* Mobile Dropdown Panel */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(212, 175, 55, 0.15);
    padding: 100px 30px;
    gap: 25px;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
    z-index: 1050;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
    width: 100%;
  }

  .nav-links a::after {
    display: none;
  }

  .hero-btns {
    flex-direction: column;
  }

  .features-grid,
  .classes-grid,
  .footer-grid,
  .pricing-grid,
  .team-grid,
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .pricing-card.popular {
    transform: scale(1) !important;
    margin: 20px 0;
  }
}