/* ============================================
   PORTFOLIO - Modern Dark Theme CSS
   Premium Design with Glassmorphism & Gradients
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Fira+Code:wght@400;500&display=swap');

:root {
    --primary: #6c5ce7; --primary-light: #a29bfe; --primary-dark: #5a4bd1;
    --accent: #00cec9; --accent-light: #55efc4; --accent-dark: #00b894;
    --gradient-primary: linear-gradient(135deg, #6c5ce7 0%, #00cec9 100%);
    --gradient-hero: linear-gradient(135deg, #0c0c1d 0%, #1a1a3e 50%, #0c0c1d 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    --gradient-text: linear-gradient(135deg, #6c5ce7 0%, #00cec9 50%, #fd79a8 100%);
    --bg-dark: #0a0a1a; --bg-section: #0f0f23;
    --bg-card: rgba(255,255,255,0.03); --bg-card-hover: rgba(255,255,255,0.06);
    --bg-glass: rgba(255,255,255,0.05);
    --text-primary: #ffffff; --text-secondary: #b2b2cc; --text-muted: #6c6c8a;
    --border-color: rgba(255,255,255,0.08); --border-hover: rgba(108,92,231,0.3);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.2); --shadow-md: 0 8px 30px rgba(0,0,0,0.3);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.4); --shadow-glow: 0 0 40px rgba(108,92,231,0.15);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-code: 'Fira Code', monospace;
    --section-padding: 120px 0;
    --radius-sm: 8px; --radius-md: 12px; --radius-lg: 20px; --radius-xl: 24px;
    --transition-fast: 0.2s ease; --transition-normal: 0.3s ease; --transition-slow: 0.5s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-primary); background-color: var(--bg-dark); color: var(--text-secondary); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: var(--primary); color: white; }
a { text-decoration: none; color: var(--primary-light); transition: var(--transition-normal); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

.gradient-text { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-padding { padding: var(--section-padding); }
.glass-card { background: var(--bg-glass); backdrop-filter: blur(20px); border: 1px solid var(--border-color); border-radius: var(--radius-lg); }

.section-header { text-align: center; margin-bottom: 80px; }
.section-header .section-label { display: inline-block; font-family: var(--font-code); font-size: 14px; color: var(--accent); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; padding: 8px 20px; border: 1px solid rgba(0,206,201,0.2); border-radius: 30px; background: rgba(0,206,201,0.05); }
.section-header h2 { font-size: 48px; font-weight: 800; color: var(--text-primary); margin-bottom: 16px; letter-spacing: -1px; }
.section-header p { font-size: 18px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Navigation */
.navbar-custom { background: rgba(10,10,26,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-color); padding: 16px 0; transition: var(--transition-normal); z-index: 1000; }
.navbar-custom.scrolled { padding: 10px 0; box-shadow: var(--shadow-md); }
.navbar-custom .navbar-brand { font-size: 24px; font-weight: 800; color: var(--text-primary) !important; }
.navbar-custom .navbar-brand span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.navbar-custom .nav-link { color: var(--text-secondary) !important; font-weight: 500; font-size: 15px; padding: 8px 20px !important; border-radius: 8px; transition: var(--transition-normal); position: relative; }
.navbar-custom .nav-link:hover, .navbar-custom .nav-link.active { color: var(--text-primary) !important; background: rgba(108,92,231,0.1); }
.navbar-toggler { border: 1px solid var(--border-color) !important; }
.navbar-toggler-icon { filter: invert(1); }

/* Hero */
.hero-section { min-height: 100vh; display: flex; align-items: center; position: relative; background: var(--gradient-hero); overflow: hidden; padding-top: 80px; }
.hero-section::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 30% 50%, rgba(108,92,231,0.08) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(0,206,201,0.06) 0%, transparent 50%); animation: heroFloat 20s ease-in-out infinite; }
@keyframes heroFloat { 0%, 100% { transform: translate(0,0); } 33% { transform: translate(2%,-2%); } 66% { transform: translate(-1%,1%); } }

.hero-content { position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; background: rgba(108,92,231,0.1); border: 1px solid rgba(108,92,231,0.2); border-radius: 50px; font-family: var(--font-code); font-size: 14px; color: var(--primary-light); margin-bottom: 24px; animation: fadeInUp 0.8s ease; }
.hero-badge .pulse-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }

.hero-title { font-size: clamp(40px, 6vw, 72px); font-weight: 900; color: var(--text-primary); line-height: 1.1; margin-bottom: 24px; letter-spacing: -2px; animation: fadeInUp 0.8s ease 0.2s both; }
.hero-subtitle { font-size: clamp(16px, 2vw, 20px); color: var(--text-secondary); margin-bottom: 40px; max-width: 500px; animation: fadeInUp 0.8s ease 0.4s both; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.6s both; }
.hero-stats { display: flex; gap: 48px; margin-top: 60px; animation: fadeInUp 0.8s ease 0.8s both; }
.hero-stat .stat-number { font-size: 36px; font-weight: 800; color: var(--text-primary); line-height: 1; margin-bottom: 4px; }
.hero-stat .stat-number span { color: var(--accent); }
.hero-stat .stat-label { font-size: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.hero-visual { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.hero-image-container { position: relative; width: 420px; height: 420px; }
.hero-image-wrapper { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; border: 2px solid var(--border-color); background: var(--gradient-card); }
.hero-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 120px; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.hero-float-card { position: absolute; background: rgba(15,15,35,0.9); backdrop-filter: blur(20px); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 16px 20px; display: flex; align-items: center; gap: 12px; animation: float 6s ease-in-out infinite; z-index: 3; }
.hero-float-card.card-1 { top: 30px; right: -40px; }
.hero-float-card.card-2 { bottom: 60px; left: -40px; animation-delay: 2s; }
.hero-float-card .card-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.hero-float-card .card-icon.purple { background: rgba(108,92,231,0.15); color: var(--primary-light); }
.hero-float-card .card-icon.teal { background: rgba(0,206,201,0.15); color: var(--accent); }
.hero-float-card .card-text h4 { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.hero-float-card .card-text p { font-size: 12px; color: var(--text-muted); margin: 0; }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }

.bg-shapes { position: absolute; width: 100%; height: 100%; top: 0; left: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.bg-shape { position: absolute; border-radius: 50%; opacity: 0.03; }
.bg-shape-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -200px; animation: shapePulse 8s ease-in-out infinite; }
.bg-shape-2 { width: 400px; height: 400px; background: var(--accent); bottom: -100px; left: -100px; animation: shapePulse 10s ease-in-out infinite reverse; }
@keyframes shapePulse { 0%, 100% { transform: scale(1); opacity: 0.03; } 50% { transform: scale(1.1); opacity: 0.06; } }
