@charset "UTF-8";
@import "./common.css";

/* ============================================================
   PRODUCT PAGE — Linear-inspired design system
   ============================================================ */

/* --- Hero --- */
.product-hero {
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--menu-height) + 7rem);
    padding-bottom: 5rem;
    background: var(--bg-main);
}

/* Ambient gradient orbs */
.product-hero::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -120px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(10, 173, 149, 0.11) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.product-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -180px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(140, 59, 46, 0.07) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.product-hero .container {
    position: relative;
    z-index: 1;
}



/* Hero title */
.product-hero h1 {
    font-size: 3.4rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.product-hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--color-teal) 0%, #52d3bb 50%, var(--color-teal) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s linear infinite;
}

.product-hero p.hero-lead {
    font-size: 1.18rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* Animated grid background for hero */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.35;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Metric chips floating over hero card */
.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.metric-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    transition: border-color 0.25s ease;
}

.metric-chip i {
    color: var(--accent-primary);
    font-size: 0.75rem;
}

.metric-chip:hover {
    border-color: var(--accent-primary);
}


/* ============================================================
   VALUE LAYER
   ============================================================ */
.value-section {
    background-color: var(--bg-elevated);
}

.bento-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.bento-card:hover {
    border-color: rgba(10, 173, 149, 0.4);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(10, 173, 149, 0.1) inset;
    transform: translateY(-4px) scale(1.01);
}

.bento-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(10, 173, 149, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.bento-card:hover .bento-glow {
    opacity: 1;
}

.value-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(10, 173, 149, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--accent-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}


/* AI Capabilities */
.ai-section {
    background: var(--bg-main);
}

.ai-agent {
    margin-bottom: 40vh;
}

.ai-agent:last-child {
    margin-bottom: 0;
}

.ai-scroll-content {
    padding-top: 10vh;
    padding-bottom: 20vh;
}

.ai-scroll-step {
    transition: opacity 0.5s ease;
}

.ai-sticky-panel {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-sticky-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

@media (prefers-color-scheme: dark) {
    .glass-panel {
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
}

.bg-accent-subtle {
    background: rgba(10, 173, 149, 0.1);
}

.ai-panel-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-primary);
}

.ai-sticky-panel {
    display: none;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.ai-sticky-panel.active {
    display: flex;
    z-index: 2;
}

/* Visual side of AI panel */
.ai-panel-visual {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ai-panel-visual::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(10, 173, 149, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.ai-visual-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.ai-visual-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    background: rgba(10, 173, 149, 0.08);
    border: 1px solid rgba(10, 173, 149, 0.2);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    display: block;
    width: fit-content;
}

.ai-flow-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.ai-flow-list li {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.ai-flow-list li i {
    color: var(--accent-primary);
    font-size: 0.75rem;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .ai-panel.active {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .ai-tab-nav {
        flex-direction: column;
    }
    .ai-tab-btn {
        text-align: left;
    }
}


/* ============================================================
   CRM OVERVIEW
   ============================================================ */
.crm-section {
    background-color: var(--bg-elevated);
}

/* ── CRM Editorial Matrix ─────────────────────── */
.crm-editorial-matrix {
    margin-bottom: 5rem;
}

.editorial-item {
    padding-bottom: 2rem;
    transition: all 0.4s ease;
}

/* UI Fragments removed - using standard icons */
.crm-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 173, 149, 0.08);
    color: var(--accent-primary);
    font-size: 1.15rem;
}

.editorial-item:hover .crm-card-icon {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.3);
}

/* Typography Overrides for Matrix */
.editorial-content h3 {
    letter-spacing: -0.01em;
    color: var(--text-main);
}

.editorial-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Cleanup Legacy Hub Styles */
.hub-control-ribbon, .hub-canvas-wrapper, .crm-command-hub {
    display: none !important;
}


/* ============================================================
   CHANNEL COVERAGE
   ============================================================ */
.channels-section {
    background: var(--bg-main);
}

.channel-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.channel-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s ease;
    cursor: default;
}

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

.channel-item:hover {
    background: var(--bg-elevated);
}

.channel-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-main);
    background: var(--bg-elevated);
    transition: border-color 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}

.channel-item:hover .channel-icon-wrap {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.channel-name {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}

.channel-desc {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.channel-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    white-space: nowrap;
    padding: 0.3rem 0.75rem;
    border-radius: 99px;
    border: 1px solid rgba(10, 173, 149, 0.25);
    background: rgba(10, 173, 149, 0.06);
}

.channel-status .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
}

@media (max-width: 767px) {
    .channel-item {
        grid-template-columns: 48px 1fr;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
    }

    .channel-status {
        display: none;
    }
}

/* FINAL CTA SECTION */
.cta-final {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg,
            var(--bg-main) 0%,
            color-mix(in srgb, var(--accent-primary) 6%, var(--bg-main)) 100%);
    border-bottom: 1px solid var(--border-color);
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 90%, rgba(10, 173, 149, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

.cta-final .container {
    position: relative;
    z-index: 1;
}

.cta-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    border-radius: 99px;
    padding: 0.3rem 1rem;
    margin-bottom: 2rem;
    opacity: 0.85;
}

.cta-trust {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1.25rem;
}

/* Section header */
.section-header {
    max-width: 620px;
    margin: 0 auto;
}

/* Dark mode tweaks */
@media (prefers-color-scheme: dark) {
    .value-card,
    .crm-card {
        background: var(--bg-elevated);
    }

    .ai-tab-btn.active {
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    }
}

/* Responsive hero title */
@media (max-width: 991px) {
    .product-hero h1 {
        font-size: 2.6rem !important;
    }
}

@media (max-width: 575px) {
    .product-hero h1 {
        font-size: 2rem !important;
    }

    .channel-item {
        grid-template-columns: 44px 1fr;
    }
}

/* ============================================================
   AI CAPABILITY STICKY SCROLL
   ============================================================ */

.mockup-dashboard-wrap {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transform: none !important;
}

.ai-sticky-panel {
    display: none;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.ai-sticky-panel.active {
    display: flex !important;
    z-index: 2;
}

/* Neutralize perspective */
.hero-preview-card {
    transform: none !important;
}

/* Professional Mockup Components */
.mockup-msg {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 85%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    color: var(--text-main) !important;
    background: var(--bg-elevated) !important;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);

    /* Animation base - start hidden and collapsed */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 0;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    overflow: hidden;
}

.mockup-msg.send {
    align-self: flex-end;
    background: var(--accent-primary) !important;
    color: white !important;
    border-color: var(--accent-primary) !important;
}

.mockup-msg.send .mockup-msg-sender {
    color: rgba(255,255,255,0.8) !important;
}

.mockup-msg.receive {
    border-bottom-left-radius: 2px;
}

.mockup-msg-sender {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
    color: var(--accent-primary) !important;
}/* ── Sidebar Nav Control ────────────────────────── */
/* Standardize with core mockup styles */
.mockup-dashboard-wrap .sidebar-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0.5 !important;
}

/* Inbox Active (Steps 0-7) */
[data-sub-step="0"] #nav-inbox, [data-sub-step="1"] #nav-inbox, [data-sub-step="2"] #nav-inbox, 
[data-sub-step="3"] #nav-inbox, [data-sub-step="4"] #nav-inbox, [data-sub-step="5"] #nav-inbox,
[data-sub-step="6"] #nav-inbox, [data-sub-step="7"] #nav-inbox {
    color: var(--accent-primary) !important;
    opacity: 1 !important;
}

/* Sentinel Active (Steps 8-9) */
[data-sub-step="8"] #nav-sentinel, [data-sub-step="9"] #nav-sentinel {
    color: var(--accent-primary) !important;
    opacity: 1 !important;
}

/* Strategy Active (Step 10+) */
[data-sub-step="10"] #nav-strategy, [data-sub-step="11"] #nav-strategy {
    color: var(--accent-primary) !important;
    opacity: 1 !important;
}

/* Curator Active (Step 12+) */
[data-sub-step="12"] #nav-curator, [data-sub-step="13"] #nav-curator {
    color: var(--accent-primary) !important;
    opacity: 1 !important;
}

/* ── Panel Visibility ────────────────────────── */
#sticky-visual-sdr, #sticky-visual-sentinel, #sticky-visual-strategy, #sticky-visual-curator {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    left: 0;
    top: 0;
}

/* SDR Stage (0-7) */
[data-sub-step="0"] #sticky-visual-sdr, [data-sub-step="1"] #sticky-visual-sdr, 
[data-sub-step="2"] #sticky-visual-sdr, [data-sub-step="3"] #sticky-visual-sdr, 
[data-sub-step="4"] #sticky-visual-sdr, [data-sub-step="5"] #sticky-visual-sdr, 
[data-sub-step="6"] #sticky-visual-sdr, [data-sub-step="7"] #sticky-visual-sdr {
    opacity: 1;
    pointer-events: all;
}

/* Sentinel Stage (8-9) */
[data-sub-step="8"] #sticky-visual-sentinel, [data-sub-step="9"] #sticky-visual-sentinel {
    opacity: 1;
    pointer-events: all;
}

/* Strategy Stage (10-11) */
[data-sub-step="10"] #sticky-visual-strategy, [data-sub-step="11"] #sticky-visual-strategy {
    opacity: 1;
    pointer-events: all;
}

/* Curator Stage (12-13) */
[data-sub-step="12"] #sticky-visual-curator, [data-sub-step="13"] #sticky-visual-curator {
    opacity: 1;
    pointer-events: all;
}

/* ── SDR Message Logic ────────────────────────── */
[data-sub-step="0"] .sdr-msg-1,
[data-sub-step="1"] .sdr-msg-1, [data-sub-step="1"] .sdr-msg-2,
[data-sub-step="2"] .sdr-msg-1, [data-sub-step="2"] .sdr-msg-2, [data-sub-step="2"] .sdr-msg-3,
[data-sub-step="3"] .sdr-msg-1, [data-sub-step="3"] .sdr-msg-2, [data-sub-step="3"] .sdr-msg-3,
[data-sub-step="4"] .sdr-msg-1, [data-sub-step="4"] .sdr-msg-2, [data-sub-step="4"] .sdr-msg-3, [data-sub-step="4"] .sdr-msg-4,
[data-sub-step="5"] .sdr-msg-1, [data-sub-step="5"] .sdr-msg-2, [data-sub-step="5"] .sdr-msg-3, [data-sub-step="5"] .sdr-msg-4,
[data-sub-step="6"] .sdr-msg-1, [data-sub-step="6"] .sdr-msg-2, [data-sub-step="6"] .sdr-msg-3, [data-sub-step="6"] .sdr-msg-4,
[data-sub-step="7"] .sdr-msg-1, [data-sub-step="7"] .sdr-msg-2, [data-sub-step="7"] .sdr-msg-3, [data-sub-step="7"] .sdr-msg-4 {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
    margin-bottom: 0.75rem;
    padding: 0.85rem 1rem;
    border-width: 1px;
    display: block !important;
}

/* Analyst Alert Animation */
.alert-mockup {
    z-index: 10;
    width: fit-content;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(calc(100% + 4rem));
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-sub-step="3"] .analyst-alert, [data-sub-step="4"] .analyst-alert {
    opacity: 1;
    transform: translateX(0);
}

/* Closer alert only in step 6 */
[data-sub-step="6"] .closer-alert {
    opacity: 1;
    transform: translateX(0);
}

/* Exit logic for SDR elements */
[data-sub-step="5"] .analyst-alert, [data-sub-step="7"] .closer-alert, [data-sub-step="8"] #sticky-visual-sdr {
    opacity: 0;
    pointer-events: none;
}

.convo-stack {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-border {
    border: 1px solid var(--border-color) !important;
}

.convo-stack {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sentinel-card, .strategy-wrap {
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sentinel Message Sequence */
.sentinel-msg-1, .sentinel-msg-2 {
    display: none !important;
}

[data-sub-step="8"] .sentinel-msg-1 {
    display: flex !important;
}

[data-sub-step="9"] .sentinel-msg-1, [data-sub-step="9"] .sentinel-msg-2 {
    display: flex !important;
}

/* ── Strategy & Curator Secondary Steps ──────── */
.strategy-graph, .strategy-insight, .curator-resonance {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Strategy Phase 1 (Step 10) */
[data-sub-step="10"] .strategy-graph {
    opacity: 1;
    transform: translateY(0);
}

/* Strategy Phase 2 (Step 11) - The "Secondary Step" */
[data-sub-step="11"] .strategy-graph, 
[data-sub-step="11"] .strategy-insight {
    opacity: 1;
    transform: translateY(0);
}

/* Curator Phase 1 (Step 12) */
[data-sub-step="12"] .curator-resonance {
    opacity: 0; /* Hidden initially in Curator phase */
}

/* Curator Phase 2 (Step 13) - Secondary Curator Step */
[data-sub-step="13"] .curator-resonance {
    opacity: 1;
    transform: translateY(0);
}

/* ── Infinite Integration Marquee ────────────────────────── */
.channels-marquee-container {
    position: relative;
    width: 100%;
    padding: 4rem 0;
    background: var(--bg-main);
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 3rem;
    padding: 1.5rem 0;
}

.marquee-row-1 {
    animation: marqueeMoveLeft 40s linear infinite;
}

.marquee-row-2 {
    animation: marqueeMoveRight 40s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem 3.5rem;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.marquee-item:hover {
    border-color: var(--accent-primary);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(10, 173, 149, 0.1) inset;
    transform: translateY(-4px) scale(1.01);
}

.marquee-item:hover .bento-glow {
    opacity: 1;
}





.marquee-item i {
    font-size: 3rem; /* Slightly larger icons */
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.marquee-item:hover i {
    color: var(--accent-primary);
}

.marquee-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
}

@keyframes marqueeMoveLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes marqueeMoveRight {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

@media (max-width: 767px) {
    .marquee-track { gap: 1.5rem; }
    .marquee-item { padding: 0.8rem 1.5rem; }
    .marquee-item i { font-size: 1.8rem; }
    .marquee-name { font-size: 0.95rem; }
}

