/* ============================================
   Cloud Migration Playbook - Publicis Sapient
   Financial Services CSS Stylesheet
   ============================================ */

/* ============================================
   1. RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Publicis Sapient Brand Colors */
    --primary-purple: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-purple: #8b5cf6;
    --accent-purple: #a855f7;
    --light-purple: #e9d5ff;
    
    /* Functional Colors */
    --dark-bg: #0f172a;
    --dark-secondary: #1e293b;
    --dark-tertiary: #334155;
    --light-bg: #f8fafc;
    --white: #ffffff;
    
    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ============================================
   2. NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-base);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.nav-brand i {
    color: var(--primary-purple);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: var(--transition-fast);
}

.nav-menu a:hover {
    background-color: rgba(99, 102, 241, 0.2);
    color: var(--primary-purple);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   3. HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 50%, #1e1b4b 100%);
    color: var(--white);
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(99,102,241,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-purple);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-purple);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   4. SECTION LAYOUTS
   ============================================ */
.section {
    padding: 5rem 2rem;
}

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

.section-dark {
    background-color: var(--dark-bg);
    color: var(--white);
}

.section-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-purple) 100%);
    color: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
}

.section-dark .section-title {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-intro {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-dark .section-intro {
    color: var(--text-light);
}

/* ============================================
   5. OVERVIEW SECTION
   ============================================ */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.overview-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.overview-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.overview-card p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.overview-card ul {
    list-style: none;
    padding-left: 0;
}

.overview-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.overview-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.overview-card ul li strong {
    color: var(--primary-dark);
}

/* ============================================
   6. CHALLENGES SECTION
   ============================================ */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.challenge-card {
    background: var(--dark-secondary);
    border-radius: 1rem;
    padding: 2rem;
    border: 2px solid transparent;
    transition: var(--transition-base);
    cursor: pointer;
}

.challenge-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.challenge-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.challenge-icon i {
    font-size: 1.75rem;
    color: var(--primary-purple);
}

.challenge-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.challenge-content {
    color: var(--text-light);
}

.challenge-content strong {
    color: var(--primary-purple);
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.challenge-content ul {
    list-style: none;
    padding-left: 0;
}

.challenge-content ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.challenge-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
}

/* Challenge Network Visualization */
.challenge-network {
    background: var(--dark-secondary);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 4rem;
}

.challenge-network h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--white);
}

.challenge-network p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Starting States */
.starting-states {
    margin-top: 4rem;
}

.starting-states h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.state-card {
    background: var(--dark-secondary);
    border-radius: 1rem;
    padding: 2rem;
    border: 2px solid var(--dark-tertiary);
    transition: var(--transition-base);
}

.state-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
}

.state-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.state-1 {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.state-2 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.state-3 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.state-4 {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.state-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.state-details p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.state-details strong {
    color: var(--primary-purple);
}

.state-details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.state-details ul li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.state-details ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
}

/* ============================================
   7. PLAYBOOK SECTION
   ============================================ */
.playbook-diagram {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.mermaid {
    text-align: center;
}

/* Phase Accordion */
.phases-accordion {
    margin-top: 2rem;
}

.phase-item {
    background: var(--white);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-base);
    transition: var(--transition-base);
}

.phase-item:hover {
    box-shadow: var(--shadow-lg);
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    color: var(--white);
    transition: var(--transition-base);
}

.phase-header:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-purple) 100%);
}

.phase-number {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.phase-header h3 {
    flex: 1;
    font-size: 1.5rem;
    margin: 0;
}

.phase-header i {
    transition: transform var(--transition-base);
}

.phase-item.active .phase-header i {
    transform: rotate(180deg);
}

.phase-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.phase-item.active .phase-content {
    max-height: 2000px;
}

.phase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.phase-detail {
    background: var(--light-bg);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.phase-detail h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phase-detail h4 i {
    color: var(--primary-purple);
}

.phase-detail ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.phase-detail ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.phase-detail ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
}

.phase-detail p {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--text-light);
    color: var(--text-secondary);
}

.phase-detail p strong {
    color: var(--primary-dark);
}

/* ============================================
   8. STRATEGIES SECTION
   ============================================ */
.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.strategy-card {
    background: var(--dark-secondary);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.strategy-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.strategy-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    padding: 2rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.strategy-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strategy-icon i {
    font-size: 1.75rem;
}

.strategy-header h3 {
    flex: 1;
    font-size: 1.5rem;
    margin: 0;
}

.strategy-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.strategy-content {
    padding: 2rem;
}

.strategy-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.strategy-details p {
    margin-bottom: 0.75rem;
}

.strategy-details strong {
    color: var(--primary-purple);
}

.strategy-details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.strategy-details ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.strategy-details ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

/* Decision Tree */
.decision-tree {
    background: var(--dark-secondary);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 4rem;
}

.decision-tree h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--white);
}

/* ============================================
   9. SCENARIOS SECTION
   ============================================ */
.scenarios-tabs {
    margin-top: 2rem;
}

.tabs-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--primary-purple);
    border-radius: 0.75rem;
    color: var(--primary-purple);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.tab-btn:hover {
    background: rgba(99, 102, 241, 0.1);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    color: var(--white);
}

.tabs-content {
    min-height: 600px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scenario-detail {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.scenario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-purple);
}

.scenario-header h3 {
    font-size: 1.75rem;
    color: var(--primary-dark);
}

.maturity-badge {
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    color: var(--white);
}

.level-1 {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.level-2 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.level-3 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.level-4 {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.scenario-grid {
    display: grid;
    gap: 2rem;
}

.scenario-section {
    background: var(--light-bg);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.scenario-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.scenario-section h4 i {
    color: var(--primary-purple);
}

.scenario-section ul {
    list-style: none;
    padding-left: 0;
}

.scenario-section ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.scenario-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
}

.scenario-section ul li strong {
    color: var(--primary-dark);
}

/* Timeline */
.approach-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-content h5 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

/* Approach Steps */
.approach-steps {
    display: grid;
    gap: 1.5rem;
}

.step-card {
    background: var(--white);
    border: 2px solid var(--primary-purple);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-card h5 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* ============================================
   10. COMPETITIVE LANDSCAPE
   ============================================ */
.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.vendor-card {
    background: var(--dark-secondary);
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition-base);
}

.vendor-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
}

.vendor-highlight {
    border: 3px solid var(--primary-purple);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.vendor-header {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-secondary) 100%);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vendor-highlight .vendor-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
}

.vendor-header h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin: 0;
}

.vendor-tier {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
}

.vendor-content {
    padding: 1.5rem;
    color: var(--text-light);
}

.vendor-content strong {
    color: var(--primary-purple);
    display: block;
    margin-bottom: 0.5rem;
}

.vendor-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.vendor-content ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.vendor-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

/* Comparison Matrix */
.comparison-matrix {
    margin-top: 4rem;
    background: var(--dark-secondary);
    border-radius: 1rem;
    padding: 2rem;
}

.comparison-matrix h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--white);
}

.matrix-table-wrapper {
    overflow-x: auto;
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--dark-bg);
    border-radius: 0.75rem;
    overflow: hidden;
}

.matrix-table thead {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
}

.matrix-table th {
    padding: 1rem;
    text-align: left;
    color: var(--white);
    font-weight: 600;
}

.matrix-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--dark-tertiary);
    color: var(--text-light);
}

.matrix-table tr:hover {
    background: var(--dark-secondary);
}

.highlight-col {
    background: rgba(99, 102, 241, 0.1);
}

.rating {
    font-size: 1.25rem;
    letter-spacing: 0.1em;
}

.rating-high {
    color: var(--success);
}

.rating-medium {
    color: var(--warning);
}

.rating-low {
    color: var(--text-light);
}

/* ============================================
   11. PROPOSITION SECTION
   ============================================ */
.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.value-prop-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.value-prop-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.prop-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.prop-icon i {
    font-size: 2rem;
    color: var(--white);
}

.value-prop-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.value-prop-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.value-prop-card ul {
    list-style: none;
    padding-left: 0;
}

.value-prop-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.value-prop-card ul li::before {
    content: '⚡';
    position: absolute;
    left: 0;
}

/* Accelerators */
.accelerators-section {
    margin-top: 4rem;
}

.accelerators-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.accelerator-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.accelerator-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.accelerator-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.accelerator-card.featured {
    border: 3px solid var(--primary-purple);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}

.accelerator-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    padding: 2rem;
    color: var(--white);
}

.accelerator-logo {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.accelerator-logo i {
    font-size: 2rem;
}

.accelerator-header h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.partner-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    display: inline-block;
}

.accelerator-content {
    padding: 2rem;
}

.accelerator-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.accelerator-features h5 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.accelerator-features ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.accelerator-features ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.accelerator-features ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
}

.accelerator-features ul li strong {
    color: var(--primary-dark);
}

.accelerator-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-bg);
}

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

.result-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Methodology */
.methodology-section {
    margin-top: 4rem;
}

.methodology-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.methodology-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-base);
    text-align: center;
    transition: var(--transition-base);
}

.methodology-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.method-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.methodology-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.methodology-card p {
    color: var(--text-secondary);
}

/* Metrics */
.metrics-section {
    margin-top: 4rem;
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.metrics-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.metric-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 0.75rem;
    transition: var(--transition-base);
}

.metric-card:hover {
    transform: translateY(-5px);
    background: rgba(99, 102, 241, 0.1);
}

.metric-card i {
    font-size: 2rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.metric-card h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.metric-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ============================================
   12. SCOPE DEFINITION
   ============================================ */
.scope-framework {
    margin-bottom: 3rem;
}

.scope-framework h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.dimension-card {
    background: var(--dark-secondary);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.dimension-card h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dimension-card h4 i {
    color: var(--primary-purple);
}

.dimension-inputs {
    display: grid;
    gap: 1.5rem;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 1rem;
}

.input-group label {
    color: var(--text-light);
    font-weight: 500;
}

.input-group input,
.input-group select {
    padding: 0.75rem;
    border: 2px solid var(--dark-tertiary);
    border-radius: 0.5rem;
    background: var(--dark-bg);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.input-value {
    color: var(--primary-purple);
    font-weight: 600;
    min-width: 80px;
}

.checkbox-group {
    display: grid;
    gap: 1rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: var(--transition-fast);
}

.checkbox-group label:hover {
    background: rgba(99, 102, 241, 0.1);
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Scope Recommendations */
.scope-recommendations {
    background: var(--dark-secondary);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 3rem;
}

.scope-recommendations h3 {
    color: var(--white);
    text-align: center;
    margin-bottom: 1.5rem;
}

.btn-primary {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 2rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    color: var(--white);
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary i {
    margin-right: 0.5rem;
}

.scope-results {
    margin-top: 2rem;
}

.result-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: var(--dark-bg);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.summary-card h4 {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-estimate,
.investment-estimate,
.approach-type {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.strategy-mix div {
    margin: 0.5rem 0;
    color: var(--text-light);
}

.recommendation-details {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.detail-section {
    background: var(--dark-bg);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.detail-section h4 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

/* Brainstorming Canvas */
.brainstorm-canvas {
    background: var(--dark-secondary);
    border-radius: 1rem;
    padding: 2rem;
}

.brainstorm-canvas h3 {
    color: var(--white);
    text-align: center;
    margin-bottom: 1rem;
}

.brainstorm-canvas > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.canvas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.canvas-card {
    background: var(--dark-bg);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.canvas-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.canvas-card h4 i {
    color: var(--primary-purple);
}

.canvas-card textarea {
    width: 100%;
    min-height: 200px;
    padding: 1rem;
    border: 2px solid var(--dark-tertiary);
    border-radius: 0.5rem;
    background: var(--dark-secondary);
    color: var(--white);
    font-family: inherit;
    font-size: 0.875rem;
    resize: vertical;
}

.canvas-card textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.btn-secondary {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    background: var(--dark-tertiary);
    color: var(--white);
    border: 2px solid var(--primary-purple);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.2);
}

.btn-secondary i {
    margin-right: 0.5rem;
}

/* ============================================
   13. CONSIDERATIONS SECTION
   ============================================ */
.considerations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.consideration-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.consideration-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.consideration-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 2rem 1.5rem;
}

.consideration-icon i {
    font-size: 2rem;
    color: var(--white);
}

.consideration-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 0 2rem 1rem;
}

.consideration-content {
    padding: 0 2rem 2rem;
}

.consideration-content p strong {
    color: var(--primary-dark);
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.consideration-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.consideration-content ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.consideration-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
}

.consideration-content ul li strong {
    display: inline;
}

/* ============================================
   14. NEXT STEPS / CTA SECTION
   ============================================ */
.engagement-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.engagement-phase {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
}

.engagement-phase:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
}

.phase-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    border-radius: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.engagement-phase h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.phase-details p {
    margin-bottom: 1rem;
}

.phase-details p strong {
    color: var(--primary-purple);
}

.phase-details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.phase-details ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.phase-details ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    margin-bottom: 4rem;
}

.cta-section h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-large,
.btn-secondary-large {
    padding: 1.25rem 2.5rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
}

.btn-primary-large {
    background: var(--white);
    color: var(--primary-purple);
}

.btn-primary-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary-large {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary-large:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.btn-primary-large i,
.btn-secondary-large i {
    margin-right: 0.5rem;
}

/* Success Stories */
.success-stories {
    margin-top: 4rem;
}

.success-stories h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.story-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
}

.story-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
}

.story-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.story-header i {
    font-size: 2rem;
    color: var(--primary-purple);
}

.story-header h4 {
    font-size: 1.25rem;
    margin: 0;
}

.story-content {
    padding: 1.5rem;
}

.story-content p {
    margin-bottom: 1rem;
}

.story-content p strong {
    color: var(--primary-purple);
}

.story-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.metric-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* ============================================
   15. FOOTER
   ============================================ */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--dark-tertiary);
}

.footer-section h4 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--primary-purple);
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--primary-purple);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ============================================
   16. BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   17. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .overview-grid,
    .challenges-grid,
    .strategies-grid,
    .vendors-grid,
    .value-props,
    .accelerator-cards,
    .methodology-grid,
    .states-grid,
    .engagement-timeline,
    .stories-grid,
    .considerations-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .input-group {
        grid-template-columns: 1fr;
    }
    
    .canvas-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .accelerator-results,
    .story-results {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   18. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ============================================
   19. UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }
.p-4 { padding: var(--spacing-xl); }

/* ============================================
   20. PRINT STYLES
   ============================================ */
@media print {
    .navbar,
    .back-to-top,
    .nav-toggle {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
    }
}