/* =================================================================
   About — Next-Gen 2026 Architect Portfolio
   Glassmorphism, 3D Tilt Cards, Architecture Timeline, Tech Matrix
   ================================================================= */

.page-header {
    padding-top: calc(var(--space-xl) + 60px);
    padding-bottom: var(--space-md);
    position: relative;
    overflow: hidden;
}

.about-head-inner { 
    max-width: 820px; 
    position: relative;
    z-index: 2;
}

/* Ambient glow blobs */
.about-ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
    opacity: 0.16;
    z-index: 0;
}

.about-ambient-orange {
    top: -10%;
    right: 5%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.about-ambient-cyan {
    top: 30%;
    left: -10%;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
}

/* ---- Intro: text + photo ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.about-terminal-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-primary);
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.4rem;
    letter-spacing: 0.02em;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    flex-wrap: wrap;
}

[data-theme="light"] .about-terminal-tag {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(var(--accent-rgb), 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.about-terminal-tag .term-prompt {
    color: var(--accent);
    font-weight: 700;
}

.about-terminal-tag .term-flag {
    color: var(--text-secondary);
    font-size: 0.76rem;
}

.about-terminal-tag .term-stat-highlight {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.74rem;
}

.about-terminal-tag .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    flex-shrink: 0;
}

/* Live Telemetry Ticker */
.about-live-telemetry {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.8rem;
}

.telemetry-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.95rem;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.telemetry-chip:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.telemetry-chip .t-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.telemetry-chip .t-green { background: #10b981; box-shadow: 0 0 8px #10b981; }
.telemetry-chip .t-cyan { background: #06b6d4; box-shadow: 0 0 8px #06b6d4; }
.telemetry-chip .t-orange { background: #fa4616; box-shadow: 0 0 8px #fa4616; }
.telemetry-chip .t-purple { background: #a855f7; box-shadow: 0 0 8px #a855f7; }

.telemetry-chip .t-val {
    color: var(--text-primary);
    font-weight: 700;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.lead-highlight {
    font-size: 1.12rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
}

/* Photo card with 3D Tilt */
.about-photo-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-photo-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-strong);
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.about-photo-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 4px);
    border: 1px solid var(--border);
    display: block;
}

/* Floating chips on photo */
.photo-floating-badge {
    position: absolute;
    z-index: 3;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    padding: 0.6rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.35);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease;
}

.photo-floating-badge:hover {
    transform: scale(1.05);
}

.badge-top-right {
    top: 1.5rem;
    right: -1rem;
    border-color: rgba(16, 185, 129, 0.4);
}

.badge-bottom-left {
    bottom: 2.5rem;
    left: -1rem;
    border-color: rgba(var(--accent-rgb), 0.4);
}

.about-badges-row {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.2rem;
    width: 100%;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.75rem 1.15rem;
    border-radius: 10px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-soft);
    transition: all 0.25s ease;
}

.stat-badge:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.stat-badge svg { color: var(--accent); }
.stat-badge strong { color: var(--accent); font-weight: 700; }

/* ---- Timeline: Career Evolution ---- */
.timeline-section {
    position: relative;
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.timeline-track {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
    padding-left: 2rem;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 7px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(var(--accent-rgb), 0.2) 70%, transparent 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-node {
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent);
    box-shadow: 0 0 12px var(--accent);
    z-index: 2;
}

.timeline-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.8rem 2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.timeline-card:hover {
    border-color: rgba(var(--accent-rgb), 0.4);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    transform: translateX(6px);
}

.timeline-period {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    display: inline-block;
}

.timeline-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.7rem;
}

.timeline-desc {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    color: var(--text-secondary);
}

/* ---- 4-Pillar Enterprise Tech Matrix ---- */
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.matrix-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.matrix-card:hover {
    border-color: rgba(var(--accent-rgb), 0.4);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.matrix-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.matrix-card:hover::after {
    opacity: 1;
}

.matrix-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.matrix-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.matrix-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

/* ---- Principles grid ---- */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.principle {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.principle:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--accent-rgb), 0.4);
    box-shadow: 0 16px 32px rgba(0,0,0,0.2);
}

.principle .p-idx {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    font-weight: 700;
}

.principle .p-ico {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    color: var(--accent);
    margin: 0.8rem 0 1.2rem;
}

.principle h3 { font-size: 1.22rem; margin-bottom: 0.6rem; }
.principle p { font-size: 0.98rem; line-height: 1.7; margin: 0; }

/* ---- Countries Reach ---- */
.country-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.country-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 0.7rem 1.15rem;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.country-pill:hover { 
    border-color: var(--accent); 
    color: var(--accent); 
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.country-pill .dot { 
    width: 7px; 
    height: 7px; 
    border-radius: 50%; 
    background: var(--accent); 
    box-shadow: 0 0 10px var(--accent); 
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: var(--space-md); }
    .about-photo-wrapper { order: -1; margin-bottom: 1rem; }
    .badge-top-right { right: 0; }
    .badge-bottom-left { left: 0; }
    .principles-grid { grid-template-columns: 1fr; }
    .timeline-track { padding-left: 1.5rem; }
}

/* =================================================================
   ABOUT — LIGHT MODE ENHANCEMENTS
   ================================================================= */
[data-theme="light"] .about-photo-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .stat-badge {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .telemetry-chip {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .photo-floating-badge {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .timeline-section {
    background: #ffffff;
}

[data-theme="light"] .timeline-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 25px -4px rgba(15, 23, 42, 0.06);
}


