:root {
  --orange: #e8973a;
  --orange-hover: #d4851f;
  --dark-bg: #2c3e50;
  --dark-footer: #1e2d3d;
  --text-dark: #333;
  --text-light: #666;
  --text-white: #fff;
  --border-light: #eee;
  --bg-light: #f8f9fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* HEADER */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-inner {
  width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo-img {
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--orange);
}


.btn-cta {
  background: var(--orange);
  color: var(--text-white) !important;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}

.btn-cta:hover {
  background: var(--orange-hover);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}


/* ARTICLE PAGE */
.article-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.article-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 30px;
}

.article-page .back-link:hover {
  color: var(--orange-hover);
}

.article-header {
  margin-bottom: 30px;
}

.article-header .category-tag {
  display: inline-block;
  background: var(--orange);
  color: var(--text-white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.article-header h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.article-header .article-meta {
  color: var(--text-light);
  font-size: 14px;
}

.article-header .article-meta .date {
  color: var(--orange);
  font-weight: 600;
}

.article-featured-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 30px;
  max-height: 400px;
  object-fit: cover;
}

.article-content h2 {
  font-size: 24px;
  margin: 30px 0 15px;
  color: var(--text-dark);
}

.article-content h3 {
  font-size: 20px;
  margin: 25px 0 12px;
  color: var(--text-dark);
}

.article-content p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

.article-content ul, .article-content ol {
  margin: 16px 0;
  padding-left: 30px;
}

.article-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.article-content a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(232, 151, 58, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}

.article-content a:hover {
  text-decoration-color: var(--orange);
}

/* FOOTER */
.footer {
  background: var(--dark-bg);
  color: var(--text-white);
  padding: 60px 20px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .footer-logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-brand .footer-logo .logo-o {
  color: var(--orange);
}

.footer-brand p {
  opacity: 0.7;
  font-size: 14px;
}

.footer-links h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  opacity: 0.7;
  font-size: 14px;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--orange);
}

.footer-social h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  font-size: 16px;
}

.social-icons a:hover {
  background: var(--orange);
}

.made-in {
  font-size: 14px;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  text-align: center;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.6;
}

/* FAQ */
.faq-hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #34495e 100%);
  color: var(--text-white);
  padding: 60px 20px;
  text-align: center;
}

.faq-hero h1 {
  font-size: 42px;
  margin-bottom: 24px;
}

.faq-search-box {
  max-width: 600px;
  margin: 0 auto;
}

.faq-search-input {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  outline: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.faq-search-input:focus {
  box-shadow: 0 4px 16px rgba(232, 151, 58, 0.3);
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.faq-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.faq-category-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}

.faq-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.faq-category-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.faq-category-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.faq-category-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.5;
}

.faq-category-count {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.faq-category-header {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #34495e 100%);
  color: var(--text-white);
  padding: 50px 20px;
  text-align: center;
}

.faq-category-header h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.faq-category-header .breadcrumb {
  font-size: 14px;
  opacity: 0.7;
}

.faq-category-header .breadcrumb a {
  color: var(--text-white);
  text-decoration: underline;
}

.faq-articles-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.faq-article-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  transition: transform 0.15s, box-shadow 0.15s, color 0.15s;
}

.faq-article-link:hover {
  transform: translateX(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  color: var(--orange);
}

.faq-article-link::after {
  content: '→';
  float: right;
  color: var(--orange);
}

.faq-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 24px;
}

.faq-back-link:hover {
  color: var(--orange-hover);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
  }

  .article-header h1 {
    font-size: 26px;
  }

  .faq-categories {
    grid-template-columns: 1fr;
  }

  .faq-hero h1 {
    font-size: 28px;
  }

  .faq-articles-list {
    padding: 0 10px;
  }
}

/* SEARCH RESULTS */
.faq-search-results {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  font-size: 18px;
}

.faq-no-results p {
  margin-bottom: 10px;
}

.search-category-tag {
  background: var(--bg-light);
  color: var(--text-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  white-space: nowrap;
}

/* CTA CONTACT */
.faq-contact-cta {
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
  border-top: 1px solid var(--border-light);
}

.faq-contact-cta p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.faq-contact-cta .btn-cta {
  display: inline-block;
  background: var(--orange);
  color: var(--text-white);
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s;
}

.faq-contact-cta .btn-cta:hover {
  background: var(--orange-hover);
}

/* PAGE 404 */
.page-404 {
  text-align: center;
  padding: 100px 20px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-404 h1 {
  font-size: 120px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
}

.page-404 h2 {
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.page-404 p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 500px;
}

.page-404 .btn-cta {
  display: inline-block;
  background: var(--orange);
  color: var(--text-white);
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s;
  margin: 0 8px;
}

.page-404 .btn-cta:hover {
  background: var(--orange-hover);
}

.page-404 .btn-secondary {
  display: inline-block;
  border: 2px solid var(--orange);
  color: var(--orange);
  padding: 12px 34px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s;
  margin: 0 8px;
}

.page-404 .btn-secondary:hover {
  background: var(--orange);
  color: var(--text-white);
}
