/* --- Website Specific Styles --- */

/* Import core variables and styles if possible, but we might need to copy/paste to avoid presentation conflicts.
   For now, I'll copy the variables and essential card styles to ensure independence. */

:root {
    /* Brand Palette - From Guidelines */
    --bg-color: #1E1D1D;
    /* Brand Dark/Black */
    --text-color: #F3F3F3;
    /* Primary Cloud/Cream */
    --accent-color: #9CC9BB;
    /* Sage Green */
    --accent-secondary: #70A593;
    /* Mid Green */
    --accent-dark: #5C8875;
    /* Deep Green */
    --color-warning: #FF6B6B;
    /* Soft Red for warnings */

    /* Utility */
    --white: #FFFFFF;
    --text-secondary: #9DA2B3;
    /* Space Grey */
    --bg-secondary: #1E1E24;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);

    --font-main: 'Manrope', sans-serif;

    /* Mappings for existing classes */
    --text-primary: var(--text-color);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    overflow-y: auto;
    /* Enable scroll */
    -webkit-font-smoothing: antialiased;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 180px;
    padding: 1.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background: var(--bg-color);
    border-right: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-left: 0.75rem;
    width: 100%;
    height: 40px;
}

.logo-collapsed {
    display: none !important;
}

.logo-text {
    transition: opacity 0.2s, width 0.2s;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    margin-bottom: auto;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.nav-links::-webkit-scrollbar {
    width: 4px;
}

.nav-links::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    /* Thinner font */
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0;
    /* Remove gap to allow full control via margins/widths */
    border: 1px solid transparent;
    width: 100%;
}

.nav-links a svg {
    opacity: 0;
    max-width: 0;
    width: 0;
    /* Force width 0 */
    margin-right: 0;
    transition: width 0.2s ease-out, opacity 0.2s ease-out;
    /* Fast shrink when expanding */
    flex-shrink: 0;
    display: block;
    overflow: hidden;
    /* Ensure content doesn't spill */
}

.nav-links a:hover {
    color: var(--white);
    background: transparent;
    border-color: transparent;
}

.nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    border-color: transparent;
}

.nav-links a svg {
    opacity: 0.5;
    transition: opacity 0.2s;
    flex-shrink: 0;
    display: none;
    /* Hide icons in expanded state */
}

/* Drag and Drop Styles */
.nav-links a[draggable="true"] {
    cursor: grab;
    user-select: none;
}

.nav-links a.dragging {
    opacity: 0.4;
    background: rgba(156, 201, 187, 0.1);
    border: 1px dashed var(--accent-color);
}

/* Drag Handle Icon (visible only in edit mode) */
.drag-handle {
    display: none;
    margin-left: 0.5rem;
    opacity: 0.3;
    cursor: grab;
    flex-shrink: 0;
}



.nav-links a:hover .drag-handle {
    opacity: 0.8;
}

.nav-links a.drag-over {
    border-top: 2px solid var(--accent-color);
    background: rgba(156, 201, 187, 0.05);
}

/* Sidebar visibility for hidden sections */
.nav-links a.section-hidden {
    display: none;
}



/* Visibility Toggle Button */
.visibility-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 4px;
    margin-left: auto;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.2s;
    border-radius: 4px;
    flex-shrink: 0;
}

.visibility-toggle:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}



.visibility-toggle .eye-slashed {
    display: none;
}

.section-hidden .visibility-toggle .eye-open {
    display: none;
}

.section-hidden .visibility-toggle .eye-slashed {
    display: block;
    color: var(--color-warning);
}

.section-hidden .visibility-toggle {
    opacity: 0.8;
}

/* Archive/Move to End Button */
.archive-slide-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 4px;
    margin-left: 0.25rem;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.2s;
    border-radius: 4px;
    flex-shrink: 0;
}

.archive-slide-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}



.nav-text,
.cta-text {
    transition: opacity 0.3s ease-in 0.1s, max-width 0.3s ease-in 0.1s;
    /* Delayed expand */
    white-space: nowrap;
    overflow: hidden;
    max-width: 200px;
    opacity: 1;
}

/* --- Bottom Controls --- */
.nav-bottom {
    margin-top: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}



/* Editable State Feedback */


/* --- Toggle Button --- */
#sidebar-toggle {
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-color);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    width: 24px;
    height: 48px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.2s;
    padding: 0;
}

#sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
}

#sidebar-toggle svg {
    transition: transform 0.3s ease;
}

.cta-badge {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.4rem 0.6rem;
    border-radius: 100px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.65rem;
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    cursor: default;
    background: rgba(156, 201, 187, 0.05);
    /* Very subtle tint */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Layout --- */
main {
    padding-top: 0;
    padding-left: 180px;
    /* Offset for fixed nav */
    width: 100%;
    transition: padding-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 2rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

#hero {
    min-height: 100vh;
}

/* --- Typography --- */
h1 {
    font-size: 6rem;
    font-weight: 800;
    line-height: 0.95;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.hero-highlight {
    color: var(--accent-color);
}

.hero-sub {
    font-size: 1.1rem;
    /* Reverted to original */
    color: var(--text-secondary);
    background: none;
    padding: 0;
    display: block;
    margin: 1.5rem auto 2rem auto;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    text-align: center;
}

/* --- Cards / Bento Grid --- */
.cards-grid {
    display: grid;
    gap: 1.5rem;
    width: 100%;
}

.grid-3-col {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2-col-wide {
    grid-template-columns: 1fr 1fr;
}

.grid-6-col {
    grid-template-columns: repeat(3, 1fr);
}

.grid-3x2 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
}

.bento-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, border-color 0.3s;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

/* Specific overrides for 'The New Reality' on desktop */
#problems .bento-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#problems .bento-card:hover {
    transform: none !important;
}

.bento-card .icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-secondary);
}

.bento-card .card-title {
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.bento-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.bento-card .card-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* --- Footer --- */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 4rem;
}

/* --- Utilities --- */
.limit-width {
    width: 100%;
}

/* --- Background Shapes --- */
.bg-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    background: transparent;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

/* --- Fixed Emblem Background --- */
/* --- Fixed Emblem Background --- */
.fixed-emblem {
    position: fixed;
    top: 0;
    left: 180px;
    /* Start after sidebar */
    width: calc(100vw - 180px);
    /* Width of remaining space */
    height: 100vh;
    background-image: url('assets/Asset 6.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 140% auto;
    /* Massive, abstract scale */
    opacity: 0.08;
    /* Slightly more visible but abstract */
    /* Initial state, will be managed by JS */
    z-index: -2;
    pointer-events: none;
    /* filter: brightness(0) invert(1); -> REMOVED to preserve gradient */
    /* filter: invert(1); -> REMOVED because SVG is white */

    /* Transition for smoothed scroll effects if JS isn't per-frame */
    transition: transform 0.1s linear, opacity 0.1s linear, background-position 0.1s linear;
    will-change: transform, opacity, background-position;
}


/* --- Brand Mark Options --- */

/* Option A: Hero Watermark */
.brand-watermark-hero {
    position: absolute;
    top: 50%;
    left: calc(50% + 100px);
    /* Center of main area (200px + (100vw-200px)/2) */
    transform: translate(-50%, -50%);
    width: 60vw;
    /* Reduced from 80vw for subtlety */
    opacity: 0.05;
    /* Very subtle */
    pointer-events: none;
    z-index: 0;
}

/* Option B: Solution Bridge */
.brand-bridge-container {
    padding: 0;
    margin: 0;
    position: relative;
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-color) 0%, #1a2520 100%);
}

.brand-bridge {
    width: 60%;
    opacity: 0.2;
    transform: translateY(30%);
}

/* Option C: Parallax Depth (in 'The Bet') */
.brand-parallax-bet {
    position: absolute;
    right: -10%;
    top: -20%;
    width: 40vw;
    opacity: 0.08;
    z-index: 0;
    transform: rotate(15deg);
    pointer-events: none;
}

/* --- Module Grid (How It Works) --- */
.module-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.module-card {
    padding: 1.5rem;
    align-items: flex-start;
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

.module-card:hover {
    border-color: rgba(156, 201, 187, 0.3);
    box-shadow: 0 0 30px rgba(156, 201, 187, 0.06);
}

.module-icon {
    color: var(--text-secondary);
    opacity: 0.7;
    margin-bottom: 1rem;
    display: flex;
}

.module-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.4rem;
}

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

.module-card-accent {
    border: 1px solid var(--accent-color);
    background: rgba(156, 201, 187, 0.04);
}

.module-card-accent:hover {
    background: rgba(156, 201, 187, 0.08);
    border-color: var(--accent-color);
    box-shadow: 0 0 40px rgba(156, 201, 187, 0.1);
}

/* --- Vertical Timeline (The Process) --- */
.v-timeline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}

.v-timeline-step {
    display: flex;
    gap: 2rem;
    position: relative;
}

.v-timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.v-timeline-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.v-timeline-step:hover .v-timeline-number {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 20px rgba(156, 201, 187, 0.15);
}

.v-timeline-number-accent {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(156, 201, 187, 0.1);
    box-shadow: 0 0 20px rgba(156, 201, 187, 0.1);
}

.v-timeline-line {
    width: 1.5px;
    flex: 1;
    min-height: 40px;
    background: linear-gradient(180deg, rgba(156, 201, 187, 0.3) 0%, rgba(156, 201, 187, 0.05) 100%);
}

.v-timeline-content {
    padding-bottom: 3rem;
    padding-top: 0.5rem;
}

.v-timeline-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.v-timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.v-timeline-step-last .v-timeline-content {
    padding-bottom: 0;
}

/* --- Horizontal Timeline --- */
.h-timeline {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.h-timeline::before {
    content: '';
    position: absolute;
    top: 22px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 1.5px;
    background: linear-gradient(90deg, rgba(156, 201, 187, 0.15) 0%, rgba(156, 201, 187, 0.6) 100%);
    pointer-events: none;
}

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

.h-timeline-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    margin-bottom: 1.75rem;
    transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.h-timeline-step:hover .h-timeline-num {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 20px rgba(156, 201, 187, 0.15);
}

.h-timeline-num-accent {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(156, 201, 187, 0.1);
    box-shadow: 0 0 20px rgba(156, 201, 187, 0.1);
}

.h-timeline-content {
    padding: 0 1.25rem;
}

.h-timeline-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.h-timeline-label-accent {
    color: var(--accent-color);
}

.h-timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 0.75rem 0;
}

/* --- Journey (Growth Path) --- */
.journey-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    width: 100%;
}

/* Left: Vertical Steps */
.journey-v-steps {
    display: flex;
    flex-direction: column;
}

.journey-v-step {
    display: flex;
    gap: 1.75rem;
}

.journey-v-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.journey-v-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    letter-spacing: 1px;
}

.journey-v-num-accent {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(156, 201, 187, 0.08);
    box-shadow: 0 0 24px rgba(156, 201, 187, 0.15);
}

.journey-v-connector {
    width: 1px;
    flex: 1;
    min-height: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
    margin: 8px 0;
}

.journey-v-content {
    padding-bottom: 3rem;
    padding-top: 0.5rem;
    flex: 1;
}

.journey-v-step-last .journey-v-content {
    padding-bottom: 0;
}

.journey-v-label {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.journey-v-label-accent {
    color: var(--accent-color);
}

.journey-v-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0 0 1.25rem 0;
}

/* Right: Chart Card */
.journey-chart-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    position: sticky;
    top: 2rem;
}

.journey-chart-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    opacity: 0.6;
    margin-bottom: 0.4rem;
}

.journey-chart-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.75rem;
}

.journey-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.journey-stat {
    text-align: center;
    padding: 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
}

.journey-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.journey-stat-label {
    font-size: 0.68rem;
    color: var(--text-secondary);
    opacity: 0.65;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

/* V1: Horizontal 3-card layout */
.journey-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.journey-step-card {
    flex: 1;
    align-items: flex-start;
    text-align: left;
}

.journey-step-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    opacity: 0.1;
    line-height: 1;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
}

.journey-step-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.journey-step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
}

.journey-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    padding-top: 4.5rem;
    color: rgba(255, 255, 255, 0.15);
}

/* --- Product Philosophy --- */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.philosophy-card {
    position: relative;
    padding: 2.5rem 2rem;
    overflow: hidden;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

.philosophy-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
}

.philosophy-bg-num {
    position: absolute;
    top: -0.75rem;
    right: 0.75rem;
    font-size: 7rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -4px;
    font-variant-numeric: tabular-nums;
}

.philosophy-icon {
    color: var(--accent-color);
    opacity: 0.75;
    margin-bottom: 1.5rem;
    display: flex;
}

.philosophy-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.philosophy-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.philosophy-tag {
    font-size: 0.68rem;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    background: rgba(156, 201, 187, 0.07);
    border: 1px solid rgba(156, 201, 187, 0.2);
    color: var(--accent-color);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
}

/* --- What's In Your Corner --- */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.capability-card {
    align-items: flex-start;
    text-align: left;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

.capability-badge {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.capability-badge-accent {
    color: var(--accent-color);
    background: rgba(156, 201, 187, 0.08);
    border-color: rgba(156, 201, 187, 0.25);
}

.capability-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.65rem;
}

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

.capability-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: auto;
}

.capability-highlight {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.capability-highlight::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-color);
    flex-shrink: 0;
    opacity: 0.55;
}

/* Shared pill tags */
.journey-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.journey-tag {
    font-size: 0.72rem;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--text-secondary);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.journey-tag-accent {
    background: transparent;
    border-color: rgba(156, 201, 187, 0.25);
    color: var(--accent-color);
}

/* --- Process Callout --- */
.process-callout {
    margin-top: 4rem;
    padding: 2.5rem 3rem;
    background: rgba(156, 201, 187, 0.04);
    border: 1px solid rgba(156, 201, 187, 0.15);
    border-radius: 16px;
    text-align: center;
    width: 100%;
    max-width: 640px;
}

.process-callout-main {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    font-style: italic;
}

.process-callout-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.6;
    letter-spacing: 0.5px;
    margin: 0;


}

/* --- 3-Year Comparison Chart (SVG Lines) --- */
.cost-comparison-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 4rem 0;
}

.chart-container {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    height: 400px;
    width: 100%;
    max-width: 800px;
    padding: 2rem 4rem 2rem 2rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
}

/* Y-Axis */
.y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-bottom: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.5;
    text-align: right;
    min-width: 50px;
    margin-top: -10px;
}

/* SVG Lines */
.chart-lines svg {
    overflow: visible;
}

/* Line Animations */
.line-saas,
.line-build,
.line-meetbean {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2.5s ease-out forwards;
}

.line-saas {
    animation-delay: 0.5s;
}

.line-build {
    animation-delay: 1.0s;
}

.line-meetbean {
    animation-delay: 1.5s;
    stroke-dashoffset: 1000;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Hover effects (optional) */
path:hover {
    stroke-width: 6;
    transition: stroke-width 0.3s ease;
    cursor: pointer;
}

/* Early Pricing Tag */
.tag-early {
    position: absolute;
    /* top/left set inline in HTML */
    white-space: nowrap;
    background: var(--accent-color);
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* --- Collapsed State --- */
body.sidebar-collapsed .navbar {
    width: 72px;
    padding: 1.5rem 0;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Delayed shrink */
}

body.sidebar-collapsed main {
    padding-left: 72px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Delayed shrink */
}

body.sidebar-collapsed .logo-full {
    display: none;
}

body.sidebar-collapsed .logo-collapsed {
    display: flex !important;
}

body.sidebar-collapsed .logo {
    justify-content: center;
    justify-content: center;
    padding-left: 0;
}

body.sidebar-collapsed .fixed-emblem {
    left: 72px;
    width: calc(100vw - 72px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Delayed shrink */
}

body.sidebar-collapsed .nav-text,
body.sidebar-collapsed .cta-text {
    opacity: 0;
    max-width: 0;
    pointer-events: none;
    /* Removed position: absolute to keep flow participation but 0 width */
    margin: 0;
    transition: opacity 0.2s ease-out, max-width 0.2s ease-out;
    /* Fast shrink when collapsing */
}

body.sidebar-collapsed .nav-links {
    padding-right: 0;
    align-items: center;
}

body.sidebar-collapsed .nav-links a {
    width: 32px;
    padding: 0.4rem 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Delayed shrink to match container */
    /* justify-content: center; REMOVED to prevent text jumping during collapse */
}

body.sidebar-collapsed .nav-links a svg:not(.drag-handle) {
    max-width: 20px !important;
    width: 20px !important;
    min-width: 20px !important;
    opacity: 0.7 !important;
    display: block !important;
    margin-right: 0;
    transition: width 0.3s ease-in 0.1s, opacity 0.3s ease-in 0.1s !important;
    /* Delayed grow */
}

body.sidebar-collapsed .cta-badge {
    width: 32px;
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    /* Reset to square-ish for icon only? Or keep pill? User wants design principles. 32x32 is a circle if radius is 100px/16px. */
    border-radius: 100px;
    /* Keep it pill/circle */
}

body.sidebar-collapsed .cta-icon {
    display: block !important;
}

body.sidebar-collapsed .nav-bottom {
    align-items: center;
}

body.sidebar-collapsed #sidebar-toggle {
    right: -12px;
}

body.sidebar-collapsed #sidebar-toggle svg {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .chart-container {
        height: 300px;
        padding-right: 2rem;
    }

    text {
        font-size: 10px;
        /* Smaller labels on mobile */
    }

    .tag-early {
        font-size: 0.6rem;
    }
}

/* Solution Blocks Grid */
@media (max-width: 1024px) {

    #solution-2 div[style*="grid-template-columns: repeat(4, 1fr)"],
    #solution-3 div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {

    #solution-2 div[style*="grid-template-columns: repeat(4, 1fr)"],
    #solution-3 div[style*="grid-template-columns: repeat(4, 1fr)"],
    #bet div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

/* --- Design Variants Utilities --- */

.variant-section {
    padding: 10rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.variant-tag {
    font-size: 0.6rem;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 2px 8px;
    border-radius: 100px;
    margin-bottom: 2rem;
    display: inline-block;
    opacity: 0.5;
}

/* Atmospheric Focus */
.atmospheric-container {
    position: relative;
    width: 100%;
}

.radial-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(156, 201, 187, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* --- Mobile Navigation & Layout --- */

#mobile-menu-toggle {
    display: none;
    /* Hidden on desktop */
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1002;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}

#mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

#mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

body.mobile-nav-open #mobile-overlay {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    #mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Sidebar drawer style */
    .navbar {
        transform: translateX(-100%);
        width: 280px !important;
        height: 100vh;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
        background: var(--bg-color);
    }

    /* Reveal sidebar when open */
    body.mobile-nav-open .navbar {
        transform: translateX(0);
    }

    /* Force expanded state visual inside drawer */
    .navbar .logo-full {
        display: block !important;
    }

    .navbar .logo-collapsed {
        display: none !important;
    }

    .nav-text,
    .cta-text {
        opacity: 1 !important;
        max-width: none !important;
        pointer-events: auto !important;
    }

    /* Reset link styling for drawer */
    .nav-links a {
        justify-content: flex-start !important;
        padding: 0.8rem 1rem !important;
        width: 100% !important;
    }

    /* Remove main padding so content is full width */
    main {
        padding-left: 0 !important;
        padding-top: 0;
        /* Removed 5rem offset */
        width: 100%;
    }

    /* Hide desktop toggle arrow */
    #sidebar-toggle {
        display: none !important;
    }

    /* Hide scrolling emblem on mobile */
    .fixed-emblem {
        display: none !important;
    }
}

/* --- Mobile Grid & Layout Optimizations --- */

@media (max-width: 768px) {

    /* Stack all grids vertically */
    .grid-3x2,
    .grid-3-col,
    .grid-2-col-wide,
    .grid-2-col {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Reduce excessive padding in sections */
    section,
    .variant-section {
        padding: 3rem 1.5rem !important;
    }

    /* Better centering for Hero section */
    section#hero {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Prevent horizontal overflow */
    body,
    html {
        overflow-x: hidden;
        width: 100%;
    }

    /* Ensure images responsive */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* --- Mobile Typography Optimizations --- */

@media (max-width: 768px) {

    /* Scale down large headings */
    h1 {
        font-size: 3rem !important;
        /* Down from 6rem */
        line-height: 1.1 !important;
        margin-bottom: 1.5rem !important;
        letter-spacing: -1px !important;
    }

    h2 {
        font-size: 2rem !important;
        /* Down from 3rem */
        margin-bottom: 2rem !important;
        line-height: 1.2 !important;
    }

    h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    /* Adjust body text and auxiliary text */
    p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .hero-sub {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
        letter-spacing: 2px !important;
    }

    /* --- The Promise (#features) 2nd Col Grid --- */
    #features .cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2.5rem 1rem !important;
        align-items: start !important;
    }

    #features .bento-card {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        text-align: left !important;
        align-items: flex-start !important;
        box-shadow: none !important;
    }

    #features .bento-card .icon {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    #features .bento-card .card-title {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.2 !important;
    }

    #features .bento-card p {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
    }

    /* --- The New Reality (#problems) Full Slide & Hybrid Grid --- */
    #problems {
        min-height: 100vh !important;
        padding-top: 10vh !important;
        padding-bottom: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }

    #problems p {
        margin-bottom: 1rem !important;
    }

    #problems .cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem 1rem !important;
        align-items: start !important;
        margin-top: 2rem;
    }

    /* Apply Ghost style ONLY to the bottom 2 charts (Costs and Underutilized) */
    #problems .bento-card:nth-child(n+2) {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        text-align: center !important;
        align-items: center !important;
        box-shadow: none !important;
    }

    /* Make the first card (Too Many Tools) full width and keep desktop style */
    #problems .bento-card:nth-child(1) {
        grid-column: span 2 !important;
        margin-bottom: 2rem;
        background: rgba(255, 255, 255, 0) !important;
        border: 1px solid rgba(255, 255, 255, 0) !important;
        padding: 1rem !important;
        text-align: center !important;
        align-items: center !important;
        border-radius: 24px;
    }

    #problems .bento-card:nth-child(1) .card-title {
        font-size: 1.2rem !important;
        margin-top: 1rem !important;
    }

    #problems .bento-card:nth-child(1) p {
        font-size: 0.9rem !important;
    }

    /* Apply scaled typography ONLY to the bottom 2 charts (2nd col grid) */
    #problems .bento-card:nth-child(n+2) .card-title {
        font-size: 1rem !important;
        margin-top: 0.5rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.2 !important;
    }

    #problems .bento-card:nth-child(n+2) p {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0 !important;
    }

    /* Scale Chart Heights ONLY for the bottom 2 charts */
    #problems .bento-card:nth-child(n+2) [style*="height: 180px"] {
        height: 85px !important;
        margin-bottom: 1.5rem !important;
    }

    /* Scaling inner bar and donut containers for mobile */
    #problems .bento-card:nth-child(2) [style*="height: 120px"],
    #problems .bento-card:nth-child(3) [style*="height: 120px"] {
        height: 85px !important;
    }

    #problems .bento-card:nth-child(n+2) [style*="width: 120px"] {
        width: 90px !important;
        height: 90px !important;
    }

    /* Ensure Bento Card titles aren't too small but fit for other areas */
    .bento-card .card-title {
        font-size: 1.1rem !important;
    }
}

/* --- Mobile Components Optimizations --- */

@media (max-width: 768px) {

    /* Hide Fixed Emblem to prevent obstruction */
    .fixed-emblem {
        display: none !important;
    }

    /* Timeline Adjustments */
    .v-timeline-step {
        gap: 1rem !important;
        /* Reduce from 2rem */
    }

    .v-timeline-label {
        font-size: 1.1rem !important;
        /* Down from 1.3rem */
    }

    .v-timeline-number {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.85rem !important;
    }

    .v-timeline-content {
        padding-bottom: 2rem !important;
        /* Reduce vertical spacing */
    }

    /* Chart / SVG safety */
    .bento-card svg {
        max-width: 100%;
        height: auto;
    }

    /* Ensure no horizontal overflow from charts */
    .chart-container,
    .bento-card>div[style*="width"] {
        max-width: 100%;
        overflow-x: auto;
    }
}

/* --- Refined Contact Section --- */

.final-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 2rem;
}

.final-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
    max-width: 800px;
}

.final-logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(156, 201, 187, 0.2));
    transition: transform 0.3s ease;
}

.final-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 800;
}

.final-subline {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.final-copyright {
    position: absolute;
    bottom: 3rem;
    left: 0;
    width: 100%;
    text-align: center;
}

.final-copyright p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.4;
    letter-spacing: 1px;
}

/* Mobile Overrides for Contact Section */
@media (max-width: 768px) {
    .final-content {
        gap: 2.5rem;
    }

    .final-logo {
        width: 180px;
    }

    .final-heading {
        font-size: 3rem !important;
        /* Match Hero Mobile */
    }

    .final-subline {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .final-copyright {
        bottom: 2rem;
    }
}

/* --- Final Contact Spacing & Color Refinements --- */

.final-contact {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.final-contact-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
}

.final-email {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    padding-bottom: 4px;
    transition: opacity 0.3s;
}

.final-email:hover {
    opacity: 0.7;
}

/* Mobile Overrides */
@media (max-width: 768px) {
    .final-contact {
        margin-top: 4rem !important;
        /* Shift lower */
        gap: 1.5rem !important;
    }

    .final-contact-label {
        color: var(--accent-color) !important;
        /* Sage Green on mobile */
        font-weight: 700;
    }

    .final-email {
        font-size: 1.4rem !important;
    }
}

/* --- Solution Library Mobile Carousel --- */

.module-carousel {
    display: contents;
    /* Invisible to grid on desktop */
}

@media (max-width: 768px) {
    .module-grid {
        display: flex !important;
        flex-direction: column;
        gap: 2rem !important;
        padding-top: 2rem;
    }

    .module-carousel {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.25rem;
        padding: 0.5rem 1.5rem 2rem 1.5rem;
        margin: 0 -1.5rem;
        /* Bleed to edges */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Hide scrollbar but keep functionality */
    .module-carousel::-webkit-scrollbar {
        display: none;
    }

    .module-carousel {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .module-carousel .module-card {
        flex: 0 0 80%;
        /* Peek next card */
        scroll-snap-align: center;
        min-height: 220px;
        background: transparent !important;
        border-color: transparent !important;
    }

    .module-card-accent {
        grid-column: span 1 !important;
        width: 100% !important;
        margin-top: 0;
    }

    .module-card-accent>div {
        flex-direction: column !important;
        gap: 1rem !important;
    }
}

/* --- Active Carousel Card Glow --- */

@media (max-width: 768px) {
    .module-card {
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .module-card.is-active {
        background: rgba(156, 201, 187, 0.03) !important;
        border-color: rgba(156, 201, 187, 0.2) !important;
        box-shadow: 0 0 50px rgba(156, 201, 187, 0.12) !important;
        transform: scale(1.02);
        z-index: 2;
    }
}

/* --- Carousel Active State Trigger --- */
@media (max-width: 768px) {
    .module-card.is-active {
        border-color: rgba(156, 201, 187, 0.3) !important;
        box-shadow: 0 0 30px rgba(156, 201, 187, 0.06) !important;
    }
}

/* --- The Third Way Refinements --- */
@media (max-width: 768px) {
    #solution-2 {
        min-height: 100vh !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    #solution-2 .check-container {
        margin-top: 4rem !important;
        /* Shift checkboxes lower */
        gap: 1.25rem !important;
    }
}

/* --- The Shift Section Premium Keynote Aesthetic (Global/Desktop) --- */
#shift .bento-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 1.5rem !important;
    text-align: center !important;
    align-items: center !important;
    position: relative;
    z-index: 1;
}

.shift-stat {
    font-size: 6rem !important;
    font-weight: 700 !important;
    /* Reduced for desktop */
    color: var(--white) !important;
    margin-bottom: 1.5rem !important;
    /* Increased for vertical breathing room */
    line-height: 1 !important;
    text-shadow: none !important;
    /* Glow removed for desktop */
    letter-spacing: -2px;
}

.shift-desc {
    color: var(--accent-color) !important;
    font-weight: 400 !important;
    /* Reduced to normal */
    font-size: 0.9rem !important;
    max-width: 250px;
    margin-bottom: 1rem !important;
    /* Increased for vertical breathing room */
    line-height: 1.3 !important;
}

.shift-source {
    font-size: 0.75rem !important;
    color: var(--text-secondary) !important;
    opacity: 0.4 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Desktop Connecting Line */
@media (min-width: 769px) {
    #shift .cards-grid {
        gap: 2rem !important;
        position: relative;
    }

    #shift .cards-grid::before {
        content: '';
        position: absolute;
        top: 25%;
        left: 10%;
        right: 10%;
        height: 1px;
        background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 10px, transparent 10px, transparent 20px);
        z-index: 0;
    }
}

@media (max-width: 768px) {
    #shift {
        margin-top: 10vh !important;
    }

    .shift-stat {
        font-size: 5rem !important;
        font-weight: 800 !important;
        /* Bolder for mobile */
        text-shadow: 0 0 30px rgba(156, 201, 187, 0.2) !important;
        /* Glow for mobile */
        margin-bottom: 1rem !important;
        /* Increased for mobile breathing room */
    }

    .shift-desc {
        margin-bottom: 1rem !important;
        /* Increased for mobile breathing room */
    }

    #shift .cards-grid {
        gap: 3rem !important;
    }

    #shift .bento-card {
        padding: 0.5rem !important;
    }

    /* Reference Paradox Card Reordering */
    #tension .cards-grid {
        display: flex !important;
        flex-direction: column !important;
    }

    #tension .bento-card:nth-child(2) {
        order: -1 !important;
    }
}

/* --- Cinematic Split-Path Overhaul (#two-paths-reality) --- */
#two-paths-reality {
    position: relative;
    overflow: hidden;
    padding: 12rem 2rem;
    background: transparent;
}

.split-path-wrapper {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Atmospheric Gradients */
.path-atmosphere-saas,
.path-atmosphere-diy {
    position: absolute;
    top: -20%;
    width: 70%;
    height: 140%;
    opacity: 0.15;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.path-atmosphere-saas {
    left: -20%;
    background: radial-gradient(circle at center, #2a3a4a 0%, transparent 60%);
}

.path-atmosphere-diy {
    right: -20%;
    background: radial-gradient(circle at center, #4a1a1a 0%, transparent 60%);
}

/* Central Divider */
.split-divider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 70%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
    z-index: 1;
}

.split-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.split-path-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    /* Wide gap for the divider */
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Path Eyebrow */
.path-eyebrow {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 3rem;
    opacity: 0.7;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.path-card-saas .path-eyebrow {
    color: #9da2b3;
}

.path-card-diy .path-eyebrow {
    color: #ff6b6b;
}

.path-card {
    position: relative;
    padding: 5rem 4rem !important;
    border-radius: 16px !important;
    background: transparent !important;
    border: none !important;
    backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
    text-align: left !important;
    align-items: flex-start !important;
}

/* Gradient Edge Glow */
.path-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, var(--path-accent), transparent);
    transition: height 0.6s ease;
}

.path-card:hover::after {
    height: 100%;
}

.path-card-saas {
    --path-accent: #9da2b3;
}

.path-card-diy {
    --path-accent: #ff6b6b;
}

.path-card:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    transform: translateX(var(--hover-slide)) !important;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.3) !important;
}

.path-card-saas:hover {
    --hover-slide: -10px;
}

.path-card-diy:hover {
    --hover-slide: 10px;
}

.path-card-header {
    margin-bottom: 2rem;
}

.path-card-title {
    font-size: 2.4rem !important;
    font-weight: 900 !important;
    /* Aggressive weight */
    letter-spacing: -2px !important;
    line-height: 1 !important;
    color: var(--white) !important;
    margin: 0 !important;
    min-height: 2em;
    /* Force 2-line height for alignment */
}

.path-card-subline {
    font-size: 1.1rem !important;
    font-weight: 300;
    opacity: 0.4;
    margin-bottom: 4rem !important;
}

.path-card-list {
    list-style: none;
    padding: 0;
    width: 100%;
}

.path-card-list li {
    font-size: 1.05rem;
    color: var(--text-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.path-card:hover .path-card-list li {
    border-color: rgba(255, 255, 255, 0.06);
}

.path-card-list li span {
    font-size: 0.8rem;
    opacity: 0.2;
    color: var(--path-accent);
}

.path-card:hover .path-card-list li:hover {
    transform: translateX(10px);
    color: var(--white);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    #two-paths-reality {
        padding: 6rem 1.5rem;
    }

    .split-divider {
        display: none;
    }

    .path-atmosphere-saas,
    .path-atmosphere-diy {
        width: 100%;
        height: 50%;
    }

    .split-path-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .path-card {
        padding: 3rem 2rem !important;
    }

    .path-card-title {
        font-size: 1.8rem !important;
    }
}