/**
 * AI Frame — Helpdesk pagina CSS v7.0
 *
 * Deel 1: 1:1 uit het aangeleverde standalone design (helpdesk-standalone):
 *         docs-sidebar, topbar, hero, KPI's, secties, stappen, features, FAQ.
 * Deel 2: bestaande panel-styles (gidsen per module) — verplaatst uit het
 *         voormalige <style scoped>-blok in helpdesk.php.
 * Template: frontend/templates/helpdesk.php · JS: frontend/js/helpdesk-page.js
 */

/* ════ DEEL 1 — Design shell (hd-*) ════ */
.hd-page { display: flex; min-height: 100vh; }

/* Sidebar */
.hd-sidebar {
  width: 240px; background: #F5F4F0; border-right: 1px solid #E6E4DD;
  display: flex; flex-direction: column; padding: 14px 12px; gap: 14px;
  flex-shrink: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.hd-nav-label { font-family: 'Space Mono', monospace; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #8A887E; padding: 0 6px 4px; }
.hd-nav-item {
  display: flex; align-items: center; height: 36px; padding: 0 10px; border-radius: 8px;
  font-size: 13px; color: #5C5A52; text-decoration: none; border-left: 3px solid transparent; cursor: pointer;
}
.hd-nav-item:hover { background: rgba(0,0,0,0.02); }
.hd-nav-item.active { font-weight: 600; color: #7A5C1A; background: rgba(200,162,75,0.1); border-left-color: #C8A24B; }

/* Topbar */
.hd-topbar {
  display: flex; align-items: center; height: 48px; padding: 0 28px;
  border-bottom: 1px solid #E6E4DD; background: #fff; gap: 8px;
  font-size: 13px; color: #8A887E; position: sticky; top: 0; z-index: 10;
}
.hd-topbar strong { color: #14140F; font-weight: 500; }
.hd-topbar .spacer { flex: 1; }
.hd-topbar-btn {
  font-size: 12px; font-weight: 500; padding: 6px 14px; border-radius: 8px;
  border: 1px solid #E6E4DD; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  color: #5C5A52; background: #fff;
}
.hd-topbar-btn:hover { border-color: #C8A24B; color: #7A5C1A; text-decoration: none; }
.hd-topbar-btn-accent { background: #C8A24B; color: #14140F; border-color: #C8A24B; font-weight: 600; }
.hd-topbar-btn-accent:hover { background: #d4af5a; border-color: #d4af5a; color: #14140F; }

/* Content */
.hd-content { flex: 1; display: flex; flex-direction: column; }
.hd-body { padding: 32px; max-width: 100%; display: flex; flex-direction: column; gap: 24px; }

/* Section */
.hd-section { background: #fff; border: 1px solid #E6E4DD; border-radius: 16px; overflow: hidden; }
.hd-section-head { padding: 16px 22px; border-bottom: 1px solid #E6E4DD; display: flex; align-items: center; gap: 12px; }
.hd-section-title { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 18px; }
.hd-section-meta { font-size: 12px; color: #8A887E; }
.hd-section-body { padding: 28px; }

/* Hero */
.hd-hero {
  background: #fff; border: 1px solid #E6E4DD; border-radius: 16px; padding: 32px;
  position: relative; overflow: hidden;
}
.hd-hero-glow {
  position: absolute; right: -80px; bottom: -100px; width: 400px; height: 400px;
  border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(200,162,75,0.07), transparent 60%);
}
.hd-hero-inner { position: relative; z-index: 1; }
.hd-hero-kicker { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #C8A24B; }
.hd-hero h1 { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.02em; margin-top: 8px; }
.hd-hero h1 em { font-style: italic; color: #7A5C1A; }
.hd-hero p { color: #5C5A52; font-size: 14px; margin-top: 12px; max-width: 560px; line-height: 1.6; }

/* KPI grid */
.hd-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hd-kpi {
  background: #fff; border: 1px solid #E6E4DD; border-radius: 12px; padding: 18px;
  display: flex; align-items: center; gap: 12px;
}
.hd-kpi-icon {
  width: 40px; height: 40px; border-radius: 8px; background: rgba(200,162,75,0.08);
  display: grid; place-items: center; flex-shrink: 0; color: #C8A24B;
}
.hd-kpi-val { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 20px; }
.hd-kpi-label { font-size: 11px; color: #8A887E; }

/* Steps grid */
.hd-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hd-steps-3 { grid-template-columns: repeat(3, 1fr); }
.hd-step {
  background: #F5F4F0; border: 1px solid #E6E4DD; border-radius: 10px; padding: 20px 16px;
  transition: border-color 0.15s;
}
.hd-step:hover { border-color: #C8A24B; cursor: pointer; }
.hd-step-num {
  width: 28px; height: 28px; background: #14140F; border-radius: 7px;
  display: grid; place-items: center; font-family: 'Space Mono', monospace;
  font-size: 12px; font-weight: 700; color: #FAFAF7; margin-bottom: 12px;
}
.hd-step h3 { font-family: 'Archivo', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.hd-step p { font-size: 12.5px; color: #5C5A52; line-height: 1.6; }

/* Feature grid */
.hd-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hd-feature {
  background: #F5F4F0; border: 1px solid #E6E4DD; border-radius: 10px; padding: 20px 16px;
  transition: border-color 0.15s;
}
.hd-feature:hover { border-color: #C8A24B; }
.hd-feature-icon {
  width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center;
  margin-bottom: 12px; font-size: 14px;
}
.hd-feature h3 { font-family: 'Archivo', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.hd-feature p { font-size: 12px; color: #5C5A52; line-height: 1.6; }

/* FAQ */
.hd-faq { border: 1px solid #E6E4DD; border-radius: 10px; overflow: hidden; }
.hd-faq-item { border-bottom: 1px solid #E6E4DD; }
.hd-faq-item:last-child { border-bottom: none; }
.hd-faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; cursor: pointer; font-size: 13.5px; font-weight: 600; color: #14140F;
  background: #fff; transition: background 0.12s;
}
.hd-faq-q:hover { background: #F5F4F0; }
.hd-faq-a {
  display: none; padding: 14px 22px 18px; background: #F5F4F0;
  border-top: 1px solid #E6E4DD; font-size: 13px; color: #5C5A52; line-height: 1.7;
}
.hd-faq-item.open .hd-faq-a { display: block; }
.hd-faq-chevron { color: #8A887E; transition: transform 0.2s; }
.hd-faq-item.open .hd-faq-chevron { transform: rotate(180deg); }

@media (max-width: 860px) {
  .hd-page { flex-direction: column; }
  .hd-sidebar { width: 100%; height: auto; position: static; flex-direction: row; overflow-x: auto; padding: 10px; gap: 8px; }
  .hd-kpis { grid-template-columns: repeat(2, 1fr); }
  .hd-steps { grid-template-columns: repeat(2, 1fr); }
  .hd-features { grid-template-columns: 1fr; }
}

/* ── App-integratie ── */
.hd-nav-group { display: flex; flex-direction: column; gap: 2px; }
.hd-nav-item { cursor: pointer; }
/* Ingelogd: docs-sidebar plakt onder de app-topbar; gast: onder de gast-header */
.imgx-helpdesk-page .hd-sidebar { top: 0; height: auto; min-height: 100vh; }
body.af-guest-header .imgx-helpdesk-page .hd-sidebar { top: var(--af-header-h, 64px); height: calc(100vh - var(--af-header-h, 64px)); }
@media (max-width: 860px) {
  .hd-page { flex-direction: column; }
  .hd-sidebar { position: static !important; width: 100% !important; height: auto !important; min-height: 0 !important; flex-direction: row !important; flex-wrap: wrap; border-right: none; border-bottom: 1px solid #E6E4DD; }
  .hd-nav-group { flex-direction: row; flex-wrap: wrap; }
  .hd-nav-item { border-left: none; border-bottom: 3px solid transparent; height: 34px; }
  .hd-nav-item.active { border-left: none; border-bottom-color: #C8A24B; }
  .hd-kpis { grid-template-columns: repeat(2, 1fr); }
}

/* ════ DEEL 2 — Panel-styles (bestaande gidsen) ════ */
:root{--ink:#f8f9fc;--ink-1:#ffffff;--ink-2:#f4f6fb;--ink-3:#eef1f8;--ink-4:#e4e8f0;--line:rgba(0,0,0,.06);--line-2:rgba(0,0,0,.10);--fg:#0f172a;--fg-2:#475569;--fg-3:#94a3b8;--accent:#C8A24B;--accent-2:#d4af5a;--accent-glow:rgba(200,162,75,.08);--red:#dc2626;--green:#16a34a;--amber:#f59e0b;--purple:#7c3aed;}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}html{scroll-behavior:smooth;}
.imgx-helpdesk-page{overflow:visible!important;height:auto!important;}
.imgx-helpdesk-page .imgx-wrap{background:transparent!important;min-height:auto!important;}
.imgx-helpdesk-page .imgx-page-header{top:var(--ix-nav-h,60px)!important;}
/* Header */
.imgx-page-header{display:flex;align-items:center;gap:14px;padding:16px 28px;border-bottom:1.5px solid var(--line-2);background:#fff;position:sticky;top:0;z-index:100;box-shadow:0 1px 4px rgba(0,0,0,.04);}
.imgx-wordmark{font-family:'Syne',sans-serif;font-weight:800;font-size:11px;letter-spacing:.22em;color:var(--fg);background:var(--ink-3);border:1px solid rgba(0,0,0,.15);padding:4px 11px;border-radius:4px;}
.imgx-page-header h1{font-family:'Syne',sans-serif;font-size:18px;font-weight:700;color:var(--fg);letter-spacing:-.01em;}
.imgx-header-spacer{flex:1;}
.imgx-hdr-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;background:#fff;border:1.5px solid #e4e8f0;border-radius:7px;color:#475569;font-family:'Manrope',sans-serif;font-size:12.5px;font-weight:500;cursor:pointer;transition:border-color .15s,color .15s,background .15s;text-decoration:none;}
.imgx-hdr-btn:hover{border-color:#C8A24B!important;color:#C8A24B!important;background:rgba(200,162,75,.06)!important;}
.imgx-hdr-btn-primary{background:#C8A24B!important;border-color:#C8A24B!important;color:#fff!important;text-decoration:none!important;}
.imgx-hdr-btn-primary:hover{background:#d4af5a!important;border-color:#d4af5a!important;}
.imgx-helpdesk-page a.imgx-hdr-btn,.imgx-helpdesk-page a.imgx-hdr-btn:hover{border-radius:7px!important;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;font-weight:500!important;}
/* Tabs */
.imgx-tabs{background:#fff;border-bottom:1.5px solid #e4e8f0;padding:0 28px;display:flex;gap:0;overflow-x:auto;scrollbar-width:none;flex-shrink:0;position:sticky;top:57px;z-index:90;}
.imgx-tabs::-webkit-scrollbar{display:none;}
.imgx-tab{display:inline-flex;align-items:center;gap:7px;color:#64748b;border:none;border-bottom:2.5px solid transparent;padding:13px 16px;font-family:'Manrope',sans-serif;font-size:13px;font-weight:600;white-space:nowrap;flex-shrink:0;margin-bottom:-1.5px;background:transparent;cursor:pointer;transition:color .12s,border-color .12s;text-decoration:none;}
.imgx-tab:hover{color:#0f172a!important;background:rgba(15,23,42,.03)!important;border-color:transparent!important;}
.imgx-tab.active{color:#C8A24B!important;border-bottom-color:#C8A24B!important;}
.imgx-helpdesk-page button.imgx-tab,.imgx-helpdesk-page button.imgx-tab:hover,.imgx-helpdesk-page button.imgx-tab:focus,.imgx-helpdesk-page button.imgx-tab:active{background:transparent!important;border-color:transparent!important;color:#64748b!important;border-radius:0!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;font-weight:600!important;padding:13px 16px!important;line-height:1.4!important;}
.imgx-helpdesk-page button.imgx-tab:hover{color:#0f172a!important;}
.imgx-helpdesk-page button.imgx-tab.active{color:#C8A24B!important;border-bottom-color:#C8A24B!important;}
/* Body */
.imgx-settings-body{padding:28px 28px 80px;background:var(--ink);}
.imgx-tab-panel{display:none;}.imgx-tab-panel.active{display:block;}
/* Badge */
.imgx-badge{font-family:'DM Mono',monospace;font-size:9px;background:var(--ink-3);border:1px solid #e4e8f0;color:var(--fg-3);padding:2px 8px;border-radius:20px;letter-spacing:.06em;text-transform:uppercase;}
.imgx-badge-green{background:rgba(22,163,74,.07);border-color:rgba(22,163,74,.25);color:var(--green);}
/* Section card */
.imgx-section-card{background:#fff;border:1.5px solid #e4e8f0;border-radius:12px;overflow:hidden;margin-bottom:20px;}
.imgx-section-header{padding:14px 22px;border-bottom:1.5px solid #e4e8f0;display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.imgx-section-title{font-family:'Syne',sans-serif;font-weight:700;font-size:13.5px;color:var(--fg);letter-spacing:-.01em;}
.imgx-section-hint{font-size:11.5px;color:var(--fg-3);}
.imgx-section-body{padding:22px;}
/* Hero */
.imgx-guide-hero{background:linear-gradient(135deg,var(--accent-glow) 0%,rgba(99,102,241,.04) 100%);border:1.5px solid rgba(200,162,75,.15);border-radius:12px;padding:26px 28px;margin-bottom:22px;display:flex;align-items:center;gap:20px;}
.imgx-guide-hero-icon{width:52px;height:52px;background:var(--accent);border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:22px;flex-shrink:0;}
.imgx-guide-hero-title{font-family:'Syne',sans-serif;font-size:19px;font-weight:700;color:var(--fg);margin-bottom:5px;}
.imgx-guide-hero-sub{font-size:13px;color:var(--fg-2);line-height:1.65;}
/* Feature accordion */
.hd-feature-list{display:flex;flex-direction:column;gap:0;border:1.5px solid #e4e8f0;border-radius:10px;overflow:hidden;margin-bottom:20px;}
.hd-feature{border-bottom:1px solid #e4e8f0;}.hd-feature:last-child{border-bottom:none;}
.hd-feature-header{display:flex;align-items:center;gap:12px;padding:14px 18px;cursor:pointer;background:#fff;transition:background .12s;}
.hd-feature-header:hover{background:var(--ink-3);}
.hd-feature-icon{width:30px;height:30px;border-radius:7px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff;}
.hd-feature-icon--indigo{background:#6366f1;}.hd-feature-icon--blue{background:#3b82f6;}.hd-feature-icon--teal{background:#14b8a6;}.hd-feature-icon--violet{background:#8b5cf6;}.hd-feature-icon--gold{background:var(--accent);}.hd-feature-icon--green{background:var(--green);}.hd-feature-icon--amber{background:var(--amber);}
.hd-feature-title{flex:1;font-size:13.5px;font-weight:600;color:var(--fg);}
.hd-tier{font-family:'DM Mono',monospace;font-size:9px;letter-spacing:.06em;text-transform:uppercase;padding:2px 8px;border-radius:20px;border:1px solid;}
.hd-tier--free{background:rgba(22,163,74,.07);border-color:rgba(22,163,74,.25);color:var(--green);}
.hd-chevron{color:var(--fg-3);transition:transform .2s;flex-shrink:0;}
.hd-feature.open .hd-chevron{transform:rotate(180deg);}
.hd-feature-body{display:none;padding:16px 18px 20px 60px;background:var(--ink-2);border-top:1px solid #e4e8f0;font-size:13px;color:var(--fg-2);line-height:1.75;}
.hd-feature.open .hd-feature-body{display:block;}
.hd-feature-body p{margin-bottom:10px;}.hd-feature-body p:last-child{margin-bottom:0;}
.hd-feature-body ul{padding-left:18px;margin-bottom:10px;}.hd-feature-body ul li{margin-bottom:4px;}
.hd-feature-body a{color:var(--accent);text-decoration:none;}.hd-feature-body a:hover{text-decoration:underline;}
.hd-feature-body strong{color:var(--fg);font-weight:600;}
.hd-feature-body code{background:var(--ink-3);border:1px solid #e4e8f0;padding:1px 6px;border-radius:4px;font-family:'DM Mono',monospace;font-size:11.5px;}
/* Steps grid */
.hd-steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px;}
.hd-steps-grid--3{grid-template-columns:repeat(3,1fr);}.hd-steps-grid--2{grid-template-columns:repeat(2,1fr);}
.hd-step-card{background:#fff;border:1.5px solid #e4e8f0;border-radius:10px;padding:18px 16px;transition:border-color .15s,box-shadow .15s;cursor:default;}
.hd-step-card:hover{border-color:rgba(200,162,75,.3);box-shadow:0 0 0 3px var(--accent-glow);}
.hd-step-num{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;background:var(--accent);border-radius:7px;font-family:'DM Mono',monospace;font-size:12px;font-weight:600;color:#fff;margin-bottom:10px;}
.hd-step-card h3{font-family:'Syne',sans-serif;font-size:13px;font-weight:700;color:var(--fg);margin-bottom:6px;}
.hd-step-card p{font-size:12.5px;color:var(--fg-2);line-height:1.65;}
.hd-step-card a{color:var(--accent);text-decoration:none;}.hd-step-card a:hover{text-decoration:underline;}
/* KPI row */
.imgx-dash-kpi-row{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px;}
.imgx-dash-kpi{flex:1;min-width:160px;background:#fff;border:1.5px solid #e4e8f0;border-radius:10px;padding:16px 18px;display:flex;align-items:center;gap:12px;transition:border-color .2s,box-shadow .2s;}
.imgx-dash-kpi:hover{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-glow);}
.imgx-dash-kpi-icon{width:38px;height:38px;background:var(--ink-3);border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:17px;}
.imgx-dash-kpi-value{font-family:'DM Mono',monospace;font-size:18px;font-weight:600;color:var(--fg);line-height:1.1;}
.imgx-dash-kpi-label{font-size:11px;color:var(--fg-2);margin-top:3px;}
/* Model grid */
.hd-model-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-bottom:20px;}
.hd-model-card{background:#fff;border:1.5px solid #e4e8f0;border-radius:10px;padding:20px 18px;transition:border-color .15s,box-shadow .15s;}
.hd-model-card:hover{border-color:rgba(200,162,75,.3);box-shadow:0 0 0 3px var(--accent-glow);}
.hd-model-card--featured{border-color:rgba(200,162,75,.4);background:linear-gradient(135deg,rgba(200,162,75,.04) 0%,#fff 100%);}
.hd-model-badge{display:inline-flex;margin-bottom:8px;font-family:'DM Mono',monospace;font-size:9px;letter-spacing:.08em;text-transform:uppercase;padding:2px 8px;border-radius:20px;background:var(--accent-glow);border:1px solid rgba(200,162,75,.2);color:var(--accent);}
.hd-model-name{font-family:'Syne',sans-serif;font-size:15px;font-weight:700;color:var(--fg);margin-bottom:3px;}
.hd-model-sub{font-size:11.5px;color:var(--fg-3);font-family:'DM Mono',monospace;margin-bottom:10px;}
.hd-model-card p{font-size:12.5px;color:var(--fg-2);line-height:1.65;margin-bottom:12px;}
.hd-model-pricing{display:flex;gap:8px;flex-wrap:wrap;}
.hd-model-price{flex:1;min-width:56px;text-align:center;background:var(--ink-2);border:1px solid #e4e8f0;border-radius:6px;padding:8px 4px;}
.hd-model-price span{display:block;font-family:'DM Mono',monospace;font-size:10px;color:var(--fg-3);margin-bottom:3px;}
.hd-model-price strong{display:block;font-family:'DM Mono',monospace;font-size:12.5px;font-weight:600;color:var(--fg);}
/* Callout */
.hd-callout{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border-radius:8px;margin-bottom:20px;font-size:12.5px;line-height:1.65;}
.hd-callout--info{background:rgba(59,130,246,.06);border:1px solid rgba(59,130,246,.2);color:#1e40af;}
.hd-callout--warn{background:rgba(245,158,11,.06);border:1px solid rgba(245,158,11,.25);color:#92400e;}
.hd-callout--tip{background:rgba(200,162,75,.06);border:1px solid rgba(200,162,75,.2);color:#7c4f10;}
.hd-callout a{color:inherit;font-weight:600;}.hd-callout a:hover{text-decoration:underline;}
/* FAQ */
.hd-faq-list{display:flex;flex-direction:column;gap:0;border:1.5px solid #e4e8f0;border-radius:10px;overflow:hidden;margin-bottom:20px;}
.hd-faq-item{border-bottom:1px solid #e4e8f0;}.hd-faq-item:last-child{border-bottom:none;}
.hd-faq-q{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;cursor:pointer;background:#fff;font-size:13.5px;font-weight:600;color:var(--fg);transition:background .12s;}
.hd-faq-q:hover{background:var(--ink-3);}
.hd-faq-item.open .hd-chevron{transform:rotate(180deg);}
.hd-faq-a{display:none;padding:14px 18px 18px;background:var(--ink-2);border-top:1px solid #e4e8f0;font-size:13px;color:var(--fg-2);line-height:1.75;}
.hd-faq-item.open .hd-faq-a{display:block;}
.hd-faq-a a{color:var(--accent);}.hd-faq-a a:hover{text-decoration:underline;}
/* Checklist */
.hd-checklist{list-style:none;display:flex;flex-direction:column;gap:8px;}
.hd-checklist li{display:flex;gap:10px;align-items:flex-start;background:var(--ink-2);border:1.5px solid #e4e8f0;border-radius:8px;padding:12px 14px;font-size:12.5px;color:var(--fg-2);line-height:1.65;transition:border-color .15s;}
.hd-checklist li:hover{border-color:rgba(22,163,74,.35);}
.hd-check-icon{width:20px;height:20px;background:rgba(22,163,74,.1);border:1px solid rgba(22,163,74,.25);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--green);margin-top:1px;font-size:11px;}
.hd-checklist li strong{display:block;font-size:12.5px;font-weight:600;color:var(--fg);margin-bottom:2px;}
/* Prompt block */
.imgx-prompt-block{background:var(--ink-2);border:1.5px solid #e4e8f0;border-radius:8px;overflow:hidden;margin-bottom:12px;}
.imgx-prompt-header{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;border-bottom:1px solid #e4e8f0;background:#f8f9fc;}
.imgx-prompt-lang{font-family:'DM Mono',monospace;font-size:9.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);}
.imgx-copy-btn{font-family:'Manrope',sans-serif;font-size:11px;font-weight:500;background:#fff;border:1.5px solid #e4e8f0;color:var(--fg-2);padding:4px 12px;border-radius:5px;cursor:pointer;transition:border-color .15s,color .15s;display:flex;align-items:center;gap:5px;}
.imgx-copy-btn:hover{border-color:var(--accent);color:var(--accent);}
.imgx-copy-btn.copied{border-color:var(--green);color:var(--green);background:rgba(22,163,74,.05);}
.imgx-prompt-text{padding:14px 16px;font-family:'DM Mono',monospace;font-size:11.5px;color:#334155;line-height:1.9;white-space:pre-wrap;word-break:break-word;}
/* Table */
.hd-table{width:100%;border-collapse:collapse;font-size:13px;margin-bottom:20px;border:1.5px solid #e4e8f0;border-radius:10px;overflow:hidden;}
.hd-table th{background:var(--ink-2);padding:10px 16px;text-align:left;font-family:'DM Mono',monospace;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--fg-3);border-bottom:1.5px solid #e4e8f0;}
.hd-table td{padding:12px 16px;border-bottom:1px solid #e4e8f0;color:var(--fg-2);}
.hd-table tr:last-child td{border-bottom:none;}.hd-table tr:hover td{background:var(--ink-3);}
.hd-plan-badge{display:inline-flex;font-family:'DM Mono',monospace;font-size:9px;letter-spacing:.06em;text-transform:uppercase;padding:2px 8px;border-radius:20px;border:1px solid;}
.hd-plan-badge--free{background:rgba(22,163,74,.07);border-color:rgba(22,163,74,.25);color:var(--green);}
.hd-plan-badge--silver{background:rgba(100,116,139,.07);border-color:rgba(100,116,139,.25);color:#64748b;}
.hd-plan-badge--gold{background:rgba(200,162,75,.08);border-color:rgba(200,162,75,.2);color:var(--accent);}
/* Bottom CTA */
.hd-bottom-cta{margin-top:32px;padding:28px;border-radius:12px;background:linear-gradient(135deg,var(--accent-glow) 0%,rgba(99,102,241,.04) 100%);border:1.5px solid rgba(200,162,75,.15);display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
.hd-bottom-cta p{font-size:14px;color:var(--fg-2);flex:1;min-width:200px;}
.hd-bottom-btn{display:inline-flex;align-items:center;gap:6px;padding:9px 18px;border-radius:8px;font-family:'Manrope',sans-serif;font-size:13px;font-weight:600;background:#fff;border:1.5px solid #e4e8f0;color:var(--fg);text-decoration:none;transition:border-color .15s,color .15s;}
.hd-bottom-btn:hover{border-color:var(--accent);color:var(--accent);}
.hd-bottom-btn--gold{background:var(--accent);border-color:var(--accent);color:#fff!important;}
.hd-bottom-btn--gold:hover{background:var(--accent-2);border-color:var(--accent-2);color:#fff!important;}
/* Fade-in */
.fade-in{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease;}
.fade-in.visible{opacity:1;transform:none;}
/* Responsive */
@media(max-width:900px){.hd-steps-grid{grid-template-columns:repeat(2,1fr)!important;}.imgx-settings-body{padding:20px 16px 80px;}.hd-model-grid{grid-template-columns:1fr;}.hd-bottom-cta{flex-direction:column;align-items:flex-start;}.imgx-dash-kpi-row{flex-wrap:wrap;}.imgx-guide-hero{flex-direction:column;gap:14px;padding:20px 18px;}}
@media(max-width:600px){.hd-steps-grid{grid-template-columns:1fr!important;}.imgx-page-header{padding:12px 16px;gap:8px;}.imgx-page-header h1{font-size:14px;}.imgx-tabs{padding:0 12px;}.hd-feature-body{padding-left:18px;}}
