/* CSS Variables */
:root {
  --brand-black: #1a1a1a;
  --white: #ffffff;
  --brand-green: #d1ff75;
  --text-dark: #333333;
  --text-mid: #666666;
  --text-light: #999999;
  --light-gray: #f4f4f4;

  --container-width: 1200px;
  --radius-medium: 6px;
  --radius-large: 8px;
  --radius-circle: 50%;

  --font-extrabold: 800;
  --font-bold: 700;
  --font-semibold: 600;
  --font-medium: 500;

  --transition-fast: all 0.2s ease;
  --shadow-button: 3px 3px 0px 0px #8cb340;
}

/* Global Resets and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Switzer", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Page Hero Section */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 600px;
  height: auto;
  padding: 2rem 1rem;
  background-color: var(--brand-black);
  overflow: hidden;
  margin-bottom: 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(1) contrast(1);
  z-index: 1;
  animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.9;
  }
}

.webp .page-hero::before {
  background-image: url("/images/banners/employee-lifting.webp");
}

.no-webp .page-hero::before {
  background-image: url("/images/banners/employee-lifting.png");
}

.page-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 2;
}

.page-hero__container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 0 1rem;
  height: 100%;
  margin-bottom: 6rem;
}

.page-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  text-align: center;
  gap: 0.75rem;
  width: 100%;
}

.page-hero__content h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: var(--font-extrabold);
  color: var(--white);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
}



.page-hero__subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: white;
  max-width: 700px;
  margin: 0;
  line-height: 1.6;
  opacity: 0.9;
}

.hero-hook {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: var(--font-semibold);
  color: var(--brand-green);
  background: rgba(209, 255, 117, 0.15);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-medium);
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* Hero Bottom CTA */
.hero-bottom-cta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: fit-content;
  background-color: rgba(26, 26, 26, 0.8);
  padding: 2.5rem 0;
  z-index: 10;
}

.hero-bottom-cta__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.hero-bottom-cta__input-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
}

.hero-bottom-cta__location-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.hero-bottom-cta__input {
  width: 100%;
  height: 50px;
  padding: 0 0.75rem 0 2.25rem;
  font-size: 0.95rem;
  background-color: var(--white);
  border: none;
  border-radius: var(--radius-medium);
}

.hero-bottom-cta p {
  color: rgb(205, 205, 205);
}

.hero-bottom-cta__button {
  height: 50px;
  padding: 0 1.5rem;
  font-size: 0.95rem;
  font-weight: var(--font-semibold);
  color: var(--text-dark);
  background-color: var(--brand-green);
  border: none;
  border-radius: var(--radius-medium);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: "Switzer", sans-serif;
  white-space: nowrap;
  box-shadow: 3px 3px 0px 0px #8cb340;
  margin-right: 16px;
}

.hero-bottom-cta__button:hover {
  transform: translateY(-2px) translateX(-2px);
  box-shadow: 4px 4px 0px 0px #8cb340;
}

.hero-bottom-cta__button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: 3px 3px 0px 0px #8cb340;
}

/* Section Header Styles */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: var(--font-extrabold);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}


.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--text-mid);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Process Steps Section */
.how-it-works {
  padding: 5rem 1rem;
  background-color: var(--light-gray);
}

.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.how-it-works .section-container {
  position: relative;
}

.how-it-works .section-heading {
  position: relative;
  text-align: left;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: var(--font-extrabold);
  color: var(--text-dark);
  margin-bottom: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background-color: var(--white);
  border-radius: var(--radius-large);
  padding: 1.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  height: 100%;
  padding-top: 3rem;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  background-color: rgb(231, 231, 231);
  color: var(--brand-black);
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1.25rem;
  font-weight: var(--font-bold);
  position: absolute;
  top: 15px;
  left: 15px;
}

.step-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  margin-top: 2rem;
  width: 100%;
}

.step-icon {
  margin-bottom: 0.75rem;
}

.step-icon svg {
  stroke: var(--brand-black);
  width: 36px;
  height: 36px;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: var(--font-semibold);
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.step-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.step-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  width: 100%;
}

.step-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-medium);
  font-weight: var(--font-medium);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
  height: 50px;
  text-decoration: none;
}

.step-action.phone {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
  box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.2);
}

.step-action.text {
  background-color: var(--brand-green);
  color: var(--text-dark);
  box-shadow: var(--shadow-button);
  font-weight: var(--font-semibold);
}

.step-action:hover {
  transform: translateY(-2px) translateX(-2px);
  box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.3);
}

.step-action.text:hover {
  box-shadow: 6px 6px 0px 0px #8cb340;
}

/* Styles for Step 1 (Black background) */
.process-steps .process-step:first-child {
  background-color: var(--brand-black);
  color: var(--white);
}

.process-steps .process-step:first-child h3 {
  color: var(--white);
}

.process-steps .process-step:first-child p {
  color: rgba(255, 255, 255, 0.8);
}

.process-steps .process-step:first-child .step-number {
  background-color: var(--brand-green);
  color: var(--brand-black);
}

.process-steps .process-step:first-child .step-icon svg {
  stroke: var(--white);
}

.process-steps .process-step:first-child .step-action.text {
  background-color: var(--brand-green);
  color: var(--text-dark);
  font-weight: var(--font-semibold);
}

.step-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-mid);
  font-size: 0.9rem;
}

.step-feature svg {
  stroke: var(--brand-black);
}

.process-steps .process-step:first-child .step-feature {
  color: rgba(255, 255, 255, 0.8);
}

.process-steps .process-step:first-child .step-feature svg {
  stroke: var(--white);
}

/* Pricing Factors Section */
.pricing-factors {
  padding: 5rem 1rem;
  background-color: var(--white);
}

.factors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.factor-card {
  background-color: var(--light-gray);
  border-radius: var(--radius-large);
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: visible;
  height: 100%;
}

.factor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.factor-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-circle);
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.factor-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--brand-black);
}

.factor-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.factor-content h3 {
  font-size: 1.25rem;
  font-weight: var(--font-semibold);
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.factor-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-mid);
  max-width: 350px;
}

/* SVG Icons */
.dumbbell-icon {
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.dumbbell-icon .bar {
  stroke: var(--brand-black);
}

.dumbbell-icon .weight {
  stroke: var(--brand-black);
  fill: none;
}

.complexity-icon {
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Banner CTA Section */
.banner-cta {
  padding: 5rem 1rem;
  background-color: var(--brand-black);
  position: relative;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 15px 15px;
}

.banner-cta__container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.banner-cta__header {
  flex: 1;
  text-align: left;
  margin-bottom: 0;
}

.banner-cta__hook {
  color: var(--brand-green);
}

.banner-cta__heading {
  color: var(--white);
}

.banner-cta__subtitle {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin: 0 0 1.5rem 0;
}

.banner-cta__trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.banner-cta__trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-medium);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.banner-cta__trust-badge svg {
  stroke: var(--brand-green);
  width: 16px;
  height: 16px;
}

.banner-cta__quote-box {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-large);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 320px;
  flex-shrink: 0;
  position: relative;
}

.banner-cta__step-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--brand-green);
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: var(--font-semibold);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
}

.banner-cta__quote-box h3 {
  font-size: 1.2rem;
  font-weight: var(--font-semibold);
  margin-bottom: 1.25rem;
  text-align: center;
  color: var(--text-dark);
}

.banner-cta__input-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.banner-cta__location-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-mid);
}

.banner-cta__input {
  width: 100%;
  height: 50px;
  padding: 0 0.75rem 0 2.25rem;
  font-size: 0.95rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-medium);
}

.banner-cta__input:focus {
  outline: none;
  border-color: var(--brand-green);
}

.banner-cta__button {
  width: 100%;
  height: 50px;
  font-size: 0.95rem;
  font-weight: var(--font-semibold);
  color: var(--text-dark);
  background-color: var(--brand-green);
  border: none;
  border-radius: var(--radius-medium);
  cursor: pointer;
  transition: var(--transition-fast);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-button);
  font-family: "Switzer", sans-serif;
}

.banner-cta__button:hover {
  transform: translateY(-2px) translateX(-2px);
  box-shadow: 4px 4px 0px 0px #8cb340;
}

.banner-cta__button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: var(--shadow-button);
}

.banner-cta__no-card {
  font-size: 0.85rem;
  color: var(--text-mid);
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .banner-cta__container {
    flex-direction: column;
  }

  .banner-cta__header {
    text-align: center;
  }

  .banner-cta__subtitle {
    text-align: center;
    margin: 0 auto 1.5rem;
  }

  .banner-cta__trust-badges {
    justify-content: center;
  }

  .banner-cta__quote-box {
    width: 100%;
    max-width: 450px;
  }
}

@media (max-width: 1024px) {
  .factors-grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 500px;
    padding: 1rem;
  }

  .page-hero__content {
    max-width: 100%;
    padding: 0 1rem;
    margin-bottom: 4rem;
  }

  .page-hero__content h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }

  .factors-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-bottom-cta__container {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-bottom-cta__button {
    margin-right: 0;
  }

  .hero-bottom-cta__input-wrapper,
  .hero-bottom-cta__button {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .page-hero__container {
    align-items: flex-start;
  }

  .page-hero__content {
    text-align: left;
    align-items: flex-start;
  }

  .page-hero__content h1,
  .page-hero__subtitle {
    text-align: left;
  }

  .factor-card {
    padding: 1.75rem;
  }

  .factor-icon {
    width: 70px;
    height: 70px;
  }

  .banner-cta__trust-badges {
    gap: 0.5rem;
  }

  .banner-cta__trust-badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    min-height: 500px;
    padding: 1.5rem 1rem;
  }

  .page-hero__content h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .page-hero__subtitle {
    font-size: 0.95rem;
  }

  .hero-hook {
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
  }

  .section-heading {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .factor-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .factor-content h3 {
    font-size: 1.1rem;
  }

  .step-action {
    font-size: 0.9rem;
  }
}