/* CaseLight Landing Page - Premium Light Design System */

:root {
    /* Colors */
    --primary-bg: #F8FAFC;
    /* Soft off-white */
    --secondary-bg: #FFFFFF;
    /* Pure white */
    --primary-text: #1E293B;
    /* Slate 800 */
    --secondary-text: #64748B;
    /* Slate 500 */
    --accent: #C9A84C;
    /* Legal Gold / Amber */
    --accent-dark: #B0923F;
    --accent-light: #FDF9E6;
    --trust-green: #10B981;
    /* Emerald */
    --border: #E2E8F0;
    --line-green: #06C755;

    /* Spacing & Sizes */
    --container-max: 1200px;
    --nav-height: 80px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* 1. Global Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--primary-bg);
}

.bg-slate-light {
    background-color: #F1F5F9;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.bg-trust-warm {
    background-color: #FDF9E6;
    border-top: 1px solid #F8F3D9;
    border-bottom: 1px solid #F8F3D9;
}

.bg-accent-light {
    background-color: var(--accent-light);
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent);
}

/* 2. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-text);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-ghost {
    background-color: transparent;
    color: var(--primary-text);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background-color: var(--secondary-bg);
    border-color: var(--primary-text);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* 3. Navigation */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--nav-height);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-wordmark {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary-text), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-text);
    font-weight: 500;
    margin-right: 32px;
}

.glass {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

/* 4. Hero Section */
.hero {
    padding-top: calc(var(--nav-height) + 120px);
    padding-bottom: 80px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
}

.headline {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--primary-text);
    max-width: 800px;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--secondary-text);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-visual-container {
    width: 100%;
    max-width: 1000px;
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
}

.trust-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.icon-success {
    color: var(--trust-green);
}

/* 5. Pain Points & Stats */
.section-label {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 40px;
    display: block;
    font-size: 0.875rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.stat-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-text);
    line-height: 1;
}

.stat-label {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
}

.stat-desc {
    color: var(--secondary-text);
}

.empathy-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--primary-text);
}

.footnote {
    display: block;
    margin-top: 24px;
    font-size: 0.8rem;
    color: var(--secondary-text);
}

/* 6. Pipeline & Steps Integration */
.pipeline-section {
    position: relative;
    overflow: hidden;
}

.pipeline-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-top: 80px;
    position: relative;
}

.pipeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.pipeline-node {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    margin-bottom: 24px;
    color: var(--accent);
    transition: all 0.3s ease;
}

.pipeline-node svg {
    width: 32px;
    height: 32px;
}

.pipeline-step:hover .pipeline-node {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(201, 168, 76, 0.15);
}

.pipeline-node-core {
    background: var(--primary-text);
    color: white;
    border: none;
    position: relative;
}

.pipeline-node-core::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid var(--accent);
    border-radius: calc(var(--radius-md) + 8px);
    opacity: 0.3;
    animation: pulsate 2s infinite ease-out;
}

@keyframes pulsate {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.pipeline-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary-text);
}

.pipeline-node-multi {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    padding: 12px !important;
    background: #F8FAFC !important;
}

.pipeline-node-multi svg {
    width: 20px !important;
    height: 20px !important;
}

.icon-line {
    color: #06C755;
    grid-column: 1;
    grid-row: 1;
}

.icon-web {
    color: #3B82F6;
    grid-column: 2;
    grid-row: 1;
}

.icon-voice {
    color: #C9A84C;
    grid-column: 1 / span 2;
    grid-row: 2;
    margin: 0 auto;
}

.channel-tags {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 12px;
}

.channel-tags span {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    background: #F1F5F9;
    border-radius: 4px;
    color: var(--secondary-text);
}

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

.pipeline-connector {
    position: absolute;
    top: 40px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border), var(--border) 10px, transparent 10px, transparent 20px);
    z-index: 1;
}

.pipeline-connector::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    background-size: 200% 100%;
    animation: flow-line 3s infinite linear;
}

@keyframes flow-line {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* 7. Feature Lab Showcase (4 Stages) */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 60px;
}

.lab-section {
    padding: 100px 0;
}

/* 7. Feature Lab Showcase (Scrolling Story Grid) */
.lab-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 60px;
    position: relative;
    padding-top: 40px;
}

.lab-story-step {
    grid-column: 1;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0;
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

.lab-story-step.active {
    opacity: 1;
}

.step-tag {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.step-headline {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--primary-text);
}

.step-text {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 32px;
}

.step-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-text);
}

.step-features i {
    color: var(--trust-green);
    width: 18px;
}

/* Desktop Sticky Visuals */
.visual-wrapper {
    grid-column: 2;
    grid-row: 1 / span 10;
    position: sticky;
    top: 155px;
    /* Precisely balanced between 80px header and 24px pill */
    height: calc(100vh - 255px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(30px) scale(0.95);
    z-index: 10;
}

.visual-wrapper.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Common Mockup Styles */
.mock-window {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
    /* Safety margin for floating pill */
}

/* Scenario Switcher Styling (Floating Pill) */
.scenario-selector-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: auto;
    max-width: 95vw;
}

.scenario-selector-container.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.scenario-tabs {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    justify-content: center;
    flex-wrap: nowrap;
}

.scenario-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: var(--secondary-text);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    white-space: nowrap;
}

.scenario-tab i {
    width: 14px;
    height: 14px;
}

.scenario-tab:hover {
    background: rgba(15, 23, 42, 0.05);
    color: var(--primary-text);
}

.scenario-tab.active {
    background: var(--primary-text);
    color: white;
    box-shadow: 0 4px 10px rgba(30, 41, 59, 0.2);
}

/* Prevent overlap at bottom of section */
.lab-section {
    padding-bottom: 120px !important;
}

@media (max-width: 768px) {
    .scenario-selector-container {
        bottom: 12px;
        width: 95%;
        /* Use more width on tiny screens */
    }

    .scenario-tabs {
        padding: 4px;
        gap: 2px;
        border-radius: 50px;
        flex-wrap: nowrap;
        /* Force horizontal */
        overflow-x: auto;
        /* Allow scroll if extremely narrow */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .scenario-tabs::-webkit-scrollbar {
        display: none;
    }

    .scenario-tab {
        padding: 8px 12px;
        font-size: 0.75rem;
        flex: 0 0 auto;
        /* Don't grow/shrink too much */
        border-radius: 40px;
    }
}

@media (max-width: 1024px) {
    .lab-story-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .lab-story-step {
        min-height: auto;
        padding: 40px 0 0 0;
        opacity: 1;
        grid-column: auto;
    }

    .visual-wrapper {
        position: relative;
        top: auto;
        height: auto;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        grid-column: auto;
        grid-row: auto;
        padding-bottom: 40px;
        border-bottom: 1px solid var(--border);
    }

    .mock-window {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    }
}

/* State 1: Intake (Phone Frame) */
.phone-mockup {
    width: 100%;
    max-width: 300px;
    /* Restored slightly from 280px */
    height: 500px;
    /* Reduced from 560px */
    margin: 0 auto;
    border: 12px solid #1e293b;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    background: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
}

.voice-chat-mode {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    overflow: hidden;
}

.voice-chat-mode .phone-header {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 10px;
    text-align: center;
    z-index: 10;
}

.phone-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-text);
    letter-spacing: 0.01em;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    display: inline-block;
}

.chat-thread {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    background: #f1f5f9;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.chat-thread::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.825rem;
    max-width: 85%;
    line-height: 1.5;
    animation: slideInUp 0.3s ease;
    white-space: pre-wrap;
}

.bubble-ai {
    background: white;
    color: var(--primary-text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.bubble-client {
    background: var(--accent);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 10px rgba(201, 168, 76, 0.2);
}

.bubble-file {
    background: white;
    border: 1px solid var(--border);
    color: var(--primary-text);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

/* Match the new Gold user message style */
.bubble-file.bubble-client {
    background: var(--accent);
    color: white;
    border: none;
    align-self: flex-end;
}

.bubble-file i {
    width: 16px;
}

.audio-status-bar {
    padding: 16px 20px;
    background: #f1f5f9;
    /* Darker off-white/grey for better contrast */
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
}

.main-waveform {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 30px;
}

.main-waveform .bar {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 4px;
    transition: height 0.15s ease;
}

.main-waveform.speaking-ai .bar {
    background: #cbd5e1;
    /* Silver/Light Slate */
    border: 1px solid #94a3b8;
    /* Stronger border */
}

.main-waveform.speaking-user .bar {
    background: var(--accent);
    border: none;
}

.audio-actions {
    display: flex;
    gap: 12px;
    color: var(--secondary-text);
}

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

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

@media (max-width: 1024px) {
    .lab-story-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .lab-story-step {
        min-height: auto;
        padding: 40px 0 0 0;
        opacity: 1 !important;
    }

    .visual-wrapper {
        position: relative;
        top: auto;
        height: auto;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding-bottom: 40px;
        border-bottom: 1px solid var(--border);
    }
}

/* State 2: Case Detail */
.detail-mockup {
    display: block;
    height: 500px;
    background: white;
    overflow-y: auto;
}

.detail-main {
    padding: 0;
}

/* detail-top-nav removed */

.case-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary-text);
    margin-bottom: 6px;
}

.divider {
    color: #e2e8f0;
    font-weight: 300;
}

.case-compact-header {
    padding: 20px 20px 14px;
}

.case-display-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--primary-text);
}

.case-submeta {
    font-size: 0.8rem;
    color: var(--secondary-text);
    font-weight: 500;
}

.case-content-grid {
    padding: 0 20px 16px;
}

.compact-section {
    margin-bottom: 16px;
}

.tiny-heading {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--secondary-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
}

.q-item-compact {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

.q-label {
    color: var(--secondary-text);
    font-size: 0.85rem;
    font-weight: 500;
}

.q-value {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-text);
}

.text-success {
    color: var(--trust-green);
}

.plain-summary {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--primary-text);
    margin: 0;
}

.file-list-plain {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.plain-file-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-text);
}

.plain-file-item i {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.btn-text-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--secondary-text);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.btn-text-link:hover {
    color: var(--accent);
}

/* State 3: Drafting */
.editor-mockup {
    height: 500px;
    display: flex;
    flex-direction: column;
    background: white;
}

.editor-toolbar {
    padding: 16px 24px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 16px;
    align-items: center;
}

.editor-tool {
    width: 32px;
    height: 12px;
    background: #e2e8f0;
    border-radius: 2px;
}

.editor-content {
    flex: 1;
    padding: 24px 32px;
    font-family: 'Noto Serif TC', serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #1e293b;
    overflow-y: auto;
    white-space: pre-wrap;
}

.editor-actions {
    padding: 10px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    background: #f8fafc;
    flex-shrink: 0;
}

/* State 4: Dashboard */
.dashboard-mockup {
    height: 500px;
    background: white;
}

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

.dash-table th {
    text-align: left;
    padding: 14px 20px;
    background: #f8fafc;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--secondary-text);
    border-bottom: 1px solid var(--border);
}

.dash-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
    color: var(--primary-text);
}

.badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    background: #f1f5f9;
    color: var(--secondary-text);
}

.badge-primary {
    background: var(--accent-light);
    color: var(--accent-dark);
}

.badge-error {
    background: #fef2f2;
    color: #ef4444;
}

.badge-success {
    background: #f0fdf4;
    color: #16a34a;
}

.row-new {
    background: #fffcf0;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    margin-right: 12px;
}

.text-error {
    color: #ef4444;
    font-weight: 700;
}

/* 8. Demo Video Section */
.audio-hint-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    margin: 0 auto 40px;
    color: var(--primary-text);
}

.audio-icon {
    color: var(--accent);
    width: 20px;
    height: 20px;
}

.audio-hint-text {
    font-weight: 700;
    font-size: 0.95rem;
}

.video-embed-box {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 0;
    background: white;
    padding: 12px;
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 10px);
    background: #000;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--secondary-text);
}

/* 9. Waitlist Form section */
.max-w-lg {
    max-width: 600px;
}

.cta-card {
    padding: 60px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-subtitle {
    color: var(--secondary-text);
    margin-bottom: 48px;
}

.waitlist-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 700;
    font-size: 0.9rem;
}

.form-group input {
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
}

.form-footer {
    font-size: 0.8rem;
    color: var(--secondary-text);
    margin-top: 16px;
}

.privacy-link {
    color: var(--secondary-text);
    text-decoration: underline;
    cursor: pointer;
}

.privacy-link:hover {
    color: var(--primary-text);
}

/* 10. Footer */
.footer {
    border-top: 1px solid var(--border);
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.footer-tagline {
    color: var(--secondary-text);
    margin-top: 12px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    text-decoration: none;
    color: var(--primary-text);
    font-weight: 500;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-legal a {
    text-decoration: none;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.contact-email {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    font-size: 0.8rem;
    color: var(--secondary-text);
}

/* 11. Animations & Responsive */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

@media (max-width: 1024px) {
    .headline {
        font-size: 2.5rem;
    }

    .hero-content {
        gap: 40px;
    }

    .desktop-only {
        display: none;
    }

    .pipeline-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .pipeline-connector {
        display: none;
    }

    .detail-mockup {
        flex-direction: column;
        height: auto;
    }

    .detail-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    /* Removed legacy product lab mobile blocks to avoid conflict with Grid layout */
}

@media (min-width: 1024px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }

    .hero-actions {
        justify-content: flex-start;
    }
}
/* Specialized Security & Trust Section styles moved to the end of file */

/* Specialized Security & Trust Section */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.trust-card {
    background: var(--secondary-bg);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
    border-color: var(--accent);
}

.trust-card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.trust-card-icon i {
    width: 24px;
    height: 24px;
}

.trust-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0;
    color: var(--primary-text);
}

/* .trust-card-text removed */

@media (max-width: 768px) {
    .trust-grid {
        gap: 20px;
    }
    
    .trust-card {
        padding: 32px 24px;
    }

    /* Option 1: Minimalist Mobile Header */
    .nav-link {
        display: none;
    }

    .logo-wordmark {
        font-size: 1.25rem;
    }

    .btn-sm {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    /* Hero Buttons optimization */
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        white-space: nowrap;
    }
}
