/* Workflow AI Specific Styles */

/* Hero Section */
.hero-workflow {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-workflow h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-workflow .subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.hero-quote {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #ffd700;
    padding: 2rem;
    margin: 3rem auto 0;
    max-width: 800px;
    font-style: italic;
    font-size: 1.1rem;
    border-radius: 8px;
}

/* Evolution Narrative */
.evolution {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #667eea;
    top: 0;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 40px;
    position: relative;
    margin: 3rem 0;
    width: 50%;
    flex-direction: column;
}

.timeline-item:nth-child(odd) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 40px;
    padding-right: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    border: 3px solid white;
}

.timeline-item:nth-child(odd)::before {
    left: -6px;
    right: auto;
}

.timeline-period {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    display: inline-block;
}

.timeline-method {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.timeline-description {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Three Attempts */
.three-attempts {
    padding: 80px 0;
}

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

.attempt-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
    position: relative;
    overflow: hidden;
}

.attempt-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.attempt-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.success-rate {
    background: #e8f5e8;
    color: #2d5a2d;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.key-insight {
    background: #fff9c4;
    border-left: 4px solid #ffd700;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 8px;
}

/* Context Problem */
.context-problem {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.solution-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.solution-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

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

.solution-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.solution-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.benefit-note {
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
    margin-top: 2rem;
    font-style: italic;
}

/* Multiple Developers */
.multiple-developers {
    padding: 80px 0;
}

.strategies {
    margin: 3rem 0;
}

.strategy-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.strategy-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.analogy-box {
    background: #f0f4f8;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    margin-top: 2rem;
}

/* Review Process */
.review-process {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.review-step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.review-step h3 {
    margin-top: 1rem;
    color: #333;
}

.takeaway {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #667eea;
    margin-top: 3rem;
    text-align: center;
}

/* Tools Comparison */
.tools-comparison {
    padding: 80px 0;
}

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

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-top: 4px solid #667eea;
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.best-for, .cost, .strength {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

/* CTA Section */
.cta-workflow {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-workflow h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

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

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #ffd700;
    color: #333;
}

.btn-primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-workflow h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-item::before {
        left: 14px;
        right: auto;
    }
    
    .attempts-grid,
    .solutions-grid,
    .review-steps,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* Additional Components */
.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
}

.challenge {
    font-size: 1.1rem;
    color: #e74c3c;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
}

.current-state {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.future-potential {
    background: #e8f5e8;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #28a745;
}

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

.cost-card, .roi-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.cost-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.cost-context {
    color: #666;
    font-size: 1rem;
}

.roi-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.roi-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.cost-advice {
    background: #fff9c4;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ffd700;
    margin-top: 2rem;
    font-style: italic;
}

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

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.issue {
    color: #e74c3c;
    font-weight: 600;
    margin: 1rem 0;
}

.solution {
    color: #28a745;
    font-weight: 600;
    margin: 1rem 0;
}

.adoption-steps {
    margin: 3rem 0;
}

.adoption-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.adoption-step .step-number {
    background: #667eea;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.future-vision {
    background: #e8f5e8;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #28a745;
    margin-top: 2rem;
    font-style: italic;
}

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

.phase-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-top: 4px solid #667eea;
}

.phase-meta {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

.time, .output {
    background: #f8f9fa;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

.action-plan, .simple-truth, .final-thought {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.action-plan {
    border-left: 4px solid #667eea;
}

.simple-truth {
    border-left: 4px solid #28a745;
}

.final-thought {
    border-left: 4px solid #ffd700;
}

.benefits-list {
    margin: 2rem 0;
}

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

.benefits-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.benefits-list li::before {
    content: '🚀';
    position: absolute;
    left: 0;
}

.mindset-quote {
    background: #f0f4f8;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    margin-top: 2rem;
    border: 2px solid #667eea;
}

/* Narrative Styles */
.narrative-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.2rem;
    color: #495057;
    line-height: 1.6;
}

.narrative-chapters {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
}

.chapter {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 6px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chapter:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.chapter-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.chapter-header h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 700;
    flex: 1;
    min-width: 250px;
}

.chapter-impact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.chapter-story {
    margin-bottom: 1.5rem;
}

.chapter-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin: 0;
    text-align: justify;
}

.chapter-emotion {
    padding-top: 1.5rem;
    border-top: 2px solid #f1f3f4;
    text-align: center;
}

.chapter-emotion em {
    font-size: 1.05rem;
    color: #667eea;
    font-style: italic;
}

.narrative-conclusion {
    text-align: center;
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.narrative-conclusion blockquote {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #2c3e50;
    font-weight: 600;
    font-style: italic;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border-left: 6px solid #667eea;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin: 0;
    position: relative;
}

.narrative-conclusion blockquote::before {
    content: "\"";
    font-size: 4rem;
    color: rgba(102, 126, 234, 0.3);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: Georgia, serif;
}

.narrative-conclusion blockquote::after {
    content: "\"";
    font-size: 4rem;
    color: rgba(102, 126, 234, 0.3);
    position: absolute;
    bottom: -30px;
    right: 20px;
    font-family: Georgia, serif;
}
