/* 
    MUHAMMAD ABDULLAH - PREMIUM PORTFOLIO DESIGN SYSTEM
    Aesthetic: High-end, Modern, Cinematic Dark Theme
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
    --bg-dark: #0a0a0c;
    --bg-panel: rgba(20, 20, 25, 0.7);
    --accent-indigo: #6366f1;
    --accent-purple: #a855f7;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Work Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom Cursor */
}

html {
    scroll-behavior: initial; /* Lenis handles this */
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.2s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s linear, border-color 0.3s ease;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(to right, var(--accent-indigo), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Layout */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 120px 0;
    position: relative;
}

/* Navbar */
nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
}

.nav-container {
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 12px 30px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: white;
    text-shadow: var(--neon-glow);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 24px;
}

.bento-item {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-1 { grid-column: span 2; }
.bento-2 { grid-column: span 1; }
.bento-3 { grid-column: span 1; }
.bento-4 { grid-column: span 1; }
.bento-5 { grid-column: span 3; }

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .bento-item { grid-column: span 2 !important; height: 300px; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-indigo);
    border-radius: 10px;
}
