@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #030711; --surface: rgba(255,255,255,0.045); --surface-strong: rgba(255,255,255,0.08); --border: rgba(255,255,255,0.09);
    --text: #f7fbff; --text-muted: rgba(226,236,255,0.62); --accent: #58e6ff; --accent2: #4f7cff; --accent3: #ff8a5b;
    --gradient: linear-gradient(135deg, #58e6ff 0%, #4f7cff 50%, #ff8a5b 100%);
    --bg-gradient: radial-gradient(circle at top, rgba(79,124,255,0.22), transparent 35%), radial-gradient(circle at 80% 20%, rgba(88,230,255,0.18), transparent 28%), radial-gradient(circle at 50% 100%, rgba(255,138,91,0.12), transparent 36%), linear-gradient(180deg, #050913 0%, #030711 55%, #02050c 100%);
    --radius: 22px; --radius-sm: 14px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg-gradient); color: var(--text); overflow-x: hidden; cursor: auto; }
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 110px 110px;
    mask-image: radial-gradient(circle at center, black 38%, transparent 85%);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(88,230,255,0.35); border-radius: 3px; }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 9999; background: radial-gradient(circle at center, rgba(79,124,255,0.14), transparent 40%), #02050c; display: flex; align-items: center; justify-content: center; transition: opacity 0.8s, visibility 0.8s; }
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-ring { width: 60px; height: 60px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; margin: 0 auto 1.5rem; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text { font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; letter-spacing: 3px; color: var(--text-muted); display: block; }
.loader-percent { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-top: 0.5rem; }

/* Cursor */
.custom-cursor { position: fixed; width: 36px; height: 36px; border: 1.5px solid rgba(255,255,255,0.5); border-radius: 50%; pointer-events: none; z-index: 10000; transition: transform 0.15s ease, background 0.2s, border-color 0.2s; mix-blend-mode: difference; transform: translate(-50%, -50%); display: none; }
.custom-cursor.hover { transform: translate(-50%, -50%) scale(2); background: rgba(255,255,255,0.08); border-color: var(--accent); box-shadow: 0 0 35px rgba(88,230,255,0.3); }
.cursor-dot { position: fixed; width: 6px; height: 6px; background: #fff; border-radius: 50%; pointer-events: none; z-index: 10001; transform: translate(-50%, -50%); transition: transform 0.05s; display: none; }

body.has-custom-cursor .custom-cursor,
body.has-custom-cursor .cursor-dot {
    display: block;
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor .project-card,
body.has-custom-cursor .skill-category,
body.has-custom-cursor input,
body.has-custom-cursor textarea {
    cursor: none;
}

/* Progress */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--gradient); width: 0%; z-index: 10000; }

/* Canvas */
#canvas-container { position: fixed; inset: 0; z-index: 1; }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 3rem; backdrop-filter: blur(20px); background: rgba(4,10,20,0.62); border-bottom: 1px solid var(--border); box-shadow: 0 10px 40px rgba(0,0,0,0.2); transform: translateY(-100%); transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.nav.visible { transform: translateY(0); }
.nav-logo { display: flex; align-items: center; gap: 0.55rem; }
.logo-icon { flex-shrink: 0; }
.logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 1.18rem; font-weight: 700; color: var(--text); -webkit-text-fill-color: var(--text); }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-link { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.5px; transition: color 0.3s; position: relative; padding-bottom: 4px; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gradient); transition: width 0.3s; border-radius: 1px; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after, .nav-link:hover::after { width: 100%; }
.nav-cta { padding: 0.55rem 1.3rem; background: transparent; border: 1.5px solid var(--accent2); color: white; font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 600; border-radius: 50px; cursor: pointer; transition: all 0.3s; }
.nav-cta:hover { background: rgba(79,124,255,0.15); border-color: var(--accent); box-shadow: 0 0 24px rgba(79,124,255,0.25); transform: translateY(-1px); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; flex-direction: column; gap: 5px; }
.nav-hamburger span { width: 24px; height: 2px; background: white; border-radius: 1px; transition: all 0.3s; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: rgba(3,7,17,0.96); backdrop-filter: blur(30px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu li { margin: 1.5rem 0; }
.mobile-menu a { color: white; text-decoration: none; font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; transition: color 0.3s; }
.mobile-menu a:hover { color: var(--accent); }

/* Scroll Container */
.scroll-container { position: relative; z-index: 2; }
.section { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 6rem 3rem; position: relative; overflow: hidden; }
.section-inner { max-width: 1200px; width: 100%; margin: 0 auto; }
.section-tag { font-size: 0.8rem; font-weight: 600; letter-spacing: 3px; color: var(--accent); text-transform: uppercase; display: inline-block; margin-bottom: 1rem; }
.section-heading { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -1px; line-height: 1.15; margin-bottom: 2rem; }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Glass Card */
.glass-card { background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)); border: 1px solid var(--border); border-radius: var(--radius); backdrop-filter: blur(24px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 20px 60px rgba(0,0,0,0.22); transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.glass-card:hover { border-color: rgba(88,230,255,0.24); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 80px rgba(79,124,255,0.12); transform: translateY(-4px); }
.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.8rem; border-radius: 50px; font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.3s; border: none; }
.btn-primary { background: var(--gradient); color: white; box-shadow: 0 10px 35px rgba(79,124,255,0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 42px rgba(79,124,255,0.42); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(88,230,255,0.06); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); margin-top: 1.5rem; }
.btn-outline:hover { border-color: var(--accent); background: rgba(88,230,255,0.08); }
.btn-full { width: 100%; justify-content: center; }

/* Hero Section */
.section-hero {
    align-items: stretch;
    padding-top: 5rem;
    padding-bottom: 0;
    min-height: 100vh;
    max-height: 100vh;
    background:
        radial-gradient(circle at 68% 38%, rgba(67, 90, 255, 0.26), transparent 24%),
        radial-gradient(circle at 78% 82%, rgba(255, 144, 94, 0.18), transparent 24%),
        linear-gradient(90deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 50%),
        linear-gradient(180deg, rgba(6, 10, 28, 0.96), rgba(3, 6, 18, 0.96));
    background-size: auto, auto, calc(50% - 1px) 100%, auto;
    background-position: center, center, center, center;
}
.hero-orb, .hero-grid, .hero-stars {
    position: absolute;
    pointer-events: none;
}
.hero-orb {
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
}
.hero-orb-left {
    top: 14%;
    right: 24%;
    left: auto;
    background: radial-gradient(circle, rgba(70, 114, 255, 0.52), transparent 66%);
    animation: driftOrb 12s ease-in-out infinite;
}
.hero-orb-right {
    right: 2%;
    bottom: 2%;
    background: radial-gradient(circle, rgba(255,138,91,0.24), transparent 65%);
    animation: driftOrb 14s ease-in-out infinite reverse;
}
.hero-grid {
    inset: 0;
    height: 100%;
    background:
        linear-gradient(rgba(100,120,255,0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100,120,255,0.08) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.12;
    mask-image: radial-gradient(circle at center, rgba(0,0,0,0.95), transparent 85%);
}
.hero-stars {
    inset: 0;
    background-image:
        radial-gradient(circle at 18% 24%, rgba(255,255,255,0.55) 0 1px, transparent 1.5px),
        radial-gradient(circle at 72% 18%, rgba(112,161,255,0.75) 0 1px, transparent 1.6px),
        radial-gradient(circle at 66% 48%, rgba(255,255,255,0.42) 0 1px, transparent 1.4px),
        radial-gradient(circle at 84% 58%, rgba(255,146,98,0.7) 0 1px, transparent 1.7px),
        radial-gradient(circle at 40% 72%, rgba(122,141,255,0.52) 0 1px, transparent 1.6px),
        radial-gradient(circle at 58% 82%, rgba(255,255,255,0.35) 0 1px, transparent 1.4px);
    opacity: 0.8;
}
.hero-content {
    opacity: 0;
    animation: fadeUp 1s 0.35s forwards;
    width: min(1520px, calc(100% - 5rem));
    margin: 0 auto;
    position: relative;
    z-index: 2;
    height: calc(100vh - 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } from { opacity: 0; transform: translateY(30px); } }
.hero-shell {
    display: grid;
    grid-template-columns: minmax(300px, 30rem) minmax(420px, 1fr);
    align-items: center;
    gap: 2.5rem;
    flex: 1;
    min-height: 0;
}
.hero-copy {
    max-width: 30rem;
    text-align: left;
    padding: 0;
}
.hero-tag { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.75rem; color: #f2f7ff; background: rgba(255,255,255,0.05); padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid rgba(160,177,255,0.22); margin-bottom: 1.4rem; box-shadow: 0 18px 35px rgba(4,10,30,0.18); }
.hero-tag-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse-dot 2s infinite; }
.hero-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -1.8px; margin-bottom: 1.2rem; }
.hero-line { display: block; }
.hero-line-accent { background: linear-gradient(90deg, #2e9eff 0%, #7181ff 56%, #ff9770 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: clamp(0.88rem, 1.1vw, 0.98rem); color: rgba(230,236,255,0.74); max-width: 28rem; margin: 0 0 1.8rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; justify-content: flex-start; margin-bottom: 0; flex-wrap: wrap; }
.hero-primary-btn {
    min-height: 3.2rem;
    padding: 0.6rem 1.5rem 0.6rem 0.65rem;
    box-shadow: 0 18px 40px rgba(79,124,255,0.24);
}
.hero-btn-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.9);
    color: #3153ff;
}
.hero-secondary-btn {
    min-height: 3.2rem;
    padding: 0.6rem 1.8rem;
    border-color: rgba(132, 148, 255, 0.45);
    background: rgba(9, 12, 34, 0.44);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}
.hero-secondary-btn:hover {
    color: var(--text);
    border-color: rgba(160, 177, 255, 0.72);
    background: rgba(20, 26, 60, 0.56);
}
.hero-visual-column {
    position: relative;
    min-height: 0;
    height: 100%;
    max-height: calc(100vh - 12rem);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-orbit {
    position: absolute;
    border: 1px solid rgba(103, 118, 255, 0.34);
    border-radius: 50%;
    pointer-events: none;
}
.hero-orbit-main {
    width: 32rem;
    height: 32rem;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
}
.hero-orbit-secondary {
    width: 22rem;
    height: 22rem;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    opacity: 0.16;
}
.hero-planet-arc {
    position: absolute;
    left: -3%;
    right: -18%;
    bottom: 0.15rem;
    height: 13rem;
    border-top: 2px solid transparent;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background:
        linear-gradient(90deg, rgba(44, 116, 255, 0.2), rgba(44, 116, 255, 0.2)) padding-box,
        linear-gradient(90deg, #2467ff 0%, #9e6fff 52%, #ff8b5b 100%) border-box;
    mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    opacity: 0.96;
    filter: drop-shadow(0 -10px 24px rgba(78, 98, 255, 0.3));
}
.hero-visual-frame {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 0.85 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-core-glow {
    position: absolute;
    inset: 16% 18%;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(72, 115, 255, 0.86) 0%, rgba(72, 115, 255, 0.38) 34%, rgba(47, 60, 170, 0.16) 56%, transparent 74%),
        radial-gradient(circle at 52% 74%, rgba(255, 143, 92, 0.34), transparent 36%);
    filter: blur(18px);
    animation: glowPulse 4s ease-in-out infinite;
}
.hero-mark {
    position: relative;
    width: 82%;
    max-width: 420px;
    transform: translateY(0.5rem) rotate(-4deg);
    filter: drop-shadow(0 30px 90px rgba(45, 68, 255, 0.55));
    animation: heroFloat 6s ease-in-out infinite;
    transform-origin: center center;
}
.hero-feature-card {
    position: absolute;
    width: min(220px, 26vw);
    padding: 0.85rem 1rem;
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    z-index: 3;
    background: linear-gradient(180deg, rgba(13, 18, 47, 0.88), rgba(8, 11, 28, 0.7));
    border-color: rgba(114, 129, 255, 0.2);
    border-radius: 1.3rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 40px rgba(0,0,0,0.18);
    animation: cardFloat 5s ease-in-out infinite;
    transition: transform 0.4s, box-shadow 0.4s, border-color 0.3s;
}
.hero-feature-card:hover {
    border-color: rgba(88,230,255,0.35);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 24px 60px rgba(79,124,255,0.18);
}
.hero-feature-card-top { animation-delay: 0s; }
.hero-feature-card-right { animation-delay: -1.8s; }
.hero-feature-card-bottom { animation-delay: -3.5s; }
.hero-feature-card p {
    color: rgba(230,236,255,0.8);
    font-size: 0.78rem;
    line-height: 1.45;
}
.hero-feature-card-top {
    top: 4rem;
    left: -1rem;
}
.hero-feature-card-right {
    top: 5rem;
    right: -2.5rem;
}
.hero-feature-card-bottom {
    right: -1.5rem;
    bottom: 5rem;
}
.hero-feature-icon {
    width: 2.3rem;
    height: 2.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4f7cff;
    flex: 0 0 auto;
}
.hero-feature-label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.68rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #eef3ff;
}
.hero-trust {
    margin-top: auto;
    padding-top: 1.2rem;
    padding-bottom: 1.8rem;
}
.hero-trust-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(205,212,238,0.8);
    margin-bottom: 1rem;
}
.hero-trust-logos {
    display: flex;
    gap: 2.7rem;
    flex-wrap: wrap;
    align-items: center;
    color: rgba(176,184,212,0.66);
    font-size: 0.92rem;
    font-weight: 600;
}
.hero-trust-logos span {
    font-size: clamp(0.96rem, 1.2vw, 1.05rem);
    opacity: 0.72;
}

/* About Section */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.about-text { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; font-size: 1rem; }
.about-details { display: grid; gap: 0.8rem; margin-top: 1.5rem; }
.detail-item { display: flex; gap: 1rem; font-size: 0.9rem; }
.detail-label { color: var(--text-muted); min-width: 100px; }
.detail-value { font-weight: 600; }
.about-card { padding: 2rem; text-align: center; position: relative; }
.about-avatar { width: 120px; height: 120px; margin: 0 auto 1.5rem; position: relative; }
.avatar-ring { position: absolute; inset: -4px; border-radius: 50%; background: var(--gradient); animation: spin 4s linear infinite; }
.avatar-placeholder { position: relative; width: 100%; height: 100%; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--accent); }
.about-card-info h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; margin-bottom: 0.3rem; }
.about-card-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.about-card-social { display: flex; justify-content: center; gap: 1rem; }
.social-link { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text-muted); transition: all 0.3s; text-decoration: none; }
.social-link:hover { background: rgba(167,139,250,0.15); border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 1rem; }
.section-glow, .section-grid-lines, .contact-orbit {
    position: absolute;
    pointer-events: none;
}
.section-glow {
    width: 26rem;
    height: 26rem;
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.2;
}
.section-glow-left {
    left: -10rem;
    top: 10rem;
    background: radial-gradient(circle, rgba(88,230,255,0.5), transparent 70%);
}
.section-glow-right {
    right: -8rem;
    bottom: 4rem;
    background: radial-gradient(circle, rgba(255,138,91,0.38), transparent 70%);
}
.project-card { border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)); border: 1px solid var(--border); transition: all 0.4s; cursor: pointer; position: relative; transform-style: preserve-3d; }
.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(88,230,255,0.12), transparent 40%, rgba(255,138,91,0.1));
    opacity: 0;
    transition: opacity 0.35s;
}
.project-card:hover::after { opacity: 1; }
.project-card:hover { border-color: rgba(88,230,255,0.26); transform: translateY(-8px); box-shadow: 0 24px 70px rgba(0,0,0,0.4); }
.project-image { height: 220px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.project-image::before {
    content: '';
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 24px;
    transform: rotate(-7deg);
    opacity: 0.7;
}
.project-image-content { font-size: 4rem; z-index: 1; transition: transform 0.4s; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.22)); }
.project-card:hover .project-image-content { transform: scale(1.1); }
.project-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.project-card:hover .project-overlay { opacity: 1; }
.project-view { font-weight: 600; font-size: 0.9rem; color: white; padding: 0.6rem 1.4rem; border: 1px solid white; border-radius: 50px; }
.project-info { padding: 1.5rem; }
.project-tags { display: flex; gap: 0.5rem; margin-bottom: 0.8rem; flex-wrap: wrap; }
.tag { font-size: 0.7rem; padding: 0.25rem 0.7rem; border-radius: 50px; background: rgba(88,230,255,0.1); color: var(--accent); font-weight: 500; }
.project-info h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; margin-bottom: 0.5rem; }
.project-info p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* Skills */
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.section-grid-lines {
    inset: 0;
    background:
        linear-gradient(rgba(79,124,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79,124,255,0.08) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, black 26%, transparent 82%);
    opacity: 0.28;
}
.skill-category { padding: 1.8rem; text-align: center; position: relative; overflow: hidden; }
.skill-category::after {
    content: '';
    position: absolute;
    inset: auto -20% -45% -20%;
    height: 60%;
    background: radial-gradient(circle, rgba(88,230,255,0.16), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s;
}
.skill-category:hover::after { opacity: 1; }
.skill-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; }
.skill-category h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; margin-bottom: 1rem; }
.skill-list { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.skill-tag { font-size: 0.75rem; padding: 0.3rem 0.7rem; border-radius: 50px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text-muted); transition: all 0.3s; }
.skill-tag:hover { border-color: var(--accent); color: var(--accent); background: rgba(88,230,255,0.08); }

/* Experience */
.experience-section { margin-top: 4rem; }
.exp-heading { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; margin-bottom: 2rem; text-align: center; }
.timeline { display: grid; gap: 1.5rem; max-width: 700px; margin: 0 auto; }
.timeline-item { padding: 1.5rem 1.5rem 1.5rem 2.5rem; position: relative; }
.timeline-dot { position: absolute; left: 1rem; top: 1.8rem; width: 10px; height: 10px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 16px rgba(88,230,255,0.45); }
.timeline-date { font-size: 0.75rem; color: var(--accent); font-weight: 600; letter-spacing: 1px; }
.timeline-item h4 { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; margin: 0.4rem 0 0.2rem; }
.timeline-company { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.4rem; }
.timeline-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-text { color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; font-size: 1.05rem; }
.contact-info { display: grid; gap: 1rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; color: var(--text-muted); text-decoration: none; font-size: 0.95rem; padding: 0.8rem 1rem; border-radius: var(--radius-sm); transition: all 0.3s; }
.contact-item:hover { background: rgba(88,230,255,0.06); color: var(--accent); }
.contact-form { padding: 2rem; }
.contact-orbit {
    border-radius: 50%;
    border: 1px solid rgba(88,230,255,0.15);
    animation: spin 20s linear infinite;
}
.contact-orbit-a {
    width: 28rem;
    height: 28rem;
    right: -8rem;
    top: 10%;
}
.contact-orbit-b {
    width: 18rem;
    height: 18rem;
    left: -5rem;
    bottom: 8%;
    animation-duration: 14s;
    border-color: rgba(255,138,91,0.18);
}
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.5rem; letter-spacing: 0.5px; }
.form-group input, .form-group textarea { width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.85rem 1rem; color: white; font-family: 'Inter', sans-serif; font-size: 0.9rem; transition: border-color 0.3s, box-shadow 0.3s; outline: none; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(167,139,250,0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.2); }

/* Tooltip */
.project-tooltip { position: fixed; bottom: 3rem; left: 50%; transform: translateX(-50%) translateY(20px); background: rgba(255,255,255,0.06); backdrop-filter: blur(20px); border: 1px solid var(--border); padding: 1rem 2rem; border-radius: 14px; opacity: 0; transition: all 0.4s; pointer-events: none; z-index: 200; text-align: center; box-shadow: 0 24px 80px rgba(0,0,0,0.24); }
.project-tooltip.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.project-tooltip h3 { font-family: 'Space Grotesk', sans-serif; margin-bottom: 0.3rem; font-size: 1rem; }
.project-tooltip p { font-size: 0.85rem; color: var(--text-muted); }

/* Footer */
.footer { position: relative; z-index: 2; background: rgba(4,10,20,0.76); border-top: 1px solid var(--border); padding: 2rem 3rem; backdrop-filter: blur(20px); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }

/* Reveal animations - defined in advanced 3D effects section below */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .reveal,
    .hero-content {
        opacity: 1;
        transform: none;
    }

    .custom-cursor,
    .cursor-dot {
        display: none !important;
    }
}

/* Responsive */
@media (max-width: 1280px) {
    .hero-shell { gap: 2rem; }
    .hero-feature-card-right { right: -1rem; }
    .hero-feature-card-bottom { right: -0.5rem; }
}

@media (max-width: 1024px) {
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .section-hero { max-height: none; }
    .hero-content { height: auto; }
    .hero-shell { grid-template-columns: 1fr; gap: 2rem; }
    .hero-copy { max-width: 100%; padding-top: 1rem; text-align: center; }
    .hero-tag { margin-left: auto; margin-right: auto; }
    .hero-title { text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-visual-column { min-height: 480px; max-height: none; }
    .hero-orbit-main { right: 50%; top: 50%; transform: translate(50%, -50%); width: 28rem; height: 28rem; }
    .hero-orbit-secondary { right: 50%; top: 50%; transform: translate(50%, -50%); width: 19rem; height: 19rem; }
    .hero-feature-card-top { left: 2%; top: 3rem; }
    .hero-feature-card-right { right: 0; }
    .hero-feature-card-bottom { right: 2%; }
    .hero-trust { margin-top: 1rem; text-align: center; }
    .hero-trust-logos { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .projects-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav { padding: 0.9rem 1.2rem; }
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .logo-text { font-size: 1.05rem; }

    .section { padding: 3.5rem 1.2rem; min-height: auto; }
    .section-heading { font-size: clamp(1.7rem, 6vw, 2.4rem); margin-bottom: 1.5rem; }
    .section-tag { font-size: 0.72rem; letter-spacing: 2.5px; }

    /* Hero mobile */
    .section-hero { padding-top: 4.5rem; padding-bottom: 2rem; max-height: none; }
    .hero-content { width: calc(100% - 1.5rem); height: auto; }
    .hero-shell { gap: 1.5rem; }
    .hero-copy { padding-top: 0.5rem; }
    .hero-title { font-size: clamp(1.8rem, 7.5vw, 2.6rem); letter-spacing: -1.2px; line-height: 1.15; margin-bottom: 1rem; }
    .hero-subtitle { font-size: 0.88rem; line-height: 1.65; margin-bottom: 1.5rem; }
    .hero-tag { font-size: 0.7rem; padding: 0.5rem 0.9rem; margin-bottom: 1rem; }
    .hero-actions { flex-direction: column; width: 100%; gap: 0.8rem; }
    .hero-primary-btn, .hero-secondary-btn { width: 100%; justify-content: center; min-height: 2.8rem; font-size: 0.85rem; }

    /* Hero visual mobile - stack cards below */
    .hero-visual-column {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: auto;
        max-height: none;
        gap: 0.8rem;
    }
    .hero-visual-frame { width: 80%; max-width: 320px; }
    .hero-mark { width: 75%; animation: heroFloat 6s ease-in-out infinite; }
    .hero-feature-card {
        position: relative;
        inset: auto;
        width: 100%;
        max-width: 320px;
        animation: none;
    }
    .hero-feature-card-top,
    .hero-feature-card-right,
    .hero-feature-card-bottom {
        top: auto; right: auto; bottom: auto; left: auto;
    }
    .hero-orbit-main { width: 20rem; height: 20rem; }
    .hero-orbit-secondary { width: 14rem; height: 14rem; }
    .hero-planet-arc { left: -8%; right: -8%; bottom: auto; top: 55%; height: 8rem; }
    .hero-orb { width: 14rem; height: 14rem; opacity: 0.22; }
    .hero-trust { padding-top: 1rem; padding-bottom: 1rem; }
    .hero-trust-label { font-size: 0.68rem; margin-bottom: 0.8rem; }
    .hero-trust-logos { gap: 1rem 1.4rem; justify-content: center; }
    .hero-trust-logos span { font-size: 0.88rem; }

    /* About mobile */
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-text { font-size: 0.92rem; line-height: 1.7; }
    .about-details { gap: 0.6rem; }
    .detail-item { font-size: 0.85rem; }
    .about-card { padding: 1.5rem; }
    .about-avatar { width: 100px; height: 100px; }
    .avatar-placeholder { font-size: 2rem; }
    .about-card-info h3 { font-size: 1.15rem; }

    /* Projects mobile */
    .projects-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .project-image { height: 180px; }
    .project-info { padding: 1.2rem; }
    .project-info h3 { font-size: 1.05rem; }
    .project-info p { font-size: 0.82rem; }

    /* Skills mobile */
    .skills-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .skill-category { padding: 1.3rem 1rem; }
    .skill-icon { width: 46px; height: 46px; margin-bottom: 0.9rem; }
    .skill-category h3 { font-size: 0.95rem; margin-bottom: 0.8rem; }
    .skill-tag { font-size: 0.7rem; padding: 0.25rem 0.55rem; }

    /* Experience mobile */
    .experience-section { margin-top: 2.5rem; }
    .exp-heading { font-size: 1.3rem; margin-bottom: 1.5rem; }
    .timeline { gap: 1rem; }
    .timeline-item { padding: 1.2rem 1.2rem 1.2rem 2rem; }
    .timeline-item h4 { font-size: 1rem; }
    .timeline-desc { font-size: 0.82rem; }

    /* Contact mobile */
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-text { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .contact-item { font-size: 0.88rem; padding: 0.7rem 0.8rem; }
    .contact-form { padding: 1.5rem; }
    .form-group input, .form-group textarea { padding: 0.75rem 0.9rem; font-size: 0.88rem; }

    /* Footer mobile */
    .footer { padding: 1.5rem 1.2rem; }
    .footer-inner { flex-direction: column; text-align: center; gap: 0.8rem; }
    .footer-logo { font-size: 1rem; }
    .footer-links { gap: 1.2rem; }
    .footer-links a { font-size: 0.82rem; }

    /* Hide decorations */
    .section-glow, .contact-orbit { display: none; }
    body { cursor: auto; }
    .custom-cursor, .cursor-dot { display: none; }
}

@media (max-width: 480px) {
    .section { padding: 3rem 1rem; }
    .section-heading { font-size: clamp(1.5rem, 7vw, 2rem); }

    .hero-content { width: calc(100% - 1rem); }
    .hero-shell { gap: 1.2rem; }
    .hero-copy { padding-top: 0; }
    .hero-title { font-size: clamp(1.6rem, 8vw, 2.2rem); letter-spacing: -1px; }
    .hero-subtitle { font-size: 0.84rem; }
    .hero-tag { font-size: 0.66rem; padding: 0.45rem 0.8rem; }
    .hero-visual-frame { width: 90%; max-width: 280px; }
    .hero-orbit-main { width: 16rem; height: 16rem; }
    .hero-orbit-secondary { width: 11rem; height: 11rem; }
    .hero-mark { width: 80%; }
    .hero-planet-arc { height: 6rem; }
    .hero-trust-logos span { font-size: 0.82rem; }
    .hero-feature-card { max-width: 100%; padding: 0.75rem 0.85rem; }
    .hero-feature-label { font-size: 0.64rem; }
    .hero-feature-card p { font-size: 0.74rem; }

    .skills-grid { grid-template-columns: 1fr; }
    .skill-category { padding: 1.2rem 0.9rem; }

    .btn { font-size: 0.82rem; padding: 0.7rem 1.4rem; }
    .about-text { font-size: 0.88rem; }
    .about-card-info h3 { font-size: 1.05rem; }

    .project-image { height: 160px; }
    .project-info { padding: 1rem; }

    .timeline-item { padding: 1rem 1rem 1rem 1.8rem; }
    .timeline-dot { left: 0.7rem; }
}

@media (max-width: 360px) {
    .hero-title { font-size: 1.5rem; }
    .hero-subtitle { font-size: 0.8rem; }
    .section-heading { font-size: 1.4rem; }
    .hero-visual-frame { max-width: 240px; }
    .hero-trust-logos { gap: 0.6rem 1rem; }
    .hero-trust-logos span { font-size: 0.76rem; }
    .skills-grid { gap: 0.8rem; }
}


@keyframes driftOrb {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    25% { transform: translate3d(1.2rem, -0.6rem, 0) scale(1.03); }
    50% { transform: translate3d(2rem, -1rem, 0) scale(1.06); }
    75% { transform: translate3d(0.8rem, 0.4rem, 0) scale(1.02); }
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0.5rem) rotate(-4deg) perspective(800px) rotateX(2deg); }
    33% { transform: translateY(-0.6rem) rotate(-3.2deg) perspective(800px) rotateX(-1deg); }
    66% { transform: translateY(-0.8rem) rotate(-3deg) perspective(800px) rotateX(1.5deg); }
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    25% { transform: translateY(-6px) rotateX(1.5deg) rotateY(-1deg); }
    50% { transform: translateY(-10px) rotateX(-1deg) rotateY(1.5deg); }
    75% { transform: translateY(-4px) rotateX(0.5deg) rotateY(-0.5deg); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 1; filter: blur(18px); transform: scale(1); }
    50% { opacity: 0.7; filter: blur(26px); transform: scale(1.04); }
}

@keyframes orbitSpin {
    from { transform: translate(50%, -50%) rotate(0deg); }
    to { transform: translate(50%, -50%) rotate(360deg); }
}

/* ==================== ADVANCED 3D EFFECTS ==================== */

/* Holographic shimmer on glass cards */
.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(88, 230, 255, 0.06) 42%,
        rgba(79, 124, 255, 0.08) 50%,
        rgba(255, 138, 91, 0.05) 58%,
        transparent 70%
    );
    background-size: 250% 100%;
    animation: shimmer 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% center; }
    50% { background-position: -200% center; }
}

/* 3D depth layer for sections */
.section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 60% 40% at 50% 50%,
        rgba(79, 124, 255, 0.04),
        transparent
    );
    pointer-events: none;
    transform: translateZ(-1px);
}

/* Enhanced project card 3D hover */
.project-card {
    transform-style: preserve-3d;
    perspective: 1200px;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(88,230,255,0.15), transparent 40%, rgba(167,139,250,0.1) 70%, rgba(255,138,91,0.12));
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    border-color: rgba(88,230,255,0.3);
    transform: translateY(-10px) rotateX(2deg) scale(1.015);
    box-shadow:
        0 28px 80px rgba(0,0,0,0.45),
        0 0 40px rgba(79, 124, 255, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.project-image-content {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card:hover .project-image-content {
    transform: scale(1.12) translateZ(20px) rotateY(-5deg);
}

/* Enhanced tilt cards with depth shadow */
.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s;
}

.tilt-card:hover {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 35px 90px rgba(0,0,0,0.25),
        0 0 0 1px rgba(88, 230, 255, 0.12);
}

/* Skill category 3D lift */
.skill-category {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s, border-color 0.4s;
}

.skill-category:hover {
    transform: translateY(-6px) rotateX(3deg) scale(1.02);
    border-color: rgba(88,230,255,0.2);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 30px 70px rgba(0,0,0,0.2),
        0 0 30px rgba(79, 124, 255, 0.06);
}

/* Skill icon 3D pop */
.skill-icon {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.skill-category:hover .skill-icon {
    transform: translateZ(16px) scale(1.08) rotateY(-8deg);
}

/* Hero feature card enhanced 3D floating */
.hero-feature-card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.hero-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(88,230,255,0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.hero-feature-card:hover::before {
    opacity: 1;
}

.hero-feature-card:hover {
    transform: translateY(-6px) translateZ(8px) scale(1.03);
}

/* Timeline 3D entrance */
.timeline-item {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s;
}

.timeline-item:hover {
    transform: translateX(6px) rotateY(-2deg) scale(1.01);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 24px 60px rgba(0,0,0,0.18),
        -4px 0 20px rgba(88, 230, 255, 0.06);
}

/* Contact form 3D depth */
.contact-form {
    transform-style: preserve-3d;
    transition: transform 0.5s, box-shadow 0.5s;
}

.contact-form:hover {
    transform: translateY(-4px) rotateX(1deg);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 32px 80px rgba(0,0,0,0.25),
        0 0 40px rgba(79, 124, 255, 0.06);
}

/* Reveal with 3D perspective */
.reveal {
    opacity: 0;
    transform: translateY(40px) perspective(800px) rotateX(-4deg);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) perspective(800px) rotateX(0deg);
}

/* Button 3D press effect */
.btn-primary {
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 16px 45px rgba(79,124,255,0.4),
        0 0 20px rgba(88,230,255,0.15);
}

.btn-primary:active {
    transform: translateY(0px) scale(0.98);
    box-shadow: 0 6px 20px rgba(79,124,255,0.25);
}

/* Nav CTA glow */
.nav-cta {
    position: relative;
    overflow: hidden;
}

.nav-cta::after {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent, rgba(88,230,255,0.1), transparent, rgba(79,124,255,0.08), transparent);
    animation: rotateBorder 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-cta:hover::after {
    opacity: 1;
}

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

/* About avatar 3D ring */
.avatar-ring {
    animation: spin 4s linear infinite;
    filter: blur(0.5px);
}

.about-card:hover .avatar-ring {
    animation-duration: 2s;
    filter: blur(0px) drop-shadow(0 0 12px rgba(88,230,255,0.3));
}

/* Social link 3D pop */
.social-link {
    transform-style: preserve-3d;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-link:hover {
    transform: translateY(-4px) translateZ(8px) scale(1.1);
    box-shadow: 0 8px 24px rgba(88,230,255,0.15);
}

/* Footer link underline animation */
.footer-links a {
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gradient);
    transition: width 0.3s;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Tag hover glow */
.tag {
    transition: all 0.3s;
    position: relative;
}

.tag:hover {
    background: rgba(88,230,255,0.15);
    border-color: rgba(88,230,255,0.3);
    box-shadow: 0 0 12px rgba(88,230,255,0.1);
}

/* Mobile 3D optimizations */
@media (max-width: 768px) {
    .glass-card::before {
        animation-duration: 10s;
    }

    .reveal {
        transform: translateY(30px);
    }

    .reveal.visible {
        transform: translateY(0);
    }

    .project-card:hover {
        transform: translateY(-6px);
    }

    .skill-category:hover {
        transform: translateY(-4px);
    }

    .hero-feature-card:hover {
        transform: translateY(-4px) scale(1.02);
    }

    .project-card:hover .project-image-content {
        transform: scale(1.08);
    }

    .timeline-item:hover {
        transform: translateX(4px);
    }
}

