/* ============================================
   MistAI Documentation - Clean Readable Theme
   ============================================ */

:root {
    /* Readable color palette */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --bg-code: #f6f8fa;
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-light: #dbeafe;
    --border: #e2e8f0;
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --info: #3b82f6;
    --info-light: #dbeafe;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-brand .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.ai-orb {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--accent), #1e40af);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.navbar-item {
    color: var(--text-secondary) !important;
    transition: color 0.2s;
    font-weight: 500;
}

.navbar-item:hover {
    color: var(--accent) !important;
    background: none !important;
}

.navbar-burger {
    color: var(--text-primary);
}

/* Hero */
.hero-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-bottom: 1px solid var(--border);
    padding: 0rem 2rem;
}

.hero.is-large .hero-body {
    padding: 2rem 6rem !important;
}

.ai-orb-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero {
    align-items: center !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 24px;
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}

/* Container */
.documentation-container {
    padding: 3rem 0;
}

.container {
    display: flex;
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sidebar */
.sidebar {
    width: 260px;
    position: sticky;
    top: 100px;
    height: fit-content;
    flex-shrink: 0;
}

.sidebar-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 0.25rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.sidebar-menu a:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.sidebar-menu a i {
    width: 18px;
    text-align: center;
    color: var(--accent);
}

/* Main Content */
.main-content {
    flex: 1;
    max-width: 850px;
}

.doc-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-title i {
    color: var(--accent);
}

.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.content-card h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
    text-align: center;
}

.content-card h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-weight: 600;
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.content-card p,
.content-card li {
    color: var(--text-secondary);
    line-height: 1.8;
}

.content-card ol,
.content-card ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.content-card ul li {
    margin-bottom: 0.5rem;
}

/* Info Boxes */
.highlight-box,
.info-box,
.warning-box,
.download-box {
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 4px solid;
}

.highlight-box {
    background: var(--accent-light);
    border-color: var(--accent);
}

.highlight-box h4 {
    color: var(--accent);
    margin-top: 0 !important;
}

.info-box {
    background: var(--success-light);
    border-color: var(--success);
    display: flex;
    gap: 1rem;
}

.info-box i {
    color: var(--success);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.warning-box {
    background: var(--warning-light);
    border-color: var(--warning);
    display: flex;
    gap: 1rem;
}

.warning-box i {
    color: var(--warning);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.download-box {
    background: var(--accent-light);
    border-color: var(--accent);
    text-align: center;
}

.download-box h3 {
    margin-top: 0 !important;
    color: var(--accent);
}

/* Steps */
.steps-container {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 10px;
    background: var(--bg-secondary);
}

.step-item:hover {
    background: var(--accent-light);
    transform: translateX(5px);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.req-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 2rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.req-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
}

.req-item i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.req-item h4 {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.req-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Buttons */
.btn-download,
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-download:hover,
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* Code Blocks */
.code-block {
    position: relative;
    background: var(--bg-code);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin: 1.5rem 0;
    overflow: hidden;
}

.code-block pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.copy-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
    font-weight: 500;
}

.copy-btn:hover {
    background: var(--accent-hover);
}

.copy-btn.copied {
    background: var(--success);
}

/* Models Grid */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.model-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.model-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.model-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.gemini-icon {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
}

.cohere-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
}

.mistral-icon {
    background: linear-gradient(135deg, var(--accent), #1e40af);
    color: white;
}

.model-card h4 {
    margin: 0.5rem 0;
    color: var(--text-primary);
}

.model-card p {
    color: var(--text-secondary);
    margin: 0;
}

.model-badge {
    display: inline-block;
    background: var(--accent-light);
    border: 1px solid var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    margin-top: 1rem;
    color: var(--accent);
    font-weight: 600;
}

.model-badge.recommended {
    background: var(--success-light);
    border-color: var(--success);
    color: var(--success);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    margin-top: 0 !important;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Wake Words */
.wake-words-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.wake-word-badge {
    background: var(--accent);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Example Box */
.example-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.example-box h4 {
    margin-top: 0 !important;
    color: var(--accent);
}

.conversation {
    margin-top: 1rem;
}

.conv-user,
.conv-mist {
    padding: 0.9rem 1.2rem;
    margin: 0.8rem 0;
    border-radius: 8px;
}

.conv-user {
    background: var(--accent-light);
    border-left: 3px solid var(--accent);
    color: var(--text-primary);
}

.conv-mist {
    background: var(--success-light);
    border-left: 3px solid var(--success);
    color: var(--text-primary);
}

/* Suggestions */
.suggestions-examples {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.suggestion-example {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.context {
    background: var(--accent-light);
    padding: 0.9rem 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.suggestion {
    padding: 0.9rem 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Caption Types */
.caption-types {
    display: grid;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.caption-type {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.caption-preview {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.assistant-caption {
    background: var(--success);
    color: white;
}

.system-caption {
    background: var(--warning);
    color: var(--text-primary);
}

.suggestion-caption {
    background: #8b5cf6;
    color: white;
}

/* Actions Grid */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.action-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.action-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.action-card h4 {
    margin: 0 0 0.8rem 0;
    color: var(--accent);
    font-size: 1.1rem;
}

.action-card p {
    color: var(--text-secondary);
    margin: 0;
}

.action-card i {
    margin-right: 0.5rem;
}

.action-example {
    background: var(--accent-light);
    padding: 0.9rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.action-example code {
    background: rgba(59, 130, 246, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    color: var(--accent);
    font-weight: 600;
}

/* Troubleshooting */
.troubleshooting-list {
    display: grid;
    gap: 1.5rem;
}

.trouble-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
}

.trouble-item h4 {
    margin: 0 0 1rem 0;
    color: var(--warning);
}

.trouble-solution {
    color: var(--text-secondary);
}

.trouble-solution ul {
    margin-top: 0.8rem;
    padding-left: 1.5rem;
}

.trouble-solution li {
    margin-bottom: 0.5rem;
}

/* FAQ */
.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    transition: all 0.2s;
}

.faq-question:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.faq-question i {
    color: var(--accent);
    transition: transform 0.2s;
}

.faq-item.active .faq-question i {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 600px;
}

/* Footer */
.footer-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-align: center;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-top: 0;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: static;
    }
}

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

    .hero-title {
        font-size: 2rem;
    }

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

    .content-card {
        padding: 1.5rem;
    }

    .features-grid,
    .actions-grid,
    .models-grid {
        grid-template-columns: 1fr;
    }

    .hero-gradient {
        padding: 3rem 1rem;
    }
}

/* Utility */
.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 2rem;
}

/* Inline code */
code {
    background: rgba(59, 130, 246, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--accent);
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    font-weight: 600;
}

/* Links */
a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Selection */
::selection {
    background: var(--accent-light);
    color: var(--accent);
}

/* Original CSS content from the document */

/* ============================================
   NEW GRID LAYOUT STYLES (Added for docs.html)
   ============================================ */

/* Hero Updates */
.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
    user-select: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-block;
    background: white;
    color: var(--accent);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: var(--accent);
}

.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* Container Wide */
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Grid */
.section-grid {
    margin-bottom: 4rem;
}

.section-title-center {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-title-center i {
    color: var(--accent);
    margin-right: 0.8rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Card Title */
.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.card-title i {
    color: var(--accent);
}

/* Personality List */
.personality-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.personality-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: all 0.3s;
}

.personality-item:hover {
    background: var(--accent-light);
    transform: translateX(5px);
}

.personality-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.personality-item h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.personality-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Feature Card Compact */
.feature-card-compact {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.feature-card-compact:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-5px);
}

.feature-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card-compact h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.feature-card-compact p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* Download Box Compact */
.download-box-compact {
    text-align: center;
    padding: 2rem;
    background: var(--accent-light);
    border-radius: 10px;
    margin-top: 1.5rem;
}

.download-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* Requirement List */
.requirement-list {
    list-style: none;
    padding: 0;
}

.requirement-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
}

.requirement-list li:last-child {
    border-bottom: none;
}

.requirement-list i {
    color: var(--accent);
    font-size: 1.3rem;
    width: 24px;
}

/* Highlight Card */
.highlight-card {
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid var(--accent);
}

/* Caption Features */
.caption-features {
    list-style: none;
    padding: 0;
}

.caption-features li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}

.caption-features li:last-child {
    border-bottom: none;
}

/* Caption Preview Box */
.caption-preview-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.caption-example {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Wake Words Compact */
.wake-words-compact {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.wake-badge {
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Example List */
.example-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.example-item {
    background: var(--bg-secondary);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    color: var(--text-secondary);
}

/* Action List Compact */
.action-list-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.action-item-compact {
    background: var(--bg-secondary);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    font-size: 0.9rem;
}

.action-item-compact strong {
    color: var(--accent);
    font-family: 'Monaco', 'Courier New', monospace;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Trouble List Compact */
.trouble-list-compact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trouble-item-compact h4 {
    margin: 0 0 0.5rem 0;
    color: var(--warning);
    font-size: 1rem;
}

.trouble-item-compact p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Roadmap List */
.roadmap-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.roadmap-item {
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.roadmap-item strong {
    color: var(--accent);
    font-weight: 700;
}

/* Responsive Grid Updates */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .action-list-compact {
        grid-template-columns: 1fr;
    }

    .footer-content-grid {
        grid-template-columns: 1fr;
    }

    .hero-icon {
        font-size: 3.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-hero,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .container-wide {
        padding: 0 1rem;
    }
}