/* ==============================================
   AEROFIELD ACADEMY — SUB-PAGE STYLES
   Non-scrollable viewport. Left 1 : Right 3 split.
   Left = element tile art + identity.
   Right = scrollable content pane.
   ============================================== */

/* ── Reset & Viewport Lock ──────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    height: 100vh;
    overflow: hidden;
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
}


/* ── Background ─────────────────────────────────────────────────────── */
.akp-bg-void {
    position: fixed; inset: 0; z-index: 0;
    background: radial-gradient(ellipse 120% 80% at 50% 50%, rgba(10,10,15,1) 0%, rgba(6,6,10,1) 100%);
}

.akp-bg-grid {
    position: fixed; inset: 0; z-index: 0;
    opacity: 0.02; pointer-events: none;
    background-image:
        linear-gradient(var(--el-primary, rgba(212,160,74,0.3)) 1px, transparent 1px),
        linear-gradient(90deg, var(--el-primary, rgba(212,160,74,0.3)) 1px, transparent 1px);
    background-size: 80px 80px;
}

.akp-bg-glow {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(ellipse 60% 40% at 25% 50%, var(--el-bg-tint, rgba(139,90,43,0.06)) 0%, transparent 70%);
}

canvas.akp-particles {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
}


/* ── Navbar ──────────────────────────────────────────────────────────── */
.akp-navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--navbar-height);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 clamp(16px, 3vw, 48px);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--el-border, var(--border-subtle));
}

.akp-nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
}

.akp-logo-icon {
    width: 32px; height: 32px; border-radius: 7px;
    background: linear-gradient(135deg, var(--el-primary) 0%, var(--el-primary-dim) 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 12px var(--el-glow, rgba(212,160,74,0.3));
    padding: 6px;
}
.akp-logo-icon svg { width: 20px; height: 20px; }

.akp-logo-text {
    font-family: var(--font-display);
    font-weight: 700; font-size: 15px; letter-spacing: 2px;
    background: linear-gradient(135deg, var(--el-primary) 0%, var(--el-primary-dim) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.akp-nav-center {
    display: flex; flex-direction: column; align-items: center; gap: 1px;
}

.akp-nav-title {
    font-family: var(--font-display);
    font-size: 13px; font-weight: 600; letter-spacing: 3px;
    color: var(--el-primary);
}

.akp-nav-status { display: flex; align-items: center; gap: 6px; }

.akp-status-dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--el-primary);
    box-shadow: 0 0 6px var(--el-primary);
    animation: akpDotPulse 2s ease-in-out infinite;
}

.akp-nav-sub {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 9px; font-weight: 400;
    letter-spacing: 2px; color: var(--text-muted);
}

.akp-nav-controls { display: flex; align-items: center; gap: 8px; }

.akp-btn {
    font-family: var(--font-ui); font-size: 10px; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase;
    text-decoration: none;
    padding: 5px 12px; border-radius: 6px;
    border: 1px solid var(--border-subtle);
    background: transparent; color: var(--text-secondary);
    cursor: pointer; transition: all 0.25s ease;
}

.akp-btn:hover {
    color: var(--el-primary);
    border-color: var(--el-border);
    background: var(--el-bg-tint);
}

.akp-btn--back {
    border-color: var(--el-border);
    color: var(--el-primary-dim);
}


/* ══════════════════════════════════════════════════════════════════════
   MAIN SPLIT LAYOUT — 1:3 (left art : right content)
   ══════════════════════════════════════════════════════════════════════ */
.akp-split {
    position: relative; z-index: 1;
    display: flex;
    height: calc(100vh - var(--navbar-height));
    margin-top: var(--navbar-height);
}


/* ── LEFT PANEL — Element Tile Art ───────────────────────────────────── */
.akp-left {
    flex: 0 0 25%;
    max-width: 25%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: clamp(10px, 1.4vh, 18px) clamp(10px, 1.2vw, 20px);
    border-right: 1px solid var(--el-border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.akp-left-visual {
    position: relative;
    width: clamp(60px, 8vw, 120px);
    aspect-ratio: 1;
    margin-bottom: clamp(6px, 1vh, 12px);
    display: flex; align-items: center; justify-content: center;
}

.akp-left-sanskrit {
    font-family: 'Noto Sans Devanagari', serif;
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 500;
    color: var(--el-primary);
    letter-spacing: 4px;
    text-shadow: 0 0 30px var(--el-glow);
    margin-bottom: 2px;
    line-height: 1.1;
}

.akp-left-name {
    font-family: var(--font-display);
    font-size: clamp(12px, 1.4vw, 20px);
    font-weight: 700; letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.akp-left-layer {
    font-family: var(--font-ui);
    font-size: clamp(8px, 0.8vw, 11px);
    font-weight: 600; letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--el-primary-dim);
    margin-bottom: 6px;
}

.akp-left-sense {
    font-family: 'Noto Sans Devanagari', var(--font-ui);
    font-size: clamp(8px, 0.7vw, 11px);
    font-weight: 400; letter-spacing: 2px;
    color: var(--text-muted);
    padding: 4px 14px;
    border: 1px solid var(--el-border);
    border-radius: var(--radius-pill);
    display: inline-block;
}

.akp-left-desc {
    font-family: var(--font-body);
    font-size: clamp(9px, 0.7vw, 11px);
    font-weight: 300; line-height: 1.5;
    color: var(--text-muted);
    margin-top: 6px;
    max-width: 90%;
}


/* ── RIGHT PANEL — Content (internal scroll) ─────────────────────────── */
.akp-right {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: clamp(14px, 2.5vh, 28px) clamp(16px, 3vw, 48px);
    scrollbar-width: thin;
    scrollbar-color: var(--el-border) transparent;
}

.akp-right::-webkit-scrollbar { width: 4px; }
.akp-right::-webkit-scrollbar-track { background: transparent; }
.akp-right::-webkit-scrollbar-thumb {
    background: var(--el-border);
    border-radius: 4px;
}
.akp-right::-webkit-scrollbar-thumb:hover {
    background: var(--el-primary-dim);
}


/* ── Section Blocks ──────────────────────────────────────────────────── */
.akp-section {
    margin-bottom: clamp(16px, 2vh, 28px);
}

.akp-section-label {
    font-family: var(--font-ui);
    font-size: clamp(8px, 0.65vw, 10px);
    font-weight: 600; letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--el-primary-dim);
    margin-bottom: 4px;
}

.akp-section-title {
    font-family: var(--font-display);
    font-size: clamp(13px, 1.4vw, 20px);
    font-weight: 600; letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.akp-section-text {
    font-family: var(--font-body);
    font-size: clamp(9px, 0.72vw, 12px);
    font-weight: 300; line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.akp-section-text strong {
    font-weight: 600;
    color: var(--el-primary);
}

.akp-divider {
    width: 40px; height: 1px;
    background: linear-gradient(90deg, var(--el-primary), transparent);
    margin: clamp(12px, 1.5vh, 20px) 0;
    border: none;
}


/* ── Info Tiles Grid ─────────────────────────────────────────────────── */
.akp-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.akp-tile {
    border: 1px solid var(--el-border);
    border-radius: var(--radius);
    background: rgba(16,16,24,0.5);
    padding: clamp(8px, 1vw, 14px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.akp-tile:hover {
    transform: translateY(-1px);
    border-color: var(--el-primary-dim);
    box-shadow: 0 2px 20px var(--el-glow);
}

.akp-tile-icon {
    font-size: 16px;
    margin-bottom: 4px;
    filter: drop-shadow(0 0 6px var(--el-glow));
    color: var(--el-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.akp-tile-title {
    font-family: var(--font-display);
    font-size: clamp(9px, 0.8vw, 12px);
    font-weight: 600; letter-spacing: 1.5px;
    color: var(--el-primary);
    margin-bottom: 3px;
}

.akp-tile-desc {
    font-family: var(--font-body);
    font-size: clamp(8px, 0.6vw, 10px);
    font-weight: 300; line-height: 1.5;
    color: var(--text-muted);
}


/* ── Quote Block ─────────────────────────────────────────────────────── */
.akp-quote {
    border-left: 2px solid var(--el-primary-dim);
    padding: 10px 14px;
    background: var(--el-bg-tint);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 12px 0;
}

.akp-quote-text {
    font-family: 'Noto Sans Devanagari', serif;
    font-size: clamp(11px, 1vw, 15px);
    font-weight: 400; letter-spacing: 1px;
    color: var(--el-primary);
    line-height: 1.5;
    margin-bottom: 4px;
}

.akp-quote-src {
    font-family: var(--font-ui);
    font-size: 8px; font-weight: 500;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-muted);
}


/* ── Tattva Classification Grid ───────────────────────────────────────── */
.akp-tattva {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 10px 0;
}

.akp-tattva-item {
    border: 1px solid var(--el-border);
    border-radius: 6px;
    padding: 7px 8px;
    background: rgba(16,16,24,0.4);
    text-align: center;
    transition: border-color 0.3s ease;
}

.akp-tattva-item:hover {
    border-color: var(--el-primary-dim);
}

.akp-tattva-label {
    font-family: var(--font-ui);
    font-size: clamp(6px, 0.5vw, 8px);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.akp-tattva-value {
    font-family: 'Noto Sans Devanagari', var(--font-display);
    font-size: clamp(8px, 0.75vw, 11px);
    font-weight: 500;
    color: var(--el-primary);
    letter-spacing: 1px;
}


/* ── Mantra / Bija Block ─────────────────────────────────────────────── */
.akp-mantra {
    text-align: center;
    padding: 12px 14px;
    margin: 12px 0;
    border: 1px solid var(--el-border);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--el-bg-tint) 0%, transparent 100%);
}

.akp-mantra-bija {
    font-family: 'Noto Sans Devanagari', serif;
    font-size: clamp(20px, 2.2vw, 32px);
    color: var(--el-primary);
    text-shadow: 0 0 20px var(--el-glow);
    line-height: 1;
    margin-bottom: 3px;
}

.akp-mantra-name {
    font-family: var(--font-ui);
    font-size: clamp(6px, 0.55vw, 8px);
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
}


/* ── Insight / Dharma Box ────────────────────────────────────────────── */
.akp-insight {
    border-left: 2px solid var(--el-primary);
    padding: 10px 14px;
    margin: 12px 0;
    background: linear-gradient(90deg, var(--el-bg-tint), transparent 80%);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.akp-insight-text {
    font-family: var(--font-body);
    font-size: clamp(9px, 0.72vw, 12px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-secondary);
}

.akp-insight-text strong {
    font-weight: 700;
    color: var(--el-primary);
    font-style: normal;
}


/* ── Prana / Mapping List ────────────────────────────────────────────── */
.akp-map-list {
    list-style: none;
    margin: 8px 0;
    padding: 0;
}

.akp-map-list li {
    font-family: var(--font-body);
    font-size: clamp(8px, 0.65vw, 10px);
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-secondary);
    padding: 3px 0 3px 14px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.akp-map-list li::before {
    content: '·';
    position: absolute;
    left: 4px;
    color: var(--el-primary);
    font-weight: 700;
}

.akp-map-list li strong {
    font-weight: 600;
    color: var(--el-primary);
}


/* ── Footer (inside right panel) ─────────────────────────────────────── */
.akp-footer {
    border-top: 1px solid var(--el-border);
    padding: 10px 0;
    margin-top: 12px;
    text-align: center;
}

.akp-footer-text {
    font-family: var(--font-ui);
    font-size: 9px; font-weight: 500;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-muted);
}

.akp-footer-text a {
    color: var(--el-primary-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.akp-footer-text a:hover {
    color: var(--el-primary);
}


/* ── Animations ──────────────────────────────────────────────────────── */
@keyframes akpDotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--el-primary); }
    50%      { opacity: 0.4; box-shadow: 0 0 2px var(--el-primary); }
}

@keyframes akpFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

@keyframes akpFadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.akp-fade-in { animation: akpFadeInUp 0.6s ease-out both; }
.akp-fade-in-d1 { animation-delay: 0.08s; }
.akp-fade-in-d2 { animation-delay: 0.16s; }
.akp-fade-in-d3 { animation-delay: 0.24s; }
.akp-fade-in-d4 { animation-delay: 0.32s; }
.akp-fade-in-d5 { animation-delay: 0.40s; }


/* ── Element-specific Hero Visuals ───────────────────────────────────── */

/* -- PRITHVI -- */
.prithvi-hero-block {
    position: absolute;
    background: linear-gradient(135deg, #1a1208 0%, #2a1f10 100%);
    border: 2px solid rgba(139,90,43,0.3);
    box-shadow: 6px 6px 0px #0d0a05, inset 0 1px 0 rgba(139,90,43,0.15);
}
.prithvi-hero-block--1 { width: 60%; height: 30%; bottom: 10%; left: 20%; }
.prithvi-hero-block--2 { width: 48%; height: 25%; bottom: 38%; left: 26%; animation: prHeroSettle 4s ease-in-out infinite; }
.prithvi-hero-block--3 { width: 36%; height: 20%; bottom: 60%; left: 32%; animation: prHeroSettle 4s ease-in-out infinite 0.5s; }
@keyframes prHeroSettle {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(2px); }
}

/* -- KAYA -- */
.kaya-hero-core {
    width: 30%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(220,60,60,0.35) 0%, rgba(220,60,60,0.08) 50%, transparent 70%);
    filter: drop-shadow(0 0 20px rgba(220,60,60,0.4));
    position: absolute;
    animation: kayaHeroPulse 1.8s ease-in-out infinite;
}
.kaya-hero-ring {
    width: 55%; aspect-ratio: 1; border-radius: 50%;
    border: 1.5px solid rgba(220,60,60,0.15);
    position: absolute;
    animation: kayaHeroExpand 2.6s ease-out infinite;
}
.kaya-hero-ring--2 { animation-delay: -1.3s; }
.kaya-hero-ring--3 { width: 75%; animation-delay: -0.6s; border-color: rgba(220,60,60,0.08); }
@keyframes kayaHeroPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; filter: drop-shadow(0 0 20px rgba(220,60,60,0.4)); }
    50%      { transform: scale(1.25); opacity: 1; filter: drop-shadow(0 0 35px rgba(220,60,60,0.6)); }
}
@keyframes kayaHeroExpand {
    0%   { transform: scale(0.4); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* -- APAS -- */
.apas-hero-blob {
    position: absolute; border-radius: 50%;
    background: radial-gradient(ellipse at 30% 30%, rgba(45,212,168,0.2), rgba(45,212,168,0.05) 50%, transparent 70%);
    border: 1px solid rgba(45,212,168,0.15);
    backdrop-filter: blur(15px);
    animation: apHeroBlob 8s ease-in-out infinite;
}
.apas-hero-blob--1 { width: 70%; aspect-ratio: 1; }
.apas-hero-blob--2 { width: 45%; aspect-ratio: 1; top: 10%; right: 5%; animation-delay: -3s; }
.apas-hero-blob--3 { width: 30%; aspect-ratio: 1; bottom: 5%; left: 5%; animation-delay: -6s; }
.apas-hero-ripple {
    position: absolute; width: 80%; aspect-ratio: 1;
    border-radius: 50%; border: 1px solid rgba(45,212,168,0.12);
    animation: apHeroRipple 4s ease-out infinite;
}
@keyframes apHeroBlob {
    0%, 100% { border-radius: 50% 40% 60% 50%; transform: scale(1) rotate(0deg); }
    25%      { border-radius: 40% 60% 50% 45%; transform: scale(1.05) rotate(5deg); }
    50%      { border-radius: 55% 45% 40% 60%; transform: scale(0.95) rotate(-3deg); }
    75%      { border-radius: 45% 55% 55% 40%; transform: scale(1.02) rotate(2deg); }
}
@keyframes apHeroRipple {
    0%   { transform: scale(0.3); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* -- AGNI -- */
.agni-hero-core {
    width: 40%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,140,0,0.6), rgba(255,69,0,0.3) 40%, transparent 70%);
    filter: drop-shadow(0 0 25px rgba(255,69,0,0.6)) drop-shadow(0 0 50px rgba(255,140,0,0.3));
    animation: agHeroPulse 2s ease-in-out infinite;
    position: absolute;
}
.agni-hero-flame {
    position: absolute; width: 25%; height: 45%;
    background: linear-gradient(0deg, rgba(255,69,0,0.4) 0%, rgba(255,200,0,0.15) 60%, transparent 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    bottom: 45%; filter: blur(2px);
    animation: agHeroFlicker 1.5s ease-in-out infinite;
    transform-origin: bottom center;
}
.agni-hero-flame--2 { left: 58%; animation-delay: -0.7s; width: 18%; height: 35%; }
@keyframes agHeroPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.15); filter: drop-shadow(0 0 35px rgba(255,69,0,0.8)) drop-shadow(0 0 70px rgba(255,140,0,0.4)); }
}
@keyframes agHeroFlicker {
    0%, 100% { transform: scaleY(1) scaleX(1) rotate(-2deg); opacity: 0.7; }
    30%      { transform: scaleY(1.2) scaleX(0.9) rotate(1deg); opacity: 1; }
    60%      { transform: scaleY(0.9) scaleX(1.1) rotate(-1deg); opacity: 0.6; }
}

/* -- VAYU -- */
.vayu-hero-svg { width: 100%; height: 100%; position: absolute; }
.vayu-hero-path { stroke-dasharray: 10 8; animation: vyHeroTrace 6s linear infinite; }
.vayu-hero-path--2 { stroke-dasharray: 6 10; animation-duration: 8s; animation-direction: reverse; }
.vayu-hero-path--3 { stroke-dasharray: 14 5; animation-duration: 10s; }
@keyframes vyHeroTrace {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: -120; }
}

/* -- AKASHA -- */
.akasha-hero-void {
    width: 25%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(6,6,12,1), rgba(139,92,246,0.06) 100%);
    box-shadow: 0 0 50px rgba(139,92,246,0.15);
    position: absolute;
}
.akasha-hero-ring {
    position: absolute; width: 50%; aspect-ratio: 1; border-radius: 50%;
    border: 1px solid rgba(139,92,246,0.15);
    animation: akHeroExpand 6s ease-out infinite;
}
.akasha-hero-ring--2 { animation-delay: -2s; }
.akasha-hero-ring--3 { animation-delay: -4s; }
.akasha-hero-om {
    font-family: 'Noto Sans Devanagari', serif;
    font-size: clamp(24px, 3vw, 40px);
    color: rgba(139,92,246,0.3);
    position: absolute;
    animation: akHeroOmPulse 8s ease-in-out infinite;
    user-select: none;
}
@keyframes akHeroExpand {
    0%   { transform: scale(0.3); opacity: 0.7; }
    100% { transform: scale(2.5); opacity: 0; }
}
@keyframes akHeroOmPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.1); }
}

/* -- SHABDA (Sound Waves) -- */
.shabda-hero-core {
    width: 16%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(80,140,255,0.5) 0%, rgba(80,140,255,0.1) 60%, transparent 70%);
    filter: drop-shadow(0 0 15px rgba(80,140,255,0.4));
    position: absolute;
    animation: shabdaPulse 2s ease-in-out infinite;
}
.shabda-hero-wave {
    position: absolute; width: 50%; aspect-ratio: 1; border-radius: 50%;
    border: 1.5px solid rgba(80,140,255,0.18);
    animation: shabdaExpand 3s ease-out infinite;
}
.shabda-hero-wave--2 { animation-delay: -1s; }
.shabda-hero-wave--3 { animation-delay: -2s; border-color: rgba(80,140,255,0.10); }
@keyframes shabdaPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50%      { transform: scale(1.3); opacity: 1; }
}
@keyframes shabdaExpand {
    0%   { transform: scale(0.3); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* -- HETU (Logic Nodes) -- */
.hetu-hero-node {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(45,212,168,0.6);
    box-shadow: 0 0 12px rgba(45,212,168,0.4);
    position: absolute;
    animation: hetuNodePulse 3s ease-in-out infinite;
}
.hetu-hero-node--1 { top: 20%; left: 50%; }
.hetu-hero-node--2 { bottom: 25%; left: 25%; animation-delay: -1s; }
.hetu-hero-node--3 { bottom: 25%; right: 25%; animation-delay: -2s; }
.hetu-hero-link {
    position: absolute; height: 1px; width: 40%;
    background: linear-gradient(90deg, transparent, rgba(45,212,168,0.25), transparent);
}
.hetu-hero-link--1 { top: 38%; left: 30%; transform: rotate(30deg); }
.hetu-hero-link--2 { top: 38%; left: 30%; transform: rotate(-30deg); }
.hetu-hero-link--3 { bottom: 28%; left: 30%; }
@keyframes hetuNodePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 12px rgba(45,212,168,0.4); }
    50%      { transform: scale(1.5); box-shadow: 0 0 20px rgba(45,212,168,0.6); }
}

/* -- DHARMA (Dharma Wheel) -- */
.dharma-hero-wheel {
    width: 55%; aspect-ratio: 1; border-radius: 50%;
    border: 2px solid rgba(234,179,8,0.18);
    position: absolute;
    animation: dharmaRotate 20s linear infinite;
}
.dharma-hero-spoke {
    position: absolute; width: 1px; height: 50%;
    background: rgba(234,179,8,0.15);
    left: 50%; top: 0;
    transform-origin: bottom center;
}
.dharma-hero-spoke--2 { transform: rotate(45deg); }
.dharma-hero-spoke--3 { transform: rotate(90deg); }
.dharma-hero-spoke--4 { transform: rotate(135deg); }
.dharma-hero-center {
    width: 14%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(234,179,8,0.4) 0%, rgba(234,179,8,0.1) 60%, transparent 70%);
    filter: drop-shadow(0 0 15px rgba(234,179,8,0.3));
    position: absolute;
    animation: dharmaPulse 4s ease-in-out infinite;
}
@keyframes dharmaRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes dharmaPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50%      { transform: scale(1.2); opacity: 1; }
}

/* -- ARTHA (Rising Bars) -- */
.artha-hero-bar {
    position: absolute; bottom: 15%;
    width: 12%; border-radius: 4px 4px 0 0;
    background: linear-gradient(0deg, rgba(245,158,11,0.1), rgba(245,158,11,0.3));
    border: 1px solid rgba(245,158,11,0.15);
    border-bottom: none;
    animation: arthaRise 3s ease-in-out infinite;
    transform-origin: bottom center;
}
.artha-hero-bar--1 { height: 25%; left: 25%; }
.artha-hero-bar--2 { height: 40%; left: 42%; animation-delay: -0.5s; }
.artha-hero-bar--3 { height: 55%; left: 59%; animation-delay: -1s; }
@keyframes arthaRise {
    0%, 100% { transform: scaleY(1); opacity: 0.6; }
    50%      { transform: scaleY(1.15); opacity: 1; }
}

/* -- JIVA (DNA Orbits) -- */
.jiva-hero-orbit {
    position: absolute; border-radius: 50%;
    border: 1.5px solid rgba(52,211,153,0.15);
    animation: jivaOrbit 6s linear infinite;
}
.jiva-hero-orbit--1 { width: 55%; aspect-ratio: 1; }
.jiva-hero-orbit--2 { width: 40%; aspect-ratio: 1; animation-direction: reverse; animation-duration: 8s; border-color: rgba(52,211,153,0.12); }
.jiva-hero-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(52,211,153,0.6);
    box-shadow: 0 0 10px rgba(52,211,153,0.3);
    position: absolute;
    top: -3px; left: 50%; margin-left: -3px;
}
.jiva-hero-center {
    width: 18%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(52,211,153,0.35) 0%, transparent 70%);
    filter: drop-shadow(0 0 15px rgba(52,211,153,0.3));
    position: absolute;
    animation: jivaPulse 3s ease-in-out infinite;
}
@keyframes jivaOrbit {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes jivaPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50%      { transform: scale(1.3); opacity: 1; }
}

/* -- KALA (Time Rings) -- */
.kala-hero-ring {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(129,140,248,0.15);
    animation: kalaOrbit 12s linear infinite;
}
.kala-hero-ring--1 { width: 50%; aspect-ratio: 1; }
.kala-hero-ring--2 { width: 35%; aspect-ratio: 1; animation-duration: 8s; animation-direction: reverse; }
.kala-hero-ring--3 { width: 65%; aspect-ratio: 1; animation-duration: 16s; border-color: rgba(129,140,248,0.08); }
.kala-hero-center {
    width: 12%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(129,140,248,0.4) 0%, transparent 70%);
    filter: drop-shadow(0 0 15px rgba(129,140,248,0.3));
    position: absolute;
    animation: kalaCenterPulse 4s ease-in-out infinite;
}
@keyframes kalaOrbit {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes kalaCenterPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50%      { transform: scale(1.4); opacity: 1; }
}

/* -- YANTRA (Gears) -- */
.yantra-hero-gear {
    position: absolute; border-radius: 50%;
    border: 2px dashed rgba(6,182,212,0.2);
    animation: yantraRotate 8s linear infinite;
}
.yantra-hero-gear--1 { width: 50%; aspect-ratio: 1; }
.yantra-hero-gear--2 { width: 30%; aspect-ratio: 1; top: 12%; right: 12%; animation-direction: reverse; animation-duration: 5s; border-color: rgba(6,182,212,0.25); }
.yantra-hero-core {
    width: 12%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(6,182,212,0.45) 0%, transparent 70%);
    filter: drop-shadow(0 0 15px rgba(6,182,212,0.3));
    position: absolute;
    animation: yantraPulse 3s ease-in-out infinite;
}
@keyframes yantraRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes yantraPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50%      { transform: scale(1.2); opacity: 1; }
}

/* -- BHAUTIKA (Atom Model) -- */
.bhautika-hero-nucleus {
    width: 15%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(212,160,74,0.5) 0%, rgba(212,160,74,0.1) 50%, transparent 70%);
    filter: drop-shadow(0 0 18px rgba(212,160,74,0.4));
    position: absolute;
    animation: bhautikaPulse 3s ease-in-out infinite;
}
.bhautika-hero-orbit {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(212,160,74,0.12);
}
.bhautika-hero-orbit--1 { width: 60%; aspect-ratio: 1; animation: bhautikaOrbit 4s linear infinite; }
.bhautika-hero-orbit--2 { width: 45%; aspect-ratio: 1; animation: bhautikaOrbit 5s linear infinite reverse; border-color: rgba(212,160,74,0.18); }
.bhautika-hero-orbit--3 { width: 75%; aspect-ratio: 1; animation: bhautikaOrbit 7s linear infinite; border-color: rgba(212,160,74,0.08); }
.bhautika-hero-electron {
    width: 5px; height: 5px; border-radius: 50%;
    background: rgba(212,160,74,0.7);
    box-shadow: 0 0 8px rgba(212,160,74,0.4);
    position: absolute;
    top: -2.5px; left: 50%; margin-left: -2.5px;
}
@keyframes bhautikaPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.15); }
}
@keyframes bhautikaOrbit {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* -- KALAA (Art Splashes) -- */
.kalaa-hero-splash {
    position: absolute; border-radius: 50%;
    background: radial-gradient(circle, rgba(192,132,252,0.2), transparent 60%);
    animation: kalaaFloat 6s ease-in-out infinite;
}
.kalaa-hero-splash--1 { width: 40%; aspect-ratio: 1; }
.kalaa-hero-splash--2 { width: 25%; aspect-ratio: 1; top: 10%; right: 10%; animation-delay: -2s; }
.kalaa-hero-splash--3 { width: 20%; aspect-ratio: 1; bottom: 15%; left: 15%; animation-delay: -4s; }
.kalaa-hero-stroke {
    position: absolute; width: 3px; height: 35%;
    background: linear-gradient(0deg, transparent, rgba(192,132,252,0.3), transparent);
    border-radius: 3px;
    animation: kalaaStroke 4s ease-in-out infinite;
    transform-origin: bottom center;
}
.kalaa-hero-stroke--2 { left: 60%; height: 25%; animation-delay: -1.5s; transform: rotate(15deg); }
@keyframes kalaaFloat {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    33%      { transform: scale(1.1) translate(3%, -2%); opacity: 0.8; }
    66%      { transform: scale(0.95) translate(-2%, 3%); opacity: 0.6; }
}
@keyframes kalaaStroke {
    0%, 100% { transform: scaleY(1) rotate(0deg); opacity: 0.4; }
    50%      { transform: scaleY(1.2) rotate(5deg); opacity: 0.8; }
}

/* -- RAJA (Pillars) -- */
.raja-hero-pillar {
    position: absolute; bottom: 10%;
    width: 8%; border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, rgba(148,163,184,0.25) 0%, rgba(148,163,184,0.08) 100%);
    border: 1px solid rgba(148,163,184,0.15);
    border-bottom: none;
}
.raja-hero-pillar--1 { height: 50%; left: 25%; }
.raja-hero-pillar--2 { height: 60%; left: 42%; }
.raja-hero-pillar--3 { height: 50%; left: 59%; }
.raja-hero-beam {
    position: absolute; width: 50%; height: 3px;
    top: 22%; left: 25%;
    background: linear-gradient(90deg, rgba(148,163,184,0.1), rgba(148,163,184,0.25), rgba(148,163,184,0.1));
    border-radius: 2px;
}
.raja-hero-glow {
    width: 14%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(148,163,184,0.2) 0%, transparent 70%);
    position: absolute; top: 15%;
    animation: rajaPulse 4s ease-in-out infinite;
}
@keyframes rajaPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50%      { transform: scale(1.2); opacity: 0.7; }
}


/* ── Generic Themed Navigation (Left Panel) ──────────────────────────── */
.akp-themed-nav {
    width: 100%;
    max-width: 240px;
    margin-top: clamp(12px, 1.6vh, 22px);
    animation: akpThemeNavFade 0.4s ease-out 0.5s both;
}
.akp-themed-nav-hdr {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.akp-themed-nav-hdr::before,
.akp-themed-nav-hdr::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--el-border), transparent);
}
.akp-themed-nav-lbl {
    font-family: var(--font-ui);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--el-primary);
    opacity: 0.45;
    white-space: nowrap;
}
.akp-themed-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}
.akp-tnav-btn {
    font-family: var(--font-ui);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 6px 9px;
    border-radius: 6px;
    border: 1px solid var(--el-border);
    border-bottom: 2px solid var(--el-border);
    background: linear-gradient(180deg, var(--el-bg-tint) 0%, rgba(0,0,0,0.01) 100%);
    color: var(--el-primary);
    opacity: 0.55;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(.25,.46,.45,.94);
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 2px 4px rgba(0,0,0,0.20),
        0 4px 8px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.04);
}
.akp-tnav-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}
.akp-tnav-btn .ci {
    font-size: 10px;
    opacity: 0.5;
    transition: all 0.25s ease;
    filter: drop-shadow(0 0 3px var(--el-glow));
}
.akp-tnav-btn::before {
    content: '';
    position: absolute;
    left: 0; top: 12%; bottom: 12%;
    width: 2.5px;
    border-radius: 0 2px 2px 0;
    background: var(--el-primary);
    opacity: 0.25;
    transition: opacity 0.25s;
    box-shadow: 1px 0 4px var(--el-glow);
}
.akp-tnav-btn:hover {
    border-color: var(--el-primary-dim);
    background: linear-gradient(180deg, var(--el-bg-tint) 0%, rgba(0,0,0,0.02) 100%);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow:
        0 4px 8px rgba(0,0,0,0.30),
        0 8px 18px rgba(0,0,0,0.18),
        0 0 14px var(--el-glow),
        inset 0 1px 0 rgba(255,255,255,0.06);
}
.akp-tnav-btn:hover::before { opacity: 1; }
.akp-tnav-btn:hover .ci { opacity: 1; transform: scale(1.2); }
.akp-tnav-btn:active {
    transform: translateY(1px);
    border-bottom-width: 1px;
    box-shadow:
        0 1px 2px rgba(0,0,0,0.30),
        inset 0 2px 4px rgba(0,0,0,0.20);
}
.akp-tnav-btn--full { grid-column: 1 / -1; justify-content: center; }

/* Stagger fade-in */
.akp-themed-nav-grid .akp-tnav-btn:nth-child(1) { animation: akpThemeNavFade 0.35s ease-out 0.55s both; }
.akp-themed-nav-grid .akp-tnav-btn:nth-child(2) { animation: akpThemeNavFade 0.35s ease-out 0.61s both; }
.akp-themed-nav-grid .akp-tnav-btn:nth-child(3) { animation: akpThemeNavFade 0.35s ease-out 0.67s both; }
.akp-themed-nav-grid .akp-tnav-btn:nth-child(4) { animation: akpThemeNavFade 0.35s ease-out 0.73s both; }
.akp-themed-nav-grid .akp-tnav-btn:nth-child(5) { animation: akpThemeNavFade 0.35s ease-out 0.79s both; }
.akp-themed-nav-grid .akp-tnav-btn:nth-child(6) { animation: akpThemeNavFade 0.35s ease-out 0.85s both; }

@keyframes akpThemeNavFade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
    .akp-themed-nav { display: none; }
}


/* ══════════════════════════════════════════════════════════════════════
   TILE POPUP — Animated Concept Explainer (Earth-style orbital anims)
   ══════════════════════════════════════════════════════════════════════ */

/* Tile is clickable */
.akp-tile { cursor: pointer; position: relative; }

/* Popup Overlay */
.akp-popup-overlay {
    position: fixed; inset: 0; z-index: 900;
    background: rgba(4, 4, 8, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.akp-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Popup Card */
.akp-popup {
    position: relative;
    width: clamp(340px, 50vw, 560px);
    max-height: 80vh;
    border-radius: 16px;
    border: 1px solid var(--el-border, rgba(255,255,255,0.06));
    background: rgba(10, 10, 18, 0.92);
    backdrop-filter: blur(20px);
    box-shadow:
        0 16px 60px rgba(0,0,0,0.6),
        0 0 1px var(--el-primary-dim, rgba(255,255,255,0.08)),
        inset 0 1px 0 rgba(255,255,255,0.04);
    display: flex; flex-direction: column;
    overflow: hidden;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.akp-popup-overlay.active .akp-popup {
    transform: scale(1) translateY(0);
}

/* Popup top accent line */
.akp-popup::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--el-primary, #d4a04a), transparent);
}

/* Close button */
.akp-popup-close {
    position: absolute; top: 10px; right: 14px; z-index: 10;
    background: none; border: none; cursor: pointer;
    font-size: 18px;
    color: var(--text-muted, #5c574e);
    transition: color 0.2s, transform 0.2s;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.akp-popup-close:hover {
    color: var(--el-primary, #d4a04a);
    transform: rotate(90deg);
    background: rgba(255,255,255,0.04);
}

/* Animation canvas area */
.akp-popup-canvas-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    background: radial-gradient(ellipse 80% 80% at 50% 50%,
        rgba(var(--el-primary-rgb, 212,160,74), 0.04) 0%,
        rgba(6,6,10,1) 100%);
}

.akp-popup-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
}

/* Concept label inside canvas */
.akp-popup-canvas-label {
    position: absolute;
    bottom: 10px; left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-ui);
    font-size: 8px; font-weight: 700;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--el-primary, #d4a04a);
    opacity: 0.35;
    pointer-events: none;
    white-space: nowrap;
}

/* Text content */
.akp-popup-body {
    padding: clamp(16px, 2vw, 24px);
    display: flex; flex-direction: column; gap: 8px;
}

.akp-popup-icon {
    font-size: 20px;
    color: var(--el-primary, #d4a04a);
    filter: drop-shadow(0 0 8px var(--el-glow, rgba(212,160,74,0.15)));
}

.akp-popup-title {
    font-family: var(--font-display);
    font-size: clamp(14px, 1.4vw, 20px);
    font-weight: 700; letter-spacing: 2px;
    color: var(--el-primary, #d4a04a);
    line-height: 1.2;
}

.akp-popup-desc {
    font-family: var(--font-body);
    font-size: clamp(11px, 0.85vw, 13px);
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-secondary, #9a9488);
}

/* Popup stats strip */
.akp-popup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 4px;
}

.akp-popup-stat {
    padding: 8px 10px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.04);
    text-align: center;
    transition: border-color 0.3s;
}

.akp-popup-stat:hover {
    border-color: var(--el-primary-dim, rgba(255,255,255,0.1));
}

.akp-popup-stat-label {
    font-family: var(--font-ui);
    font-size: 7px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-muted, #5c574e);
    margin-bottom: 2px;
}

.akp-popup-stat-value {
    font-family: var(--font-ui);
    font-size: clamp(10px, 0.8vw, 13px);
    font-weight: 600;
    color: var(--text-primary, #e8e4dc);
}

/* Vedic connection strip */
.akp-popup-vedic {
    display: flex; align-items: center; gap: 8px;
    margin-top: 6px;
    padding: 8px 12px;
    background: rgba(var(--el-primary-rgb, 212,160,74), 0.04);
    border: 1px solid rgba(var(--el-primary-rgb, 212,160,74), 0.08);
    border-radius: 8px;
}

.akp-popup-vedic-bija {
    font-family: 'Noto Sans Devanagari', serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--el-primary, #d4a04a);
    text-shadow: 0 0 15px var(--el-glow, rgba(212,160,74,0.2));
    line-height: 1;
}

.akp-popup-vedic-text {
    font-family: var(--font-body);
    font-size: 10px; font-weight: 400;
    line-height: 1.5;
    color: var(--text-muted, #5c574e);
}

/* Popup fade-in animation for children */
.akp-popup-overlay.active .akp-popup-body > * {
    animation: akpPopIn 0.4s ease-out both;
}
.akp-popup-overlay.active .akp-popup-body > *:nth-child(1) { animation-delay: 0.08s; }
.akp-popup-overlay.active .akp-popup-body > *:nth-child(2) { animation-delay: 0.15s; }
.akp-popup-overlay.active .akp-popup-body > *:nth-child(3) { animation-delay: 0.22s; }
.akp-popup-overlay.active .akp-popup-body > *:nth-child(4) { animation-delay: 0.29s; }
.akp-popup-overlay.active .akp-popup-body > *:nth-child(5) { animation-delay: 0.36s; }

@keyframes akpPopIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .akp-split { flex-direction: column; }
    .akp-left {
        flex: 0 0 auto; max-width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--el-border);
        padding: 12px 16px;
        flex-direction: row; gap: 16px;
    }
    .akp-left-visual { width: 80px; margin-bottom: 0; }
    .akp-left-desc { display: none; }
    .akp-right { flex: 1; min-height: 0; }
    .akp-tiles { grid-template-columns: 1fr; }
    .akp-nav-controls { display: none; }
    .akp-popup {
        width: calc(100vw - 32px);
        max-height: 85vh;
    }
    .akp-popup-stats { grid-template-columns: 1fr; }
}