/* ============================================
   ISHAN SINGH TOMAR — PORTFOLIO STYLES
   Pure Black Minimalism + Liquid Glass
   ============================================ */

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

:root {
    --bg-primary: #000000;
    --bg-secondary: #050505;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.04);
    --text-primary: #f0f0f0;
    --text-secondary: #777777;
    --text-muted: #444444;
    --accent-1: #ffffff;
    --accent-2: #cccccc;
    --accent-3: #999999;
    --gradient-primary: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-glass-hover: rgba(255, 255, 255, 0.12);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-glass-hover: 0 16px 48px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.08);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

::selection {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

::-webkit-scrollbar {
    width: 4px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

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

/* === PARTICLE CANVAS === */
#particle-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: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.15s ease;
    transform: translate(-50%, -50%);
}

.cursor-ring.hover {
    width: 56px;
    height: 56px;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.03);
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 48px;
    background: transparent;
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    padding: 14px 48px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.5px;
    transition: opacity var(--transition-fast);
}

.nav-logo:hover {
    opacity: 0.6;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

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

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: #fff;
    border-radius: 1px;
    transition: all 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);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(40px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.mobile-link:hover {
    color: #fff;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 48px 80px;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 40px;
    backdrop-filter: blur(12px);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

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

.hero-line {
    display: block;
    overflow: hidden;
}

.hero-text {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-name {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -3px;
    color: #fff;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 48px;
    min-height: 1.5em;
}

.typewriter-cursor {
    animation: blink 1s infinite;
    color: var(--text-muted);
    font-weight: 200;
}

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

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 72px;
}

/* === LIQUID GLASS BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-glass {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.02) 100%
    );
    border-radius: inherit;
    pointer-events: none;
}

.btn-glass::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-glass:hover::after {
    opacity: 1;
}

.btn-glass:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.09);
}

/* === HERO STATS === */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 1s ease 1.5s forwards;
    opacity: 0;
}

.mouse {
    width: 22px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-wheel {
    width: 2px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 1px;
    animation: scrollWheel 2s infinite;
}

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

.scroll-indicator span {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* === SECTIONS === */
.section {
    position: relative;
    padding: 140px 0;
    z-index: 1;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
}

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

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* === GLASS CARDS === */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.03) 0%,
        transparent 60%
    );
    pointer-events: none;
    border-radius: inherit;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-glass-hover);
}

/* === ABOUT SECTION === */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-card {
    padding: 40px 28px;
    text-align: center;
}

.about-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-smooth);
}

.about-card:hover .about-icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.about-card p {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.skill-category-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-item {
    padding: 16px 20px;
    border-radius: var(--radius-md) !important;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.skill-name {
    font-size: 0.82rem;
    font-weight: 400;
}

.skill-percent {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.skill-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 1px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0.2));
    border-radius: 1px;
    width: 0;
    transition: width 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === PROJECTS SECTION === */
.projects-showcase {
    display: grid;
    gap: 24px;
}

.project-card {
    padding: 40px;
    border-radius: var(--radius-xl) !important;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.live {
    background: #4ade80;
}

.project-links {
    display: flex;
    gap: 8px;
}

.project-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    /* Liquid glass effect */
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.project-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
}

.project-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin: 8px 0;
    color: #fff;
    letter-spacing: -1px;
}

.project-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 16px;
}

.project-description {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.project-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
}

.highlight svg {
    color: var(--text-muted);
    flex-shrink: 0;
    margin-top: 3px;
}

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

.tech-tag {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    /* Liquid glass */
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.tech-tag:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.more-projects {
    border: 1px dashed rgba(255, 255, 255, 0.06) !important;
    background: transparent !important;
}

.more-projects::before {
    display: none;
}

.more-projects:hover {
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.01) !important;
}

.more-projects-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    gap: 16px;
}

.more-icon {
    color: var(--text-muted);
    opacity: 0.4;
}

.more-projects-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.3px;
}

.more-projects-content p {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 400px;
}

/* === EDUCATION SECTION === */
.education-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

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

.timeline-dot {
    position: absolute;
    left: 0;
    top: 32px;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border: 2px solid var(--bg-secondary);
    z-index: 2;
}

.dot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: dotPulse 3s infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.timeline-content {
    padding: 32px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 12px;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.timeline-major {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    white-space: nowrap;
}

.timeline-school {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.timeline-desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* === CONTACT SECTION === */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.contact-card {
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    display: block;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    transition: all var(--transition-smooth);
}

.contact-card:hover .contact-icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.contact-card p {
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--text-muted);
    word-break: break-all;
}

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

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

.footer-text {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.heart {
    color: #f43f5e;
    display: inline-block;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.footer-copy {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--text-muted);
}

/* === CINEMATIC REVEAL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(8px);
    transition: 
        opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Cinematic stagger variants */
.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    filter: blur(6px);
    transition: 
        opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    filter: blur(6px);
    transition: 
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 768px) {
    .navbar {
        padding: 14px 24px;
    }
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .mobile-menu {
        display: flex;
    }
    .hero {
        padding: 100px 24px 60px;
    }
    .hero-name {
        font-size: clamp(2.5rem, 10vw, 4rem) !important;
    }
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    .container {
        padding: 0 24px;
    }
    .section {
        padding: 80px 0;
    }
    .section-header {
        margin-bottom: 48px;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .project-card {
        padding: 24px;
    }
    .project-title {
        font-size: 1.5rem;
    }
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cursor-dot, .cursor-ring {
        display: none;
    }
    body {
        cursor: auto;
    }
}

@media (max-width: 480px) {
    .hero-text {
        font-size: 1rem !important;
    }
    .hero-name {
        font-size: clamp(2rem, 12vw, 3rem) !important;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .timeline-header {
        flex-direction: column;
    }
}
