/* ========================================
   DESIGN SYSTEM — Mohan Kumar Portfolio
   Professional 3D Portfolio with Glass UI
   ======================================== */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Primary Palette — Deep Navy to Electric Blue */
    --clr-bg-deep: #050a18;
    --clr-bg-primary: #0a1128;
    --clr-bg-secondary: #101d3f;
    --clr-bg-card: rgba(16, 29, 63, 0.45);
    --clr-bg-card-hover: rgba(20, 38, 82, 0.6);

    /* Accent Colors */
    --clr-accent-primary: #4f8fff;
    --clr-accent-secondary: #7b61ff;
    --clr-accent-tertiary: #00d4ff;
    --clr-accent-warm: #f59e0b;
    --clr-accent-success: #10b981;
    --clr-accent-rose: #f43f5e;

    /* Gradient Accents */
    --gradient-primary: linear-gradient(135deg, #4f8fff 0%, #7b61ff 50%, #00d4ff 100%);
    --gradient-text: linear-gradient(135deg, #4f8fff 0%, #00d4ff 50%, #7b61ff 100%);
    --gradient-card: linear-gradient(135deg, rgba(79, 143, 255, 0.08) 0%, rgba(123, 97, 255, 0.04) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(79, 143, 255, 0.15) 0%, transparent 70%);

    /* Text Colors */
    --clr-text-primary: #e8edf5;
    --clr-text-secondary: #94a3c4;
    --clr-text-muted: #5a6b8a;
    --clr-text-white: #ffffff;

    /* Glass Effect */
    --glass-bg: rgba(16, 29, 63, 0.35);
    --glass-border: rgba(79, 143, 255, 0.12);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glass-blur: blur(20px);

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-normal: 0.4s var(--ease-out-expo);
    --transition-slow: 0.8s var(--ease-out-expo);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-deep);
    color: var(--clr-text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

::selection {
    background: rgba(79, 143, 255, 0.3);
    color: var(--clr-text-white);
}

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

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

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

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--clr-accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
    mix-blend-mode: screen;
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(79, 143, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    mix-blend-mode: screen;
}

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

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

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

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.glass-card:hover {
    border-color: rgba(79, 143, 255, 0.25);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(79, 143, 255, 0.08);
}

/* ===== ANIMATION ON SCROLL ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: background var(--transition-normal), padding var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(5, 10, 24, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: var(--space-sm) 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(79, 143, 255, 0.08);
}

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

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--clr-text-white);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 2px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--clr-text-secondary);
    padding: var(--space-xs) var(--space-sm);
    position: relative;
    transition: color var(--transition-fast);
    letter-spacing: 0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-normal), left var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--clr-text-white);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--clr-text-primary);
    border-radius: var(--radius-full);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 120px var(--space-xl) var(--space-3xl);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(79, 143, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(123, 97, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(0, 212, 255, 0.04) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--clr-accent-success);
    margin-bottom: var(--space-lg);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--clr-accent-success);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.hero-title {
    font-family: var(--font-display);
    line-height: 1.1;
    margin-bottom: var(--space-xl);
}

.hero-greeting {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--clr-accent-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.hero-name {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--clr-text-white);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.hero-role {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--clr-text-secondary);
    margin-top: var(--space-xs);
}

.role-prefix {
    color: var(--clr-text-secondary);
}

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

.typing-cursor {
    color: var(--clr-accent-primary);
    animation: blink 1s step-end infinite;
    font-weight: 300;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.05rem;
    color: var(--clr-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    max-width: 540px;
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    padding: var(--space-lg) var(--space-xl);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-number::after {
    content: '+';
    font-size: 1.4rem;
    -webkit-text-fill-color: var(--clr-accent-tertiary);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: var(--space-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--clr-text-white);
    box-shadow: 0 4px 20px rgba(79, 143, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(79, 143, 255, 0.45);
}

.btn-primary svg {
    transition: transform var(--transition-fast);
}

.btn-primary:hover svg {
    transform: translate(3px, -3px);
}

.btn-outline {
    background: transparent;
    color: var(--clr-text-primary);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background: rgba(79, 143, 255, 0.08);
    border-color: var(--clr-accent-primary);
    color: var(--clr-accent-primary);
    transform: translateY(-2px);
}

/* ===== PROFILE CARD 3D ===== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.profile-card-3d {
    position: relative;
    width: 380px;
    height: 480px;
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

.profile-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(16, 29, 63, 0.6), rgba(10, 17, 40, 0.9));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(79, 143, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(79, 143, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    overflow: visible;
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: var(--gradient-glow);
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

/* Profile Animated Rings */
.profile-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 220px;
    height: 220px;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 200px;
    height: 200px;
    border-color: rgba(79, 143, 255, 0.2);
    animation: ring-spin 20s linear infinite;
}

.ring-2 {
    width: 240px;
    height: 240px;
    border-color: rgba(123, 97, 255, 0.12);
    animation: ring-spin 30s linear infinite reverse;
    border-style: dashed;
}

.ring-3 {
    width: 280px;
    height: 280px;
    border-color: rgba(0, 212, 255, 0.08);
    animation: ring-spin 40s linear infinite;
    border-style: dotted;
}

@keyframes ring-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

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

/* Profile Image */
.profile-image-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    padding: 3px;
    background: var(--gradient-primary);
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 2;
    transform: translateZ(30px);
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--clr-bg-primary);
}

.profile-card-info {
    text-align: center;
    transform: translateZ(20px);
}

.pci-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--clr-text-white);
    margin-bottom: var(--space-xs);
}

.pci-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-accent-primary);
    margin-bottom: var(--space-xs);
}

.pci-company {
    display: block;
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}

/* Floating Tech Badges */
.floating-tech {
    position: absolute;
    transform: translate(var(--x), var(--y)) translateZ(50px);
    animation: float-tech 6s ease-in-out infinite;
    animation-delay: calc(attr(data-delay type(<number>), 0) * 0.8s);
    z-index: 5;
}

.floating-tech:nth-child(5) {
    animation-delay: 0s;
}

.floating-tech:nth-child(6) {
    animation-delay: 0.8s;
}

.floating-tech:nth-child(7) {
    animation-delay: 1.6s;
}

.floating-tech:nth-child(8) {
    animation-delay: 2.4s;
}

.floating-tech:nth-child(9) {
    animation-delay: 3.2s;
}

.floating-tech span {
    display: block;
    padding: 6px 16px;
    background: rgba(10, 20, 55, 0.88);
    border: 1.5px solid rgba(79, 143, 255, 0.55);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: #7dd3fc;
    white-space: nowrap;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    letter-spacing: 0.03em;
    box-shadow: 0 0 12px rgba(79, 143, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@keyframes float-tech {

    0%,
    100% {
        transform: translate(var(--x), var(--y)) translateZ(50px);
    }

    50% {
        transform: translate(var(--x), calc(var(--y) - 12px)) translateZ(60px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.scroll-arrow {
    color: var(--clr-accent-primary);
    opacity: 0.6;
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ===== SECTIONS COMMON ===== */
.section {
    position: relative;
    z-index: 1;
    padding: var(--space-5xl) 0;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0.3;
    z-index: -1;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--clr-accent-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    background: rgba(79, 143, 255, 0.08);
    border: 1px solid rgba(79, 143, 255, 0.15);
    border-radius: var(--radius-full);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--clr-text-white);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.about-paragraph {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.about-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 143, 255, 0.08);
    border: 1px solid rgba(79, 143, 255, 0.12);
    border-radius: var(--radius-md);
    color: var(--clr-accent-primary);
}

.about-paragraph p {
    font-size: 0.95rem;
    color: var(--clr-text-secondary);
    line-height: 1.8;
}

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

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

.highlight-card {
    padding: var(--space-xl);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.highlight-card:hover {
    transform: translateY(-6px);
}

.highlight-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.highlight-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-text-white);
    margin-bottom: var(--space-sm);
}

.highlight-card p {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--clr-accent-primary), var(--clr-accent-secondary), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-3xl);
    display: flex;
}

.timeline-item[data-side="right"] {
    justify-content: flex-end;
    padding-left: 55%;
}

.timeline-item[data-side="left"] {
    justify-content: flex-start;
    padding-right: 55%;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: var(--space-xl);
    transform: translateX(-50%);
    z-index: 2;
}

.marker-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--clr-bg-primary);
    border: 3px solid var(--clr-accent-secondary);
    position: relative;
    z-index: 2;
}

.marker-dot.current {
    border-color: var(--clr-accent-primary);
    box-shadow: 0 0 0 4px rgba(79, 143, 255, 0.2), 0 0 20px rgba(79, 143, 255, 0.3);
    animation: marker-pulse 2s infinite;
}

@keyframes marker-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(79, 143, 255, 0.2), 0 0 20px rgba(79, 143, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(79, 143, 255, 0.1), 0 0 30px rgba(79, 143, 255, 0.2);
    }
}

.timeline-card {
    padding: var(--space-xl);
    width: 100%;
    position: relative;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: var(--space-xl);
    width: 20px;
    height: 2px;
    background: rgba(79, 143, 255, 0.2);
}

.timeline-item[data-side="right"] .timeline-card::before {
    left: -20px;
}

.timeline-item[data-side="left"] .timeline-card::before {
    right: -20px;
}

.tc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.tc-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tc-badge.current {
    background: rgba(79, 143, 255, 0.15);
    color: var(--clr-accent-primary);
    border: 1px solid rgba(79, 143, 255, 0.3);
}

.tc-badge.ey {
    background: rgba(245, 158, 11, 0.15);
    color: var(--clr-accent-warm);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.tc-badge.first {
    background: rgba(16, 185, 129, 0.15);
    color: var(--clr-accent-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.tc-date {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    font-weight: 500;
}

.tc-company {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clr-text-white);
    margin-bottom: var(--space-xs);
}

.tc-via {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--clr-text-muted);
}

.tc-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-accent-primary);
    margin-bottom: var(--space-md);
}

.tc-description {
    font-size: 0.88rem;
    color: var(--clr-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.tc-description strong {
    color: var(--clr-text-primary);
}

.tc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.tc-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    padding: 4px 10px;
    background: rgba(79, 143, 255, 0.06);
    border: 1px solid rgba(79, 143, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--clr-text-muted);
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.skill-category {
    padding: var(--space-xl);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.skill-category:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 143, 255, 0.25);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.sc-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 143, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--clr-accent-primary);
}

.skill-category-header h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-text-white);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.skill-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(79, 143, 255, 0.05);
    border: 1px solid rgba(79, 143, 255, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--clr-text-secondary);
    transition: all var(--transition-fast);
}

.skill-pill:hover {
    background: rgba(79, 143, 255, 0.12);
    border-color: rgba(79, 143, 255, 0.3);
    color: var(--clr-text-primary);
    transform: translateY(-2px);
}

.skill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.skill-pill[data-level="expert"] .skill-dot {
    background: var(--clr-accent-primary);
    box-shadow: 0 0 6px rgba(79, 143, 255, 0.5);
}

.skill-pill[data-level="advanced"] .skill-dot {
    background: var(--clr-accent-tertiary);
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.5);
}

/* ===== PROJECTS / DOMAIN SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.project-card {
    padding: var(--space-2xl);
    display: flex;
    gap: var(--space-xl);
    transition: transform var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.project-card:hover {
    transform: translateY(-6px);
}

.pc-icon-wrap {
    flex-shrink: 0;
}

.pc-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 143, 255, 0.08);
    border: 1px solid rgba(79, 143, 255, 0.15);
    border-radius: var(--radius-lg);
    color: var(--clr-accent-primary);
}

.pc-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--clr-text-white);
    margin-bottom: var(--space-xs);
}

.pc-company {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--clr-accent-primary);
    margin-bottom: var(--space-md);
}

.pc-content p {
    font-size: 0.88rem;
    color: var(--clr-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.pc-content p strong {
    color: var(--clr-text-primary);
}

.pc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.pc-tags span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    padding: 4px 10px;
    background: rgba(79, 143, 255, 0.06);
    border: 1px solid rgba(79, 143, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--clr-text-muted);
}

/* ===== EDUCATION SECTION ===== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
    max-width: 900px;
    margin: 0 auto;
}

.edu-card {
    padding: var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-normal);
}

.edu-card:hover {
    transform: translateY(-6px);
}

.edu-badge {
    display: inline-block;
    padding: 6px 20px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
    background: rgba(79, 143, 255, 0.12);
    color: var(--clr-accent-primary);
    border: 1px solid rgba(79, 143, 255, 0.25);
}

.edu-badge.diploma {
    background: rgba(123, 97, 255, 0.12);
    color: var(--clr-accent-secondary);
    border-color: rgba(123, 97, 255, 0.25);
}

.edu-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--clr-text-white);
    margin-bottom: var(--space-xs);
}

.edu-content h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-accent-primary);
    margin-bottom: var(--space-md);
}

.edu-institution {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-text-secondary);
    margin-bottom: var(--space-xs);
}

.edu-university {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--space-xl);
}

/* Score Ring */
.edu-score {
    display: flex;
    justify-content: center;
}

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

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

.score-bg {
    fill: none;
    stroke: rgba(79, 143, 255, 0.08);
    stroke-width: 6;
}

.score-fill {
    fill: none;
    stroke: url(#scoreGradient);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: calc(339.292 * (1 - var(--score-pct, 0) / 100));
    transition: stroke-dashoffset 2s var(--ease-out-expo);
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--clr-text-white);
    line-height: 1;
}

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

/* ===== CONTACT SECTION ===== */
.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--clr-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.contact-card {
    padding: var(--space-xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: var(--clr-accent-primary);
}

.cc-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 143, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--clr-accent-primary);
    margin-bottom: var(--space-sm);
}

.cc-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cc-value {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--clr-text-primary);
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 1;
    padding: var(--space-2xl) 0;
    border-top: 1px solid rgba(79, 143, 255, 0.06);
}

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

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--clr-text-white);
    margin-bottom: var(--space-sm);
}

.footer-text {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--space-xs);
}

.footer-copyright {
    font-size: 0.72rem;
    color: var(--clr-text-muted);
    opacity: 0.6;
}

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

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

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

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

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

    .hero-visual {
        order: -1;
    }

    .profile-card-3d {
        width: 320px;
        height: 400px;
    }

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

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

    .timeline::before {
        left: 24px;
    }

    .timeline-item[data-side="right"],
    .timeline-item[data-side="left"] {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-marker {
        left: 24px;
    }

    .timeline-item[data-side="left"] .timeline-card::before,
    .timeline-item[data-side="right"] .timeline-card::before {
        left: -20px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(5, 10, 24, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-xl);
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero {
        padding: 100px var(--space-md) var(--space-2xl);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        width: 40%;
        justify-content: center;
    }

    .profile-card-3d {
        width: 280px;
        height: 360px;
    }

    .profile-image-wrapper {
        width: 140px;
        height: 140px;
    }

    .profile-rings .ring-1 {
        width: 160px;
        height: 160px;
    }

    .profile-rings .ring-2 {
        width: 190px;
        height: 190px;
    }

    .profile-rings .ring-3 {
        width: 220px;
        height: 220px;
    }

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

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

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

    .section {
        padding: var(--space-3xl) 0;
    }

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

    .cursor-dot,
    .cursor-ring {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-role {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 0;
    }

    .hero-stats {
        padding: var(--space-md);
    }

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

    .project-card {
        flex-direction: column;
    }

    .floating-tech {
        display: none;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .ring,
    .badge-dot,
    .scroll-indicator,
    .floating-tech,
    .marker-dot.current,
    .typing-cursor {
        animation: none;
    }

    .glass-card,
    .btn,
    .skill-pill,
    .highlight-card,
    .project-card,
    .edu-card,
    .contact-card {
        transition: none;
    }
}