/* ============================================================
       GLOBAL STYLES & VARIABLES
============================================================ */
:root {
  --color-gray-900: #0a0a0a;
  --color-gray-800: #1a1a1a;
  --color-gray-700: #2d2d2d;
  --color-gray-100: #f5f5f5;
  --color-primary: #DAA520;
  --color-primary-dark: #B8860B;
  --color-primary-light: #FFD700;
  --card-radius: 1rem;
  --transition-base: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
       TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, .hero__title, .card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-eyebrow {
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #111;
}

.section-header p {
  font-size: 1.125rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
       BUTTONS
============================================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-base);
  cursor: pointer;
  border: none;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  box-shadow: 0 4px 12px rgba(218, 165, 32, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(218, 165, 32, 0.35);
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary-dark);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  transition: var(--transition-base);
  display: inline-block;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

/* ============================================================
       HERO SECTION
============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a0a2e 0%, #16213e 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================================
       BREADCRUMB
============================================================ */
.breadcrumb {
  padding: 1.5rem 0;
  color: #6B7B7F;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ============================================================
       SECTIONS
============================================================ */
.section {
  padding: 5rem 0;
}

.section--alt {
  background-color: var(--color-gray-100);
}

/* ============================================================
       SEARCH BAR
============================================================ */
.search-bar {
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.search-bar input {
  width: 100%;
  padding: 0.85rem 1.5rem;
  border: 1px solid #ddd;
  border-radius: 2rem;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-base);
}

.search-bar input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(218, 165, 32, 0.1);
}

/* ============================================================
       CATEGORY TABS
============================================================ */
.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.category-tab {
  background: transparent;
  border: 1px solid var(--color-primary);
  padding: 0.6rem 1.25rem;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  cursor: pointer;
  border-radius: 2rem;
  transition: var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.category-tab:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-gray-900);
}

.category-tab.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* ============================================================
       STATS SECTION
============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--card-radius);
  border: 1px solid #eee;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: 'Montserrat', sans-serif;
}

.stat-label {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.5rem;
}

/* ============================================================
       FAQ GRID
============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 1rem;
}

/* ============================================================
       FAQ ITEM
============================================================ */
.faq-item {
  background: white;
  border-radius: var(--card-radius);
  border: 1px solid #eee;
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item:hover {
  border-color: var(--color-primary-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: white;
  transition: var(--transition-base);
  font-weight: 600;
  color: #111;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
}

.faq-question:hover {
  background: var(--color-gray-100);
}

.faq-icon {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: transform 0.3s ease;
  min-width: 24px;
  text-align: center;
}

/* FAQ Answer - Hidden by default */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  background: var(--color-gray-100);
  border-top: 1px solid transparent;
}

/* FAQ Answer - Visible when active */
.faq-answer.active {
  max-height: 500px;
  border-top-color: #eee;
}

.faq-answer p {
  padding: 1.25rem 1.5rem;
  margin: 0;
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-answer a {
  color: var(--color-primary);
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* ============================================================
       PAGINATION
============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #555;
  transition: var(--transition-base);
  cursor: pointer;
}

.pagination a:hover,
.pagination span:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.pagination .active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* ============================================================
       KNOWLEDGE BASE SECTION
============================================================ */
.kb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.kb-card {
  background: white;
  border-radius: var(--card-radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid #eee;
  transition: var(--transition-base);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.kb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary-light);
}

.kb-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.kb-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: var(--color-gray-900);
}

.kb-card p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Link styling - Light Dark Golden */
.kb-card .card__link {
  display: inline-block;
  color: #D4AF37;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

/* Hover effect */
.kb-card .card__link:hover {
  color: #B8860B;
  text-decoration: underline;
  transform: translateX(4px);
}

/* ============================================================
       CONTACT SUPPORT BOX - SAME GOLD GRADIENT AS OTHER BANNERS
============================================================ */
.support-box {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  color: white;
  margin-top: 2rem;
}

.support-box h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.support-box p {
  margin-bottom: 1.5rem;
  opacity: 0.95;
  color: white;
}

.support-box .btn-primary {
  background: white;
  color: var(--color-primary-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.support-box .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ============================================================
       TEXT UTILITIES
============================================================ */
.gold-text {
  color: #b8860b !important;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ============================================================
       ANIMATIONS
============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
       HEADER SECTION
============================================================ */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.5rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* ============================================================
       SITE LOGO - HEADER (TOP LEFT CORNER)
============================================================ */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__image {
  height: 90px;
  width: auto;
  max-width: 100%;
  display: block;
}

/* ============================================================
       NAVIGATION - UPPERCASE, DARK TEXT (HORIZONTAL)
============================================================ */
.nav-list-desktop ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
}

.nav-list-desktop a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111111;
  transition: var(--transition-base);
  white-space: nowrap;
}

.nav-list-desktop a:hover {
  color: var(--color-primary);
}

.nav-list-desktop a.active-link {
  color: var(--color-primary);
}

.nav-list-desktop .btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  text-transform: uppercase;
  padding: 0.5rem 1.5rem;
}

.nav-list-desktop .btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  transform: translateY(-2px);
}

/* ============================================================
       FOOTER SECTION
============================================================ */
.site-footer {
  background: var(--color-gray-900);
  color: #aaa;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.footer-logo__image {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.footer-brand p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-heading {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: var(--transition-base);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-bottom__links a {
  color: #aaa;
  text-decoration: none;
  transition: var(--transition-base);
}

.footer-bottom__links a:hover {
  color: var(--color-primary);
}

.separator {
  color: #555;
}

.footer-bottom__copyright {
  opacity: 0.7;
}

/* ============================================================
       RESPONSIVE STYLES
============================================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .kb-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-logo__image {
    height: 50px;
  }

  .footer-brand {
    align-items: center;
  }

  .nav-list-desktop ul {
    gap: 1rem;
  }

  .nav-list-desktop a {
    font-size: 0.7rem;
  }

  .support-box {
    padding: 2rem 1.5rem;
  }

  .support-box h3 {
    font-size: 1.5rem;
  }

  .footer-bottom__links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .separator {
    display: none;
  }

  .category-tab {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-question span:first-child {
    font-size: 0.9rem;
  }
}

/* ============================================================
       EXTRA SMALL DEVICES (480px AND BELOW)
============================================================ */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .category-tab {
    padding: 0.35rem 0.8rem;
    font-size: 0.7rem;
  }

  .faq-question {
    padding: 0.875rem;
  }

  .faq-question span:first-child {
    font-size: 0.85rem;
  }

  .faq-icon {
    font-size: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .kb-card h3 {
    font-size: 1.1rem;
  }

  .support-box h3 {
    font-size: 1.25rem;
  }

  .support-box {
    padding: 1.5rem;
  }

  .gold-text {
    font-size: 15px;
  }
}

/* ============================================================
       TABLET LANDSCAPE (992px AND BELOW)
============================================================ */
@media (max-width: 992px) {
  .faq-grid {
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  }
}

/* ============================================================
       DESKTOP LARGE (1400px AND ABOVE)
============================================================ */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .section-header h2 {
    font-size: 3rem;
  }

  .stat-number {
    font-size: 3rem;
  }
}

/* ============================================================
       PRINT STYLES
============================================================ */
@media print {
  .site-header,
  .nav-list-desktop,
  .btn,
  .site-footer,
  .support-box,
  .category-tabs,
  .search-bar,
  .pagination {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .faq-item {
    break-inside: avoid;
    border: 1px solid #ddd;
  }

  .faq-answer {
    max-height: none !important;
    display: block !important;
    padding: 1rem !important;
    background: #f5f5f5;
  }

  .faq-icon {
    display: none;
  }

  .stat-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}