/* ============================================
   LANDING PAGE (Logged Out)
   ============================================ */

/* Hide app interface when on landing page */
.app-container,
.app-header,
.chat-container {
    display: none !important;
}

/* Show app interface only when authenticated */
body.is-authenticated .app-container,
body.is-authenticated .app-header {
    display: flex !important;
}

body.is-authenticated .chat-container {
    display: flex !important;
}

/* Hide landing page when authenticated */
body.is-authenticated .landing-page {
    display: none !important;
}

/* Hide footer when authenticated (in workspace) */
body.is-authenticated .landing-footer {
    display: none !important;
}



.landing-page {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    color: #111827;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    /* Subtle grid pattern */
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    scroll-behavior: smooth;
}

/* Header */
.landing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    background: #faf9fb;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .landing-header {
        padding: 14px 56px;
        max-width: 100%;
    }
}

.landing-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.landing-logo .logo-mark {
    height: 26px;
    width: auto;
    display: block;
}

.landing-logo .logo-text {
    font-family: 'Atacama', serif;
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.landing-nav {
    display: flex;
    gap: 32px;
    align-items: center;
    flex: 1;
    margin-left: 56px;
}

.landing-nav .nav-link {
    background: transparent;
    border: none;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-family: 'SF Mono', 'Menlo', monospace;
    transition: color 0.2s;
    cursor: pointer;
    padding: 4px 0;
}

.landing-nav .nav-link:hover {
    color: #111827;
}

.landing-nav .nav-link-dropdown::after {
    content: '▾';
    margin-left: 6px;
    font-size: 11px;
    position: relative;
    top: -1px;
}

.landing-nav .nav-link-dropdown[aria-expanded="true"]::after {
    content: '▴';
}

.landing-actions {
    display: flex;
    gap: 28px;
    align-items: center;
}

.landing-header .nav-btn {
    padding: 10px 26px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-family: 'SF Mono', 'Menlo', monospace;
}

.login-btn-landing {
    background: transparent;
    border: none;
    color: #4b5563;
}

.nav-text-btn {
    background: transparent;
    border: none;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: 'SF Mono', 'Menlo', monospace;
    padding: 8px 2px;
}

.nav-text-btn:hover {
    color: #111827;
}

.login-btn-landing:hover {
    color: #111827;
}

.primary-btn-landing {
    background: #141016;
    color: #ffffff;
    border-radius: 6px;
    border: 1px solid #141016;
    font-family: 'SF Mono', 'Menlo', monospace;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding-inline: 26px;
    margin-left: 8px;
}

.primary-btn-landing:hover {
    background: #241b2b;
    transform: translateY(-1px);
}

/* Main Content Wrapper */
.landing-main {
    min-height: calc(100vh - 80px);
}

/* Nav mega menu */
.landing-nav-overlay {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    justify-content: center;
    padding: 12px 24px 32px;
    z-index: 90;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.14), rgba(15, 23, 42, 0.03), transparent);
}

.landing-nav-overlay.open {
    display: flex;
}

.landing-nav-panel {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 0;
    max-width: 920px;
    width: 100%;
    overflow: hidden;
}

.nav-panel-column {
    padding: 20px 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-panel-column-accent {
    border-left: 1px solid rgba(226, 232, 240, 0.9);
    background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%);
}

.nav-panel-label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 8px;
}

.nav-panel-item {
    border-radius: 14px;
    padding: 10px 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background 0.16s ease, transform 0.16s ease;
    text-align: left;
}

.nav-panel-item:hover {
    background: #f9fafb;
    transform: translateY(-1px);
}

.nav-panel-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background-image:
        linear-gradient(135deg, rgba(148, 163, 184, 0.16) 1px, transparent 1px),
        linear-gradient(45deg, rgba(148, 163, 184, 0.16) 1px, transparent 1px);
    background-size: 8px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
}

.nav-panel-item-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-panel-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.nav-panel-item-title-robotic {
    font-family: 'SF Mono', 'Menlo', monospace;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
}

.nav-panel-item-subtitle {
    font-size: 13px;
    color: #6b7280;
}

/* Hero Section - First Screen (Juicebox Style) */
.landing-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 60px 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    min-height: calc(80vh - 80px);
    justify-content: center;
    /* Inherit the subtle grid background from .landing-page (same as Page 3) */
    background: transparent;
    overflow: hidden;
    /* Ensure canvas doesn't overflow */
}

#neuralCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Take full width but we'll limit drawing in JS or let it span */
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

.landing-hero>*:not(#neuralCanvas) {
    position: relative;
    z-index: 1;
}

.hero-badge {
    position: relative;
    background: #ffffff;
    color: #0218DE;
    border: 1px solid #c7d2fe;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 48px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    box-shadow: none;
    transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    overflow: hidden;
}

.hero-badge:hover {
    border-color: #0218DE;
    color: #0218DE;
    transform: translateY(-1px);
}

.hero-headline {
    font-size: 60px;
    line-height: 1.05;
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    max-width: 900px;
    font-family: 'New Spirit', 'Atacama', serif;
}


.hero-subhead {
    font-size: 24px;
    line-height: 1.5;
    color: #525252;
    max-width: 680px;
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-subhead strong {
    color: #0a0a0a;
    font-weight: 600;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 120px;
}

.hero-btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
}

.hero-btn.primary {
    background: #0a0a0a;
    color: #ffffff;
    border: 1px solid #0a0a0a;
}

.hero-btn.primary:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

.hero-btn.secondary {
    background: white;
    color: #0a0a0a;
    border: 1px solid #e5e5e5;
}

.hero-btn.secondary:hover {
    border-color: #d4d4d4;
    background: #fafafa;
}

/* Scroll Indicator */
.landing-hero::after {
    display: none;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

/* Interactive Demo Section - Juicebox Style with Blue Background */
.hero-demo-section {
    width: 100%;
    background: #0218DE;
    /* Ensure scrolling from header lands with the blue band aligned under the sticky nav */
    scroll-margin-top: 72px;
}

.hero-demo-visual {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 40px 20px 30px;
    min-height: calc(70vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.demo-prompt-text {
    color: #f9fafb;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 40px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 48px;
    background: rgba(34, 0, 78, 0.68);
    border-radius: 0;
    font-family: 'SF Mono', 'Menlo', monospace;
}

.demo-search-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 24px 20px;
    width: 100%;
    max-width: 880px;
    overflow: visible;
    border: 1px solid rgba(148, 163, 184, 0.45);
    position: sticky;
    top: 80px;
    z-index: 5;
}

/* sticky card no longer needs entry transform animation */

.demo-search-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 12px;
    padding: 0 4px 8px;
    border-bottom: 1px solid #e5e7eb;
}

.demo-search-tab {
    border: none;
    background: transparent;
    padding: 4px 0;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.demo-search-tab svg {
    color: #2563eb;
}

.demo-search-tab:nth-child(2) svg {
    color: #f59e0b;
}

.demo-search-tab.active {
    color: #111827;
    border-bottom-color: #111827;
}

.demo-search-input-wrapper {
    display: flex;
    align-items: center;
    padding: 14px 14px 12px 18px;
    gap: 12px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.search-icon {
    color: #9ca3af;
    flex-shrink: 0;
}

.demo-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #1f2937;
    outline: none;
    padding: 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.demo-search-input::placeholder {
    color: #9ca3af;
}

.demo-search-btn {
    background: #111827;
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.demo-search-btn:hover {
    background: #020617;
    transform: translateY(-1px);
}

.demo-search-btn svg {
    width: 20px;
    height: 20px;
}

.demo-search-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    gap: 16px;
}

.demo-search-modes {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.demo-search-mode-btn {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    transition: all 0.18s ease;
}

.demo-search-mode-btn svg {
    flex-shrink: 0;
}

.demo-search-mode-btn.primary {
    background: #0218DE;
    border-color: #0218DE;
    color: #ffffff;
}

.demo-search-mode-btn.primary:hover {
    background: #0016B8;
    border-color: #0016B8;
}

.demo-search-mode-btn:not(.primary):hover {
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.demo-search-mode-btn.disabled {
    opacity: 0.65;
    cursor: default;
    box-shadow: none;
}

.demo-soon-pill {
    display: none;
}

.demo-search-footer-row {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.demo-sample-size {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4b5563;
}

.demo-sample-select {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 6px 28px 6px 10px;
    font-size: 13px;
    background: #ffffff;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%), linear-gradient(135deg, #6b7280 50%, transparent 50%);
    background-position: calc(100% - 14px) 9px, calc(100% - 9px) 9px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.demo-sample-max {
    color: #6b7280;
}

.demo-sample-max-sub {
    color: #9ca3af;
}

.demo-sample-urls {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.demo-sample-label {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
}

.demo-sample-pill {
    border: none;
    background: #f3f4f6;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    transition: all 0.15s ease;
}

.demo-sample-pill:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.hero-enrichment-options {
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    display: none;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-enrichment-label {
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 0.025em;
}

.hero-enrichment-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-enrichment-pill {
    padding: 4px 10px;
    border-radius: 12px;
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    font-size: 11px;
    font-weight: 500;
    color: #0369a1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-enrichment-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #0218DE;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.hero-enrichment-pill-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.hero-enrichment-pill-checkbox input {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1.5px solid #9ca3af;
    box-sizing: border-box;
    appearance: none;
    background: #ffffff;
    position: relative;
}

.hero-enrichment-pill-checkbox input:checked {
    background: #0218DE;
    border-color: #0218DE;
}

.hero-enrichment-pill-checkbox input:checked::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 4px;
    width: 8px;
    height: 5px;
    border: solid #ffffff;
    border-width: 0 0 2px 2px;
    transform: rotate(-45deg);
}

/* Visual Examples Section */
.demo-examples-section {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    max-width: 1200px;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    align-items: stretch;
}

.demo-examples-section.examples-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Examples continue the blue hero band */
.landing-examples {
    background: #0218DE;
    padding: 40px 20px 120px;
    display: flex;
    justify-content: center;
}

.example-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
        opacity 0.55s ease, box-shadow 0.3s ease;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(56px) scale(0.96);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.example-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.example-image {
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.example-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.example-placeholder {
    color: #adb5bd;
}

.example-content {
    padding: 24px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.example-header {
    margin-bottom: 12px;
}

/* Move category pill to image overlay */
.example-image .example-category-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.85) !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.example-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    font-family: 'Atacama', serif;
    letter-spacing: -0.01em;
    text-transform: none;
    line-height: 1.3;
    flex: 1;
}

.example-category-pill {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: 'SF Mono', 'Menlo', monospace;
    flex-shrink: 0;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

/* Art category - Creative gradient with artistic flair */
.art-pill {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

/* Apparel category - Fashion-forward with textile feel */
.apparel-pill {
    background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

/* Home category - Warm, cozy home feeling */
.home-pill {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

/* Hover effects for all pills */
.example-category-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.example-stream {
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.example-stream-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #3730a3;
    margin-bottom: 8px;
    font-family: 'SF Mono', 'Menlo', monospace;
}

.example-stream-line {
    font-size: 13px;
    color: #1d4ed8;
    line-height: 1.6;
    word-wrap: break-word;
    hyphens: auto;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.01em;
    flex: 1;
    min-height: 60px;
    display: flex;
    align-items: flex-start;
    white-space: pre-line;
}

.example-attributes {
    margin-bottom: 14px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px dashed rgba(148, 163, 184, 0.55);
}

.example-attr-row {
    display: flex;
    gap: 6px;
    font-size: 12px;
    line-height: 1.5;
}

.example-attr-row+.example-attr-row {
    margin-top: 4px;
}

.example-attr-key {
    font-family: 'SF Mono', 'Menlo', monospace;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6b7280;
    flex-shrink: 0;
}

.example-attr-value {
    color: #111827;
}
}

.example-enrichment {
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.enrichment-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.enrichment-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #111827;
    font-family: 'SF Mono', 'Menlo', monospace;
    margin-bottom: 4px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f3f4f6;
}

.enrichment-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    line-height: 1.5;
}

.enrichment-key {
    color: #6b7280;
    font-weight: 600;
    font-size: 12px;
}

.enrichment-value {
    color: #1f2937;
    font-weight: 400;
}

/* Staggered scroll-in animation for examples */
.demo-examples-section.examples-visible .example-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.demo-examples-section.examples-visible .example-card:nth-child(1) {
    transition-delay: 0.0s;
}

.demo-examples-section.examples-visible .example-card:nth-child(2) {
    transition-delay: 0.18s;
}

.demo-examples-section.examples-visible .example-card:nth-child(3) {
    transition-delay: 0.36s;
}

/* Responsive design for examples */
@media (max-width: 1024px) {
    .demo-examples-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .demo-examples-section {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }

    .landing-examples {
        padding: 40px 16px 80px;
    }

    .example-content {
        padding: 20px 20px 22px;
    }

    .example-stream {
        padding: 12px 14px;
    }
}

/* Remove old demo card styles */
.demo-card {
    display: none;
}

.demo-input-container {
    display: none;
}

.demo-icon {
    display: none;
}

.demo-input {
    display: none;
}

.demo-action-btn {
    display: none;
}

/* Floating Cards */
.floating-card {
    display: none;
}

/* Social Proof - Continues Blue Background */
.landing-social-proof {
    text-align: center;
    padding: 60px 20px;
    background: #021BF9;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.social-proof-text {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}

.logo-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.7;
}

.company-logo {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
}

/* Feature Grid - Match main hero background */
.landing-features {
    padding: 80px 40px 160px;
    max-width: 1280px;
    margin: 0 auto;
    background: transparent;
    min-height: 100vh;
}

/* FAQ Section - Page 5 */
.landing-faq {
    width: 100vw;
    margin: 0 0 0;
    padding: 100px 0 120px;
    border-top: 1px solid rgba(15, 23, 42, 0.55);
    background: #021BF9;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    color: #e5e7eb;
    min-height: auto;
}

.faq-layout {
    display: grid;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 40px 0;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 64px;
    background: transparent;
}

@media (max-width: 768px) {
    .landing-hero {
        padding: 72px 20px 60px;
    }

    .hero-headline {
        font-size: 46px;
        max-width: 100%;
    }

    .hero-subhead {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 40px;
    }

    .hero-demo-visual {
        padding: 60px 16px 60px;
        min-height: auto;
    }

    .demo-search-card {
        padding: 16px 16px 18px;
    }

    .landing-faq {
        padding: 72px 0 120px;
        margin-bottom: 80px;
    }

    .faq-layout {
        grid-template-columns: minmax(0, 1fr);
        padding: 0 20px 0;
        gap: 40px;
    }

    .pricing-cards-container {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
    }

    .pricing-card {
        width: 100%;
    }
}

.faq-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faq-label {
    font-family: 'SF Mono', 'Menlo', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(209, 213, 219, 0.8);
    margin-bottom: 16px;
}

.faq-title {
    font-family: 'Atacama', var(--font-family);
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #f9fafb;
    margin: 0 0 16px;
}

.faq-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.9);
    max-width: 420px;
    margin: 0 0 28px;
}

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    max-width: 260px;
    align-self: flex-start;
    border-radius: 6px;
    border: 1px solid #f9fafb;
    background: #f9fafb;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-family: 'SF Mono', 'Menlo', monospace;
}

.faq-cta-btn:hover {
    background: #e5e7eb;
}

.faq-right {
    border-left: 1px solid rgba(191, 219, 254, 0.35);
    background: transparent;
}

.faq-list {
    border-top: 1px solid rgba(191, 219, 254, 0.35);
    background: transparent;
}

.faq-item,
.faq-question,
.faq-answer {
    background-color: transparent;
}

.faq-item {
    border-bottom: 1px solid rgba(191, 219, 254, 0.35);
    padding: 0;
    margin: 0;
}

.faq-question {
    width: 100%;
    padding: 18px 22px;
    text-align: left;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #f9fafb;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 18px;
    color: rgba(209, 213, 219, 0.9);
}

.faq-item[open] .faq-question::after {
    content: '–';
}

.faq-answer {
    padding: 0 22px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.92);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    content: '';
}

/* Final Signup CTA - White Grid Band */
.landing-final-cta {
    padding: 96px 24px 120px;
    background: transparent;
    color: #111827;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.final-cta-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.final-cta-title {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 0 0 16px;
    font-family: 'Atacama', var(--font-family);
}

.final-cta-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: #4b5563;
    max-width: 620px;
    margin: 0 auto 16px;
}

.final-cta-form {
    display: flex;
    max-width: 540px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    overflow: hidden;
}

.final-cta-input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    background: transparent;
    color: #111827;
    font-size: 15px;
}

.final-cta-input::placeholder {
    color: #9ca3af;
}

.final-cta-input:focus {
    outline: none;
}

.final-cta-button {
    padding: 14px 28px;
    border: none;
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    cursor: pointer;
    font-family: 'SF Mono', 'Menlo', monospace;
}

.final-cta-button:hover {
    background: #1f2937;
}

.final-cta-message {
    margin-top: 16px;
    font-size: 14px;
    color: #16a34a;
    min-height: 20px;
}

.final-cta-button-complete,
.final-cta-button:disabled {
    background: #16a34a;
    color: #ffffff;
    cursor: default;
}

/* How it works section */
.howit-header {
    margin-bottom: 32px;
}

.howit-title {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 8px;
    font-family: 'Atacama', var(--font-family);
}

.howit-subtitle {
    font-size: 15px;
    color: #4b5563;
    max-width: 520px;
}

.howit-tabs {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    overflow: hidden;
    margin-bottom: 32px;
    background: rgba(249, 250, 251, 0.9);
}

.howit-tab {
    padding: 10px 22px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-family: 'SF Mono', 'Menlo', monospace;
    color: #6b7280;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.howit-tab+.howit-tab {
    border-left: 1px solid rgba(209, 213, 219, 0.9);
}

.howit-tab.is-active {
    background: #0b1aeb;
    color: #ffffff;
}

.howit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: stretch;
}

.howit-visual {
    position: relative;
    min-height: 360px;
}

.howit-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition: opacity 460ms cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 460ms cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
}

.howit-panel.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.howit-browser {
    background: #020617;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(30, 64, 175, 0.9);
}

.howit-browser-bar {
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.8);
    background: radial-gradient(circle at top left, #1d4ed8, #020617 52%);
}

.howit-dots {
    display: inline-flex;
    gap: 5px;
}

.howit-dots span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.8);
}

.howit-url-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    color: #e5e7eb;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.howit-browser-body {
    padding: 18px 18px 20px;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.18) 1px, transparent 1px);
    background-size: 40px 40px;
}

.howit-url-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.howit-url-chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
    font-size: 11px;
}

.howit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.howit-product-tile {
    border-radius: 16px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(30, 64, 175, 0.65);
    min-height: 80px;
}

.howit-product-tile.loading {
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.35), rgba(15, 23, 42, 0.9));
}

.howit-product-tile.attributed {
    background: rgba(15, 23, 42, 0.9);
}

.howit-label-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.howit-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: #e5e7eb;
}

.howit-status-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.9);
    color: #f9fafb;
    font-weight: 500;
}

.howit-status-meta {
    opacity: 0.8;
}

.howit-table-header,
.howit-table-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 8px;
    align-items: center;
}

.howit-table-header {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(148, 163, 184, 0.9);
    margin-bottom: 8px;
}

.howit-table-row+.howit-table-row {
    margin-top: 6px;
}

.howit-product-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    font-size: 12px;
}

.howit-tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(55, 65, 81, 0.85);
    color: #e5e7eb;
    font-size: 12px;
    white-space: nowrap;
}

.howit-copy {
    align-self: center;
    position: relative;
    min-height: 260px;
}

.howit-copy-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: 40ms;
    pointer-events: none;
}

.howit-copy-panel.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.howit-copy-panel h3 {
    font-size: 22px;
    margin-bottom: 10px;
    letter-spacing: 0.08em;
    font-family: 'SF Mono', 'Menlo', monospace;
    font-weight: 600;
    text-transform: uppercase;
}

.howit-copy-panel p {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 16px;
}

.howit-copy-panel ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: #374151;
}

.howit-copy-panel ul li::before {
    content: '•';
    color: #0218DE;
    margin-right: 8px;
}

.feature-icon-wrapper.purple {
    background: rgba(196, 181, 253, 0.2);
}

.feature-icon-wrapper.green {
    background: rgba(134, 239, 172, 0.2);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 14px;
}

.feature-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
}

/* Footer - Continues Blue Background */
.landing-footer {
    padding: 60px 40px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0218DE;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

/* Hide footer when logged in */
/* body.is-authenticated .landing-footer {
    display: none;
} */

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 0 20px;
    box-sizing: border-box;
}

.footer-brand {
    margin-bottom: 0;
}

.footer-brand-text {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    text-transform: uppercase;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 800px;
}

.footer-column-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    margin-top: 24px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 48px;
    }

    .landing-nav {
        display: none;
    }

    .floating-card {
        display: none;
    }

    .landing-footer {
        padding: 48px 24px 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
        padding: 0;
    }

    .footer-headline {
        font-size: 32px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .hero-demo-visual {
        padding: 60px 20px;
    }

    .demo-card {
        padding: 24px;
    }

    .final-cta-form {
        flex-direction: column;
        border-radius: 16px;
    }

    .final-cta-input {
        padding: 14px 16px 0;
    }

    .final-cta-button {
        width: 100%;
        border-radius: 0 0 16px 16px;
    }
}

/* Pricing View Styles */
/* Pricing View Styles */
.landing-pricing-view {
    padding-top: 80px;
    padding-bottom: 120px;
    background: #ffffff;
    min-height: 100vh;
}

.page-pill {
    margin: 32px 40px 0;
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: #eef2ff;
    color: #0218DE;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-family: 'SF Mono', 'Menlo', monospace;
}

.page-pill-pricing {
    /* hook for future page-specific tweaks */
}

.pricing-header-centered .page-pill-pricing {
    margin: -8px auto 16px;
}

.pricing-headline-sm {
    font-size: 40px;
}

.pricing-section-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.pricing-header-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.pricing-headline {
    font-size: 44px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    font-family: 'Atacama', serif;
    line-height: 1.05;
}

.pricing-subhead {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.6;
}

/* Modern, Refined Toggle Container */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    margin: 32px 0 24px;
}

.pricing-toggle-pill {
    display: flex;
    align-items: center;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e1e5e9;
    padding: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    gap: 2px;
    width: 100%;
    max-width: 320px;
    position: relative;
}

.pricing-toggle-btn {
    min-width: 0;
    flex: 1 1 0;
    padding: 8px 16px;
    border-radius: 7px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    transition: all 0.2s cubic-bezier(0.2, 0, 0.1, 1);
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.pricing-toggle-btn.active {
    background: #ffffff;
    color: #1e293b;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    font-weight: 600;
    transform: none;
}

.pricing-toggle-btn:not(.active):hover {
    background: rgba(255, 255, 255, 0.5);
    color: #475569;
    transform: translateY(-1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Clean Grid Layout */
.pricing-clean-grid-wrapper {
    border: 1px solid #e5e7eb;
    border-radius: 0;
    overflow: hidden;
}

.pricing-clean-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff;
}

.clean-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e5e7eb;
    position: relative;
    background: #ffffff;
    transition: all 0.3s ease;
}

.clean-card:last-child {
    border-right: none;
}

/* Popular Card Highlight */
.clean-card.popular {}

.clean-card.popular .clean-btn.primary {
    background: #021BF9;
    box-shadow: 0 4px 12px rgba(2, 27, 249, 0.25);
}

.clean-card.popular .clean-btn.primary:hover {
    background: #021094;
    box-shadow: 0 6px 16px rgba(2, 27, 249, 0.35);
}

/* Header */
.clean-card-header {
    margin-bottom: 32px;
    min-height: 180px;
    /* Increased to ensure button alignment */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.clean-plan-name {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    font-family: 'SF Pro Display', sans-serif;
}

.clean-badge {
    background: #0047FF;
    /* Rich Blue */
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.clean-price {
    font-size: 32px;
    font-weight: 600;
    color: #111827;
    margin: 16px 0 8px;
    font-family: 'SF Pro Display', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.clean-price .period {
    font-size: 14px;
    font-weight: 400;
    color: #9ca3af;
    margin-top: 6px;
}

.clean-desc {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Action Button */
.clean-card-action {
    margin-bottom: 40px;
    margin-top: auto;
    /* Push to bottom of flex container if needed, but header min-height handles it */
}

.clean-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.2s;
    text-decoration: none;
    background: #ffffff;
}

.clean-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.clean-btn.primary {
    background: #021BF9;
    color: #ffffff;
    border-color: #021BF9;
}

.clean-btn.primary:hover {
    background: #021094;
    border-color: #021094;
}

/* Features */
.clean-card-features {
    border-top: 1px solid #f3f4f6;
    padding-top: 32px;
    flex: 1;
}

.features-label {
    font-size: 11px;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.features-list li {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.features-list li .check {
    color: #021BF9;
    /* Brand Blue */
    font-weight: 700;
    font-size: 14px;
}

.features-list li.feature-indent {
    padding-left: 24px;
    font-size: 13px;
    color: #6b7280;
}

.clean-meta {
    margin-top: 24px;
    font-size: 12px;
    color: #9ca3af;
    padding-top: 16px;
    border-top: 1px dashed #e5e7eb;
}

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

    .clean-card:nth-child(2) {
        border-right: none;
    }

    .clean-card {
        border-bottom: 1px solid #e5e7eb;
    }

    .clean-card:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 640px) {
    .pricing-clean-grid {
        grid-template-columns: 1fr;
    }

    .clean-card {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .clean-card:last-child {
        border-bottom: none;
    }
}

.pricing-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.plan-btn {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'SF Mono', 'Menlo', monospace;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    text-decoration: none;
    margin-bottom: 32px;
    transition: all 0.2s;
    background: #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.plan-btn:hover {
    border-color: #111827;
    background: #f9fafb;
    transform: translateY(-1px);
}

.plan-btn.primary {
    background: #021BF9;
    color: #ffffff;
    border-color: #021BF9;
    box-shadow: 0 4px 12px rgba(2, 27, 249, 0.25);
}

.plan-btn.primary:hover {
    background: #021094;
    border-color: #021094;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    flex: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #374151;
    line-height: 1.5;
}

.feature-item svg {
    color: #021BF9;
    flex-shrink: 0;
    margin-top: 3px;
}

.plan-meta {
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
    font-weight: 500;
}

/* Comparison Table */
.pricing-comparison-section {
    max-width: 1100px;
    margin: 140px auto 0;
    padding: 0 20px;
}

.comparison-title {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 48px;
    text-align: center;
    letter-spacing: -0.03em;
    font-family: 'Atacama', var(--font-family);
}

.comparison-table-wrapper {
    overflow-x: auto;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th {
    text-align: center;
    padding: 24px;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.comparison-table th.feature-col {
    text-align: left;
    width: 30%;
    padding-left: 32px;
    background: #ffffff;
}

.comparison-table td {
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 15px;
    color: #4b5563;
    vertical-align: middle;
    text-align: center;
}

.comparison-table td.feature-name {
    font-weight: 600;
    color: #111827;
    text-align: left;
    padding-left: 32px;
}

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

.comparison-table tr.section-header td {
    background: #f3f4f6;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
    padding: 12px 32px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.comparison-table .check {
    color: #021BF9;
    font-size: 20px;
    font-weight: 700;
}

/* One-Time Table */
.pricing-table-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-table-wrapper {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th {
    text-align: left;
    padding: 24px 32px;
    background: #f9fafb;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-table td {
    padding: 24px 32px;
    border-bottom: 1px solid #f3f4f6;
    color: #111827;
    font-size: 16px;
    vertical-align: middle;
}

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

.pricing-table .sku-col {
    font-weight: 700;
    font-size: 18px;
}

.pricing-table .price-col {
    font-family: 'SF Mono', 'Menlo', monospace;
    font-weight: 700;
    color: #021BF9;
    font-size: 18px;
}

.table-btn {
    padding: 10px 20px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #111827;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.table-btn:hover {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.pricing-note {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin-top: 24px;
    font-style: italic;
}

/* Orbit Section */
.orbit-section {
    padding: 140px 20px;
    background: #ffffff;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.orbit-container {
    max-width: 1000px;
    width: 100%;
    text-align: center;
    position: relative;
}

.orbit-headline {
    font-family: 'Atacama', var(--font-family);
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
    color: #111827;
    margin-bottom: 80px;
    letter-spacing: -0.03em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.orbit-visual {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 0 auto;
}

#orbitCanvas {
    width: 100%;
    height: 100%;
}

.orbit-pill {
    position: absolute;
    background: #ffffff;
    padding: 14px 28px;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    white-space: nowrap;
    z-index: 10;
    border: 1px solid rgba(229, 231, 235, 0.5);
}

/* Positioning Pills */
.pill-top-left {
    top: 15%;
    left: -40px;
}

.pill-top-right {
    top: 15%;
    right: -40px;
}

.pill-bottom-left {
    bottom: 20%;
    left: -20px;
}

.pill-bottom-right {
    bottom: 20%;
    right: -20px;
}

@media (max-width: 768px) {
    .orbit-headline {
        font-size: 36px;
    }

    .orbit-visual {
        width: 100%;
        height: 400px;
    }

    .orbit-pill {
        font-size: 13px;
        padding: 10px 20px;
    }

    .pill-top-left {
        left: 0;
    }

    .pill-top-right {
        right: 0;
    }

    .pill-bottom-left {
        left: 0;
    }

    .pill-bottom-right {
        right: 0;
    }
}

/* APP WORKSPACE (Juicebox Redesign) */

/* Sidebar Updates */
.new-chat-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #111827;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.new-chat-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.nav-section-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 8px;
    padding-left: 4px;
}

.chats-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: #374151;
    font-size: 14px;
    transition: background 0.15s;
}

.chat-item:hover,
.chat-item.active {
    background: #f3f4f6;
    color: #111827;
}

.chat-options-btn {
    background: transparent;
    border: none;
    color: #9ca3af;
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s;
    display: flex;
}

.chat-item:hover .chat-options-btn {
    opacity: 1;
}

.chat-options-btn:hover {
    background: #e5e7eb;
    color: #4b5563;
}

/* User Profile Updates */
.user-profile-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}

.user-avatar-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #021BF9;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/* Dashboard Main Area */
.dashboard-header {
    text-align: center;
    margin-bottom: 24px;
}

.welcome-message {
    font-size: 32px;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.02em;
    font-family: 'Atacama', var(--font-family);
}

.dashboard-card-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    max-width: 640px;
    margin: 0 auto;
}

.dashboard-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
    border: 1px solid #e1e5e9;
}

.dash-tab {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    padding: 8px 12px;
    position: relative;
    transition: all 0.15s ease;
    border-radius: 6px;
    flex: 1;
    justify-content: center;
}

.dash-tab.active {
    background: #ffffff;
    color: #0218DE;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dash-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    color: #475569;
}

.dash-tab svg {
    width: 14px;
    height: 14px;
    transition: all 0.15s ease;
}

.dashboard-input-area {
    position: relative;
    margin-bottom: 18px;
}

.dashboard-input-area .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    width: 18px;
    height: 18px;
}

.dashboard-input-area input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2937;
    background: #ffffff;
    transition: all 0.15s ease;
    font-weight: 400;
}

.dashboard-input-area input:focus {
    outline: none;
    border-color: #0218DE;
    box-shadow: 0 0 0 3px rgba(2, 24, 222, 0.1);
    background: #ffffff;
}

.dashboard-input-area input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.dashboard-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    height: 42px;
    /* Fixed height for consistency */
}

.action-btn.primary {
    background: #0218DE;
    /* Rich blue, aligned with hero */
    color: white;
    box-shadow: 0 1px 2px rgba(2, 24, 222, 0.1);
}

.action-btn.primary:hover {
    background: #0016B8;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(2, 24, 222, 0.2);
}

.action-btn.secondary {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #374151;
}

.action-btn.secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}

.action-btn.disabled {
    background: #f9fafb;
    border-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    pointer-events: none;
}

.dashboard-samples {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.sample-label {
    font-size: 11px;
    color: #6b7280;
    margin-right: 8px;
    font-weight: 500;
}

.sample-chip {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 11px;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.sample-chip:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
    transform: translateY(-1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.user-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-workspace {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sign-out-btn {
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sign-out-btn:hover {
    color: #ef4444;
    background: #fef2f2;
}

/* Category Toggle (Second Level) */
.pricing-category-toggle {
    display: flex;
    gap: 10px;
    margin: 20px auto 24px;
    width: 100%;
    max-width: 500px;
    padding: 0 20px;
}

/* Pricing Category Pills */
.pricing-category-pill {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'SF Mono', 'Menlo', monospace;
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: #ffffff;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    display: inline-block;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.15);
}

.pricing-category-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.25);
}

.category-pill {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'SF Pro Text', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 1px 1px rgba(15, 23, 42, 0.02);
}

.category-pill:last-child {
    border-right: 1.5px solid #e5e7eb;
}

.category-pill-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
}

.category-pill-icon {
    display: none;
}

.category-pill-header {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.category-pill .category-label {
    display: none;
}

.category-pill .category-title {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    line-height: 1.2;
    transition: color 0.25s ease;
}

.category-pill-desc {
    font-size: 10px;
    color: #9ca3af;
    font-weight: 400;
    line-height: 1.3;
    transition: color 0.25s ease;
    max-width: 180px;
}

.category-pill.active {
    background: #ffffff;
    border-color: #1f2937;
    transform: none;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.08),
        0 1px 2px rgba(15, 23, 42, 0.04);
}

.category-pill.active .category-title {
    color: #111827;
}

.category-pill.active .category-pill-icon {
    /* This rule is removed as the icon is now hidden */
}

.category-pill.active .category-pill-desc {
    color: #6b7280;
}

.category-pill:hover:not(.active) {
    background: #fafafa;
    border-color: #2563eb;
    transform: none;
    box-shadow:
        0 2px 4px rgba(37, 99, 235, 0.1),
        0 1px 2px rgba(37, 99, 235, 0.05);
}

.category-pill:hover:not(.active) .category-title {
    color: #111827;
}

.category-pill:hover:not(.active) .category-pill-icon {
    /* This rule is removed as the icon is now hidden */
}

.category-pill:hover:not(.active) .category-pill-desc {
    color: #6b7280;
}

/* Responsive Styles for Pills */
@media (max-width: 768px) {
    .pricing-toggle-pill {
        max-width: 100%;
        padding: 3px;
    }

    .pricing-toggle-btn {
        padding: 7px 12px;
        font-size: 12px;
    }

    .pricing-category-toggle {
        flex-direction: column;
        gap: 8px;
        max-width: 100%;
    }

    .category-pill {
        padding: 10px 14px;
    }

    .category-pill .category-title {
        font-size: 12px;
    }

    .category-pill-desc {
        font-size: 9px;
    }
}

/* Pricing Section Container */
.pricing-section {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* One-Time Pull Section */
.onetime-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.onetime-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
    font-family: 'SF Pro Display', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.onetime-subtitle {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* One-Time Pricing Table */
.onetime-pricing-table-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    animation: fadeIn 0.3s ease-in-out;
}

.onetime-pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.onetime-pricing-table thead {
    background: #f9fafb;
}

.onetime-pricing-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e5e7eb;
}

.onetime-pricing-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.15s ease;
}

.onetime-pricing-table tbody tr:last-child {
    border-bottom: none;
}

.onetime-pricing-table tbody tr:hover {
    background: #fafbfc;
}

.onetime-pricing-table tbody tr.highlighted {
    background: #f0f9ff;
    border-left: 3px solid #021BF9;
}

.onetime-pricing-table tbody tr.highlighted:hover {
    background: #e0f2fe;
}

.onetime-pricing-table td {
    padding: 18px 20px;
    font-size: 15px;
    color: #374151;
}

.onetime-pricing-table .sku-count,
.onetime-pricing-table .tier-name {
    font-weight: 600;
    color: #111827;
}

.tier-title {
    font-weight: 600;
    font-size: 16px;
    color: #111827;
    margin-bottom: 4px;
}

.tier-desc {
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.3;
}

.onetime-pricing-table .price {
    font-weight: 700;
    font-size: 18px;
    color: #021BF9;
}

.onetime-pricing-table .effective-rate {
    font-weight: 500;
    color: #6b7280;
    font-family: 'SF Mono', 'Menlo', monospace;
    font-size: 14px;
}

.onetime-pricing-table .use-case {
    color: #6b7280;
    font-size: 14px;
}

.onetime-pricing-table .setup-fee {
    font-weight: 600;
    color: #374151;
}

.onetime-pricing-table .accuracy {
    font-weight: 600;
    color: #059669;
}

.onetime-table-cta {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.onetime-table-cta-text {
    font-size: 13px;
    color: #6b7280;
}

.onetime-table-cta-btn {
    padding: 8px 18px;
    border-radius: 999px;
    border: none;
    background: #021BF9;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: 'SF Mono', 'Menlo', monospace;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(2, 27, 249, 0.3);
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.onetime-table-cta-btn:hover {
    background: #021094;
    box-shadow: 0 8px 22px rgba(2, 27, 249, 0.35);
}

@media (max-width: 640px) {
    .onetime-table-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .onetime-table-cta-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

.table-footnote {
    margin-top: 16px;
    font-size: 13px;
    color: #9ca3af;
    font-style: italic;
    text-align: left;
}

/* Enrichment Accordion UI - Cleaner, Minimal Design */
.enrichment-accordion {
    margin-top: 16px;
    border: 1px solid #e5e7eb;
    /* More refined border */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    display: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    /* Very subtle shadow */
}

.enrichment-accordion.visible {
    display: block;
}

.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

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

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    /* More compact padding */
    background: #ffffff;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 12px;
    /* Smaller, refined font */
    font-weight: 500;
    color: #374151;
    /* Refined text color */
    transition: background-color 0.15s ease;
}

.accordion-header:hover {
    background: #f9fafb;
}

.accordion-header svg {
    color: #9ca3af;
    width: 12px;
    /* Even smaller icon */
    height: 12px;
    transition: transform 0.15s ease;
}

.accordion-item.expanded .accordion-header svg {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 12px 14px;
    /* More compact padding */
    background: #ffffff;
    display: none;
}

.accordion-item.expanded .accordion-content {
    display: block;
}

/* Field Chips Grid - Pill Style */
.field-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    /* Even tighter gap for cleaner appearance */
}

.field-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    /* More compact padding matching PeopleGPT */
    background: #f8f9fa;
    /* Lighter background */
    border: 1px solid #e1e5e9;
    /* Subtle border like PeopleGPT */
    border-radius: 12px;
    /* More rounded pill shape */
    font-size: 11px;
    /* Smaller font for cleaner look */
    font-weight: 500;
    color: #495057;
    /* Refined gray text */
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    line-height: 1.2;
}

.field-chip:hover {
    background: #f1f3f4;
    border-color: #ced4da;
    color: #343a40;
    transform: translateY(-1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.field-chip input[type="checkbox"] {
    display: none;
}

/* Checked State - Clean accent like PeopleGPT */
.field-chip.checked {
    background: #f0f3ff;
    /* Light purple-blue background */
    color: #6366f1;
    /* Modern indigo text */
    border-color: #c7d2fe;
    /* Matching border */
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(99, 102, 241, 0.1);
}

/* Check Icon - Smaller and more refined */
.field-chip .check-icon {
    display: none;
    width: 10px;
    height: 10px;
    background-color: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
}

.field-chip.checked .check-icon {
    display: block;
    opacity: 0.9;
}

/* Premium Badge - Refined */
.badge-premium {
    background: #475569;
    color: #ffffff;
    font-size: 8px;
    /* Even smaller */
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 4px;
    border-radius: 4px;
    margin-left: 4px;
    letter-spacing: 0.05em;
}

/* Sample Size Selector - Minimal */
.dashboard-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.sample-select-wrapper {
    position: relative;
    display: inline-block;
}

.sample-select {
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 8px 32px 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 36px;
}

.sample-select:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.sample-select-wrapper::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #6b7280;
    pointer-events: none;
}

.preview-limit-text {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

/* Enhanced Pricing Toggle Interactions */
.pricing-toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.pricing-toggle-btn:focus:not(.active) {
    background: rgba(255, 255, 255, 0.7);
}

.pricing-toggle-btn:active {
    transform: scale(0.98);
}

/* Secondary button with same shape but different style for Book a demo */
.nav-btn.primary-btn-landing:not(.try-for-free-btn-landing) {
    background: transparent;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

.nav-btn.primary-btn-landing:not(.try-for-free-btn-landing):hover {
    background: #f9fafb;
    color: #111827;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

/* Accordion Row Selection Styles */
.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #ffffff;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    transition: all 0.15s ease;
    border-radius: 0;
    position: relative;
}

.accordion-header:hover {
    background: #f9fafb;
}

/* Checkbox icon styling */
.accordion-checkbox-icon {
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.accordion-checkbox-icon::after {
    content: '';
    width: 10px;
    height: 10px;
    background: transparent;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    opacity: 0;
    transition: all 0.15s ease;
}

/* Selected state */
.accordion-item.selected .accordion-checkbox-icon {
    background: #0218DE;
    border-color: #0218DE;
}

.accordion-item.selected .accordion-checkbox-icon::after {
    background: #ffffff;
    opacity: 1;
}

.accordion-item.selected .accordion-header {
    background: #eff6ff;
    color: #0218DE;
}

.accordion-item.selected .accordion-header:hover {
    background: #dbeafe;
}

/* Arrow positioning */
.accordion-arrow {
    color: #9ca3af;
    width: 12px;
    height: 12px;
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

.accordion-item.expanded .accordion-arrow {
    transform: rotate(180deg);
}

/* Title styling */
.accordion-title {
    flex: 1;
    font-weight: 500;
}

.accordion-item.selected .accordion-title {
    font-weight: 600;
}

/* Focus states */
.accordion-header:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 24, 222, 0.1);
}