@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #1a1f35;
    --bg-card-hover: #222845;
    --text-primary: #f0f4ff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-primary: #6366f1;
    --accent-secondary: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --accent-cyan: #22d3ee;
    --accent-emerald: #34d399;
    --accent-amber: #fbbf24;
    --accent-rose: #f43f5e;
    --border-color: rgba(99, 102, 241, 0.15);
    --border-glow: rgba(99, 102, 241, 0.3);
    --gradient-primary: linear-gradient(135deg, #6366f1, #818cf8, #22d3ee);
    --gradient-hero: linear-gradient(180deg, #0a0e1a 0%, #111827 50%, #0a0e1a 100%);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.brand-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    letter-spacing: 0.3px;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-btn {
    padding: 8px 20px !important;
    background: var(--accent-primary) !important;
    color: white !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}

.nav-btn:hover {
    background: var(--accent-secondary) !important;
    box-shadow: 0 0 20px var(--accent-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles .particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--border-glow);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.title-line {
    display: block;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: -1px;
    line-height: 1.2;
}

.title-highlight {
    display: block;
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    line-height: 1.1;
    filter: drop-shadow(0 0 40px var(--accent-glow));
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    letter-spacing: 2px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-search {
    margin-bottom: 64px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.search-box {
    display: flex;
    align-items: center;
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 6px 6px 6px 20px;
    transition: all 0.3s;
    box-shadow: var(--shadow-card);
}

.search-box:focus-within {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.search-icon {
    font-size: 18px;
    margin-right: 12px;
    opacity: 0.5;
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 16px;
    font-family: var(--font-sans);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    padding: 12px 28px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-sans);
}

.search-btn:hover {
    background: var(--accent-secondary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.search-result {
    max-width: 640px;
    margin: 16px auto 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: left;
    max-height: 400px;
    overflow-y: auto;
}

.search-result .result-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.search-result .result-item:last-child {
    border-bottom: none;
}

.search-result .result-title {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.search-result .result-url {
    color: var(--accent-emerald);
    font-size: 12px;
    display: block;
    margin: 4px 0;
}

.search-result .result-snippet {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.search-result .result-meta {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 8px;
}

.search-result .result-error {
    color: var(--accent-rose);
    font-size: 14px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-unit {
    font-size: 14px;
    color: var(--accent-secondary);
    font-weight: 600;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeIn 1s ease 1.2s both;
}

.hero-scroll-hint span {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    margin: 8px auto 0;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(8px); }
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--border-glow);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 12px var(--accent-glow));
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.engines {
    padding: 120px 0;
    background: var(--bg-primary);
}

.engines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.engine-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: default;
}

.engine-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.engine-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 20px;
    font-weight: 800;
    flex-shrink: 0;
}

.engine-intl .engine-logo {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-secondary);
}

.engine-cn .engine-logo {
    background: rgba(34, 211, 238, 0.15);
    color: var(--accent-cyan);
}

.engine-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.engine-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.api-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.api-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.code-showcase {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.code-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}

.code-tab {
    padding: 14px 24px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: all 0.2s;
    position: relative;
}

.code-tab:hover {
    color: var(--text-secondary);
}

.code-tab.active {
    color: var(--accent-secondary);
}

.code-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-primary);
}

.code-block {
    display: none;
    padding: 28px;
    margin: 0;
    overflow-x: auto;
}

.code-block.active {
    display: block;
}

.code-block code {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent-cyan);
    line-height: 1.8;
    white-space: pre;
}

.pricing {
    padding: 120px 0;
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
}

.pricing-card.popular {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--accent-primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pricing-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    flex: 1;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-features li.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

.pricing-btn {
    display: block;
    text-align: center;
    padding: 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.pricing-btn:hover {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
}

.pricing-card.popular .pricing-btn {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.pricing-card.popular .pricing-btn:hover {
    background: var(--accent-secondary);
}

.footer {
    padding: 80px 0 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo .brand-icon {
    font-size: 24px;
}

.footer-logo .brand-text {
    font-size: 20px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-secondary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--accent-secondary);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .engines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-toggle {
        display: flex;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .engines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }
    .stat-num {
        font-size: 28px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .engines-grid {
        grid-template-columns: 1fr;
    }
    .hero-desc {
        font-size: 14px;
        letter-spacing: 1px;
    }
    .search-box {
        flex-direction: column;
        padding: 12px;
        gap: 8px;
    }
    .search-btn {
        width: 100%;
    }
}

.nav-help {
    cursor: pointer;
}

.help-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.25s ease;
}

.help-overlay.active {
    display: flex;
}

.help-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 960px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.2), 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: helpSlideIn 0.3s ease;
}

@keyframes helpSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.help-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.help-header h2 {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.help-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.help-close:hover {
    background: rgba(244, 63, 94, 0.15);
    border-color: var(--accent-rose);
    color: var(--accent-rose);
}

.help-body {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.help-sidebar {
    width: 200px;
    flex-shrink: 0;
    padding: 20px 16px;
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.15);
}

.help-nav-link {
    display: block;
    padding: 10px 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    margin-bottom: 4px;
}

.help-nav-link:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.08);
}

.help-nav-link.active {
    color: var(--accent-secondary);
    background: rgba(99, 102, 241, 0.12);
    font-weight: 600;
}

.help-content {
    flex: 1;
    padding: 28px 32px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.help-section {
    margin-bottom: 40px;
}

.help-section:last-child {
    margin-bottom: 0;
}

.help-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.help-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 16px;
}

.help-card:last-child {
    margin-bottom: 0;
}

.help-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-secondary);
    margin-bottom: 10px;
}

.help-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

.help-card p:last-child {
    margin-bottom: 0;
}

.help-card ul {
    padding-left: 20px;
    margin: 8px 0;
}

.help-card li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.help-card code {
    font-family: var(--font-mono);
    font-size: 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--border-color);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--accent-cyan);
}

.help-example {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.help-good {
    color: var(--accent-emerald);
    font-weight: 600;
    font-family: var(--font-mono);
}

.help-bad {
    color: var(--accent-rose);
    font-weight: 600;
    font-family: var(--font-mono);
}

.help-warning {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--accent-amber);
}

.help-note {
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--accent-cyan);
}

.help-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.help-table th {
    text-align: left;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}

.help-table td {
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.help-table tr:last-child td {
    border-bottom: none;
}

.help-flow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0 16px;
}

.flow-state {
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.flow-open {
    background: rgba(34, 211, 238, 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.flow-replied {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-secondary);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.flow-closed {
    background: rgba(100, 116, 139, 0.15);
    color: var(--text-muted);
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.flow-arrow {
    color: var(--text-muted);
    font-size: 18px;
}

.help-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(34, 211, 238, 0.05));
    border-color: var(--border-glow);
}

.help-contact-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.help-contact-info h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.help-contact-email {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    margin: 12px 0;
    transition: all 0.2s;
}

.help-contact-email:hover {
    background: var(--accent-secondary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.help-contact-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .help-modal {
        max-height: 90vh;
    }
    .help-body {
        flex-direction: column;
    }
    .help-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 12px 16px;
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 4px;
        flex-shrink: 0;
    }
    .help-nav-link {
        white-space: nowrap;
        margin-bottom: 0;
        padding: 8px 12px;
        font-size: 12px;
    }
    .help-content {
        padding: 20px 16px;
    }
    .help-contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
