/* ========================================
   DESIGN TOKENS & VARIABLES
   ======================================== */
:root {
    /* Colors - Dark Cosmic Theme */
    --bg-primary: #07080c;
    --bg-secondary: #0d0f16;
    --bg-tertiary: #121520;
    --bg-card: rgba(18, 21, 32, 0.7);
    --bg-card-hover: rgba(25, 28, 45, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);

    /* Accent Palette */
    --accent-primary: #6c5ce7;
    --accent-secondary: #a29bfe;
    --accent-gradient: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #74b9ff 100%);
    --accent-glow: 0 0 30px rgba(108, 92, 231, 0.3);
    --accent-warm: #fd79a8;
    --accent-emerald: #00cec9;
    --accent-gold: #fdcb6e;

    /* Text */
    --text-primary: #e8eaf6;
    --text-secondary: #8892b0;
    --text-tertiary: #5a6384;
    --text-accent: #a29bfe;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(108, 92, 231, 0.3);
    --border-glow: rgba(108, 92, 231, 0.5);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-padding: clamp(80px, 10vw, 140px);
    --container-max: 1200px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-base: 0.4s var(--ease-out-expo);
    --transition-slow: 0.8s var(--ease-out-expo);

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

/* ========================================
   SOLARIZED LIGHT THEME
   ======================================== */
[data-theme="light"] {
    /* Solarized Light Backgrounds */
    --bg-primary: #fdf6e3;
    --bg-secondary: #eee8d5;
    --bg-tertiary: #e8e1cc;
    --bg-card: rgba(238, 232, 213, 0.75);
    --bg-card-hover: rgba(228, 222, 203, 0.95);
    --bg-glass: rgba(0, 0, 0, 0.03);
    --bg-glass-hover: rgba(0, 0, 0, 0.06);

    /* Solarized Accents (Violet + Blue) */
    --accent-primary: #6c71c4;
    --accent-secondary: #5a5faa;
    --accent-gradient: linear-gradient(135deg, #6c71c4 0%, #268bd2 50%, #2aa198 100%);
    --accent-glow: 0 0 30px rgba(108, 113, 196, 0.2);
    --accent-warm: #d33682;
    --accent-emerald: #2aa198;
    --accent-gold: #b58900;

    /* Solarized Text */
    --text-primary: #073642;
    --text-secondary: #586e75;
    --text-tertiary: #93a1a1;
    --text-accent: #6c71c4;

    /* Solarized Borders */
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(108, 113, 196, 0.3);
    --border-glow: rgba(108, 113, 196, 0.4);
}

/* Light theme overrides for specific elements */
[data-theme="light"] .navbar.scrolled {
    background: rgba(253, 246, 227, 0.88);
}

[data-theme="light"] .mobile-menu-overlay {
    background: rgba(253, 246, 227, 0.96);
}

[data-theme="light"] .hero-image {
    border-color: var(--bg-primary);
}

[data-theme="light"] .hero-badge {
    background: rgba(238, 232, 213, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .timeline-card,
[data-theme="light"] .project-card,
[data-theme="light"] .skill-category,
[data-theme="light"] .education-card,
[data-theme="light"] .achievement-card,
[data-theme="light"] .info-card,
[data-theme="light"] .contact-item {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .timeline-card:hover,
[data-theme="light"] .project-card:hover,
[data-theme="light"] .skill-category:hover,
[data-theme="light"] .education-card:hover,
[data-theme="light"] .achievement-card:hover,
[data-theme="light"] .info-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: rgba(238, 232, 213, 0.6);
}

[data-theme="light"] .form-group input:focus ~ label,
[data-theme="light"] .form-group input:not(:placeholder-shown) ~ label,
[data-theme="light"] .form-group textarea:focus ~ label,
[data-theme="light"] .form-group textarea:not(:placeholder-shown) ~ label {
    background: var(--bg-primary);
}

[data-theme="light"] .cursor-dot {
    background: var(--accent-primary);
}

[data-theme="light"] .cursor-ring {
    border-color: rgba(108, 113, 196, 0.4);
}

[data-theme="light"] .hero-grid-bg {
    background-image:
        linear-gradient(rgba(108, 113, 196, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 113, 196, 0.06) 1px, transparent 1px);
}

[data-theme="light"] .hero-image-glow {
    background: radial-gradient(circle, rgba(108, 113, 196, 0.1) 0%, transparent 70%);
}

[data-theme="light"] .project-card-glow {
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(108, 113, 196, 0.06) 0%, transparent 60%);
}

[data-theme="light"] .btn-primary {
    color: #fdf6e3;
}

[data-theme="light"] ::selection {
    background: rgba(108, 113, 196, 0.2);
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
}
/* ========================================
   THEME TOGGLE BUTTON
   ======================================== */
.theme-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    cursor: none;
    transition: all var(--transition-base);
    margin-left: 8px;
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--border-hover);
    background: var(--bg-glass-hover);
    transform: rotate(15deg) scale(1.05);
    box-shadow: var(--accent-glow);
}

.theme-icon-light,
.theme-icon-dark {
    position: absolute;
    width: 20px;
    height: 20px;
    transition: all 0.5s var(--ease-out-expo);
}

/* Dark theme (default): show sun icon, hide moon */
.theme-icon-light {
    color: var(--accent-gold);
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-icon-dark {
    color: var(--accent-secondary);
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* Light theme: show moon icon, hide sun */
[data-theme="light"] .theme-icon-light {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .theme-icon-dark {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    color: #6c71c4;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-secondary);
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background: rgba(108, 92, 231, 0.3);
    color: var(--text-primary);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: none;
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.1s ease, background 0.2s ease;
    transform: translate(-50%, -50%);
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(108, 92, 231, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), border-color 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-ring.hover {
    width: 56px;
    height: 56px;
    border-color: var(--accent-secondary);
}

/* ========================================
   PARTICLE CANVAS
   ======================================== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(7, 8, 12, 0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
}

.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: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: all var(--transition-fast);
}

.logo-bracket {
    color: var(--accent-primary);
    font-weight: 700;
}

.logo-text {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.nav-logo:hover .logo-text {
    color: var(--accent-secondary);
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-glass-hover);
}

.nav-link.active {
    color: var(--accent-secondary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.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);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 8, 12, 0.95);
    backdrop-filter: blur(30px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.mobile-menu-overlay.active .mobile-link {
    transform: translateY(0);
    opacity: 1;
}

.mobile-link:hover {
    color: var(--accent-secondary);
}

/* Stagger mobile links */
.mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-link:nth-child(6) { transition-delay: 0.3s; }
.mobile-link:nth-child(7) { transition-delay: 0.35s; }

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

.hero-grid-bg {
    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 70% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-greeting {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.greeting-line {
    width: 40px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 1px;
}

.greeting-text {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--accent-secondary);
    letter-spacing: 0.05em;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 16px;
}

.name-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: revealName 0.8s var(--ease-out-expo) forwards;
}

.name-line:nth-child(2) {
    animation-delay: 0.2s;
}

.name-line.accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-title-wrapper {
    margin-bottom: 24px;
}

.hero-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 500;
    color: var(--text-secondary);
}

.title-rotate-wrapper {
    position: relative;
    height: 1.4em;
    overflow: hidden;
}

.title-rotate {
    display: inline-block;
    color: var(--accent-emerald);
    font-weight: 600;
    position: relative;
}

.title-rotate::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 2px;
    color: var(--accent-primary);
}

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

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.92rem;
    border: none;
    cursor: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--accent-glow);
}

.btn-primary:hover {
    box-shadow: 0 0 50px rgba(108, 92, 231, 0.5);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
    border-color: var(--accent-primary);
    background: rgba(108, 92, 231, 0.08);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.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.6rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-container {
    position: relative;
    width: 380px;
    height: 380px;
}

.hero-image-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.hero-image-border {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--accent-gradient);
    padding: 3px;
    animation: rotateGradient 6s linear infinite;
}

@keyframes rotateGradient {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.hero-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 4px solid var(--bg-primary);
    position: relative;
    z-index: 2;
}

.hero-badge {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(18, 21, 32, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: floatBadge 3s ease-in-out infinite;
}

.badge-top {
    top: 30px;
    right: -20px;
    animation-delay: 0s;
}

.badge-bottom {
    bottom: 40px;
    left: -30px;
    animation-delay: -1.5s;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Hero Orbit */
.hero-orbit {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px dashed rgba(108, 92, 231, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spinOrbit 20s linear infinite;
}

.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-primary);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: orbitMove 6s linear infinite;
    animation-delay: var(--delay);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-tertiary);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

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

.section-alt {
    background: var(--bg-secondary);
}

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

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-secondary);
    padding: 6px 18px;
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-tag svg {
    width: 15px;
    height: 15px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: 12px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.02rem;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.info-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.info-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.info-card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
}

.info-card-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.info-card-value {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-primary);
}

/* ========================================
   TIMELINE / EXPERIENCE
   ======================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(108, 92, 231, 0.5);
    position: relative;
    z-index: 1;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid rgba(108, 92, 231, 0.3);
    border-radius: 50%;
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    margin-top: 8px;
}

.timeline-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-base);
}

.timeline-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

.timeline-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.timeline-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.timeline-badge.current {
    background: rgba(0, 206, 201, 0.12);
    color: var(--accent-emerald);
    border: 1px solid rgba(0, 206, 201, 0.25);
}

.timeline-badge.govt {
    background: rgba(253, 203, 110, 0.12);
    color: var(--accent-gold);
    border: 1px solid rgba(253, 203, 110, 0.25);
}

.timeline-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-tertiary);
}

.timeline-date svg {
    width: 14px;
    height: 14px;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-company {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.timeline-company svg {
    width: 16px;
    height: 16px;
}

.timeline-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 16px;
    padding-left: 14px;
    border-left: 2px solid var(--accent-primary);
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-chip {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 4px 12px;
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-full);
    color: var(--accent-secondary);
    transition: all var(--transition-fast);
}

.tech-chip:hover {
    background: rgba(108, 92, 231, 0.15);
    border-color: rgba(108, 92, 231, 0.35);
}

.timeline-contributions {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-contributions li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.timeline-contributions svg {
    width: 18px;
    height: 18px;
    color: var(--accent-emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-base);
}

.skill-category:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.skill-category-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: var(--radius-sm);
}

.skill-category-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
}

.skill-category h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    cursor: none;
}

.skill-pill:hover {
    border-color: var(--accent-primary);
    background: rgba(108, 92, 231, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.15);
}

.skill-icon {
    font-size: 0.9rem;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.project-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: none;
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.project-card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(108, 92, 231, 0.08) 0%, transparent 60%);
}

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

.project-card-content {
    padding: 32px;
    position: relative;
    z-index: 1;
}

.project-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.project-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.project-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.project-tech span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 10px;
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-full);
    color: var(--accent-secondary);
}

/* ========================================
   ACHIEVEMENTS SECTION
   ======================================== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
}

.achievement-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.achievement-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.achievement-rank {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-tertiary);
    flex-shrink: 0;
    min-width: 60px;
    text-align: center;
}

.achievement-rank.gold {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-rank.silver {
    background: linear-gradient(135deg, #dfe6e9, #b2bec3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-rank sup {
    font-size: 0.5em;
}

.achievement-content h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.achievement-content p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--accent-secondary);
    padding: 4px 12px;
    background: rgba(108, 92, 231, 0.08);
    border-radius: var(--radius-full);
}

.achievement-badge svg {
    width: 12px;
    height: 12px;
}

/* ========================================
   EDUCATION SECTION
   ======================================== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.education-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-base);
    text-align: center;
}

.education-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}

.education-year {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.education-degree {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.education-school {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.education-school svg {
    width: 14px;
    height: 14px;
    color: var(--accent-primary);
}

.education-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.score-ring {
    width: 80px;
    height: 80px;
    position: relative;
}

.score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: var(--border-subtle);
    stroke-width: 2.8;
}

.score-fill {
    fill: none;
    stroke: var(--accent-primary);
    stroke-width: 2.8;
    stroke-linecap: round;
    transition: stroke-dasharray 1.5s var(--ease-out-expo);
}

.score-fill.perfect {
    stroke: var(--accent-emerald);
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
}

.score-max {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact-item:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent-primary);
}

.contact-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.contact-value {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

a.contact-value:hover {
    color: var(--accent-secondary);
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.social-link:hover {
    border-color: var(--accent-primary);
    background: rgba(108, 92, 231, 0.1);
    transform: translateY(-3px);
}

.social-link:hover svg {
    color: var(--accent-primary);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.92rem;
    transition: all var(--transition-fast);
    outline: none;
    cursor: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    font-size: 0.9rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group textarea ~ label {
    top: 20px;
    transform: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    left: 12px;
    font-size: 0.72rem;
    color: var(--accent-secondary);
    background: var(--bg-primary);
    padding: 0 8px;
    transform: none;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: all 0.4s var(--ease-out-expo);
    transform: translateX(-50%);
    border-radius: 1px;
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-text {
    color: var(--text-tertiary);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: var(--border-subtle);
    margin: 0 auto 20px;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-text.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-greeting {
        justify-content: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-container {
        width: 280px;
        height: 280px;
    }

    .hero-orbit {
        width: 380px;
        height: 380px;
    }

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

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .education-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 80px 16px 40px;
    }

    .hero-image-container {
        width: 220px;
        height: 220px;
    }

    .hero-orbit {
        width: 320px;
        height: 320px;
    }

    .badge-top {
        right: -10px;
        top: 10px;
    }

    .badge-bottom {
        left: -10px;
        bottom: 20px;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 8px 14px;
    }

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

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

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

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

    .timeline-item {
        gap: 16px;
    }

    .timeline-card {
        padding: 24px;
    }

    .scroll-indicator {
        display: none;
    }

    /* Disable custom cursor on mobile */
    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    body {
        cursor: auto;
    }

    button, a, .skill-pill, .project-card {
        cursor: pointer;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .achievement-card {
        flex-direction: column;
        text-align: center;
    }
}
