﻿:root {
    --navy: #0d1b2a;
    --navy-mid: #1a2d42;
    --blue: #1e5fa8;
    --blue-bright: #2979d8;
    --gold: #c9983a;
    --gold-light: #f0bb5c;
    --cream: #f8f4ed;
    --white: #ffffff;
    --gray-100: #f4f6f9;
    --gray-200: #e8ecf2;
    --gray-400: #94a3b8;
    --gray-600: #64748b;
    --gray-800: #1e293b;
    --red-soft: #fff1f0;
    --red-border: #ffccc7;
    --green-soft: #f0faf4;
    --green-border: #b7eb8f;
    --green: #237804;
    --text: #1e293b;
    --text-light: #4a5568;
}

h1 {
    font-size: 34px;
}
h2 {
    font-size: 30px;
}
/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    margin-top: 40px;
    margin-bottom: 20px;
}


h3 {
    font-size: 1.5em;
    margin-top: 35px;
}

p {
    margin-bottom: 18px;
    line-height: 1.8;
}

/* Executive Summary Box */
.executive-summary {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    border-left: 5px solid #0066cc;
    padding: 30px;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .executive-summary h2 {
        margin-top: 0;
        border-bottom: none;
    }

/* Info Boxes */
.info-box {
    background: #f8f9fa;
    border-left: 4px solid #2e75b5;
    padding: 25px;
    margin: 30px 0;
    border-radius: 6px;
}

    .info-box h3 {
        margin-top: 0;
    }



/* Testimonial */
.testimonial {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border-left: 5px solid #ffc107;
    padding: 35px;
    margin: 50px 0;
    border-radius: 8px;
    font-style: italic;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .testimonial::before {
        content: '"';
        font-size: 4em;
        color: rgba(0,0,0,0.1);
        position: absolute;
        top: 10px;
        left: 15px;
        font-family: Georgia, serif;
    }

    .testimonial p {
        position: relative;
        z-index: 1;
    }

.testimonial-author {
    font-weight: 700;
    font-style: normal;
    margin-top: 20px;
    color: #1a5490;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, #1a5490 0%, #2e75b5 100%);
    color: white;
    padding: 60px 40px;
    margin: 60px 0 0 0;
    border-radius: 12px;
    text-align: center;
}

    .cta-section h2 {
        color: white;
        border-bottom: none;
        margin-top: 0;
    }

    .cta-section p {
        font-size: 1.1em;
        margin: 20px auto;
        max-width: 700px;
    }

/* Executive Summary */
.executive-summary {
    background: #f8f9fa;
    padding: 60px 0;
}

    .executive-summary .summary-box {
        background: white;
        padding: 40px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .executive-summary h2 {
        font-size: 1.75rem;
        margin-bottom: 20px;
        color: #667eea;
    }

    .executive-summary p {
        font-size: 1.1rem;
        margin-bottom: 25px;
        line-height: 1.8;
    }

.key-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.result-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #667eea;
}

    .result-card .metric {
        font-size: 2rem;
        font-weight: 700;
        color: #667eea;
        margin-bottom: 5px;
    }

    .result-card .description {
        font-size: 0.95rem;
        color: #666;
    }

/* Main Content Sections */
section {
    padding: 60px 0;
}

    section h2 {
        font-size: 2rem;
        margin-bottom: 25px;
        color: #2d3748;
    }

    section h3 {
        font-size: 1.5rem;
        margin: 30px 0 15px;
        color: #4a5568;
    }

    section p {
        margin-bottom: 20px;
        line-height: 1.8;
        color: #4a5568;
    }

    section ul {
        margin: 20px 0;
        padding-left: 25px;
    }

    section li {
        margin-bottom: 12px;
        line-height: 1.7;
        color: #4a5568;
    }

/* Challenge Section */
.challenge {
    background: white;
}

.problem-list {
    background: #fff5f5;
    border-left: 4px solid #fc8181;
    padding: 25px;
    margin: 25px 0;
    border-radius: 4px;
}

    .problem-list h4 {
        color: #c53030;
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

/* Investigation Section */
.investigation {
    background: #f8f9fa;
}

.root-cause {
    background: white;
    padding: 25px;
    margin: 20px 0;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

    .root-cause h4 {
        color: #667eea;
        margin-bottom: 10px;
        font-size: 1.15rem;
    }

    .root-cause .evidence {
        background: #f7fafc;
        padding: 15px;
        margin-top: 10px;
        border-radius: 4px;
        font-size: 0.95rem;
        font-style: italic;
        color: #718096;
    }

/* Solution Section */
.solution {
    background: white;
}

.phase {
    margin: 40px 0;
    padding-left: 20px;
    border-left: 3px solid #667eea;
}

    .phase h3 {
        color: #667eea;
        margin-top: 0;
    }

.phase-meta {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Results Section */
.results {
    background: #f8f9fa;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.metric-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .metric-card h4 {
        color: #667eea;
        margin-bottom: 10px;
        font-size: 1.1rem;
    }

    .metric-card .stat {
        font-size: 2.5rem;
        font-weight: 700;
        color: #2d3748;
        margin: 10px 0;
    }

/* Testimonial */
/*.testimonial {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
}

    .testimonial blockquote {
        background: rgba(255,255,255,0.1);
        padding: 40px;
        border-radius: 8px;
        font-size: 1.2rem;
        line-height: 1.8;
        border-left: 5px solid rgba(255,255,255,0.5);
        margin: 0;
    }

    .testimonial cite {
        display: block;
        margin-top: 20px;
        font-style: normal;
        font-size: 1rem;
        opacity: 0.9;
    }*/

/* CTA Section */
.cta {
    background: #2d3748;
    color: white;
    padding: 60px 0;
    text-align: center;
}

    .cta h2 {
        color: white;
        margin-bottom: 20px;
    }

    .cta p {
        font-size: 1.15rem;
        margin-bottom: 30px;
        color: #e2e8f0;
    }

.cta-button {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 15px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s;
}

    .cta-button:hover {
        background: #5568d3;
    }

/* Technical Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tech-badge {
    background: #edf2f7;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #4a5568;
    border: 1px solid #cbd5e0;
}

/* Code Blocks */
pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 20px 0;
    font-size: 0.9rem;
}

code {
    font-family: 'Courier New', monospace;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-meta {
        gap: 20px;
    }

    .meta-item .value {
        font-size: 1.25rem;
    }

    section h2 {
        font-size: 1.6rem;
    }
}

.solution-box {
    background: #f0fff4;
    border-left: 4px solid #38a169;
    padding: 20px 25px;
    margin: 20px 0;
    border-radius: 4px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-box {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.content-section:nth-child(even) .info-card {
    background: white;
}

.info-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.info-card h4 {
    color: var(--secondary-color);
    margin-top: 0;
    font-size: 1.1rem;
}

.arch-box {
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 40px;
    font-family: 'DM Mono', monospace;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    line-height: 2;
    overflow-x: auto;
}

.arch-layer {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.layer-1 {
    background: rgba(41, 121, 216, 0.25);
    border-left: 3px solid var(--blue-bright);
}

.layer-2 {
    background: rgba(201, 152, 58, 0.2);
    border-left: 3px solid var(--gold-light);
}

.layer-3 {
    background: rgba(82, 196, 26, 0.18);
    border-left: 3px solid #52c41a;
}

.layer-4 {
    background: rgba(255, 255, 255, 0.06);
    border-left: 3px solid rgba(255,255,255,0.3);
}

.layer-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    opacity: 0.6;
    white-space: nowrap;
}

.arch-arrow {
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 1.2rem;
    line-height: 1;
    margin: 4px 0;
}

/* ── CODE BLOCK ── */
.code-block {
    background: #0d1117;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 32px;
    overflow-x: auto;
    font-family: 'DM Mono', monospace;
    font-size: 0.83rem;
    line-height: 1.8;
    color: #c9d1d9;
}

    .code-block .comment {
        color: #6e7681;
        font-style: italic;
    }

    .code-block .keyword {
        color: #ff7b72;
    }

    .code-block .type {
        color: #79c0ff;
    }

    .code-block .string {
        color: #a5d6ff;
    }

    .code-block .method {
        color: #d2a8ff;
    }

    .code-block .var {
        color: #ffa657;
    }


/* ── RESULTS GRID ── */
.result-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--gray-200);
    border-radius: 14px;
    overflow: hidden;
    margin: 48px 0;
}

.result-cell {
    background: var(--white);
    padding: 36px 24px;
    text-align: center;
}

.result-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--blue);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.result-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.45;
}
/* ── TWO-COL GRID ── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
