/* FINAL CSS: Responsive & Optimized for Mobile - 2025/03/26 */

body {
  font-family: 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
}

h1, h2, h3 {
  text-align: center;
  color: #222;
}

section {
  padding: 40px 20px;
  margin: 20px auto;
  max-width: 1000px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.hero {
  background: linear-gradient(to right, #fcb045, #fd1d1d, #833ab4);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 2.4em;
  line-height: 1.4;
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.2em;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 90%;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: white;
  color: #d94b4b;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #eee;
}

.benefits {
  background-color: #f9f9f9;
}

.benefits .feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 20px;
}

.feature-card {
  text-align: center;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card .emoji {
  font-size: 32px;
  margin-bottom: 10px;
}

.feature-card h3 {
  font-size: 1.1em;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95em;
  color: #555;
  line-height: 1.4;
}

.search {
  background-color: #ffffff;
}

.search form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
}

.search input, .search select, .search button {
  padding: 14px;
  width: 95%;
  max-width: 480px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1.1em;
}

.recommend {
  background-color: #f1f7ff;
}

.job-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.job-card {
  background: #fafafa;
  padding: 20px;
  border-radius: 6px;
  width: 280px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
}

.job-card img {
  max-width: 100%;
  border-radius: 6px;
  height: 180px;
  object-fit: cover;
}

.job-card a {
  display: inline-block;
  margin-top: 10px;
  color: #007bff;
  text-decoration: none;
}

.flow {
  background-color: #fafafa;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.flow-step {
  background: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.flow-step .emoji {
  font-size: 28px;
  margin-bottom: 8px;
}

.flow-step h3 {
  font-size: 1.1em;
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 0.95em;
  color: #555;
}

.faq {
  background-color: #fff9f2;
}

.faq details {
  margin-bottom: 15px;
  background: #fefefe;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.faq summary {
  font-weight: bold;
  font-size: 1.05em;
}

@media (max-width: 768px) {
  .benefits .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  section {
    padding: 30px 15px;
  }

  .hero h1 {
    font-size: 2em;
    line-height: 1.5;
  }

  .hero p {
    font-size: 1.15em;
    line-height: 1.6;
  }

  .job-cards {
    flex-direction: column;
    align-items: center;
  }

  .job-card {
    width: 90%;
  }

  .cta-button {
    width: 85%;
    font-size: 1.1em;
  }

  .benefits .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-grid {
    grid-template-columns: 1fr;
  }

  .search input, .search select, .search button {
    width: 95%;
    font-size: 1.1em;
    padding: 16px;
  }
}