/* ── Design Tokens ──────────────────────────────────────────────── */

/* ── Content-Visibility: skip layout/paint for off-screen sections ── */
.stats-section,
.before-after-section,
.activity-section,
.usecases-section,
.integrations-section,
.comparison-section,
.calculator-section,
.notification-section,
.trust-section,
.testimonials-section,
.stories-section,
.pricing-section,
.quiz-section,
.changelog-section,
.roadmap-section,
.status-section,
.faq-section,
.feature-board-section,
.commands-section,
.api-explorer-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

:root {
    /* Brand palette */
    --color-primary: #00d4ff;
    --color-primary-alt: #646cff;
    --color-accent: #7b2cbf;
    --color-success: #4ade80;
    --color-warning: #fbbf24;
    --color-danger: #ef4444;

    /* Surfaces */
    --color-bg-deep: #1a1a2e;
    --color-bg-mid: #16213e;
    --color-bg-far: #0f3460;
    --color-surface: rgba(255, 255, 255, 0.05);
    --color-surface-hover: rgba(255, 255, 255, 0.1);
    --color-surface-active: rgba(255, 255, 255, 0.15);

    /* Text */
    --color-text: #fff;
    --color-text-muted: #a0a0a0;
    --color-text-dim: #888;
    --color-text-dark: #333;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-medium: rgba(255, 255, 255, 0.2);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);

    /* Spacing (base = 8px) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 50px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.3rem;
    --font-size-xl: 2rem;
    --font-size-2xl: 2.5rem;
}

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

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, var(--color-bg-deep) 0%, var(--color-bg-mid) 50%, var(--color-bg-far) 100%);
    color: var(--color-text);
    min-height: 100vh;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.logo {
    font-size: 48px;
    margin-bottom: 10px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #00d4ff, #7b2cbf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.3rem;
    color: #a0a0a0;
    margin-bottom: 40px;
}

.features {
    text-align: left;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 40px;
    contain: content;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature:last-child { margin-bottom: 0; }

.feature-icon {
    font-size: 24px;
    margin-right: 15px;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-text p {
    color: var(--color-text-dim);
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works-section {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 40px;
    contain: layout style;
}

.how-it-works-section h2 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.how-subtitle {
    color: var(--color-text-dim);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.steps-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-line {
    position: absolute;
    left: 19px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(180deg, rgba(0,212,255,0.4) 0%, rgba(123,44,191,0.4) 100%);
    z-index: 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step[data-step="2"] {
    transition-delay: 0.15s;
}

.step[data-step="3"] {
    transition-delay: 0.3s;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #7b2cbf);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.25);
}

.step-content {
    flex: 1;
    text-align: left;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    transition: border-color 0.2s, background 0.2s;
}

.step-content:hover {
    border-color: rgba(0, 212, 255, 0.25);
    background: rgba(0, 212, 255, 0.04);
}

.step-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.step-content h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: #fff;
}

.step-content p {
    color: var(--color-text-dim);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Chat Demo */
.demo-section {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 40px;
    contain: layout style;
}

.demo-section h2 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.demo-subtitle {
    color: var(--color-text-dim);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.chat-window {
    background: #0e1621;
    border-radius: var(--radius-md);
    padding: 16px;
    max-height: 420px;
    overflow-y: auto;
    text-align: left;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
    contain: content;
    will-change: scroll-position;
}

.chat-window::-webkit-scrollbar {
    width: 6px;
}

.chat-window::-webkit-scrollbar-thumb {
    background: var(--color-surface-hover);
    border-radius: 3px;
}

.chat-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    font-size: 0.92rem;
    line-height: 1.45;
    animation: bubbleIn 0.3s ease-out;
    word-wrap: break-word;
    will-change: transform, opacity;
    contain: layout style;
}

@keyframes bubbleIn {
    from { opacity: 0; transform: translateY(8px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-bubble.user {
    background: #2b5278;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.chat-bubble.bot {
    background: #1e2c3a;
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 14px;
    background: #1e2c3a;
    border-radius: var(--radius-md);
    border-bottom-left-radius: 4px;
    width: fit-content;
    margin-bottom: 8px;
}

.typing-indicator span {
    width: 7px;
    height: 7px;
    background: #5a6a7a;
    border-radius: 50%;
    animation: typingBounce 1.2s infinite;
    will-change: transform;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

.demo-scenarios {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.scenario-btn {
    padding: 6px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    color: #aaa;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
}

.scenario-btn:hover, .scenario-btn.active {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
}

/* Chat Playground */
.playground-section {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 40px;
    contain: layout style;
}

.playground-section h2 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.playground-subtitle {
    color: var(--color-text-dim);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.playground-window {
    background: #0e1621;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.playground-messages {
    padding: 16px;
    max-height: 320px;
    overflow-y: auto;
    text-align: left;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.playground-messages::-webkit-scrollbar {
    width: 6px;
}

.playground-messages::-webkit-scrollbar-thumb {
    background: var(--color-surface-hover);
    border-radius: 3px;
}

.playground-input-group {
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: #0c1219;
}

.playground-input {
    flex: 1;
    padding: 14px 16px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}

.playground-input::placeholder {
    color: #5a6a7a;
}

.playground-send {
    padding: 14px 20px;
    background: transparent;
    border: none;
    color: #00d4ff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.playground-send:hover {
    opacity: 0.8;
}

.playground-note {
    color: #666;
    font-size: 0.82rem;
    margin-top: 12px;
}

.playground-note a {
    color: #00d4ff;
    text-decoration: none;
}

.playground-note a:hover {
    text-decoration: underline;
}

/* Social Proof Stats */
.stats-section {
    margin: 40px 0;
}

.stats-section h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.stats-subtitle {
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 28px 16px 22px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,212,255,0.3);
    box-shadow: 0 8px 32px rgba(0,212,255,0.1);
}

.stat-card.animated .stat-number {
    background: linear-gradient(90deg, #00d4ff, #7b2cbf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 4px;
    color: #fff;
    transition: color 0.6s ease;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

@media (max-width: 400px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-number {
        font-size: 2rem;
    }
}

/* Use Cases Section */
.usecases-section {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 40px;
    contain: layout style;
}

.usecases-section h2 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    text-align: center;
}

.usecases-subtitle {
    color: var(--color-text-dim);
    font-size: 0.95rem;
    margin-bottom: 24px;
    text-align: center;
}

.usecases-tabs {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.usecase-tab {
    padding: 8px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    color: #aaa;
    font-size: 0.84rem;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    white-space: nowrap;
}

.usecase-tab:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.2);
    color: #ccc;
}

.usecase-tab.active {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.35);
    color: #00d4ff;
    font-weight: 600;
}

.usecases-panels {
    position: relative;
}

.usecase-panel {
    display: none;
    text-align: left;
    animation: usecaseFadeIn 0.3s ease-out;
}

.usecase-panel.active {
    display: block;
}

@keyframes usecaseFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.usecase-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
}

.usecase-emoji {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.usecase-header h3 {
    font-size: 1.1rem;
    margin-bottom: 3px;
    color: #fff;
}

.usecase-desc {
    font-size: 0.9rem;
    color: var(--color-text-dim);
}

.usecase-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}

.usecase-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: #ccc;
    font-size: 0.93rem;
    line-height: 1.5;
}

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

.usecase-bullet {
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.usecase-quote {
    background: rgba(0, 212, 255, 0.06);
    border-left: 3px solid rgba(0, 212, 255, 0.4);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
}

.usecase-quote p {
    color: #aaa;
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .usecases-tabs {
        gap: 4px;
    }
    .usecase-tab {
        padding: 6px 10px;
        font-size: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .usecase-panel {
        animation: none !important;
    }
}

/* Integrations Section */
.integrations-section {
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    margin: 2rem 0;
}
.integrations-subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}
.integrations-filter {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.integration-filter-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #94a3b8;
    padding: 0.5rem 1.2rem;
    border-radius: 24px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}
.integration-filter-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #e2e8f0;
}
.integration-filter-btn.active {
    background: rgba(99,102,241,0.2);
    border-color: rgba(99,102,241,0.5);
    color: #a5b4fc;
}
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
@media (max-width: 768px) {
    .integrations-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .integrations-grid { grid-template-columns: 1fr; }
}
.integration-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all var(--transition-normal);
    position: relative;
}
.integration-card:hover {
    background: var(--color-surface-hover);
    border-color: rgba(99,102,241,0.4);
    transform: translateY(-2px);
}
.integration-card.hidden {
    display: none;
}
.integration-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}
.integration-card h3 {
    color: #e2e8f0;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}
.integration-card p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}
.integration-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.8rem;
}
.integration-badge.live {
    background: rgba(34,197,94,0.15);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.3);
}
.integration-badge.coming {
    background: rgba(251,191,36,0.15);
    color: #fbbf24;
    border: 1px solid rgba(251,191,36,0.3);
}

/* Comparison Table */
.comparison-section {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 40px;
    contain: content;
}

.comparison-section h2 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.comparison-subtitle {
    color: var(--color-text-dim);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    font-size: 0.88rem;
    min-width: 650px;
}

.comparison-table thead th {
    padding: 10px 12px;
    color: var(--color-text-dim);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

.comparison-table thead th.feature-col,
.comparison-table thead th:first-child {
    text-align: left;
    min-width: 160px;
}

.comparison-table thead th:not(:first-child) {
    text-align: center;
}

.comparison-table thead th.highlight-col {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.06);
    border-radius: var(--radius-sm) 8px 0 0;
}

.comparison-table thead th.highlight-col::after {
    content: ' ★';
    font-size: 0.85em;
}

.comparison-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: #ccc;
}

.comparison-table tbody td:first-child {
    color: #fff;
    font-weight: 500;
}

.comparison-table tbody td:not(:first-child) {
    text-align: center;
}

.comparison-table tbody td.highlight-cell {
    background: rgba(0, 212, 255, 0.04);
}

.comparison-table tbody tr:hover td {
    background: rgba(0, 212, 255, 0.03);
}

.comparison-table tbody tr:hover td.highlight-cell {
    background: rgba(0, 212, 255, 0.08);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:last-child td.highlight-cell {
    border-radius: 0 0 8px 8px;
}

.comp-yes { color: #4ade80; font-size: 1.15em; }
.comp-no { color: var(--color-text-dim); font-size: 1.15em; }
.comp-partial { color: #facc15; font-size: 0.85em; }
.comp-text { font-size: 0.82em; color: #aaa; }

.check { color: #4ade80; }
.cross { color: #f87171; }
.partial { color: #facc15; }

.comparison-note {
    margin-top: 16px;
    font-size: 0.78rem;
    color: #666;
}

/* Time Saved Calculator Section */
.calculator-section {
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    margin: 50px 0;
}
.calculator-section h2 { margin-bottom: 8px; }
.calculator-subtitle {
    color: rgba(255,255,255,0.6);
    margin-bottom: 30px;
    font-size: 0.95rem;
}
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: left;
}
.calculator-sliders { display: flex; flex-direction: column; gap: 20px; }
.calc-slider-group {
    background: var(--color-surface);
    border-radius: 10px;
    padding: 14px 16px 10px;
}
.calc-slider-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.calc-slider-icon { font-size: 1.1rem; }
.calc-slider-label { flex: 1; color: rgba(255,255,255,0.85); }
.calc-slider-value {
    font-weight: 600;
    color: #60a5fa;
    min-width: 60px;
    text-align: right;
    font-size: 0.85rem;
}
.calc-range {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.15);
    outline: none;
    cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #60a5fa;
    cursor: pointer;
    border: 2px solid #1a1a2e;
    box-shadow: 0 0 6px rgba(96,165,250,0.5);
}
.calc-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #60a5fa;
    cursor: pointer;
    border: 2px solid #1a1a2e;
}
.calc-slider-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    margin-top: 4px;
}
.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}
.calc-result-card {
    background: rgba(96,165,250,0.1);
    border: 1px solid rgba(96,165,250,0.2);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}
.calc-result-card.primary {
    background: linear-gradient(135deg, rgba(96,165,250,0.15), rgba(59,130,246,0.1));
    border-color: rgba(96,165,250,0.3);
}
.calc-result-card.primary .calc-result-number {
    font-size: 3rem;
    font-weight: 700;
    color: #60a5fa;
    line-height: 1;
}
.calc-result-unit {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}
.calc-result-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}
.calc-result-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.calc-result-card.small { padding: 16px; }
.calc-result-card.small .calc-result-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #60a5fa;
}
.calc-equivalent {
    background: rgba(96,165,250,0.08);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-align: center;
}
.calc-cta {
    display: inline-block;
    background: #3b82f6;
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s;
}
.calc-cta:hover { background: #2563eb; }
@media (max-width: 768px) {
    .calculator-grid { grid-template-columns: 1fr; }
}

/* Notification Preview Section */
.notification-section {
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 40px;
    contain: content;
    text-align: center;
}

.notification-section h2 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.notification-subtitle {
    color: var(--color-text-dim);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.notification-phone-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.notification-phone {
    width: 280px;
    min-height: 380px;
    background: #0a0a1a;
    border-radius: 28px;
    border: 3px solid rgba(255,255,255,0.15);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(0,212,255,0.08);
    position: relative;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 8px;
    background: rgba(255,255,255,0.05);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.phone-time { letter-spacing: 0.5px; }

.phone-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
}

.phone-notification-area {
    padding: 16px 14px;
}

.phone-notification {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: left;
    transform: translateX(0);
    opacity: 1;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.phone-notification.notif-slide-in {
    animation: notifSlideIn 0.35s ease forwards;
}

@keyframes notifSlideIn {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.phone-notif-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 0.7rem;
}

.phone-notif-icon { font-size: 0.9rem; }

.phone-notif-app {
    color: var(--color-primary);
    font-weight: 600;
    flex: 1;
}

.phone-notif-time {
    color: var(--color-text-dim);
    font-size: 0.65rem;
}

.phone-notif-title {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 4px;
    color: var(--color-text);
}

.phone-notif-body {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.phone-notif-detail {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.72rem;
    color: var(--color-text-dim);
    line-height: 1.5;
}

.notification-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.notification-scenarios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
}

.notif-scenario-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.notif-scenario-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--color-text);
}

.notif-scenario-btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.notif-scenario-btn.active {
    background: rgba(0,212,255,0.15);
    border-color: rgba(0,212,255,0.4);
    color: var(--color-primary);
}

.notification-view-toggle {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-pill);
    padding: 3px;
}

.notif-view-btn {
    background: transparent;
    border: none;
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    color: var(--color-text-dim);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.notif-view-btn:hover { color: var(--color-text); }

.notif-view-btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.notif-view-btn.active {
    background: rgba(0,212,255,0.15);
    color: var(--color-primary);
}

/* Notification Preview — Light theme */
[data-theme="light"] .notification-section { background: rgba(0,0,0,0.03); }
[data-theme="light"] .notification-phone { background: #f8f9fa; border-color: rgba(0,0,0,0.15); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
[data-theme="light"] .phone-status-bar { background: rgba(0,0,0,0.05); color: #555; }
[data-theme="light"] .phone-notification { background: #fff; border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .phone-notif-title { color: var(--color-text-dark); }
[data-theme="light"] .phone-notif-body { color: #666; }
[data-theme="light"] .phone-notif-detail { color: #888; border-top-color: rgba(0,0,0,0.08); }
[data-theme="light"] .notif-scenario-btn { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); color: #555; }
[data-theme="light"] .notif-scenario-btn:hover { background: rgba(0,0,0,0.08); color: #333; }
[data-theme="light"] .notif-scenario-btn.active { background: rgba(0,212,255,0.1); border-color: rgba(0,212,255,0.3); color: #0088aa; }
[data-theme="light"] .notification-view-toggle { background: rgba(0,0,0,0.04); }
[data-theme="light"] .notif-view-btn { color: #888; }
[data-theme="light"] .notif-view-btn.active { background: rgba(0,212,255,0.1); color: #0088aa; }

/* Notification Preview — Responsive */
@media (max-width: 480px) {
    .notification-phone { width: 240px; min-height: 320px; }
    .notification-scenarios { gap: var(--space-xs); }
    .notif-scenario-btn { padding: 6px 10px; font-size: 0.75rem; }
}

/* Trust & Privacy Section */
.trust-section {
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 40px;
    contain: content;
}

.trust-section h2 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.trust-subtitle {
    color: var(--color-text-dim);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 25px;
}

.trust-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trust-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateY(-2px);
}

.trust-card:hover::before {
    opacity: 1;
}

.trust-card.expanded {
    background: rgba(0, 212, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.3);
}

.trust-icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.trust-icon {
    font-size: 1.8rem;
    display: block;
}

.trust-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.15);
    animation: trust-pulse 3s ease-in-out infinite;
}

@keyframes trust-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

.trust-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.trust-card p {
    font-size: 0.88rem;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 0;
}

.trust-detail {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.trust-detail[hidden] {
    display: none;
}

.trust-detail-row {
    font-size: 0.82rem;
    color: #bbb;
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-check {
    color: #4ade80;
    font-weight: bold;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 5px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--color-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    color: #ccc;
    transition: all var(--transition-fast);
}

.trust-badge:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.25);
    color: #fff;
}

.badge-icon {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .trust-badges {
        gap: 10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Testimonials Section */
.testimonials-section {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 40px;
    contain: content;
    overflow: hidden;
}

.testimonials-section h2 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    text-align: center;
}

.testimonials-subtitle {
    color: var(--color-text-dim);
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: center;
}

.testimonials-carousel {
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.testimonial-card {
    min-width: 100%;
    padding: 24px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    text-align: left;
    flex-shrink: 0;
}

.testimonial-stars {
    color: #facc15;
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-quote {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #7b2cbf);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-role {
    color: var(--color-text-dim);
    font-size: 0.8rem;
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.testimonial-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #aaa;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.testimonial-arrow:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}

.testimonial-dot.active {
    background: #00d4ff;
    transform: scale(1.25);
}

.testimonial-dot:hover {
    background: rgba(0, 212, 255, 0.5);
}

/* Pricing Section */
.pricing-section {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 40px;
    contain: content;
}

.pricing-section h2 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    text-align: center;
}

.pricing-subtitle {
    color: var(--color-text-dim);
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: center;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.billing-toggle span {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    transition: color 0.2s;
}

.billing-toggle span.active-label {
    color: #fff;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.toggle-switch.yearly {
    background: rgba(0, 212, 255, 0.35);
}

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.toggle-switch.yearly .toggle-knob {
    transform: translateX(20px);
}

.save-badge {
    font-size: 0.75rem;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.25);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
}

.pricing-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
}

.pricing-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.pricing-card.popular {
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.06);
}

.popular-tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #00d4ff, #7b2cbf);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 12px;
    border-radius: 10px;
}

.pricing-card h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: #fff;
}

.pricing-card .plan-desc {
    font-size: 0.82rem;
    color: var(--color-text-dim);
    margin-bottom: 16px;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-card .price .currency {
    font-size: 1.1rem;
    vertical-align: super;
    font-weight: 600;
}

.pricing-card .price-period {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 18px;
}

.pricing-card .plan-features {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.pricing-card .plan-features li {
    font-size: 0.85rem;
    color: #bbb;
    padding: 5px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pricing-card .plan-features li::before {
    content: '✓';
    color: #4ade80;
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-card .plan-btn {
    display: block;
    padding: 10px 0;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
    width: 100%;
}

.pricing-card .plan-btn:hover {
    transform: translateY(-1px);
}

.plan-btn.btn-free {
    background: var(--color-surface-hover);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
}

.plan-btn.btn-free:hover {
    background: rgba(255,255,255,0.15);
}

.plan-btn.btn-pro {
    background: linear-gradient(90deg, #00d4ff, #7b2cbf);
    color: #fff;
}

.plan-btn.btn-pro:hover {
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
}

.plan-btn.btn-team {
    background: var(--color-surface-hover);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
}

.plan-btn.btn-team:hover {
    background: rgba(255,255,255,0.15);
}

@media (max-width: 480px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pricing-card {
        padding: 20px 16px;
    }
}

/* Roadmap Section */
.roadmap-section {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    margin: 40px 0;
    text-align: center;
}
.roadmap-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    margin-bottom: 24px;
}
.roadmap-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.roadmap-filter-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: all var(--transition-fast);
}
.roadmap-filter-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.roadmap-filter-btn.active {
    background: rgba(99,102,241,0.25);
    border-color: rgba(99,102,241,0.5);
    color: #fff;
}
.roadmap-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
}
.roadmap-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.roadmap-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.roadmap-card[data-hidden="true"] {
    display: none;
}
.roadmap-status-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.roadmap-status-badge.shipped {
    background: rgba(34,197,94,0.2);
    color: #4ade80;
}
.roadmap-status-badge.progress {
    background: rgba(234,179,8,0.2);
    color: #fbbf24;
}
.roadmap-status-badge.planned {
    background: rgba(99,102,241,0.2);
    color: #818cf8;
}
.roadmap-category {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 6px;
}
.roadmap-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}
.roadmap-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin-bottom: 12px;
}
.roadmap-votes {
    display: flex;
    align-items: center;
    gap: 6px;
}
.roadmap-vote-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 4px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all var(--transition-fast);
}
.roadmap-vote-btn:hover {
    background: rgba(255,255,255,0.15);
}
.roadmap-vote-btn.voted {
    background: rgba(99,102,241,0.3);
    border-color: rgba(99,102,241,0.5);
}
.roadmap-vote-count {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}
.roadmap-summary {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}
.roadmap-summary-item {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* System Status Section */
.status-section {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    margin: 40px 0;
    text-align: center;
}
.status-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    margin-bottom: 20px;
}
.status-overall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 600;
}
.status-overall-text {
    color: #4ade80;
}
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.status-dot.operational {
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74,222,128,0.5);
    animation: statusPulse 2s ease-in-out infinite;
}
.status-dot.degraded {
    background: #fbbf24;
    box-shadow: 0 0 8px rgba(251,191,36,0.5);
    animation: statusPulse 1.5s ease-in-out infinite;
}
.status-dot.outage {
    background: #f87171;
    box-shadow: 0 0 8px rgba(248,113,113,0.5);
    animation: statusPulse 1s ease-in-out infinite;
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.status-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
    margin-bottom: 24px;
}
.status-service {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 14px 16px;
}
.status-service-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.status-service-name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    flex: 1;
}
.status-uptime {
    font-size: 13px;
    color: #4ade80;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.status-bar {
    height: 4px;
    background: var(--color-surface-hover);
    border-radius: 2px;
    overflow: hidden;
}
.status-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ade80, #22c55e);
    border-radius: 2px;
    transition: width 0.6s ease;
}
.status-incidents {
    text-align: left;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
}
.status-incidents h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.8);
}
.status-incident {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-wrap: wrap;
}
.status-incident:last-child {
    border-bottom: none;
}
.status-incident-date {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    min-width: 90px;
}
.status-incident-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-incident-badge.resolved {
    background: rgba(34,197,94,0.15);
    color: #4ade80;
}
.status-incident-text {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    flex: 1;
}

/* FAQ Section */
.faq-section {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 40px;
    text-align: left;
    contain: content;
}

.faq-section h2 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    text-align: center;
}

.faq-subtitle {
    color: var(--color-text-dim);
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}

.faq-question:hover {
    color: #00d4ff;
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 500;
    flex: 1;
    margin-right: 12px;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #666;
    transition: transform 0.3s ease, color 0.2s;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    color: #00d4ff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    contain: content;
}

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

.faq-answer p {
    color: #999;
    font-size: 0.92rem;
    line-height: 1.55;
    padding-bottom: 16px;
}

@media (max-width: 480px) {
    .comparison-table {
        font-size: 0.78rem;
    }
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 8px 6px;
    }
}

.newsletter-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(123, 44, 191, 0.08));
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    margin-bottom: 30px;
    text-align: center;
    contain: content;
}

.newsletter-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.newsletter-section h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.newsletter-subtitle {
    color: var(--color-text-dim);
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    margin-bottom: 12px;
}

.newsletter-input-group {
    display: flex;
    gap: 8px;
    max-width: 420px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-input::placeholder {
    color: #666;
}

.newsletter-input:focus {
    border-color: #00d4ff;
}

.newsletter-btn {
    padding: 12px 24px;
    background: linear-gradient(90deg, #00d4ff, #7b2cbf);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
}

.newsletter-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.newsletter-status {
    font-size: 0.85rem;
    margin-top: 10px;
    min-height: 1.2em;
}

.newsletter-status.success {
    color: #4ade80;
}

.newsletter-status.error {
    color: #f87171;
}

.newsletter-privacy {
    color: #555;
    font-size: 0.8rem;
}

@media (max-width: 480px) {
    .newsletter-input-group {
        flex-direction: column;
    }
    .newsletter-btn {
        width: 100%;
    }
}

.cta-section {
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    contain: content;
}

.cta-section h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.cta-subtitle {
    color: var(--color-text-dim);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(90deg, #00d4ff, #7b2cbf);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.free-badge {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 14px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #00d4ff;
}

.footer {
    color: #555;
    font-size: 0.85rem;
    margin-top: 10px;
}

.footer a {
    color: #00d4ff;
    text-decoration: none;
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .tagline { font-size: 1.1rem; }
    .cta-button { width: 100%; }
}

/* Code spans inside chat bubbles */
.chat-bubble code {
    background: var(--color-surface-hover);
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.88em;
}

/* ===== Reduced Motion Accessibility ===== */
/* Respects prefers-reduced-motion OS setting (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
    /* Disable testimonial slide transitions */
    .testimonials-track {
        transition: none !important;
    }

    /* Show step cards immediately without entrance animation */
    .step {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Replace bouncing typing indicator with subtle opacity pulse */
    .typing-indicator span {
        animation: none !important;
        opacity: 0.6;
    }

    /* Disable toggle knob slide */
    .toggle-knob {
        transition: none !important;
    }

    /* Disable chat bubble entrance animation */
    .chat-bubble {
        animation: none !important;
    }

    /* Disable hover transforms */
    .pricing-card,
    .step-content,
    .cta-button,
    .faq-question {
        transition: none !important;
    }
    .pricing-card:hover,
    .cta-button:hover {
        transform: none !important;
    }

    /* Disable stat card animations */
    .stat-card {
        transition: none !important;
    }

    /* Disable changelog animations */
    .changelog-entry {
        transition: none !important;
    }
}

/* ── Changelog Section ─────────────────────────────────────────── */

.changelog-section {
    margin-top: 80px;
    text-align: center;
}

.changelog-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.changelog-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.changelog-filter-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.changelog-filter-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.changelog-filter-btn.active {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
    color: #00d4ff;
}

.changelog-timeline {
    position: relative;
    text-align: left;
    padding-left: 24px;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 1px;
}

.changelog-entry {
    position: relative;
    margin-bottom: 28px;
    padding-left: 24px;
    transition: opacity 0.3s ease;
}

.changelog-entry.hidden {
    display: none;
}

.changelog-dot {
    position: absolute;
    left: -20px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid;
}

.changelog-dot.feature {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.3);
}

.changelog-dot.improvement {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.3);
}

.changelog-dot.fix {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.3);
}

.changelog-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.changelog-content h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: #fff;
}

.changelog-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.changelog-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.changelog-badge.feature {
    background: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
}

.changelog-badge.improvement {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.changelog-badge.fix {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

/* =============================================
   Sticky Navigation Bar
   ============================================= */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.nav-logo {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-logo:hover { opacity: 0.85; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: var(--color-surface-hover);
}

.nav-links a.active {
    background: rgba(100, 130, 255, 0.2);
    color: #8ba4ff;
}

/* Hamburger toggle (mobile) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

.nav-hamburger,
.nav-hamburger::before,
.nav-hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    position: relative;
}

.nav-hamburger::before,
.nav-hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
}

.nav-hamburger::before { top: -7px; }
.nav-hamburger::after  { top: 7px;  }

.nav-toggle[aria-expanded="true"] .nav-hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Add top padding to body so content isn't hidden behind nav */
body { padding-top: 56px; }

/* Mobile responsive */
@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 8px 16px 16px;
        gap: 2px;
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        padding: 10px 16px;
        font-size: 0.95rem;
    }
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Scroll offset for anchors (account for fixed nav) */
[id$="Section"], #howItWorks {
    scroll-margin-top: 64px;
}

/* Command Palette (Ctrl+K) */
.cmd-palette-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: min(20vh, 160px);
}
.cmd-palette-overlay[hidden] { display: none; }

.cmd-palette {
    width: min(520px, 92vw);
    background: #1e2235;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    overflow: hidden;
    animation: cmdSlideIn .15s ease-out;
}
@keyframes cmdSlideIn {
    from { opacity: 0; transform: translateY(-12px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.cmd-palette-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cmd-palette-icon { font-size: 18px; flex-shrink: 0; }
.cmd-palette-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
}
.cmd-palette-input::placeholder { color: #666; }
.cmd-palette-shortcut {
    background: rgba(255,255,255,0.08);
    color: var(--color-text-dim);
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-family: inherit;
    border: 1px solid var(--border-subtle);
}

.cmd-palette-results {
    list-style: none;
    max-height: 340px;
    overflow-y: auto;
    padding: 6px;
}
.cmd-palette-results:empty::after {
    content: "No matches";
    display: block;
    padding: 20px;
    text-align: center;
    color: #555;
    font-size: 14px;
}

.cmd-palette-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background .1s;
}
.cmd-palette-item:hover,
.cmd-palette-item[aria-selected="true"] {
    background: rgba(0,212,255,0.1);
}
.cmd-palette-item-icon {
    font-size: 18px;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}
.cmd-palette-item-label {
    font-size: 14px;
    color: #ddd;
}
.cmd-palette-item-hint {
    margin-left: auto;
    font-size: 12px;
    color: #555;
}

.cmd-palette-footer {
    display: flex;
    gap: 18px;
    padding: 10px 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
    color: #555;
}
.cmd-palette-footer kbd {
    background: rgba(255,255,255,0.06);
    padding: 1px 5px;
    border-radius: 3px;
    font-family: inherit;
    border: 1px solid rgba(255,255,255,0.08);
    margin-right: 3px;
}

/* Floating Share Button */
.share-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
}
.share-fab-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #00d4ff, #7b2cbf);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.share-fab-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 212, 255, 0.45);
}
.share-fab-btn:focus-visible {
    outline: 2px solid #00d4ff;
    outline-offset: 3px;
}
.share-fab-btn[aria-expanded="true"] .share-fab-icon {
    transform: rotate(45deg);
}
.share-fab-icon {
    display: inline-block;
    transition: transform 0.2s ease;
    line-height: 1;
}
.share-fab-menu {
    position: absolute;
    bottom: 62px;
    right: 0;
    background: rgba(22, 33, 62, 0.95);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 160px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    animation: shareMenuIn 0.15s ease-out;
}
@keyframes shareMenuIn {
    from { opacity: 0; transform: translateY(8px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.share-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: none;
    background: transparent;
    color: #ccc;
    font-size: 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.share-option:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.share-option:focus-visible {
    outline: 2px solid #00d4ff;
    outline-offset: -2px;
}
.share-option-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    flex-shrink: 0;
}
.share-toast {
    position: absolute;
    bottom: 62px;
    right: 0;
    background: #00d4ff;
    color: #000;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    animation: shareToastIn 0.2s ease-out;
    pointer-events: none;
}
@keyframes shareToastIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
    .share-fab { bottom: 16px; right: 16px; }
    .share-fab-btn { width: 46px; height: 46px; font-size: 20px; }
}

/* ------------------------------------------------------------------ */
/* Theme Toggle Button                                                 */
/* ------------------------------------------------------------------ */
.theme-toggle {
    background: var(--color-surface-hover);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
    margin-right: 12px;
}
.theme-toggle:hover {
    background: rgba(255,255,255,0.18);
    transform: scale(1.08);
}
.theme-toggle:focus-visible {
    outline: 2px solid #00d4ff;
    outline-offset: 2px;
}

/* ------------------------------------------------------------------ */
/* Light Mode                                                          */
/* ------------------------------------------------------------------ */
body.light-mode {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 50%, #dbeafe 100%);
    color: #1a202c;
}

body.light-mode .site-nav {
    background: rgba(255,255,255,0.92);
    border-bottom-color: rgba(0,0,0,0.08);
}
body.light-mode .nav-logo { color: #1a202c; }
body.light-mode .nav-links a { color: #4a5568; }
body.light-mode .nav-links a:hover { color: #1a202c; }

body.light-mode .theme-toggle {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.12);
}
body.light-mode .theme-toggle:hover {
    background: rgba(0,0,0,0.1);
}

body.light-mode h1 {
    background: linear-gradient(90deg, #0077cc, #7b2cbf);
    -webkit-background-clip: text;
    background-clip: text;
}

body.light-mode .tagline { color: #718096; }

body.light-mode .features,
body.light-mode .how-it-works-section,
body.light-mode .demo-section,
body.light-mode .stats-section,
body.light-mode .usecases-section,
body.light-mode .integrations-section,
body.light-mode .comparison-section,
body.light-mode .calculator-section,
body.light-mode .trust-section,
body.light-mode .testimonials-section,
body.light-mode .pricing-section,
body.light-mode .changelog-section,
body.light-mode .roadmap-section,
body.light-mode .status-section,
body.light-mode .faq-section,
body.light-mode .newsletter-section {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.06);
}

body.light-mode .feature-text p,
body.light-mode .step-content p { color: #718096; }

body.light-mode .chat-window {
    background: #f7fafc;
    border-color: rgba(0,0,0,0.1);
}

body.light-mode .scenario-btn {
    background: rgba(0,0,0,0.04);
    color: #4a5568;
    border-color: rgba(0,0,0,0.08);
}
body.light-mode .scenario-btn.active {
    background: #0077cc;
    color: #fff;
    border-color: #0077cc;
}

body.light-mode .stat-card,
body.light-mode .integration-card,
body.light-mode .trust-card,
body.light-mode .testimonial-card,
body.light-mode .pricing-card,
body.light-mode .roadmap-card {
    background: rgba(255,255,255,0.9);
    border-color: rgba(0,0,0,0.08);
    color: #1a202c;
}

body.light-mode .stat-label,
body.light-mode .integration-card p,
body.light-mode .trust-card p,
body.light-mode .testimonial-quote { color: #4a5568; }

body.light-mode .usecase-tab {
    color: #4a5568;
    border-color: rgba(0,0,0,0.08);
}
body.light-mode .usecase-tab.active {
    background: #0077cc;
    color: #fff;
    border-color: #0077cc;
}

body.light-mode .usecase-panel {
    background: rgba(255,255,255,0.8);
    border-color: rgba(0,0,0,0.06);
}
body.light-mode .usecase-desc,
body.light-mode .usecase-list li { color: #4a5568; }

body.light-mode .comparison-table th { background: rgba(0,0,0,0.04); color: #1a202c; }
body.light-mode .comparison-table td { border-color: rgba(0,0,0,0.06); color: #4a5568; }
body.light-mode .comparison-table td:first-child { color: #1a202c; }
body.light-mode .comparison-table thead th.highlight-col { background: rgba(0,119,204,0.08); color: #0077cc; }
body.light-mode .comparison-table tbody td.highlight-cell { background: rgba(0,119,204,0.05); }
body.light-mode .comparison-table tbody tr:hover td { background: rgba(0,119,204,0.03); }
body.light-mode .comparison-table tbody tr:hover td.highlight-cell { background: rgba(0,119,204,0.09); }
body.light-mode .comp-yes { color: #16a34a; }
body.light-mode .comp-no { color: #9ca3af; }
body.light-mode .comp-partial { color: #ca8a04; }
body.light-mode .comp-text { color: #6b7280; }
body.light-mode .comparison-note { color: #9ca3af; }
body.light-mode .comparison-table-wrapper { border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius-sm); }

body.light-mode .trust-badge {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.08);
    color: #1a202c;
}

body.light-mode .pricing-card.popular {
    border-color: #0077cc;
}
body.light-mode .plan-features li { color: #4a5568; }
body.light-mode .price { color: #1a202c; }

body.light-mode .changelog-content {
    background: rgba(255,255,255,0.8);
    border-color: rgba(0,0,0,0.06);
}
body.light-mode .changelog-content p { color: #4a5568; }
body.light-mode .changelog-date { color: #718096; }

body.light-mode .faq-question { border-color: rgba(0,0,0,0.06); }
body.light-mode .faq-question h3 { color: #1a202c; }
body.light-mode .faq-answer p { color: #4a5568; }

body.light-mode .newsletter-input {
    background: #fff;
    border-color: rgba(0,0,0,0.12);
    color: #1a202c;
}
body.light-mode .newsletter-privacy,
body.light-mode .newsletter-subtitle { color: #718096; }

body.light-mode .cta-section { color: #1a202c; }
body.light-mode .cta-subtitle { color: #718096; }
body.light-mode .free-badge { color: #4a5568; }

body.light-mode .footer { color: #718096; }
body.light-mode .footer a { color: #0077cc; }

body.light-mode .cmd-palette-overlay { background: rgba(0,0,0,0.3); }
body.light-mode .cmd-palette {
    background: #fff;
    border-color: rgba(0,0,0,0.1);
}
body.light-mode .cmd-palette-input {
    color: #1a202c;
    background: transparent;
}
body.light-mode .cmd-palette-results li { color: #4a5568; }
body.light-mode .cmd-palette-results li.active {
    background: #0077cc;
    color: #fff;
}

body.light-mode .share-fab-btn {
    background: #fff;
    border-color: rgba(0,0,0,0.1);
}
body.light-mode .share-fab-menu {
    background: #fff;
    border-color: rgba(0,0,0,0.08);
}
body.light-mode .share-option { color: #4a5568; }
body.light-mode .share-option:hover { background: rgba(0,0,0,0.04); color: #1a202c; }

body.light-mode .status-dot.operational { background: #38a169; }
body.light-mode .status-service { border-color: rgba(0,0,0,0.06); }
body.light-mode .status-service-name { color: #1a202c; }
body.light-mode .status-uptime { color: #718096; }
body.light-mode .status-bar { background: #e2e8f0; }
body.light-mode .status-bar-fill { background: #38a169; }
body.light-mode .status-incident { border-color: rgba(0,0,0,0.06); }
body.light-mode .status-incident-text { color: #4a5568; }

body.light-mode .nav-hamburger,
body.light-mode .nav-hamburger::before,
body.light-mode .nav-hamburger::after { background: #1a202c; }

/* -----------------------------------------------------------------------
   Scroll Progress Bar + Back to Top
   ----------------------------------------------------------------------- */

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  z-index: 10001;
  transition: width 0.1s linear;
  pointer-events: none;
}

.light-mode .scroll-progress-bar {
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
}

.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(102, 126, 234, 0.9);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.2s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(118, 75, 162, 0.95);
  transform: translateY(-2px);
}

.back-to-top:active {
  transform: translateY(0);
}

.light-mode .back-to-top {
  background: rgba(79, 70, 229, 0.9);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.light-mode .back-to-top:hover {
  background: rgba(124, 58, 237, 0.95);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 80px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress-bar {
    transition: none;
  }
  .back-to-top {
    transition: opacity 0.1s, visibility 0.1s;
  }
}

/* Keyboard Shortcuts Modal */
.shortcuts-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.shortcuts-overlay[hidden] {
  display: none;
}

.shortcuts-modal {
  background: var(--card-bg, #1a1a2e);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 480px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: shortcuts-in 0.2s ease-out;
}

@keyframes shortcuts-in {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.shortcuts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.1));
}

.shortcuts-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text, #e0e0e0);
}

.shortcuts-close {
  background: none;
  border: none;
  color: var(--text-muted, #999);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s;
}

.shortcuts-close:hover {
  color: var(--text, #e0e0e0);
}

.shortcuts-body {
  padding: 16px 24px 24px;
}

.shortcuts-group {
  margin-bottom: 20px;
}

.shortcuts-group:last-child {
  margin-bottom: 0;
}

.shortcuts-group h4 {
  margin: 0 0 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent, #00d4ff);
}

.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  color: var(--text, #e0e0e0);
  font-size: 0.9rem;
}

.shortcut-row kbd {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  padding: 2px 8px;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--text, #e0e0e0);
  min-width: 24px;
  text-align: center;
}

/* Light theme overrides */
[data-theme="light"] .shortcuts-modal {
  background: #fff;
  border-color: #e0e0e0;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .shortcuts-header {
  border-bottom-color: #e0e0e0;
}

[data-theme="light"] .shortcut-row kbd {
  background: #f5f5f5;
  border-color: #ddd;
  color: var(--color-text-dark);
}

/* ── Agent Activity Feed ─────────────────────────────────────── */

.activity-section {
  padding: 80px 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.activity-section h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.activity-subtitle {
  color: #8892b0;
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 320px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-align: left;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.activity-item.entering {
  animation: activitySlideIn 0.4s ease forwards;
}

.activity-item.exiting {
  animation: activitySlideOut 0.4s ease forwards;
}

@keyframes activitySlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 60px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

@keyframes activitySlideOut {
  from {
    opacity: 1;
    transform: translateY(0);
    max-height: 60px;
  }
  to {
    opacity: 0;
    transform: translateY(20px);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}

.activity-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.activity-text {
  flex: 1;
  font-size: 0.95rem;
  color: #ccd6f6;
  line-height: 1.4;
}

.activity-text strong {
  color: #64ffda;
}

.activity-time {
  font-size: 0.8rem;
  color: #5a6785;
  white-space: nowrap;
  flex-shrink: 0;
}

.activity-stats-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 20px;
  padding: 12px 0;
}

.activity-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #8892b0;
}

.activity-stat span:first-child {
  font-weight: 600;
}

.activity-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #64ffda;
  border-radius: 50%;
  animation: activityPulse 2s ease-in-out infinite;
}

@keyframes activityPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(100, 255, 218, 0); }
}

/* Light mode */
.light-mode .activity-feed {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

.light-mode .activity-item {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.light-mode .activity-text {
  color: #334155;
}

.light-mode .activity-text strong {
  color: #0d9488;
}

.light-mode .activity-time {
  color: #94a3b8;
}

.light-mode .activity-stat {
  color: #64748b;
}

.light-mode .activity-pulse {
  background: #0d9488;
  animation-name: activityPulseLight;
}

@keyframes activityPulseLight {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(13, 148, 136, 0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .activity-item.entering,
  .activity-item.exiting {
    animation: none;
  }
  .activity-pulse {
    animation: none;
  }
}

@media (max-width: 600px) {
  .activity-section {
    padding: 50px 20px;
  }
  .activity-stats-bar {
    flex-direction: column;
    gap: 8px;
  }
  .activity-item {
    padding: 10px 14px;
  }
}

/* ── Personality Configurator ─────────────────────────────────────────── */
.personality-section {
  padding: 80px 0;
  text-align: center;
}
.personality-subtitle {
  color: var(--text-muted, #888);
  margin-bottom: 32px;
}
.personality-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.personality-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.personality-slider-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.personality-slider-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary, #fff);
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted, #888);
}
.personality-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-tertiary, #333);
  outline: none;
  cursor: pointer;
}
.personality-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent, #4f8cff);
  border: 2px solid var(--bg-primary, #111);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.personality-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.personality-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent, #4f8cff);
  border: 2px solid var(--bg-primary, #111);
  cursor: pointer;
}
.personality-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.preset-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-color, #333);
  background: var(--bg-secondary, #1a1a2e);
  color: var(--text-primary, #fff);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.preset-btn:hover,
.preset-btn.active {
  border-color: var(--accent, #4f8cff);
  background: var(--accent, #4f8cff);
  color: #fff;
}
.personality-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.preview-question {
  background: var(--bg-secondary, #1a1a2e);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-color, #333);
}
.preview-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted, #888);
  display: block;
  margin-bottom: 8px;
}
.preview-question p {
  font-style: italic;
  color: var(--text-primary, #fff);
  margin: 0 0 10px 0;
}
.preview-cycle-btn {
  background: none;
  border: none;
  color: var(--accent, #4f8cff);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0;
}
.preview-cycle-btn:hover {
  text-decoration: underline;
}
.preview-response {
  background: var(--bg-secondary, #1a1a2e);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-color, #333);
  flex: 1;
}
.preview-chat-bubble {
  background: var(--bg-tertiary, #252540);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text-primary, #fff);
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-wrap;
  min-height: 80px;
  transition: opacity 0.3s ease;
}
.preview-chat-bubble.updating {
  opacity: 0.5;
}

@media (max-width: 768px) {
  .personality-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── Prompt Gallery ──────────────────────────────────────────────────── */
.prompt-gallery-section {
  padding: 80px 0;
  text-align: center;
}
.prompt-gallery-subtitle {
  color: var(--text-muted, #888);
  margin-bottom: 28px;
  font-size: 1.1rem;
}
.prompt-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.prompt-filter-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--border, #333);
  background: transparent;
  color: var(--text, #fff);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.prompt-filter-btn:hover {
  border-color: var(--accent, #4A90D9);
  color: var(--accent, #4A90D9);
}
.prompt-filter-btn.active {
  background: var(--accent, #4A90D9);
  border-color: var(--accent, #4A90D9);
  color: #fff;
}
.prompt-search-wrapper {
  max-width: 400px;
  margin: 0 auto 28px;
}
.prompt-search-input {
  width: 100%;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border, #333);
  background: var(--card-bg, #1a1a2e);
  color: var(--text, #fff);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.prompt-search-input:focus {
  border-color: var(--accent, #4A90D9);
}
.prompt-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.prompt-card {
  background: var(--card-bg, #1a1a2e);
  border: 1px solid var(--border, #333);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.prompt-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent, #4A90D9);
  box-shadow: 0 4px 20px rgba(74, 144, 217, 0.15);
}
.prompt-card:focus-visible {
  outline: 2px solid var(--accent, #4A90D9);
  outline-offset: 2px;
}
.prompt-card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent, #4A90D9);
  margin-bottom: 8px;
  font-weight: 600;
}
.prompt-card-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text, #fff);
}
.prompt-card-hint {
  font-size: 0.8rem;
  color: var(--text-muted, #888);
  margin-top: 10px;
}
.prompt-gallery-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted, #888);
}
.prompt-empty-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 8px;
}

/* Prompt response modal */
.prompt-response-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.prompt-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.prompt-modal-content {
  position: relative;
  background: var(--card-bg, #1a1a2e);
  border: 1px solid var(--border, #333);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  animation: promptModalIn 0.25s ease-out;
}
@keyframes promptModalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.prompt-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted, #888);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.prompt-modal-close:hover {
  color: var(--text, #fff);
}
.prompt-modal-question {
  background: var(--accent, #4A90D9);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md) 12px 4px 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  text-align: right;
  line-height: 1.4;
}
.prompt-modal-answer {
  background: var(--bg-alt, #16213e);
  padding: 16px 18px;
  border-radius: 4px 12px 12px 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text, #fff);
  text-align: left;
  white-space: pre-line;
}
.prompt-modal-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 24px;
  background: var(--accent, #4A90D9);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}
.prompt-modal-cta:hover {
  opacity: 0.85;
}

@media (max-width: 640px) {
  .prompt-gallery-grid {
    grid-template-columns: 1fr;
  }
  .prompt-modal-content {
    padding: 24px 18px;
  }
}

/* ── Onboarding Wizard ────────────────────────────────────── */

.onboarding-widget {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 1050;
  font-family: inherit;
}

.onboarding-trigger {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.onboarding-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
}
.onboarding-trigger-icon { position: relative; z-index: 2; }
.onboarding-trigger-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.6);
  animation: onboarding-pulse 2s ease-out infinite;
}
@keyframes onboarding-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.onboarding-panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 48px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(0,0,0,0.15);
  overflow: hidden;
  animation: onboarding-slide-up 0.3s ease-out;
}
@keyframes onboarding-slide-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.onboarding-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 8px;
}
.onboarding-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
}
.onboarding-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #666;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  line-height: 1;
}
.onboarding-close:hover { background: #f0f0f0; color: var(--color-text-dark); }

.onboarding-progress {
  height: 3px;
  background: #e5e7eb;
  margin: 0 20px 12px;
  border-radius: 2px;
  overflow: hidden;
}
.onboarding-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.onboarding-body {
  padding: 0 20px 8px;
  min-height: 200px;
}
.onboarding-question {
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 12px;
}
.onboarding-hint {
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
  margin: 8px 0 0;
}

.onboarding-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.onboarding-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-md);
  background: #fafafa;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.onboarding-option:hover {
  border-color: #c7d2fe;
  background: #eef2ff;
}
.onboarding-option[aria-pressed="true"],
.onboarding-option.selected {
  border-color: #6366f1;
  background: #eef2ff;
  box-shadow: 0 0 0 1px #6366f1;
}
.onboarding-option-icon { font-size: 1.5rem; }
.onboarding-option-label { font-size: 0.85rem; font-weight: 600; color: #1f2937; }
.onboarding-option-desc { font-size: 0.7rem; color: #6b7280; line-height: 1.3; }

.onboarding-goals .onboarding-option {
  flex-direction: row;
  padding: 10px 12px;
  gap: 10px;
  text-align: left;
}
.onboarding-goals .onboarding-option-icon { font-size: 1.2rem; flex-shrink: 0; }
.onboarding-goals .onboarding-option-label { font-size: 0.82rem; }
.onboarding-goals .onboarding-option-desc { display: none; }

.onboarding-result {
  text-align: center;
}
.onboarding-result-badge {
  display: inline-block;
  font-size: 2.5rem;
  margin-bottom: 8px;
}
.onboarding-result-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 6px;
}
.onboarding-result-desc {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0 0 14px;
}
.onboarding-result-features {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  text-align: left;
}
.onboarding-result-features li {
  font-size: 0.82rem;
  color: #374151;
  padding: 5px 0;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 8px;
}
.onboarding-result-features li:last-child { border-bottom: none; }
.onboarding-result-plan {
  font-size: 0.78rem;
  color: #8b5cf6;
  font-weight: 600;
  margin: 0 0 10px;
}
.onboarding-result-cta {
  display: inline-block;
  padding: 10px 28px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.onboarding-result-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.onboarding-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 16px;
}
.onboarding-btn {
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.onboarding-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.onboarding-btn-back {
  background: transparent;
  color: #6b7280;
}
.onboarding-btn-back:hover:not(:disabled) { background: #f3f4f6; }
.onboarding-btn-next {
  background: #6366f1;
  color: #fff;
}
.onboarding-btn-next:hover:not(:disabled) { background: #4f46e5; }

.onboarding-step-dots {
  display: flex;
  gap: 6px;
}
.onboarding-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  transition: background 0.2s, transform 0.2s;
}
.onboarding-dot.active {
  background: #6366f1;
  transform: scale(1.2);
}

/* Dark mode */
[data-theme="dark"] .onboarding-panel {
  background: #1e1e2e;
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}
[data-theme="dark"] .onboarding-title { color: #e5e7eb; }
[data-theme="dark"] .onboarding-close { color: #9ca3af; }
[data-theme="dark"] .onboarding-close:hover { background: #2a2a3e; color: #e5e7eb; }
[data-theme="dark"] .onboarding-progress { background: #374151; }
[data-theme="dark"] .onboarding-question { color: #d1d5db; }
[data-theme="dark"] .onboarding-option {
  border-color: #374151;
  background: #252536;
  color: #e5e7eb;
}
[data-theme="dark"] .onboarding-option:hover {
  border-color: #6366f1;
  background: #2d2d44;
}
[data-theme="dark"] .onboarding-option[aria-pressed="true"],
[data-theme="dark"] .onboarding-option.selected {
  border-color: #818cf8;
  background: #2d2d44;
  box-shadow: 0 0 0 1px #818cf8;
}
[data-theme="dark"] .onboarding-option-label { color: #e5e7eb; }
[data-theme="dark"] .onboarding-option-desc { color: #9ca3af; }
[data-theme="dark"] .onboarding-result-title { color: #e5e7eb; }
[data-theme="dark"] .onboarding-result-desc { color: #9ca3af; }
[data-theme="dark"] .onboarding-result-features li { color: #d1d5db; border-color: #374151; }
[data-theme="dark"] .onboarding-result-plan { color: #a78bfa; }
[data-theme="dark"] .onboarding-dot { background: #4b5563; }
[data-theme="dark"] .onboarding-dot.active { background: #818cf8; }
[data-theme="dark"] .onboarding-btn-back { color: #9ca3af; }
[data-theme="dark"] .onboarding-btn-back:hover:not(:disabled) { background: #2a2a3e; }

@media (max-width: 480px) {
  .onboarding-widget { bottom: 80px; right: 16px; }
  .onboarding-panel { width: 320px; max-width: calc(100vw - 32px); }
  .onboarding-trigger { width: 48px; height: 48px; font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .onboarding-trigger-pulse { animation: none; }
  .onboarding-panel { animation: none; }
}

/* -- Commands Cheat Sheet -- */
.commands-section {
  margin: 60px 0;
  text-align: center;
}
.commands-subtitle {
  color: var(--text-secondary, #666);
  margin-bottom: 24px;
  font-size: 1.05rem;
}
.commands-search-wrapper {
  max-width: 400px;
  margin: 0 auto 16px;
}
.commands-search-input {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--border, #e0e0e0);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--bg-secondary, #f9f9f9);
  color: var(--text-primary, #222);
  outline: none;
  transition: border-color 0.2s;
}
.commands-search-input:focus {
  border-color: var(--accent, #6c5ce7);
}
.commands-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.commands-filter-btn {
  padding: 6px 14px;
  border: 1px solid var(--border, #e0e0e0);
  border-radius: 20px;
  background: var(--bg-secondary, #f9f9f9);
  color: var(--text-primary, #333);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.commands-filter-btn.active,
.commands-filter-btn:hover {
  background: var(--accent, #6c5ce7);
  color: #fff;
  border-color: var(--accent, #6c5ce7);
}
.commands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  text-align: left;
}
.command-card {
  background: var(--bg-secondary, #f9f9f9);
  border: 1px solid var(--border, #e0e0e0);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  position: relative;
}
.command-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: var(--accent, #6c5ce7);
}
.command-card.copied {
  border-color: #00b894;
}
.command-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.command-card-icon { font-size: 1.2rem; }
.command-card-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary, #222);
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}
.command-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary, #666);
  line-height: 1.4;
  margin-bottom: 8px;
}
.command-card-example {
  font-size: 0.8rem;
  color: var(--text-tertiary, #999);
  font-style: italic;
}
.command-card-example::before { content: "\1F4AC "; }
.command-card-copy-hint {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 0.75rem;
  color: var(--text-tertiary, #999);
  opacity: 0;
  transition: opacity 0.2s;
}
.command-card:hover .command-card-copy-hint { opacity: 1; }
.commands-empty {
  text-align: center;
  padding: 32px;
  color: var(--text-secondary, #666);
}
.commands-empty-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 8px;
}
.commands-copied-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #00b894;
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  z-index: 9999;
  animation: cmdToastIn 0.3s ease;
}
@keyframes cmdToastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@media (max-width: 600px) {
  .commands-grid { grid-template-columns: 1fr; }
}

/* ───────────────────────────────────────────────────────────
   Onboarding Quiz
   ─────────────────────────────────────────────────────────── */

.quiz-section {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 640px;
  margin: 0 auto;
}
.quiz-subtitle {
  color: var(--color-text-dim);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.quiz-container {
  background: #1a1a2e;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Progress bar */
.quiz-progress {
  position: relative;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  margin-bottom: 2rem;
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #00d4ff, #7b2ff7);
  border-radius: 4px;
  transition: width 0.4s ease;
}
.quiz-progress-text {
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 0.75rem;
  color: var(--color-text-dim);
}

/* Start screen */
.quiz-start {
  padding: 2rem 0;
}
.quiz-start-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}
.quiz-start-text {
  color: #ccc;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.quiz-start-btn {
  background: linear-gradient(135deg, #00d4ff, #7b2ff7);
  color: #fff;
  border: none;
  padding: 0.85rem 2.5rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.quiz-start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123,47,247,0.4);
}

/* Question area */
.quiz-q {
  animation: quizFadeIn 0.3s ease;
}
.quiz-q-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.quiz-step-label {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  display: block;
  margin-bottom: 1.5rem;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  color: #ddd;
  font-size: 1rem;
  text-align: left;
}
.quiz-option:hover {
  border-color: rgba(123,47,247,0.5);
  background: rgba(123,47,247,0.08);
  transform: translateX(4px);
}
.quiz-option:focus-visible {
  outline: 2px solid #7b2ff7;
  outline-offset: 2px;
}
.quiz-option.selected {
  border-color: #7b2ff7;
  background: rgba(123,47,247,0.15);
}
.quiz-option-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.quiz-option-label {
  flex: 1;
}
.quiz-back-btn {
  display: inline-block;
  margin-top: 1.25rem;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: #aaa;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.2s, border-color 0.2s;
}
.quiz-back-btn:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

/* Result */
.quiz-result {
  padding: 1.5rem 0;
  animation: quizFadeIn 0.4s ease;
}
.quiz-result-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}
.quiz-result-title {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.quiz-result-desc {
  color: #bbb;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.quiz-result-reasons {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
}
.quiz-result-reasons li {
  color: #adf5c5;
  padding: 0.35rem 0;
  font-size: 0.9rem;
}
.quiz-result-cta {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.quiz-result-cta:hover {
  transform: translateY(-2px);
}
.quiz-plan-free {
  background: #2e7d32;
}
.quiz-plan-free:hover { box-shadow: 0 6px 20px rgba(46,125,50,0.4); }
.quiz-plan-pro {
  background: linear-gradient(135deg, #00d4ff, #7b2ff7);
}
.quiz-plan-pro:hover { box-shadow: 0 6px 20px rgba(123,47,247,0.4); }
.quiz-plan-team {
  background: linear-gradient(135deg, #f57c00, #e91e63);
}
.quiz-plan-team:hover { box-shadow: 0 6px 20px rgba(233,30,99,0.4); }

.quiz-retake-btn {
  display: block;
  margin: 1.25rem auto 0;
  background: none;
  border: none;
  color: var(--color-text-dim);
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.quiz-retake-btn:hover { color: #fff; }

@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Light theme overrides */
:root[data-theme="light"] .quiz-container {
  background: #f5f5f5;
  border-color: rgba(0,0,0,0.08);
}
:root[data-theme="light"] .quiz-q-title { color: #222; }
:root[data-theme="light"] .quiz-option {
  color: var(--color-text-dark);
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.1);
}
:root[data-theme="light"] .quiz-option:hover {
  background: rgba(123,47,247,0.06);
}
:root[data-theme="light"] .quiz-result-title { color: #222; }
:root[data-theme="light"] .quiz-result-desc { color: #555; }
:root[data-theme="light"] .quiz-result-reasons li { color: #1b5e20; }

@media (max-width: 600px) {
  .quiz-section { padding: 2rem 1rem; }
  .quiz-container { padding: 1.25rem; }
  .quiz-q-title { font-size: 1.1rem; }
}

/* ── API Explorer ────────────────────────────────────────────────── */
.api-explorer-section { padding: 3rem 2rem; max-width: 900px; margin: 0 auto; }
.api-explorer-section h2 { text-align: center; font-size: 1.8rem; margin-bottom: 0.5rem; }
.api-explorer-subtitle { text-align: center; color: var(--text-muted, #888); margin-bottom: 1.5rem; font-size: 1rem; }
.api-explorer-filter { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.5rem; }
.api-filter-btn {
  padding: 6px 14px; border-radius: 20px; border: 1px solid var(--border, #333);
  background: transparent; color: var(--text-secondary, #aaa); cursor: pointer;
  font-size: 0.85rem; transition: all var(--transition-fast);
}
.api-filter-btn:hover { border-color: var(--accent, #646cff); color: var(--accent, #646cff); }
.api-filter-btn.active { background: var(--accent, #646cff); color: #fff; border-color: var(--accent, #646cff); }
.api-explorer-grid { display: flex; flex-direction: column; gap: 8px; }
.api-endpoint-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border: 1px solid var(--border, #333); border-radius: 10px;
  background: var(--card-bg, rgba(255,255,255,0.03)); cursor: pointer;
  transition: all var(--transition-fast);
}
.api-endpoint-card:hover { border-color: var(--accent, #646cff); transform: translateX(4px); }
.api-endpoint-card.active { border-color: var(--accent, #646cff); background: rgba(100, 108, 255, 0.08); }
.api-method-badge {
  font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.5px; min-width: 52px; text-align: center;
  flex-shrink: 0;
}
.api-method-badge.get { background: #22863a22; color: #22863a; border: 1px solid #22863a44; }
.api-method-badge.post { background: #1e66f522; color: #1e66f5; border: 1px solid #1e66f544; }
.api-method-badge.put { background: #e3b34122; color: #e3b341; border: 1px solid #e3b34144; }
.api-method-badge.delete { background: #d73a4922; color: #d73a49; border: 1px solid #d73a4944; }
.api-endpoint-path { font-family: 'Fira Code', 'Consolas', monospace; font-size: 0.9rem; color: var(--text-primary, #eee); }
.api-endpoint-desc { font-size: 0.8rem; color: var(--text-muted, #888); margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.api-detail-panel {
  margin-top: 1.5rem; border: 1px solid var(--border, #333); border-radius: var(--radius-md);
  background: var(--card-bg, rgba(255,255,255,0.03)); overflow: hidden;
  animation: apiSlideIn 0.2s ease;
}
@keyframes apiSlideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.api-detail-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border, #333);
  background: rgba(100, 108, 255, 0.05);
}
.api-detail-header h3 { font-size: 1rem; margin: 0; }
.api-detail-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text-muted, #888); padding: 0 4px; }
.api-detail-close:hover { color: var(--text-primary, #eee); }
.api-detail-body { padding: 20px; }
.api-detail-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; font-size: 0.85rem; color: var(--text-muted, #888); }
.api-detail-meta span { display: flex; align-items: center; gap: 4px; }
.api-detail-section { margin-bottom: 16px; }
.api-detail-section h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted, #888); margin-bottom: 8px; }
.api-code-block {
  position: relative; background: var(--code-bg, #0d1117); border-radius: var(--radius-sm);
  padding: 14px 16px; overflow-x: auto; font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 0.8rem; line-height: 1.6; color: #c9d1d9; border: 1px solid var(--border, #333);
}
.api-code-block pre { margin: 0; white-space: pre-wrap; word-break: break-word; }
.api-copy-btn {
  position: absolute; top: 8px; right: 8px; padding: 4px 10px; border-radius: 6px;
  border: 1px solid var(--border, #333); background: rgba(255,255,255,0.06);
  color: var(--text-muted, #888); font-size: 0.75rem; cursor: pointer;
  transition: all 0.15s ease; z-index: 2;
}
.api-copy-btn:hover { background: rgba(255,255,255,0.12); color: var(--text-primary, #eee); }
.api-copy-btn.copied { background: #22863a22; color: #22863a; border-color: #22863a44; }
.api-status-badge { font-size: 0.75rem; padding: 2px 8px; border-radius: 10px; background: #22863a22; color: #22863a; margin-left: 8px; }
.api-explorer-note { text-align: center; font-size: 0.85rem; color: var(--text-muted, #888); margin-top: 1.5rem; }
.api-explorer-note a { color: var(--accent, #646cff); text-decoration: none; }
.api-explorer-note a:hover { text-decoration: underline; }

@media (max-width: 700px) {
  .api-explorer-section { padding: 2rem 1rem; }
  .api-endpoint-desc { display: none; }
  .api-detail-meta { flex-direction: column; gap: 8px; }
}

/* Workflow Templates */
.workflow-section { padding: 4rem 2rem; max-width: 900px; margin: 0 auto; }
.workflow-section h2 { text-align: center; margin-bottom: 0.5rem; }
.workflow-subtitle { text-align: center; color: var(--text-muted, #888); margin-bottom: 2rem; }
.workflow-filter { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.workflow-filter-btn { padding: 6px 14px; border-radius: 20px; border: 1px solid var(--border, #e0e0e0); background: var(--bg-card, #fff); color: var(--text, #333); cursor: pointer; font-size: 0.85rem; transition: all 0.2s; }
.workflow-filter-btn:hover { border-color: var(--accent, #646cff); color: var(--accent, #646cff); }
.workflow-filter-btn.active { background: var(--accent, #646cff); color: #fff; border-color: var(--accent, #646cff); }
.workflow-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.workflow-card { background: var(--bg-card, #fff); border: 1px solid var(--border, #e0e0e0); border-radius: var(--radius-md); padding: 1.25rem; cursor: pointer; transition: all 0.2s; }
.workflow-card:hover, .workflow-card:focus { border-color: var(--accent, #646cff); box-shadow: 0 4px 12px rgba(100,108,255,0.12); transform: translateY(-2px); outline: none; }
.workflow-card-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.workflow-card-title { font-size: 1rem; font-weight: 600; margin: 0 0 0.4rem; }
.workflow-card-desc { font-size: 0.85rem; color: var(--text-muted, #888); line-height: 1.4; margin: 0 0 0.75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.workflow-card-meta { display: flex; gap: 8px; align-items: center; }
.workflow-difficulty { font-size: 0.7rem; padding: 2px 8px; border-radius: 10px; font-weight: 500; text-transform: capitalize; }
.workflow-difficulty-easy { background: #22863a22; color: #22863a; }
.workflow-difficulty-medium { background: #e3910022; color: #b87900; }
.workflow-difficulty-hard { background: #d7342822; color: #d73428; }
.workflow-category-badge { font-size: 0.7rem; padding: 2px 8px; border-radius: 10px; background: var(--accent-soft, #646cff22); color: var(--accent, #646cff); text-transform: capitalize; }
.workflow-detail { background: var(--bg-card, #fff); border: 1px solid var(--border, #e0e0e0); border-radius: var(--radius-md); margin-top: 1.5rem; padding: 1.5rem; }
.workflow-detail-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.workflow-detail-header h3 { font-size: 1.2rem; margin: 0; }
.workflow-detail-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted, #888); padding: 4px 8px; border-radius: 6px; }
.workflow-detail-close:hover { background: var(--bg-hover, #f0f0f0); }
.workflow-detail-desc { color: var(--text-muted, #888); margin: 0 0 1rem; line-height: 1.5; }
.workflow-steps-list { padding-left: 1.2rem; margin: 0 0 1.5rem; line-height: 1.8; }
.workflow-steps-list li { margin-bottom: 0.3rem; }
.workflow-setup h4 { margin: 0 0 0.5rem; font-size: 0.9rem; }
.workflow-code-block { position: relative; background: var(--bg-code, #f6f8fa); border: 1px solid var(--border, #e0e0e0); border-radius: var(--radius-sm); padding: 1rem; }
.workflow-code-block pre { margin: 0; white-space: pre-wrap; word-break: break-word; font-size: 0.85rem; line-height: 1.5; font-family: 'SF Mono', Consolas, monospace; }
.workflow-copy-btn { position: absolute; top: 8px; right: 8px; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--border, #e0e0e0); background: var(--bg-card, #fff); cursor: pointer; font-size: 0.8rem; transition: all 0.2s; }
.workflow-copy-btn:hover { border-color: var(--accent, #646cff); color: var(--accent, #646cff); }
.workflow-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1rem; }
.workflow-tag { font-size: 0.75rem; padding: 2px 8px; border-radius: 10px; background: var(--bg-hover, #f0f0f0); color: var(--text-muted, #888); }
.workflow-note { text-align: center; font-size: 0.85rem; color: var(--text-muted, #888); margin-top: 1.5rem; }
.workflow-note a { color: var(--accent, #646cff); text-decoration: none; }
.workflow-note a:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .workflow-section { padding: 2rem 1rem; }
  .workflow-grid { grid-template-columns: 1fr; }
}

/* ── Quick Start Wizard ── */
.wizard-section {
  padding: 3rem 2rem;
  text-align: center;
}
.wizard-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.wizard-subtitle {
  color: var(--color-text-dim);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.wizard-container {
  max-width: 640px;
  margin: 0 auto;
  background: var(--card-bg, #1a1a2e);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border, #333);
}
.wizard-progress {
  height: 4px;
  background: var(--border, #333);
  border-radius: 2px;
  margin-bottom: 2rem;
  overflow: hidden;
}
.wizard-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.wizard-step {
  display: none;
}
.wizard-step.active {
  display: block;
}
.wizard-step h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}
.wizard-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.wizard-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg, #0d0d1a);
  border: 2px solid var(--border, #333);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, transform 0.15s;
  color: inherit;
  font-size: 1rem;
}
.wizard-option:hover {
  border-color: #667eea;
  transform: translateX(4px);
}
.wizard-option.selected {
  border-color: #764ba2;
  background: rgba(118, 75, 162, 0.1);
}
.wizard-option[aria-checked="true"] {
  border-color: #764ba2;
  background: rgba(118, 75, 162, 0.1);
}
.wizard-option-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.wizard-option-label {
  font-weight: 600;
  display: block;
}
.wizard-option-desc {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  display: block;
}
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}
.wizard-btn {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s;
  font-weight: 600;
}
.wizard-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.wizard-btn-back {
  background: var(--border, #333);
  color: inherit;
}
.wizard-btn-next {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
}
.wizard-step-indicator {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}
.wizard-result {
  text-align: left;
}
.wizard-result-plan {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wizard-result-plan li {
  padding: 0.75rem 1rem;
  background: var(--bg, #0d0d1a);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.wizard-result-plan .plan-step-num {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.wizard-result-plan .plan-step-text {
  flex: 1;
}
.wizard-result-plan .plan-step-text strong {
  display: block;
  margin-bottom: 2px;
}
.wizard-result-plan .plan-step-text span {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}
.wizard-result-rec {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(102, 126, 234, 0.08);
  border-radius: 10px;
  border-left: 3px solid #667eea;
}
.wizard-result-rec strong {
  display: block;
  margin-bottom: 0.25rem;
}
.wizard-result-cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}
.wizard-result-cta:hover {
  opacity: 0.9;
}
@media (max-width: 600px) {
  .wizard-container { padding: 1.25rem; }
  .wizard-section { padding: 2rem 1rem; }
}

/* ── Social Proof Notification Toasts ─────────────────────── */
.sp-toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1040;
  pointer-events: none;
}

.sp-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg, #1a1a2e);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-width: 340px;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(20px) translateX(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.sp-toast-visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

.sp-toast-hiding {
  opacity: 0;
  transform: translateY(20px) translateX(-20px);
}

.sp-toast-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.sp-toast-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.sp-toast-msg {
  font-size: 0.88rem;
  color: var(--text, #e0e0e0);
  line-height: 1.4;
}

.sp-toast-time {
  font-size: 0.75rem;
  color: var(--text-muted, #888);
}

.sp-toast-close {
  background: none;
  border: none;
  color: var(--text-muted, #888);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
}

.sp-toast-close:hover {
  color: var(--text, #e0e0e0);
  background: rgba(255, 255, 255, 0.08);
}

/* Light mode */
.light-mode .sp-toast {
  background: #fff;
  border-color: #e0e0e0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.light-mode .sp-toast-msg {
  color: var(--color-text-dark);
}

.light-mode .sp-toast-close:hover {
  color: var(--color-text-dark);
  background: rgba(0, 0, 0, 0.06);
}

@media (max-width: 480px) {
  .sp-toast-container {
    left: 12px;
    bottom: 12px;
    right: 12px;
  }
  .sp-toast {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-toast {
    transition: opacity 0.1s;
    transform: none;
  }
  .sp-toast-visible {
    transform: none;
  }
  .sp-toast-hiding {
    transform: none;
  }
}

/* ── Before/After Section ─────────────────────────────────── */
.before-after-section {
  padding: 4rem 2rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.before-after-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.before-after-subtitle {
  color: var(--text-muted, #888);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.before-after-toggle {
  display: inline-flex;
  border: 1px solid var(--border, #333);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
}
.ba-tab {
  padding: 0.75rem 1.5rem;
  border: none;
  background: transparent;
  color: var(--text-muted, #888);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.ba-tab.active {
  background: var(--accent, #646cff);
  color: #fff;
}
.ba-tab:not(.active):hover {
  background: rgba(100, 108, 255, 0.1);
  color: var(--text-primary, #eee);
}
.ba-panel {
  display: none;
  animation: baFadeIn 0.35s ease;
}
.ba-panel.active {
  display: block;
}
@keyframes baFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ba-timeline {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ba-item {
  display: grid;
  grid-template-columns: 70px 36px 1fr 60px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.ba-item:hover {
  background: rgba(255, 255, 255, 0.03);
}
.ba-item.ba-pain {
  border-left-color: #e74c3c;
}
.ba-item.ba-win {
  border-left-color: #2ecc71;
}
.ba-time {
  font-size: 0.8rem;
  color: var(--text-muted, #888);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.ba-icon {
  font-size: 1.2rem;
  text-align: center;
}
.ba-text {
  font-size: 0.9rem;
  color: var(--text-primary, #eee);
  line-height: 1.4;
}
.ba-duration {
  font-size: 0.75rem;
  color: var(--text-muted, #888);
  text-align: right;
  font-weight: 600;
}
.ba-pain .ba-duration {
  color: #e74c3c;
}
.ba-win .ba-duration {
  color: #2ecc71;
}
.ba-total {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
}
.ba-panel:first-of-type .ba-total,
#baPanelBefore .ba-total {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}
#baPanelAfter .ba-total {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.2);
  color: #2ecc71;
}
.light-mode .ba-item:hover {
  background: rgba(0, 0, 0, 0.03);
}
@media (max-width: 600px) {
  .before-after-section { padding: 2rem 1rem; }
  .ba-item { grid-template-columns: 60px 28px 1fr 50px; gap: 8px; padding: 10px 12px; }
  .ba-text { font-size: 0.82rem; }
  .ba-tab { padding: 0.6rem 1rem; font-size: 0.85rem; }
}

/* ── Growth Timeline ─────────────────────────────────────────── */
.growth-timeline-section { text-align: center; padding: 3rem 1rem; }
.growth-timeline-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.growth-timeline-subtitle { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.growth-timeline-controls { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.growth-tab { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); padding: 0.6rem 1.2rem; border-radius: var(--radius-sm); cursor: pointer; font-size: 0.95rem; transition: all 0.3s; }
.growth-tab:hover { background: rgba(255,255,255,0.12); color: #fff; }
.growth-tab.active { background: linear-gradient(135deg, #4ade80, #22d3ee); color: #111; border-color: transparent; font-weight: 600; }
.growth-progress-bar { position: relative; height: 6px; background: var(--color-surface-hover); border-radius: 3px; max-width: 500px; margin: 0 auto 2rem; }
.growth-progress-fill { height: 100%; background: linear-gradient(90deg, #4ade80, #22d3ee); border-radius: 3px; transition: width 0.5s ease; width: 12.5%; }
.growth-progress-markers { position: absolute; top: 50%; left: 0; right: 0; display: flex; justify-content: space-between; transform: translateY(-50%); padding: 0 0; }
.growth-marker { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.3); transition: all 0.3s; }
.growth-marker.active { background: #4ade80; border-color: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,0.5); }
.growth-marker.passed { background: #22d3ee; border-color: #22d3ee; }
.growth-content { max-width: 550px; margin: 0 auto; min-height: 280px; }
.growth-card { display: none; text-align: left; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 1.5rem; animation: growthFadeIn 0.4s ease; }
.growth-card.visible { display: block; }
@keyframes growthFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.growth-card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.growth-card-emoji { font-size: 2rem; }
.growth-card-header h3 { font-size: 1.3rem; color: #fff; }
.growth-features { list-style: none; padding: 0; margin-bottom: 1.2rem; }
.growth-features li { padding: 0.4rem 0; color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 0.5rem; }
.growth-check { font-size: 0.9rem; }
.growth-stat-row { display: flex; justify-content: space-around; background: var(--color-surface); border-radius: 10px; padding: 0.8rem; }
.growth-stat { text-align: center; }
.growth-stat-num { display: block; font-size: 1.2rem; font-weight: 700; color: #4ade80; }
.growth-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.growth-timeline-note { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin-top: 1.5rem; }

[data-theme="light"] .growth-timeline-subtitle { color: rgba(0,0,0,0.6); }
[data-theme="light"] .growth-tab { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.12); color: rgba(0,0,0,0.6); }
[data-theme="light"] .growth-tab:hover { background: rgba(0,0,0,0.08); color: #111; }
[data-theme="light"] .growth-tab.active { color: #fff; }
[data-theme="light"] .growth-progress-bar { background: rgba(0,0,0,0.08); }
[data-theme="light"] .growth-marker { background: rgba(0,0,0,0.1); border-color: rgba(0,0,0,0.2); }
[data-theme="light"] .growth-card { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .growth-card-header h3 { color: #111; }
[data-theme="light"] .growth-features li { color: rgba(0,0,0,0.75); }
[data-theme="light"] .growth-stat-row { background: rgba(0,0,0,0.04); }
[data-theme="light"] .growth-stat-num { color: #059669; }
[data-theme="light"] .growth-stat-label { color: rgba(0,0,0,0.45); }
[data-theme="light"] .growth-timeline-note { color: rgba(0,0,0,0.4); }

/* ── Feedback / NPS Widget ─────────────────────────────────────── */
.feedback-section { text-align: center; padding: 3rem 1rem; }
.feedback-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.feedback-section h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.feedback-subtitle { color: var(--color-text-dim); margin-bottom: 2rem; }
.feedback-widget { max-width: 600px; margin: 0 auto; }
.nps-scale { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 0.5rem; }
.nps-btn { width: 42px; height: 42px; border-radius: var(--radius-sm); border: 2px solid #333; background: transparent; color: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.nps-btn:hover { border-color: #7c3aed; background: rgba(124,58,237,0.1); }
.nps-btn.in-range { border-color: #7c3aed; background: rgba(124,58,237,0.15); }
.nps-btn.selected { background: #7c3aed; color: #fff; border-color: #7c3aed; transform: scale(1.1); }
.nps-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--color-text-dim); margin-bottom: 1.5rem; }
.feedback-comment-area { margin-bottom: 1rem; }
.feedback-textarea { width: 100%; min-height: 80px; padding: 0.75rem; border: 2px solid #333; border-radius: var(--radius-sm); background: transparent; color: inherit; font-family: inherit; font-size: 0.9rem; resize: vertical; margin-bottom: 0.75rem; box-sizing: border-box; }
.feedback-textarea:focus { border-color: #7c3aed; outline: none; }
.feedback-submit-btn { background: #7c3aed; color: #fff; border: none; padding: 0.75rem 2rem; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.feedback-submit-btn:hover { background: #6d28d9; }
.feedback-thanks { padding: 1.5rem; }
.feedback-thanks-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.feedback-thanks-text { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.3rem; }
.feedback-thanks-detail { color: var(--color-text-dim); margin-bottom: 1rem; }
.feedback-reset-btn { background: transparent; border: 1px solid #555; color: inherit; padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; font-size: 0.85rem; }
.feedback-reset-btn:hover { border-color: #7c3aed; }
.feedback-summary { display: flex; justify-content: center; gap: 2rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #333; }
.feedback-stat { text-align: center; }
.feedback-stat-number { display: block; font-size: 1.5rem; font-weight: 700; color: #7c3aed; }
.feedback-stat-label { font-size: 0.75rem; color: var(--color-text-dim); text-transform: uppercase; letter-spacing: 0.05em; }

/* Light mode overrides */
[data-theme="light"] .nps-btn { border-color: #d1d5db; }
[data-theme="light"] .feedback-textarea { border-color: #d1d5db; }
[data-theme="light"] .feedback-summary { border-top-color: #e5e7eb; }
[data-theme="light"] .feedback-reset-btn { border-color: #d1d5db; }

@media (max-width: 480px) {
  .nps-btn { width: 36px; height: 36px; font-size: 0.85rem; }
  .nps-scale { gap: 4px; }
  .feedback-summary { gap: 1rem; }
}

/* ── Accessibility Preferences Panel ──────────────────────── */
.a11y-trigger { position: fixed; bottom: 24px; right: 24px; z-index: 1050; width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); background: var(--card-bg,#1a1a2e); color: var(--text,#e0e0e0); cursor: pointer; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.a11y-trigger:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(0,0,0,0.4); }
.a11y-trigger:focus-visible { outline: 3px solid #667eea; outline-offset: 2px; }
.a11y-trigger-icon { font-size: 1.4rem; line-height: 1; }
.a11y-trigger.a11y-active { background: linear-gradient(135deg,#667eea,#764ba2); border-color: transparent; color: #fff; }
.a11y-panel { position: fixed; bottom: 84px; right: 24px; z-index: 1051; width: 320px; max-height: 70vh; overflow-y: auto; background: var(--card-bg,#1a1a2e); border: 1px solid var(--border,rgba(255,255,255,0.1)); border-radius: var(--radius-lg); box-shadow: 0 12px 48px rgba(0,0,0,0.4); padding: 0; opacity: 0; transform: translateY(12px) scale(0.95); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.a11y-panel.a11y-panel-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.a11y-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 12px; border-bottom: 1px solid var(--border,rgba(255,255,255,0.08)); }
.a11y-panel-title { font-size: 1rem; font-weight: 700; color: var(--text,#e0e0e0); display: flex; align-items: center; gap: 8px; }
.a11y-panel-close { background: none; border: none; color: var(--text-muted,#888); font-size: 1.3rem; cursor: pointer; padding: 4px 8px; border-radius: 6px; line-height: 1; transition: color 0.2s, background 0.2s; }
.a11y-panel-close:hover { color: var(--text,#e0e0e0); background: rgba(255,255,255,0.08); }
.a11y-panel-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 16px; }
.a11y-group { display: flex; flex-direction: column; gap: 6px; }
.a11y-group-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted,#888); }
.a11y-toggle { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: rgba(255,255,255,0.04); border-radius: 10px; cursor: pointer; transition: background 0.2s; border: none; width: 100%; color: inherit; font-family: inherit; font-size: 0.9rem; }
.a11y-toggle:hover { background: rgba(255,255,255,0.08); }
.a11y-toggle-text { display: flex; align-items: center; gap: 8px; }
.a11y-toggle-icon { font-size: 1.1rem; }
.a11y-switch { position: relative; width: 40px; height: 22px; background: rgba(255,255,255,0.15); border-radius: 11px; flex-shrink: 0; transition: background 0.2s; }
.a11y-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform 0.2s; }
.a11y-toggle[aria-checked="true"] .a11y-switch { background: #667eea; }
.a11y-toggle[aria-checked="true"] .a11y-switch::after { transform: translateX(18px); }
.a11y-segmented { display: flex; gap: 4px; background: rgba(255,255,255,0.04); padding: 4px; border-radius: 10px; }
.a11y-seg-btn { flex: 1; padding: 6px 0; border: none; background: transparent; color: var(--text-muted,#888); font-size: 0.82rem; font-weight: 500; border-radius: 7px; cursor: pointer; transition: all 0.2s; }
.a11y-seg-btn:hover { color: var(--text,#e0e0e0); background: rgba(255,255,255,0.06); }
.a11y-seg-btn.a11y-seg-active { background: #667eea; color: #fff; font-weight: 600; }
.a11y-reset { background: transparent; border: 1px solid var(--border,#333); color: var(--text-muted,#888); padding: 8px; border-radius: var(--radius-sm); font-size: 0.85rem; cursor: pointer; transition: all 0.2s; width: 100%; font-family: inherit; }
.a11y-reset:hover { border-color: #e74c3c; color: #e74c3c; }
html.a11y-font-large { font-size: 112.5%; }
html.a11y-font-xlarge { font-size: 125%; }
html.a11y-high-contrast { --text: #ffffff !important; --text-muted: #cccccc !important; --bg: #000000 !important; }
html.a11y-high-contrast body { background: #000 !important; color: #fff !important; }
html.a11y-high-contrast .a11y-panel, html.a11y-high-contrast .a11y-trigger { border-width: 2px; border-color: #fff; }
html.a11y-reduce-motion, html.a11y-reduce-motion * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
html.a11y-dyslexia-font { font-family: 'Comic Sans MS', 'OpenDyslexic', 'Arial', sans-serif !important; }
html.a11y-dyslexia-font * { font-family: inherit !important; }
html.a11y-focus-indicators *:focus { outline: 3px solid #667eea !important; outline-offset: 2px !important; }
html.a11y-focus-indicators *:focus:not(:focus-visible) { outline: 3px solid #667eea !important; }
html.a11y-spacing-wide { line-height: 1.8 !important; letter-spacing: 0.02em; word-spacing: 0.08em; }
html.a11y-spacing-wide * { line-height: inherit !important; }
html.a11y-spacing-extra { line-height: 2.2 !important; letter-spacing: 0.04em; word-spacing: 0.12em; }
html.a11y-spacing-extra * { line-height: inherit !important; }
[data-theme="light"] .a11y-trigger { background: #fff; border-color: #d1d5db; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
[data-theme="light"] .a11y-panel { background: #fff; border-color: #e5e7eb; box-shadow: 0 12px 48px rgba(0,0,0,0.15); }
[data-theme="light"] .a11y-toggle { background: rgba(0,0,0,0.04); }
[data-theme="light"] .a11y-toggle:hover { background: rgba(0,0,0,0.08); }
[data-theme="light"] .a11y-switch { background: rgba(0,0,0,0.15); }
[data-theme="light"] .a11y-segmented { background: rgba(0,0,0,0.04); }
[data-theme="light"] .a11y-seg-btn:hover { background: rgba(0,0,0,0.06); }
[data-theme="light"] .a11y-panel-close:hover { color: var(--color-text-dark); background: rgba(0,0,0,0.06); }
@media (max-width: 480px) { .a11y-trigger { bottom: 16px; right: 16px; width: 42px; height: 42px; } .a11y-panel { bottom: 70px; right: 12px; left: 12px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .a11y-panel { transition: opacity 0.05s; transform: none; } .a11y-panel.a11y-panel-open { transform: none; } }

/* ── Success Stories Section ─────────────────────────────── */
.stories-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}
.stories-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--color-text, #fff);
}
.stories-subtitle {
  color: var(--color-text-dim, #a0a0c0);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.stories-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.stories-filter {
  background: var(--card-bg, rgba(255,255,255,0.04));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  color: var(--color-text-dim, #a0a0c0);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.stories-filter:hover {
  background: rgba(99,102,241,0.15);
  color: var(--color-text, #fff);
}
.stories-filter.active {
  background: var(--color-accent, #6366f1);
  color: #fff;
  border-color: var(--color-accent, #6366f1);
}
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  text-align: left;
}
.story-card {
  background: var(--card-bg, rgba(255,255,255,0.04));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s;
  cursor: pointer;
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.15);
}
.story-card.story-hidden {
  display: none;
}
.story-card-header {
  padding: 1.5rem 1.5rem 1rem;
}
.story-category-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.story-category-badge[data-cat="productivity"] { background: rgba(234,179,8,0.15); color: #eab308; }
.story-category-badge[data-cat="developer"] { background: rgba(59,130,246,0.15); color: #3b82f6; }
.story-category-badge[data-cat="creative"] { background: rgba(236,72,153,0.15); color: #ec4899; }
.story-category-badge[data-cat="business"] { background: rgba(34,197,94,0.15); color: #22c55e; }
.story-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text, #fff);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.story-card-persona {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-dim, #a0a0c0);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.story-persona-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.story-card-problem {
  color: var(--color-text-dim, #a0a0c0);
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0 1.5rem;
}
.story-card-footer {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.story-metric {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.story-metric-value {
  color: var(--color-accent, #6366f1);
}
.story-metric-label {
  color: var(--color-text-dim, #a0a0c0);
  font-weight: 400;
}
.story-expand-icon {
  color: var(--color-text-dim, #a0a0c0);
  font-size: 1.2rem;
  transition: transform 0.2s;
}
.story-card.story-expanded .story-expand-icon {
  transform: rotate(180deg);
}
/* Expanded detail panel */
.story-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.story-card.story-expanded .story-detail {
  max-height: 600px;
}
.story-detail-inner {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--border, rgba(255,255,255,0.08));
}
.story-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1rem 0;
}
.story-flow-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
  padding-bottom: 1rem;
}
.story-flow-step:last-child { padding-bottom: 0; }
.story-flow-line {
  width: 3px;
  background: var(--color-accent, #6366f1);
  position: absolute;
  top: 28px;
  bottom: 0;
  left: 13px;
  opacity: 0.3;
}
.story-flow-step:last-child .story-flow-line { display: none; }
.story-flow-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  z-index: 1;
}
.story-flow-dot.step-problem { background: rgba(239,68,68,0.15); }
.story-flow-dot.step-action { background: rgba(99,102,241,0.15); }
.story-flow-dot.step-result { background: rgba(34,197,94,0.15); }
.story-flow-content {
  flex: 1;
}
.story-flow-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.story-flow-label.label-problem { color: #ef4444; }
.story-flow-label.label-action { color: #6366f1; }
.story-flow-label.label-result { color: #22c55e; }
.story-flow-text {
  color: var(--color-text-dim, #a0a0c0);
  font-size: 0.9rem;
  line-height: 1.5;
}
.story-outcome-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.story-outcome-stat {
  text-align: center;
  flex: 1;
  min-width: 80px;
}
.story-outcome-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent, #6366f1);
  line-height: 1;
}
.story-outcome-desc {
  font-size: 0.75rem;
  color: var(--color-text-dim, #a0a0c0);
  margin-top: 0.25rem;
}
/* Light theme */
[data-theme="light"] .stories-filter { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); color: #555; }
[data-theme="light"] .stories-filter:hover { background: rgba(99,102,241,0.1); color: #333; }
[data-theme="light"] .story-card { background: #fff; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .story-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
[data-theme="light"] .story-detail-inner { border-color: rgba(0,0,0,0.08); }
/* Responsive */
@media (max-width: 600px) {
  .stories-grid { grid-template-columns: 1fr; }
  .story-outcome-stats { gap: 0.75rem; }
}

/* ═══ Feature Request Board ═══ */
.feature-board-section {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}
.feature-board-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.feature-board-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
}
.feature-board-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.fb-filter-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.fb-filter {
  padding: 0.4rem 1rem;
  border: 1px solid #ddd;
  border-radius: 20px;
  background: #fff;
  color: #333;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.fb-filter:hover { border-color: #007aff; color: #007aff; }
.fb-filter.active {
  background: #007aff;
  color: #fff;
  border-color: #007aff;
}
.fb-suggest-btn {
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, #007aff, #5856d6);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fb-suggest-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,122,255,0.3);
}
.feature-board-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.fb-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fb-card:hover {
  border-color: #007aff;
  box-shadow: 0 2px 8px rgba(0,122,255,0.08);
}
.fb-vote-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.5rem 0.6rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
  cursor: pointer;
  min-width: 48px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.fb-vote-btn:hover { border-color: #007aff; background: #f0f7ff; }
.fb-vote-btn.voted {
  border-color: #007aff;
  background: #e8f2ff;
  color: #007aff;
}
.fb-vote-arrow { font-size: 1rem; line-height: 1; }
.fb-vote-count { font-size: 0.95rem; font-weight: 700; }
.fb-card-body { flex: 1; min-width: 0; }
.fb-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}
.fb-card-title {
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a1a;
}
.fb-card-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.fb-badge-planned { background: #e8f5e9; color: #2e7d32; }
.fb-badge-building { background: #fff3e0; color: #e65100; }
.fb-badge-new { background: #e3f2fd; color: #1565c0; }
.fb-badge-shipped { background: #f3e5f5; color: #7b1fa2; }
.fb-card-desc {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}
.fb-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #999;
}
.fb-category-tag {
  padding: 0.1rem 0.4rem;
  background: #f0f0f0;
  border-radius: 4px;
  font-size: 0.7rem;
}
/* Suggest form */
.fb-suggest-form {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fb-form-backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
}
.fb-form-panel {
  position: relative;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  width: 90%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  z-index: 1;
}
.fb-form-panel h3 {
  margin: 0 0 1.25rem;
  font-size: 1.3rem;
}
.fb-form-panel label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.3rem;
  margin-top: 0.75rem;
}
.fb-form-close {
  position: absolute;
  top: 0.75rem; right: 1rem;
  background: none; border: none;
  font-size: 1.5rem; color: #999;
  cursor: pointer;
}
.fb-input, .fb-textarea, .fb-select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  box-sizing: border-box;
}
.fb-textarea { resize: vertical; }
.fb-submit-btn {
  margin-top: 1.25rem;
  width: 100%;
  padding: 0.7rem;
  background: #007aff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.fb-submit-btn:hover { background: #0062cc; }
.fb-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  z-index: 9500;
  animation: fbToastIn 0.3s ease;
}
@keyframes fbToastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@media (max-width: 600px) {
  .feature-board-controls { flex-direction: column; align-items: stretch; }
  .fb-suggest-btn { text-align: center; }
  .fb-card { padding: 0.75rem; }
}

/* ── Role Demo Picker ──────────────────────────────────────────── */
.role-picker-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.role-picker-subtitle {
  color: var(--text-secondary, #666);
  margin-bottom: 2rem;
}
.role-picker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.role-picker-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--border-color, #e0e0e0);
  border-radius: 12px;
  background: var(--card-bg, #fff);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 0.9rem;
}
.role-picker-btn:hover {
  border-color: var(--primary, #6366f1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}
.role-picker-btn.active {
  border-color: var(--primary, #6366f1);
  background: var(--primary, #6366f1);
  color: #fff;
}
.role-picker-icon { font-size: 1.5rem; }
.role-picker-label { font-weight: 600; font-size: 0.8rem; }
.role-picker-chat {
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}
.role-chat-header {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle, #f8f9fa);
  border-radius: 12px 12px 0 0;
  border: 1px solid var(--border-color, #e0e0e0);
  border-bottom: none;
}
.role-chat-messages {
  border: 1px solid var(--border-color, #e0e0e0);
  border-radius: 0 0 12px 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 200px;
}
.role-chat-bubble {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 85%;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}
.role-chat-user {
  align-self: flex-end;
  background: var(--primary, #6366f1);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.role-chat-agent {
  align-self: flex-start;
  background: var(--bg-subtle, #f0f0f0);
  color: var(--text-primary, #222);
  border-bottom-left-radius: 4px;
}
.role-chat-label {
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}
.role-chat-text { display: block; }

@media (max-width: 600px) {
  .role-picker-btn { padding: 0.5rem 0.75rem; }
  .role-chat-bubble { max-width: 95%; }
  .role-picker-section { padding: 2rem 1rem; }
}

/* ================================================================
 * AI Glossary Section
 * ================================================================ */
.glossary-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.glossary-section h2 { text-align: center; margin-bottom: 0.5rem; }
.glossary-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2rem;
}
.glossary-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}
.glossary-search {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.glossary-search:focus { border-color: var(--accent, #4f8cff); }
.glossary-categories {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.glossary-cat-btn {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s, border-color 0.2s;
}
.glossary-cat-btn:hover { background: rgba(79,140,255,0.08); }
.glossary-cat-btn.active {
  background: var(--accent, #4f8cff);
  color: #fff;
  border-color: var(--accent, #4f8cff);
}
.glossary-count {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.glossary-list { display: flex; flex-direction: column; gap: 0.5rem; }
.glossary-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.glossary-card:hover { border-color: var(--accent, #4f8cff); }
.glossary-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  cursor: pointer;
  user-select: none;
  gap: 0.5rem;
}
.glossary-term {
  font-weight: 600;
  font-size: 1.05rem;
  flex: 1;
}
.glossary-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
  background: rgba(79,140,255,0.12);
  color: var(--accent, #4f8cff);
  white-space: nowrap;
}
.glossary-toggle {
  font-size: 1.1rem;
  color: var(--muted);
  transition: transform 0.2s;
}
.glossary-card.open .glossary-toggle { transform: rotate(45deg); }
.glossary-card-body {
  display: none;
  padding: 0 1rem 1rem;
}
.glossary-card.open .glossary-card-body { display: block; }
.glossary-definition {
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.glossary-example {
  background: rgba(79,140,255,0.06);
  border-left: 3px solid var(--accent, #4f8cff);
  padding: 0.5rem 0.75rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.glossary-related {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.glossary-related-link {
  color: var(--accent, #4f8cff);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
}
.glossary-related-link:hover { text-decoration-style: solid; }
.glossary-empty {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 1rem;
}
@media (max-width: 600px) {
  .glossary-section { padding: 2rem 1rem; }
  .glossary-card-header { padding: 0.7rem 0.75rem; }
}

/* ── Integration Pipeline Builder ── */
.pipeline-section {
    text-align: center;
    padding: 4rem 2rem;
}
.pipeline-counter {
    color: var(--text-secondary, #8b8fa0);
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}
.pipeline-tool-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}
.pipeline-tool-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: 1px solid var(--border, #2d3040);
    border-radius: 8px;
    background: var(--bg-card, #1a1d28);
    color: var(--text, #e0e0e8);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}
.pipeline-tool-btn:hover {
    border-color: var(--accent, #4a9eff);
    background: rgba(74, 158, 255, 0.08);
}
.pipeline-tool-btn.selected {
    border-color: var(--accent, #4a9eff);
    background: rgba(74, 158, 255, 0.15);
    box-shadow: 0 0 0 1px var(--accent, #4a9eff);
}
.pipeline-tool-icon {
    font-size: 1.2rem;
}
.pipeline-tool-name {
    font-weight: 500;
}
.pipeline-clear-btn {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border, #2d3040);
    border-radius: 6px;
    background: transparent;
    color: var(--text-secondary, #8b8fa0);
    font-size: 0.82rem;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: all 0.15s;
}
.pipeline-clear-btn:hover {
    border-color: var(--red, #f87171);
    color: var(--red, #f87171);
}
.pipeline-visualization {
    margin-bottom: 1.5rem;
}
.pipeline-empty {
    color: var(--text-secondary, #8b8fa0);
    font-style: italic;
    padding: 2rem;
}
.pipeline-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.pipeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.8rem 1rem;
    background: var(--bg-card, #1a1d28);
    border: 1px solid var(--accent, #4a9eff);
    border-radius: 10px;
    min-width: 80px;
}
.pipeline-node-icon {
    font-size: 1.5rem;
}
.pipeline-node-name {
    font-size: 0.78rem;
    color: var(--text, #e0e0e8);
    font-weight: 500;
}
.pipeline-arrow {
    color: var(--accent, #4a9eff);
    font-size: 1.5rem;
    font-weight: bold;
}
.pipeline-hub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    margin: 1rem auto;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.12), rgba(74, 222, 128, 0.08));
    border: 2px solid var(--accent, #4a9eff);
    border-radius: 16px;
    max-width: 200px;
}
.pipeline-hub-icon {
    font-size: 2rem;
}
.pipeline-hub-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent, #4a9eff);
}
.pipeline-hub-sub {
    font-size: 0.75rem;
    color: var(--text-secondary, #8b8fa0);
}
.pipeline-generic {
    color: var(--text-secondary, #8b8fa0);
    font-size: 0.92rem;
    max-width: 500px;
    margin: 0 auto;
}
.pipeline-results-list {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}
.pipeline-results-title {
    font-size: 1.05rem;
    color: var(--accent, #4a9eff);
    margin-bottom: 1rem;
    text-align: center;
}
.pipeline-result-card {
    padding: 1rem 1.2rem;
    background: var(--bg-card, #1a1d28);
    border: 1px solid var(--border, #2d3040);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}
.pipeline-result-name {
    color: var(--text, #e0e0e8);
    font-size: 0.95rem;
}
.pipeline-result-flow {
    color: var(--text-secondary, #8b8fa0);
    font-size: 0.88rem;
    margin: 0.4rem 0 0;
    line-height: 1.5;
}
@media (max-width: 600px) {
    .pipeline-flow { flex-direction: column; }
    .pipeline-arrow { transform: rotate(90deg); }
}


/* ── Community Showcase ──────────────────────────────────── */

.showcase-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.showcase-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.showcase-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.showcase-filter {
  padding: 0.4rem 1rem;
  border: 1px solid #ddd;
  border-radius: 20px;
  background: transparent;
  color: #555;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.showcase-filter:hover {
  border-color: #4f46e5;
  color: #4f46e5;
}

.showcase-filter.active {
  background: #4f46e5;
  color: #fff;
  border-color: #4f46e5;
}

.showcase-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.showcase-sort-group {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.showcase-sort-btn {
  padding: 0.35rem 0.8rem;
  border: none;
  background: transparent;
  color: #666;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.showcase-sort-btn.active {
  background: #4f46e5;
  color: #fff;
}

.showcase-count {
  font-size: 0.85rem;
  color: #888;
}

.showcase-submit-trigger {
  padding: 0.5rem 1.2rem;
  border: 2px solid #4f46e5;
  border-radius: 8px;
  background: transparent;
  color: #4f46e5;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.85rem;
}

.showcase-submit-trigger:hover {
  background: #4f46e5;
  color: #fff;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.showcase-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.showcase-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.showcase-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.showcase-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #4f46e5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.showcase-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.showcase-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1f2937;
}

.showcase-date {
  font-size: 0.75rem;
  color: #9ca3af;
}

.showcase-category-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.showcase-cat-productivity { background: #dbeafe; color: #1e40af; }
.showcase-cat-developer { background: #d1fae5; color: #065f46; }
.showcase-cat-creative { background: #fce7f3; color: #9d174d; }
.showcase-cat-business { background: #fef3c7; color: #92400e; }
.showcase-cat-research { background: #ede9fe; color: #5b21b6; }

.showcase-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
}

.showcase-desc {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0 0 0.75rem;
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.showcase-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 4px;
}

.showcase-footer {
  display: flex;
  justify-content: flex-end;
}

.showcase-like-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.showcase-like-btn:hover {
  border-color: #ef4444;
  color: #ef4444;
}

.showcase-like-btn.liked {
  border-color: #ef4444;
  color: #ef4444;
  background: #fef2f2;
}

.showcase-heart {
  font-size: 1rem;
}

.showcase-like-count {
  font-weight: 600;
}

.showcase-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #9ca3af;
  font-size: 1rem;
}

/* ── Submit Modal ──────────────── */

.showcase-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

.showcase-modal {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.showcase-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: #9ca3af;
  cursor: pointer;
  line-height: 1;
}

.showcase-modal-close:hover {
  color: #111;
}

.showcase-modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.showcase-modal-subtitle {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.showcase-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.showcase-label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.showcase-input,
.showcase-select,
.showcase-textarea {
  padding: 0.6rem 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.showcase-input:focus,
.showcase-select:focus,
.showcase-textarea:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

.showcase-submit-btn {
  padding: 0.75rem;
  background: #4f46e5;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.showcase-submit-btn:hover {
  background: #4338ca;
}

.showcase-toast {
  margin-top: 1rem;
  padding: 0.75rem;
  background: #d1fae5;
  color: #065f46;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.showcase-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Dark mode ─────────────────── */

[data-theme="dark"] .showcase-card {
  background: #1e1e2e;
  border-color: #374151;
}

[data-theme="dark"] .showcase-title { color: #f9fafb; }
[data-theme="dark"] .showcase-desc { color: #9ca3af; }
[data-theme="dark"] .showcase-author { color: #e5e7eb; }
[data-theme="dark"] .showcase-tag { background: #374151; color: #d1d5db; }
[data-theme="dark"] .showcase-filter { border-color: #4b5563; color: #d1d5db; }
[data-theme="dark"] .showcase-sort-group { border-color: #4b5563; }
[data-theme="dark"] .showcase-sort-btn { color: #9ca3af; }
[data-theme="dark"] .showcase-like-btn { border-color: #4b5563; color: #9ca3af; }
[data-theme="dark"] .showcase-modal { background: #1e1e2e; color: #f9fafb; }
[data-theme="dark"] .showcase-input,
[data-theme="dark"] .showcase-select,
[data-theme="dark"] .showcase-textarea { background: #111827; border-color: #4b5563; color: #f9fafb; }

/* ── Responsive ────────────────── */

@media (max-width: 768px) {
  .showcase-controls { flex-direction: column; align-items: flex-start; }
  .showcase-actions { flex-wrap: wrap; }
  .showcase-grid { grid-template-columns: 1fr; }
}

/* ── Section Mini-Map ── */
.minimap {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.minimap.visible {
  opacity: 1;
  pointer-events: auto;
}
.minimap-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
[data-theme="light"] .minimap-track,
:root:not([data-theme="dark"]) .minimap-track {
  background: rgba(255,255,255,0.7);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
[data-theme="dark"] .minimap-track {
  background: rgba(30,30,40,0.7);
}
.minimap-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
[data-theme="light"] .minimap-dot,
:root:not([data-theme="dark"]) .minimap-dot {
  background: rgba(0,0,0,0.15);
}
[data-theme="dark"] .minimap-dot {
  background: rgba(255,255,255,0.2);
}
.minimap-dot:hover {
  transform: scale(1.5);
  background: rgba(255,255,255,0.6);
}
[data-theme="light"] .minimap-dot:hover,
:root:not([data-theme="dark"]) .minimap-dot:hover {
  background: rgba(0,0,0,0.4);
}
.minimap-dot.active {
  width: 10px;
  height: 10px;
  background: #00C853;
  box-shadow: 0 0 6px rgba(0,200,83,0.5);
}
.minimap-tooltip {
  position: fixed;
  right: 32px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 901;
}
.minimap-tooltip.show {
  opacity: 1;
}
/* Hide on small screens where it would overlap content */
@media (max-width: 768px) {
  .minimap { display: none; }
}


/* ── Help Chat Widget ──────────────────────────────────────────── */
.help-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.help-chat-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(102,126,234,0.4);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.help-chat-fab:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(102,126,234,0.5); }
.help-chat-fab:focus-visible { outline: 3px solid #667eea; outline-offset: 3px; }

.help-chat-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.help-chat-fab-badge[hidden] { display: none; }

.help-chat-panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 340px;
  max-height: 480px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: helpChatSlideUp 0.25s ease-out;
}
.help-chat-panel[hidden] { display: none; }

@keyframes helpChatSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.help-chat-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.help-chat-header-title { font-weight: 600; font-size: 15px; }
.help-chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  opacity: 0.8;
}
.help-chat-close:hover { opacity: 1; }

.help-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
  max-height: 280px;
}

.help-chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  word-wrap: break-word;
}
.help-chat-bubble.bot {
  background: #f0f0f5;
  color: #1a1a2e;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.help-chat-bubble.user {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.help-chat-options {
  padding: 4px 14px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.help-chat-option-btn {
  background: #f0f0f5;
  border: 1px solid #ddd;
  border-radius: 18px;
  padding: 6px 14px;
  font-size: 12.5px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  color: #333;
}
.help-chat-option-btn:hover { background: #e0e0f0; border-color: #667eea; }
.help-chat-option-btn:focus-visible { outline: 2px solid #667eea; outline-offset: 1px; }

.help-chat-input-row {
  display: flex;
  border-top: 1px solid #eee;
  padding: 8px 10px;
  gap: 6px;
}
.help-chat-input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
}
.help-chat-input:focus { border-color: #667eea; }
.help-chat-send {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.help-chat-send:hover { opacity: 0.9; }

/* Dark theme */
[data-theme="dark"] .help-chat-panel { background: #1e1e2e; }
[data-theme="dark"] .help-chat-bubble.bot { background: #2a2a3e; color: #e0e0e0; }
[data-theme="dark"] .help-chat-option-btn { background: #2a2a3e; border-color: #444; color: #ccc; }
[data-theme="dark"] .help-chat-option-btn:hover { background: #3a3a5e; border-color: #667eea; }
[data-theme="dark"] .help-chat-input { background: #2a2a3e; border-color: #444; color: #e0e0e0; }
[data-theme="dark"] .help-chat-input-row { border-top-color: #333; }
[data-theme="dark"] .help-chat-messages { scrollbar-color: #555 transparent; }

@media (max-width: 480px) {
  .help-chat-panel { width: calc(100vw - 32px); right: -8px; max-height: 400px; }
  .help-chat-widget { bottom: 16px; right: 16px; }
}

/* ── Share Card Generator ── */
.share-card-section { margin: 4rem 0; text-align: center; }
.share-card-subtitle { color: #666; margin-bottom: 2rem; }
.share-card-builder { display: flex; gap: 2rem; align-items: flex-start; flex-wrap: wrap; justify-content: center; }
.share-card-form { flex: 1; min-width: 260px; max-width: 360px; text-align: left; }
.share-card-field { margin-bottom: 1rem; }
.share-card-field label { display: block; font-weight: 600; margin-bottom: 0.3rem; font-size: 0.9rem; }
.share-card-field input, .share-card-field select {
  width: 100%; padding: 0.6rem 0.8rem; border: 1px solid #ddd; border-radius: 8px;
  font-size: 0.95rem; background: var(--bg, #fff); color: var(--text, #333);
}
.share-card-themes { display: flex; gap: 0.5rem; margin-top: 0.3rem; }
.share-card-theme {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s, border-color 0.15s;
}
.share-card-theme.active { border-color: #333; transform: scale(1.15); }
.share-card-generate {
  width: 100%; padding: 0.75rem; background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: opacity 0.2s;
}
.share-card-generate:hover { opacity: 0.9; }
.share-card-preview { flex: 1; min-width: 300px; max-width: 620px; text-align: center; }
.share-card-preview canvas { max-width: 100%; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.share-card-actions { display: flex; gap: 0.75rem; justify-content: center; margin-top: 1rem; }
.share-card-download, .share-card-copy {
  padding: 0.6rem 1.2rem; border: 1px solid #ddd; border-radius: 8px; background: var(--bg, #fff);
  color: var(--text, #333); cursor: pointer; font-size: 0.9rem; transition: background 0.2s;
}
.share-card-download:hover, .share-card-copy:hover { background: #f0f0f0; }
.share-card-hint { color: #999; font-size: 0.85rem; margin-top: 1rem; }
[data-theme="dark"] .share-card-theme.active { border-color: #eee; }
[data-theme="dark"] .share-card-field input,
[data-theme="dark"] .share-card-field select { background: #1e1e2e; color: #eee; border-color: #444; }
[data-theme="dark"] .share-card-download:hover,
[data-theme="dark"] .share-card-copy:hover { background: #2a2a3a; }
@media (max-width: 600px) {
  .share-card-builder { flex-direction: column; align-items: center; }
  .share-card-form, .share-card-preview { max-width: 100%; }
}
