/* ========================================
   HOW WE WORK PAGE STYLES
   ======================================== */

/* Page Hero */
.page-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-white) 100%);
    text-align: center;
}

.page-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-lead {
    font-size: 1.25rem;
    color: #333333;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.hero-stats-inline {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-inline {
    text-align: center;
}

.stat-inline strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-inline span {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-weight: 600;
}

/* Problem Solve Section */
.problem-solve {
    padding: 6rem 0;
    background: var(--bg-white);
}

.two-column-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
}

.content-text h2 {
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.15rem;
    color: #333333;
    margin-bottom: 1.25rem;
}

.check-list-dark {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.check-list-dark li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: #333333;
}

.check-list-dark i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.emphasis-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 2rem;
}

.content-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visual-card {
    background: var(--tertiary);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--secondary);
    transition: all var(--transition-base);
}

.visual-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.visual-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.visual-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.visual-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* System Phases Section */
.system-phases {
    padding: 7rem 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-cream) 50%, var(--bg-white) 100%);
}

.phase-detailed {
    background: var(--bg-white);
    border: 2px solid var(--secondary);
    border-radius: 24px;
    padding: 3.5rem;
    margin-bottom: 3rem;
    transition: all var(--transition-base);
}

.phase-detailed:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.phase-detailed.milestone-phase {
    border: 3px solid var(--primary);
    background: linear-gradient(135deg, rgba(209, 115, 85, 0.03) 0%, var(--bg-white) 100%);
    position: relative;
}

.phase-milestone-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: #27ae60;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
}

.phase-milestone-badge.revenue-badge {
    background: #f39c12;
}

.phase-header-detailed {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--secondary);
}

.phase-number-large {
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.phase-title-section h3 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.phase-tagline {
    font-size: 1.15rem;
    color: var(--text-tertiary);
    margin: 0;
}

.phase-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.phase-col h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.phase-col h4 i {
    color: var(--primary);
    font-size: 1.5rem;
}

.deliverables-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.deliverables-list li {
    padding: 0.85rem 0 0.85rem 2rem;
    border-bottom: 1px solid var(--secondary);
    color: #333333;
    font-size: 1rem;
    position: relative;
}

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

.deliverables-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 900;
    font-size: 1.25rem;
}

.phase-col p {
    margin-bottom: 0.75rem;
    color: #333333;
    line-height: 1.7;
}

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

.phase-outcome {
    background: var(--tertiary);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary);
}

.phase-outcome strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.milestone-outcome {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1) 0%, var(--tertiary) 100%);
    border-left-color: #27ae60;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.milestone-outcome i {
    color: #f39c12;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Final Result Banner */
.final-result-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 4rem;
    border-radius: 24px;
    margin-top: 3rem;
    box-shadow: var(--shadow-xl);
}

.result-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.result-content h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.result-content h3 i {
    color: #ffd700;
    font-size: 2.5rem;
}

.result-text {
    color: white;
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.result-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.result-stat i {
    font-size: 2rem;
    color: #ffd700;
}

.result-stat span {
    font-size: 1rem;
    font-weight: 600;
}

/* Success Stories */
.success-stories {
    padding: 7rem 0;
    background: var(--tertiary);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.story-card {
    background: var(--bg-white);
    border: 2px solid var(--secondary);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-base);
    position: relative;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.story-phase {
    position: absolute;
    top: -12px;
    left: 2rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.story-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    margin-top: 1rem;
}

.story-text {
    font-size: 1.05rem;
    color: #333333;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.story-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--secondary);
}

.story-author strong {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.story-author span {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.story-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.metric {
    background: var(--tertiary);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

.metric strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.metric span {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* CTA Section */
.cta-section {
    padding: 7rem 0;
    background: var(--bg-white);
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, var(--tertiary) 0%, var(--bg-white) 100%);
    padding: 4rem 3rem;
    border-radius: 24px;
    border: 2px solid var(--secondary);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-box > p {
    font-size: 1.15rem;
    color: #333333;
    margin-bottom: 2.5rem;
}

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

.cta-note {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    margin-top: 1.5rem;
}

.cta-note i {
    color: var(--primary);
}

/* Phase Mini CTAs */
.phase-mini-cta {
    max-width: 700px;
    margin: 3rem auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(209, 115, 85, 0.05) 0%, var(--bg-white) 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 2px dashed var(--primary-light);
}

.phase-mini-cta.milestone-cta {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.08) 0%, var(--bg-white) 100%);
    border-color: #27ae60;
    border-style: solid;
    box-shadow: var(--shadow-md);
}

.mini-cta-text {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.mini-cta-text i {
    color: var(--primary);
    font-size: 1.35rem;
}

.milestone-cta .mini-cta-text i {
    color: #f39c12;
}

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

/* Sticky Floating CTA Bar */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    gap: 2rem;
}

.sticky-cta-text {
    flex: 1;
}

.sticky-cta-text h4 {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.sticky-cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

.sticky-cta-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.sticky-cta-actions .btn {
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    white-space: nowrap;
}

.sticky-cta-actions .btn-primary {
    background: white;
    color: var(--primary) !important;
}

.sticky-cta-actions .btn-primary:hover {
    background: var(--tertiary);
    color: var(--primary-dark) !important;
}

.sticky-cta-actions .btn-secondary {
    background: transparent;
    color: white !important;
    border-color: white;
}

.sticky-cta-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.sticky-cta-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.sticky-cta-close:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 968px) {
    .two-column-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .phase-header-detailed {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .phase-number-large {
        font-size: 4rem;
    }
    
    .phase-body {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .result-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 400px;
    }
    
    .mini-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mini-cta-buttons .btn {
        width: 100%;
        max-width: 350px;
    }
    
    .sticky-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .sticky-cta-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .sticky-cta-actions .btn {
        width: 100%;
    }
}

@media (max-width: 568px) {
    .hero-stats-inline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .result-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .phase-detailed {
        padding: 2rem 1.5rem;
    }
    
    .final-result-banner {
        padding: 2.5rem 2rem;
    }
}
