/* ============================================================================
   LEANPIVOT REDESIGN CORE
   Version: 1.0.0
   Goal: Implement the "SaaS-Clean" Internal Logged-In Experience
   Focus: Clarity, Deference, and Progressive Disclosure
   ============================================================================ */

:root {
    /* Transition to a more airy spacing system for dashboard content */
    --lp-redesign-module-padding: var(--lp-space-8); /* 32px */
    --lp-redesign-module-bg: var(--lp-slate-50);
    --lp-redesign-border-color: var(--lp-slate-200);
}

/* ===== 1. CORE TYPOGRAPHY REFINEMENTS ===== */

/* Enforce Humanist readability on all body content */
body {
    line-height: var(--lp-leading-relaxed); /* 1.6+ */
    -webkit-font-smoothing: antialiased;
}

.text-saas-clean {
    color: var(--lp-slate-900);
    letter-spacing: -0.011em;
}

/* Section Headlines with better hierarchy */
.section-headline {
    font-size: var(--lp-text-3xl);
    font-weight: var(--lp-font-bold);
    color: var(--lp-slate-900);
    margin-bottom: var(--lp-space-4);
    letter-spacing: -0.025em;
}

/* ===== 2. MODULAR CARDS (The Result Modules) ===== */

/*
   The "Result Module" is the core building block for AI outputs.
   It breaks long text into professional "delivered" units.
*/
.result-module {
    background-color: var(--lp-redesign-module-bg);
    border: 1px solid var(--lp-redesign-border-color);
    border-radius: var(--lp-radius-lg);
    padding: var(--lp-redesign-module-padding);
    margin-bottom: var(--lp-space-6);
    transition: var(--lp-transition-base);
}

.result-module:hover {
    border-color: var(--lp-primary-light);
    box-shadow: var(--lp-shadow-sm);
}

.result-module__headline {
    font-size: var(--lp-text-xl);
    font-weight: var(--lp-font-semibold);
    color: var(--lp-slate-800);
    margin-bottom: var(--lp-space-3);
    display: flex;
    align-items: center;
    gap: var(--lp-space-2);
}

.result-module__headline i {
    color: var(--lp-primary);
}

.result-module__content {
    font-size: var(--lp-text-base);
    color: var(--lp-slate-700);
    line-height: var(--lp-leading-relaxed);
}

/* ===== 3. IMPACT & MOMENTUM STRIP ===== */

.impact-strip {
    background: var(--lp-slate-900);
    color: white;
    padding: var(--lp-space-3) 0;
    width: 100%;
    z-index: var(--lp-z-fixed);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.impact-strip__container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--lp-space-4);
}

.impact-strip__item {
    display: flex;
    align-items: center;
    gap: var(--lp-space-2);
    font-size: var(--lp-text-sm);
    font-weight: var(--lp-font-medium);
}

.impact-strip__item strong {
    color: var(--lp-orange);
    font-size: var(--lp-text-lg);
}

/* Dashboard Version - Momentum Strip */
.impact-strip--internal {
    background: var(--lp-gradient-primary-lighter);
    border: 1px solid var(--lp-primary-100);
    color: var(--lp-primary-darker);
    border-radius: var(--lp-radius-md);
    padding: var(--lp-space-4);
    margin-bottom: var(--lp-space-8);
    width: auto; /* Overrides global width: 100% */
}


/* ===== 4. CURRICULUM ROADMAP (The Gated Journey) ===== */

.curriculum-roadmap {
    position: relative;
    padding-left: var(--lp-space-8);
    border-left: 2px dashed var(--lp-slate-200);
    margin-left: var(--lp-space-4);
}

.roadmap-step {
    position: relative;
    padding-bottom: var(--lp-space-10);
}

.roadmap-step::before {
    content: '';
    position: absolute;
    left: calc(var(--lp-space-8) * -1 - 9px);
    top: 0;
    width: 16px;
    height: 16px;
    background: white;
    border: 2px solid var(--lp-slate-300);
    border-radius: 50%;
    z-index: 2;
}

.roadmap-step--active::before {
    border-color: var(--lp-primary);
    background: var(--lp-primary);
    box-shadow: 0 0 0 4px var(--lp-primary-50);
}

.roadmap-step--locked {
    opacity: 0.6;
    filter: grayscale(1);
    pointer-events: none;
}

.roadmap-step__header {
    display: flex;
    align-items: center;
    gap: var(--lp-space-3);
    margin-bottom: var(--lp-space-4);
}

.roadmap-step__title {
    font-size: var(--lp-text-lg);
    font-weight: var(--lp-font-bold);
    color: var(--lp-slate-900);
    margin-bottom: 0;
}

.roadmap-step__badge {
    font-size: 0.65rem;
    font-weight: var(--lp-font-bold);
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.tool-list--roadmap {
    display: flex;
    flex-direction: column;
    gap: var(--lp-space-3);
}

.tool-card--roadmap {
    background: white;
    border: 1px solid var(--lp-slate-200);
    border-radius: var(--lp-radius-md);
    padding: var(--lp-space-3) var(--lp-space-4);
    display: flex;
    align-items: center;
    gap: var(--lp-space-4);
    transition: all 0.2s ease;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

.tool-card--roadmap:hover {
    border-color: var(--lp-primary);
    transform: translateX(8px);
    box-shadow: var(--lp-shadow-sm);
}

.tool-card--roadmap .tool-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

.tool-card--roadmap__info {
    flex-grow: 1;
}

.tool-card--roadmap__name {
    font-size: var(--lp-text-base);
    font-weight: var(--lp-font-semibold);
    color: var(--lp-slate-800);
    margin-bottom: 2px;
}

.tool-card--roadmap__desc {
    font-size: var(--lp-text-xs);
    color: var(--lp-slate-500);
    margin-bottom: 0;
}

.tool-card--roadmap__status {
    flex-shrink: 0;
    font-size: var(--lp-text-xs);
}


/* ===== 5. ABSTRACT VISUAL UTILITIES ===== */

.abstract-bg {
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .impact-strip__container {
        flex-direction: column;
        gap: var(--lp-space-2);
    }
}
