*::-webkit-scrollbar {
  display: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

:root {
  --primary-color: var(--color-primary, #4f539c);
  --secondary-color: var(--color-secondary, #e45858);
  --primary-light: var(--color-accent, #f0eefc);
  --bg-light: var(--bg-abu, #f8f9fa);
  --bg-white: var(--color-white, #ffffff);
  --text-dark: var(--color-primary, #212529);
  --text-light: var(--color-text-secondary, #6c757d);
  --border-color: var(--color-surface, #e9ecef);
  --shadow: var(--shadow-light, 0 4px 12px rgba(0, 0, 0, 0.05));
  --shadow-medium: var(--shadow-medium, 0 8px 20px rgba(0, 0, 0, 0.07));
}

.support-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  padding: 11rem 1rem 6rem 1rem;
  color: var(--bg-white);
}

.support-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.support-hero p {
  font-size: 1.6rem;
  color: var(--bg-white);
  opacity: 0.9;
  max-width: 600px;
  line-height: 1.6;
}

#support-main {
  padding: 3rem 0;
  background-color: var(--bg-light);
}

.support-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.support-content {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  order: 1;
}

.support-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.support-content .updated-date {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  display: block;
}

.text-content {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.text-content p {
  margin-bottom: 1.25rem;
}

.text-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.text-content ul,
.text-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.text-content li {
  margin-bottom: 0.5rem;
}

.text-content strong,
.text-content b {
  font-weight: 600;
  color: var(--text-dark);
}

.text-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.text-content a:hover {
  text-decoration: underline;
}

.support-sidebar {
  order: 2;
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-nav {
  list-style: none;
  display: flex;
  overflow-x: auto;
  gap: 0.75rem;
  padding-bottom: 1rem;
}

.sidebar-nav li {
  flex-shrink: 0;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.sidebar-nav li a:hover {
  color: var(--primary-color);
  border-color: var(--primary-light);
  background-color: var(--primary-light);
}

.sidebar-nav li a.active {
  color: var(--bg-white);
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.sidebar-nav li a i {
  font-size: 1rem;
  transition: color 0.3s ease;
}

.sidebar-nav li a.active i {
  color: var(--bg-white);
}

.faq-item {
  background: var(--bg-white);
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
}

.faq-question h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.faq-question i {
  font-size: 1.1rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-answer {
  display: none;
  padding: 1.25rem 1.5rem 1.5rem 1.5rem;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  border-top: 1px solid var(--border-color);
}

.faq-item.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-medium);
}

.faq-item.active .faq-question h4 {
  color: var(--primary-color);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.contact-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-card p,
.contact-card a {
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  word-break: break-all;
}

.contact-card a:hover {
  color: var(--primary-color);
}

@media (min-width: 1025px) {
  .support-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .support-content {
    width: 70%;
  }

  .support-sidebar {
    width: 30%;
  }

  .sidebar-nav {
    flex-direction: column;
    gap: 1rem;
    overflow: visible;
  }

  .sidebar-nav li a {
    width: 100%;
  }
}

@media (min-width: 1366px) {
  .support-content h2 {
    font-size: 2rem;
  }

  .text-content {
    font-size: 1.05rem;
  }

  .support-hero h1 {
    font-size: 3.2rem;
  }
}

@media (min-width: 1536px) {
  .inner-width {
    max-width: 1250px;
    margin: auto;
  }

  .support-content {
    padding: 2rem;
  }
}

@media (min-width: 1920px) {
  .inner-width {
    max-width: 1400px;
  }

  .support-hero h1 {
    font-size: 3.5rem;
  }

  .support-hero p {
    font-size: 1.8rem;
  }

  .text-content {
    font-size: 1.15rem;
    line-height: 1.85;
  }
}

@media (max-width: 1024px) {
  .support-layout {
    flex-direction: column;
  }

  .sidebar-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
}

@media (max-width: 820px) {
  .support-hero {
    padding: 8rem 1rem 4rem 1rem;
  }

  .support-hero h1 {
    font-size: 2.2rem;
  }

  .support-content {
    padding: 1.25rem;
  }

  .sidebar-nav li a {
    font-size: 0.85rem;
    padding: 0.65rem 0.9rem;
  }

  .faq-question h4 {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .support-hero {
    padding: 7rem 1rem 3.5rem 1rem;
  }

  .support-hero h1 {
    font-size: 1.8rem;
  }

  .support-hero p {
    font-size: 1.2rem;
  }

  .support-content h2 {
    font-size: 1.4rem;
  }

  .text-content {
    font-size: 0.92rem;
  }

  .text-content h3 {
    font-size: 1.2rem;
  }

  .sidebar-nav {
    gap: 0.5rem;
  }

  .sidebar-nav li a {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }

  .faq-question h4 {
    font-size: 0.95rem;
  }

  .faq-answer {
    font-size: 0.9rem;
  }

  footer .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
}

@media (max-width: 393px) {
  .support-hero h1 {
    font-size: 1.65rem;
  }

  .text-content {
    font-size: 0.88rem;
  }

  .sidebar-nav li a {
    font-size: 0.78rem;
  }
}

@media (max-width: 360px) {
  .support-hero h1 {
    font-size: 1.5rem;
  }

  .support-hero p {
    font-size: 1.05rem;
  }

  .text-content {
    font-size: 0.85rem;
  }
}
