/* ═══════════════════════════════════════════════════════════════════════════
   VOICEPAD HELP CENTER — STYLESHEET
   Matches the main voicepad.html design language
   Three themes: Dark (default), Light, Frost (neumorphism)
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ═══════════════════════════════════════════════════════════════════════════
   CSS VARIABLES — DARK THEME (DEFAULT)
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
    --primary: #f59e0b;
    --primary-hover: #d97706;
    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --success: #22c55e;
    --danger: #ef4444;
    --gold: #ffd700;
    --gold-dark: #ffb800;

    --bg-primary: #020617;
    --bg-secondary: #0f172a;
    --bg-tertiary: #1e293b;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-sidebar: rgba(15, 23, 42, 0.95);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-dim: #64748b;

    --border: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.15);

    --glow-primary: rgba(245, 158, 11, 0.2);
    --glow-accent: rgba(139, 92, 246, 0.2);

    --code-bg: rgba(255, 255, 255, 0.05);
    --code-border: rgba(255, 255, 255, 0.1);

    --search-bg: rgba(255, 255, 255, 0.05);
    --search-focus: rgba(245, 158, 11, 0.3);

    --sidebar-width: 280px;
    --header-height: 70px;
    --content-max-width: 800px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHT THEME
   ═══════════════════════════════════════════════════════════════════════════ */
[data-theme="light"] {
    --bg-primary: #f8f6f3;
    --bg-secondary: #ffffff;
    --bg-tertiary: #fefefe;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.06);
    --bg-sidebar: rgba(255, 255, 255, 0.95);

    --text-primary: #0f0f1a;
    --text-secondary: #374151;
    --text-dim: #4b5563;

    --border: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.12);

    --code-bg: rgba(0, 0, 0, 0.04);
    --code-border: rgba(0, 0, 0, 0.08);

    --search-bg: rgba(0, 0, 0, 0.03);
    --search-focus: rgba(217, 119, 6, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FROST THEME (NEUMORPHISM)
   ═══════════════════════════════════════════════════════════════════════════ */
[data-theme="frost"] {
    --primary: #3b82f6;
    --accent: #7c3aed;

    --bg-primary: #eef2f6;
    --bg-secondary: #e2e8f0;
    --bg-tertiary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.6);
    --bg-card-hover: rgba(255, 255, 255, 0.8);
    --bg-sidebar: #e8ecf0;

    --text-primary: #334155;
    --text-secondary: #64748b;
    --text-dim: #94a3b8;

    --border: rgba(202, 208, 217, 0.5);
    --border-light: rgba(202, 208, 217, 0.3);

    --code-bg: rgba(255, 255, 255, 0.6);
    --code-border: rgba(202, 208, 217, 0.4);

    --search-bg: #e2e8f0;
    --search-focus: rgba(59, 130, 246, 0.3);

    --neu-shadow-light: #ffffff;
    --neu-shadow-dark: rgba(202, 208, 217, 0.6);
    --neu-shadow: 4px 4px 10px var(--neu-shadow-dark), -4px -4px 10px var(--neu-shadow-light);
    --neu-shadow-inset: inset 2px 2px 5px var(--neu-shadow-dark), inset -2px -2px 5px var(--neu-shadow-light);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.3s ease, color 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AURORA BACKGROUND
   ═══════════════════════════════════════════════════════════════════════════ */
.aurora {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.aurora::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 90%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 40%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
}

[data-theme="light"] .aurora::before {
    background:
        radial-gradient(ellipse at 20% 10%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 90%, rgba(255, 184, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
}

[data-theme="frost"] .aurora {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   READING PROGRESS BAR
   ═══════════════════════════════════════════════════════════════════════════ */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 10000;
    transition: width 0.1s ease-out;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */
.help-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: background 0.3s;
}

[data-theme="light"] .help-header {
    background: rgba(248, 246, 243, 0.9);
}

[data-theme="frost"] .help-header {
    background: rgba(232, 236, 240, 0.95);
    box-shadow: 0 2px 10px var(--neu-shadow-dark);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo img {
    height: 50px;
    border-radius: 50px;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 6px;
    align-items: center;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.lang-btn {
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    opacity: 0.6;
    border: 2px solid transparent;
}

.lang-btn:hover {
    opacity: 1;
}

.lang-btn.active {
    opacity: 1;
    border-color: var(--primary);
}

.lang-btn img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 4px;
    gap: 4px;
}

.theme-btn {
    padding: 6px 10px;
    border-radius: 50px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    opacity: 0.5;
}

.theme-btn:hover {
    opacity: 0.8;
}

.theme-btn.active {
    background: var(--primary);
    opacity: 1;
}

[data-theme="frost"] .theme-toggle {
    box-shadow: var(--neu-shadow-inset);
}

[data-theme="frost"] .theme-btn.active {
    box-shadow: var(--neu-shadow);
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */
.help-layout {
    display: flex;
    min-height: 100vh;
    padding-top: var(--header-height);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */
.help-sidebar {
    position: fixed;
    left: 0;
    top: var(--header-height);
    bottom: 0;
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    overflow-y: auto;
    padding: 24px 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    transition: transform 0.3s ease;
}

[data-theme="frost"] .help-sidebar {
    box-shadow: inset -2px 0 8px var(--neu-shadow-dark);
    border-right: none;
}

/* Search */
.sidebar-search {
    padding: 0 16px;
    margin-bottom: 24px;
    position: relative;
}

.sidebar-search input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    background: var(--search-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
}

.sidebar-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--search-focus);
}

.sidebar-search input::placeholder {
    color: var(--text-dim);
}

.search-icon {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 14px;
    pointer-events: none;
}

.search-clear {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 14px;
    display: none;
    padding: 4px;
}

.search-clear.visible {
    display: block;
}

.search-results-count {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--text-dim);
    background: var(--bg-tertiary);
    padding: 2px 8px;
    border-radius: 10px;
}

[data-theme="frost"] .sidebar-search input {
    box-shadow: var(--neu-shadow-inset);
    border: none;
}

/* Navigation */
.sidebar-nav {
    padding: 0 12px;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-section-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    padding: 8px 12px;
    margin-bottom: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    margin-bottom: 2px;
}

.nav-link:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.nav-link.active {
    background: rgba(245, 158, 11, 0.15);
    color: var(--primary);
}

[data-theme="frost"] .nav-link.active {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    box-shadow: var(--neu-shadow-inset);
}

.nav-link-icon {
    width: 20px;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}

/* Platform Badge */
.nav-badge {
    margin-left: auto;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--bg-tertiary);
    color: var(--text-dim);
}

.nav-badge.windows {
    background: rgba(0, 120, 212, 0.2);
    color: #0078d4;
}

.nav-badge.mobile {
    background: rgba(52, 199, 89, 0.2);
    color: #34c759;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN CONTENT AREA
   ═══════════════════════════════════════════════════════════════════════════ */
.help-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 40px 60px 100px;
    max-width: calc(var(--content-max-width) + var(--sidebar-width) + 120px);
}

.help-content {
    max-width: var(--content-max-width);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════════════════════════════════ */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 24px;
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

.breadcrumbs .separator {
    color: var(--text-dim);
}

.breadcrumbs .current {
    color: var(--text-primary);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ARTICLE / SECTION CONTENT
   ═══════════════════════════════════════════════════════════════════════════ */
.help-section {
    margin-bottom: 80px;
    padding-top: 20px;
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.section-icon {
    font-size: 2rem;
    line-height: 1;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-anchor {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.2s;
    margin-left: 8px;
}

.section-header:hover .section-anchor {
    opacity: 1;
}

.section-anchor:hover {
    color: var(--primary);
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
}

/* Headings */
h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 48px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 12px;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 24px;
    margin-bottom: 8px;
}

/* Paragraphs */
p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

/* Links */
a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    text-decoration: underline;
}

/* Lists */
ul, ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

li::marker {
    color: var(--primary);
}

/* Code */
code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
    background: var(--code-bg);
    border: 1px solid var(--code-border);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--primary);
}

pre {
    background: var(--code-bg);
    border: 1px solid var(--code-border);
    border-radius: 12px;
    padding: 20px;
    overflow-x: auto;
    margin-bottom: 20px;
    position: relative;
}

pre code {
    background: none;
    border: none;
    padding: 0;
    color: var(--text-primary);
    font-size: 0.85rem;
}

/* Copy Button for Code */
.code-copy-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 10px;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.code-copy-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.code-copy-btn.copied {
    background: var(--success);
    color: white;
    border-color: var(--success);
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin-bottom: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th {
    background: var(--bg-tertiary);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border);
}

td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: var(--bg-card);
}

[data-theme="frost"] .table-wrapper {
    box-shadow: var(--neu-shadow);
    border: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   KEYBOARD SHORTCUT BADGES
   ═══════════════════════════════════════════════════════════════════════════ */
kbd {
    display: inline-block;
    padding: 4px 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 2px 0 var(--border);
    color: var(--text-primary);
    white-space: nowrap;
}

[data-theme="frost"] kbd {
    box-shadow: var(--neu-shadow);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CALLOUT BOXES
   ═══════════════════════════════════════════════════════════════════════════ */
.callout {
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 12px;
    border-left: 4px solid;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.callout-icon {
    font-size: 1.2rem;
    line-height: 1.4;
}

.callout-content {
    flex: 1;
}

.callout-content p:last-child {
    margin-bottom: 0;
}

.callout.tip {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--primary);
}

.callout.warning {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger);
}

.callout.info {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

.callout.windows {
    background: rgba(0, 120, 212, 0.1);
    border-color: #0078d4;
}

.callout.mobile {
    background: rgba(52, 199, 89, 0.1);
    border-color: #34c759;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PLATFORM TABS
   ═══════════════════════════════════════════════════════════════════════════ */
.platform-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
    width: fit-content;
}

.platform-tab {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform-tab:hover {
    color: var(--text-primary);
}

.platform-tab.active {
    background: var(--primary);
    color: #000;
}

[data-theme="frost"] .platform-tabs {
    box-shadow: var(--neu-shadow-inset);
}

[data-theme="frost"] .platform-tab.active {
    box-shadow: var(--neu-shadow);
}

.platform-content {
    display: none;
}

.platform-content.active {
    display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ ACCORDIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.faq-item:hover {
    border-color: var(--border-light);
}

[data-theme="frost"] .faq-item {
    box-shadow: var(--neu-shadow);
    border: none;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 14px;
    color: var(--text-dim);
    transition: transform 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 24px 20px;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCREENSHOT PLACEHOLDERS
   ═══════════════════════════════════════════════════════════════════════════ */
.screenshot {
    background: var(--bg-card);
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    margin: 24px 0;
}

.screenshot-label {
    color: var(--text-dim);
    font-size: 14px;
}

.screenshot-label i {
    margin-right: 8px;
}

.screenshot img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════════════════════════════════════════ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="frost"] .feature-card {
    box-shadow: var(--neu-shadow);
    border: none;
}

.feature-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.feature-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card-desc {
    font-size: 14px;
    color: var(--text-dim);
}

/* ═══════════════════════════════════════════════════════════════════════════
   WAS THIS HELPFUL? WIDGET
   ═══════════════════════════════════════════════════════════════════════════ */
.helpful-widget {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    margin-top: 32px;
    border-top: 1px solid var(--border);
}

.helpful-text {
    font-size: 14px;
    color: var(--text-dim);
}

.helpful-buttons {
    display: flex;
    gap: 8px;
}

.helpful-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.helpful-btn:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.helpful-btn.clicked {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RELATED ARTICLES
   ═══════════════════════════════════════════════════════════════════════════ */
.related-articles {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.related-title {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.related-link {
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}

.related-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.help-footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-left: var(--sidebar-width);
}

.help-footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

.help-footer a:hover {
    color: var(--primary);
}

.footer-links {
    margin-top: 16px;
    font-size: 0.8rem;
}

.footer-links a {
    margin: 0 8px;
    color: var(--text-dim);
}

/* Last Updated */
.last-updated {
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL TO TOP BUTTON
   ═══════════════════════════════════════════════════════════════════════════ */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
    z-index: 500;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .help-sidebar {
        transform: translateX(-100%);
        width: 300px;
        z-index: 999;
    }

    .help-sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .sidebar-overlay.open {
        opacity: 1;
        visibility: visible;
    }

    .help-main {
        margin-left: 0;
        padding: 24px;
        max-width: 100%;
    }

    .hamburger {
        display: flex;
    }

    .help-footer {
        margin-left: 0;
    }

    .header-right .theme-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
    }

    .logo-text {
        display: none;
    }

    .lang-switcher {
        padding: 4px 8px;
    }

    .lang-btn img {
        width: 20px;
        height: 14px;
    }

    .help-main {
        padding: 20px 16px 60px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .platform-tabs {
        width: 100%;
    }

    .platform-tab {
        flex: 1;
        justify-content: center;
    }

    .helpful-widget {
        flex-direction: column;
        align-items: flex-start;
    }

    .scroll-top {
        bottom: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }

    /* Tables responsive */
    .table-wrapper {
        margin-left: -16px;
        margin-right: -16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════════════════════ */
@media print {
    .help-header,
    .help-sidebar,
    .progress-bar,
    .scroll-top,
    .sidebar-overlay,
    .helpful-widget,
    .aurora {
        display: none !important;
    }

    .help-main {
        margin-left: 0;
        padding: 0;
        max-width: 100%;
    }

    .help-layout {
        padding-top: 0;
    }

    body {
        background: white;
        color: black;
    }

    .help-section {
        page-break-inside: avoid;
    }

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

    code, kbd {
        background: #f0f0f0;
        border-color: #ccc;
    }

    .callout {
        border: 1px solid #ccc;
        background: #f9f9f9;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SEARCH HIGHLIGHTING
   ═══════════════════════════════════════════════════════════════════════════ */
.search-highlight {
    background: rgba(245, 158, 11, 0.3);
    padding: 0 2px;
    border-radius: 2px;
}

.help-section.hidden {
    display: none;
}

/* No results message */
.no-results {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-dim);
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-results-text {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.no-results-hint {
    font-size: 14px;
}
