/* TFA Case Study CSS - Dark Theme with TFA Colorado Color Palette */

:root {
    /* TFA Colorado Inspired Colors */
    --tfa-navy: #1a2332;
    --tfa-dark-navy: #0f1419;
    --tfa-orange: #ff6b35;
    --tfa-bright-orange: #ff8c42;
    --tfa-yellow: #ffd23f;
    --tfa-light-blue: #4a90e2;
    
    /* Dark Theme Base */
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #111111;
    --border-color: #1f1f1f;
    --text-white: #ffffff;
    --text-gray: #d1d5db;
    --text-muted: rgba(255, 255, 255, 0.7);
    
    /* TFA Gradients */
    --tfa-gradient: linear-gradient(135deg, var(--tfa-orange), var(--tfa-yellow));
    --tfa-gradient-subtle: linear-gradient(135deg, var(--tfa-navy), var(--tfa-dark-navy));
    --navy-orange-gradient: linear-gradient(135deg, var(--tfa-navy), var(--tfa-orange));
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-glow: 0 0 30px rgba(255, 107, 53, 0.2);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
.tfa-gradient {
    background: var(--tfa-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-fast);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--tfa-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--tfa-orange);
    transform: translateY(-1px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--tfa-gradient);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

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

.btn-secondary:hover {
    background: var(--tfa-orange);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* Hero Section */
.case-hero {
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(26, 35, 50, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--dark-bg) 0%, var(--tfa-dark-navy) 100%);
}

.case-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.case-tag {
    display: inline-block;
    background: rgba(26, 35, 50, 0.8);
    color: var(--tfa-orange);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.case-hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-white);
}

.case-hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.case-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--tfa-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Client Overview */
.client-overview {
    padding: 8rem 0;
    background: var(--card-bg);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.client-facts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.fact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(26, 35, 50, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all var(--transition-fast);
}

.fact-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 53, 0.3);
    background: rgba(26, 35, 50, 0.5);
}

.fact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.fact-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--tfa-orange);
    margin-bottom: 0.25rem;
}

.fact-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.visual-card {
    background: var(--tfa-gradient-subtle);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    box-shadow: var(--shadow-card);
}

.visual-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tfa-logo {
    width: 80px;
    height: 80px;
    background: var(--tfa-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1rem;
}

.visual-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.3;
}

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

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.metric:last-child {
    border-bottom: none;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.metric-value {
    font-size: 0.95rem;
    color: var(--tfa-orange);
    font-weight: 600;
}

/* Challenge & Objective */
.challenge-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--tfa-dark-navy) 100%);
}

.challenge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.challenge-card,
.objective-card {
    background: rgba(17, 17, 17, 0.8);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.challenge-card:hover,
.objective-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-glow);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.challenge-card h3,
.objective-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.challenge-card p,
.objective-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.challenge-list,
.objective-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.challenge-list li,
.objective-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.challenge-list li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.objective-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

/* Approach Timeline */
.approach-section {
    padding: 8rem 0;
    background: var(--card-bg);
}

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

.approach-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--tfa-gradient);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 5rem;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--tfa-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 0 0 4px var(--card-bg);
}

.timeline-content {
    background: rgba(26, 35, 50, 0.3);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all var(--transition-fast);
}

.timeline-content:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 107, 53, 0.4);
    background: rgba(26, 35, 50, 0.5);
}

.timeline-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--tfa-orange);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.timeline-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-tag {
    background: rgba(255, 107, 53, 0.1);
    color: var(--tfa-orange);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

/* Results */
.results-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--tfa-dark-navy) 100%);
}

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

.result-card {
    background: rgba(17, 17, 17, 0.8);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

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

.result-card.primary {
    border-color: rgba(255, 107, 53, 0.3);
}

.result-card.secondary {
    border-color: rgba(74, 144, 226, 0.3);
}

.result-card.tertiary {
    border-color: rgba(255, 210, 63, 0.3);
}

.result-card.quaternary {
    border-color: rgba(26, 35, 50, 0.5);
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.result-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.result-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.result-metric {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tfa-orange);
    padding: 0.75rem 1.5rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    display: inline-block;
}

/* Conclusion */
.conclusion-section {
    padding: 8rem 0;
    background: var(--card-bg);
}

.conclusion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.conclusion-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.conclusion-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.feature-icon {
    font-size: 1.2rem;
}

.cta-card {
    background: var(--tfa-gradient-subtle);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.2);
    box-shadow: var(--shadow-card);
}

.cta-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--tfa-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--tfa-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .case-hero-title {
        font-size: 2.5rem;
    }

    .case-hero-subtitle {
        font-size: 1.1rem;
    }

    .case-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .overview-grid,
    .challenge-grid,
    .conclusion-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .approach-timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 3rem;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-content {
        padding: 2rem;
    }

    .conclusion-features {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-actions {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .case-hero-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .visual-card,
    .cta-card {
        padding: 2rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}