/* homepage.css – Homepage page-specific styles
   Global variables & components inherited from base.css and components.css */

/* Hero Section */
.discover-container {
  width: 100%;
  padding-top: 20%;
  background-image:
    linear-gradient(180deg, rgba(0, 26, 48, 0.12) 0%, rgba(0, 26, 48, 0.52) 100%),
    url("../images/homepage_screen.539ac6eb6a6a.webp");
  background-size: cover, cover;
  background-position: center center, center 12%;
  background-repeat: no-repeat;
  background-color: #031425;
  position: relative;
}

.discover-container h1 {
  font-size: 60px;
  font-weight: 600;
  line-height: normal;
}

/* 767px responsive rules consolidated in the 2026 refresh block below */

.discover-text-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  color: var(--text-color-secondary);
}

/* Tool Info Section */
.tool-info {
  max-width: 900px;
  padding: 96px 0;
  margin: 0 auto;
  text-align: center;
}

.tool-text {
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color);
}

.tool-recommendation {
  font-weight: 600;
  margin-top: 24px;
  color: var(--text-color);
}

/* Steps Section */
.steps-container {
  background-color: var(--ternary);
}

.steps {
  max-width: 1200px;
  margin: 0 auto;
}

.steps-list span {
  margin-left: 20px;
}

.step {
  margin-bottom: 22px;
  font-weight: 500;
}

/* CTA Section */
.cta-container {
  padding: 76px 0;
  text-align: center;
}

.cta-container h4 {
  font-size: 34px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 32px;
}

.cta-container a {
  margin-top: 30px;
}

@media screen and (max-width: 1100px) {
  .discover-container h1 {
    font-size: clamp(24px, 8vw, 32px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  }

  .discover-text-container {
    padding: 0 18px;
  }

  .discover-text-container .d-flex {
    margin-top: 10px;
    font-size: 15px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
  }

  .steps-list .step {
    align-items: center;
    gap: 10px;
  }

  .steps-list span {
    margin-left: 4px;
  }

  .text-center.tool-info {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* iPhone SE and small-mobile hero refinement (merged from homepage_mobile_fix.css) */
@media screen and (max-width: 768px) {
  .discover-container {
    min-height: 260px;
    background-size: cover, cover;
    background-position: center center, center 8%;
    background-repeat: no-repeat;
    background-color: #031425;
    padding: 0;
    overflow: hidden;
  }

  .discover-text-container {
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 14px;
  }

  .text-center.tool-info {
    padding-left: 15px;
    padding-right: 15px;
  }

  .steps-list {
    gap: 16px;
  }
}

@media screen and (max-width: 375px) {
  .discover-container {
    min-height: 240px;
  }

  .discover-container h1 {
    font-size: clamp(22px, 7.6vw, 28px);
  }

  .discover-text-container .d-flex {
    font-size: 14px;
  }
}
