﻿/* ═══════════════════════════════════════
   AI PYRAMID (pages/pyramid.html)
   Ken.AI Personal Website
   ═══════════════════════════════════════ */

/* Large Pyramid Visual block */
.pyramid-flow-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pl-node {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 60px;
    background: var(--bg-card);
    border: 1px solid var(--metal-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    cursor: default;
}

.pl-node:hover {
    transform: translateY(-2px);
    border-color: var(--metal-accent);
}

.pl-label {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pl-name {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Base colors for layers */
.cl6 {
    border-bottom: 4px solid var(--q1-color, #dc2626);
}

/* Red */
.cl5 {
    border-bottom: 4px solid var(--q2-color, #059669);
}

/* Green */
.cl4 {
    border-bottom: 4px solid #14b8a6;
}

/* Teal */
.cl3 {
    border-bottom: 4px solid var(--q3-color, #d97706);
}

/* Orange */
.cl2 {
    border-bottom: 4px solid #8b5cf6;
}

/* Purple */
.cl1 {
    border-bottom: 4px solid var(--q4-color, #2563eb);
}

/* Blue */

/* Layer widths for the visual block */
.pyramid-flow-large .cl6 {
    width: 40%;
    max-width: 400px;
}

.pyramid-flow-large .cl5 {
    width: 50%;
    max-width: 500px;
}

.pyramid-flow-large .cl4 {
    width: 60%;
    max-width: 600px;
}

.pyramid-flow-large .cl3 {
    width: 70%;
    max-width: 700px;
}

.pyramid-flow-large .cl2 {
    width: 85%;
    max-width: 850px;
}

.pyramid-flow-large .cl1 {
    width: 100%;
    max-width: 1000px;
}


/* Detail Cards Stack */
.pyramid-stack-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.p-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.p-detail-card:hover {
    border-color: var(--border-accent);
}

.pd-header {
    padding: 24px 32px 16px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--metal-border);
}

.pd-layer {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.pd-header h3 {
    font-size: 20px;
    margin-bottom: 6px;
    font-weight: 700;
}

.pd-metaphor {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

.pd-body {
    padding: 24px 32px;
}

.pd-body p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.pd-body p:last-child {
    margin-bottom: 0;
}

.pd-body ul {
    margin-left: 20px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

.pd-body ul li {
    margin-bottom: 8px;
}

.pd-body strong {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .pyramid-flow-large .pl-node {
        width: 100% !important;
        /* Stack completely on mobile */
    }
}