:root {
  --bg: #f7f5fb;
  --primary: #6c5ce7;
  --primary-dark: #4b3fb8;
  --secondary: #ff8fab;
  --text: #1f1f2e;
  --muted: #6d6d8a;
  --card-bg: #ffffff;
  --gradient: linear-gradient(135deg, #6c5ce7 0%, #ff8fab 100%);
  font-family: "Inter", sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

.hero {
  background: var(--gradient);
  color: #fff;
  padding: 2rem 6vw 4rem;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  top: -160px;
  right: -180px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 500;
}

.nav-links .cta {
  background: #fff;
  color: var(--primary-dark);
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
}

.hero-content {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-actions .primary {
  background: #fff;
  color: var(--primary-dark);
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
}

.hero-actions .secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-weight: 500;
}

.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.highlights div {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  min-width: 120px;
}

.highlights strong {
  display: block;
  font-size: 1.3rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(38, 17, 93, 0.2);
}

.hero-card h3 {
  margin-bottom: 1rem;
}

.hero-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.hero-card li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  font-weight: 500;
}

.hero-card li span {
  color: var(--muted);
  font-weight: 600;
}

.card-button {
  background: var(--primary);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  width: 100%;
  font-weight: 600;
}

main {
  padding: 4rem 6vw 2rem;
}

.section-title {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  margin-bottom: 0.8rem;
}

.section-title p {
  color: var(--muted);
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}

.training-card {
  background: var(--card-bg);
  padding: 1.8rem;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(60, 60, 100, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.training-card .icon {
  font-size: 2rem;
}

.training-card ul {
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
}

.plans {
  margin-top: 4rem;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.8rem;
}

.plan-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(60, 60, 100, 0.08);
  position: relative;
}

.plan-card.featured {
  border: 2px solid var(--primary);
  transform: translateY(-8px);
}

.badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--primary);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.plan-card .price {
  font-size: 2rem;
  margin: 1rem 0;
}

.plan-card .price span {
  font-size: 1rem;
  color: var(--muted);
}

.plan-card ul {
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.plan-card button {
  background: var(--primary);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  width: 100%;
}

.community {
  margin-top: 4rem;
  background: #fff;
  border-radius: 30px;
  padding: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  box-shadow: 0 12px 30px rgba(60, 60, 100, 0.08);
}

.community button {
  background: var(--secondary);
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  margin-top: 1.2rem;
  font-weight: 600;
}

.community-stats {
  display: grid;
  gap: 1rem;
}

.community-stats div {
  background: var(--bg);
  padding: 1.2rem;
  border-radius: 16px;
}

.community-stats strong {
  font-size: 1.6rem;
}

footer {
  padding: 3rem 6vw;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  background: #fff;
  margin-top: 3rem;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 64px;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem;
    border-radius: 16px;
    display: none;
    box-shadow: 0 20px 40px rgba(60, 60, 100, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .cta {
    background: var(--primary);
    color: #fff;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 2rem 5vw 3rem;
  }

  .hero-card {
    order: -1;
  }

  .community {
    padding: 2rem;
  }
}
