/* ==========================================================================
   ELMAALLEMSPACE - SCENES & SPATIAL INTERACTION ARCHITECTURE
   ========================================================================== */

/* Outer Scene Layout */
.spatial-universe {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 32px;
}

.scene-block {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 120px 0;
}

.scene-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scene-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.scene-heading {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 40%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scene-lead {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.6;
    margin-bottom: 50px;
}

/* ==========================================================================
   SCENE 01: HERO IDENTITY, RICH BIO & PHILOSOPHY DECK
   ========================================================================== */
#scene-identity {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 60px 0;
}

.hero-spatial-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.15fr;
    gap: 36px;
    align-items: stretch;
    width: 100%;
    margin-bottom: 36px;
}

/* Left Hero Column */
.hero-identity-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.hero-identity-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-role-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(0, 122, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 122, 255, 0.2);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    color: var(--accent-cyan);
    letter-spacing: 1.5px;
    width: fit-content;
}

.hero-main-name {
    font-family: var(--font-display);
    font-size: clamp(38px, 4.2vw, 56px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: #ffffff;
}

.name-gradient {
    background: linear-gradient(135deg, #00d2ff 0%, #3b82f6 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Bio Main Glass Card */
.hero-bio-card-main {
    background: rgba(16, 22, 38, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.bio-card-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    color: var(--accent-cyan);
    letter-spacing: 1.5px;
}

.bio-paragraph {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.bio-paragraph strong {
    color: #ffffff;
    font-weight: 700;
}

/* Hero Action Buttons */
.hero-actions-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 18px;
    background: linear-gradient(135deg, #007aff 0%, #00d2ff 100%);
    color: #ffffff !important;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.45);
    transition: all 0.25s var(--spring-smooth);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 122, 255, 0.7);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff !important;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: all 0.25s var(--spring-smooth);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
}

/* Right Narrative Column (Life Vision + Quote) */
.hero-narrative-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
}

.hero-vision-card {
    background: rgba(14, 20, 36, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 24px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.vision-quote-highlight {
    font-size: 15px;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.7;
    padding-left: 14px;
    border-left: 3px solid var(--accent-cyan);
}

/* The Iconic Quote Card */
.hero-quote-card {
    background: linear-gradient(135deg, rgba(16, 24, 44, 0.85), rgba(10, 15, 28, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 24px;
    padding: 22px 28px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.15);
}

.quote-icon-bubble {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(139, 92, 246, 0.18);
    border: 1px solid rgba(139, 92, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c084fc;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.quote-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quote-text {
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 600;
    font-style: italic;
    color: #ffffff;
    line-height: 1.55;
}

.quote-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.quote-author {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    color: #c084fc;
}

.quote-tag {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Key Metrics Strip */
.identity-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 10px;
}

.identity-stat-card {
    background: rgba(16, 22, 38, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.3s var(--spring-smooth), border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.identity-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 210, 255, 0.45);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 122, 255, 0.2);
}

.id-stat-num {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.id-stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hero Quick Stats Strip */
.identity-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 40px;
}

.identity-stat-card {
    background: var(--space-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.3s var(--spring-smooth), border-color 0.3s ease;
}

.identity-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 122, 255, 0.4);
}

.id-stat-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.id-stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* ==========================================================================
   SCENE 02: MY SYSTEM (Interactive Visual Architecture Pipeline)
   ========================================================================== */
.system-pipeline-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 36px;
    align-items: start;
}

.pipeline-stepper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pipeline-layer-item {
    background: rgba(18, 24, 40, 0.55);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.25s var(--spring-smooth);
}

.pipeline-layer-item:hover, .pipeline-layer-item.active {
    background: rgba(0, 122, 255, 0.15);
    border-color: rgba(0, 122, 255, 0.45);
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 122, 255, 0.2);
}

.pipeline-layer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.layer-index {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-cyan);
}

.layer-title {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.pipeline-detail-viewport {
    background: var(--space-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 36px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.detail-viewport-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.detail-layer-name {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
}

.detail-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.detail-tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-chip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.tech-chip-item i {
    color: var(--accent-cyan);
}

/* ==========================================================================
   SCENE 03: SELECTED SYSTEMS (Spatial Project Workspaces)
   ========================================================================== */
.systems-workspace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 32px;
}

.system-window {
    background: var(--space-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s var(--spring-smooth), border-color 0.3s ease;
    position: relative;
    transform: translateZ(0);
    will-change: transform;
}

.system-window:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(0, 122, 255, 0.45);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 122, 255, 0.25);
}

.window-header-chrome {
    height: 48px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-lights {
    display: flex;
    gap: 6px;
}

.light-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.7;
}

.light-red { background: #ff5f56; }
.light-yellow { background: #ffbd2e; }
.light-green { background: #27c93f; }

.window-status-pill {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.window-visual-preview {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.window-visual-preview i {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s var(--spring-bounce);
}

.system-window:hover .window-visual-preview i {
    transform: scale(1.15) rotate(-3deg);
}

.preview-newgps { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.preview-gonav { background: linear-gradient(135deg, #065f46, #10b981); }
.preview-meshow { background: linear-gradient(135deg, #831843, #ec4899); }
.preview-iptv { background: linear-gradient(135deg, #4f46e5, #06b6d4); }
.preview-highdelivery { background: linear-gradient(135deg, #3730a3, #6366f1); }
.preview-traccarplugin { background: linear-gradient(135deg, #0e7490, #06b6d4); }

.window-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}

.system-window-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.system-window-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.system-specs-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-item i {
    color: var(--accent-emerald);
    font-size: 11px;
}

.system-tech-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.system-tech-badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
}

.system-action-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.system-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.2s var(--spring-smooth);
}

.system-action-btn.appstore { background: #000000; border: 1px solid rgba(255, 255, 255, 0.2); }
.system-action-btn.googleplay { background: #16a34a; }
.system-action-btn.web { background: var(--accent-blue); }

.system-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   SCENE 04: THE LAB (Experimental Research & Prototypes)
   ========================================================================== */
.lab-experiments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

.lab-node-card {
    background: var(--space-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s var(--spring-smooth), border-color 0.3s ease;
}

.lab-node-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 210, 255, 0.2);
}

.lab-exp-num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.lab-exp-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

.lab-exp-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   SCENE 05: EXPERIENCE & HOW I BUILD
   ========================================================================== */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phil-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.phil-sub {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.spatial-timeline-track {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    padding-left: 36px;
    border-left: 2px solid rgba(0, 122, 255, 0.3);
}

.timeline-milestone {
    background: var(--space-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 24px 28px;
    position: relative;
}

.timeline-milestone::before {
    content: '';
    position: absolute;
    left: -44px;
    top: 26px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-blue);
    box-shadow: 0 0 16px var(--accent-blue);
}

.milestone-year {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 1px;
}

.milestone-role {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 4px 0;
}

.milestone-company {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.milestone-detail {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   SCENE 06: LET'S BUILD SOMETHING (Connection Portal)
   ========================================================================== */
.connection-portal {
    background: radial-gradient(circle at 50% 0%, rgba(0, 122, 255, 0.15), rgba(18, 24, 38, 0.8) 70%);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 36px;
    padding: 60px 48px;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 122, 255, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.portal-huge-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.portal-sub {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 40px auto;
}

.portal-channels-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.portal-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s var(--spring-smooth);
}

.portal-link-card:hover {
    background: var(--accent-blue);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 122, 255, 0.5);
}
