/* ================================================
   DESIGN SYSTEM & VARIABLES
   ================================================ */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a2e;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;

    --accent-cyan: #00d4ff;
    --accent-purple: #7c3aed;
    --accent-pink: #ec4899;
    --accent-green: #10b981;

    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #ec4899 100%);
    --gradient-text: linear-gradient(135deg, #00d4ff, #7c3aed);
    --gradient-card: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
    --gradient-border: linear-gradient(135deg, rgba(0, 212, 255, 0.4), rgba(124, 58, 237, 0.4));

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

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

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

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

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

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

::selection {
    background: rgba(0, 212, 255, 0.3);
    color: #fff;
}

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

ul,
ol {
    list-style: none;
}

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

button {
    cursor: none;
    font-family: inherit;
}

/* ================================================
   CUSTOM CURSOR
   ================================================ */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

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

.cursor-follower.hovering {
    width: 56px;
    height: 56px;
    border-color: var(--accent-purple);
    background: rgba(124, 58, 237, 0.1);
}

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

/* ================================================
   LOADER
   ================================================ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-name {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: pulse 1.5s infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: loadProgress 1.8s var(--ease-out) forwards;
}

@keyframes loadProgress {
    to {
        width: 100%;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

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

/* ================================================
   NAVIGATION
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s var(--ease-out);
    background: transparent;
}

.navbar.scrolled {
    padding: 0.8rem 3rem;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.3s;
}

.logo-bracket {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s var(--ease-out);
    border-radius: 2px;
}

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

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

.nav-cta {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    background: var(--gradient-primary);
    color: #fff;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
}

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

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

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

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

/* Side Dot Navigation */
.side-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.side-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: all 0.3s var(--ease-spring);
    position: relative;
}

.side-dot::before {
    content: attr(title);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.side-dot:hover::before {
    opacity: 1;
}

.side-dot.active {
    background: var(--accent-cyan);
    transform: scale(1.4);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

/* ================================================
   GRADIENT TEXT
   ================================================ */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================================
   GLASS CARD
   ================================================ */
.glass-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s var(--ease-out);
}

.glass-card:hover {
    background: var(--surface-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    transition: all 0.35s var(--ease-spring);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.35s;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.35);
}

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

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.08);
    transform: translateY(-3px);
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    opacity: 0.7;
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 3rem 3rem;
    position: relative;
    z-index: 1;
    gap: 4rem;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--accent-green);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-role {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    min-height: 2.2rem;
}

.role-prefix {
    margin-right: 0.4rem;
}

.typing-text {
    color: var(--accent-cyan);
    font-weight: 600;
}

.typing-cursor {
    color: var(--accent-cyan);
    animation: cursorBlink 0.8s infinite;
    font-weight: 300;
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-purple);
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* Hero Visual - Code Window */
.hero-visual {
    flex: 1;
    max-width: 480px;
}

.code-window {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(18, 18, 26, 0.9);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
    transition: transform 0.5s var(--ease-out);
}

.code-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red {
    background: #ff5f57;
}

.code-dot.yellow {
    background: #febc2e;
}

.code-dot.green {
    background: #28c840;
}

.code-title {
    margin-left: auto;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
}

.code-body {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.88rem;
    line-height: 1.9;
    overflow: hidden;
}

.code-body code {
    font-family: inherit;
}

.code-keyword {
    color: #c678dd;
}

.code-var {
    color: #e5c07b;
}

.code-prop {
    color: #61afef;
}

.code-string {
    color: #98c379;
}

.code-bool {
    color: #d19a66;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    animation: float 2.5s infinite ease-in-out;
}

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

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

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

    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

@keyframes float {

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

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

/* ================================================
   ABOUT SECTION
   ================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease-out);
}

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

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.highlight-item p {
    font-size: 0.85rem !important;
    margin-bottom: 0 !important;
    color: var(--text-muted) !important;
}

.info-card {
    padding: 2rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.info-row:last-of-type {
    border-bottom: none;
}

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

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

/* ================================================
   SKILLS SECTION
   ================================================ */
.skills-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.skill-tab {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s var(--ease-out);
}

.skill-tab:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.skill-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
}

.skill-panel {
    display: none;
}

.skill-panel.active {
    display: block;
    animation: fadeIn 0.4s var(--ease-out);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

.skill-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.skill-card {
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity 0.4s;
}

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

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

.skill-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.skill-name {
    display: block;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.skill-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.skill-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0;
    transition: width 1.2s var(--ease-out);
}

.skill-fill.animated {
    /* width set via JS data-width attribute */
}

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

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

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -3rem;
    top: 2rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-cyan);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2), 0 0 16px rgba(0, 212, 255, 0.3);
    z-index: 2;
    transform: translateX(7px);
}

.timeline-content {
    padding: 2rem;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.timeline-company {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: block;
}

.timeline-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    background: rgba(0, 212, 255, 0.08);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    white-space: nowrap;
}

.timeline-details {
    margin-bottom: 1.2rem;
}

.timeline-details li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.7rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.timeline-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

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

.timeline-tags,
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(0, 212, 255, 0.08);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 212, 255, 0.15);
}

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

.project-card {
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
    transform-style: preserve-3d;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(124, 58, 237, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
}

.project-placeholder.color2 {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(236, 72, 153, 0.2));
}

.project-placeholder.color3 {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(0, 212, 255, 0.2));
}

.project-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.project-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(0, 212, 255, 0.2);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(8px);
}

.project-body {
    padding: 1.5rem;
}

.project-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.project-body p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.project-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
}

.project-link:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

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

.edu-card {
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.4s var(--ease-out);
}

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

.edu-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.edu-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.edu-institution {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.2rem;
}

.edu-year {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.75rem;
}

.edu-content p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
    align-items: start;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.contact-info>p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.contact-value {
    font-size: 0.92rem;
    color: var(--text-primary);
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
}

.social-link:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.15);
}

/* Contact Form */
.contact-form {
    padding: 2.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--border);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 1rem 0 0.5rem;
    outline: none;
    transition: border-color 0.3s;
    resize: none;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-out);
    pointer-events: none;
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -0.5rem;
    font-size: 0.75rem;
    color: var(--accent-cyan);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-cyan);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s var(--ease-out);
}

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

/* ================================================
   FOOTER
   ================================================ */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

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

/* ================================================
   REVEAL ANIMATIONS
   ================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 8rem 2rem 4rem;
    }

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

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

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

    .hero-visual {
        max-width: 420px;
    }

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

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

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

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

    body {
        cursor: auto;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.97);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s var(--ease-out);
        border-left: 1px solid var(--border);
    }

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

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

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .side-nav {
        display: none;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .code-window {
        transform: none;
    }

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

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

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

    .timeline {
        padding-left: 2rem;
    }

    .timeline-dot {
        left: -2rem;
    }

    .timeline-header {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-role {
        font-size: 1.1rem;
    }

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

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

    .skills-tabs {
        gap: 0.3rem;
    }

    .skill-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* ================================================
   GRADIENT ORBS - Ambient Background Glow
   ================================================ */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-cyan);
    top: -10%;
    left: -5%;
    animation: orbFloat1 20s infinite ease-in-out;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    top: 40%;
    right: -8%;
    animation: orbFloat2 25s infinite ease-in-out;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-pink);
    bottom: -5%;
    left: 30%;
    animation: orbFloat3 22s infinite ease-in-out;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(80px, 60px);
    }

    66% {
        transform: translate(-40px, 100px);
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(-60px, -80px);
    }

    66% {
        transform: translate(50px, -40px);
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(70px, -50px);
    }

    66% {
        transform: translate(-80px, 30px);
    }
}

/* ================================================
   BACK TO TOP BUTTON
   ================================================ */
.back-to-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-spring);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.45);
}

/* ================================================
   ANIMATED GRADIENT BORDER ON HOVER
   ================================================ */
.glass-card {
    position: relative;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.glass-card:hover::before {
    opacity: 1;
    background: var(--gradient-primary);
}

/* ================================================
   TIMELINE PULSE DOT
   ================================================ */
.timeline-dot {
    position: relative;
}

.timeline-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
    opacity: 0;
    animation: timelinePulse 2.5s infinite ease-out;
}

@keyframes timelinePulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* ================================================
   STAT NUMBER GLOW
   ================================================ */
.stat-number {
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.25);
}

/* ================================================
   SOCIAL LINK GLOW ON HOVER
   ================================================ */
.social-link:hover {
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.3);
    border-color: var(--accent-cyan) !important;
}

/* ================================================
   RESPONSIVE - BACK TO TOP & ORBS
   ================================================ */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 42px;
        height: 42px;
    }

    .gradient-orb {
        opacity: 0.06;
    }
}

/* ================================================
   MATRIX RAIN CANVAS
   ================================================ */
#matrixCanvas {
    display: none;
}

/* ================================================
   SCANLINE OVERLAY - CRT Monitor Effect
   ================================================ */
.scanline-overlay {
    display: none;
}

/* ================================================
   GLITCH EFFECT - Hacker Title
   ================================================ */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.glitch::before {
    color: var(--accent-cyan);
    z-index: -1;
}

.glitch::after {
    color: var(--accent-purple);
    z-index: -1;
}

.glitch:hover::before {
    opacity: 0.8;
    animation: glitch-1 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

.glitch:hover::after {
    opacity: 0.8;
    animation: glitch-2 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
}

@keyframes glitch-1 {
    0% {
        clip-path: inset(40% 0 61% 0);
        transform: translate(-3px, -2px);
    }

    20% {
        clip-path: inset(92% 0 1% 0);
        transform: translate(2px, 1px);
    }

    40% {
        clip-path: inset(43% 0 1% 0);
        transform: translate(-1px, 3px);
    }

    60% {
        clip-path: inset(25% 0 58% 0);
        transform: translate(3px, 1px);
    }

    80% {
        clip-path: inset(54% 0 7% 0);
        transform: translate(-3px, -2px);
    }

    100% {
        clip-path: inset(58% 0 43% 0);
        transform: translate(2px, -1px);
    }
}

@keyframes glitch-2 {
    0% {
        clip-path: inset(65% 0 13% 0);
        transform: translate(3px, 2px);
    }

    20% {
        clip-path: inset(15% 0 65% 0);
        transform: translate(-2px, -1px);
    }

    40% {
        clip-path: inset(72% 0 5% 0);
        transform: translate(1px, -3px);
    }

    60% {
        clip-path: inset(5% 0 74% 0);
        transform: translate(-3px, -1px);
    }

    80% {
        clip-path: inset(37% 0 29% 0);
        transform: translate(3px, 2px);
    }

    100% {
        clip-path: inset(86% 0 2% 0);
        transform: translate(-2px, 1px);
    }
}

/* ================================================
   TERMINAL STYLING - Code Window Enhancement
   ================================================ */
.code-comment {
    color: #5c6370;
    font-style: italic;
}

.code-window {
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 212, 255, 0.08);
}

.code-window:hover {
    box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 212, 255, 0.12);
}

.code-header {
    position: relative;
}

.code-header::after {
    content: '⬤ CONNECTED';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6rem;
    color: var(--accent-green);
    letter-spacing: 0.05em;
    font-family: 'Courier New', monospace;
    animation: blink 2s infinite;
}

/* ================================================
   HACKER GREEN ACCENTS
   ================================================ */
.section-tag {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    letter-spacing: 0.1em;
}

.timeline-dot {
    background: var(--accent-cyan) !important;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

.timeline-dot::after {
    border-color: rgba(0, 212, 255, 0.5) !important;
}

/* Badge dot */
.badge-dot {
    background: var(--accent-green);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* ================================================
   TAG PILLS - Hacker Style
   ================================================ */
.tag {
    position: relative;
    overflow: hidden;
}

.tag::before {
    content: '>';
    margin-right: 4px;
    color: var(--accent-cyan);
    font-family: 'Courier New', monospace;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
    display: inline-block;
}

.tag:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ================================================
   SKILL ICON - Hacker Glow
   ================================================ */
.skill-icon {
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.skill-card:hover .skill-icon {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* ================================================
   LOADER - Hacker Style 
   ================================================ */
.loader-name {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.2em;
}

.loader-bar {
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.loader-progress {
    background: var(--gradient-primary);
}

/* ================================================
   FOOTER HACKER STYLE
   ================================================ */
.footer-text::before {
    content: '// ';
    color: var(--accent-cyan);
    font-family: 'Courier New', monospace;
}

/* ================================================
   RESPONSIVE - Matrix
   ================================================ */
@media (max-width: 768px) {
    #matrixCanvas {
        opacity: 0.08;
    }

    .scanline-overlay {
        opacity: 0.2;
    }

    .glitch::before,
    .glitch::after {
        display: none;
    }
}