/* ==================== ROOT VARIABLES ==================== */
:root {
    --primary: #00d4ff;
    --secondary: #7b2cbf;
    --accent: #ff006e;
    --dark: #0a0e27;
    --darker: #050714;
    --light: #ffffff;
    --gray: #8892b0;
    --gray-light: #ccd6f6;
    
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);
    --gradient-accent: linear-gradient(135deg, #ff006e 0%, #ff4d00 100%);
    --gradient-dark: linear-gradient(180deg, #0a0e27 0%, #050714 100%);
    
    --shadow-sm: 0 2px 10px rgba(0, 212, 255, 0.1);
    --shadow-md: 0 8px 30px rgba(0, 212, 255, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 212, 255, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--darker);
    color: var(--gray-light);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--primary);
    color: var(--dark);
}

/* ==================== PARTICLE BACKGROUND ==================== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: var(--gradient-dark);
    overflow: hidden;
}

.particles-container::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, var(--primary), transparent),
        radial-gradient(2px 2px at 60% 70%, var(--secondary), transparent),
        radial-gradient(1px 1px at 50% 50%, var(--accent), transparent),
        radial-gradient(1px 1px at 80% 10%, var(--primary), transparent);
    background-size: 200px 200px, 300px 300px, 150px 150px, 250px 250px;
    animation: particleMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes particleMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* ==================== NAVIGATION ==================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-glitch {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: glowPulse 2s ease-in-out infinite;
}

.logo-glitch::before,
.logo-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8;
}

.logo-glitch::before {
    animation: glitch1 0.5s infinite;
    color: var(--primary);
    z-index: -1;
}

.logo-glitch::after {
    animation: glitch2 0.5s infinite;
    color: var(--accent);
    z-index: -2;
}

@keyframes glitch1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8)); }
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 4rem;
    z-index: 1;
}

.hero-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(45deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.8s both;
}

/* ==================== TECH ORBIT VISUALIZATION ==================== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease-out 0.4s both;
}

.tech-orbit {
    position: relative;
    width: 400px;
    height: 400px;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbit-1 {
    width: 300px;
    height: 300px;
    border-color: rgba(0, 212, 255, 0.3);
}

.orbit-2 {
    width: 350px;
    height: 350px;
    animation-duration: 25s;
    border-color: rgba(123, 44, 191, 0.3);
}

.orbit-3 {
    width: 400px;
    height: 400px;
    animation-duration: 30s;
    border-color: rgba(255, 0, 110, 0.3);
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--dark);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.orbit-node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(10, 14, 39, 0.9);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.orbit-node:hover {
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.node-1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.node-2 {
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    animation-delay: 0.5s;
}

.node-3 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

.node-4 {
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
}

/* ==================== SECTIONS ==================== */
section {
    position: relative;
    padding: 6rem 2rem;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.02) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.profile-card {
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: sticky;
    top: 100px;
}

.profile-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.status-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #00ff00;
    border: 3px solid var(--dark);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.profile-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.profile-title {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.profile-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text .lead {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

.focus-areas,
.side-projects {
    background: rgba(0, 212, 255, 0.05);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.focus-areas h4,
.side-projects h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.focus-grid {
    display: grid;
    gap: 1.5rem;
}

.focus-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.focus-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.25rem;
}

.focus-item strong {
    display: block;
    color: var(--light);
    margin-bottom: 0.25rem;
}

.focus-item p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.project-link:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateX(5px);
}

/* ==================== EXPERTISE SECTION ==================== */
.expertise-section {
    background: rgba(0, 0, 0, 0.3);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.expertise-card {
    position: relative;
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.expertise-card:hover .card-glow {
    opacity: 1;
    animation: rotate 4s linear infinite;
}

.expertise-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.expertise-card h3 {
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 1rem;
}

.expertise-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    transition: var(--transition);
}

.tech-tag:hover {
    background: var(--primary);
    color: var(--dark);
    transform: scale(1.05);
}

/* ==================== PROJECTS SECTION ==================== */
.projects-section {
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.02) 0%, transparent 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.project-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: var(--gradient-primary);
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--dark);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.project-btn:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.project-content {
    padding: 2rem;
}

.project-category {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.project-content h3 {
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    padding: 0.4rem 0.8rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary);
}

/* ==================== RESEARCH SECTION ==================== */
.research-section {
    background: rgba(0, 0, 0, 0.3);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.research-card {
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.research-card.featured {
    grid-column: span 2;
}

.research-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.research-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.research-card h3 {
    font-size: 1.3rem;
    color: var(--light);
    margin-bottom: 1rem;
}

.research-card p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.research-tags span {
    padding: 0.4rem 0.8rem;
    background: rgba(123, 44, 191, 0.1);
    border: 1px solid rgba(123, 44, 191, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--secondary);
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.02) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0 auto 1rem;
}

.contact-card h4 {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--light);
}

.contact-cta {
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    position: sticky;
    top: 100px;
}

.contact-cta h3 {
    font-size: 2rem;
    color: var(--light);
    margin-bottom: 1rem;
}

.contact-cta p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: rgba(5, 7, 20, 0.8);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    padding: 3rem 2rem 2rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    flex: 1;
}

.footer-brand p {
    color: var(--gray);
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .tech-orbit {
        width: 350px;
        height: 350px;
    }
    
    .orbit-1 { width: 250px; height: 250px; }
    .orbit-2 { width: 300px; height: 300px; }
    .orbit-3 { width: 350px; height: 350px; }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .profile-card {
        position: static;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-cta {
        position: static;
    }
    
    .research-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 5rem 1rem 3rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    section {
        padding: 4rem 1rem;
    }
    
    .expertise-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .focus-item {
        flex-direction: column;
        text-align: center;
    }
    
    .project-links {
        flex-direction: column;
    }
}

/* ==================== UTILITIES ==================== */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ==================== SCROLLBAR STYLING ==================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==================== LOADING ANIMATIONS ==================== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        rgba(10, 14, 39, 0.6) 0%,
        rgba(0, 212, 255, 0.1) 50%,
        rgba(10, 14, 39, 0.6) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ==================== ACCESSIBILITY ==================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .particles-container,
    .main-nav,
    .hero-visual,
    .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .particles-container::before {
        animation: none;
    }
    
    .orbit-ring {
        animation: none;
    }
    
    .orbit-center {
        animation: none;
    }
    
    .orbit-node {
        animation: none;
    }
}

/* ==================== HIGH CONTRAST MODE ==================== */
@media (prefers-contrast: high) {
    :root {
        --primary: #00ffff;
        --secondary: #ff00ff;
        --accent: #ffff00;
    }
    
    .btn {
        border-width: 3px;
    }
    
    .expertise-card,
    .project-card,
    .research-card,
    .contact-card {
        border-width: 2px;
    }
}
