index.module.css 2.95 KB
/* Hero / Search Section */
.hero {
  background: #f0f1f4;
  padding: 80px 16px 60px;
  text-align: center;
}
.heroInner {
  max-width: 600px;
  margin: 0 auto;
}
.heroTitle {
  font-size: 28px;
  font-weight: 400;
  color: #323232;
  margin-bottom: 32px;
}
.searchWrap {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}
.searchIcon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
}
.searchInput {
  width: 100%;
  height: 56px;
  border-radius: 99px;
  border: 0.8px solid #d9d9d9;
  background: #fff;
  padding: 0 20px 0 50px;
  font-size: 16px;
  color: #595959;
  outline: none;
  cursor: pointer;
  box-sizing: border-box;
}
.searchInput:focus {
  border-color: #166bff;
  box-shadow: 0 0 0 2px rgba(22,107,255,0.1);
}
.searchInput::placeholder {
  color: #999;
}

/* Categories Grid */
.categories {
  background: #fff;
  padding: 48px 16px;
}
.categoriesInner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Category Card */
.categoryCard {
  padding: 28px 16px;
  border-bottom: 0.8px solid #e8e8e8;
}
.categoryCard:nth-child(odd) {
  padding-left: 0;
  padding-right: 32px;
}
.categoryCard:nth-child(even) {
  padding-left: 32px;
  padding-right: 0;
  border-left: 0.8px solid #e8e8e8;
}
.categoryTitle {
  font-size: 18px;
  font-weight: 500;
  color: #323232;
  margin: 0 0 8px 0;
  padding-bottom: 10px;
  border-bottom: 0.8px solid #e8e8e8;
}
.categoryTitle a {
  color: #323232;
  text-decoration: none;
}
.categoryTitle a:hover {
  color: #166bff;
}
.categoryDesc {
  font-size: 14px;
  color: #666;
  margin: 10px 0 8px;
  line-height: 1.5;
}
.categoryList {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.categoryList li {
  font-size: 15px;
  color: #666;
  line-height: 22px;
  padding: 3px 0;
}
.categoryList li a {
  color: #666;
  text-decoration: none;
  transition: color 0.15s;
}
.categoryList li a:hover {
  color: #166bff;
}
.moreLink a {
  color: #166bff;
}

/* Need Support Section */
.support {
  background: #f0f1f4;
  padding: 56px 16px;
  text-align: center;
}
.supportInner {
  max-width: 600px;
  margin: 0 auto;
}
.supportTitle {
  font-size: 22px;
  font-weight: 600;
  color: #323232;
  margin: 0 0 12px;
}
.supportDesc {
  font-size: 15px;
  color: #666;
  margin: 0 0 24px;
}
.supportBtn {
  display: inline-block;
  background: #666;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border-radius: 99px;
  text-decoration: none;
  transition: background 0.2s;
}
.supportBtn:hover {
  background: #166bff;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .categoriesInner {
    grid-template-columns: 1fr;
  }
  .categoryCard:nth-child(odd),
  .categoryCard:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: none;
  }
  .hero {
    padding: 48px 16px 36px;
  }
  .heroTitle {
    font-size: 22px;
  }
}