/* Value Calculation Page Styles */

.value-calculation-main {
    min-height: 100vh;
    background: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 100%);
    padding-top: 80px;
}

/* Hero Section */
.value-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    padding: 6rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #a0a0b8;
    margin-bottom: 1rem;
}

.hero-intro {
    font-size: 1.1rem;
    color: #c0c0d0;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #a0a0b8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Decomposition Flow */
.decomposition-section {
    background: rgba(99, 102, 241, 0.05);
}

.decomposition-flow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.flow-step:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateX(10px);
}

.step-icon {
    font-size: 3rem;
    min-width: 80px;
    text-align: center;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 1rem;
    color: #c0c0d0;
    line-height: 1.6;
}

.step-arrow {
    font-size: 2rem;
    color: #6366f1;
    font-weight: bold;
}

/* Formula Section */
.formula-section {
    background: rgba(139, 92, 246, 0.05);
}

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

.formula-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.formula-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-5px);
}

.formula-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.formula-icon {
    font-size: 2.5rem;
}

.formula-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

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

.formula-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #6366f1;
}

.formula-code {
    font-size: 1rem;
    color: #a0d8ff;
    line-height: 1.8;
    display: block;
    font-family: 'Courier New', monospace;
}

.formula-example {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    padding: 1rem;
}

.formula-example strong {
    color: #ffffff;
    display: block;
    margin-bottom: 0.5rem;
}

.formula-example p {
    color: #c0c0d0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Value Chain Diagram */
.value-chain-section {
    background: rgba(236, 72, 153, 0.05);
}

.value-chain-diagram {
    max-width: 1000px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.chain-level {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.chain-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    min-width: 200px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.chain-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 102, 241, 0.6);
    transform: scale(1.05);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.card-meta {
    font-size: 0.85rem;
    color: #a0a0b8;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.chain-arrow {
    font-size: 2.5rem;
    color: #6366f1;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Traceability Section */
.traceability-section {
    background: rgba(99, 102, 241, 0.05);
}

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

.traceability-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.traceability-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-5px);
}

.trace-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.traceability-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.traceability-card p {
    font-size: 0.95rem;
    color: #c0c0d0;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.value-footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.value-footer p {
    color: #a0a0b8;
    margin: 0;
}

/* Strategy Decomposition Section */
.strategy-decomposition-section {
    background: rgba(99, 102, 241, 0.05);
}

.decomposition-details {
    max-width: 1000px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.decomposition-layer {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.decomposition-layer:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateX(5px);
}

.layer-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.layer-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #6366f1;
    min-width: 60px;
    text-align: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
}

.layer-content {
    flex: 1;
}

.layer-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.layer-content p {
    font-size: 1rem;
    color: #c0c0d0;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.layer-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.layer-content li {
    font-size: 0.95rem;
    color: #c0c0d0;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.layer-content li strong {
    color: #ffffff;
}

.sub-layer {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border-left: 4px solid #8b5cf6;
}

.sub-layer h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.formula-box-inline {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid #6366f1;
    margin: 1rem 0;
}

.formula-box-inline strong {
    color: #ffffff;
    display: block;
    margin-bottom: 0.5rem;
}

.formula-box-inline code {
    font-size: 0.95rem;
    color: #a0d8ff;
    line-height: 1.8;
    display: block;
    font-family: 'Courier New', monospace;
}

.formula-note {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border-left: 4px solid #6366f1;
}

.example-text {
    font-size: 0.9rem;
    color: #a0a0b8;
    font-style: italic;
    margin-top: 0.5rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(99, 102, 241, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-intro {
        font-size: 1rem;
    }

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

    .flow-step {
        flex-direction: column;
        text-align: center;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

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

    .chain-level {
        flex-direction: column;
        align-items: center;
    }

    .chain-card {
        width: 100%;
        max-width: 300px;
    }

    .traceability-content {
        grid-template-columns: 1fr;
    }

    .layer-header {
        flex-direction: column;
        gap: 1rem;
    }

    .layer-number {
        align-self: flex-start;
    }

    .sub-layer {
        padding: 1rem;
    }
}

