:root {
    color-scheme: dark;
    --bg-base: #020202;
    --bg-surface: #0a0a0c;
    --bg-elevated: #131315;
    --bg-overlay: rgba(0, 0, 0, 0.7);
    --bg-card: rgba(255, 255, 255, 0.03);
    --solid-bg-card: #0f0f11;
    --glass-bg: rgba(10, 10, 12, 0.91);
    --glass-blur: 12px;
    --glass-border: rgba(255, 255, 255, 0.07);
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-muted: rgba(59, 130, 246, 0.15);
    --accent-subtle: rgba(59, 130, 246, 0.06);
    --accent-glow: rgba(59, 130, 246, 0.25);
    --text-primary: #ffffff;
    --text-secondary: #e0e0e8;
    --text-tertiary: #c0c0cc;
    --border: rgba(255, 255, 255, 0.10);
    --border-subtle: rgba(255, 255, 255, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --success: #10b981;
    --success-muted: rgba(16, 185, 129, 0.15);
    --warning: #f59e0b;
    --warning-muted: rgba(245, 158, 11, 0.15);
    --error: #ef4444;
    --error-muted: rgba(239, 68, 68, 0.15);
    --info: #06b6d4;
    --info-muted: rgba(6, 182, 212, 0.15);
    --gradient-subtle: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    --badge-feature: #3b82f6;
    --badge-feature-bg: rgba(59, 130, 246, 0.15);
    --badge-comment: #3b82f6;
    --badge-comment-bg: rgba(59, 130, 246, 0.15);
    --badge-vote: #3b82f6;
    --badge-vote-bg: rgba(59, 130, 246, 0.15);
    --badge-view: #3b82f6;
    --badge-view-bg: rgba(59, 130, 246, 0.15);
    --badge-vote-removed: #3b82f6;
    --badge-vote-removed-bg: rgba(59, 130, 246, 0.15);
    --badge-deleted: #3b82f6;
    --badge-deleted-bg: rgba(59, 130, 246, 0.15);
    --badge-moved: #3b82f6;
    --badge-moved-bg: rgba(59, 130, 246, 0.15);
    --badge-denied: #3b82f6;
    --badge-denied-bg: rgba(59, 130, 246, 0.15);
    --badge-undenied: #3b82f6;
    --badge-undenied-bg: rgba(59, 130, 246, 0.15);
    --badge-merged: #3b82f6;
    --badge-merged-bg: rgba(59, 130, 246, 0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-full: 9999px;
    --input-bg: rgba(255, 255, 255, 0.04);
    --input-focus-bg: rgba(255, 255, 255, 0.07);
    --input-focus-ring: rgba(59, 130, 246, 0.25);
    --scrollbar-thumb: rgba(255, 255, 255, 0.15);
    --scrollbar-thumb-hover: rgba(255, 255, 255, 0.25);
    --bg-gradient-start: var(--bg-base);
    --bg-gradient-end: var(--bg-surface);
    --accent-light: var(--accent);
    --accent-medium: var(--accent-hover);
    --accent-lighter: #60a5fa;
    --accent-darker: #1d4ed8;
    --border-color: var(--border);
    --box-shadow: var(--accent-glow);
    --input-text-color: var(--text-tertiary);
    --text-hover: var(--text-secondary);
}

[data-theme="light"] {
    color-scheme: light;
    --bg-base: #f5f5f7;
    --bg-surface: #ffffff;
    --bg-elevated: #f0f0f3;
    --bg-overlay: rgba(0, 0, 0, 0.4);
    --bg-card: rgba(37, 99, 235, 0.04);
    --solid-bg-card: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(37, 99, 235, 0.12);
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-muted: rgba(37, 99, 235, 0.12);
    --accent-subtle: rgba(37, 99, 235, 0.04);
    --accent-glow: rgba(37, 99, 235, 0.2);
    --text-primary: #1a1a2e;
    --text-secondary: #64648c;
    --text-tertiary: #9494a8;
    --border: rgba(37, 99, 235, 0.15);
    --border-subtle: rgba(37, 99, 235, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --gradient-subtle: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(29, 78, 216, 0.02) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(29, 78, 216, 0.03) 100%);
    --badge-feature: #2563eb;
    --badge-feature-bg: rgba(37, 99, 235, 0.1);
    --badge-comment: #2563eb;
    --badge-comment-bg: rgba(37, 99, 235, 0.1);
    --badge-vote: #2563eb;
    --badge-vote-bg: rgba(37, 99, 235, 0.1);
    --badge-view: #2563eb;
    --badge-view-bg: rgba(37, 99, 235, 0.1);
    --badge-vote-removed: #2563eb;
    --badge-vote-removed-bg: rgba(37, 99, 235, 0.1);
    --badge-deleted: #2563eb;
    --badge-deleted-bg: rgba(37, 99, 235, 0.1);
    --badge-moved: #2563eb;
    --badge-moved-bg: rgba(37, 99, 235, 0.1);
    --badge-denied: #2563eb;
    --badge-denied-bg: rgba(37, 99, 235, 0.1);
    --badge-undenied: #2563eb;
    --badge-undenied-bg: rgba(37, 99, 235, 0.1);
    --badge-merged: #2563eb;
    --badge-merged-bg: rgba(37, 99, 235, 0.1);
    --input-bg: rgba(37, 99, 235, 0.04);
    --input-focus-bg: rgba(37, 99, 235, 0.06);
    --input-focus-ring: rgba(37, 99, 235, 0.12);
    --scrollbar-thumb: rgba(37, 99, 235, 0.2);
    --scrollbar-thumb-hover: rgba(37, 99, 235, 0.35);
    --success: #059669;
    --success-muted: rgba(5, 150, 105, 0.12);
    --warning: #d97706;
    --warning-muted: rgba(217, 119, 6, 0.12);
    --error: #dc2626;
    --error-muted: rgba(220, 38, 38, 0.12);
    --info: #0891b2;
    --info-muted: rgba(8, 145, 178, 0.12);
    --bg-gradient-start: var(--bg-base);
    --bg-gradient-end: var(--bg-surface);
    --accent-light: var(--accent);
    --accent-medium: var(--accent-hover);
    --accent-lighter: #3b82f6;
    --accent-darker: #1d4ed8;
    --border-color: var(--border);
    --box-shadow: var(--accent-glow);
    --input-text-color: var(--text-tertiary);
    --text-hover: var(--text-secondary);
}

[data-theme="light"] .cta-button,
[data-theme="light"] .cta-button a,
[data-theme="light"] .pricing-button,
[data-theme="light"] .pricing-button a,
[data-theme="light"] .best-value-badge,
[data-theme="light"] .pricing-cta-glow,
[data-theme="light"] .cta-primary,
[data-theme="light"] .signup-button,
[data-theme="light"] .benefit-icon,
[data-theme="light"] .social-links a:hover {
    color: #ffffff;
}

[data-theme="light"] .toggle-btn.active {
    color: #ffffff;
}

[data-theme="light"] .voteflow-header {
    color: var(--text-primary);
}

[data-theme="light"] .cta-button:hover {
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.3), 0 0 0 2px rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .pricing-button:hover {
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.25), 0 0 0 2px rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .faq-item {
    border-top-color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .faq-item:hover,
[data-theme="light"] .faq-item.active {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1), 0 24px 48px rgba(0, 0, 0, 0.06);
    border-color: rgba(37, 99, 235, 0.25);
}

[data-theme="light"] .faq-item::before {
    background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
}

[data-theme="light"] .faq-toggle {
    background: rgba(37, 99, 235, 0.08);
}

[data-theme="light"] .faq-item:hover .faq-toggle {
    background: rgba(37, 99, 235, 0.12);
}

[data-theme="light"] #how-it-works .step-card {
    background: rgba(37, 99, 235, 0.03);
    border-color: rgba(37, 99, 235, 0.1);
    border-top-color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] #how-it-works .step-card:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1), 0 24px 48px rgba(0, 0, 0, 0.06);
    border-color: rgba(37, 99, 235, 0.25);
}

[data-theme="light"] #how-it-works .step-card::before {
    background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
}

[data-theme="light"] #how-it-works .step-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.04));
    border-color: rgba(37, 99, 235, 0.12);
    color: var(--accent);
}

[data-theme="light"] #how-it-works .step-card:hover .step-icon {
    color: #fff;
}

[data-theme="light"] #how-it-works .step-number {
    color: var(--accent);
    opacity: 0.06;
}

[data-theme="light"] .pricing-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: rgba(37, 99, 235, 0.1);
    border-top-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .pricing-card:hover {
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12);
    transform: translateY(-8px) rotateX(1deg);
    border-color: rgba(37, 99, 235, 0.2);
}

[data-theme="light"] .pricing-card-featured {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow:
        0 12px 32px rgba(37, 99, 235, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .pricing-card-featured:hover {
    box-shadow:
        0 20px 48px rgba(37, 99, 235, 0.18),
        0 8px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .pricing-cta-glow,
[data-theme="light"] .best-value-badge {
    color: #fff;
}

[data-theme="light"] .pricing-cta-solid:hover {
    color: #fff;
}

[data-theme="light"] .annual-savings-pill {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

[data-theme="light"] .pricing-features span::before {
    background-color: rgba(5, 150, 105, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

[data-theme="light"] .pricing-card-featured .pricing-features span::before {
    background-color: rgba(37, 99, 235, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

[data-theme="light"] .feature-dim::before {
    background-color: rgba(220, 38, 38, 0.08) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") !important;
}

[data-theme="light"] nav a:hover {
    color: var(--accent);
}

html {
    background-color: var(--bg-base);
    background-image: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background-image: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    overflow-y: auto;
    position: relative;
    min-height: 100vh;
    background-attachment: fixed;
}

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

body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

#cookie-consent-container {
    display: none;
    flex-direction: column;
    position: fixed;
    bottom: 12px;
    width: 380px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    padding: 16px;
    gap: 12px;
    box-shadow: var(--shadow-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

#cookie-consent-container p:first-child {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

#cookie-consent-container p:nth-child(2) {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-consent-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.cookie-btn {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
}

.cookie-accept {
    background-color: var(--accent);
    color: #ffffff;
}

.cookie-accept:hover {
    background-color: var(--accent-darker);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.cookie-decline {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.cookie-decline:hover {
    background-color: var(--bg-elevated);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.cookie-btn:active {
    transform: translateY(0);
}

.toast.success {
    border-left: 4px solid #4caf50;
}

.toast.error {
    border-left: 4px solid #f44336;
}

.toast.warning {
    border-left: 4px solid #ff9800;
}

.toast.info {
    border-left: 4px solid #00d9ff;
}

.toast {
    display: none;
    position: fixed;
    top: 65px;
    width: 380px;
    background: var(--solid-bg-card);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    padding: 16px;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    overflow: hidden;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.toast-progress-bar {
    height: 100%;
    width: 100%;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    transition: none;
}

.toast-progress-bar.animating {
    animation: toast-progress-shrink 5s linear forwards;
}

.toast.success .toast-progress-bar {
    background: #4caf50;
}

.toast.error .toast-progress-bar {
    background: #f44336;
}

.toast.warning .toast-progress-bar {
    background: #ff9800;
}

.toast.info .toast-progress-bar {
    background: #00d9ff;
}

@keyframes toast-progress-shrink {
    from { width: 100%; }
    to { width: 0%; }
}

.content {
    flex: 1;
}

.title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 2px;
}

.message {
    font-size: 14px;
}

.close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 4px;
}

a.animated-underline {
    position: relative;
    color: inherit;
    text-decoration: none;
}

.close:hover {
    transition: all 0.5s ease-in-out;
    color: var(--text-primary);
}

a.animated-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s cubic-bezier(.4,0,.2,1);
}

a.animated-underline:hover::after,
a.animated-underline:focus::after {
    width: 100%;
}

nav {
    background-color: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 800;
}


nav {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-lg);
    width: 85%;
    max-width: 1200px;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 800;
    padding: 0.875rem 2rem;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
}

.nav-content {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    gap: 2rem;
}

.nav-content ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: auto;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-light {
    display: none;
}

[data-theme="light"] .logo-dark {
    display: none;
}

[data-theme="light"] .logo-light {
    display: block;
}

.logo-text {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.5s ease-in-out;
}

nav a:hover {
    color: var(--accent-light);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    font-size: 0.875rem;
}

nav .cta-button {
    padding: 0.45rem 1.25rem;
    font-size: 0.825rem;
    color: var(--text-primary);
}

nav .cta-button:hover {
    color: var(--text-primary);
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem;
    justify-content: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease-out 0s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-primary);
    max-width: 650px;
    margin: 1rem auto 2rem auto;
    line-height: 1.5;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0s both;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0 auto;
    max-width: 650px !important;
    animation: fadeInUp 1s ease-out 0s both;
}

.hero-buttons div {
    gap: 1rem;
    display: flex;
    flex-direction: row;
}


.waitlist-form {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.waitlist-input-group {
    display: flex;
    gap: 8px;
    flex-direction: row;
}

.waitlist-input {
    flex: 1;
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    border: 1px solid var(--border);
    background-color: var(--bg-surface);
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.waitlist-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--input-focus-ring);
}

.waitlist-input::placeholder {
    color: var(--input-text-color);
    opacity: 0.5;
}

.highlighted {
    color: var(--accent-light) !important;
}

/* ── Pricing Section ── */

.pricing-table {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    align-items: stretch;
    perspective: 1200px;
}

.pricing-card {
    width: 100%;
    max-width: 360px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 1px 4px rgba(0, 0, 0, 0.1);
}

.pricing-card:hover {
    transform: translateY(-8px) rotateX(1deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.pricing-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

.billing-toggle {
    margin: 2rem auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.annual-savings-pill {
    display: inline-flex;
    align-items: center;
    background: var(--success-muted);
    color: var(--success);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    margin-left: 0.35rem;
    vertical-align: middle;
    line-height: 1;
}

.trial-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
}

.toggle-container {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 4px;
    display: flex;
    align-items: center;
    max-width: 350px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.toggle-btn {
    color: var(--text-primary);
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-lg) !important;
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.toggle-btn:not(.active):hover {
    color: var(--accent);
    background: var(--accent-subtle);
}

.toggle-switch {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background: var(--accent-medium);
    border-radius: var(--radius-lg);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-container::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 6px;
    border-radius: var(--radius-lg);
    opacity: 0.5;
}

/* ── Price typography ── */

.price {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-primary);
    text-align: left !important;
    margin: 0.25rem 0 0.75rem 0 !important;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-tertiary);
    letter-spacing: 0;
}

.founders-price {
    font-size: 0.75rem !important;
    color: var(--accent) !important;
    margin: -0.5rem 0 0.75rem 0 !important;
    opacity: 0.85 !important;
    left: 0 !important;
    transform: none !important;
    text-align: left !important;
    max-width: none !important;
    position: static !important;
}

.founders-price strong {
    font-weight: 600;
}

/* ── PRO featured card ── */

.pricing-card-featured {
    position: relative;
    z-index: 2;
    border: 1px solid rgba(59, 130, 246, 0.25);
    box-shadow:
        0 12px 32px rgba(59, 130, 246, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    max-width: 420px;
}

.pricing-card-featured:hover {
    transform: translateY(-8px) rotateX(1.5deg);
    box-shadow:
        0 20px 48px rgba(59, 130, 246, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.25);
}

/* PRO price */
.pricing-card-featured .price {
    font-size: 3.5rem;
    line-height: 1;
}

/* ── Most Popular badge ── */

.best-value-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-lighter), #a78bfa);
    background-size: 200% 200%;
    animation: badgeShimmer 3s ease infinite;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 1.4rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4), 0 0 20px rgba(59, 130, 246, 0.12);
    white-space: nowrap;
    z-index: 3;
}

/* ── CTA Buttons ── */

.pricing-cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.pricing-cta-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.pricing-cta-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
}

.pricing-cta-solid {
    background: var(--accent-muted);
    color: var(--accent-lighter);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.pricing-cta-solid:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.pricing-cta-glow {
    background: linear-gradient(135deg, var(--accent), var(--accent-lighter));
    color: #fff;
    border: none;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35), 0 0 40px rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.pricing-cta-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: none;
    animation: shimmerSlide 3s ease-in-out infinite;
}

.pricing-cta-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5), 0 0 60px rgba(59, 130, 246, 0.15);
}

.pricing-cta-glow:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ── Keep legacy classes for any remaining references ── */

.pricing-link {
    margin: auto auto 0 auto;
    color: var(--accent-light);
    text-align: center;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    width: 100%;
}

.pricing-link:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-light);
}

.pricing-button {
    position: relative;
    background-color: var(--accent-medium);
    color: var(--text-primary);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border: var(--border-color);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: auto auto 0 auto !important;
    width: 100%;
}

.pricing-button:hover {
    background-color: var(--accent-darker);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.pricing-button:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2) !important;
}

.pricing-button a {
    text-decoration: none;
    color: var(--text-primary);
}

/* ── Feature list ── */

.pricing-features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.625rem;
    margin: 1.5rem 0 2rem 0;
}

.pricing-card-featured .pricing-features {
    margin-top: 0;
}

.pricing-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-features span::before {
    content: '';
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    background-color: var(--success-muted);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
}

.pricing-card-featured .pricing-features span::before {
    background-color: rgba(59, 130, 246, 0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.feature-dim {
    color: var(--text-tertiary) !important;
    opacity: 0.6;
}

.feature-dim::before {
    background-color: var(--error-muted) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") !important;
}

.pro-exclusive {
    color: var(--text-primary) !important;
    font-weight: 500;
}

/* ── Staggered entrance for pricing cards ── */

.pricing-card.fade-in-up:nth-child(1) { transition-delay: 0s; }
.pricing-card.fade-in-up:nth-child(2) { transition-delay: 0.15s; }
.pricing-card.fade-in-up:nth-child(3) { transition-delay: 0.3s; }

.cta-button {
    display: inline-block;
    background-color: var(--accent-medium);
    color: var(--text-primary);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
    background-color: var(--accent-darker);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.cta-button a {
    text-decoration: none;
    color: var(--text-primary);
}

.cta-primary, .cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    width: 100%;
}

.cta-primary {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-medium));
    color: var(--text-primary);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.cta-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--accent-lighter);
    font-weight: 500;
    margin-top: 1.5rem;
    opacity: 0.9;
}

.cta-badge::before {
    content: '✓';
    color: var(--accent-light);
    font-weight: bold;
}


/* ---- Feature mockup: Custom Branding Carousel ---- */

.tm-carousel {
    width: 100%;
    border-radius: var(--radius-lg);
    background: var(--solid-bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    user-select: none;
}

.tm-carousel-track {
    position: relative;
    height: 340px;
}

.tm-slide {
    display: none;
    animation: tm-fade-in 0.35s ease;
}

.tm-slide-active {
    display: block;
}

@keyframes tm-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.tm-slide-mockup {
    padding: 1.25rem;
    height: 340px;
    overflow: hidden;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Settings section slides (Custom Domain + Colors & Font) */
.tm-settings-section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    justify-content: center;
    height: 100%;
}

.tm-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-subtle);
    margin: 0;
}

.tm-section-icon {
    opacity: 0.6;
    flex-shrink: 0;
}

.tm-section-desc,
.section .tm-section-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
    position: static;
    left: auto;
    transform: none;
    text-align: left;
    max-width: none;
}

.tm-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.tm-form-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.tm-text-input {
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.6rem;
    font-size: 0.8rem;
    color: var(--text-primary);
    font-weight: 500;
}

.tm-help-text,
.section .tm-help-text {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    margin: 0;
    position: static;
    left: auto;
    transform: none;
    text-align: left;
    max-width: none;
}

.tm-code {
    background: var(--input-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 3px;
    padding: 0.1rem 0.35rem;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.65rem;
    color: var(--accent);
}

.tm-section-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.tm-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
    cursor: default;
    border: 1px solid transparent;
    box-sizing: border-box;
}

.tm-btn-primary {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.tm-btn-secondary {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text-secondary);
}

/* Color picker grid (matches settings_team.html) */
.tm-color-picker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.tm-picker-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.tm-picker-item label {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

.tm-picker-input {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.4rem;
}

.tm-picker-text-only {
    padding: 0.3rem 0.4rem;
}

.tm-swatch {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.tm-picker-value {
    font-size: 0.65rem;
    font-family: 'SF Mono', Monaco, monospace;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Carousel navigation */
.tm-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    border-top: 1px solid var(--border-subtle);
}

.tm-carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.tm-carousel-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-muted);
}

.tm-carousel-dots {
    display: flex;
    gap: 0.35rem;
}

.tm-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.tm-dot-active {
    background: var(--accent);
    transform: scale(1.2);
}

/* ---- Feature mockup: Value Score Dashboard ---- */

.vs-mockup {
    width: 100%;
    border-radius: var(--radius-lg);
    background: var(--solid-bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    user-select: none;
    cursor: default;
    container-type: inline-size;
}

.vs-mockup-inner {
    --vs-width: 520px;
    width: var(--vs-width);
    transform: scale(calc(100cqi / var(--vs-width)));
    transform-origin: top left;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
}

.vs-filter-bar {
    display: flex;
    gap: 0.35rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-subtle);
}

.vs-filter-chip {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.vs-filter-active {
    background: var(--accent-muted);
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 600;
}

.vs-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vs-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.65rem 0.75rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vs-item:hover {
    border-color: var(--glass-border);
    box-shadow: 0 2px 8px var(--accent-subtle);
}

.vs-item-highlight {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-muted);
}

.vs-item-highlight:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 12px var(--accent-glow);
}

.vs-item-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    flex-wrap: nowrap;
}

.vs-item-rank {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-tertiary);
    min-width: 20px;
    flex-shrink: 0;
}

.vs-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-item-score {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--success);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    white-space: nowrap;
}

.vs-bar-track {
    display: flex;
    height: 20px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    gap: 1px;
    margin-bottom: 0.25rem;
}

.vs-bar-segment {
    display: flex;
    align-items: center;
    padding: 0 0.35rem;
    min-width: 0;
    overflow: hidden;
}

.vs-bar-label {
    font-size: 0.6rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vs-seg-enterprise {
    background: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
}

.vs-seg-growth {
    background: rgba(16, 185, 129, 0.25);
    color: #34d399;
}

.vs-seg-starter {
    background: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

[data-theme="light"] .vs-seg-enterprise {
    background: rgba(37, 99, 235, 0.15);
    color: #2563eb;
}

[data-theme="light"] .vs-seg-growth {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

[data-theme="light"] .vs-seg-starter {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.vs-top-segment {
    font-size: 0.65rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.feature-showcase-image img {
    width: 100%;
    border-radius: var(--radius-lg);
}


.section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.section-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ── Final CTA Section — Liquid Lava Background ── */

.cta-final-svg-filter {
    position: absolute;
    width: 0;
    height: 0;
}

.cta-final {
    position: relative;
    padding: 10rem 2rem 8rem;
    overflow: hidden;
}

.cta-final-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    /* Fade edges so blobs blend smoothly into the page */
    mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, black 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, black 40%, transparent 75%);
}

.cta-lava-container {
    position: absolute;
    inset: -5%;
    filter: url(#cta-goo) blur(30px);
    opacity: 0.45;
}

.cta-lava-blob {
    position: absolute;
    border-radius: 50%;
    will-change: transform, border-radius;
}

/* Blobs positioned closer to center so they overlap and merge */
.cta-lava-blob--1 {
    width: 380px;
    height: 380px;
    background: var(--accent);
    top: 15%;
    left: 20%;
    animation:
        ctaLavaDrift1 14s ease-in-out infinite alternate,
        ctaLavaMorph1 9s ease-in-out infinite;
}

.cta-lava-blob--2 {
    width: 320px;
    height: 320px;
    background: #7c3aed;
    bottom: 10%;
    right: 15%;
    animation:
        ctaLavaDrift2 16s ease-in-out infinite alternate,
        ctaLavaMorph2 11s ease-in-out infinite;
}

.cta-lava-blob--3 {
    width: 280px;
    height: 280px;
    background: #06b6d4;
    top: 30%;
    left: 40%;
    animation:
        ctaLavaDrift3 12s ease-in-out infinite alternate,
        ctaLavaMorph3 8s ease-in-out infinite;
}

.cta-lava-blob--4 {
    width: 220px;
    height: 220px;
    background: #4f46e5;
    top: 10%;
    right: 25%;
    animation:
        ctaLavaDrift4 18s ease-in-out infinite alternate,
        ctaLavaMorph1 12s ease-in-out infinite;
}

.cta-lava-blob--5 {
    width: 300px;
    height: 300px;
    background: #0891b2;
    bottom: 15%;
    left: 15%;
    animation:
        ctaLavaDrift5 15s ease-in-out infinite alternate,
        ctaLavaMorph2 10s ease-in-out infinite;
}

.cta-lava-blob--6 {
    width: 260px;
    height: 260px;
    background: #6366f1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation:
        ctaLavaDrift6 20s ease-in-out infinite alternate,
        ctaLavaMorph3 13s ease-in-out infinite;
}

.cta-final-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-final-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.cta-final-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0 auto 3rem;
    line-height: 1.7;
    max-width: 560px;
    opacity: 0.9;
}

.cta-final-form-card {
    width: 100%;
    max-width: 560px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    box-shadow: var(--shadow-md), 0 0 80px rgba(59, 130, 246, 0.06);
}

.cta-final-form-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}

.cta-final-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.cta-final-trust span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-final-trust span::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--success-muted);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* ── Light theme overrides for CTA ── */

[data-theme="light"] .cta-lava-container {
    opacity: 0.5;
    filter: url(#cta-goo) blur(50px);
}

[data-theme="light"] .cta-lava-blob--1 { background: #3b82f6; }
[data-theme="light"] .cta-lava-blob--2 { background: #8b5cf6; }
[data-theme="light"] .cta-lava-blob--3 { background: #06b6d4; }
[data-theme="light"] .cta-lava-blob--4 { background: #6366f1; }
[data-theme="light"] .cta-lava-blob--5 { background: #14b8a6; }
[data-theme="light"] .cta-lava-blob--6 { background: #a78bfa; }

[data-theme="light"] .cta-final-form-card {
    box-shadow: var(--shadow-md), 0 0 80px rgba(37, 99, 235, 0.04);
}

[data-theme="light"] .cta-final-form-card::before {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(124, 58, 237, 0.08), rgba(8, 145, 178, 0.15));
}

[data-theme="light"] .cta-final-trust span::before {
    background-color: rgba(5, 150, 105, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}


.section h2, .testimonials h2, .faq-section h2 {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1200px;
    text-align: center;
    font-size: 3rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.table-section h2 {
    max-width: fit-content;
}

.section p {
    font-size: 1.5rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: 650px;
    text-align: center;
    line-height: 1.5;
    color: var(--text-primary);
}

.section-text h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}


/* ---- Feature showcase (zigzag layout) ---- */

.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-row-reversed {
    direction: rtl;
}

.feature-row-reversed > * {
    direction: ltr;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-light);
}

.feature-heading {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0;
}

.feature-showcase .feature-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    max-width: 480px;
    position: static;
    left: auto;
    transform: none;
    text-align: left;
}

.feature-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* Premium 3D depth — matches hero mockup treatment */
.feature-mockup > * {
    transform: rotateX(2deg) scale(0.98);
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.08), 0 6px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-mockup > *:hover {
    transform: rotateX(0deg) scale(1);
    box-shadow: 0 24px 64px rgba(59, 130, 246, 0.14), 0 10px 28px rgba(0, 0, 0, 0.24);
}

[data-theme="light"] .feature-mockup > * {
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.10), 0 6px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .feature-mockup > *:hover {
    box-shadow: 0 24px 64px rgba(37, 99, 235, 0.16), 0 10px 28px rgba(0, 0, 0, 0.12);
}

.feature-mockup-skeleton {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-mockup-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 100%
    );
    animation: skeleton-shimmer 2s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

[data-theme="light"] .feature-mockup-skeleton {
    background: rgba(37, 99, 235, 0.03);
    border-color: rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .feature-mockup-skeleton::after {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(37, 99, 235, 0.04) 50%,
        transparent 100%
    );
}

/* ---- Feedback Boards mockup (1:1 product replica via scale transform) ---- */

.fb-mockup {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    background: var(--solid-bg-card);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    user-select: none;
    cursor: default;
}

/* Inner renders at real product width, then scale() shrinks it to fit */
.fb-mockup-inner {
    --fb-width: 720px;
    width: var(--fb-width);
    transform: scale(calc(100cqi / var(--fb-width)));
    transform-origin: top left;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Container query context */
.fb-mockup {
    container-type: inline-size;
}

/* Tag chips — exact public.css .public-vb-tag-chip values */
.fb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.fb-tag {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.fb-tag-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Two-column kanban — exact public.css layout */
.fb-columns {
    display: flex;
    gap: 1.25rem;
}

.fb-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Column header — exact .public-column-header */
.fb-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    margin-bottom: 0;
    border-bottom: 2px solid var(--accent);
}

.fb-col-header span:first-child {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

/* Column count — exact .public-column-count */
.fb-col-count {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 0.5rem;
    background: var(--accent-muted);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Feature card — exact .public-feature-card */
.fb-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

/* Card title — exact .public-card-title */
.fb-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.4rem 0;
    line-height: 1.3;
}

/* Card description — must beat .section p specificity (0,1,1) with (0,2,0) */
.fb-mockup-inner .fb-card-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0 0 0.6rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    position: static;
    left: auto;
    transform: none;
    max-width: none;
}

/* Card tags — exact .public-tag */
.fb-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.6rem;
}

.fb-card-tag {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-subtle);
    border: 1px solid var(--accent-muted);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
}

/* Progress bar — exact .public-card-progress */
.fb-card-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.fb-progress-track {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.fb-progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: var(--radius-sm);
}

.fb-progress-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    min-width: 32px;
    text-align: right;
}

/* Card meta — exact .public-card-meta */
.fb-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-subtle);
}

/* Vote display — exact .public-vote-display (left side) */
.fb-vote-display {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Meta stats — exact .public-meta-stats (right side: views + comments) */
.fb-meta-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Meta item — exact .public-meta-item */
.fb-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

/* Shared icon size — exact .public-vote-icon / .public-meta-icon */
.fb-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Bottom fade — same as hero mockup */
.fb-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--solid-bg-card));
    pointer-events: none;
    z-index: 2;
}

/* ---- Feedback Boards: Suggest Feature modal mockup ---- */

/* Dim + blur the background roadmap content */
.fb-dimmed {
    filter: blur(1.5px);
    opacity: 0.35;
}

/* Semi-transparent overlay positioned over the mockup */
.fb-suggest-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    padding: 2rem 2rem;
}

/* Modal card — matches public.css .public-modal */
.fb-suggest-modal {
    background: var(--solid-bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Modal header — matches .public-modal-header */
.fb-suggest-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.fb-suggest-close {
    font-size: 1.3rem;
    color: var(--text-secondary);
    cursor: default;
    line-height: 1;
}

/* Modal body */
.fb-suggest-body {
    padding: 0.75rem 1rem;
}

/* Form group */
.fb-form-group {
    margin-bottom: 0.6rem;
}

/* Label — matches .public-vb-label */
.fb-form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

/* Input — matches .public-vb-input (shows pre-filled text) */
.fb-form-input {
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 0.5rem 0.65rem;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Textarea — matches .public-comment-input (shows pre-filled text) */
.fb-form-textarea {
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 0.6rem 0.65rem;
    font-size: 0.8rem;
    line-height: 1.5;
    min-height: 56px;
}

/* Hint text — needs .section p specificity override */
.fb-suggest-body .fb-form-hint {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin: 0 0 0.4rem 0;
    text-align: left;
    position: static;
    left: auto;
    transform: none;
    max-width: none;
}

/* Action buttons row */
.fb-suggest-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
}

/* Cancel button — ghost style */
.fb-btn-cancel {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
}

/* Submit button — accent filled */
.fb-btn-submit {
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    color: #fff;
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
}

/* ---- Changelog mockup (1:1 public changelog replica) ---- */

/* Timeline container */
.cb-timeline {
    padding-top: 0.25rem;
}

/* Row: date | connector | card — matches public.css .cl-row */
.cb-row {
    display: grid;
    grid-template-columns: 100px 30px 1fr;
    align-items: start;
    margin-bottom: 0.75rem;
}

/* Date column */
.cb-date-col {
    padding-top: 3px;
    text-align: right;
}

.cb-date {
    font-size: 0.68rem;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* Timeline connector */
.cb-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2px;
}

.cb-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
    margin-top: 5px;
}

.cb-dot-featured {
    background: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
    width: 11px;
    height: 11px;
    margin-top: 4px;
}

.cb-line {
    flex: 1;
    width: 1px;
    background: var(--border);
    opacity: 0.4;
    min-height: 2rem;
    margin-top: 5px;
}

.cb-row:last-child .cb-line {
    opacity: 0;
}

/* Release card — matches public.css .cl-card */
.cb-card {
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.cb-card-featured {
    border-color: var(--accent);
}

/* Featured badge — matches .changelog-featured-badge */
.cb-featured-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #fff;
    margin-bottom: 0.4rem;
}

/* Release title — matches .cl-title */
.fb-mockup-inner .cb-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

/* Body text — matches .changelog-entry-body */
.fb-mockup-inner .cb-body {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.55;
    margin: 0 0 0.6rem;
    text-align: left;
    position: static;
    left: auto;
    transform: none;
    max-width: none;
}

/* Feature list — matches .changelog-feature-list */
.cb-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Feature item — matches .changelog-feature-item */
.cb-feature-item {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    font-size: 0.78rem;
    flex-wrap: wrap;
    background: rgba(88,166,255,0.03);
    border-radius: var(--radius-md);
    padding: 0.4rem 0.55rem;
}

.cb-feature-item::before {
    content: "–";
    color: var(--text-secondary);
    opacity: 0.35;
    flex-shrink: 0;
}

.cb-feature-heading {
    color: var(--text-secondary);
    font-size: 0.78rem;
}

/* "Requested by X voters" — matches .changelog-feature-voters */
.cb-voters {
    font-size: 0.65rem;
    color: var(--text-secondary);
    opacity: 0.45;
    white-space: nowrap;
}

/* Type badges — matches .changelog-type-badge + variants */
.cb-type-badge {
    display: inline-block;
    font-size: 0.58rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.cb-type-feature {
    background: rgba(88,166,255,0.1);
    color: var(--accent);
    border: 1px solid rgba(88,166,255,0.2);
}

.cb-type-improvement {
    background: rgba(59,130,246,0.1);
    color: #60a5fa;
    border: 1px solid rgba(59,130,246,0.2);
}

.cb-type-bug_fix {
    background: rgba(239,68,68,0.08);
    color: #f87171;
    border: 1px solid rgba(239,68,68,0.2);
}

/* ---- Embeddable Widgets mockup (code editor) ---- */

.ew-editor {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #1e1e2e;
    border: 1px solid rgba(255,255,255,0.08);
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'JetBrains Mono', monospace;
    user-select: none;
    cursor: default;
}

/* Window chrome bar */
.ew-chrome {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #181825;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* macOS traffic light dots */
.ew-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.ew-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ew-dot-close { background: #ff5f57; }
.ew-dot-minimize { background: #febc2e; }
.ew-dot-expand { background: #28c840; }

/* File tabs */
.ew-tabs {
    display: flex;
    gap: 2px;
}

.ew-tab {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
    border-radius: 6px 6px 0 0;
    color: rgba(255,255,255,0.35);
    background: transparent;
    letter-spacing: 0.01em;
}

.ew-tab-active {
    color: rgba(255,255,255,0.85);
    background: #1e1e2e;
}

/* Code block */
.ew-code {
    margin: 0;
    padding: 1.25rem 1.5rem;
    font-size: 0.78rem;
    line-height: 1.7;
    color: #cdd6f4;
    overflow-x: auto;
    tab-size: 2;
}

.ew-code code {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* Syntax highlighting — Catppuccin-inspired */
.ew-kw { color: #cba6f7; }
.ew-str { color: #a6e3a1; }
.ew-fn { color: #89b4fa; }
.ew-var { color: #f38ba8; }
.ew-prop { color: #89dceb; }
.ew-num { color: #fab387; }
.ew-cmt { color: #585b70; font-style: italic; }

/* Terminal output strip */
.ew-output {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    font-size: 0.7rem;
    color: rgba(166, 227, 161, 0.8);
    background: #11111b;
    border-top: 1px solid rgba(255,255,255,0.04);
    letter-spacing: 0.01em;
}

.ew-output-icon {
    color: #a6e3a1;
    font-weight: 700;
}

.ew-output-sep {
    opacity: 0.3;
}

/* ---- Feature mockup: weighted voting (1:1 product replica) ---- */

/* Tier section */
.fm-tier-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fm-tier-section:hover {
    border-color: var(--glass-border);
    box-shadow: 0 2px 12px var(--accent-subtle);
}

.fm-tier-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem 0;
}

.fm-tier-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 6px;
    background: var(--accent-muted);
    border-radius: var(--radius-sm);
    color: var(--accent);
    flex-shrink: 0;
}

.fm-tier-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.fm-tier-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fm-tier-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fm-tier-card:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 8px var(--accent-glow);
}

.fm-tier-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.fm-tier-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.fm-tier-desc {
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

.fm-tier-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    padding: 0.15rem 0.5rem;
    background: var(--accent-muted);
    border-radius: var(--radius-md);
    white-space: nowrap;
    letter-spacing: 0.03em;
}

/* Chart card */
.fm-chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fm-chart-card:hover {
    border-color: var(--glass-border);
    box-shadow: 0 2px 12px var(--accent-subtle);
}

.fm-chart-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.fm-chart-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Donut chart (SVG — smooth anti-aliased rendering) */
.fm-donut {
    position: relative;
    width: 200px;
    height: 200px;
}

.fm-donut-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.fm-donut-segment {
    fill: none;
    stroke-width: 22;
    stroke-linecap: butt;
}

.fm-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.fm-donut-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.fm-donut-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-tertiary);
    margin-top: 4px;
}

/* Chart legend */
.fm-chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
}

.fm-legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.fm-legend-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Light mode overrides */
[data-theme="light"] .fm-tier-section {
    background: rgba(37, 99, 235, 0.03);
}

[data-theme="light"] .fm-tier-card {
    background: rgba(255, 255, 255, 0.6);
}


/* Carousel-scoped overrides for tier/chart fit within 340px */
.tm-carousel .fm-tier-section {
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tm-carousel .fm-tier-header {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.tm-carousel .fm-tier-card {
    padding: 0.6rem 0.85rem;
}

.tm-carousel .fm-chart-card {
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tm-carousel .fm-chart-title {
    margin-bottom: 0.5rem;
}

.tm-carousel .fm-chart-body {
    gap: 0.75rem;
}

.tm-carousel .fm-donut {
    width: 170px;
    height: 170px;
}

.tm-carousel .fm-donut-value {
    font-size: 1.4rem;
}

/* ---- Weighted voting before/after comparison slider ---- */

.wv-compare {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--solid-bg-card);
    width: 100%;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    cursor: ew-resize;
}

/* After panel sits in flow — sets the container height */
.wv-panel {
    padding: 1.25rem;
}

.wv-panel-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.wv-label-before {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.wv-label-after {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

[data-theme="light"] .wv-label-before {
    background: rgba(220, 38, 38, 0.10);
    color: #dc2626;
}

[data-theme="light"] .wv-label-after {
    background: rgba(22, 163, 74, 0.10);
    color: #16a34a;
}

.wv-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.wv-item {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.wv-rank {
    grid-row: 1 / -1;
    font-size: 0.75rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-secondary);
}

.wv-rank-1 { color: #3b82f6; }
.wv-rank-2 { color: #8b5cf6; }
.wv-rank-3 { color: #a855f7; }

.wv-item-info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.wv-item-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wv-item-tier {
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    flex-shrink: 0;
}

.wv-tier-enterprise { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }
.wv-tier-pro { background: rgba(168, 85, 247, 0.12); color: #a855f7; }
.wv-tier-free { background: rgba(148, 163, 184, 0.12); color: var(--text-secondary); }

[data-theme="light"] .wv-tier-enterprise { background: rgba(37, 99, 235, 0.08); color: #2563eb; }
[data-theme="light"] .wv-tier-pro { background: rgba(147, 51, 234, 0.08); color: #9333ea; }
[data-theme="light"] .wv-tier-free { background: rgba(100, 116, 139, 0.08); color: #64748b; }

.wv-item-value {
    font-size: 0.8rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
    text-align: right;
    white-space: nowrap;
}

.wv-bar {
    grid-column: 2 / -1;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, #3b82f6, #22c55e);
    opacity: 0.35;
    margin-top: 0.3rem;
}

.wv-bar-muted {
    background: linear-gradient(90deg, #94a3b8, #cbd5e1);
    opacity: 0.2;
}

/* Before panel — absolute overlay, clipped by .wv-clip */
.wv-clip {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    z-index: 2;
    background: var(--solid-bg-card);
}

/* Draggable handle */
.wv-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.wv-handle-line {
    flex: 1;
    width: 2px;
    background: var(--accent);
    opacity: 0.6;
}

.wv-handle-grip {
    pointer-events: auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--solid-bg-card);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: ew-resize;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 0;
    font: inherit;
    line-height: 1;
}

.wv-handle-grip:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.wv-handle-grip:active {
    transform: scale(0.95);
}

.wv-handle-grip:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ---- Feature mockup: demand-effort-priority prioritization ---- */

.dep-mockup {
    width: 100%;
    border-radius: var(--radius-lg);
    background: var(--solid-bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    user-select: none;
    cursor: default;
    container-type: inline-size;
}

.dep-mockup-inner {
    --dep-width: 520px;
    width: var(--dep-width);
    transform: scale(calc(100cqi / var(--dep-width)));
    transform-origin: top left;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Sort bar */
.dep-sort-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.dep-sort-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.dep-sort-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--accent-muted);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-md);
}

.dep-sort-chevron {
    width: 12px;
    height: 12px;
    opacity: 0.7;
}

/* Table structure */
.dep-table {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dep-header {
    display: grid;
    grid-template-columns: 1fr 70px 50px 70px;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    align-items: center;
}

.dep-header-cell {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
}

.dep-header-demand,
.dep-header-effort,
.dep-header-priority {
    text-align: center;
}

/* Feature rows */
.dep-row {
    display: grid;
    grid-template-columns: 1fr 70px 50px 70px;
    gap: 0 0.5rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dep-row:hover {
    border-color: var(--glass-border);
    box-shadow: 0 2px 8px var(--accent-subtle);
}

.dep-row-highlight {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-muted);
}

.dep-row-highlight:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 12px var(--accent-glow);
}

.dep-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dep-demand {
    font-size: 0.85rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--warning);
    text-align: center;
}

.dep-effort {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    margin: 0 auto;
}

/* Effort level colors — green for small, amber for medium, red for large */
.dep-effort-xs { background: var(--success-muted); color: var(--success); }
.dep-effort-s  { background: var(--success-muted); color: var(--success); }
.dep-effort-m  { background: var(--warning-muted); color: var(--warning); }
.dep-effort-l  { background: var(--error-muted);   color: var(--error); }
.dep-effort-xl { background: var(--error-muted);   color: var(--error); }

.dep-priority {
    font-size: 0.85rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--accent);
    text-align: center;
}

/* Formula hint */
.dep-formula {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    text-align: center;
    padding-top: 0.25rem;
    border-top: 1px solid var(--border-subtle);
    font-style: italic;
}

/* Light mode override */
[data-theme="light"] .dep-row-highlight {
    background: var(--accent-subtle);
}


.justread-logo-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    border-radius: var(--radius-lg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.justread-logo-icon:hover {
    transform: scale(1.05);
}

#how-it-works .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

@media (min-width: 992px) {
    #how-it-works .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

#how-it-works .step-card {
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 48px 32px 40px;
    text-align: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

#how-it-works .step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#how-it-works .step-card:hover {
    border-color: var(--accent-light);
    transform: translateY(-6px);
    box-shadow:
        0 8px 24px rgba(59, 130, 246, 0.12),
        0 24px 48px rgba(0, 0, 0, 0.15);
}

#how-it-works .step-card:hover::before {
    opacity: 1.5;
}

#how-it-works .step-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-muted), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: var(--accent-light);
    margin-bottom: 24px;
    transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

#how-it-works .step-card:hover .step-icon {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-medium));
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

#how-it-works .step-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--accent-light);
    opacity: 0.07;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#how-it-works .step-card:hover .step-number {
    opacity: 0.12;
}

#how-it-works .step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 0.5rem 0;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

#how-it-works .step-description {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.65;
    margin: 0;
    position: static;
    left: auto;
    transform: none;
    text-align: left;
}

@media (max-width: 768px) {
    #how-it-works .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    #how-it-works .step-card {
        padding: 36px 24px 32px;
    }

    #how-it-works .step-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        margin-bottom: 20px;
    }

    #how-it-works .step-icon svg {
        width: 22px;
        height: 22px;
    }

    #how-it-works .step-number {
        font-size: 3rem;
        top: 16px;
        right: 18px;
    }

    #how-it-works .step-title {
        font-size: 1.1rem;
    }

    #how-it-works .step-description {
        font-size: 0.875rem;
        line-height: 1.6;
        padding: 0;
    }
}

footer {
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.footer-column a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-column select {
    background-color: var(--bg-card);
    width: 100%;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    backdrop-filter: blur(10px);
}

.footer-column select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l4 4 4-4'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 10px 6px;
}

.footer-column select:hover,
.footer-column select:focus {
    background-color: var(--accent-darker);
    outline: none;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.footer-made-with {
    width: 100%;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-made-with p {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 500;
    position: relative;
    left: auto;
    transform: none;
}

.heart {
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
}

.credits-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.developer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.dev-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    background-color: var(--bg-card);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background-color: var(--accent-medium);
    color: var(--text-primary);
    border-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.ampersand {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
}

@media (max-width: 640px) {
    .credits-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-made-with {
        padding: 1.5rem 0;
        margin-top: 1.5rem;
    }

    .footer-made-with p {
        font-size: 0.85rem;
    }

    .ampersand {
        display: none;
    }
}

/* ── FAQ Section ── */

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.08),
                0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item.active {
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12),
                0 4px 16px rgba(0, 0, 0, 0.1);
}

.faq-item.active::before {
    opacity: 1;
}

.faq-question {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    letter-spacing: -0.01em;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-question {
    color: var(--accent-lighter);
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--accent-muted);
    color: var(--accent-light);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s ease,
                color 0.3s ease,
                box-shadow 0.3s ease;
}

.faq-item:hover .faq-toggle {
    background: rgba(59, 130, 246, 0.2);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    background: linear-gradient(135deg, var(--accent-light), var(--accent-medium));
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.faq-answer {
    position: relative;
    z-index: 1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer p {
    position: static;
    left: auto;
    transform: none;
    max-width: none;
    font-size: 0.975rem;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: left;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-subtle);
    margin: 0;
}

/* ── FAQ Footer / View All Link ── */

.faq-footer {
    text-align: center;
    margin-top: 2.5rem;
}

.faq-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-tertiary);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
}

.faq-view-all:hover {
    color: var(--accent-light);
    gap: 0.75rem;
}

.faq-view-all svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-view-all:hover svg {
    transform: translateX(3px);
}

.hero-trust-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-trust-points span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.hero-trust-points span::before {
    content: '\2713';
    color: #10b981;
    font-weight: bold;
    font-size: 1rem;
    margin-right: 0.2rem;
}

.theme-toggle {
    background: none;
    border: 1px solid transparent;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.theme-toggle-mobile {
    display: none;
}

.nav-mobile-controls {
    display: none;
}

.hamburger {
    display: none;
    background: none;
    border: 1px solid transparent;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.4rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.hamburger:hover {
    border-color: var(--border-color);
    background: var(--bg-card);
}

.hamburger svg {
    display: block;
}

.theme-toggle:hover {
    border-color: var(--border-color);
    background: var(--bg-card);
    transform: rotate(15deg);
}

.theme-toggle:active {
    transform: rotate(0deg) scale(0.9);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-icon-moon {
    display: none;
}

[data-theme="light"] .theme-icon-sun {
    display: none;
}

[data-theme="light"] .theme-icon-moon {
    display: block;
}

#faq {
    min-height: auto;
}

#features:target, #how-it-works:target, #pricing:target, #faq:target {
    scroll-margin-top: 4rem;
}

/* 404 Page */
.container-404 {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.error-code {
    font-size: 12rem;
    font-weight: 900;
    line-height: 1;
    margin: 0;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-lighter) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 0.8s ease-out 0s both;
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 1rem 0 0.5rem 0;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.error-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 1.5rem auto 2rem;
    line-height: 1.6;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.error-content {
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    margin: 2rem 0;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.button-group-row {
    display: flex;
    gap: 1rem;
    flex-direction: row;
    width: 100%;
}

.additional-help {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.help-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.help-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.help-link {
    color: var(--accent-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.help-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--accent-light);
    transition: width 0.3s ease-in-out;
}

.help-link:hover::after {
    width: 100%;
}

.help-link:hover {
    color: var(--accent-lighter);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

@keyframes shimmerSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes badgeShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── Lava lamp drift — smooth flowing arcs, blobs drift toward center to merge ── */

@keyframes ctaLavaDrift1 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    25%  { transform: translate(150px, 60px) scale(1.15) rotate(15deg); }
    50%  { transform: translate(80px, -80px) scale(0.85) rotate(-10deg); }
    75%  { transform: translate(180px, 100px) scale(1.1) rotate(20deg); }
    100% { transform: translate(120px, -40px) scale(0.9) rotate(-5deg); }
}

@keyframes ctaLavaDrift2 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    20%  { transform: translate(-120px, -100px) scale(1.12) rotate(-12deg); }
    40%  { transform: translate(-60px, 80px) scale(0.88) rotate(8deg); }
    60%  { transform: translate(-180px, -30px) scale(1.18) rotate(-18deg); }
    80%  { transform: translate(-80px, 60px) scale(0.9) rotate(10deg); }
    100% { transform: translate(-140px, -80px) scale(1.08) rotate(-8deg); }
}

@keyframes ctaLavaDrift3 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    33%  { transform: translate(-100px, 120px) scale(1.2) rotate(18deg); }
    66%  { transform: translate(80px, -60px) scale(0.8) rotate(-15deg); }
    100% { transform: translate(-60px, 80px) scale(1.1) rotate(10deg); }
}

@keyframes ctaLavaDrift4 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    25%  { transform: translate(-80px, 140px) scale(1.15) rotate(-20deg); }
    50%  { transform: translate(100px, 60px) scale(0.85) rotate(12deg); }
    75%  { transform: translate(-40px, -100px) scale(1.1) rotate(-8deg); }
    100% { transform: translate(80px, 120px) scale(0.9) rotate(15deg); }
}

@keyframes ctaLavaDrift5 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    33%  { transform: translate(160px, -80px) scale(1.15) rotate(14deg); }
    66%  { transform: translate(60px, 100px) scale(0.85) rotate(-12deg); }
    100% { transform: translate(130px, -50px) scale(1.1) rotate(8deg); }
}

@keyframes ctaLavaDrift6 {
    0%   { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    20%  { transform: translate(calc(-50% + 80px), calc(-50% - 60px)) scale(1.2) rotate(15deg); }
    40%  { transform: translate(calc(-50% - 60px), calc(-50% + 80px)) scale(0.8) rotate(-12deg); }
    60%  { transform: translate(calc(-50% + 100px), calc(-50% + 40px)) scale(1.15) rotate(20deg); }
    80%  { transform: translate(calc(-50% - 80px), calc(-50% - 40px)) scale(0.85) rotate(-10deg); }
    100% { transform: translate(calc(-50% + 50px), calc(-50% + 70px)) scale(1.1) rotate(8deg); }
}

/* ── Lava lamp morph — organic shape shifting ── */

@keyframes ctaLavaMorph1 {
    0%   { border-radius: 30% 70% 60% 40% / 65% 25% 75% 35%; }
    20%  { border-radius: 65% 35% 30% 70% / 40% 70% 25% 75%; }
    40%  { border-radius: 25% 75% 70% 30% / 60% 35% 65% 40%; }
    60%  { border-radius: 75% 25% 35% 65% / 30% 75% 40% 60%; }
    80%  { border-radius: 40% 60% 75% 25% / 70% 30% 60% 40%; }
    100% { border-radius: 30% 70% 60% 40% / 65% 25% 75% 35%; }
}

@keyframes ctaLavaMorph2 {
    0%   { border-radius: 70% 30% 35% 65% / 25% 75% 60% 40%; }
    25%  { border-radius: 35% 65% 75% 25% / 70% 30% 40% 60%; }
    50%  { border-radius: 60% 40% 30% 70% / 40% 65% 75% 25%; }
    75%  { border-radius: 25% 75% 65% 35% / 75% 25% 35% 70%; }
    100% { border-radius: 70% 30% 35% 65% / 25% 75% 60% 40%; }
}

@keyframes ctaLavaMorph3 {
    0%   { border-radius: 65% 35% 75% 25% / 30% 70% 35% 65%; }
    33%  { border-radius: 25% 75% 30% 70% / 65% 35% 75% 25%; }
    66%  { border-radius: 75% 25% 65% 35% / 35% 75% 30% 70%; }
    100% { border-radius: 65% 35% 75% 25% / 30% 70% 35% 65%; }
}

#consent-text, #consent-text-bottom {
    margin-top: 1rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-secondary);
    max-width: 100%;
    text-align: left;
    opacity: 0.9;
}

#consent-text-bottom {
    margin-bottom: 1rem;
    margin-top: 0.5rem !important;
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up:nth-child(1) { transition-delay: 0s; }
.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.fade-in-up:nth-child(4) { transition-delay: 0.3s; }
.fade-in-up:nth-child(5) { transition-delay: 0.4s; }
.feature-row.fade-in-up { transition-delay: 0s; }

#consent-text b, #consent-text-bottom b {
    color: var(--accent-lighter);
    font-weight: 600;
}

#founding-partners {
    padding-top: 0;
    min-height: auto;
}

.logo-slider {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: var(--radius-lg);
}

.logo-slider::before,
.logo-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to left, transparent, var(--bg-gradient-start));
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to right, transparent, var(--bg-gradient-start));
}


.logo-track {
    display: flex;
    width: calc(120px * 20);
    animation: scroll 40s linear infinite;
}

.logo-track.reverse {
    animation: scroll-reverse 40s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-120px * 10)); }
}

@keyframes scroll-reverse {
    0% { transform: translateX(calc(-120px * 10)); }
    100% { transform: translateX(0); }
}

.slide {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 100px;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    background-color: rgba(59, 130, 246, 0.04);
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slide:hover .logo-placeholder {
    border-color: var(--accent-light);
    color: var(--text-primary);
    background-color: var(--bg-card);
    transform: translateZ(8px) scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

#founder-story {
    padding-bottom: 0;
    min-height: auto;
}

.founder-story-content {
    border: none;
    border-radius: 0;
    padding: 0;
    background: none;
    text-align: center;
}

.founder-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    margin-bottom: 3rem;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pain-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.pain-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.pain-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Override .section p centering for pain cards */
.pain-card p {
    position: static;
    left: auto;
    transform: none;
    max-width: none;
    text-align: left;
    font-size: inherit;
}

.founder-cta {
    margin-bottom: 1rem;
}

#how-it-works {
    min-height: auto;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .section h2, .testimonials h2, .faq-section h2 {
        font-size: 2.5rem;
    }
    .pain-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        padding: 0;
    }
    .founder-story-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .cta-button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    nav {
        width: 92% !important;
        padding: 0 1rem !important;
        top: 12px !important;
        border-radius: 16px;
        z-index: 800;
    }

    .nav-content {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        padding: 0;
        height: 52px;
    }

    .nav-theme-li {
        display: none;
    }

    .nav-mobile-controls {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .theme-toggle-mobile {
        display: flex;
    }

    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        position: relative;
        z-index: 1000;
    }

    .hamburger svg line {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        transform-box: fill-box;
        transform-origin: center;
    }

    .hamburger.menu-open svg line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.menu-open svg line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.menu-open svg line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* Backdrop overlay when menu is open */
    .mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 789;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-menu-backdrop.visible {
        opacity: 1;
        visibility: visible;
    }

    /* Menu panel — drops below nav pill, matches its width & style */
    .nav-content ul {
        display: flex;
        position: fixed;
        top: 72px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(92% + 2rem);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: var(--bg-surface);
        border: 1px solid var(--border);
        border-radius: 12px;
        z-index: 790;
        padding: 0.75rem;
        opacity: 0;
        visibility: hidden;
        clip-path: inset(0 0 100% 0 round 12px);
        transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-content ul.mobile-open {
        opacity: 1;
        visibility: visible;
        clip-path: inset(0 0 0 0 round 12px);
    }

    .nav-content ul li {
        list-style: none;
        width: 100%;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-content ul.mobile-open li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-content ul.mobile-open li:nth-child(1) { transition-delay: 0.05s; }
    .nav-content ul.mobile-open li:nth-child(2) { transition-delay: 0.08s; }
    .nav-content ul.mobile-open li:nth-child(3) { transition-delay: 0.11s; }
    .nav-content ul.mobile-open li:nth-child(4) { transition-delay: 0.14s; }
    .nav-content ul.mobile-open li:nth-child(5) { transition-delay: 0.17s; }
    .nav-content ul.mobile-open li:nth-child(6) { transition-delay: 0.20s; }

    .nav-content ul li a {
        display: block;
        padding: 0.875rem 1rem;
        font-size: 1rem;
        font-weight: 400;
        border-radius: 8px;
        text-align: left;
        transition: background 0.2s ease;
    }

    .nav-content ul li a:hover {
        background: var(--accent-muted);
    }

    /* CTA button at bottom */
    .nav-demo-li {
        order: 99;
        margin-top: 0.5rem;
    }

    .nav-demo-li .cta-button {
        display: block;
        text-align: center;
        padding: 0.875rem 1rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 16px;
        background: linear-gradient(135deg, var(--accent), var(--accent-hover));
        color: #fff;
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
    }


    .logo-container {
        margin-right: 0 !important;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .hero {
        padding: 1.5rem 1rem;
    }

    .hero-container {
        max-width: 900px;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        justify-content: center;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
        letter-spacing: -0.01em;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
        margin: 0.75rem auto 1.5rem;
        line-height: 1.4;
    }

    .section-content {
        padding: 0;
    }

    .hero-buttons {
        max-width: 100% !important;
        width: 100% !important;
        gap: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: initial !important;
    }

    .price {
        padding-left: 0 !important;
    }

    .pricing-link {
        margin-top: 2rem !important;
    }

    .cta-list {
        flex-direction: column !important;
    }

    .cta-badge {
        margin: 0 !important;
    }

    .hero-buttons div {
        width: 100%;
        flex-direction: row;
        gap: 0.75rem;
        display: flex;
        justify-content: center;
    }

    .hero-buttons div .cta-primary,
    .hero-buttons div .cta-secondary {
        flex: 1;
        width: auto;
        max-width: 45%;
        padding: 0.85rem 1rem !important;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    #pricing p[style*="cancel"],
    .pricing-card + p {
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }

    .section h2, .testimonials h2, .faq-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        left: auto;
        transform: none;
        text-align: left;
    }

    .section p {
        font-size: 0.95rem;
        max-width: 100%;
        padding: 0;
        margin-bottom: 1rem;
        left: auto;
        transform: none;
        text-align: left;
    }

    .section {
        padding: 2rem 1rem;
        min-height: auto;
    }

    .feature-showcase {
        gap: 3rem;
        margin-top: 1.5rem;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-row-reversed {
        direction: ltr;
    }

    .feature-heading {
        font-size: 1.4rem;
    }

    .feature-showcase .feature-description {
        font-size: 0.95rem;
        max-width: none;
        padding: 0;
    }

    .feature-mockup > * {
        transform: none;
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.06), 0 4px 12px rgba(0, 0, 0, 0.12);
    }

    .feature-mockup-skeleton {
        aspect-ratio: 16 / 10;
    }

    .fb-mockup {
        aspect-ratio: 1 / 1;
    }

    .fb-mockup-inner {
        --fb-width: 480px;
    }

    .dep-mockup-inner {
        --dep-width: 380px;
    }

    .vs-mockup-inner {
        --vs-width: 380px;
    }

    .ew-editor {
        max-width: 100%;
        overflow: hidden;
    }

    .ew-code {
        font-size: 0.65rem;
        padding: 0.75rem 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ew-chrome {
        padding: 0.5rem 0.75rem;
    }

    .ew-tab {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
    }

    .ew-output {
        padding: 0.5rem 1rem;
        font-size: 0.6rem;
        flex-wrap: wrap;
    }

    .tm-carousel-track {
        height: 400px;
    }

    .tm-slide-mockup {
        height: 400px;
        padding: 0.75rem;
    }

    .tm-slide-mockup .fb-mockup {
        aspect-ratio: auto;
        height: 100%;
    }

    .tm-carousel-nav {
        padding: 0.5rem 0.75rem;
    }

    .tm-carousel-btn {
        width: 32px;
        height: 32px;
    }

    .tm-dot {
        width: 10px;
        height: 10px;
    }

    .fm-tier-section {
        padding: 1rem;
    }

    .fm-tier-header {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .fm-donut {
        width: 160px;
        height: 160px;
    }

    .fm-donut-value {
        font-size: 1.4rem;
    }

    .fm-chart-legend {
        gap: 0.5rem 1rem;
    }

    .fm-legend-item {
        font-size: 0.7rem;
    }


    .wv-panel {
        padding: 0.75rem;
    }

    .wv-item {
        padding: 0.5rem 0.6rem;
        gap: 0 0.4rem;
    }

    .wv-item-name {
        font-size: 0.7rem;
    }

    .wv-item-value {
        font-size: 0.7rem;
    }

    .wv-item-tier {
        display: none;
    }

    .wv-handle-grip {
        width: 28px;
        height: 28px;
    }

    .wv-handle-grip svg {
        width: 16px;
        height: 16px;
    }

    .pricing-table {
        flex-direction: column;
        gap: 1.5rem;
        max-width: 100%;
        margin: 2rem auto 0;
        align-items: stretch;
        perspective: none;
    }

    .pricing-card {
        max-width: 100%;
        min-height: auto;
        padding: 1.5rem;
    }

    .pricing-card:hover {
        transform: translateY(-4px);
    }

    .pricing-card-featured {
        transform: none !important;
        order: -1;
    }

    .pricing-card-featured:hover {
        transform: translateY(-4px) !important;
    }

    .pricing-card:first-child {
        order: 1;
    }

    .price {
        font-size: 2.5rem;
    }

    .pricing-card-featured .price {
        font-size: 1.5rem;
    }

    .billing-toggle {
        margin: 2rem auto 0;
    }

    .toggle-container {
        max-width: 100%;
    }

    .price {
        text-align: left !important;
        font-size: 1.5rem;
    }

    #how-it-works .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 2rem;
    }

    #how-it-works .step-card {
        padding: 36px 24px 32px;
    }

    #how-it-works .step-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        margin-bottom: 20px;
    }

    #how-it-works .step-icon svg {
        width: 22px;
        height: 22px;
    }

    #how-it-works .step-number {
        font-size: 3rem;
        top: 16px;
        right: 18px;
    }

    #how-it-works .step-title {
        font-size: 1.1rem;
        margin: 0 0 8px 0;
    }

    #how-it-works .step-description {
        font-size: 0.875rem;
        line-height: 1.6;
        padding: 0;
    }

    .cta-final {
        padding: 6rem 1.5rem 5rem;
    }

    .cta-final-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .cta-final-title br {
        display: none;
    }

    .cta-final-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .cta-final-form-card {
        padding: 1.5rem;
    }

    .cta-final-trust {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .cta-lava-blob { transform: scale(0.6) !important; }
    .cta-lava-blob--5,
    .cta-lava-blob--6 { display: none; }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .footer-column h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .footer-column a {
        font-size: 0.8rem;
    }

    .footer-column select {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-bottom p {
        font-size: 0.7rem;
    }

    #cookie-consent-container {
        width: 90%;
        padding: 12px;
        bottom: 8px;
        border-radius: var(--radius-lg);
    }

    #cookie-consent-container p:first-child {
        font-size: 0.95rem;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .toast {
        width: 90%;
        padding: 12px;
        top: 70px;
        position: fixed;
        border-radius: var(--radius-lg);
    }

    .toast .content {
        gap: 10px;
    }

    .toast .title {
        font-size: 14px;
    }

    .toast .message {
        font-size: 12px;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
        gap: 0.75rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.65;
        border-top: none;
        padding-top: 0.875rem;
        margin-top: 0.25rem;
        position: relative;
    }

    .faq-answer p::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: var(--border-subtle);
    }

    .faq-list {
        margin: 1.5rem auto 0;
        gap: 0.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }

    .faq-toggle {
        width: 28px;
        height: 28px;
    }

    .faq-toggle svg {
        width: 16px;
        height: 16px;
    }

    .faq-footer {
        margin-top: 1.5rem;
    }

    .faq-view-all {
        font-size: 0.875rem;
    }

    .hero-trust-points {
        gap: 1rem;
        font-size: 0.8rem;
    }

    html {
        scroll-behavior: smooth;
    }

    .hidden-mobile {
      display: none !important;
    }

    .waitlist-input-group {
        flex-direction: column;
    }

    .waitlist-input {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    #join-waitlist-button, #join-waitlist-button-bottom {
        width: 100%;
        padding: 0.75rem 1.5rem !important;
        font-size: 0.95rem !important;
    }
}


.hero-container {
    max-width: 1100px;
    padding: 5rem 2rem 3rem;
    min-height: 100svh;
}

.hero-content {
    min-height: calc(90svh - 10rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.hero {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

#founding-partners {
    padding-top: 10rem;
}

.hero-mockup-wrapper {
    margin-bottom: -10rem;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    animation: fadeInUp 1.2s ease-out 0.4s both;
    perspective: 1200px;
}

.hero-mockup-frame {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.12), 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: rotateX(2deg) scale(0.98);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-mockup-frame:hover {
    transform: rotateX(0deg) scale(1);
    box-shadow: 0 24px 70px rgba(59, 130, 246, 0.18), 0 12px 32px rgba(0, 0, 0, 0.35);
}

.hero-mockup-topbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-subtle);
}

.hero-mockup-dots {
    display: flex;
    gap: 6px;
    margin-right: 0.75rem;
}

.hero-mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero-mockup-dots span:nth-child(1) { background: #ef4444; }
.hero-mockup-dots span:nth-child(2) { background: #f59e0b; }
.hero-mockup-dots span:nth-child(3) { background: #10b981; }

.hero-mockup-url {
    flex: 1;
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 0.3rem 0.85rem;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    user-select: none;
}

.hero-mockup-fade {
    position: relative;
}

.hero-mockup-fade::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--bg-surface));
    pointer-events: none;
    z-index: 2;
}

.hero-mockup-board {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    overflow: hidden;
    text-align: left;
}

.hero-mockup-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-mockup-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0.5rem;
    margin-bottom: 0.25rem;
}

.hero-mockup-col-header span:first-child {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.hero-mockup-col-header .hero-mockup-count {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-tertiary);
    background: var(--accent-muted);
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-full);
}

.hero-mockup-board .feature-card-roadmap {
    background: var(--gradient-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    flex-shrink: 0;
    cursor: default;
    user-select: none;
    position: static;
    overflow: hidden;
}

.hero-mockup-board .feature-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.hero-mockup-board .feature-card-title {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-primary);
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
    word-wrap: break-word;
}

.hero-mockup-board .feature-card-tags {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    margin: 0.25rem 0;
}

.hero-mockup-board .feature-tag {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #fff;
    padding: 0.1rem 0.35rem;
    border-radius: var(--radius-md);
    font-size: 0.55rem;
    font-weight: 500;
}

.hero-mockup-board .card-description {
    font-size: 0.65rem;
    line-height: 1.4;
    color: var(--text-secondary);
    margin: 0 0 0.25rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.hero-mockup-board .feature-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 0.55rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.hero-mockup-board .feature-card-left {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.hero-mockup-board .feature-card-votes {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-sm);
    line-height: 1;
    white-space: nowrap;
    background: rgba(100, 100, 100, 0.1);
    color: var(--text-secondary);
    cursor: default;
}

.hero-mockup-board .feature-card-votes .vote-icon {
    width: 10px;
    height: 10px;
    fill: currentColor;
    flex-shrink: 0;
}

.hero-mockup-board .weighted-vote-inline {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-sm);
    line-height: 1;
    white-space: nowrap;
    background: rgba(139, 92, 246, 0.12);
    color: var(--accent);
    cursor: default;
}

.hero-mockup-board .weighted-vote-inline svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
    flex-shrink: 0;
}

.hero-mockup-board .card-progress-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.hero-mockup-board .card-progress-track {
    flex: 1;
    height: 6px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.hero-mockup-board .card-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: var(--radius-sm);
}

.hero-mockup-board .card-progress-text {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Hero drag-and-drop animation */
.hero-drag-cursor {
    position: absolute;
    pointer-events: none;
    z-index: 10;
    width: 28px;
    height: 28px;
    opacity: 0;
    will-change: transform, opacity;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.hero-drag-cursor .cursor-grab {
    display: none;
}

.hero-drag-cursor.grabbing .cursor-pointer {
    display: none;
}

.hero-drag-cursor.grabbing .cursor-grab {
    display: block;
}

.hero-drag-ghost {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    will-change: transform, opacity;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2), 0 2px 8px rgba(0, 0, 0, 0.15);
    text-align: left;
}

.hero-drag-ghost .feature-card-roadmap {
    background: var(--solid-bg-card);
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    overflow: hidden;
    cursor: default;
    user-select: none;
    width: 100%;
}

.hero-drag-ghost .feature-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.hero-drag-ghost .feature-card-title {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-primary);
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
    word-wrap: break-word;
}

.hero-drag-ghost .feature-card-tags {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    margin: 0.25rem 0;
}

.hero-drag-ghost .feature-tag {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #fff;
    padding: 0.1rem 0.35rem;
    border-radius: var(--radius-md);
    font-size: 0.55rem;
    font-weight: 500;
}

.hero-drag-ghost .card-description {
    font-size: 0.65rem;
    line-height: 1.4;
    color: var(--text-secondary);
    margin: 0 0 0.25rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.hero-drag-ghost .feature-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 0.55rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.hero-drag-ghost .feature-card-left {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.hero-drag-ghost .feature-card-votes {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-sm);
    line-height: 1;
    white-space: nowrap;
    background: rgba(100, 100, 100, 0.1);
    color: var(--text-secondary);
}

.hero-drag-ghost .feature-card-votes .vote-icon {
    width: 10px;
    height: 10px;
    fill: currentColor;
    flex-shrink: 0;
}

.hero-drag-ghost .weighted-vote-inline {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-sm);
    line-height: 1;
    white-space: nowrap;
    background: rgba(139, 92, 246, 0.12);
    color: var(--accent);
}

.hero-drag-ghost .weighted-vote-inline svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
    flex-shrink: 0;
}

.feature-card-roadmap.hero-drag-source {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.feature-card-roadmap.hero-drag-highlight {
    box-shadow: 0 0 0 2px var(--accent);
    transition: box-shadow 0.15s ease;
}

/* Hero detail overlay — mirrors .public-modal from public.css, scaled down */
.hero-detail-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    border-radius: inherit;
}

.hero-detail-panel {
    width: 65%;
    max-height: 82%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: var(--font-family);
}

.hero-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.hero-detail-header span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.hero-detail-close {
    font-size: 1.1rem;
    color: var(--text-secondary);
    cursor: default;
    line-height: 1;
}

.hero-detail-body {
    padding: 0.8rem 0.85rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    text-align: left;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.3) transparent;
}

.hero-detail-body::-webkit-scrollbar { width: 4px; }
.hero-detail-body::-webkit-scrollbar-track { background: transparent; }
.hero-detail-body::-webkit-scrollbar-thumb { background: rgba(59, 130, 246, 0.3); border-radius: 4px; }

.hero-detail-status {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    padding: 0.1rem 0.35rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(59, 130, 246, 0.25);
    margin-bottom: 0.35rem;
}

.hero-detail-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.2rem 0;
    line-height: 1.25;
}

.hero-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin-bottom: 0.4rem;
}

.hero-detail-tags span {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-sm);
    background: var(--accent-subtle);
    color: var(--accent);
    border: 1px solid var(--border-subtle);
}

.hero-detail-desc {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    white-space: pre-wrap;
}

.hero-detail-stats {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.45rem;
}

.hero-detail-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.2rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: default;
}

.hero-detail-vote-btn svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

.hero-detail-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.hero-detail-stat svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

/* Comments section — mirrors .public-comments-section */
.hero-detail-comments-section {
    border-top: 1px solid var(--border);
    padding-top: 0.4rem;
}

.hero-detail-comments-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.3rem 0;
}

.hero-detail-form {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.4rem;
}

.hero-detail-textarea {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.5rem;
    font-size: 0.68rem;
    font-family: inherit;
    color: var(--text-primary);
    resize: none;
    min-height: 2.1rem;
    outline: none;
    box-sizing: border-box;
}

.hero-detail-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.hero-detail-submit {
    align-self: flex-end;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.24rem 0.7rem;
    font-size: 0.68rem;
    font-weight: 600;
    cursor: default;
}

/* Comments list — mirrors .public-comment */
.hero-detail-comments {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-detail-comment {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.65rem;
}

.hero-detail-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.12rem;
}

.hero-detail-comment-author {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--accent);
}

.hero-detail-comment-date {
    font-size: 0.58rem;
    color: var(--text-secondary);
}

.hero-detail-comment-text {
    font-size: 0.68rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0.1rem 0 0 0;
}

.hero-detail-comment-text p {
    margin: 0;
}

.hero-detail-new-comment {
    overflow: hidden;
}

.hero-detail-role-badge {
    display: inline-block;
    font-size: 0.52rem;
    font-weight: 600;
    text-transform: capitalize;
    vertical-align: middle;
    padding: 0.04rem 0.25rem;
    border-radius: var(--radius-sm);
    margin-left: 0.2rem;
}

.hero-detail-role-owner {
    background: var(--accent-subtle);
    color: var(--accent);
}

.hero-detail-comment-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.2rem;
}

.hero-detail-comment-like {
    display: inline-flex;
    align-items: center;
    font-size: 0.55rem;
    color: var(--text-secondary);
}

.hero-detail-comment-reply-btn {
    font-size: 0.55rem;
    color: var(--text-secondary);
    font-weight: 500;
}

[data-theme="light"] .hero-detail-overlay {
    background: rgba(0, 0, 0, 0.4);
}

@media (max-width: 480px) {
    .hero-detail-panel {
        width: 85%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-drag-cursor,
    .hero-drag-ghost,
    .hero-detail-overlay {
        display: none !important;
    }

    .best-value-badge {
        animation: none;
    }

    .pricing-cta-glow::after {
        animation: none;
    }

    .cta-lava-blob {
        animation: none !important;
    }
}

[data-theme="light"] .hero-mockup-frame {
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.1), 0 8px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-mockup-frame:hover {
    box-shadow: 0 24px 70px rgba(37, 99, 235, 0.15), 0 12px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .hero-mockup-dots span:nth-child(1) { background: #ff5f57; }
[data-theme="light"] .hero-mockup-dots span:nth-child(2) { background: #febc2e; }
[data-theme="light"] .hero-mockup-dots span:nth-child(3) { background: #28c840; }

@media (max-width: 768px) {
    .hero {
        padding-top: 2rem;
    }

    .hero-container {
        min-height: 100svh;
    }

    .hero-mockup-col:nth-child(4) {
        display: none;
    }

    .hero-mockup-board {
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .hero-mockup-wrapper {
        margin-top: 2rem;
        margin-bottom: -4rem;
    }

    #founding-partners {
        padding-top: 6rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 2rem;
    }

    .hero-container {
        padding: 4rem 0 0;
    }

    .hero-mockup-col:nth-child(3),
    .hero-mockup-col:nth-child(4) {
        display: none;
    }

    .hero-mockup-frame {
        transform: none;
    }

    .hero-mockup-frame:hover {
        transform: none;
    }

    .hero-mockup-board .feature-card-title {
        font-size: 0.7rem;
    }

    .hero-mockup-board {
        padding: 0.5rem;
        gap: 0.4rem;
    }

    .hero-mockup-topbar {
        padding: 0.5rem 0.75rem;
    }

    .hero-mockup-wrapper {
        margin-bottom: -3rem;
    }

    #founding-partners {
        padding-top: 5rem;
    }

    .cta-final {
        padding: 4rem 1rem 3.5rem;
    }

    .cta-lava-blob { transform: scale(0.4) !important; }

    .cta-final-form-card {
        padding: 1.25rem;
    }

    .cta-final-trust {
        font-size: 0.8rem;
    }

    .feature-showcase {
        gap: 2.5rem;
    }

    .fb-mockup-inner {
        --fb-width: 400px;
    }

    .dep-mockup-inner {
        --dep-width: 340px;
    }

    .vs-mockup-inner {
        --vs-width: 340px;
    }

    .ew-code {
        font-size: 0.58rem;
        padding: 0.5rem 0.75rem;
        white-space: pre-wrap;
        word-break: break-all;
    }

    .tm-carousel-track {
        height: 360px;
    }

    .tm-slide-mockup {
        height: 360px;
        padding: 0.5rem;
    }

}

/* ══════════════════════════════════════════
   Subpages: shared page header
   ══════════════════════════════════════════ */

.page-header {
    padding-top: 140px;
    padding-bottom: 2rem;
    text-align: center;
}

.page-header .section-content {
    max-width: 800px;
}

.page-header.blog-post-header .section-content {
    text-align: left;
}

.page-header.blog-post-header .blog-post-meta {
    justify-content: flex-start;
}

.page-header.blog-post-header .page-title {
    text-align: left;
}

.page-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ══════════════════════════════════════════
   FAQ full page
   ══════════════════════════════════════════ */

.faq-full-page {
    min-height: auto;
    align-items: flex-start;
    padding-top: 0;
}

.faq-full-page .section-content {
    max-width: 800px;
}

.faq-full-page .faq-list {
    margin-top: 0;
}

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.faq-category-btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.875rem;
    font-family: inherit;
    font-weight: 500;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.faq-category-btn:hover,
.faq-category-btn.active {
    background: var(--accent-muted);
    border-color: var(--accent);
    color: var(--accent-lighter);
}

.faq-item.faq-hidden {
    display: none;
}

/* ══════════════════════════════════════════
   Blog page
   ══════════════════════════════════════════ */

.blog-page {
    min-height: auto;
    align-items: flex-start;
    padding-top: 0;
}

.blog-page .section-content {
    padding: 1rem 2rem;
}

.blog-article-page {
    min-height: auto;
    align-items: flex-start;
    padding-top: 0;
}

.blog-article-page .section-content {
    padding: 1rem 2rem;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-back-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.blog-back-link:hover {
    color: var(--accent-hover);
}

.blog-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.blog-post-date {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.blog-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-tertiary);
}

.blog-article-page .section-content {
    max-width: 800px;
}

.blog-article-content h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    position: static;
    left: auto;
    transform: none;
    text-align: left;
    max-width: none;
}

.blog-article-content h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
    position: static;
    left: auto;
    transform: none;
    text-align: left;
    max-width: none;
}

.blog-article-content h2:first-child {
    margin-top: 0;
}

.blog-article-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
    position: static;
    left: auto;
    transform: none;
}

.blog-article-content p,
.blog-article-content li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    position: static;
    left: auto;
    transform: none;
    text-align: left;
    max-width: none;
}

.blog-article-content ul,
.blog-article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.blog-article-content a {
    color: var(--accent-lighter);
    text-decoration: underline;
    text-decoration-color: var(--accent-muted);
    text-underline-offset: 2px;
}

.blog-article-content a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
    display: block;
}

.blog-article-content em {
    display: block;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.85rem;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}

.blog-article-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.blog-article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

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

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-muted);
}

.blog-card-content {
    padding: 0.75rem;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.blog-card-tag {
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    background: var(--accent-muted);
    color: var(--accent-lighter);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.blog-card-date {
    color: var(--text-tertiary);
    font-size: 0.8rem;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
    color: var(--accent-lighter);
}

p.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    align-items: flex-start;
    text-align: left;
    position: static;
    left: auto;
    transform: none;
    max-width: none;
}

.blog-card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    transition: gap 0.2s ease;
}

.blog-card:hover .blog-card-read-more {
    gap: 0.7rem;
}

/* ══════════════════════════════════════════
   Roadmap page
   ══════════════════════════════════════════ */

.roadmap-page .section-content {
    max-width: 1100px;
}

.roadmap-embed-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.roadmap-embed-container iframe {
    display: block;
    width: 100%;
    min-height: 700px;
}

.roadmap-meta {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.roadmap-meta a {
    color: var(--accent-lighter);
    text-decoration: none;
}

.roadmap-meta a:hover {
    color: var(--accent);
}

/* ══════════════════════════════════════════
   Legal pages (Terms, Privacy)
   ══════════════════════════════════════════ */

.legal-page .section-content {
    max-width: 800px;
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
    position: static;
    left: auto;
    transform: none;
    text-align: left;
    max-width: none;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
    position: static;
    left: auto;
    transform: none;
}

.legal-content p,
.legal-content li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    position: static;
    left: auto;
    transform: none;
    text-align: left;
    max-width: none;
}

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

.legal-content a {
    color: var(--accent-lighter);
    text-decoration: underline;
    text-decoration-color: var(--accent-muted);
    text-underline-offset: 2px;
}

.legal-content a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

/* ══════════════════════════════════════════
   Subpages: responsive
   ══════════════════════════════════════════ */

@media (max-width: 768px) {
    .page-header {
        padding-top: 100px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

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

    .faq-categories {
        gap: 0.375rem;
    }

    .faq-category-btn {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .roadmap-embed-container iframe {
        min-height: 500px;
    }

    .legal-content h2 {
        font-size: 1.2rem;
        margin: 2rem 0 0.75rem;
    }

    .blog-article-content h2 {
        font-size: 1.2rem;
        margin: 2rem 0 0.75rem;
    }

    .blog-article-content img {
        border-radius: var(--radius-md);
    }

    .error-code {
        font-size: 6rem;
    }

    .error-title {
        font-size: 1.75rem;
    }

    .error-description {
        font-size: 1rem;
        margin: 1rem auto 1.5rem;
    }

    .error-content {
        padding: 2rem 1.5rem;
        margin: 1.5rem 0;
    }

    .button-group-row {
        flex-direction: column;
    }

    .help-links {
        gap: 1rem;
        flex-direction: column;
    }

    .help-link {
        font-size: 0.9rem;
    }
}

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

    .error-code {
        font-size: 4rem;
    }

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

    .error-description {
        font-size: 0.95rem;
    }

    .error-icon {
        font-size: 3rem;
    }
}
