/* ==========================================================================
   THE ALPHA KNIGHT - MASTER INDEX STYLESHEET
   ========================================================================== */

:root {
    --bg-base: #030305;
    --text-main: #FFFFFF;
    --text-muted: #A0A0AB;
    
    --accent-orange: #FF5E00;
    --accent-red: #EF4444;
    --accent-blue: #3B82F6;
    --accent-green: #10B981;
    
    --card-bg: rgba(255, 255, 255, 0.02);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    transition: background-color 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- PARTICLE ENGINE SURFACE --- */
#particle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.95; /* INCREASED BRIGHTNESS */
}

/* ==========================================================================
   LAZY SCROLL POP-UP ENGINE 
   ========================================================================== */
.smooth-scroll-container { position: relative; z-index: 1; }
.section-panel { min-height: 100vh; padding: 140px 5% 100px 5%; display: flex; flex-direction: column; justify-content: center; position: relative; }

.lazy-section {
    opacity: 0;
    transform: translateY(60px) scale(0.97);
    filter: blur(4px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lazy-section.pop-up {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

/* --- TYPOGRAPHY AND LAYOUT --- */
.section-title { font-family: var(--font-heading); font-size: 4rem; line-height: 1.1; margin-bottom: 25px; font-weight: 900; }
.massive-title { font-size: 5.5rem; letter-spacing: -2px; }
.section-subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 60px; }

.gradient-text-orange { background: linear-gradient(90deg, #FF5E00, #FFAE00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.gradient-text-red { background: linear-gradient(90deg, #EF4444, #F87171); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.gradient-text-blue { background: linear-gradient(90deg, #3B82F6, #60A5FA); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.gradient-text-green { background: linear-gradient(90deg, #10B981, #34D399); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Elegant Title Fade Engine */
.clean-fade-in {
    font-size: 6.5rem;
    letter-spacing: -1px;
    margin-bottom: 30px;
    font-family: var(--font-heading);
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 0%, #b0b0b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: elegantFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}
@keyframes elegantFadeUp { to { opacity: 1; transform: translateY(0); } }

/* Buttons */
.btn-primary { display: inline-block; background: linear-gradient(90deg, var(--accent-orange), #ff7b29); color: #fff; padding: 16px 36px; border-radius: 4px; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; text-decoration: none; transition: 0.3s; box-shadow: 0 10px 30px rgba(255, 94, 0, 0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(255, 94, 0, 0.5); }
.btn-secondary { display: inline-block; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); color: var(--text-main); padding: 16px 36px; border-radius: 4px; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; text-decoration: none; transition: 0.3s; backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }

/* --- HERO SECTION --- */
.hero-content { max-width: 900px; margin: 0 auto; text-align: center; }
.subtitle-wrapper { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 20px; }
.neon-line { height: 2px; width: 40px; background: var(--accent-orange); box-shadow: 0 0 10px var(--accent-orange); }
.subtitle-wrapper p { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: var(--text-muted); }
.hero-desc { font-size: 1.3rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 20px; justify-content: center; }

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); }
.mouse { width: 30px; height: 50px; border: 2px solid rgba(255,255,255,0.3); border-radius: 20px; position: relative; }
.mouse::before { content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: #fff; border-radius: 4px; animation: scrollDown 2s infinite; }
@keyframes scrollDown { 0% { top: 10px; opacity: 1; } 100% { top: 25px; opacity: 0; } }

/* --- ARCHITECT SECTION --- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-image-container { position: relative; border-radius: 12px; padding: 20px; transform-style: preserve-3d; }
.image-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) translateZ(-50px); width: 100%; height: 100%; background: radial-gradient(circle, rgba(255,94,0,0.2) 0%, transparent 70%); filter: blur(40px); z-index: -1; }
.profile-image { width: 100%; border-radius: 12px; object-fit: cover; filter: grayscale(15%) contrast(1.1); box-shadow: 0 30px 60px rgba(0,0,0,0.8); border: 1px solid rgba(255,255,255,0.1); transform: translateZ(30px); }

.floating-badge { position: absolute; bottom: -20px; right: -20px; background: rgba(10,10,12,0.95); backdrop-filter: blur(10px); padding: 15px 25px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); font-weight: 700; font-family: var(--font-heading); display: flex; align-items: center; gap: 10px; box-shadow: 0 15px 30px rgba(0,0,0,0.6); transform: translateZ(60px); }
.badge-dot { width: 10px; height: 10px; background: var(--accent-green); border-radius: 50%; box-shadow: 0 0 10px var(--accent-green); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(0.9); opacity: 0.7; } 50% { transform: scale(1.2); opacity: 1; } 100% { transform: scale(0.9); opacity: 0.7; } }

.about-text .title-line { height: 4px; width: 80px; background: var(--accent-orange); margin-bottom: 30px; }
.about-text p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 25px; line-height: 1.8; }
.text-justified { text-align: justify; }
.dynamic-name { display: inline-block; color: #fff; font-weight: 900; }

/* --- BENCHMARK SECTION --- */
.placement-content { max-width: 1000px; margin: 0 auto; }
.neon-tag { display: inline-block; padding: 8px 20px; border-radius: 4px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 30px; }
.neon-tag.red { background: rgba(239, 68, 68, 0.1); color: var(--accent-red); border: 1px solid rgba(239, 68, 68, 0.3); }
.placement-desc { font-size: 1.35rem; color: var(--text-muted); margin-bottom: 60px; line-height: 1.7; }
.placement-desc strong { color: #fff; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.stat-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 40px 30px; border-radius: 12px; backdrop-filter: blur(10px); transform-style: preserve-3d; }
.stat-icon { font-size: 3rem; margin-bottom: 20px; transform: translateZ(30px); display: inline-block; }
.stat-card h3 { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 10px; transform: translateZ(20px); }
.stat-card p { color: var(--text-muted); font-size: 1rem; transform: translateZ(10px); }

/* --- SERIAL INNOVATION --- */
.ventures-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.venture-card { 
    position: relative; 
    border-radius: 16px; 
    overflow: hidden; 
    min-height: 460px; 
    display: flex; 
    align-items: flex-end; 
    padding: 50px 40px; 
    border: 1px solid rgba(255,255,255,0.08); 
    transform-style: preserve-3d;
}
.venture-bg { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background-size: cover; 
    background-position: center; 
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); 
    z-index: 1; 
}
.venture-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(3,3,5,1) 0%, rgba(3,3,5,0.2) 100%);
    z-index: 2;
}
.bg-1 { background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&q=80'); }
.bg-2 { background-image: url('https://images.unsplash.com/photo-1611162617474-5b21e879e113?auto=format&fit=crop&q=80'); }

.venture-card:hover .venture-bg { transform: scale(1.08); }

.venture-content { 
    position: relative; 
    z-index: 3; 
    transform: translateZ(40px);
    text-align: left; 
    width: 100%;
}
.venture-content h3 { font-family: var(--font-heading); font-size: 2.2rem; margin-bottom: 15px; color: #fff; }
.venture-content p { color: #ccc; font-size: 1.1rem; margin-bottom: 25px; line-height: 1.6; max-width: 95%; text-align: left; }
.status-tag { display: inline-block; background: rgba(59,130,246,0.15); color: #93C5FD; padding: 6px 14px; border-radius: 4px; font-size: 0.85rem; font-weight: 700; border: 1px solid rgba(59,130,246,0.3); }

/* --- INTELLECT HOUSING (BLOG) --- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.blog-post { background: rgba(255,255,255,0.02); padding: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); transform-style: preserve-3d; }
.blog-date { color: var(--accent-green); font-size: 0.85rem; font-weight: 700; margin-bottom: 15px; letter-spacing: 1px; text-transform: uppercase; transform: translateZ(20px); display: inline-block; }
.blog-post h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 30px; line-height: 1.4; transform: translateZ(30px); }
.read-more { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; transition: 0.3s; transform: translateZ(20px); }
.blog-post:hover .read-more { color: var(--accent-green); transform: translateZ(20px) translateX(5px); }

/* --- FOOTER TIERS (FIXED ALIGNMENT) --- */
.final-cta { align-items: center; text-align: center; justify-content: center; min-height: 80vh; }
.final-cta h2 { font-size: 5rem; font-family: var(--font-heading); line-height: 1.1; margin-bottom: 20px; }
.final-cta p { font-size: 1.3rem; color: var(--text-muted); margin-bottom: 50px; }
.massive-btn { padding: 22px 55px; font-size: 1.2rem; border-radius: 50px; margin-bottom: 60px; }
.pulse-glow { animation: btnPulse 3s infinite; }

@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 94, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0); }
}

/* Relative positioning implemented to avoid bottom collision */
.footer-bottom { 
    position: relative; 
    padding-bottom: 20px;
    width: 100%; 
    text-align: center; 
    color: rgba(255, 255, 255, 0.3); 
    font-size: 0.9rem; 
}

/* Inbound initial structural transitions */
.initial-reveal { opacity: 0; transform: translateY(30px); animation: elegantFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 0.7s; }
.text-center { text-align: center; }

/* --- RESPONSIVE MATRIX --- */
@media (max-width: 992px) {
    .about-grid, .ventures-layout { grid-template-columns: 1fr; gap: 50px; }
    .clean-fade-in { font-size: 3.8rem; }
    .massive-title { font-size: 3.2rem; }
    .final-cta h2 { font-size: 3.2rem; }
    .stats-grid { grid-template-columns: 1fr; }
}