/* CSS Variables for Theming */
:root {
    --primary-color: #7C3AED;
    /* Vivid Purple - kept as brand color */
    --primary-hover: #6D28D9;
    --text-color: #1F2937;
    --text-light: #52525B;
    /* Slightly darker for better contrast on off-white */
    --bg-color: #FAFAF9;
    /* Warm off-white (Stone-50 ish) */
    --bg-secondary: #F5F5F4;
    /* Slightly darker off-white for cards */
    --card-bg: #FFFFFF;
    --tab-inactive: #F4F4F5;
    --white: #FFFFFF;
    --gradient-bg: linear-gradient(to bottom, #FAFAF9 0%, #F5F3FF 100%);
    /* Very subtle fade to purple at bottom */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-snap-type: y proximity;
    /* Looser snap for "optimal" feel */
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Account for sticky header */
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: #FEFEFE;
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
    font-size: 15px;
}

/* ========================= */
/* Animated Background Blobs */
/* ========================= */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    will-change: transform;
}

/* Purple blob — top right hero area */
.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #C084FC 0%, #8B5CF6 50%, transparent 70%);
    top: -5%;
    right: -5%;
    animation: blobFloat1 18s ease-in-out infinite;
}

/* Pink/Rose blob — left side */
.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #F9A8D4 0%, #EC4899 50%, transparent 70%);
    top: 30%;
    left: -8%;
    animation: blobFloat2 22s ease-in-out infinite;
}

/* Blue/Cyan blob — center-bottom */
.blob-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #93C5FD 0%, #6366F1 50%, transparent 70%);
    bottom: 10%;
    right: 15%;
    animation: blobFloat3 20s ease-in-out infinite;
}

/* Warm lavender blob — floating center */
.blob-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #E9D5FF 0%, #A78BFA 50%, transparent 70%);
    top: 55%;
    left: 35%;
    animation: blobFloat4 25s ease-in-out infinite;
}

@keyframes blobFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(-60px, 40px) scale(1.05);
    }

    50% {
        transform: translate(-30px, 80px) scale(0.95);
    }

    75% {
        transform: translate(40px, 20px) scale(1.08);
    }
}

@keyframes blobFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -30px) scale(1.1);
    }

    50% {
        transform: translate(80px, 20px) scale(0.9);
    }

    75% {
        transform: translate(30px, -50px) scale(1.05);
    }
}

@keyframes blobFloat3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-50px, -40px) scale(1.08);
    }

    66% {
        transform: translate(40px, -20px) scale(0.95);
    }
}

@keyframes blobFloat4 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    20% {
        transform: translate(40px, 30px) scale(0.95);
    }

    40% {
        transform: translate(-30px, 60px) scale(1.1);
    }

    60% {
        transform: translate(-50px, -20px) scale(0.9);
    }

    80% {
        transform: translate(30px, -40px) scale(1.05);
    }
}

/* Grain / Noise Overlay for texture */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}



/* Spotlight Mouse Follower */
.mouse-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 0.3s ease;
    will-change: transform;
}

/* Header */
.site-header {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
}

.site-header.scrolled {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header.scrolled .logo-text {
    font-size: 1.6rem;
    font-weight: 700;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-weight: 700;
    font-size: 2.7rem;
    letter-spacing: -0.04em;
    color: var(--primary-color);
    text-transform: lowercase;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    white-space: nowrap;
}

.logo-container:hover .logo-text {
    color: #6D28D9;
}

.logo-container:active .logo-text,
.logo-container:focus .logo-text {
    font-weight: 700 !important;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a:not(.btn) {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.main-nav a:not(.btn):hover {
    color: var(--primary-color);
}

.nav-login-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.7;
}

.nav-login-icon:hover {
    color: var(--primary-color) !important;
    opacity: 1;
    transform: translateY(-2px);
}

.nav-login-icon svg {
    width: 22px;
    height: 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease-out;
    cursor: pointer;
    will-change: transform;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.45);
}

.btn-home {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-home:hover {
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateX(-5px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    position: relative;
}

.hero-container {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge-container {
    margin-bottom: 2rem;
    height: 32px;
    /* Fixed height for stability */
}

.hero-badge {
    background-color: #F3F4F6;
    color: var(--text-light);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    transition: opacity 0.5s ease-in-out;
}

/* For fade transition */
.fade-out {
    opacity: 0;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #0F172A;
    margin-bottom: 1.5rem;
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    .hamburger {
        display: flex;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1001;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a:not(.btn) {
        font-size: 1.3rem;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .site-header.scrolled .logo-text {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .container {
        padding: 0 1.25rem;
    }

    .evidence-flow {
        flex-direction: column;
        align-items: center;
    }

    .evidence-card {
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }

    .flow-arrow {
        display: none;
    }

    .tabs-container {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tab-btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }

    .content-card.active {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .card-left,
    .card-right {
        padding: 0;
        width: 100%;
    }

    /* Sub-pages mobile */
    .nav-back {
        top: 1rem;
        left: 1rem;
    }

    .btn-home {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .pricing-hero h1 {
        font-size: 2.5rem;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .library-hero h1 {
        font-size: 2.5rem;
    }

    .featured-card {
        padding: 2rem;
        border-radius: 24px;
    }

    .chat-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

.text-highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 6px;
    background: rgba(124, 58, 237, 0.12);
    border-radius: 3px;
    z-index: -1;
    transition: width 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.text-highlight.active::after {
    width: 100%;
}

.senior-clarity {
    font-size: 1.1em;
    font-style: italic;
    font-weight: 800;
    display: inline-block;
    background: linear-gradient(135deg, #7C3AED 0%, #9333EA 50%, #C084FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-right: 0.1em;
    margin-left: 0.05em;
    letter-spacing: -0.03em;
    transform: rotate(-1.5deg);
    filter: drop-shadow(0 4px 12px rgba(124, 58, 237, 0.15));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.senior-clarity:hover {
    transform: rotate(0deg) scale(1.05);
}

.hero-description {
    font-size: 1.1rem;
    /* Scaled down from 1.25rem */
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 540px;
    line-height: 1.6;
}

.btn-large {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

.arrow {
    margin-left: 0.5rem;
    transition: transform 0.2s;
}

.btn-large:hover .arrow {
    transform: translateX(4px);
}

/* Integrations Section */
.integrations-section {
    padding: 4rem 0 8rem;
    overflow: hidden;
    position: relative;
}

/* Fading edges effect using Mask Image (for background transparency) */
.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    padding: 2rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    will-change: transform;
}

.marquee-left {
    animation: scrollLeft 40s linear infinite;
}

.marquee-right {
    animation: scrollRight 40s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-33.333% - 0.5rem));
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(calc(-33.333% - 0.5rem));
    }

    100% {
        transform: translateX(0);
    }
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    white-space: nowrap;
}

.logo-box:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.08);
}

.logo-icon-simple {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Brand Colors for dots */
.salesforce {
    background-color: #00A1E0;
}

.hubspot {
    background-color: #FF7A59;
}

.slack {
    background-color: #4A154B;
}

.teams {
    background-color: #6264A7;
}

.mixpanel {
    background-color: #7856FF;
}

.zendesk {
    background-color: #03363D;
}

.stripe {
    background-color: #635BFF;
}

.intercom {
    background-color: #1F8DFF;
}

.snowflake {
    background-color: #29B5E8;
}

.jira {
    background-color: #0052CC;
}

.notion {
    background-color: #000000;
}

.looker {
    background-color: #4285F4;
}

.gong {
    background-color: #FF3B3B;
}

.outreach {
    background-color: #6E56FF;
}

.monday {
    background-color: #FF3D57;
}

.amplitude {
    background-color: #240046;
}

.segment {
    background-color: #52BD94;
}

.datadog {
    background-color: #632CA6;
}

.zoom {
    background-color: #2D8CFF;
}

.asana {
    background-color: #F06A6A;
}

.paypal {
    background-color: #003087;
}

.google {
    background-color: #4285F4;
}

.outreach {
    background-color: #6E56FF;
}

/* How It Works Section */
.how-it-works-section {
    min-height: 100vh;
    padding: 6rem 0;
    /* Reduced from 8rem */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    /* Reduced from 3rem */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
    display: block;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    /* Scaled down from 2.5rem */
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.animated-text-inline {
    background: linear-gradient(90deg, var(--primary-color), #A855F7, var(--primary-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    position: relative;
    display: inline-block;
}

.animated-text-inline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 999px;
    transition: width 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.reveal.visible .animated-text-inline::after {
    width: 100%;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.section-header p {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Tabs */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    background: #F9FAFB;
    padding: 0.5rem;
    border-radius: 9999px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    /* For the pill positioning */
}

.tab-pill {
    position: absolute;
    background-color: var(--primary-color);
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    top: 0.5rem;
    height: calc(100% - 1rem);
    z-index: 0;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    /* Above the pill */
}

.tab-btn.active {
    color: var(--white);
}

.tab-btn:hover:not(.active) {
    color: var(--text-color);
}

/* Narrative Builder - Chaos to Clarity */
.narrative-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    gap: 1.5rem;
    background: #FAFAFA;
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.05);
}

.visual-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease;
}

.visible .visual-side {
    opacity: 1;
    transform: translateY(0);
}

.visual-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.visual-desc {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 1.5rem;
    text-align: center;
}

.chaos-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.chaos-item {
    background: white;
    padding: 0.6rem;
    border-radius: 8px;
    font-size: 0.7rem;
    color: #999;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    animation: shake 4s infinite ease-in-out;
}

.chaos-item:nth-child(2) {
    animation-delay: 0.2s;
}

.chaos-item:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes shake {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(2px, 1px);
    }

    75% {
        transform: translate(-1px, 2px);
    }
}

.visual-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
    opacity: 0;
    transition: all 0.5s ease 0.8s;
}

.visible .visual-arrow {
    opacity: 0.5;
}

.new-way .visual-label {
    color: var(--primary-color);
}

.narrative-preview,
.guidance-preview,
.outcome-preview {
    background: white;
    width: 100%;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.1);
    position: relative;
    overflow: hidden;
}

.preview-text {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

.glow-point,
.pulse-ring,
.glow-bar {
    position: absolute;
    background: var(--primary-color);
    opacity: 0.1;
    z-index: 1;
}

.glow-point {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    filter: blur(20px);
    top: -20px;
    right: -20px;
}

.pulse-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translateY(-50%) scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: translateY(-50%) scale(2);
        opacity: 0;
    }
}

.glow-bar {
    width: 100%;
    height: 4px;
    bottom: 0;
    left: 0;
}

/* Feature List Staggered Reveal */
.feature-list li {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.5s ease;
}

.content-card.active .feature-list li {
    opacity: 1;
    transform: translateX(0);
}

.content-card.active .feature-list li:nth-child(1) {
    transition-delay: 0.5s;
}

.content-card.active .feature-list li:nth-child(2) {
    transition-delay: 0.6s;
}

.content-card.active .feature-list li:nth-child(3) {
    transition-delay: 0.7s;
}

.content-card.active .feature-list li:nth-child(4) {
    transition-delay: 0.8s;
}

.content-card.active .feature-list li:nth-child(5) {
    transition-delay: 0.9s;
}

/* Content Card Base Styles */
.content-card-container {
    position: relative;
    margin: 0 auto;
    max-width: 1100px;
    /* Slightly wider */
    margin-bottom: 3rem;
    /* Reduced from 6rem */
}

.content-card {
    display: none;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 32px;
    padding: 4rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.content-card.active {
    display: grid;
    animation: cardEntrance 0.6s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-left {
    padding-right: 1.5rem;
}

.card-icon-box {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fff 0%, #F5F3FF 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(124, 58, 237, 0.05);
}

.card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-color);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    /* Muted label */
    margin-bottom: 0.75rem;
    display: block;
}

.content-card h3 {
    font-size: 1.75rem;
    /* Slightly larger, more elegant */
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #111;
    letter-spacing: -0.02em;
}

.card-subtitle {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.card-meta {
    font-size: 0.85rem;
    color: #6B7280;
    line-height: 1.7;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle separator */
    padding-top: 1.5rem;
}

.card-right {
    background: #FAFAFA;
    padding: 2.5rem;
    /* More breathing room */
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    width: 100%;
    /* Ensure it fills its grid cell */
    display: flex;
    flex-direction: column;
}

/* Simplify Feature List */
.feature-list {
    list-style: none;
    /* Removed Continuity Line - was too busy */
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    color: #6B7280;
    /* Muted gray for less strain */
    transition: color 0.2s ease;
}

.feature-list li:hover {
    color: #111;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #4B5563;
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease;
}

.feature-list li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background-color: #FFFFFF;
    color: #9CA3AF;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 1.5rem;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 2;
}

/* Accordion */
.accordion-section-header {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 6rem;
    position: relative;
}

.accordion-section-header::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.accordion-section-header .eyebrow {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.accordion-section-header h3 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.accordion-section-header p {
    font-size: 1.15rem;
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 28px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

.accordion-item:hover {
    background: #FFF;
    border-color: rgba(124, 58, 237, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

.accordion-item.active {
    background: #FFF;
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px -12px rgba(124, 58, 237, 0.12);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 2rem 3rem;
    cursor: pointer;
}

.accordion-icon {
    width: 52px;
    height: 52px;
    margin-right: 1.75rem;
    background: #F8FAFC;
    color: #94A3B8;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.accordion-item.active .accordion-icon {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    transform: scale(1.1);
}

.accordion-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.accordion-text h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -0.01em;
}

.accordion-arrow {
    width: 36px;
    height: 36px;
    margin-left: auto;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F8FAFC;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.accordion-item.active .accordion-arrow {
    background: var(--primary-color);
    color: #FFF;
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    /* Allow more space for slider */
    padding-bottom: 2rem;
}

/* Step Slider Inside Accordion */
.step-slider {
    padding: 0 3rem 1rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #E2E8F0;
    background: #FFF;
    color: #94A3B8;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: var(--primary-color);
    color: #FFF;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
}

.step-slides {
    position: relative;
    min-height: 220px;
    /* Adjusted for responsiveness */
}

@media (max-width: 768px) {
    .step-slides {
        min-height: 260px;
        /* Adjusted for responsiveness */
    }
}

.step-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.step-slide h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
}

.step-slide p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    max-width: 600px;
}

.step-highlight {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(124, 58, 237, 0.04);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #7C3AED;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.step-highlight::before {
    content: none;
}

@media (max-width: 768px) {
    .step-slider {
        padding: 0 1.5rem 1rem 1.5rem;
    }
}

/* Time to Value Section */
.ttv-section {
    padding: 6rem 0;
    text-align: center;
}

.ttv-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111;
}

.ttv-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

.ttv-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    gap: 1rem;
}

.ttv-step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.ttv-step-badge {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 6px rgba(124, 58, 237, 0.2);
}

.ttv-icon-box {
    width: 64px;
    height: 64px;
    background: #FFF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.ttv-icon-box svg {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

.ttv-step-card h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1E293B;
}

.ttv-meta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.ttv-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
    max-width: 200px;
}

.ttv-divider {
    height: 2px;
    background: #E2E8F0;
    flex: 1;
    width: 100%;
    min-width: 40px;
}

.ttv-comparison-card {
    max-width: 800px;
    margin: 0 auto;
    background: #FFF;
    border-radius: 20px;
    border: 1px solid #F1F5F9;
    padding: 2rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

.ttv-col h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94A3B8;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.ttv-comp-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
}

.ttv-comp-row svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.icon-red {
    color: #EF4444;
}

.icon-green {
    color: #10B981;
}

.icon-purple {
    color: var(--primary-color);
}

.nautilida-col {
    position: relative;
    padding-left: 4rem;
    border-left: 1px solid #F1F5F9;
}

/* FAQ Integration Specifics */
.faq-answer .ttv-section {
    padding: 1rem 0;
}

.faq-answer .ttv-header {
    display: none;
}

.faq-answer .ttv-steps {
    gap: 0.5rem;
    margin-bottom: 2rem;
    grid-template-columns: 1fr;
    /* Stack vertically in FAQ for better fit */
}

.faq-answer .ttv-divider {
    display: none;
}

.faq-answer .ttv-comparison-card {
    padding: 1.5rem;
    gap: 2rem;
    grid-template-columns: 1fr;
    /* Stack comparison in FAQ */
}

.faq-answer .nautilida-col {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #F1F5F9;
    padding-top: 1.5rem;
}

@media (max-width: 768px) {
    .ttv-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ttv-divider {
        display: none;
    }

    .ttv-comparison-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .nautilida-col {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #F1F5F9;
        padding-top: 2rem;
    }
}

.faq-section {
    padding: 8rem 0;
    scroll-snap-align: start;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(124, 58, 237, 0.2);
}

.faq-item.active {
    background: #FFF;
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1E293B;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h4 {
    color: var(--primary-color);
}

.faq-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-item.active .faq-toggle {
    background: var(--primary-color);
    color: #FFF;
    transform: rotate(135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 2rem 2rem 2rem;
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-footer {
    margin-top: 3rem;
    text-align: center;
    color: #64748B;
    font-size: 1rem;
}

.faq-footer a {
    color: var(--primary-color);
    font-weight: 600;
    margin-left: 0.25rem;
    transition: var(--transition-smooth);
}

.faq-footer a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Trust Section */
.trust-section {
    min-height: 100vh;
    padding: 6rem 0;
    background: transparent;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#trust .eyebrow {
    color: #6B7280;
    /* Neutral Gray */
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

#trust:hover .eyebrow {
    color: var(--primary-color);
}

.section-header.center h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #64748B;
    margin-bottom: 4.5rem;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.evidence-flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.evidence-card {
    flex: 1;
    background: #F1F5F9;
    /* Default soft gray for clarity */
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.evidence-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.evidence-icon {
    width: 48px;
    height: 48px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    /* Clear purple icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    transition: all 0.3s ease;
}

.evidence-card:hover .evidence-icon {
    background: rgba(124, 58, 237, 0.15);
    color: var(--primary-color);
}

.evidence-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.evidence-card:hover h3 {
    color: #0F172A;
}

.evidence-quote {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
    /* Deep purple for quote */
    margin-bottom: 2rem;
    line-height: 1.5;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.evidence-card:hover .evidence-quote {
    color: var(--primary-color);
}

.evidence-label {
    font-size: 0.8rem;
    color: #94A3B8;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.evidence-card:hover .evidence-label {
    color: #94A3B8;
}

.flow-arrow {
    display: flex;
    align-items: center;
    color: #B197DC;
}

.compliance-pills-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.compliance-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: #FAFBFC;
    border: 1px solid #F1F5F9;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.compliance-pill svg {
    color: var(--primary-color);
    /* Consistent purple for trust */
}



.evidence-card:hover .evidence-main.highlight {
    color: var(--primary-color);
}

.evidence-footer {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #9CA3AF;
    margin-top: 2rem;
}



.pillar-card {
    padding: 1.5rem;
    background: transparent;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    background: #F9FAFB;
}

.pillar-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pillar-card h4 svg {
    color: #9CA3AF;
    width: 16px;
    height: 16px;
    transition: color 0.3s ease;
}

.pillar-card:hover h4 svg {
    color: var(--primary-color);
}

.pillar-card p {
    font-size: 0.85rem;
    color: #6B7280;
    line-height: 1.5;
}

.flow-arrow {
    flex: 0 0 auto;
    color: #B197DC;
    display: flex;
    align-items: center;
    opacity: 0.8;
}

.flow-arrow svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.compliance-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1rem;
}

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6B7280;
    transition: all 0.2s ease;
}

.compliance-badge:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.compliance-badge svg {
    color: var(--primary-color);
    /* Switched to purple brand color */
    width: 14px;
    height: 14px;
}

@media (max-width: 968px) {
    .evidence-flow {
        flex-direction: column;
        align-items: center;
    }

    .flow-arrow {
        display: none !important;
    }

    .evidence-card {
        width: 100%;
        max-width: 450px;
        min-height: auto;
    }
}

.trust-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.12);
    border-color: rgba(196, 181, 253, 0.6);
}

.trust-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.trust-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Custom styling for icons mimicking the image */
.slack-icon {
    font-weight: 800;
    font-size: 1.5rem;
}

.trust-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111;
}

.trust-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.trust-footer-strip {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.strip-content {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 9999px;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    color: #4B5563;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.strip-content .icon {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .content-card.active {
        display: flex;
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
    }

    .card-left,
    .card-right {
        padding: 0;
        width: 100%;
    }

    .tabs-container {
        flex-wrap: wrap;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .strip-content {
        flex-direction: column;
        text-align: center;
        border-radius: 12px;
    }

    .accordion-content ul,
    .accordion-highlight {
        margin-left: 0;
    }
}

/* Slack-style What If Chat Section */
.what-if-chat-section {
    padding: 10rem 0;
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.chat-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.chat-cta-side {
    text-align: left;
}

.chat-cta-side .final-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #111;
    letter-spacing: -0.03em;
    background: none;
    -webkit-text-fill-color: initial;
}

.final-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 450px;
}

/* Interactive Slack Window */
.slack-window {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

/* Modal Chat Overlay & Window Maximization */
.chat-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.chat-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.slack-window.maximized {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    width: 850px;
    height: 650px;
    max-width: 95vw;
    max-height: 90vh;
    z-index: 10001;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
    margin: 0;
}

/* Fix for fixed positioning inside transformed parents */
body.chat-modal-open .what-if-chat-section {
    transform: none !important;
    perspective: none !important;
}

.slack-header {
    background: #F8F8F8;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.slack-maximize {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    color: #616061;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}

.slack-maximize:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #111;
}

.slack-body {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.slack-window.maximized .slack-body {
    max-height: none;
}

.slack-message {
    display: flex;
    gap: 0.75rem;
    animation: slackFadeIn 0.3s ease-out forwards;
}

@keyframes slackFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slack-avatar {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.slack-avatar.am {
    background: #E01E5A;
}

.slack-avatar.leader {
    background: #36C5F0;
}

/* Slack Blue */
.slack-avatar.nautilida {
    background: #1D1C1D;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

/* Darker, more AI premium look */

/* Slack Input & FAQ Dropdown */
.slack-footer {
    background: #F8F8F8;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.slack-input-area {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.slack-dropdown-wrapper {
    position: relative;
    flex: 1;
}

.slack-faq-dropdown {
    width: 100%;
    appearance: none;
    background: #fff;
    border: 1px solid #ddd;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1D1C1D;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.slack-faq-dropdown:hover,
.slack-faq-dropdown:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.slack-faq-dropdown optgroup {
    font-weight: 700;
    color: var(--primary-color);
    background: #f8f8f8;
}

.slack-faq-dropdown option {
    padding: 8px;
    background: #fff;
    color: #1D1C1D;
}

.slack-dropdown-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #616061;
}

.btn-slack-send {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-slack-send:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-slack-send:active {
    transform: translateY(0);
}

.slack-choices-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #616061;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.slack-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-choice {
    background: #fff;
    border: 1px solid #ddd;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1D1C1D;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.btn-choice:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fbf8ff;
    transform: translateY(-1px);
}

.btn-choice:active {
    transform: translateY(0);
}

.slack-user {
    font-weight: 900;
    font-size: 0.95rem;
    color: #1D1C1D;
    margin-bottom: 0.25rem;
}

.slack-time {
    font-weight: 400;
    color: #616061;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.slack-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #1D1C1D;
    background: rgba(0, 0, 0, 0.03);
    padding: 0.8rem 1.1rem;
    border-radius: 0 16px 16px 16px;
    display: inline-block;
}

.slack-message.user-side {
    flex-direction: row-reverse;
}

.slack-message.user-side .slack-text {
    border-radius: 12px 0 12px 12px;
    background: #fbf8ff;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.slack-message.user-side .slack-content {
    text-align: right;
}

.slack-message.user-side .slack-avatar {
    margin-right: 0;
}

/* Typing Indicator */
.typing-indicator {
    padding: 10px;
    font-size: 0.8rem;
    color: #616061;
    font-style: italic;
}

@media (max-width: 992px) {
    .chat-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .chat-cta-side {
        text-align: center;
    }

    .chat-cta-side .final-title {
        font-size: 2.5rem;
    }

    .final-subtitle {
        margin: 0 auto 2.5rem;
    }

    .slack-window {
        margin: 0 auto;
    }
}

/* Comprehensive Footer Styles */
.site-footer {
    background-color: #FFFFFF;
    border-top: 1px solid #E5E7EB;
    padding: 5rem 0 3rem;
    /* Increased vertical spacing */
    font-size: 0.9rem;
    scroll-snap-align: end;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    /* Increased gap */
    margin-bottom: 4rem;
    /* Increased margin */
}

.footer-brand {
    flex: 1;
    min-width: 200px;
}

.footer-brand .logo-text {
    font-size: 1.875rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: block;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-light);
    max-width: 250px;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-light);
    transition: color 0.2s;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #F3F4F6;
    padding-top: 2.5rem;
    /* Increased padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9CA3AF;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1.5rem;
    /* Increased gap */
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    color: #9CA3AF;
    transition: color 0.2s;
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        gap: 2rem;
        width: 100%;
        justify-content: space-between;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #9CA3AF;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===================== */
/* Scroll Reveal System  */
/* ===================== */
.reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) !important;
}

/* Staggered children animation for trust cards */
.reveal.visible .trust-card {
    opacity: 1;
    transform: translateY(0);
}

.reveal.visible .trust-card:nth-child(1) {
    transition-delay: 0ms;
}

.reveal.visible .trust-card:nth-child(2) {
    transition-delay: 100ms;
}

.reveal.visible .trust-card:nth-child(3) {
    transition-delay: 200ms;
}

.reveal.visible .trust-card:nth-child(4) {
    transition-delay: 300ms;
}

/* ===================== */
/* Subtle Section Divider*/
/* ===================== */
.how-it-works-section::before,
.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.2), transparent);
    border-radius: 2px;
}

.how-it-works-section,
.trust-section {
    position: relative;
}

/* See Logic Button */
.btn-see-logic {
    background: transparent;
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-see-logic:hover {
    background: rgba(124, 58, 237, 0.05);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

/* Modal System */
.logic-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.logic-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    padding: 4rem 2rem 2rem;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logic-modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: #f5f5f5;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: #eee;
    transform: rotate(90deg);
}

.hidden {
    display: none !important;
}

/* Adjusted Visual for Modal */
.logic-modal .narrative-visual {
    background: transparent;
    border: none;
    height: auto;
    min-height: 400px;
}

@media (max-width: 768px) {
    .logic-modal .narrative-visual {
        flex-direction: column;
        gap: 3rem;
        height: auto;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    z-index: 10;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 15px);
    }
}

/* ================================== */
/* Monday Narrative Animation Styles  */
/* ================================== */
.animation-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.03) 0%, transparent 70%);
}

.scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(20px) scale(0.98);
    filter: blur(10px);
    padding: 3rem;
}

.scene.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.scene-header {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #A855F7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scene-subtext {
    margin-top: 2.5rem;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    opacity: 0.7;
    text-align: center;
    max-width: 80%;
}

/* Scene 1: Premium Source Icons */
.source-icons {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    perspective: 1000px;
}

.source-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.5s ease;
}

.icon-blob {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-color);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    z-index: 2;
}

.signal-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    box-shadow: 0 0 15px var(--primary-color);
}

.active[data-scene="1"] .signal-dot {
    animation: emitSignalFlow 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes emitSignalFlow {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }

    80% {
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, 200px) scale(0);
        opacity: 0;
    }
}

/* Scene 2: The Core Engine */
.engine-container {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engine-core {
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, var(--primary-color), #6D28D9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
    text-align: center;
    z-index: 5;
    box-shadow:
        0 20px 50px rgba(124, 58, 237, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    animation: corePulse 3s infinite ease-in-out;
}

.engine-ring {
    position: absolute;
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 50%;
}

.ring-1 {
    width: 180px;
    height: 180px;
    animation: rotate 10s linear infinite;
    border-style: dashed;
}

.ring-2 {
    width: 220px;
    height: 220px;
    animation: rotate 15s linear reverse infinite;
    border-style: dotted;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes corePulse {

    0%,
    100% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.05);
        filter: brightness(1.1);
    }
}

.signal-pill {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transform: translateX(30px) scale(0.9);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.active[data-scene="2"] .signal-pill {
    transform: translateX(0) scale(1);
    opacity: 1;
}

/* Scene 4: Portfolio Health */
.health-value {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(to bottom, #111, #444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.health-bars {
    width: 350px;
    height: 16px;
    background: #f3f4f6;
    border-radius: 99px;
    padding: 3px;
    display: flex;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bar-segment {
    height: 100%;
    border-radius: 99px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.active[data-scene="4"] .bar-segment {
    transform: scaleX(1);
}

/* Scene 5: Momentum Row */
.momentum-row {
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

.sparkline-svg {
    width: 100px;
    height: 30px;
    stroke: #ef4444;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}

.active[data-scene="5"] .sparkline-svg {
    animation: drawLine 2s forwards ease-out;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Scene 7: Clustering Focus Areas */
.focus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    perspective: 1000px;
}

.focus-card {
    background: white;
    border: 1px solid rgba(124, 58, 237, 0.1);
    color: var(--text-color);
    padding: 1.75rem;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.05);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    transition: all 0.4s ease;
}

.focus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
}

/* Scene 8: Final Reasoning Panel */
.reasoning-panel {
    background: white;
    padding: 3rem;
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
    max-width: 550px;
}

.priority-score {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.priority-score::after {
    content: 'CRITICAL';
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 6px;
}

.reasoning-panel li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    transform: translateX(-10px);
    opacity: 0;
    transition: all 0.5s ease;
}

.active[data-scene="8"] li {
    transform: translateX(0);
    opacity: 1;
}

.active[data-scene="8"] li:nth-child(1) {
    transition-delay: 0.2s;
}

.active[data-scene="8"] li:nth-child(2) {
    transition-delay: 0.4s;
}

.active[data-scene="8"] li:nth-child(3) {
    transition-delay: 0.6s;
}

/* Global Scene Adjustments */
.active[data-scene="2"] .engine-status {
    animation: fadeInSlideUp 0.8s 0.5s forwards;
    opacity: 0;
    font-weight: 700;
    color: var(--primary-color);
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .health-value {
        font-size: 3rem;
    }

    .health-bars {
        width: 250px;
    }

    .momentum-row {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
}

/* Monday Animation Enhancements */
.deep-dive-simulation {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 0.5s ease-out 0.5s both;
    position: relative;
    width: 100%;
}

.btn-ping-sim {
    background: #4A154B;
    /* Slack Purple */
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(74, 21, 75, 0.2);
    position: relative;
    z-index: 2;
}

.ping-pulse {
    position: absolute;
    width: 150px;
    height: 36px;
    background: rgba(74, 21, 75, 0.4);
    border-radius: 8px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pingPulse 2s infinite;
    z-index: 1;
}

@keyframes pingPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.delivery-status {
    margin-top: 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #059669;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideUpFade 0.5s ease-out both;
}

.status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-size: 10px;
}

@keyframes slideUpFade {
    from {
        transform: translateY(10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* PC Interface Simulation Styles */
.mock-pc-container {
    width: 95%;
    max-width: 900px;
    height: 600px;
    background: #FFFFFF;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    animation: windowPop 0.6s cubic-bezier(0.17, 0.89, 0.32, 1.28);
    position: relative;
    z-index: 1000;
}

@keyframes windowPop {
    from {
        transform: scale(0.9) translateY(40px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.pc-titlebar {
    height: 44px;
    background: #F1F1F1;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid #E5E5E5;
    position: relative;
    flex-shrink: 0;
}

.pc-controls {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #FF5F56;
}

.dot.yellow {
    background: #FFBD2E;
}

.dot.green {
    background: #27C93F;
}

.pc-window-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.pc-content-wrapper {
    display: flex;
    flex: 1;
    background: #FFF;
    overflow: hidden;
    position: relative;
}

.pc-sidebar {
    width: 180px;
    background: #FAFAFA;
    border-right: 1px solid #EDEDED;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

.side-item {
    font-size: 0.85rem;
    padding: 10px 24px;
    color: #888;
    transition: all 0.2s;
}

.side-item.active {
    color: var(--primary-color);
    background: rgba(124, 58, 237, 0.05);
    font-weight: 600;
}

/* Radar Container */
.radar-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
}

.radar-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 50%;
}

.radar-sweep {
    position: absolute;
    width: 50%;
    height: 50%;
    background: conic-gradient(from 0deg, var(--primary-color) 0%, transparent 10%);
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    animation: radarSweep 4s linear infinite;
    border-radius: 0 0 100% 0;
    opacity: 0.3;
}

@keyframes radarSweep {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.source-icons-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.source-item {
    position: absolute;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
}

.source-item[data-name="SFDC"] {
    top: 20%;
    left: 20%;
}

.source-item[data-name="Stripe"] {
    top: 15%;
    right: 25%;
}

.source-item[data-name="Logix"] {
    bottom: 20%;
    left: 30%;
}

.source-item[data-name="Product"] {
    bottom: 25%;
    right: 20%;
}

/* Terminal View */
.terminal-view {
    width: 90%;
    max-width: 500px;
    background: #1E1E1E;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #00FF41;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    text-align: left;
}

.terminal-line {
    margin-bottom: 8px;
    overflow: hidden;
    white-space: nowrap;
}

.terminal-line.typing {
    border-right: .15em solid orange;
    animation: typing 2.5s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: orange;
    }
}

/* Fake Cursor Simulation */
.fake-cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='white' stroke='black' stroke-width='1.5'%3E%3Cpath d='M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z'/%3E%3C/svg%3E") no-repeat;
    z-index: 9999;
    pointer-events: none;
    top: 50%;
    left: 50%;
    animation: cursorMove 15s infinite ease-in-out;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes cursorMove {
    0% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-300px, -150px);
    }

    /* Move to top left sidebar */
    12% {
        transform: translate(-300px, -150px) scale(0.8);
    }

    /* Click */
    14% {
        transform: translate(-300px, -150px) scale(1);
    }

    25% {
        transform: translate(100px, 100px);
    }

    /* Hover over data */
    40% {
        transform: translate(-300px, -50px);
    }

    /* Move to Analysis nav */
    42% {
        transform: translate(-300px, -50px) scale(0.8);
    }

    /* Click */
    44% {
        transform: translate(-300px, -50px) scale(1);
    }

    60% {
        transform: translate(200px, 0);
    }

    /* Check report */
    75% {
        transform: translate(-300px, 50px);
    }

    /* Move to Narrative nav */
    77% {
        transform: translate(-300px, 50px) scale(0.8);
    }

    /* Click */
    79% {
        transform: translate(-300px, 50px) scale(1);
    }

    90% {
        transform: translate(0, 200px);
    }

    /* Move down to subtext */
    100% {
        transform: translate(0, 0);
    }
}

.section-subtitle-small {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

/* ============================================ */
/* COMPREHENSIVE MOBILE STYLES (MUST BE LAST)   */
/* ============================================ */
@media (max-width: 768px) {
    /* --- Global --- */
    h1 {
        font-size: 2.2rem !important;
        letter-spacing: -0.03em;
    }

    h2 {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* --- Header & Nav --- */
    .hamburger {
        display: flex;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1001;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a:not(.btn) {
        font-size: 1.3rem;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .site-header.scrolled .logo-text {
        font-size: 1.5rem;
    }

    /* --- Hero --- */
    .hero-section {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .hero-description {
        font-size: 1rem;
    }

    .scroll-indicator {
        display: none;
    }

    /* --- Evidence / Trust Section --- */
    .evidence-flow {
        flex-direction: column;
        align-items: center;
    }

    .evidence-card {
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }

    .flow-arrow {
        display: none !important;
    }

    .compliance-pills-row {
        gap: 0.5rem;
    }

    .compliance-pill {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    /* --- How It Works / Tabs --- */
    .how-it-works-section {
        min-height: auto;
        padding: 4rem 0;
    }

    .tabs-container {
        flex-wrap: wrap;
        gap: 0.5rem;
        border-radius: 16px;
        padding: 0.4rem;
    }

    .tab-btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }

    .tab-btn .icon {
        display: none;
    }

    .tab-pill {
        display: none;
    }

    .tab-btn.active {
        background: var(--primary-color);
        color: white;
        border-radius: 9999px;
    }

    .content-card.active {
        display: flex;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .card-left,
    .card-right {
        padding: 0;
        width: 100%;
    }

    .content-card h3 {
        font-size: 1.35rem;
    }

    /* --- Accordion --- */
    .accordion-section-header {
        margin-top: 3rem;
        margin-bottom: 2rem;
    }

    .accordion-section-header h3 {
        font-size: 1.8rem;
    }

    .accordion-header {
        padding: 1.25rem 1.5rem;
    }

    .accordion-icon {
        width: 40px;
        height: 40px;
        margin-right: 1rem;
    }

    .accordion-text h4 {
        font-size: 1rem;
    }

    .step-slider {
        padding: 0 1.5rem 1rem;
    }

    /* --- Integrations Marquee --- */
    .integrations-section {
        padding: 3rem 0 4rem;
    }

    .blob {
        display: none;
    }

    /* --- Chat Section --- */
    .what-if-chat-section {
        padding: 5rem 0;
    }

    .chat-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .chat-cta-side {
        text-align: center;
    }

    .chat-cta-side .final-title {
        font-size: 2rem;
    }

    .final-subtitle {
        margin: 0 auto 2rem;
        font-size: 1.05rem;
    }

    .slack-window {
        margin: 0 auto;
        max-width: 100%;
    }

    .slack-input-area {
        flex-direction: column;
    }

    .btn-slack-send {
        padding: 0.75rem;
    }

    /* --- FAQ Section --- */
    .faq-container {
        padding: 0;
    }

    .faq-question h4 {
        font-size: 1rem;
        text-align: left;
    }

    /* --- Footer --- */
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        gap: 2rem;
        width: 100%;
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-legal-links {
        justify-content: center;
    }

    /* --- Sub-pages nav --- */
    .nav-back {
        top: 1rem;
        left: 1rem;
    }

    .btn-home {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* --- Pricing page --- */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .pricing-hero h1 {
        font-size: 2.5rem !important;
    }

    .locked-card {
        padding: 3rem 2rem;
        border-radius: 32px;
    }

    .locked-card h2 {
        font-size: 2rem;
    }

    .locked-card p {
        font-size: 1.05rem;
    }

    /* --- Blog / Library page --- */
    .insights-grid {
        grid-template-columns: 1fr;
    }

    .library-hero h1 {
        font-size: 2.5rem !important;
    }

    .library-intro {
        font-size: 1.1rem;
        margin-bottom: 4rem;
    }

    .featured-card {
        padding: 2rem;
        border-radius: 24px;
    }

    /* --- Legal pages --- */
    .legal-header {
        padding: 7rem 0 3rem;
    }

    .legal-header h1 {
        font-size: 2rem !important;
    }

    .legal-content {
        padding: 3rem 1.5rem 5rem;
        font-size: 0.95rem;
    }

    /* --- TTV Section (help page, index FAQ) --- */
    .ttv-steps {
        flex-direction: column;
        align-items: center;
    }

    .ttv-divider {
        display: none;
    }

    .ttv-step-card {
        width: 100%;
        max-width: 300px;
    }

    .ttv-comparison-card {
        flex-direction: column;
    }

    .ttv-col {
        width: 100%;
    }

    /* --- Modal --- */
    .modal-content {
        width: 95%;
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }

    .mock-pc-container {
        width: 100%;
        height: 400px;
    }

    .pc-sidebar {
        display: none;
    }

    /* --- Misc --- */
    .mouse-follower {
        display: none;
    }

    .strip-content {
        flex-direction: column;
        text-align: center;
        border-radius: 12px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem !important;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

    .btn-large {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .tab-btn {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }

    .eyebrow {
        font-size: 0.65rem;
    }

    .senior-clarity {
        font-size: 1em;
    }

    .content-card.active {
        padding: 1.25rem;
    }

    .card-right {
        padding: 1.5rem;
    }

    .slack-faq-dropdown {
        font-size: 0.8rem;
    }

    .evidence-card {
        padding: 2rem 1.25rem;
    }

    .locked-card {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }

    .locked-card h2 {
        font-size: 1.6rem;
    }
}