/* =============================================
   CSS VARIABLES & ROOT
============================================= */
:root {
    /* Colors - Dark Theme (Default) */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #1e1e35;
    --text-primary: #e4e4e7;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    --accent-glow: rgba(99, 102, 241, 0.3);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f5f5;
    --text-primary: #18181b;
    --text-secondary: #52525b;
    --text-muted: #a1a1aa;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.1);
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.5s ease, color 0.5s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   CUSTOM CURSOR
============================================= */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.1s ease;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    opacity: 0.5;
    transition: width 0.3s, height 0.3s, opacity 0.3s;
}

.cursor-ring.hover {
    width: 60px;
    height: 60px;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* =============================================
   PARTICLES CANVAS
============================================= */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* =============================================
   LOADER
============================================= */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-cube {
    width: 60px;
    height: 60px;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeRotate 2s infinite linear;
    margin: 0 auto 30px;
}

.loader-cube .cube-face {
    position: absolute;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    font-weight: 700;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.05);
}

.loader-cube .front  { transform: translateZ(30px); }
.loader-cube .back   { transform: rotateY(180deg) translateZ(30px); }
.loader-cube .right  { transform: rotateY(90deg) translateZ(30px); }
.loader-cube .left   { transform: rotateY(-90deg) translateZ(30px); }
.loader-cube .top    { transform: rotateX(90deg) translateZ(30px); }
.loader-cube .bottom { transform: rotateX(-90deg) translateZ(30px); }

@keyframes cubeRotate {
    0%   { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.loader-text {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 14px;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
}

/* =============================================
   NAVIGATION
============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-bracket {
    color: var(--accent-primary);
}

.logo-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: rotate(30deg);
}

.theme-toggle .fa-sun {
    position: absolute;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    transition: var(--transition-normal);
}

.theme-toggle .fa-moon {
    transition: var(--transition-normal);
}

[data-theme="light"] .theme-toggle .fa-sun {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

[data-theme="light"] .theme-toggle .fa-moon {
    opacity: 0;
    transform: scale(0) rotate(180deg);
}

.nav-cta {
    padding: 10px 24px;
    background: var(--accent-gradient);
    color: white;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 10px;
    transition: var(--transition-normal);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 900px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 350px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 8px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: var(--shadow-lg);
        border-left: 1px solid var(--border-color);
    }
    .nav-menu.active { right: 0; }
    .nav-link { font-size: 18px; width: 100%; }
    .nav-cta { display: none; }
}

/* =============================================
   BUTTONS
============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

/* =============================================
   SECTION HEADER
============================================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 10px;
    opacity: 0.7;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.section-close {
    text-align: center;
    margin-top: 50px;
}

/* =============================================
   HERO SECTION
============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
    width: 500px; height: 500px;
    background: #6366f1;
    top: -10%; left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px; height: 400px;
    background: #8b5cf6;
    top: 50%; right: -5%;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px; height: 300px;
    background: #a855f7;
    bottom: -5%; left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 200px; height: 200px;
    background: #6366f1;
    top: 20%; right: 25%;
    animation-delay: -15s;
}

.shape-5 {
    width: 150px; height: 150px;
    background: #ec4899;
    bottom: 20%; left: 10%;
    animation-delay: -7s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(40px, 30px) scale(1.05); }
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.title-name {
    display: block;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.title-role {
    display: block;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.cursor-blink {
    animation: blink 1s infinite;
    color: var(--accent-primary);
    font-weight: 300;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-description strong {
    color: var(--accent-primary);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 36px;
    padding: 20px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: fit-content;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
}

.stat-plus {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-secondary);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hero-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--accent-glow);
    background: rgba(99, 102, 241, 0.08);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-3d-scene {
    width: 350px;
    height: 350px;
    position: relative;
    perspective: 800px;
}

.floating-cube {
    width: 120px;
    height: 120px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%);
    animation: floatCube 8s infinite ease-in-out;
}

.floating-cube .cube-face {
    position: absolute;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.05);
    backdrop-filter: blur(10px);
    color: var(--accent-primary);
    border-radius: 12px;
}

.floating-cube .cube-front  { transform: translateZ(60px); }
.floating-cube .cube-back   { transform: rotateY(180deg) translateZ(60px); }
.floating-cube .cube-right  { transform: rotateY(90deg) translateZ(60px); }
.floating-cube .cube-left   { transform: rotateY(-90deg) translateZ(60px); }
.floating-cube .cube-top    { transform: rotateX(90deg) translateZ(60px); }
.floating-cube .cube-bottom { transform: rotateX(-90deg) translateZ(60px); }

@keyframes floatCube {
    0%   { transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg); }
    25%  { transform: translate(-50%, -55%) rotateX(90deg) rotateY(90deg); }
    50%  { transform: translate(-50%, -50%) rotateX(180deg) rotateY(180deg); }
    75%  { transform: translate(-50%, -45%) rotateX(270deg) rotateY(270deg); }
    100% { transform: translate(-50%, -50%) rotateX(360deg) rotateY(360deg); }
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(99, 102, 241, 0.15);
    border-radius: 50%;
    animation: orbitSpin linear infinite;
}

.ring-1 {
    width: 200px; height: 200px;
    animation-duration: 10s;
}

.ring-2 {
    width: 270px; height: 270px;
    animation-duration: 15s;
    animation-direction: reverse;
}

.ring-3 {
    width: 340px; height: 340px;
    animation-duration: 20s;
}

.orbit-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--accent-glow);
}

@keyframes orbitSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.code-window {
    position: absolute;
    bottom: -20px;
    right: -30px;
    width: 320px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: floatCode 6s infinite ease-in-out;
}

@keyframes floatCode {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.code-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.code-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red    { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green  { background: #28c840; }

.code-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
}

.code-body {
    padding: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 1.8;
    max-height: 180px;
    overflow: hidden;
}

.code-body code {
    color: var(--text-secondary);
    white-space: pre;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s ease 2s forwards;
    opacity: 0;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 13px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

.scroll-indicator span {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =============================================
   ABOUT SECTION
============================================= */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
}

.about-image-container {
    position: relative;
    width: 320px;
    height: 400px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
    opacity: 0.9;
}

.image-border {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-primary);
    border-radius: var(--radius-lg);
    z-index: 1;
}

.image-dots {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--accent-primary) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    z-index: 0;
    opacity: 0.4;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 500;
    z-index: 3;
    box-shadow: var(--shadow-md);
    animation: floatBadge 3s infinite ease-in-out;
}

.floating-badge i {
    color: var(--accent-primary);
}

.badge-1 {
    top: 20px;
    right: -30px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 40px;
    left: -30px;
    animation-delay: -1.5s;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 30px 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.detail-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.detail-item i {
    color: var(--accent-primary);
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.detail-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* =============================================
   EXPERIENCE / TIMELINE
============================================= */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--accent-gradient);
    transition: height 1.5s ease;
}

.timeline-line.animate::before {
    height: 100%;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px 60px;
}

.timeline-item[data-side="right"] {
    margin-left: 50%;
}

.timeline-item[data-side="left"] {
    text-align: right;
}

.timeline-dot {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    z-index: 2;
    transition: var(--transition-normal);
}

.timeline-item[data-side="right"] .timeline-dot {
    left: -25px;
}

.timeline-item[data-side="left"] .timeline-dot {
    right: -25px;
}

.timeline-dot.current {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition-normal);
}

.timeline-content:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.timeline-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-primary);
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-badge.current {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.timeline-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-company,
.timeline-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.timeline-item[data-side="left"] .timeline-company,
.timeline-item[data-side="left"] .timeline-date {
    justify-content: flex-end;
}

.timeline-description {
    margin-top: 16px;
    padding-left: 0;
}

.timeline-item[data-side="left"] .timeline-description {
    text-align: left;
}

.timeline-description li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-description li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.timeline-item[data-side="left"] .timeline-tech {
    justify-content: flex-end;
}

.timeline-tech span {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent-primary);
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}

/* =============================================
   SKILLS SECTION
============================================= */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-title i {
    color: var(--accent-primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.skill-card:hover {
    border-color: var(--skill-color, var(--accent-primary));
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2),
                0 0 30px color-mix(in srgb, var(--skill-color, var(--accent-primary)) 20%, transparent);
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--skill-color, var(--accent-primary));
    background: color-mix(in srgb, var(--skill-color, var(--accent-primary)) 10%, transparent);
    transition: var(--transition-normal);
}

.skill-card:hover .skill-icon {
    transform: scale(1.1) rotate(5deg);
}

.skill-name {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.skill-level {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.level-bar {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 10px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.level-bar.animate {
    width: var(--level);
}

/* Soft Skills */
.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.soft-skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.soft-skill-item:hover {
    border-color: var(--accent-primary);
    transform: translateX(6px);
    background: rgba(99, 102, 241, 0.05);
}

.soft-skill-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 16px;
}

.soft-skill-item span {
    font-size: 14px;
    font-weight: 500;
}

/* =============================================
   PROJECTS SECTION
============================================= */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.project-card.hidden {
    display: none;
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: white;
    opacity: 0.85;
    transition: var(--transition-slow);
}

.project-card:hover .project-placeholder {
    transform: scale(1.1);
    opacity: 1;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 16px;
}

.project-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #18181b;
    font-size: 20px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.project-card:hover .project-link {
    transform: translateY(0);
    opacity: 1;
}

.project-card:hover .project-link:nth-child(2) {
    transition-delay: 0.1s;
}

.project-link:hover {
    background: var(--accent-primary);
    color: white;
    transform: scale(1.1) !important;
}

.project-info {
    padding: 24px;
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech span {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent-primary);
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}

.projects-cta {
    text-align: center;
    margin-top: 40px;
}

/* =============================================
   CONTACT SECTION
============================================= */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 20px;
    transition: var(--transition-normal);
}

.contact-item:hover .contact-icon {
    background: var(--accent-primary);
    color: white;
    transform: rotate(10deg);
}

.contact-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-item a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
}

.contact-item a:hover {
    color: var(--accent-primary);
}

.contact-social {
    display: flex;
    gap: 12px;
}

.social-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-circle:hover {
    border-color: var(--accent-primary);
    color: white;
    background: var(--accent-primary);
    transform: translateY(-4px) rotate(360deg);
    box-shadow: 0 8px 20px var(--accent-glow);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.form-group {
    margin-bottom: 24px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 16px 18px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition-normal);
    outline: none;
    resize: vertical;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.input-wrapper label {
    position: absolute;
    left: 18px;
    top: 16px;
    font-size: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-normal);
    background: var(--bg-secondary);
    padding: 0 6px;
}

.input-wrapper input:focus ~ label,
.input-wrapper input:not(:placeholder-shown) ~ label,
.input-wrapper textarea:focus ~ label,
.input-wrapper textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 14px;
    font-size: 12px;
    color: var(--accent-primary);
    font-weight: 600;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-normal);
    transform: translateX(-50%);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.input-wrapper input:focus ~ .input-border,
.input-wrapper textarea:focus ~ .input-border {
    width: 100%;
}

.btn-submit {
    width: 100%;
    justify-content: center;
}

.btn-submit .btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-submit.loading .btn-loader { display: block; }
.btn-submit.loading span,
.btn-submit.loading i { display: none; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =============================================
   FOOTER
============================================= */
.footer {
    background: var(--bg-secondary);
    position: relative;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 60px;
}

.footer-wave path {
    fill: var(--bg-secondary);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

.heart {
    color: #ef4444;
    animation: heartbeat 1.5s infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* =============================================
   BACK TO TOP
============================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--accent-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

/* =============================================
   ANIMATIONS
============================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Glitch effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    overflow: hidden;
    clip-path: inset(0);
}

.glitch::before {
    animation: glitch-1 4s infinite linear alternate-reverse;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch::after {
    animation: glitch-2 4s infinite linear alternate-reverse;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes glitch-1 {
    0%, 95% { clip-path: inset(0 0 0 0); transform: translate(0); }
    96% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 2px); }
    97% { clip-path: inset(50% 0 30% 0); transform: translate(3px, -1px); }
    98% { clip-path: inset(80% 0 5% 0); transform: translate(-2px, 3px); }
    99% { clip-path: inset(10% 0 70% 0); transform: translate(2px, -2px); }
    100% { clip-path: inset(0 0 0 0); transform: translate(0); }
}

@keyframes glitch-2 {
    0%, 95% { clip-path: inset(0 0 0 0); transform: translate(0); }
    96% { clip-path: inset(60% 0 20% 0); transform: translate(3px, -2px); }
    97% { clip-path: inset(30% 0 50% 0); transform: translate(-3px, 1px); }
    98% { clip-path: inset(5% 0 80% 0); transform: translate(2px, -3px); }
    99% { clip-path: inset(70% 0 10% 0); transform: translate(-2px, 2px); }
    100% { clip-path: inset(0 0 0 0); transform: translate(0); }
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-content { order: 1; }
    .hero-visual { order: 2; }
    .hero-description { margin: 0 auto 32px; }
    .hero-stats { margin: 0 auto 36px; }
    .hero-actions { justify-content: center; }
    .hero-social { justify-content: center; }
    .hero-badge { margin: 0 auto 24px; }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }
    
    .hero-3d-scene {
        width: 250px;
        height: 250px;
    }
    
    .floating-cube {
        width: 80px;
        height: 80px;
    }
    
    .floating-cube .cube-face {
        width: 80px;
        height: 80px;
        font-size: 24px;
    }
    
    .floating-cube .cube-front  { transform: translateZ(40px); }
    .floating-cube .cube-back   { transform: rotateY(180deg) translateZ(40px); }
    .floating-cube .cube-right  { transform: rotateY(90deg) translateZ(40px); }
    .floating-cube .cube-left   { transform: rotateY(-90deg) translateZ(40px); }
    .floating-cube .cube-top    { transform: rotateX(90deg) translateZ(40px); }
    .floating-cube .cube-bottom { transform: rotateX(-90deg) translateZ(40px); }
    
    .ring-1 { width: 140px; height: 140px; }
    .ring-2 { width: 190px; height: 190px; }
    .ring-3 { width: 240px; height: 240px; }
    
    .code-window {
        position: relative;
        bottom: auto;
        right: auto;
        width: 90%;
        margin: 30px auto 0;
    }
    
    .hero-stats {
        gap: 20px;
        padding: 16px 20px;
    }
    
    .stat-number { font-size: 24px; }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
    }
    
    .timeline-item[data-side="right"] {
        margin-left: 0;
    }
    
    .timeline-item[data-side="left"] {
        text-align: left;
    }
    
    .timeline-item .timeline-dot {
        left: -5px !important;
        right: auto !important;
    }
    
    .timeline-item[data-side="left"] .timeline-company,
    .timeline-item[data-side="left"] .timeline-date,
    .timeline-item[data-side="left"] .timeline-tech {
        justify-content: flex-start;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .soft-skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .about-image-container {
        width: 260px;
        height: 330px;
    }
    
    .floating-badge { display: none; }
    
    .scroll-indicator { display: none; }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }

    /* ===== HERO MOBILE FIX ===== */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 0 16px;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        flex-direction: column;
    }

    .hero-badge {
        margin: 0 auto 20px;
        font-size: 12px;
        padding: 6px 16px;
    }

    .title-line {
        font-size: 14px;
    }

    .title-name {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .title-role {
        font-size: 24px;
    }

    .hero-description {
        font-size: 15px;
        margin: 0 auto 24px;
        padding: 0 10px;
    }

    .hero-stats {
        margin: 0 auto 28px;
        padding: 16px 20px;
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        max-width: 100%;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 10px;
    }

    .stat-divider {
        height: 30px;
    }

    .hero-actions {
        justify-content: center;
        gap: 12px;
        margin-bottom: 28px;
    }

    .hero-actions .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-social {
        justify-content: center;
    }

    /* ===== 3D SCENE MOBILE ===== */
    .hero-3d-scene {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .floating-cube {
        width: 70px;
        height: 70px;
    }

    .floating-cube .cube-face {
        width: 70px;
        height: 70px;
        font-size: 22px;
        border-radius: 8px;
    }

    .floating-cube .cube-front  { transform: translateZ(35px); }
    .floating-cube .cube-back   { transform: rotateY(180deg) translateZ(35px); }
    .floating-cube .cube-right  { transform: rotateY(90deg) translateZ(35px); }
    .floating-cube .cube-left   { transform: rotateY(-90deg) translateZ(35px); }
    .floating-cube .cube-top    { transform: rotateX(90deg) translateZ(35px); }
    .floating-cube .cube-bottom { transform: rotateX(-90deg) translateZ(35px); }

    .ring-1 { width: 120px; height: 120px; }
    .ring-2 { width: 160px; height: 160px; }
    .ring-3 { width: 200px; height: 200px; }

    .orbit-dot {
        width: 6px;
        height: 6px;
        top: -3px;
    }

    /* ===== CODE WINDOW MOBILE ===== */
    .code-window {
        position: relative;
        bottom: auto;
        right: auto;
        width: 92%;
        max-width: 340px;
        margin: 20px auto 0;
        animation: none;
    }

    .code-body {
        padding: 12px;
        font-size: 11px;
        max-height: 150px;
    }

    /* ===== OTHER SECTIONS MOBILE ===== */
    .about-details {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
    }

    .timeline-item[data-side="right"] {
        margin-left: 0;
    }

    .timeline-item[data-side="left"] {
        text-align: left;
    }

    .timeline-item .timeline-dot {
        left: -5px !important;
        right: auto !important;
    }

    .timeline-item[data-side="left"] .timeline-company,
    .timeline-item[data-side="left"] .timeline-date,
    .timeline-item[data-side="left"] .timeline-tech {
        justify-content: flex-start;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .soft-skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .about-image-container {
        width: 260px;
        height: 330px;
    }

    .floating-badge { display: none; }
    .scroll-indicator { display: none; }

    /* Hide glitch on mobile for performance */
    .glitch::before,
    .glitch::after {
        display: none;
    }
}