/* CSS Custom Properties */
:root {
    /* Colors */
    --primary-color: #00d4ff;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --success-color: #26de81;
    --warning-color: #fed330;
    --error-color: #fa7070;
    
    /* Background Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-glass: rgba(255, 255, 255, 0.1);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8c6db;
    --text-muted: #718096;
    --text-accent: var(--primary-color);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
    --z-cursor: 9999;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--bg-primary);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--bg-primary);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Custom Cursor */
.cursor,
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    pointer-events: none;
    z-index: var(--z-cursor);
    mix-blend-mode: difference;
    transition: transform var(--transition-fast);
}

.cursor {
    background: var(--primary-color);
    border: 2px solid var(--text-primary);
}

.cursor-trail {
    background: rgba(0, 212, 255, 0.5);
    transform: scale(0.5);
    animation: cursorTrail 0.5s ease-out;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

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

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

.loading-logo {
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    animation: logoSpin 2s linear infinite;
}

.loading-text {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary-color);
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    margin: var(--space-6) auto;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
    animation: loadingProgress 3s ease-in-out;
}

.loading-message {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-top: var(--space-4);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: var(--z-sticky);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-lg);
}

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

.nav-logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-8);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-fast);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: var(--space-20);
}

.section-title {
    font-size: var(--text-5xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-base);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    cursor: none;
    position: relative;
    overflow: hidden;
}

.btn::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 var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Glass Card */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(0, 212, 255, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    opacity: 0.3;
    animation: float 20s linear infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: -2s;
}

.floating-element:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: -8s;
}

.floating-element:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: -15s;
}

.floating-element:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: -5s;
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
    border-radius: var(--radius-lg);
    animation: rotate 20s linear infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: -5s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: -10s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 30%;
    animation-delay: -15s;
}

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

.hero-text {
    opacity: 0;
    animation: slideInLeft 1s ease-out 0.5s forwards;
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.title-line {
    display: block;
    color: var(--text-secondary);
    font-size: var(--text-2xl);
    font-weight: 400;
}

.title-name {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-role {
    display: block;
    color: var(--text-primary);
    font-size: var(--text-3xl);
    margin-top: var(--space-2);
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    max-width: 500px;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-visual {
    opacity: 0;
    animation: slideInRight 1s ease-out 0.7s forwards;
}

.code-visualization {
    position: relative;
}

.code-window {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.window-header {
    background: var(--bg-tertiary);
    padding: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.window-controls {
    display: flex;
    gap: var(--space-2);
}

.control {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
}

.control.close {
    background: #ff5f57;
}

.control.minimize {
    background: #ffbd2e;
}

.control.maximize {
    background: #28ca42;
}

.window-title {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-family: var(--font-mono);
}

.code-content {
    padding: var(--space-6);
    max-height: 400px;
    overflow-y: auto;
}

.code-block {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--text-primary);
    white-space: pre-wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
    z-index: 2;
}

.scroll-text {
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: var(--radius-full);
    animation: scrollBounce 2s infinite;
}

/* About Section */
.about {
    padding: var(--space-20) 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-text h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--primary-color);
}

.about-text p {
    font-size: var(--text-lg);
    line-height: 1.8;
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.stat-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

/* Skills Section */
.skills {
    padding: var(--space-20) 0;
    background: var(--bg-primary);
}

.skills-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-16);
}

.skills-categories {
    display: grid;
    gap: var(--space-8);
}

.skill-category {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
}

.skill-category h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    color: var(--primary-color);
}

.skill-list {
    display: grid;
    gap: var(--space-4);
}

.skill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 120px;
}

.skill-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    margin-left: var(--space-4);
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
    width: 0;
    transition: width 1.5s ease-in-out;
}

.tech-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-content: flex-start;
}

.tech-item {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-normal);
    cursor: none;
}

.tech-item:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Experience Section */
.experience {
    padding: var(--space-20) 0;
    background: var(--bg-secondary);
}

.current-role {
    margin-bottom: var(--space-16);
}

.role-card {
    background: linear-gradient(135deg, var(--bg-glass), rgba(0, 212, 255, 0.05));
    border: 2px solid var(--primary-color);
}

.role-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-6);
    align-items: center;
    margin-bottom: var(--space-6);
}

.company-logo {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-weight: 800;
    font-size: var(--text-lg);
}

.role-info h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.company-name {
    font-size: var(--text-lg);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.role-period {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.status-badge {
    background: var(--success-color);
    color: var(--bg-primary);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-content p {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.achievements {
    list-style: none;
    margin-bottom: var(--space-6);
}

.achievements li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
    color: var(--text-secondary);
    line-height: 1.6;
}

.achievements li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: var(--text-sm);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.tech-tag {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-12);
    padding-left: 100px;
}

.timeline-item::before {
    content: attr(data-year);
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: var(--text-sm);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 8px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    border: 4px solid var(--bg-secondary);
}

.experience-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--transition-normal);
}

.experience-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.card-header {
    margin-bottom: var(--space-6);
}

.card-header h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.company {
    font-size: var(--text-lg);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.period {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.card-content ul {
    list-style: none;
    margin-bottom: var(--space-6);
}

.card-content li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
    color: var(--text-secondary);
    line-height: 1.6;
}

.card-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: var(--space-20) 0;
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: flex-start;
}

.info-card h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-4);
}

.info-card p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.contact-details {
    display: grid;
    gap: var(--space-6);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 500;
}

.contact-value {
    font-size: var(--text-lg);
    color: var(--text-primary);
    font-weight: 600;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.social-link {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: none;
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
}

.social-link.linkedin:hover {
    border-color: #0077b5;
    background: rgba(0, 119, 181, 0.1);
}

.social-link.github:hover {
    border-color: #333;
    background: rgba(51, 51, 51, 0.1);
}

.social-link.email:hover {
    border-color: var(--secondary-color);
    background: rgba(255, 107, 107, 0.1);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link span {
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    padding: var(--space-8) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-text {
    color: var(--text-muted);
}

.footer-text p {
    margin-bottom: var(--space-1);
    font-size: var(--text-sm);
}

.footer-links {
    display: flex;
    gap: var(--space-6);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
    cursor: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }
    
    .about-content,
    .skills-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left var(--transition-normal);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .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(7px, -6px);
    }
    
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .timeline {
        padding-left: 0;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-item::before {
        width: 60px;
        font-size: var(--text-xs);
    }
    
    .timeline-item::after {
        left: 10px;
        width: 16px;
        height: 16px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .role-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-4);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .nav-container {
        padding: 0 var(--space-4);
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-description {
        font-size: var(--text-base);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .tech-cloud {
        justify-content: center;
    }
    
    .social-links {
        align-items: center;
    }
    
    .social-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .cursor,
    .cursor-trail,
    .loading-screen,
    .navbar,
    .floating-elements,
    .geometric-shapes,
    .scroll-indicator {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        cursor: auto !important;
    }
    
    .glass-card {
        background: white !important;
        border: 1px solid #ccc !important;
        backdrop-filter: none !important;
    }
    
    .section-title {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --bg-primary: #000000;
        --bg-secondary: #1a1a1a;
        --bg-tertiary: #333333;
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
        --primary-color: #00ffff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-behavior {
        scroll-behavior: auto !important;
    }
}
