/*
Theme Name: InnerMedia Support Base
Theme URI: https://innermedia.co.uk
Author: InnerMedia
Author URI: https://innermedia.co.uk
Description: Knowledge Base theme for InnerMedia Support Base. Features Three.js 3D background, step-by-step and informational article templates, ACF-powered content management.
Version: 1.0.7
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
License URI: https://innermedia.co.uk
Text Domain: im-kb
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --dark-teal: #121D21;
  --dark-teal-light: #1a2a30;
  --orange: #FF7E16;
  --orange-hover: #ff9640;
  --light-teal: #A7CBCE;
  --cream: #E5E4D4;
  --orange-glow: rgba(255, 126, 22, 0.15);
  --card-bg: rgba(167, 203, 206, 0.04);
  --card-border: rgba(167, 203, 206, 0.08);
  --subtle-text: rgba(167, 203, 206, 0.5);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-teal);
  color: var(--cream);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ============================================================
   THREE.JS CANVAS & PAGE WRAPPER
   ============================================================ */
#three-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.page-content {
  position: relative; z-index: 1;
}

/* ============================================================
   STICKY HEADER
   ============================================================ */
.sticky-top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 29, 33, 0.92);
  
  -webkit-
  border-bottom: 1px solid rgba(167, 203, 206, 0.08);
}
.header {
  padding: 24px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-left { display: flex; align-items: center; gap: 20px; }
.logo {
  font-weight: 800; font-size: 20px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--cream);
}
.logo span { color: var(--orange); }
.logo-divider {
  width: 1px; height: 28px;
  background: rgba(167, 203, 206, 0.15);
}
.logo-sub {
  font-size: 13px; font-weight: 300;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--light-teal);
}
.contact-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px;
  background: var(--orange); color: var(--dark-teal);
  border: none; border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1.5px;
  cursor: pointer; transition: all 0.3s ease;
}
.contact-btn:hover {
  background: var(--orange-hover);
  box-shadow: 0 4px 20px rgba(255, 126, 22, 0.3);
}
.contact-btn svg { width: 16px; height: 16px; }

/* Back button bar */
.back-btn-wrap {
  max-width: 1000px; margin: 0 auto;
  padding: 12px 40px;
  display: flex; align-items: center;
  justify-content: space-between;
}
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 400;
  color: var(--light-teal); transition: color 0.2s;
}
.back-btn:hover { color: var(--orange); }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--subtle-text);
}
.breadcrumb a { color: var(--light-teal); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb-sep { opacity: 0.4; }

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */
.hero {
  max-width: 800px; margin: 0 auto;
  padding: 80px 40px 40px; text-align: center;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px;
  background: rgba(255, 126, 22, 0.08);
  border: 1px solid rgba(255, 126, 22, 0.15);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--orange); margin-bottom: 32px;
}
.hero h1 {
  font-size: 48px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
  line-height: 1.1; margin-bottom: 16px;
}
.hero h1 .highlight { color: var(--orange); }
.hero p {
  font-size: 16px; font-weight: 300;
  color: var(--light-teal); max-width: 500px;
  margin: 0 auto 40px;
}

/* Search */
.search-container { position: relative; max-width: 580px; margin: 0 auto; z-index: 60; }
.search-input {
  width: 100%; padding: 18px 24px 18px 56px;
  background: #162428;
  border: 1px solid rgba(167, 203, 206, 0.15);
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 300;
  color: var(--cream); outline: none;
  transition: all 0.3s ease;
}
.search-input::placeholder { color: rgba(167, 203, 206, 0.35); }
.search-input:focus {
  border-color: rgba(255, 126, 22, 0.4);
  background: #1a2e33;
  box-shadow: 0 0 30px rgba(255, 126, 22, 0.12);
}
.search-icon {
  position: absolute; left: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--light-teal); opacity: 0.5;
  pointer-events: none;
}
.search-results {
  position: absolute; top: calc(100% + 8px);
  left: 0; right: 0;
  background: #121D21;
  border: 1px solid rgba(167, 203, 206, 0.12);
  border-radius: 12px;
  max-height: 360px; overflow-y: auto;
  display: none; z-index: 50;
  
}
.search-results.active { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(167, 203, 206, 0.06);
  cursor: pointer; transition: all 0.2s ease;
}
.search-result-item:hover {
  background: rgba(255, 126, 22, 0.06);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: #1f2a2e;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.search-result-title {
  font-size: 14px; font-weight: 500; color: var(--cream);
}
.search-result-cat {
  font-size: 11px; font-weight: 300; color: var(--subtle-text);
}
.search-no-results {
  padding: 20px; text-align: center;
  font-size: 13px; color: var(--subtle-text);
}

/* ============================================================
   HOMEPAGE — STATS
   ============================================================ */
.stats-bar {
  max-width: 700px; margin: 0 auto;
  padding: 24px 40px;
  display: flex; justify-content: center; gap: 48px;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 32px; font-weight: 700;
  color: var(--orange);
}
.stat-label {
  font-size: 11px; font-weight: 400;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--subtle-text);
}

/* ============================================================
   HOMEPAGE — CATEGORY GRID
   ============================================================ */
.section-header {
  max-width: 1000px; margin: 0 auto;
  padding: 60px 40px 24px;
}
.section-header h2 {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--light-teal);
}
.category-grid {
  max-width: 1000px; margin: 0 auto;
  padding: 0 40px 60px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.category-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px;
  cursor: pointer; transition: all 0.3s ease;
  display: block;
}
.category-card:hover {
  background: #1a2e33;
  border-color: rgba(255, 126, 22, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.category-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #1f2a2e;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
  transition: all 0.3s ease;
}
.category-card:hover .category-card-icon {
  background: rgba(255, 126, 22, 0.15);
}
.category-card-title {
  font-size: 15px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 6px;
  transition: color 0.3s;
}
.category-card:hover .category-card-title { color: var(--orange); }
.category-card-count {
  font-size: 12px; font-weight: 300;
  color: var(--subtle-text);
}

/* ============================================================
   HOMEPAGE — POPULAR ARTICLES
   ============================================================ */
.popular-grid {
  max-width: 1000px; margin: 0 auto;
  padding: 0 40px 60px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}
.popular-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  cursor: pointer; transition: all 0.3s ease;
}
.popular-card:hover {
  background: #1a2e33;
  border-color: rgba(255, 126, 22, 0.2);
  transform: translateX(6px);
}
.popular-card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: #1f2a2e;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.popular-card-title {
  font-size: 14px; font-weight: 500;
  transition: color 0.3s;
}
.popular-card:hover .popular-card-title { color: var(--orange); }
.popular-card-cat {
  font-size: 11px; font-weight: 300; color: var(--subtle-text);
}
.popular-card-arrow {
  margin-left: auto; color: var(--subtle-text);
  transition: all 0.3s;
}
.popular-card:hover .popular-card-arrow {
  color: var(--orange); transform: translateX(4px);
}

/* ============================================================
   HOMEPAGE — HELP BANNER
   ============================================================ */
.help-banner {
  max-width: 1000px; margin: 0 auto;
  padding: 0 40px 60px;
}
.help-banner-inner {
  background: linear-gradient(135deg, rgba(255, 126, 22, 0.08), rgba(167, 203, 206, 0.04));
  border: 1px solid rgba(255, 126, 22, 0.15);
  border-radius: 20px;
  padding: 40px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.help-banner h3 {
  font-size: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 8px;
}
.help-banner p {
  font-size: 14px; font-weight: 300;
  color: var(--light-teal);
}

/* ============================================================
   CATEGORY PAGE — ARTICLE LIST
   ============================================================ */
.cat-hero {
  max-width: 1000px; margin: 0 auto;
  padding: 40px 40px 30px;
  display: flex; align-items: center; gap: 24px;
}
.cat-hero-icon {
  width: 72px; height: 72px; border-radius: 16px;
  background: #1f2a2e;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; flex-shrink: 0;
}
.cat-hero h1 {
  font-size: 32px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  line-height: 1.2;
}
.cat-hero-meta {
  font-size: 14px; font-weight: 300;
  color: var(--light-teal); margin-top: 6px;
}
.cat-hero-meta strong { color: var(--orange); font-weight: 600; }

.cat-search {
  max-width: 1000px; margin: 0 auto;
  padding: 0 40px 30px;
}
.cat-search input {
  width: 100%; padding: 14px 20px 14px 48px;
  background: rgba(167, 203, 206, 0.06);
  border: 1px solid rgba(167, 203, 206, 0.1);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 300;
  color: var(--cream); outline: none;
  transition: all 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23A7CBCE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px center;
}
.cat-search input::placeholder { color: rgba(167, 203, 206, 0.35); }
.cat-search input:focus {
  border-color: rgba(255, 126, 22, 0.3);
  background-color: rgba(167, 203, 206, 0.08);
}

.article-list {
  max-width: 1000px; margin: 0 auto;
  padding: 0 40px 60px;
}
.article-list-item {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer; transition: all 0.3s ease;
}
.article-list-item:hover {
  background: #1a2e33;
  border-color: rgba(255, 126, 22, 0.2);
  transform: translateX(6px);
}
.article-list-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: #1f2a2e;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.3s ease;
}
.article-list-item:hover .article-list-icon { background: rgba(255, 126, 22, 0.15); }
.article-type-badge { font-size: 16px; }
.article-list-content { flex: 1; min-width: 0; }
.article-list-title {
  font-size: 15px; font-weight: 500; color: var(--cream);
  transition: color 0.3s; margin-bottom: 4px;
}
.article-list-item:hover .article-list-title { color: var(--orange); }
.article-list-desc {
  font-size: 12px; font-weight: 300; color: var(--subtle-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.article-list-meta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.article-list-type {
  padding: 4px 10px; border-radius: 6px;
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
}
.type-howto { background: rgba(255, 126, 22, 0.1); color: var(--orange); }
.type-info { background: rgba(167, 203, 206, 0.1); color: var(--light-teal); }
.type-troubleshoot { background: rgba(255, 87, 87, 0.1); color: #ff8a8a; }
.article-list-arrow {
  color: var(--subtle-text); font-size: 18px; transition: all 0.3s;
}
.article-list-item:hover .article-list-arrow { color: var(--orange); transform: translateX(4px); }

.no-results {
  text-align: center; padding: 40px;
  color: var(--subtle-text); font-size: 14px;
  display: none;
}

/* ============================================================
   ARTICLE — COMMON
   ============================================================ */
.article-hero {
  max-width: 760px; margin: 0 auto;
  padding: 48px 40px 0; text-align: center;
}
.article-hero .category-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(255, 126, 22, 0.08);
  border: 1px solid rgba(255, 126, 22, 0.15);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--orange); margin-bottom: 20px;
}
.article-hero h1 {
  font-size: 36px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  line-height: 1.15; margin-bottom: 16px;
}
.article-hero h1 .highlight { color: var(--orange); }
.article-hero .article-meta {
  display: flex; justify-content: center; gap: 20px;
  font-size: 13px; font-weight: 300; color: var(--subtle-text);
}
.article-hero .article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-hero .article-meta svg { width: 14px; height: 14px; }

/* ============================================================
   ARTICLE — STEP-BY-STEP (WIZARD)
   ============================================================ */
.progress-section {
  max-width: 900px; margin: 0 auto;
  padding: 30px 40px 10px;
}
.progress-bar-wrap {
  width: 100%; height: 4px;
  background: rgba(167, 203, 206, 0.1);
  border-radius: 4px; overflow: hidden;
}
.progress-bar-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--orange), #ffad5c);
  border-radius: 4px; transition: width 0.5s ease;
}
.progress-text {
  text-align: center; margin-top: 10px;
  font-size: 12px; font-weight: 500; color: var(--subtle-text);
  text-transform: uppercase; letter-spacing: 1.5px;
}

/* Steps container */
.steps-container {
  max-width: 900px; margin: 20px auto;
  padding: 0 40px;
}

/* Step dot navigation */
.step-dots {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 24px;
}
.step-dot {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid rgba(167, 203, 206, 0.15);
  background: transparent; color: var(--subtle-text);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: all 0.3s ease; font-family: 'Inter', sans-serif;
}
.step-dot:hover { border-color: rgba(255, 126, 22, 0.4); color: var(--orange); }
.step-dot.active {
  background: var(--orange); border-color: var(--orange);
  color: var(--dark-teal); transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 126, 22, 0.3);
}
.step-dot.completed {
  background: var(--light-teal); border-color: var(--light-teal);
  color: var(--dark-teal);
}
.step-dot-line {
  width: 24px; height: 2px;
  background: rgba(167, 203, 206, 0.1);
  border-radius: 2px;
}
.step-dot-line.completed { background: var(--light-teal); }

/* Step card — hidden by default, shown when active */
.step-card {
  background: #162428;
  border: 1px solid rgba(255, 126, 22, 0.3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 50px var(--orange-glow);
  display: none;
}
.step-card.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.step-card.active { animation: fadeIn 0.3s ease forwards; }

.step-header {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 24px;
}
.step-number {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--orange); color: var(--dark-teal);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px; flex-shrink: 0;
}
.step-title {
  font-weight: 600; font-size: 16px; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--orange); flex: 1;
}

.step-body {
  padding: 0 24px 24px 84px;
}
.step-description {
  font-weight: 300; font-size: 15px; line-height: 1.7;
  color: var(--cream); margin-bottom: 18px;
}
.step-description strong { color: var(--orange); font-weight: 500; }

.step-image-wrap {
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(167, 203, 206, 0.12);
  background: #111c1f;
}
.step-image {
  display: block; width: 100%; height: auto;
}

.step-visual {
  background: #111c1f;
  border: 1px solid rgba(167, 203, 206, 0.1);
  border-radius: 10px; padding: 20px; margin-bottom: 18px;
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(167, 203, 206, 0.06);
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-dot.red { background: #ff5f57; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green { background: #28c940; }
.browser-url {
  flex: 1; background: rgba(167, 203, 206, 0.05);
  border-radius: 6px; padding: 5px 14px;
  font-size: 12px; color: var(--light-teal);
  font-family: 'Inter', monospace; margin-left: 10px;
}
.visual-content { font-size: 13px; color: var(--light-teal); line-height: 1.8; }

.tip-box {
  background: #1a2e33;
  border-left: 3px solid var(--orange);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px; margin-top: 14px;
  font-size: 13px; font-weight: 300; color: var(--cream);
}
.tip-box .tip-label {
  font-weight: 600; color: var(--orange);
  text-transform: uppercase; letter-spacing: 1px;
  font-size: 11px; margin-bottom: 4px;
}
.tip-box.warning {
  background: #1f2428;
  border-left-color: #ff5757;
}
.tip-box.warning .tip-label { color: #ff8a8a; }

/* Step navigation buttons */
.step-nav { display: flex; gap: 10px; margin-top: 18px; }
.btn {
  padding: 11px 24px; border: none; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 1.5px; cursor: pointer; transition: all 0.3s;
  text-decoration: none; display: inline-flex; align-items: center;
}
.btn-primary { background: var(--orange); color: var(--dark-teal); }
.btn-primary:hover { background: var(--orange-hover); box-shadow: 0 4px 16px rgba(255,126,22,0.25); }
.btn-secondary {
  background: rgba(167, 203, 206, 0.06); color: var(--light-teal);
  border: 1px solid rgba(167, 203, 206, 0.12);
}
.btn-secondary:hover { background: rgba(167, 203, 206, 0.1); }

/* Completion card */
.completion-card {
  max-width: 900px; margin: 20px auto 40px;
  padding: 0 40px; display: none;
}
.completion-card.show { display: block; }
.completion-inner {
  background: linear-gradient(135deg, #1c2f34, #162428);
  border: 1px solid rgba(255, 126, 22, 0.25);
  border-radius: 16px; padding: 44px 40px; text-align: center;
}
.completion-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--orange); color: var(--dark-teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 0 36px rgba(255, 126, 22, 0.25);
}
.completion-inner h2 {
  font-size: 26px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 10px;
}
.completion-inner p {
  font-weight: 300; font-size: 15px; color: var(--light-teal);
  max-width: 480px; margin: 0 auto 24px;
}
.completion-actions {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}

/* ============================================================
   ARTICLE — INFORMATIONAL
   ============================================================ */
.article-body {
  max-width: 760px; margin: 0 auto;
  padding: 40px 40px 20px;
}
.article-body h2 {
  font-size: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  margin: 32px 0 12px; color: var(--cream);
}
.article-body h2:first-child { margin-top: 0; }
.article-body p {
  font-size: 14px; font-weight: 300;
  color: var(--light-teal); line-height: 1.8;
  margin-bottom: 14px;
}
.article-body p strong { font-weight: 600; color: var(--cream); }
.article-body ul, .article-body ol {
  padding-left: 20px; margin-bottom: 14px;
}
.article-body li {
  font-size: 14px; font-weight: 300;
  color: var(--light-teal); line-height: 1.8;
  margin-bottom: 6px;
}
.article-body li strong { font-weight: 600; color: var(--cream); }

.info-card, .warning-card {
  border-radius: 12px; padding: 20px 24px;
  margin: 16px 0;
}
.info-card {
  background: rgba(167, 203, 206, 0.04);
  border: 1px solid rgba(167, 203, 206, 0.1);
}
.warning-card {
  background: rgba(255, 87, 87, 0.04);
  border: 1px solid rgba(255, 87, 87, 0.12);
}
.info-card-header {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 8px;
}
.info-card .info-card-header { color: var(--light-teal); }
.warning-card .info-card-header { color: #ff8a8a; }
.info-card p, .warning-card p {
  font-size: 13px; font-weight: 300; line-height: 1.7;
}
.info-card p { color: var(--light-teal); }
.warning-card p { color: #ffaaaa; }

/* Comparison table */
.comparison-table {
  width: 100%; border-collapse: separate;
  border-spacing: 0; margin: 16px 0;
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(167, 203, 206, 0.1);
}
.comparison-table th {
  background: rgba(255, 126, 22, 0.08);
  padding: 14px 18px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  text-align: left; color: var(--orange);
  border-bottom: 1px solid rgba(167, 203, 206, 0.1);
}
.comparison-table td {
  padding: 12px 18px;
  font-size: 13px; font-weight: 300;
  color: var(--light-teal);
  border-bottom: 1px solid rgba(167, 203, 206, 0.06);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td {
  background: rgba(167, 203, 206, 0.03);
}

/* ============================================================
   ARTICLE — RELATED & HELPFUL
   ============================================================ */
.related-section {
  max-width: 760px; margin: 0 auto;
  padding: 20px 40px 40px;
}
.related-section h2 {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--light-teal); margin-bottom: 16px;
}
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.related-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  cursor: pointer; transition: all 0.3s ease;
}
.related-card:hover {
  background: #1a2e33;
  border-color: rgba(255, 126, 22, 0.2);
}
.related-card-title {
  font-size: 13px; font-weight: 500;
  transition: color 0.3s;
}
.related-card:hover .related-card-title { color: var(--orange); }
.related-card-arrow {
  color: var(--subtle-text); transition: all 0.3s;
}
.related-card:hover .related-card-arrow {
  color: var(--orange); transform: translateX(4px);
}

.helpful-section {
  max-width: 760px; margin: 0 auto;
  padding: 0 40px 40px; text-align: center;
}
.helpful-section p {
  font-size: 13px; color: var(--subtle-text); margin-bottom: 12px;
}
.helpful-btns { display: flex; justify-content: center; gap: 10px; }
.helpful-btn {
  padding: 10px 24px;
  background: rgba(167, 203, 206, 0.06);
  border: 1px solid rgba(167, 203, 206, 0.1);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; cursor: pointer; color: var(--cream);
  transition: all 0.3s;
}
.helpful-btn:hover {
  border-color: rgba(255, 126, 22, 0.3);
  background: rgba(255, 126, 22, 0.06);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  text-align: center; padding: 40px;
  border-top: 1px solid rgba(167, 203, 206, 0.06);
}
.footer p {
  font-size: 12px; font-weight: 200;
  color: rgba(167, 203, 206, 0.4); letter-spacing: 1px;
}
.footer a { color: var(--orange); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .header { padding: 16px 20px; }
  .logo-sub { display: none; }
  .back-btn-wrap { padding: 10px 20px; }
  .hero { padding: 50px 20px 30px; }
  .hero h1 { font-size: 32px; }
  .search-container { margin: 0 20px; }
  .stats-bar { gap: 24px; padding: 16px 20px; }
  .stat-number { font-size: 24px; }
  .section-header { padding: 40px 20px 16px; }
  .category-grid { padding: 0 20px 40px; grid-template-columns: 1fr; }
  .popular-grid { padding: 0 20px 40px; grid-template-columns: 1fr; }
  .help-banner { padding: 0 20px 40px; }
  .help-banner-inner { flex-direction: column; text-align: center; padding: 28px; }
  .cat-hero { padding: 28px 20px 20px; gap: 16px; }
  .cat-hero h1 { font-size: 24px; }
  .cat-hero-icon { width: 56px; height: 56px; font-size: 28px; }
  .cat-search { padding: 0 20px 20px; }
  .article-list { padding: 0 20px 40px; }
  .article-list-meta { display: none; }
  .article-hero { padding: 32px 20px 0; }
  .article-hero h1 { font-size: 26px; }
  .progress-section { padding: 24px 20px 0; }
  .steps-container { padding: 0 20px; }
  .step-body { padding: 0 16px 20px 16px; }
  .step-dot { width: 34px; height: 34px; font-size: 13px; }
  .step-dot-line { width: 14px; }
  .article-body { padding: 30px 20px 20px; }
  .completion-actions { flex-direction: column; }
  .related-section { padding: 16px 20px 30px; }
  .related-grid { grid-template-columns: 1fr; }
  .helpful-section { padding: 0 20px 30px; }
  .completion-card { padding: 0 20px 30px; }
  .completion-inner { padding: 24px; }
  .contact-btn span { display: none; }
}
