/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  border-bottom: 1px solid #e8ecef;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
  overflow: hidden;
  /* Prevent any content from expanding navbar */
  box-sizing: border-box;
}

.navbar__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  height: 100% !important;
  max-height: 68px !important;
  /* Prevent flex items from expanding navbar */
  min-height: 0;
  box-sizing: border-box;
}

.navbar__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  height: 52px;
  max-height: 52px;
  overflow: hidden;
  flex-shrink: 0;
  /* Prevent logo from affecting navbar height */
  align-self: center;
}

.navbar__logo-img {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: 300px !important;
  display: block !important;
  object-fit: contain !important;
  object-position: left center;
  /* Prevent image from affecting layout */
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  /* Force image to respect constraints */
  box-sizing: border-box !important;
  flex-shrink: 0;
}

.navbar .btn {
  padding: 6px 16px;
  font-size: 13px;
  line-height: 1.4;
  height: auto;
  white-space: nowrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn--primary {
  background-color: #1a1a1a;
  color: #ffffff;
}

.btn--primary:hover {
  background-color: #2d2d2d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.15);
}

.btn--secondary {
  background-color: transparent;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
}

.btn--secondary:hover {
  background-color: #1a1a1a;
  color: #ffffff;
}

.btn--large {
  padding: 16px 32px;
  font-size: 18px;
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 120px 0 100px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero__subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SECTION STYLES ===== */
section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__title {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section__subtitle {
  font-size: 18px;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== PROBLEM SECTION ===== */
.problem {
  background-color: #ffffff;
}

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

.problem__text {
  font-size: 18px;
  line-height: 1.8;
  color: #2c3e50;
}

.problem__lead {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.problem__text p:not(:last-child) {
  margin-bottom: 20px;
}

.problem__text strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
  background-color: #f8f9fa;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: 40px 24px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.step__number {
  width: 60px;
  height: 60px;
  background-color: #1a1a1a;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 24px;
}

.step__title {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.step__description {
  font-size: 16px;
  line-height: 1.6;
  color: #4a5568;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
  background-color: #ffffff;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit {
  padding: 32px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #1a1a1a;
}

.benefit__title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.benefit__description {
  font-size: 16px;
  line-height: 1.6;
  color: #4a5568;
}

/* ===== AUDIENCE SECTION ===== */
.audience {
  background-color: #f8f9fa;
}

.audience__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.audience__item {
  padding: 32px;
  background-color: #ffffff;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.audience__title {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.audience__description {
  font-size: 16px;
  line-height: 1.6;
  color: #4a5568;
}

/* ===== WHY VALLEXO SECTION ===== */
.why-vallexo {
  background-color: #ffffff;
}

.why-vallexo__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.why-vallexo__item {
  padding: 32px;
  text-align: center;
}

.why-vallexo__title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.why-vallexo__description {
  font-size: 16px;
  line-height: 1.6;
  color: #4a5568;
}

/* ===== CTA SECTION ===== */
.cta {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  padding: 100px 0;
}

.cta__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta__title {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.cta__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 32px;
}

.cta__note {
  margin-top: 24px;
  font-size: 16px;
  color: #cbd5e0;
}

.cta__note a {
  color: #ffffff;
  text-decoration: underline;
}

.cta__note a:hover {
  color: #e2e8f0;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 40px 0;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  font-size: 18px;
  font-weight: 600;
}

.footer__copyright {
  font-size: 14px;
  color: #a0aec0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  section {
    padding: 60px 0;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .audience__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why-vallexo__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__content {
    flex-direction: column;
    text-align: center;
  }

  .navbar {
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
  }

  .navbar__content {
    padding: 8px 0;
    height: 100% !important;
    max-height: 56px !important;
  }

  .navbar__logo {
    height: 40px !important;
    max-height: 40px !important;
  }

  .navbar__logo-img {
    height: 36px !important;
    max-height: 36px !important;
    max-width: 220px !important;
  }

  .navbar .btn {
    padding: 6px 16px;
    font-size: 13px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .btn--large {
    padding: 14px 28px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .section__title {
    font-size: 28px;
  }

  .section__subtitle {
    font-size: 16px;
  }

  .problem__text {
    font-size: 16px;
  }

  .problem__lead {
    font-size: 18px;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus styles for accessibility */
.btn:focus,
a:focus {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn--primary {
    border: 2px solid #1a1a1a;
  }
}

