/* ===== CSS VARIABLES / DESIGN TOKENS ===== */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #16161f;
    --bg-card: rgba(22, 22, 31, 0.7);

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;

    --accent-primary: #6c5ce7;
    --accent-secondary: #a29bfe;
    --accent-glow: rgba(108, 92, 231, 0.3);
    --accent-gradient: linear-gradient(135deg, #6c5ce7, #a29bfe, #74b9ff);

    --neon-cyan: #00d2ff;
    --neon-purple: #7b2ff7;
    --neon-pink: #ff6b9d;
    --neon-green: #00f5a0;

    --gradient-hero: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #74b9ff 100%);
    --gradient-card: linear-gradient(145deg, rgba(108,92,231,0.08), rgba(162,155,254,0.04));
    --gradient-border: linear-gradient(135deg, rgba(108,92,231,0.5), rgba(162,155,254,0.2), rgba(108,92,231,0.5));

    --border-color: rgba(108, 92, 231, 0.15);
    --border-hover: rgba(108, 92, 231, 0.4);

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.15);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-round: 50%;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background: var(--accent-primary);
    color: white;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===== 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: 99999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-outline {
    width: 36px;
    height: 36px;
    border: 2px solid var(--accent-secondary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transition: all 0.15s ease;
    opacity: 0.5;
}

.cursor-dot.hover {
    transform: scale(3);
    background: var(--neon-cyan);
}

.cursor-outline.hover {
    transform: scale(1.5);
    border-color: var(--neon-cyan);
    opacity: 0.2;
}

/* ===== PARTICLE CANVAS ===== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    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: 100000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-ring {
    width: 80px;
    height: 80px;
    border: 3px solid var(--bg-tertiary);
    border-top-color: var(--accent-primary);
    border-right-color: var(--accent-secondary);
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: loaderSpin 1s linear infinite;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 24px;
}

.loader-text span {
    display: inline-block;
    animation: loaderChar 1.5s ease infinite;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-text span:nth-child(1) { animation-delay: 0s; }
.loader-text span:nth-child(2) { animation-delay: 0.05s; }
.loader-text span:nth-child(3) { animation-delay: 0.1s; }
.loader-text span:nth-child(4) { animation-delay: 0.15s; }
.loader-text span:nth-child(5) { animation-delay: 0.2s; }
.loader-text span:nth-child(7) { animation-delay: 0.3s; }
.loader-text span:nth-child(8) { animation-delay: 0.35s; }
.loader-text span:nth-child(9) { animation-delay: 0.4s; }
.loader-text span:nth-child(10) { animation-delay: 0.45s; }
.loader-text span:nth-child(11) { animation-delay: 0.5s; }
.loader-text span:nth-child(12) { animation-delay: 0.55s; }

.loader-dot {
    color: var(--neon-cyan);
    -webkit-text-fill-color: var(--neon-cyan) !important;
}

@keyframes loaderChar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-medium);
    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);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: var(--transition-fast);
}

.logo-bracket {
    color: var(--accent-primary);
    font-family: var(--font-mono);
}

.logo-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    color: var(--text-secondary);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active {
    background: rgba(108, 92, 231, 0.15);
    color: var(--accent-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn i, .btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover i, .btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--accent-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(108, 92, 231, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 92, 231, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 92, 231, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(0, 245, 160, 0.08);
    border: 1px solid rgba(0, 245, 160, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--neon-green);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 245, 160, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(0, 245, 160, 0); }
}

.hero-greeting {
    display: block;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 400;
    color: var(--accent-secondary);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.hero-name {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
}

.name-word {
    display: inline-block;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    margin-right: 12px;
}

.hero-role {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 600;
    color: var(--text-secondary);
}

.role-prefix {
    color: var(--neon-cyan);
}

.role-typed {
    color: var(--text-primary);
}

.typed-cursor {
    color: var(--accent-primary);
    animation: blink 1s step-end infinite;
    font-weight: 300;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 24px 0 32px;
    max-width: 520px;
}

.hero-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
}

.hero-image-ring {
    position: absolute;
    inset: -15px;
    border: 2px solid;
    border-color: var(--accent-primary) transparent var(--accent-secondary) transparent;
    border-radius: 50%;
    animation: ringRotate 8s linear infinite;
}

.hero-image-ring.ring-2 {
    inset: -30px;
    border-color: transparent var(--neon-cyan) transparent var(--neon-purple);
    animation: ringRotate 12s linear infinite reverse;
    opacity: 0.4;
}

@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

.hero-image-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg), 0 0 60px var(--accent-glow);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hero-image:hover {
    transform: scale(1.05);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    width: 52px;
    height: 52px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.badge-tf {
    top: 20px;
    right: -10px;
    animation-delay: 0s;
}

.badge-python {
    bottom: 60px;
    left: -20px;
    animation-delay: 2s;
}

.badge-azure {
    bottom: -10px;
    right: 40px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ===== SECTION COMMON ===== */
.section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 3px;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 16px auto 0;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-intro {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
}

.about-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.info-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: all var(--transition-fast);
}

.info-item:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.info-item i, .info-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-secondary);
    flex-shrink: 0;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Code Window */
.code-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.code-window:hover {
    transform: translateY(-4px) rotateX(2deg);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.code-dots {
    display: flex;
    gap: 8px;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #28c840; }

.code-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.code-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.9;
    overflow-x: auto;
}

.code-keyword { color: #c792ea; }
.code-class { color: #ffcb6b; }
.code-func { color: #82aaff; }
.code-param { color: #f07178; }
.code-string { color: #c3e88d; }
.code-bool { color: #ff5370; }

/* ===== SKILLS SECTION ===== */
.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.skill-category {
    padding: 32px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

.skill-category:hover::before {
    transform: scaleX(1);
}

.skill-category:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.category-icon {
    width: 44px;
    height: 44px;
    background: rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
}

.category-icon i, .category-icon svg {
    width: 22px;
    height: 22px;
}

.category-header h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.chip-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-secondary);
}

.chip-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--accent-glow), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.skill-chip:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    background: rgba(108, 92, 231, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.skill-chip:hover .chip-glow {
    opacity: 1;
}

/* ===== EXPERIENCE SECTION ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 48px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -7px;
    top: 8px;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: var(--accent-primary);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent-primary), 0 0 20px var(--accent-glow);
    transition: all var(--transition-fast);
}

.timeline-item:hover .marker-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 4px var(--accent-primary), 0 0 30px var(--accent-glow);
}

.timeline-content {
    padding: 28px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-medium);
}

.timeline-content:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateX(4px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.timeline-title-group h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-company {
    font-size: 0.9rem;
    color: var(--accent-secondary);
    font-weight: 500;
}

.timeline-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.timeline-date i, .timeline-date svg {
    width: 14px;
    height: 14px;
}

.timeline-details {
    margin-bottom: 16px;
}

.timeline-details li {
    position: relative;
    padding-left: 20px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.timeline-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 50px;
    color: var(--accent-secondary);
    font-weight: 500;
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.project-card {
    padding: 32px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.project-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--accent-glow), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-medium);
    pointer-events: none;
}

.project-card:hover .project-glow {
    opacity: 1;
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.project-icon {
    width: 52px;
    height: 52px;
    background: rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
}

.project-icon i, .project-icon svg {
    width: 26px;
    height: 26px;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-status.live {
    background: rgba(0, 245, 160, 0.1);
    color: var(--neon-green);
    border: 1px solid rgba(0, 245, 160, 0.2);
}

.project-status.completed {
    background: rgba(0, 210, 255, 0.1);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.project-status.live .status-dot {
    animation: pulse 2s infinite;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.project-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.project-description {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tech span {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: 50px;
    color: var(--accent-secondary);
    font-weight: 500;
}

.project-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.feature i, .feature svg {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
}

/* ===== EDUCATION SECTION ===== */
.education-card {
    display: flex;
    gap: 32px;
    padding: 40px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 800px;
    margin: 0 auto;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
}

.education-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.edu-icon {
    width: 64px;
    height: 64px;
    background: rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
    flex-shrink: 0;
}

.edu-icon i, .edu-icon svg {
    width: 32px;
    height: 32px;
}

.edu-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.edu-school, .edu-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--accent-secondary);
    margin-bottom: 6px;
}

.edu-school i, .edu-school svg,
.edu-date i, .edu-date svg {
    width: 16px;
    height: 16px;
}

.edu-date {
    color: var(--text-muted);
}

.edu-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 16px 0;
}

.edu-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.edu-highlights span {
    font-size: 0.78rem;
    padding: 5px 14px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 50px;
    color: var(--accent-secondary);
    font-weight: 500;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    transition: all var(--transition-fast);
}

.contact-card:hover {
    border-color: var(--accent-primary);
    transform: translateX(4px);
    box-shadow: var(--shadow-glow);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
    flex-shrink: 0;
}

.contact-card-icon i, .contact-card-icon svg {
    width: 22px;
    height: 22px;
}

.contact-card-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-card-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

a.contact-card-value:hover {
    color: var(--accent-secondary);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    border-color: var(--accent-primary);
    color: var(--accent-secondary);
    background: rgba(108, 92, 231, 0.1);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.social-link i, .social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 36px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i, .input-wrapper svg {
    position: absolute;
    left: 16px;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color var(--transition-fast);
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.92rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    outline: none;
}

.textarea-wrapper {
    align-items: flex-start;
}

.textarea-wrapper i, .textarea-wrapper svg {
    top: 16px;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: var(--text-muted);
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.input-wrapper:has(input:focus) i,
.input-wrapper:has(input:focus) svg,
.input-wrapper:has(textarea:focus) i,
.input-wrapper:has(textarea:focus) svg {
    color: var(--accent-primary);
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 48px 0 24px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
    text-align: center;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(108, 92, 231, 0.1);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-wrapper {
        width: 280px;
        height: 280px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    body {
        cursor: auto;
    }

    .cursor-dot, .cursor-outline {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right var(--transition-medium);
        border-left: 1px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-name {
        font-size: 2.2rem;
    }

    .hero-image-wrapper {
        width: 220px;
        height: 220px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .about-info-grid {
        grid-template-columns: 1fr;
    }

    .skills-categories {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .education-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px;
    }

    .edu-school, .edu-date {
        justify-content: center;
    }

    .edu-highlights {
        justify-content: center;
    }

    .timeline::before {
        left: 4px;
    }

    .timeline-item {
        padding-left: 36px;
    }

    .timeline-marker {
        left: -3px;
    }

    .timeline-header {
        flex-direction: column;
        gap: 8px;
    }

    .contact-form {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.78rem;
        padding: 6px 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .floating-badge {
        width: 40px;
        height: 40px;
    }

    .floating-badge img {
        width: 20px !important;
    }
}
