/* ==========================================
GLOBAL
========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: #222;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: min(1200px, 92%);
  margin: auto;
}

/* ==========================================
ANNOUNCEMENT
========================================== */
.announcement {
  background: #4f46e5;
  color: #fff;
  padding: 12px 0;
  font-size: 0.95rem;
}

.announcement .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.announcement a {
  color: #fff;
  font-weight: 600;
}

.announcement a:hover {
  text-decoration: underline;
}

/* ==========================================
HELP HERO
========================================== */
.help-hero {
  padding: 90px 0;
}

.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #eef2ff;
  border-radius: 50px;
  color: #4f46e5;
  font-weight: 600;
  margin-bottom: 25px;
}

.help-left h1 {
  font-size: 3.4rem;
  font-family: "Sora", sans-serif;
  line-height: 1.2;
  margin-bottom: 25px;
}

.help-left p {
  font-size: 1.08rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* ==========================================
SEARCH BOX
========================================== */
.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 35px;
}

.search-box i {
  padding-left: 25px;
  color: #4f46e5;
  font-size: 1.1rem;
}

.search-box input {
  flex: 1;
  padding: 20px;
  border: none;
  outline: none;
  font-size: 1rem;
}

.search-box input::placeholder {
  color: #999;
}

.search-box button {
  padding: 20px 35px;
  border: none;
  background: #4f46e5;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.search-box button:hover {
  background: #3730a3;
}

/* ==========================================
POPULAR SEARCHES
========================================== */
.popular-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.popular-searches span {
  font-weight: 700;
}

.popular-searches a {
  padding: 8px 18px;
  background: #eef2ff;
  border-radius: 50px;
  color: #4f46e5;
  font-size: 0.92rem;
  font-weight: 600;
  transition: 0.3s;
}

.popular-searches a:hover {
  background: #4f46e5;
  color: #fff;
}

/* ==========================================
IMAGE
========================================== */
.help-right {
  display: flex;
  justify-content: center;
}

.help-right img {
  width: 100%;
  max-width: 520px;
}

/* ==========================================
SECTION TITLE
========================================== */
.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title span {
  display: inline-block;
  background: #eef2ff;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  color: #4f46e5;
  margin-bottom: 20px;
}

.section-title h2 {
  font-size: 2.7rem;
  font-family: "Sora", sans-serif;
  margin-bottom: 18px;
}

.section-title p {
  color: #666;
  max-width: 700px;
  margin: auto;
  line-height: 1.8;
}

/* ==========================================
HELP CATEGORIES
========================================== */
.help-categories {
  padding: 90px 0;
  background: #f8fafc;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.category-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
  transition: 0.35s;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.category-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: #fff;
  font-size: 28px;
  margin-bottom: 25px;
}

.category-card h3 {
  margin-bottom: 15px;
  font-size: 1.35rem;
}

.category-card p {
  line-height: 1.8;
  color: #666;
  margin-bottom: 25px;
}

.category-card a {
  font-weight: 700;
  color: #4f46e5;
  transition: 0.3s;
}

.category-card a:hover {
  color: #3730a3;
  text-decoration: underline;
}

/* ==========================================
SUPPORT SECTION
========================================== */
.featured-support {
  padding: 90px 0;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.support-card {
  background: #fff;
  border-radius: 20px;
  padding: 45px 35px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transition: 0.35s;
}

.support-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.support-card i {
  font-size: 45px;
  color: #4f46e5;
  margin-bottom: 25px;
}

.support-card h3 {
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.support-card p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 35px;
}

.support-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.support-card.featured {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: #fff;
}

.support-card.featured i,
.support-card.featured p {
  color: #fff;
}

.support-card.featured .support-btn {
  background: #fff;
  color: #4f46e5;
}

.support-card.featured .support-btn:hover {
  background: #eef2ff;
}

/* ==========================================
KNOWLEDGE BASE
========================================== */
.knowledge-base {
  padding: 100px 0;
  background: #f8fafc;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.article-card {
  background: #fff;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
  transition: 0.35s;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.article-tag {
  display: inline-block;
  padding: 8px 16px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 20px;
}

.article-card h3 {
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 18px;
  color: #222;
}

.article-card p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.article-footer span {
  color: #888;
  font-size: 0.9rem;
}

.article-footer a {
  font-weight: 700;
  color: #4f46e5;
  transition: 0.3s;
}

.article-footer a:hover {
  color: #3730a3;
  text-decoration: underline;
}

.article-footer i {
  margin-right: 6px;
}

/* ==========================================
FAQ SECTION
========================================== */
.faq-section {
  padding: 100px 0;
  background: #ffffff;
}

.faq-wrapper {
  max-width: 900px;
  margin: auto;
}

.faq-wrapper details {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.faq-wrapper details:hover {
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.08);
}

.faq-wrapper summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  position: relative;
  padding-right: 70px;
}

.faq-wrapper summary::-webkit-details-marker {
  display: none;
}

.faq-wrapper summary::after {
  content: "+";
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  font-weight: 300;
  color: #4f46e5;
  transition: 0.3s;
}

.faq-wrapper details[open] summary::after {
  content: "−";
}

.faq-wrapper details p {
  padding: 0 30px 25px;
  line-height: 1.9;
  color: #666;
  font-size: 1rem;
}

/* ==========================================
CONTACT SUPPORT
========================================== */
.support-cta {
  padding: 110px 0;
  background: linear-gradient(135deg, #eef4ff, #f8faff);
}

.support-wrapper {
  text-align: center;
}

.support-content {
  max-width: 760px;
  margin: auto auto 70px;
}

.support-content h2 {
  font-size: 2.8rem;
  font-family: "Sora", sans-serif;
  margin: 18px 0;
  color: #111827;
}

.support-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #6b7280;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.contact-card {
  background: #fff;
  padding: 45px 35px;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
  transition: 0.35s;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: #fff;
  font-size: 30px;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.contact-card p {
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

.contact-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 10px;
  background: #4f46e5;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.contact-btn:hover {
  background: #3730a3;
  transform: translateY(-2px);
}

.contact-card.featured {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: #fff;
}

.contact-card.featured p {
  color: rgba(255, 255, 255, 0.85);
}

.contact-card.featured .contact-icon {
  background: #fff;
  color: #4f46e5;
}

.contact-card.featured .contact-btn {
  background: #fff;
  color: #4f46e5;
}

.contact-card.featured .contact-btn:hover {
  background: #eef2ff;
}

/* ==========================================
RESPONSIVE - TABLETS
========================================== */
@media (max-width: 992px) {
  .help-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .help-left {
    text-align: center;
  }

  .search-box {
    flex-direction: column;
  }

  .search-box i {
    display: none;
  }

  .search-box input {
    width: 100%;
    padding: 18px;
    border-radius: 12px 12px 0 0;
  }

  .search-box button {
    width: 100%;
    border-radius: 0 0 12px 12px;
  }

  .popular-searches {
    justify-content: center;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .support-content h2 {
    font-size: 2.2rem;
  }
}

/* ==========================================
RESPONSIVE - MOBILE
========================================== */
@media (max-width: 768px) {
  .help-hero {
    padding: 60px 16px;
  }

  .help-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .help-left h1 {
    font-size: 28px;
  }

  .help-left p {
    font-size: 15px;
  }

  .search-box input {
    padding: 14px;
    font-size: 15px;
  }

  .search-box button {
    padding: 14px;
    font-size: 15px;
  }

  .popular-searches {
    gap: 10px;
  }

  .popular-searches a {
    padding: 6px 14px;
    font-size: 13px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 15px;
  }

  .help-categories {
    padding: 60px 16px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-card {
    padding: 28px 24px;
  }

  .category-card h3 {
    font-size: 20px;
  }

  .category-card p {
    font-size: 14px;
  }

  .featured-support {
    padding: 60px 16px;
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .support-card {
    padding: 30px 24px;
  }

  .support-card i {
    font-size: 36px;
  }

  .support-card h3 {
    font-size: 22px;
  }

  .support-card p {
    font-size: 14px;
  }

  .support-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .knowledge-base {
    padding: 60px 16px;
  }

  .article-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .article-card {
    padding: 24px 20px;
  }

  .article-card h3 {
    font-size: 20px;
  }

  .article-card p {
    font-size: 14px;
  }

  .article-footer {
    font-size: 13px;
  }

  .faq-section {
    padding: 60px 16px;
  }

  .faq-wrapper summary {
    font-size: 15px;
    padding: 16px 18px;
    padding-right: 50px;
  }

  .faq-wrapper summary::after {
    font-size: 1.4rem;
    right: 18px;
  }

  .faq-wrapper details p {
    padding: 0 18px 18px;
    font-size: 14px;
  }

  .support-cta {
    padding: 60px 16px;
  }

  .support-content h2 {
    font-size: 28px;
  }

  .support-content p {
    font-size: 15px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-card {
    padding: 30px 24px;
  }

  .contact-card h3 {
    font-size: 22px;
  }

  .contact-card p {
    font-size: 14px;
  }

  .contact-icon {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }

  .contact-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .help-right img {
    max-width: 100%;
  }

  .section-title {
    margin-bottom: 40px;
  }
}

/* ==========================================
RESPONSIVE - SMALL PHONES
========================================== */
@media (max-width: 480px) {
  .help-left h1 {
    font-size: 24px;
  }

  .help-left p {
    font-size: 14px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .section-title p {
    font-size: 14px;
  }

  .support-content h2 {
    font-size: 24px;
  }

  .support-content p {
    font-size: 14px;
  }

  .category-card {
    padding: 20px 16px;
  }

  .category-icon {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  .contact-card {
    padding: 24px 18px;
  }

  .contact-icon {
    width: 56px;
    height: 56px;
    font-size: 20px;
    margin-bottom: 20px;
  }

  .faq-wrapper summary {
    font-size: 14px;
    padding: 14px 16px;
    padding-right: 45px;
  }

  .article-card h3 {
    font-size: 18px;
  }
}
