* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rubik', sans-serif;
  background: #020617;
  color: #f9fafb;
  line-height: 1.6;
  direction: rtl;
}

.container {
  width: min(1100px, 90%);
  margin: auto;
}

header {
  background: rgba(15, 23, 42, 0.96);
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #0b1220;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: #e5e7eb;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: #22c55e;
  transition: width 0.15s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* BUTTONS */
.primary-btn {
  background: #22c55e;
  color: #022c22;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.primary-btn:hover {
  opacity: 0.96;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.42);
}

.primary-btn-wide {
  width: 100%;
  max-width: 360px;
  margin: 1.3rem auto 0;
  display: block;
}

.hero-full {
  width: 100%;
  min-height: 85vh;
  background-image: url('../img/trainer.png'); 
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15,23,42,0.25), rgba(15,23,42,0.85));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}


.hero-kicker {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.hero-title {
  font-size: clamp(2.1rem, 3.2vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.hero-subtitle {
  font-size: 0.98rem;
  max-width: 32rem;
  color: #e5e7eb;
  margin-bottom: 1.4rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-badge {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #1e293b;
  background: rgba(15,23,42,0.92);
}

.section {
  padding: 3.2rem 0;
  border-top: 1px solid #0b1220;
  background: radial-gradient(circle at top, #020617, #020617);
}

.section-title {
  text-align: center;
  margin-bottom: 0.6rem;
  font-size: 1.7rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  color: #f9fafb;       
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -0.4rem;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 2px;
  background: #22c55e;
  animation: titleLine 0.6s ease-out forwards;
}

@keyframes titleLine {
  to {
    width: 40%;
  }
}


.section-subtitle {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto 2.2rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.benefit {
  background: #020617;
  padding: 1.2rem;
  border-radius: 1rem;
  border: 1px solid #1f2937;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.benefits-grid .benefit:nth-child(1) {
  animation-delay: 0.15s;
}
.benefits-grid .benefit:nth-child(2) {
  animation-delay: 0.27s;
}
.benefits-grid .benefit:nth-child(3) {
  animation-delay: 0.39s;
}

.benefit-icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.benefit h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.benefit p {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.benefit:hover {
  transform: translateY(-4px);
  border-color: #22c55e;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.9);
}

.stars {
  color: #facc15;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.form {
  text-align: center;
}

.form-subtitle {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-top: 0.5rem;
}

.whatsapp-float {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  background: #22c55e;
  color: #022c22;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.7);
  z-index: 30;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;

  animation: waPulse 2.4s ease-in-out infinite;
}

@keyframes waPulse {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(0);
  }
}


.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.85);
}

@media (max-width: 900px) {
  header {
    position: static;
  }

  .nav-links {
    display: flex; 
    gap: 0.8rem;
    font-size: 0.85rem;
  }

  .hero-full {
    min-height: 70vh;
    background-position: center;
  }

  .hero-content {
    padding: 3.2rem 0;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
  }

  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    left: 50%;
    transform: translateX(-50%);
  }

  .whatsapp-float:hover {
    transform: translateX(-50%) translateY(-3px);
  }
  
}

@media (max-width: 600px) {
  .hero-content {
    padding: 2.5rem 0;
  }

  .hero-kicker {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 2.4rem 0;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-from-left {
  transform: translateX(-24px);
}

.animate-on-scroll.animate-from-right {
  transform: translateX(24px);
}

.animate-on-scroll.animate-from-bottom {
  transform: translateY(24px);
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.benefits-grid .benefit.animate-on-scroll:nth-child(1) {
  transition-delay: 0.1s;
}
.benefits-grid .benefit.animate-on-scroll:nth-child(2) {
  transition-delay: 0.2s;
}
.benefits-grid .benefit.animate-on-scroll:nth-child(3) {
  transition-delay: 0.3s;
}

.process-grid .process-item.animate-on-scroll:nth-child(1) {
  transition-delay: 0.1s;
}
.process-grid .process-item.animate-on-scroll:nth-child(2) {
  transition-delay: 0.2s;
}
.process-grid .process-item.animate-on-scroll:nth-child(3) {
  transition-delay: 0.3s;
}
.process-grid .process-item.animate-on-scroll:nth-child(4) {
  transition-delay: 0.4s;
}


.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}

.process-item {
  background: #020617;
  padding: 1.2rem;
  border-radius: 1rem;
  border: 1px solid #1f2937;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.process-item:hover {
  border-color: #22c55e;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(34,197,94,0.4);
}

.process-item .icon {
  font-size: 2rem;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.primary-btn-main {
  font-size: 1rem;
  padding: 0.9rem 1.6rem;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  box-shadow: 0 14px 32px rgba(34, 197, 94, 0.5);
}

.phone-link {
  color: #22c55e;
  font-weight: 600;
  text-decoration: none;
  margin-right: 0.25rem;
}

.phone-link:hover {
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  background: #22c55e;
  color: white;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top svg {
  width: 26px;
  height: 26px;
}
