/* ============================================
   DESIGN SYSTEM & CUSTOM PROPERTIES — LIGHT THEME
   ============================================ */
:root {
    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-tertiary: #f1f3f9;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);

    /* Vibrant Accent Colors */
    --accent-primary: #6366f1;        /* Indigo */
    --accent-secondary: #ec4899;      /* Pink */
    --accent-tertiary: #8b5cf6;       /* Violet */
    --accent-orange: #f97316;         /* Orange */
    --accent-teal: #14b8a6;           /* Teal */
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #f97316 100%);
    --accent-gradient-subtle: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(236,72,153,0.08) 50%, rgba(249,115,22,0.08) 100%);
    --accent-shadow: 0 8px 32px rgba(99, 102, 241, 0.18);
    --accent-shadow-hover: 0 12px 40px rgba(99, 102, 241, 0.25);

    /* Text Colors */
    --text-primary: #1e1b4b;          /* Deep indigo-black */
    --text-secondary: #64748b;        /* Slate gray */
    --text-tertiary: #94a3b8;         /* Light slate */
    --text-accent: #6366f1;

    /* Border */
    --border-color: #e2e8f0;
    --border-hover: rgba(99, 102, 241, 0.4);

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;
    --nav-height: 72px;

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

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

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

a {
    color: var(--text-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

img {
    max-width: 100%;
    height: auto;
}

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

::selection {
    background: rgba(99, 102, 241, 0.2);
    color: var(--text-primary);
}

/* ============================================
   PARTICLE CANVAS
   ============================================ */
#particles-canvas {
    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(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(99, 102, 241, 0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-ring.hover {
    width: 56px;
    height: 56px;
    border-color: rgba(236, 72, 153, 0.5);
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition-medium);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.nav-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.07);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2.5px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

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

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

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    gap: 60px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(236,72,153,0.08));
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 28px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

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

.hero-greeting {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 4px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-name {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
    margin-bottom: 8px;
}

.hero-role {
    display: block;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 500;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    min-height: 2em;
}

.hero-role::after {
    content: '|';
    animation: blink-cursor 0.8s steps(1) infinite;
    color: var(--accent-secondary);
    margin-left: 2px;
}

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

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-medium);
    border: none;
    font-family: var(--font-primary);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
    color: #ffffff;
}

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

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    color: var(--accent-primary);
}

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

/* Stats */
.hero-stats {
    display: flex;
    gap: 40px;
}

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

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

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    flex-shrink: 0;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid rgba(99, 102, 241, 0.25);
    box-shadow: 0 8px 40px rgba(99, 102, 241, 0.15);
    object-fit: cover;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    background: var(--bg-secondary);
}

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

/* Orbit rings */
.orbit-ring {
    position: absolute;
    border: 1.5px dashed rgba(99, 102, 241, 0.12);
    border-radius: 50%;
    animation: spin-orbit linear infinite;
}

.orbit-ring-1 {
    width: 240px;
    height: 240px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 15s;
    border-color: rgba(99, 102, 241, 0.15);
}

.orbit-ring-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 20s;
    animation-direction: reverse;
    border-color: rgba(236, 72, 153, 0.12);
}

.orbit-ring-3 {
    width: 340px;
    height: 340px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 25s;
    border-color: rgba(249, 115, 22, 0.12);
}

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

.orbit-dot {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.2));
}

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

.scroll-indicator:hover {
    color: var(--accent-primary);
}

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

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

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

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

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

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

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 0 auto;
    border-radius: 2px;
}

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

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

.about-highlights {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.highlight-item:hover {
    border-color: var(--border-hover);
    transform: translateX(6px);
    box-shadow: var(--accent-shadow);
}

.highlight-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(236,72,153,0.08));
    border-radius: var(--radius-sm);
    color: var(--accent-primary);
}

.highlight-item div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.highlight-item div:last-child strong {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.highlight-item div:last-child span {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* Info cards */
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    transition: all var(--transition-medium);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.info-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--accent-shadow);
}

.info-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.info-label {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    font-weight: 500;
}

.info-value {
    color: var(--text-primary);
    font-size: 0.9rem;
    text-align: right;
}

.info-value a {
    color: var(--accent-primary);
}

/* Education */
.edu-item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.edu-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.edu-degree {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.edu-school {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.edu-year {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    margin-top: 4px;
}

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

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

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 48px;
}

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

.timeline-marker {
    position: absolute;
    left: 12px;
    top: 8px;
}

.timeline-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-medium);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.timeline-content:hover {
    border-color: var(--border-hover);
    box-shadow: var(--accent-shadow);
    transform: translateY(-4px);
}

.timeline-header {
    margin-bottom: 20px;
}

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

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 500;
}

.timeline-tag {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.current-tag {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-company {
    font-size: 1rem;
    color: var(--accent-secondary);
    font-weight: 600;
}

.timeline-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.timeline-details li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.timeline-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-size: 1rem;
}

.timeline-details li strong {
    color: var(--text-primary);
}

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

.timeline-tech span {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(236,72,153,0.06));
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 100px;
    color: var(--accent-primary);
    font-family: var(--font-mono);
    font-weight: 500;
}

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

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-medium);
}

.project-card-inner {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    height: 100%;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.project-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.project-card:hover .project-card-inner {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--accent-shadow);
}

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

.project-icon {
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.project-featured-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 0.7rem;
    padding: 4px 14px;
    background: linear-gradient(135deg, rgba(236,72,153,0.1), rgba(249,115,22,0.08));
    color: var(--accent-secondary);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 100px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.project-subtitle {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--accent-primary);
    margin-bottom: 14px;
}

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

.project-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-tags span {
    font-size: 0.72rem;
    padding: 3px 10px;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 100px;
    color: var(--accent-primary);
    font-family: var(--font-mono);
    font-weight: 500;
}

.project-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.project-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.project-link-btn svg {
    margin-top: 1px;
    transition: transform var(--transition-fast);
}

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

.project-link-btn:hover svg {
    transform: translate(2px, -2px);
}


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

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.skill-category:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--accent-shadow);
}

.skill-category:hover::before {
    opacity: 1;
}

.skill-category-icon {
    color: var(--accent-primary);
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.skill-category:nth-child(2) .skill-category-icon { color: var(--accent-secondary); }
.skill-category:nth-child(3) .skill-category-icon { color: var(--accent-tertiary); }
.skill-category:nth-child(4) .skill-category-icon { color: var(--accent-orange); }
.skill-category:nth-child(5) .skill-category-icon { color: #ef4444; }
.skill-category:nth-child(6) .skill-category-icon { color: var(--accent-teal); }
.skill-category:nth-child(7) .skill-category-icon { color: #f59e0b; }
.skill-category:nth-child(8) .skill-category-icon { color: #22c55e; }

.skill-category-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.skill-pill svg {
    fill: currentColor;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: fill var(--transition-fast);
}

.skill-pill:hover {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(236,72,153,0.06));
    color: var(--accent-primary);
    border-color: rgba(99, 102, 241, 0.25);
}

.skill-pill:hover svg {
    color: var(--accent-primary);
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.cert-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--accent-shadow);
}

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

.cert-badge {
    color: var(--accent-primary);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.cert-card:nth-child(1) .cert-badge { color: #6366f1; }
.cert-card:nth-child(2) .cert-badge { color: #ec4899; }
.cert-card:nth-child(3) .cert-badge { color: #f97316; }

.cert-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.cert-code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.cert-issuer {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.cert-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-tertiary);
    padding: 4px 16px;
    background: var(--bg-secondary);
    border-radius: 100px;
    border: 1px solid var(--border-color);
}

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

.contact-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-medium);
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.contact-link:hover {
    border-color: var(--border-hover);
    transform: translateX(6px);
    box-shadow: var(--accent-shadow);
}

.contact-link-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(236,72,153,0.06));
    border-radius: var(--radius-sm);
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-link:nth-child(2) .contact-link-icon { color: var(--accent-secondary); }
.contact-link:nth-child(3) .contact-link-icon { color: var(--accent-orange); }
.contact-link:nth-child(4) .contact-link-icon,
.contact-link.location .contact-link-icon { color: var(--accent-teal); }

.contact-link-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-link-value {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-primary);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-tertiary);
}

.form-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: #fff;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-top: 4px;
}

.footer-right {
    text-align: right;
}

.footer-social {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.06);
    transform: translateY(-2px);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding-top: 140px;
    }

    .hero-content {
        max-width: 100%;
    }

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

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

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

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
        --nav-height: 64px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 32px 40px;
        gap: 4px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border-color);
        box-shadow: -10px 0 40px rgba(0,0,0,0.08);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .hero-image-wrapper {
        width: 260px;
        height: 260px;
    }

    .hero-avatar {
        width: 140px;
        height: 140px;
    }

    .orbit-ring-1 { width: 180px; height: 180px; }
    .orbit-ring-2 { width: 220px; height: 220px; }
    .orbit-ring-3 { width: 260px; height: 260px; }

    .hero-stats {
        flex-direction: row;
        gap: 24px;
    }

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

    .timeline-item {
        padding-left: 44px;
    }

    .timeline-marker {
        left: 4px;
    }

    .timeline-content {
        padding: 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

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

    .footer-social {
        justify-content: center;
    }

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

    .scroll-indicator {
        display: none;
    }
}

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

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

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

    .hero-actions {
        flex-direction: column;
    }

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