:root {
  --purple: #8A70FF;
  --purple-dark: #6B4FE0;
  --purple-light: #A88FFF;
  --orange: #FFB800;
  --orange-dark: #E5A500;
  --text: #1a1a2e;
  --text-muted: #5c5c6d;
  --white: #ffffff;
  --bg-soft: #f7f6fc;
  --shadow: 0 10px 40px rgba(138, 112, 255, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--purple-dark);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: var(--orange-dark);
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* Top bar */
.top-bar {
  background: var(--purple-dark);
  color: var(--white);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.top-bar a {
  color: var(--white);
}

.top-bar span {
  opacity: 0.95;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 44px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: var(--purple);
  color: var(--white);
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

.main-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--purple);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-link {
  position: relative;
  font-weight: 700;
  color: var(--purple);
  padding: 0.4rem 0.75rem;
  border: 2px solid var(--purple-light);
  border-radius: 50px;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--orange);
  color: var(--text);
  font-size: 0.7rem;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-orange {
  background: var(--orange);
  color: var(--text);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

.btn-orange:hover {
  background: var(--orange-dark);
  color: var(--text);
}

.btn-purple {
  background: var(--purple);
  color: var(--white);
}

.btn-purple:hover {
  background: var(--purple-dark);
  color: var(--white);
}

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

.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0 0 0.5rem;
  color: var(--text);
}

.section-title h2 span {
  color: var(--purple);
}

.section-title p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* Hero */
.hero {
  position: relative;
  padding: 3rem 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f0ebff 0%, #fff 50%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(138, 112, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 112, 255, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 40%, transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 420px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-content h1 span {
  color: var(--purple);
}

.hero-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 90%;
  height: 85%;
  right: 0;
  top: 10%;
  background: var(--purple);
  border-radius: 50% 0 0 50%;
  opacity: 0.15;
  z-index: 0;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
  min-height: 320px;
}

.hero-services {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin: 2rem auto 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 2;
  width: min(1140px, 92%);
}

.hero-services ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-services li {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-services li strong {
  color: var(--purple);
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* About block */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: var(--purple);
  border-radius: 50%;
  left: 10%;
  top: 15%;
  z-index: 0;
  opacity: 0.2;
}

.about-image-wrap img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(138, 112, 255, 0.1);
  transition: transform 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-icon.orange {
  background: rgba(255, 184, 0, 0.2);
  color: var(--orange-dark);
}

.feature-icon.purple {
  background: rgba(138, 112, 255, 0.2);
  color: var(--purple);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Schedule tabs */
.schedule-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.schedule-tabs button {
  padding: 0.5rem 1rem;
  border: 2px solid var(--purple-light);
  background: var(--white);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s;
}

.schedule-tabs button.active,
.schedule-tabs button:hover {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

.schedule-panel {
  display: none;
}

.schedule-panel.active {
  display: block;
}

.class-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.class-card {
  background: var(--bg-soft);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--purple);
}

.class-card h4 {
  margin: 0 0 0.25rem;
  color: var(--purple-dark);
}

.class-card .time {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.class-card a {
  font-weight: 700;
  font-size: 0.9rem;
}

/* Video section */
.video-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-section-text {
  background: var(--purple);
  color: var(--white);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-section-text h2 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
}

.video-thumb {
  position: relative;
  min-height: 280px;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.price-card-head {
  background: var(--purple);
  color: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
}

.price-card-head.silver {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-light));
}

.price-card-head.gold {
  background: linear-gradient(135deg, #5a3fd4, var(--orange));
}

.price-card-head h3 {
  margin: 0 0 0.5rem;
  letter-spacing: 0.1em;
  font-size: 1rem;
}

.price-card-head .amount {
  font-size: 2.5rem;
  font-weight: 800;
}

.price-card-head .amount small {
  font-size: 1rem;
  font-weight: 600;
}

.price-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.price-card-body ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}

.price-card-body li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.price-card-body li::before {
  content: "✓";
  color: var(--orange);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.testimonial-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--purple-light);
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.testimonial-card cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 700;
  color: var(--purple);
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-card .meta {
  font-size: 0.8rem;
  color: var(--orange-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

/* Newsletter strip */
.newsletter-strip {
  background: var(--purple);
  color: var(--white);
  padding: 2.5rem 0;
}

.newsletter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.newsletter-inner h2 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  max-width: 480px;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1;
  min-width: 260px;
  max-width: 480px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 180px;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
}

/* Footer */
.site-footer {
  background: var(--purple-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  color: var(--white);
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.site-footer p,
.site-footer li {
  font-size: 0.9rem;
  line-height: 1.7;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
  color: var(--orange);
}

.footer-logo img {
  height: 48px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.social-links a:hover {
  background: var(--orange);
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.page-hero p {
  margin: 0;
  opacity: 0.9;
  max-width: 600px;
  margin-inline: auto;
}

.bg-soft {
  background: var(--bg-soft);
}

/* Forms */
.form-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e8e6f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--purple);
}

.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
  border-color: #e74c3c;
}

.field-error {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}

.field-error.visible {
  display: block;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  margin: 0.2rem 0 0 0;
  flex-shrink: 0;
  accent-color: var(--purple);
  cursor: pointer;
}

.checkbox-group label {
  margin: 0;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
  flex: 1;
}

.checkbox-group .field-error {
  width: 100%;
  padding-left: calc(1.15rem + 0.65rem);
}

.form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid #c3e6cb;
}

.form-success.visible {
  display: block;
}

/* Shop */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 1.25rem;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--purple);
  margin: 0.5rem 0 1rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.cart-table th,
.cart-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.trainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.trainer-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.trainer-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.trainer-card-body {
  padding: 1.25rem;
}

.trainer-card h3 {
  margin: 0 0 0.25rem;
  color: var(--purple-dark);
}

.trainer-card .role {
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.faq-item button::after {
  content: "+";
  color: var(--purple);
  font-size: 1.5rem;
}

.faq-item.open button::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  color: var(--purple-dark);
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-content h3 {
  margin-top: 1.25rem;
  font-size: 1.1rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  margin: 2rem 0;
}

.stat-box {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-box strong {
  display: block;
  font-size: 2rem;
  color: var(--purple);
}

.two-col-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .video-section,
  .two-col-content {
    grid-template-columns: 1fr;
  }

  .pricing-grid,
  .testimonial-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }
}
