/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Black & Gray Scale */
    --black-pure: #000000;
    --black-1: #050505;
    --black-2: #0a0a0a;
    --black-3: #0f0f0f;
    --black-4: #141414;
    --gray-1: #1a1a1a;
    --gray-2: #222222;
    --gray-3: #2a2a2a;
    --gray-4: #333333;
    --gray-5: #3a3a3a;
    --gray-6: #444444;
    --gray-7: #4a4a4a;
    --gray-8: #555555;
    --gray-9: #666666;
    --gray-10: #777777;
    --gray-11: #888888;
    --gray-12: #999999;
    --gray-mid: #808080;  /* RGB(128,128,128) */
    --light-1: #ffffff;
    --light-2: #f0f0f0;
    --light-3: #ffffff;
    
    /* Accent Colors - All Gray Scale */
    --accent-primary: var(--gray-mid);
    --accent-secondary: #a0a0a0;
    --accent-tertiary: #c0c0c0;
    --accent-glow: rgba(128, 128, 128, 0.2);
    
    /* Premium Color Accents */
    --neon-cyan: #00ffff;
    --neon-silver: #e8f0f7;
    --neon-white: #ffffff;
    --glow-blue: #4db8ff;
    --glow-purple: #d580ff;
    --glow-cyan: #00ffff;
    
    /* Gradient Combinations */
    --gradient-primary: linear-gradient(135deg, var(--gray-8) 0%, var(--gray-mid) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--gray-mid) 0%, var(--accent-secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--black-1) 0%, var(--black-3) 100%);
    --gradient-gray: linear-gradient(135deg, var(--gray-2) 0%, var(--gray-4) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(77, 184, 255, 0.3) 0%, rgba(213, 128, 255, 0.3) 100%);
    --gradient-neon: linear-gradient(90deg, #00ffff, #808080, #00ffff);
    
    /* Glow Effects */
    --glow-soft: 0 0 15px rgba(128, 128, 128, 0.1);
    --glow-medium: 0 0 30px rgba(128, 128, 128, 0.2);
    --glow-intense: 0 0 45px rgba(128, 128, 128, 0.3);
    --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.2);
    --glow-cyan-intense: 0 0 40px rgba(0, 255, 255, 0.3);
    
    /* Shadows */
    --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.4);
    --shadow-medium: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-heavy: 0 8px 36px rgba(0, 0, 0, 0.6);
    --shadow-intense: 0 12px 48px rgba(0, 0, 0, 0.7);
    
    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Borders */
    --border-thin: 1px solid rgba(128, 128, 128, 0.15);
    --border-medium: 2px solid rgba(128, 128, 128, 0.25);
    --border-thick: 3px solid rgba(128, 128, 128, 0.35);
    
    /* Layout */
    --container-max: 1400px;
    --section-padding: clamp(80px, 10vw, 140px);
    --border-radius-sm: 6px;
    --border-radius: 12px;
    --border-radius-lg: 18px;
    --border-radius-xl: 24px;
    --border-radius-full: 50%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--black-1);
    color: var(--light-1);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: clamp(14px, 2.5vw, 16px);
    scroll-behavior: smooth;
    position: relative;
    min-height: 100vh;
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===== RESPONSIVE TEXT & CONTAINERS ===== */
* {
    word-break: break-word;
    max-width: 100%;
}

img, video, iframe, embed {
    max-width: 100%;
    height: auto;
    display: block;
}

input, textarea, select, button {
    max-width: 100%;
    font-family: inherit;
}

/* ===== AMBIENT FLOATING ORBS ===== */
.ambient-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
.ambient-orbs .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px) saturate(120%);
    mix-blend-mode: screen;
    opacity: 0.14;
    transform: translate3d(0,0,0);
    will-change: transform, opacity;
}
.orb--small { width: 80px; height: 80px; }
.orb--med   { width: 140px; height: 140px; }
.orb--large { width: 260px; height: 260px; }
.orb--vibrant { opacity: 0.22; filter: blur(26px) saturate(140%); }

@keyframes orbFloat {
    0% { transform: translateY(0) translateX(0) scale(1); }
    50% { transform: translateY(-18px) translateX(6px) scale(1.03); }
    100% { transform: translateY(0) translateX(0) scale(1); }
}

/* reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .ambient-orbs .orb { animation: none !important; opacity: 0.08; filter: blur(12px); }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(128, 128, 128, 0.02) 0%, transparent 70%),
        radial-gradient(circle at 80% 80%, rgba(128, 128, 128, 0.015) 0%, transparent 70%),
        linear-gradient(135deg, transparent 0%, var(--black-1) 100%);
    z-index: -2;
    pointer-events: none;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black-2);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-mid);
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.gray-loader {
    position: relative;
    width: 80px;
    height: 80px;
}

.gray-loader::before,
.gray-loader::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.gray-loader::before {
    width: 100%;
    height: 100%;
    border-top-color: var(--gray-mid);
    animation: spin 2s linear infinite;
}

.gray-loader::after {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-bottom-color: var(--gray-8);
    animation: spinReverse 1.5s linear infinite;
}

.loading-text {
    font-family: 'Space Grotesk', monospace;
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--gray-mid);
    text-transform: uppercase;
    font-weight: 500;
}

.loading-dots {
    display: inline-block;
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes spinReverse {
    to { transform: rotate(-360deg); }
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60% { content: '...'; }
    80%, 100% { content: ''; }
}

/* ===== TERMINAL BOOT ===== */
.terminal-boot {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-1);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.terminal-boot.fade-out {
    opacity: 0;
    visibility: hidden;
}

.terminal-screen {
    width: 90%;
    max-width: 800px;
    background: rgba(10, 10, 10, 0.98);
    border: var(--border-thin);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--glow-medium);
    backdrop-filter: blur(10px);
}

.terminal-header {
    background: var(--black-3);
    padding: 18px 24px;
    border-bottom: var(--border-thin);
    display: flex;
    align-items: center;
    gap: 12px;
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #5a5a5a; }
.terminal-dot.yellow { background: #7a7a7a; }
.terminal-dot.green { background: #9a9a9a; }

.terminal-title {
    color: var(--gray-9);
    font-family: 'Space Grotesk', monospace;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.terminal-output {
    padding: 40px;
    min-height: 300px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.terminal-line {
    margin-bottom: 18px;
    display: flex;
    gap: 10px;
    opacity: 0;
    animation: typeIn 0.5s ease forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.2s; }
.terminal-line:nth-child(2) { animation-delay: 0.5s; }
.terminal-line:nth-child(3) { animation-delay: 0.8s; }
.terminal-line:nth-child(4) { animation-delay: 1.1s; }
.terminal-line:nth-child(5) { animation-delay: 1.4s; }

.terminal-prompt {
    color: var(--gray-mid);
    font-weight: 600;
}

.terminal-command {
    color: var(--light-1);
    font-weight: 400;
}

.terminal-text {
    color: var(--gray-9);
    margin-left: 20px;
}

.terminal-text.arabic {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 1.8rem;
    color: var(--gray-10);
    direction: rtl;
    margin-top: 10px;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 20px;
    background: var(--gray-mid);
    animation: blink 1s infinite;
    margin-left: 5px;
}

@keyframes typeIn {
    to { opacity: 1; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ===== PREMIUM COLOR ANIMATIONS ===== */
@keyframes glowShift {
    0% {
        box-shadow: 0 0 20px rgba(128, 128, 128, 0.2), 0 0 40px rgba(128, 128, 128, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(77, 184, 255, 0.3), 0 0 60px rgba(128, 128, 128, 0.15);
    }
    100% {
        box-shadow: 0 0 20px rgba(128, 128, 128, 0.2), 0 0 40px rgba(128, 128, 128, 0.1);
    }
}

@keyframes colorShimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes neonGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(128, 128, 128, 0.3);
        color: var(--light-1);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 40px rgba(77, 184, 255, 0.5);
        color: var(--neon-white);
    }
}

@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(128, 128, 128, 0.3);
        box-shadow: 0 0 15px rgba(128, 128, 128, 0.1);
    }
    50% {
        border-color: rgba(77, 184, 255, 0.6);
        box-shadow: 0 0 30px rgba(77, 184, 255, 0.3), inset 0 0 20px rgba(77, 184, 255, 0.1);
    }
}

@keyframes colorPulse {
    0%, 100% {
        opacity: 0.6;
        filter: drop-shadow(0 0 5px rgba(128, 128, 128, 0.2));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 15px rgba(77, 184, 255, 0.4));
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(128, 128, 128, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(77, 184, 255, 0.4)) drop-shadow(0 0 30px rgba(128, 128, 128, 0.2));
    }
}

@keyframes haloEffect {
    0% {
        box-shadow: 0 0 10px rgba(77, 184, 255, 0.2), 0 0 20px rgba(128, 128, 128, 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(77, 184, 255, 0.4), 0 0 50px rgba(77, 184, 255, 0.2), inset 0 0 15px rgba(77, 184, 255, 0.1);
    }
    100% {
        box-shadow: 0 0 10px rgba(77, 184, 255, 0.2), 0 0 20px rgba(128, 128, 128, 0.1);
    }
}

@keyframes shineWave {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes colorCycle {
    0% {
        filter: hue-rotate(0deg) brightness(1);
        color: var(--light-1);
    }
    25% {
        filter: hue-rotate(45deg) brightness(1.05);
        color: var(--neon-white);
    }
    50% {
        filter: hue-rotate(90deg) brightness(1);
        color: var(--light-1);
    }
    75% {
        filter: hue-rotate(45deg) brightness(1.05);
    }
    100% {
        filter: hue-rotate(0deg) brightness(1);
        color: var(--light-1);
    }
}

@keyframes glassGlow {
    0%, 100% {
        background: rgba(10, 10, 10, 0.6);
        backdrop-filter: blur(10px);
        box-shadow: 0 0 15px rgba(128, 128, 128, 0.1), inset 0 0 20px rgba(77, 184, 255, 0.05);
    }
    50% {
        background: rgba(10, 10, 10, 0.7);
        backdrop-filter: blur(15px);
        box-shadow: 0 0 30px rgba(77, 184, 255, 0.2), inset 0 0 30px rgba(77, 184, 255, 0.08);
    }
}

/* ===== NAVIGATION ===== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: var(--border-thin);
    z-index: 1000;
    padding: 22px 0;
    transition: var(--transition-normal);
}

.main-nav.scrolled {
    padding: 18px 0;
    background: rgba(0, 0, 0, 0.98);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--gray-mid);
    font-weight: 300;
}

.logo-text {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-1);
    letter-spacing: 0.5px;
}

.brand-tag {
    background: var(--gray-3);
    color: var(--gray-11);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: var(--border-thin);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    position: relative;
    color: var(--gray-9);
    text-decoration: none;
    font-family: 'Space Grotesk', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 0;
    transition: var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gray-mid);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--light-1);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--gray-mid);
    animation: neonGlow 3s ease-in-out infinite;
}

.nav-link.active::after {
    width: 100%;
    background: var(--gray-mid);
    animation: colorShimmer 2s ease-in-out infinite;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--gray-3);
    color: var(--light-1);
    border: var(--border-thin);
    border-radius: 20px;
    font-family: 'Space Grotesk', monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
}

.nav-btn:hover {
    background: var(--gray-4);
    border-color: var(--gray-mid);
    transform: translateY(-2px);
    box-shadow: var(--glow-soft);
}

.nav-btn i {
    font-size: 14px;
    color: var(--gray-mid);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(128, 128, 128, 0.05);
    border: var(--border-thin);
    padding: 10px 20px;
    border-radius: 20px;
    width: fit-content;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gray-mid);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.badge-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-10);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Space Grotesk', monospace;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 1.1;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.title-line {
    display: block;
}

.title-accent {
    color: var(--gray-mid);
    position: relative;
    display: inline-block;
    animation: neonGlow 4s ease-in-out infinite;
}

.title-spark {
    font-size: 2rem;
    color: var(--gray-9);
    opacity: 0.7;
}

/* Urdu line styling */
.urdu-line {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--light-1);
    display: block;
    margin: 0;
    text-align: center;
    letter-spacing: 0.6px;
    line-height: 1.1;
}

/* Welcome wrapper (Urdu + Romanized + English) */
.welcome-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.welcome-roman {
    font-family: 'Space Grotesk', monospace;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: var(--gray-mid);
    font-weight: 600;
    text-transform: none;
}

.welcome-english {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--gray-10);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-10);
    max-width: 520px;
    line-height: 1.7;
    font-weight: 400;
}

.text-accent {
    color: var(--gray-mid);
    font-weight: 500;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.metric-card {
    background: var(--gray-2);
    border: var(--border-thin);
    border-radius: var(--border-radius);
    padding: 25px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    animation: glassGlow 6s ease-in-out infinite;
}

.metric-card:hover {
    border-color: var(--gray-5);
    transform: translateY(-5px);
    box-shadow: var(--glow-cyan-intense);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    animation: colorShimmer 3s ease-in-out infinite;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--light-1);
    margin-bottom: 5px;
}

.metric-label {
    font-size: 11px;
    color: var(--gray-9);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.metric-bar {
    height: 3px;
    background: var(--gray-3);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 15px;
}

.metric-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--gray-3);
    color: var(--light-1);
    text-decoration: none;
    border: var(--border-thin);
    border-radius: 25px;
    font-family: 'Space Grotesk', monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    animation: haloEffect 4s ease-in-out infinite;
}

.btn-primary:hover {
    background: var(--gray-4);
    border-color: var(--gray-mid);
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan-intense);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: var(--transition-slow);
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: transparent;
    color: var(--light-1);
    text-decoration: none;
    border: var(--border-thin);
    border-radius: 25px;
    font-family: 'Space Grotesk', monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-secondary:hover {
    background: rgba(128, 128, 128, 0.05);
    border-color: var(--gray-mid);
    transform: translateY(-3px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-left: 10px;
}

.social-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-2);
    border: var(--border-thin);
    border-radius: 50%;
    color: var(--gray-9);
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-icon:hover {
    background: var(--gray-3);
    color: var(--light-1);
    border-color: var(--gray-mid);
    transform: translateY(-3px) rotate(5deg);
}

/* ===== PROFILE TERMINAL ===== */
.profile-terminal {
    background: var(--gray-2);
    border: var(--border-thin);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    animation: glassGlow 7s ease-in-out infinite;
}

.profile-content {
    padding: 35px;
}

.profile-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.profile-image-container {
    width: 200px;
    height: 200px;
    position: relative;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-full);
    overflow: hidden;
    border: 2px solid var(--gray-4);
    background: var(--gray-3);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-image-container::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px solid var(--gray-5);
    border-radius: var(--border-radius-full);
    opacity: 0.5;
    animation: colorPulse 4s ease-in-out infinite;
}

.profile-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-row {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: var(--gray-3);
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--gray-mid);
}

.info-label {
    min-width: 100px;
    color: var(--gray-10);
    font-family: 'Space Grotesk', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.info-value {
    color: var(--light-1);
    font-size: 14px;
    flex: 1;
}

/* ===== SECTIONS COMMON ===== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-5), transparent);
    z-index: -1;
}

.section-number {
    font-family: 'Space Grotesk', monospace;
    font-size: 8rem;
    font-weight: 800;
    color: var(--gray-3);
    opacity: 0.3;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: -1;
}

.section-title {
    font-family: 'Space Grotesk', monospace;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--light-1);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--gray-mid);
    border-radius: 1px;
    animation: colorShimmer 3s ease-in-out infinite;
}

.section-subtitle {
    color: var(--gray-9);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 25px;
}

/* ===== SKILLS SECTION ===== */
.skills-section {
    background: var(--black-2);
}

.skills-grid {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.skill-category {
    background: var(--gray-2);
    border: var(--border-thin);
    border-radius: var(--border-radius);
    padding: 35px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    animation: borderGlow 5s ease-in-out infinite;
}

.skill-category:hover {
    border-color: var(--gray-5);
    transform: translateY(-5px);
    box-shadow: var(--glow-cyan-intense);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 2px;
    background: var(--gradient-primary);
}

.category-title {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.3rem;
    color: var(--light-1);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: var(--border-thin);
    font-weight: 600;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.skill-name {
    min-width: 100px;
    color: var(--light-1);
    font-size: 14px;
    font-weight: 500;
}

.skill-bar {
    flex: 1;
    height: 6px;
    background: var(--gray-3);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.skill-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.skill-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shineWave 2.5s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skill-percent {
    min-width: 40px;
    color: var(--gray-mid);
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

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

.tech-tag {
    --pad-x: 12px;
    --pad-y: 8px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: var(--pad-y) var(--pad-x);
    border-radius: 18px;
    font-size: 12px;
    border: 1px solid rgba(128,128,128,0.08);
    background: linear-gradient(180deg, rgba(40,40,40,0.6), rgba(36,36,36,0.8));
    color: var(--gray-10);
    transition: transform 0.45s cubic-bezier(0.2,0.9,0.2,1), box-shadow 0.45s, background 0.8s;
    font-weight: 600;
    overflow: hidden;
    backdrop-filter: blur(6px);
    cursor: default;
}

.tech-tag:hover {
    transform: translateY(-8px) rotateX(6deg) scale(1.02);
    background: linear-gradient(90deg, rgba(0,255,255,0.03), rgba(213,128,255,0.03));
    color: var(--light-1);
    box-shadow: 0 8px 30px rgba(0,255,255,0.04), inset 0 1px 0 rgba(255,255,255,0.02);
}

.tech-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent 10%, rgba(77,184,255,0.06) 40%, rgba(213,128,255,0.06) 60%, transparent 90%);
    transform: skewX(-12deg);
    transition: none;
    pointer-events: none;
}

.tech-tag:hover::before {
    animation: shineWave 1s forwards;
}

.tech-in {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    animation: techPop 600ms cubic-bezier(0.2,0.9,0.2,1) forwards;
}

@keyframes techPop {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Urdu caret */
.urdu-caret {
    display: inline-block;
    width: 6px;
    height: 24px;
    background: var(--neon-white);
    margin-left: 6px;
    margin-right: 6px;
    opacity: 0.85;
    animation: blink 1s steps(2, start) infinite;
}

/* ===== EXPERIENCE SECTION ===== */
.experience-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.experience-column {
    display: flex;
    flex-direction: column;
}

.experience-column-title {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.6rem;
    color: var(--light-1);
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--light-1), var(--gray-mid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.experience-card {
    background: var(--gray-2);
    border: var(--border-thin);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    animation: glassGlow 6s ease-in-out infinite;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
}

.experience-card:hover {
    border-color: var(--gray-5);
    transform: translateY(-5px);
    box-shadow: var(--glow-cyan-intense);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.experience-role {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.2rem;
    color: var(--light-1);
    font-weight: 600;
    flex: 1;
}

.experience-date {
    background: var(--gray-3);
    color: var(--gray-11);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: var(--border-thin);
    white-space: nowrap;
}

.experience-company {
    color: var(--gray-mid);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 18px;
}

.experience-description {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-description li {
    color: var(--gray-9);
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.experience-description li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--cyan-1);
    font-weight: bold;
}

.experience-description li:last-child {
    margin-bottom: 0;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    background: var(--black-2);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.project-card {
    background: var(--gray-2);
    border: var(--border-thin);
    border-radius: var(--border-radius);
    padding: 35px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: haloEffect 5s ease-in-out infinite;
}

.project-card:hover {
    border-color: var(--gray-5);
    transform: translateY(-10px);
    box-shadow: var(--glow-cyan-intense);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    animation: colorShimmer 4s ease-in-out infinite;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
}

.project-icon {
    width: 52px;
    height: 52px;
    background: var(--gray-3);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-mid);
    font-size: 1.5rem;
    border: var(--border-thin);
}

.project-title {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.4rem;
    color: var(--light-1);
    font-weight: 600;
    flex: 1;
}

.project-description {
    color: var(--gray-10);
    line-height: 1.7;
    margin-bottom: 25px;
    flex: 1;
    font-size: 15px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.tech-badge {
    background: var(--gray-3);
    color: var(--gray-10);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    border: var(--border-thin);
    transition: var(--transition-normal);
    font-weight: 500;
}

.tech-badge:hover {
    background: var(--gray-4);
    color: var(--light-1);
    transform: translateY(-2px);
}

.project-links {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gray-3);
    color: var(--light-1);
    text-decoration: none;
    border: var(--border-thin);
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.project-link:hover {
    background: var(--gray-4);
    color: var(--light-1);
    border-color: var(--gray-mid);
    transform: translateY(-3px);
}

.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: var(--transition-slow);
}

.project-link:hover::before {
    left: 100%;
}

/* ===== CONTACT SECTION ===== */
.contact-unified {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.contact-box {
    background: linear-gradient(135deg, var(--gray-2) 0%, var(--gray-3) 100%);
    border: var(--border-thin);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.contact-info-section,
.contact-social-section {
    padding: 40px;
    border-right: var(--border-thin);
}

.contact-social-section {
    border-right: none;
}

.section-title-sm {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--light-1);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-title-sm i {
    color: var(--gray-mid);
    font-size: 16px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    transition: all 280ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(128, 128, 128, 0.3);
    transform: translateX(8px);
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.1), rgba(128, 128, 128, 0.05));
    border-radius: 8px;
    color: var(--gray-mid);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item:hover .contact-item-icon {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.2), rgba(128, 128, 128, 0.1));
}

.contact-item-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.contact-item-label {
    color: var(--gray-10);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-item-value {
    color: var(--light-1);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 220ms ease;
}

.contact-item-value:hover {
    color: var(--gray-mid);
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    text-decoration: none;
    transition: all 280ms cubic-bezier(0.2, 0.9, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.social-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(128, 128, 128, 0.3);
    transform: translateX(8px);
}

.social-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 280ms ease;
}

.github-card .social-card-icon {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(40, 40, 40, 0.6));
    color: #ffffff;
}

.github-card:hover .social-card-icon {
    background: linear-gradient(135deg, rgba(30, 30, 30, 1), rgba(40, 40, 40, 0.8));
}

.linkedin-card .social-card-icon {
    background: linear-gradient(135deg, rgba(0, 100, 180, 0.2), rgba(0, 120, 215, 0.1));
    color: #0a66c2;
}

.linkedin-card:hover .social-card-icon {
    background: linear-gradient(135deg, rgba(0, 100, 180, 0.3), rgba(0, 120, 215, 0.2));
}

.twitter-card .social-card-icon {
    background: linear-gradient(135deg, rgba(0, 172, 238, 0.2), rgba(29, 161, 242, 0.1));
    color: #1da1f2;
}

.twitter-card:hover .social-card-icon {
    background: linear-gradient(135deg, rgba(0, 172, 238, 0.3), rgba(29, 161, 242, 0.2));
}

.email-card .social-card-icon {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.2), rgba(128, 128, 128, 0.1));
    color: var(--gray-mid);
}

.email-card:hover .social-card-icon {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.3), rgba(128, 128, 128, 0.2));
}

.social-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.social-card h4 {
    color: var(--light-1);
    font-size: 14px;
    font-weight: 600;
}

.social-card p {
    color: var(--gray-10);
    font-size: 12px;
}

.social-card > i {
    color: var(--gray-mid);
    font-size: 14px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 220ms ease;
}

.social-card:hover > i {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-box {
        grid-template-columns: 1fr;
    }

    .contact-info-section,
    .contact-social-section {
        border-right: none;
        border-bottom: var(--border-thin);
        padding: 36px;
    }

    .contact-social-section {
        border-bottom: none;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .contact-unified {
        padding: 0 clamp(15px, 4vw, 25px);
    }
    
    .contact-box {
        grid-template-columns: 1fr;
    }

    .contact-info-section,
    .contact-social-section {
        padding: clamp(24px, 5vw, 32px);
        border-right: none;
        border-bottom: var(--border-thin);
    }

    .contact-social-section {
        border-bottom: none;
    }

    .contact-items {
        gap: 14px;
    }

    .contact-item {
        padding: 14px;
        gap: 12px;
    }

    .section-title-sm {
        font-size: 13px;
        margin-bottom: 24px;
        padding-bottom: 14px;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .social-card {
        padding: 14px;
        gap: 12px;
    }

    .social-card-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .social-card h4 {
        font-size: 13px;
    }

    .social-card p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .contact-unified {
        padding: 0 12px;
    }
    
    .contact-info-section,
    .contact-social-section {
        padding: 20px;
    }

    .contact-items {
        gap: 12px;
    }

    .contact-item {
        padding: 12px;
        gap: 12px;
    }

    .contact-item-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .section-title-sm {
        font-size: 12px;
        margin-bottom: 20px;
        gap: 10px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .social-card {
        padding: 12px;
        gap: 12px;
    }

    .social-card-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .social-card h4 {
        font-size: 12px;
    }

    .social-card p {
        font-size: 10px;
    }
}
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: var(--transition-normal);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gray-mid);
    background: var(--gray-4);
    box-shadow: var(--glow-soft);
}

.form-group textarea {
    min-height: 160px;
}

.submit-btn {
    width: 100%;
    padding: 18px 30px;
    background: var(--gray-3);
    color: var(--light-1);
    border: var(--border-thin);
    border-radius: var(--border-radius-sm);
    font-family: 'Space Grotesk', monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    animation: haloEffect 4s ease-in-out infinite;
}

.submit-btn:hover {
    background: var(--gray-4);
    border-color: var(--gray-mid);
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan-intense);
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: var(--transition-slow);
}

.submit-btn:hover::after {
    left: 100%;
}

.form-success {
    display: none;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--gray-3);
    border: var(--border-thin);
    border-radius: var(--border-radius);
    margin-top: 30px;
    animation: slideIn 0.3s ease;
}

.form-success i {
    font-size: 2.2rem;
    color: var(--gray-mid);
}

.success-content h4 {
    font-size: 1.1rem;
    color: var(--light-1);
    margin-bottom: 5px;
    font-weight: 600;
}

.success-content p {
    color: var(--gray-10);
    font-size: 14px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--black-1);
    border-top: var(--border-thin);
    padding: 70px 0 35px;
    position: relative;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 70px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo .logo-icon {
    font-size: 2.2rem;
}

.footer-tagline {
    color: var(--gray-10);
    font-size: 15px;
    line-height: 1.7;
    max-width: 320px;
    font-weight: 400;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h4 {
    color: var(--light-1);
    font-family: 'Space Grotesk', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.link-group a {
    display: block;
    color: var(--gray-10);
    text-decoration: none;
    margin-bottom: 14px;
    transition: var(--transition-normal);
    font-weight: 500;
}

.link-group a:hover {
    color: var(--gray-mid);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 35px;
    border-top: var(--border-thin);
}

.footer-copyright {
    color: var(--gray-9);
    font-size: 14px;
    font-weight: 500;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-9);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--gray-mid);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.footer-tech {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--gray-9);
    font-size: 14px;
}

.footer-tech i {
    font-size: 1.3rem;
    transition: var(--transition-normal);
    color: var(--gray-10);
}

.footer-tech i:hover {
    color: var(--gray-mid);
    transform: translateY(-3px);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--gray-2);
    border: var(--border-thick);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    transform: translateY(50px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-intense);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    background: var(--gray-3);
    padding: 25px 30px;
    border-bottom: var(--border-thin);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-title i {
    font-size: 1.8rem;
    color: var(--gray-mid);
}

.modal-title h3 {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.4rem;
    color: var(--light-1);
    font-weight: 600;
}

.modal-close {
    width: 46px;
    height: 46px;
    background: var(--gray-4);
    border: var(--border-thin);
    border-radius: var(--border-radius-sm);
    color: var(--light-1);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.modal-close:hover {
    background: var(--gray-5);
    border-color: var(--gray-mid);
    transform: rotate(90deg);
}

.modal-body {
    padding: 35px;
    overflow-y: auto;
    max-height: calc(90vh - 100px);
}

.resume-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.modal-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    font-family: 'Space Grotesk', monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: var(--border-thin);
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    background: var(--gray-3);
    color: var(--light-1);
}

.modal-btn.primary {
    background: var(--gray-4);
}

.modal-btn:hover {
    background: var(--gray-5);
    border-color: var(--gray-mid);
    transform: translateY(-3px);
    box-shadow: var(--glow-soft);
}

.resume-preview {
    background: var(--gray-3);
    border: var(--border-thin);
    border-radius: var(--border-radius);
    padding: 35px;
    min-height: 300px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: var(--gray-10);
}

.preview-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-4);
    border-top-color: var(--gray-mid);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    background: var(--gray-3);
    color: var(--light-1);
    border: var(--border-thin);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 100;
    box-shadow: var(--shadow-soft);
    animation: colorPulse 3s ease-in-out infinite;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: haloEffect 3s ease-in-out infinite;
}

.back-to-top:hover {
    background: var(--gray-4);
    border-color: var(--gray-mid);
    transform: translateY(-5px);
    box-shadow: var(--glow-cyan-intense);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1400px) {
    .hero-container,
    .nav-container,
    .footer-container {
        padding: 0 clamp(20px, 5vw, 40px);
    }
}

@media (max-width: 1200px) {
    .hero-grid {
        gap: 50px;
    }
    
    .section-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }
    
    .section-number {
        font-size: clamp(4rem, 10vw, 6rem);
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.95rem, 2vw, 1.1rem);
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .profile-terminal {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: clamp(40px, 8vw, 80px);
    }
    
    .nav-container {
        padding: 0 clamp(15px, 4vw, 25px);
        gap: 10px;
    }
    
    .nav-brand {
        flex: 1;
        min-width: 0;
    }
    
    .logo-text {
        display: none;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--black-1);
        flex-direction: column;
        padding: 20px;
        border-bottom: var(--border-thin);
        gap: 15px;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        color: var(--light-1);
        font-size: 1.3rem;
        cursor: pointer;
    }
    
    .hero-container {
        padding: 0 clamp(15px, 4vw, 25px);
    }
    
    .hero-section {
        padding-top: 80px;
        min-height: auto;
    }
    
    .hero-content {
        gap: 20px;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 2vw, 1rem);
        max-width: 100%;
    }
    
    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .metric-card {
        padding: clamp(12px, 3vw, 18px);
    }
    
    .metric-value {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    .metric-label {
        font-size: clamp(9px, 2vw, 11px);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 12px;
        width: 100%;
        justify-content: center;
    }
    
    .social-links {
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .profile-terminal {
        max-width: 100%;
    }
    
    .profile-content {
        padding: clamp(18px, 4vw, 25px);
    }
    
    .profile-image-container {
        width: 160px;
        height: 160px;
    }
    
    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }
    
    .section-number {
        font-size: clamp(3rem, 10vw, 5rem);
        top: -15px;
    }
    
    .section-subtitle {
        font-size: clamp(10px, 2vw, 12px);
        letter-spacing: 0.5px;
    }
    
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 clamp(15px, 4vw, 25px);
        gap: 20px;
    }

    .experience-container {
        grid-template-columns: 1fr;
        padding: 0 clamp(15px, 4vw, 25px);
        gap: 20px;
    }
    
    .skill-item {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .project-card {
        padding: clamp(16px, 4vw, 20px);
    }
    
    .project-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .project-title {
        font-size: clamp(16px, 4vw, 18px);
    }
    
    .project-description {
        font-size: clamp(13px, 2vw, 14px);
    }
    
    .tech-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .terminal-output {
        padding: clamp(18px, 4vw, 25px);
        font-size: clamp(11px, 2vw, 13px);
        min-height: auto;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 12px;
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 12px;
        width: 100%;
    }
    
    .modal-content {
        width: 95vw;
        max-width: 600px;
        padding: 20px;
    }
    
    .footer-container {
        padding: 0 clamp(15px, 4vw, 25px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        font-size: clamp(11px, 2vw, 13px);
    }
}

@media (max-width: 600px) {
    .terminal-screen {
        width: 95vw;
        max-width: calc(100vw - 20px);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .view-all-projects {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: clamp(25px, 5vw, 50px);
    }
    
    .nav-container {
        padding: 0 12px;
    }
    
    .logo-icon {
        font-size: 16px;
    }
    
    .brand-tag {
        font-size: 8px;
        padding: 3px 6px;
    }
    
    .nav-btn span {
        display: none;
    }
    
    .nav-cv span {
        display: none;
    }
    
    .hero-container {
        padding: 0 12px;
    }
    
    .hero-section {
        padding-top: 60px;
    }
    
    .hero-content {
        gap: 18px;
    }
    
    .hero-title {
        font-size: clamp(1.4rem, 4vw, 2rem);
        gap: 4px;
    }
    
    .hero-subtitle {
        font-size: clamp(0.85rem, 2vw, 0.95rem);
    }
    
    .hero-metrics {
        gap: 10px;
    }
    
    .metric-card {
        padding: 12px;
    }
    
    .metric-value {
        font-size: clamp(1.3rem, 3vw, 1.8rem);
    }
    
    .metric-label {
        font-size: 8px;
        letter-spacing: 0.3px;
    }
    
    .hero-actions {
        gap: 8px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 16px;
        font-size: 11px;
        border-radius: 16px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .profile-image-container {
        width: 130px;
        height: 130px;
    }
    
    .section-title {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
    }
    
    .section-number {
        font-size: clamp(2rem, 8vw, 4rem);
    }
    
    .section-subtitle {
        font-size: 9px;
        letter-spacing: 0.3px;
    }
    
    .skills-grid,
    .projects-grid {
        padding: 0 12px;
    }

    .experience-container {
        padding: 0 12px;
    }
    
    .skill-item {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .skill-icon {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .skill-name {
        font-size: 13px;
    }
    
    .project-card {
        padding: 14px;
    }
    
    .project-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .project-title {
        font-size: 15px;
    }
    
    .project-description {
        font-size: 12px;
    }
    
    .tech-badge {
        font-size: 9px;
        padding: 4px 8px;
    }
    
    .terminal-output {
        padding: 16px;
        font-size: 11px;
    }
    
    .terminal-line {
        font-size: 11px;
    }
    
    .form-group label {
        font-size: 11px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 13px;
        padding: 10px;
    }
    
    .submit-btn {
        padding: 10px 16px;
        font-size: 11px;
        border-radius: 16px;
    }
    
    .footer-container {
        padding: 0 12px;
    }
    
    .footer-links {
        gap: 15px;
    }
    
    .footer-bottom {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .nav-container,
    .hero-container,
    .footer-container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: clamp(1.2rem, 3vw, 1.6rem);
    }
    
    .section-title {
        font-size: clamp(1.1rem, 3vw, 1.5rem);
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 8px 12px;
        font-size: 10px;
    }
}

/* ===== VIEW ALL PROJECTS BUTTON ===== */
.view-all-projects {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0,255,255,0.06), rgba(213,128,255,0.04));
    color: var(--light-1);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: var(--glow-soft);
    transition: transform 240ms cubic-bezier(.2,.9,.2,1), box-shadow 240ms ease, opacity 240ms ease;
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(6px) saturate(120%);
}
.view-all-projects i {
    font-size: 1.05rem;
    color: var(--neon-cyan);
    transition: transform 240ms ease, color 240ms ease;
    display: inline-block;
    margin-top: 1px;
}
.view-all-projects span { display:inline-block; transform: translateZ(0); }

@keyframes viewBtnPulse {
    0% { box-shadow: 0 6px 18px rgba(0,255,255,0.00); transform: translateY(0); }
    50% { box-shadow: 0 10px 40px rgba(0,255,255,0.06); transform: translateY(-2px); }
    100% { box-shadow: 0 6px 18px rgba(0,255,255,0.00); transform: translateY(0); }
}

.view-all-projects:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 60px rgba(77,184,255,0.08), 0 0 60px rgba(213,128,255,0.04);
    text-decoration: none;
}

.view-all-projects:focus { outline: none; box-shadow: 0 0 0 4px rgba(0,255,255,0.04); }

/* gentle idle pulse for attention without being flashy */
.view-all-projects:not(:hover) {
    animation: viewBtnPulse 6.5s ease-in-out infinite;
    opacity: 0.98;
}

/* ===== STICKY NAV + SCROLL PROGRESS ===== */
.main-nav {
    position: relative;
    transition: background 360ms ease, box-shadow 360ms ease, transform 360ms ease;
    z-index: 1000;
}
.main-nav.sticky {
    position: fixed;
    top: 12px;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: var(--container-max);
    background: linear-gradient(180deg, rgba(10,10,10,0.65), rgba(10,10,10,0.45));
    backdrop-filter: blur(8px) saturate(120%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 2px 12px rgba(77,184,255,0.03);
    border-radius: 12px;
    padding: 8px 16px;
}
.nav-cv {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--light-1);
    background: linear-gradient(90deg, rgba(0,255,255,0.06), rgba(213,128,255,0.03));
    border: 1px solid rgba(255,255,255,0.04);
    text-decoration: none;
    font-weight: 700;
}
.nav-cv i { color: var(--neon-cyan); }

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    z-index: 1500;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.02) 100%);
}
.scroll-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,255,255,0.9), rgba(213,128,255,0.85));
    box-shadow: 0 4px 22px rgba(77,184,255,0.08), 0 0 40px rgba(213,128,255,0.03);
    transition: width 160ms linear;
}

/* ===== PROJECT CARD TILT + MODAL ===== */
.project-card {
    transform-style: preserve-3d;
    transition: transform 280ms cubic-bezier(.2,.9,.2,1), box-shadow 280ms ease;
    will-change: transform;
    cursor: pointer;
}
.project-card:hover { transform: translateY(-6px) rotateX(2deg) rotateY(-2deg); box-shadow: var(--shadow-medium); }

.project-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.project-modal[aria-hidden="false"] { display: flex; }
.project-modal-overlay {
    position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.6));
}
.project-modal-card {
    position: relative;
    width: min(960px, 94%);
    max-height: 86vh;
    overflow: auto;
    background: linear-gradient(180deg, rgba(20,20,20,0.96), rgba(12,12,12,0.98));
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7), var(--glow-medium);
    z-index: 2100;
}
.project-modal-close {
    position: absolute; right: 14px; top: 14px; background: transparent; border: none; color: var(--light-1); font-size: 18px;
}
.project-modal-body h3 { margin-bottom: 10px; }
.project-modal-tech { display:flex; gap:8px; flex-wrap:wrap; margin:14px 0 18px 0; }
.project-modal-links a { display:inline-flex; gap:8px; align-items:center; margin-right:12px; color:var(--light-1); text-decoration:none; }

/* ===== SOCIAL FLOATING BAR ===== */
.social-bar {
    position: fixed; left: 18px; bottom: 28px; display:flex; flex-direction:column; gap:12px; z-index:1400;
}
.social-bar a { display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:10px; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); color:var(--light-1); text-decoration:none; box-shadow: var(--shadow-soft); }
.social-bar a i { color: var(--neon-cyan); }

@media (max-width: 880px) {
    .main-nav.sticky { top: 8px; padding: 6px 12px; border-radius: 8px; }
    .social-bar { left: 10px; bottom: 16px; }
}

/* ===== NAV TIME ===== */
.nav-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    padding: 6px 10px;
    margin: 0 8px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    color: var(--light-1);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.6px;
    border: 1px solid rgba(255,255,255,0.03);
}

@media (max-width: 640px) {
    .nav-time { display: none; }
}

/* ===== SKILL ICONS & METERS ===== */
.skill-item { display:flex; align-items:center; gap:14px; padding:12px 14px; background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00)); border-radius:12px; border:1px solid rgba(255,255,255,0.02); transition: transform 260ms ease, box-shadow 260ms ease; }
.skill-item:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
.skill-icon { width:54px; height:54px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:22px; color:var(--neon-cyan); background: linear-gradient(135deg, rgba(0,255,255,0.06), rgba(213,128,255,0.03)); border:1px solid rgba(255,255,255,0.03); box-shadow: 0 6px 18px rgba(0,0,0,0.5); }
.skill-meta { flex:1; display:flex; flex-direction:column; gap:6px; }
.skill-name { font-weight:700; color:var(--light-1); }
.skill-sub { color:var(--gray-10); font-size:13px; }

.skill-meter { width:64px; height:64px; position:relative; }
.skill-meter svg { width:100%; height:100%; transform: rotate(-90deg); }
.skill-meter .meter-bg { stroke: rgba(255,255,255,0.04); stroke-width:8; fill:none; }
.skill-meter .meter-fg { stroke: url(#meterGradient); stroke-width:8; stroke-linecap:round; transition: stroke-dashoffset 900ms cubic-bezier(.2,.9,.2,1); }
.skill-meter .meter-label { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:12px; color:var(--light-1); font-weight:700; }

@keyframes skillPulse {
    0% { box-shadow: 0 6px 20px rgba(0,255,255,0.00); transform: scale(1); }
    50% { box-shadow: 0 18px 50px rgba(0,255,255,0.06); transform: scale(1.03); }
    100% { box-shadow: 0 6px 20px rgba(0,255,255,0.00); transform: scale(1); }
}
.skill-icon.pulse { animation: skillPulse 3.2s ease-in-out infinite; }

/* subtle badge for tech tags */
.tech-tag { display:inline-flex; align-items:center; gap:8px; padding:8px 10px; border-radius:999px; background: linear-gradient(90deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00)); border:1px solid rgba(255,255,255,0.03); transition: transform 220ms ease, box-shadow 220ms ease; }
.tech-tag:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.6); }

/* Technology sections layout */
.tech-sections { display:flex; gap:18px; margin-top: 14px; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; }
.tech-section { background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00)); padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.02); flex:1 1 220px; min-width:220px; }
.tech-section-title { font-size: 13px; color: var(--gray-12); letter-spacing: 1px; margin-bottom: 8px; }
.tech-list { list-style: none; display:flex; flex-direction:column; gap:8px; }
.tech-item { display:flex; align-items:center; gap:10px; color:var(--light-1); font-weight:600; padding:8px; border-radius:8px; transition: background 220ms ease, transform 180ms ease; min-width:0; }
.tech-item i { width:30px; height:30px; display:inline-flex; align-items:center; justify-content:center; font-size:16px; color:var(--neon-cyan); background: linear-gradient(135deg, rgba(0,255,255,0.04), rgba(213,128,255,0.02)); border-radius:8px; border:1px solid rgba(255,255,255,0.02); flex:0 0 30px; }
.tech-item:hover { transform: translateX(6px); background: rgba(255,255,255,0.02); box-shadow: 0 14px 40px rgba(0,0,0,0.6); }
.tech-item span { display:inline-block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

@media (max-width: 980px) {
    .tech-sections { gap:12px; }
}
@media (max-width: 560px) {
    .tech-sections { flex-direction:column; gap:10px; }
    .tech-section { min-width: 0; }
}