/* === Hero Section === */
section.hero {
  /* REMOVE the background: url(...) line here */
  position: relative; /* CRITICAL: Allows absolute positioning of the image */
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 80px 0;
  min-height: 100vh;
}
/* NEW: Styles for the image container and the image itself */
.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Puts the image behind the content */
  overflow: hidden;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Equivalent to CSS background-size: cover; */
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  width: 100%;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffff;
}

.hero-content p {
  color: #dddfe0;
  font-size: 1.1rem;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  width: 100%;
}

.hero-form input {
  padding: 12px 15px;
  font-size: 1rem;
  border: 2px solid #ff4b2b;
  border-radius: 5px;
  outline: none;
  width: 100%;
}

.hero-form input::placeholder {
  color: #aaa;
}

.error-text {
  color: #fff;
  background: #ff4b2b;
  font-size: 0.85rem;
  padding: 4px 8px;
  border-radius: 3px;
  width: fit-content;
  margin-top: 10px;
}

.btn {
  background-color: #ff4b2b;
  color: #fff;
  border: none;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #ff6a4b;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 3rem;
  position: relative;
  bottom: -10px;
}

section.stats {
  position: relative; /* CRITICAL: Allows absolute positioning of the background div */
  padding: 80px 0;
  text-align: center;
}
/* NEW: Styles for the background div */
.stats-bg-layer {
  /* Absolute position to cover the entire section */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Place behind all content */

  /* Apply the remaining background properties previously on section.stats */
  background-position: left;
  background-repeat: no-repeat;
  background-size: cover;
}

section.fitness-software {
  text-align: center;
}

h2 {
  font-size: 2.6rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: #0b1220;
}

.lead {
  color: #6b7785;
  margin-bottom: 44px;
  font-size: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.stats-grid {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 42px;
  padding: 20px 10px;
}

.stat-item {
  flex: 1;
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
}

.stat-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
}

.stat-value {
  font-size: 2.6rem;
  font-weight: 800;
  color: #0b1220;
  margin-bottom: 8px;
}

.stat-caption {
  color: #6b7785;
  font-size: 0.95rem;
}

.cta-btn {
  display: inline-block;
  background: #0b0b0b;
  color: #fff;
  padding: 14px 34px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cta-btn:hover {
  opacity: 0.9;
}

@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    margin-top: 40px;
    border-radius: 10px;
  }

  .hero-form input {
    width: 100%;
  }

  .stats-grid {
    flex-direction: column;
    gap: 28px;
  }

  .stats-bg-layer {
    display: none;
  }

  .stat-item {
    max-width: 100%;
  }

  .image-grid {
    flex-direction: column;
  }

  .image-grid img {
    width: 100% !important;
    max-height: none !important;
  }
}

section.fitness-software {
  padding: 80px 0;
  background-color: #f7f8f8;
}

.image-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
}

.image-grid img {
  width: 100%;
  max-height: 500px;
  border-radius: 10px;
}

section.features {
  background: #ffff;
  padding: 80px 0;
  text-align: center;
}

.features-grid {
  width: 90%;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px 40px;
  justify-items: center;
}

.feature-item {
  max-width: 300px;
  border: 2px dotted #e5e7eb;
  border-radius: 15px;
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #ff4b2b;
}

.feature-item img {
  width: 100%;
  max-width: 220px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-item p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

.coach {
  background: #ffff;
  padding: 80px 0;
}

.cta-section {
  background: #f7f59a;
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: #0b1220;
  margin-bottom: 16px;
}

.cta-section .lead {
  color: #6b7785;
  margin-bottom: 40px;
}

.cta-section .cta-btn {
  margin-bottom: 20px;
}

.cta-disclaimer {
  color: #6b7785;
  font-size: 0.9rem;
}

.gym-app-features {
  background: #f9fafb;
  padding: 80px 0;
  text-align: center;
}

.gym-app-grid {
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-items: center;
}

.gym-app-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  max-width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gym-app-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.studio-owners-section {
  background: #f9fafb;
  padding: 80px 0;
  text-align: center;
}

.studio-owners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.studio-owner-card {
  overflow: hidden;
  background: white;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px dotted #e5e7eb;
}

.studio-owner-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 2px dotted #ff4b2b;
}

.studio-owner-card img {
  width: 100%;

  /* border-radius: 15px; */
  margin-bottom: 30px;
}

.studio-owner-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #0b1220;
}

.studio-owner-card ul {
  list-style: none;
  text-align: left;
  padding: 0 30px 30px 30px;
}

.studio-owner-card li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #374151;
}

.studio-owner-card li::before {
  content: "✓";
  color: #ff4b2b;
  margin-right: 12px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .studio-owners-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.payment-section {
  background: #fff;
  padding: 80px 0;
}

.payment-layout {
  display: flex;
  align-items: center;
  gap: 80px;
}

.payment-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.payment-left .cta-btn {
  width: fit-content;
}

.payment-left h2 {
  margin-bottom: 20px;
}

.payment-left p {
  color: #6b7280;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.payment-right {
  flex: 1;
}

.payment-list {
  display: flex;
  flex-direction: column;
}

.payment-features {
  list-style: none;
  margin-bottom: 40px;
}

.payment-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #374151;
}

.payment-features li strong::before {
  content: "✓";
  color: #ff4b2b;
  margin-right: 8px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.payment-features-two li::before {
  content: "✓";
  color: #ff4b2b;
  margin-right: 8px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.payment-features li strong {
  display: block;
  margin-bottom: 5px;
}

.payment-features li span {
  display: block;
  text-align: left;
}

.payment-image {
  margin-top: 20px;
}

.payment-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 30px;
}

@media (max-width: 900px) {
  .payment-layout {
    flex-direction: column;
    gap: 40px;
  }
}

.feature-section {
  padding: 80px 0;
  background: #fff;
}

.feature-section:nth-child(even) {
  background: #f9fafb;
}

.feature-layout {
  display: flex;
  align-items: center;
  gap: 60px;
}

.feature-layout.reverse {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  text-align: left;
}

.feature-content h2 {
  margin-bottom: 30px;
}

.feature-list {
  list-style: none;
  margin-bottom: 40px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 1rem;
}

.feature-list li::before {
  content: "✓";
  background: #10b981;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.feature-list h4 {
  font-weight: 600;
  margin-bottom: 5px;
  color: #0b1220;
}

.feature-list p {
  color: #6b7280;
  font-size: 0.9rem;
}

.feature-image {
  flex: 1;
}

.feature-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
}

@media (max-width: 900px) {
  .feature-layout,
  .feature-layout.reverse {
    flex-direction: column;
    gap: 40px;
  }

  .feature-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.management-section {
  background: #f9fafb;
  padding: 80px 0;
  text-align: center;
}

.management-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
}

.management-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.management-item img {
  width: 100%;
  max-width: 300px;
  margin-bottom: 30px;
  border-radius: 15px;
}

.management-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #0b1220;
}

.management-item ul {
  list-style: none;
  text-align: left;
}

.management-item li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #6b7280;
}

.management-item li::before {
  content: "✓";
  color: #ff4b2b;
  margin-right: 12px;
  font-weight: bold;
}

.coaching-experience {
  background: #1a1a1a;
  color: white;
  padding-top: 80px;
  text-align: center;
  overflow: hidden;
}

.coaching-experience h2 {
  color: white;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.coaching-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 60px;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.coaching-feature {
  display: flex;
  align-items: center;
  text-align: left;
}

.coaching-feature::before {
  content: "✓";
  background: #10b981;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.coaching-mockup {
  margin-top: 40px;
}

.coaching-mockup img {
  width: 100%;
  max-width: 1000px;
  border-radius: 15px;
  position: relative;
  bottom: -10px;
}

@media (max-width: 900px) {
  .coaching-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .management-grid {
    flex-direction: column;
    gap: 40px;
  }
}

.gym-app-card img {
  width: 100%;
  max-width: 250px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.gym-app-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0b1220;
}

.gym-app-card p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

.fitness-journey-heading {
  text-align: left;
  max-width: 500px;
}

.favorite-apps-grid {
  display: flex;
  align-items: center;
  gap: 60px;
  text-align: left;
}

.favorite-apps-grid img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .favorite-apps-grid {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
}

.favorite-apps {
  background: linear-gradient(127deg, #d3ecff, #ffe0e0);
  padding: 80px 0;
  text-align: center;
}

.comparison-section {
  background: #f8fafc;
  padding: 80px 0;
  text-align: center;
}

.comparison-table {
  max-width: 1000px;
  margin: 60px auto 0;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
}

.comparison-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #e5e7eb;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-cell {
  padding: 25px 30px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.comparison-cell:first-child {
  background: #fef2f2;
  color: #7f1d1d;
  border-right: 1px solid #e5e7eb;
}

.comparison-cell:last-child {
  background: #f0fdf4;
  color: #14532d;
  font-weight: 500;
}

@media (max-width: 900px) {
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-cell:first-child {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
}

.fitness-brand-section {
  background: #fff;
  padding: 80px 0 0 0;
  text-align: center;
}

.brand-mockup {
  position: relative;
  margin: 60px auto 80px;
  max-width: 1000px;
  height: 600px;
  overflow: hidden;
  border-radius: 20px;
}

.brand-mockup img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.brand-mockup img.active {
  opacity: 1;
}

.brand-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  padding-bottom: 40px;
}

.brand-feature {
  text-align: center;
}

.brand-feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.brand-feature h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0b1220;
}

.brand-feature p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .brand-mockup {
    height: 400px;
  }
}

.pricing-plans-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 0;
  text-align: center;
}

.pricing-table {
  max-width: 1200px;
  margin: 60px auto 0;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.pricing-header {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 1fr;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  font-weight: 600;
}

.pricing-header div {
  padding: 25px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-header div:last-child {
  border-right: none;
}

.pricing-row {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 1fr;
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.3s ease;
}

.pricing-row:hover {
  background: #f8fafc;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-cell {
  padding: 20px;
  border-right: 1px solid #e5e7eb;
  font-size: 0.9rem;
  line-height: 1.5;
}

.pricing-cell:last-child {
  border-right: none;
}

.plan-name {
  background: #1e293b;
  color: white;
  font-weight: 600;
}

.best-for {
  color: #64748b;
  font-style: italic;
}

.monthly-cost {
  color: #059669;
  font-weight: 600;
}

.business-plan {
  color: #374151;
}

.highlight-row {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

@media (max-width: 900px) {
  .pricing-header,
  .pricing-row {
    grid-template-columns: 1fr;
  }

  .pricing-cell {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
  }

  .pricing-cell:last-child {
    border-bottom: none;
  }
  section.hero {
    min-height: 0vh;
  }
}

/* Trust Section */
.trust-section {
  background: #f8f9fa;
  padding: 80px 0;
  text-align: center;
}

.trust-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0b1220;
  margin-bottom: 20px;
}

.trust-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ratings-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 50px 0;
}

.rating-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.rating-item img {
  width: 100%;
  max-width: 200px;
}

.rating-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.stars {
  font-size: 1.5rem;
  color: #fbbf24;
}

.rating-item p {
  color: #374151;
  font-weight: 600;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .ratings-grid {
    flex-direction: column;
    gap: 40px;
  }

  .trust-section h2 {
    font-size: 2rem;
  }
}

.wpcf7-response-output {
    color: white;
}
.hero-form {
  margin: 0 auto;
  max-width: 850px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-form input {
  padding: 12px 15px;
  font-size: 1rem;
  border: 2px solid #ff4b2b;
  border-radius: 5px;
  outline: none;
  width: 100%;
}

.hero-form input::placeholder {
  color: #aaa;
}

.hero-bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 45%); /* overlay color + opacity */
}