/* =========================
   GLOBAL
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #17121f;
  line-height: 1.6;
}

/* =========================
   NAVBAR
========================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(18, 10, 28, 0.92);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
  max-width: 1200px;
  height: 75px;
  margin: auto;
  padding: 0 25px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */

.logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #a855f7;
}

.logo span {
  color: #ffffff;
}

/* NAV LINKS */

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #c084fc;
}

/* JOIN BUTTON */

.nav-btn {
  background: #a855f7;
  padding: 10px 20px;
  border-radius: 6px;
  color: white !important;
}

.nav-btn:hover {
  background: #9333ea;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;

  display: flex;
  align-items: center;

  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(10, 5, 15, 0.95),
      rgba(45, 15, 70, 0.75),
      rgba(10, 5, 15, 0.35)
    ),
    url("gym-bg.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Purple glow */

.hero::after {
  content: "";

  position: absolute;
  width: 500px;
  height: 500px;

  right: -150px;
  bottom: -200px;

  background: #a855f7;
  filter: blur(150px);
  opacity: 0.25;

  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  margin: auto;

  padding: 140px 25px 80px;

  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 800px;

  font-size: clamp(50px, 8vw, 95px);
  line-height: 0.95;

  text-transform: uppercase;
  font-weight: 900;

  color: #ffffff;
}

.hero h1 span {
  color: #c084fc;
}

.hero p {
  max-width: 600px;

  margin: 28px 0;

  color: #eeeeee;
  font-size: 19px;
}

/* HERO BUTTONS */

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;

  text-decoration: none;

  padding: 14px 28px;

  border-radius: 6px;

  font-weight: bold;

  transition: 0.3s;
}

.btn-primary {
  background: #a855f7;
  color: #ffffff;

  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.25);
}

.btn-primary:hover {
  background: #9333ea;
  transform: translateY(-3px);
}

.btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-outline:hover {
  background: #ffffff;
  color: #7e22ce;
}

/* =========================
   SECTIONS
========================= */

section {
  padding: 90px 25px;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 45px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #17121f;
}

.section-title h2 span {
  color: #9333ea;
}

.section-title p {
  color: #666;
}

/* =========================
   SERVICES
========================= */

.services {
  background: #f8f5fc;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card {
  background: #ffffff;

  padding: 35px 25px;

  border-radius: 12px;

  border: 1px solid #e8ddf2;

  transition: 0.3s;

  box-shadow: 0 10px 30px rgba(74, 29, 100, 0.06);
}

.service-card:hover {
  transform: translateY(-8px);

  border-color: #a855f7;

  box-shadow:
    0 15px 35px rgba(126, 34, 206, 0.15);
}

.service-icon {
  font-size: 42px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 23px;
  margin-bottom: 10px;
  color: #581c87;
}

.service-card p {
  color: #666;
}

/* =========================
   ABOUT
========================= */

.about-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: center;
}

.about-image {
  min-height: 420px;

  border-radius: 15px;

  background:
    linear-gradient(
      rgba(88, 28, 135, 0.45),
      rgba(30, 10, 45, 0.75)
    ),
    url("images/gym-bg.jpg");

  background-size: cover;
  background-position: center;

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 80px;

  font-weight: 900;

  color: rgba(255, 255, 255, 0.9);

  box-shadow:
    0 20px 50px rgba(74, 29, 100, 0.2);
}

.about-content h2 {
  font-size: 45px;

  line-height: 1.1;

  margin-bottom: 20px;

  color: #17121f;
}

.about-content h2 span {
  color: #9333ea;
}

.about-content p {
  color: #666;

  margin-bottom: 18px;
}

/* =========================
   STATS
========================= */

.stats {
  background:
    linear-gradient(
      135deg,
      #581c87,
      #9333ea
    );

  padding: 55px 25px;

  color: white;
}

.stats-grid {
  max-width: 1000px;

  margin: auto;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  text-align: center;
}

.stat h3 {
  font-size: 42px;
  font-weight: 900;
}

.stat p {
  font-weight: bold;
  color: #f3e8ff;
}

/* =========================
   PRICING
========================= */

.pricing {
  background: #ffffff;
}

.pricing-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 25px;
}

.price-card {
  background: #ffffff;

  padding: 35px;

  text-align: center;

  border: 1px solid #e5d5f2;

  border-radius: 12px;

  transition: 0.3s;

  box-shadow:
    0 10px 30px rgba(74, 29, 100, 0.06);
}

.price-card:hover {
  transform: translateY(-6px);
}

.price-card.featured {
  border: 2px solid #a855f7;

  transform: scale(1.04);

  box-shadow:
    0 20px 45px rgba(126, 34, 206, 0.18);
}

.price-card h3 {
  font-size: 25px;

  color: #581c87;
}

.price {
  font-size: 45px;

  font-weight: 900;

  color: #9333ea;

  margin: 15px 0;
}

.price span {
  font-size: 15px;

  color: #888;
}

.price-card ul {
  list-style: none;

  margin: 25px 0;

  color: #666;
}

.price-card li {
  margin: 10px 0;
}

/* =========================
   CTA
========================= */

.cta {
  text-align: center;

  color: white;

  background:
    linear-gradient(
      135deg,
      #2e1065,
      #7e22ce
    );
}

.cta h2 {
  font-size: 50px;

  text-transform: uppercase;

  margin-bottom: 15px;

  color: white;
}

.cta h2 span {
  color: #e9d5ff !important;
}

.cta p {
  color: #eee;

  margin-bottom: 25px;
}

/* =========================
   FOOTER
========================= */

footer {
  background: #12091a;

  padding: 50px 25px 20px;

  color: white;
}

.footer-grid {
  max-width: 1200px;

  margin: auto;

  display: grid;

  grid-template-columns: 2fr 1fr 1fr;

  gap: 40px;
}

footer h3 {
  color: #c084fc;

  margin-bottom: 15px;
}

footer p,
footer a {
  color: #aaa;

  text-decoration: none;
}

footer a:hover {
  color: #c084fc;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin: 8px 0;
}

.copyright {
  max-width: 1200px;

  margin: 40px auto 0;

  padding-top: 20px;

  border-top: 1px solid #302238;

  text-align: center;

  color: #777;

  font-size: 14px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .nav-links {
    display: none;
  }

  .hero {
    background-position: center;
  }

  .hero h1 {
    font-size: 55px;
  }

  .hero p {
    font-size: 16px;
  }

  .service-grid,
  .pricing-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .price-card.featured {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2,
  .about-content h2,
  .cta h2 {
    font-size: 36px;
  }

  .about-image {
    min-height: 300px;
    font-size: 55px;
  }
}
