/* BAPARI TECH — About Section, 3D Metric Stack & Config Block */

/* ==========================================
   ABOUT — 3D STACKED METRICS & CODE TERMINAL
   ========================================== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-tag,
.about-content .section-title {
    text-align: left;
}

.about-text {
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.highlight:hover {
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.highlight strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.highlight span {
    font-size: 0.82rem;
    color: var(--text-tertiary);
}

/* About 3D Card Stack */
.about-3d-stage {
    perspective: 1200px;
}

.about-card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform-style: preserve-3d;
    transform: rotateY(-8deg) rotateX(3deg);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-3d-stage:hover .about-card-stack {
    transform: rotateY(-2deg) rotateX(1deg);
}

.about-metric-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    box-shadow: var(--shadow-md);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color var(--transition-fast);
}

.about-card-stack .layer-1 { transform: translateZ(16px); }
.about-card-stack .layer-2 { transform: translateZ(28px); }
.about-card-stack .layer-3 { transform: translateZ(20px); }
.about-card-stack .layer-4 { transform: translateZ(38px); }

.about-metric-card:hover {
    transform: translateZ(42px) translateX(6px);
    border-color: rgba(34, 211, 238, 0.4);
}

.metric-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.metric-icon.purple {
    background: rgba(168, 85, 247, 0.14);
    color: var(--accent);
}

.metric-icon.blue {
    background: rgba(6, 182, 212, 0.14);
    color: var(--primary);
}

.metric-icon.green {
    background: rgba(16, 185, 129, 0.14);
    color: var(--success);
}

.metric-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
}

.metric-label {
    font-size: 0.82rem;
    color: var(--text-tertiary);
}

/* Code Block */
.about-code-block {
    background: #0a1022;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.24);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 34px rgba(34, 211, 238, 0.1);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(5, 8, 20, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dot.red { background: #ef4444; }
.code-dot.yellow { background: #f59e0b; }
.code-dot.green { background: #10b981; }

.code-filename {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #94a3b8;
    margin-left: auto;
}

.code-content {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.8;
    color: #e2e8f0;
    overflow-x: auto;
}

.code-key { color: #67e8f9; }
.code-string { color: #34d399; }
.code-value { color: #fbbf24; }

