/* Scenario Canvas Page Styles */

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

/* Hero Section */
.canvas-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    padding: 4rem 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: #a0a0a0;
    margin-bottom: 0.5rem;
}

.hero-version {
    font-size: 1rem;
    color: #6366f1;
    font-weight: 600;
}

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

/* Intro Section */
.intro-section {
    padding: 4rem 0;
    background: rgba(99, 102, 241, 0.05);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #c0c0c0;
    max-width: 900px;
    margin: 0 auto 1rem;
    text-align: center;
}

/* Canvas Section */
.canvas-section {
    padding: 4rem 0;
}

.canvas-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 1400px;
    margin: 0 auto;
}

/* Canvas Header */
.canvas-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 1rem;
}

.canvas-title-area {
    text-align: center;
    margin-bottom: 1rem;
}

.canvas-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.canvas-main-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 0.5rem 0;
}

.canvas-copyright {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.5rem;
}

.canvas-scenario-name {
    text-align: center;
    margin-top: 1rem;
}

.canvas-scenario-name label {
    font-size: 0.9rem;
    color: #666;
    margin-right: 0.5rem;
}

.scenario-name-input {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    min-width: 300px;
}

/* Canvas Grid */
.canvas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

/* Canvas Columns */
.canvas-left-column,
.canvas-right-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.canvas-center-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(180deg, #4f46e5 0%, #6366f1 100%);
    padding: 1rem;
    border-radius: 8px;
}

/* Canvas Cells */
.canvas-cell {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    min-height: 200px;
    position: relative;
    transition: all 0.3s ease;
}

.canvas-cell:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.canvas-cell.center-cell {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
    color: #333;
}

.canvas-cell.center-cell .cell-title {
    color: #1e293b;
}

.canvas-cell.center-cell .cell-desc {
    color: #475569;
}

.cell-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.canvas-cell.center-cell .cell-number {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: 2px solid white;
}

.cell-content {
    margin-top: 3rem;
}

.cell-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.cell-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
}

/* Method Section */
.method-section {
    padding: 4rem 0;
    background: rgba(139, 92, 246, 0.05);
}

.usage-steps {
    margin-top: 3rem;
}

.steps-title {
    font-size: 2rem;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 2rem;
    text-align: center;
}

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

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

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

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #c0c0c0;
    margin: 0;
    flex: 1;
}

/* Case Section */
.case-section {
    padding: 4rem 0;
    background: rgba(99, 102, 241, 0.05);
}

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

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

.case-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.case-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 1.5rem;
}

.case-content {
    color: #c0c0c0;
    line-height: 1.8;
}

.case-content p {
    margin-bottom: 1rem;
}

.case-content strong {
    color: #8b5cf6;
    font-weight: 600;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .canvas-grid {
        grid-template-columns: 1fr;
    }
    
    .canvas-center-column {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .canvas-wrapper {
        padding: 1rem;
    }
    
    .canvas-grid {
        gap: 0.75rem;
    }
    
    .canvas-cell {
        min-height: 180px;
        padding: 1rem;
    }
    
    .cell-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .cell-content {
        margin-top: 2.5rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .case-examples {
        grid-template-columns: 1fr;
    }
    
    .scenario-name-input {
        min-width: 100%;
        margin-top: 0.5rem;
    }
}

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

