/* ============================================
   PRANAV KRISHNA DANDA — Portfolio
   ============================================ */

/* ---------- Custom Properties ---------- */
:root {
    --bg-primary: #07070a;
    --bg-secondary: #0c0c12;
    --bg-card: #111118;
    --bg-card-hover: #16161f;

    --accent-primary: #818cf8;
    --accent-secondary: #22d3ee;
    --accent-purple: #a78bfa;
    --accent-cyan: #22d3ee;
    --accent-orange: #fb923c;

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border: rgba(148, 163, 184, 0.08);
    --border-hover: rgba(129, 140, 248, 0.25);

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-primary);
}

html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: var(--bg-primary); }
html::-webkit-scrollbar-thumb { background: var(--accent-primary); border-radius: 3px; }

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

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

ul { list-style: none; }
img { max-width: 100%; display: block; }
strong { color: var(--text-primary); font-weight: 600; }

::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

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

/* ---------- Section Label ---------- */
.section-label {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 60px;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(7, 7, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-logo span {
    color: var(--accent-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition);
}

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

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

.nav-link--cta {
    background: var(--accent-primary);
    color: var(--bg-primary) !important;
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 600;
}

.nav-link--cta::after { display: none; }

.nav-link--cta:hover {
    background: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(129, 140, 248, 0.3);
}

.nav-link--resume {
    background: var(--accent-secondary);
    color: var(--bg-primary);
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 600;
}

.nav-link--resume::after { display: none; }

.nav-link--resume:hover {
    background: #06b6d4;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(34, 211, 238, 0.3);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 2px;
}

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

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

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

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb--1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero-orb--2 {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

.hero-orb--3 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: 0.08;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-greeting {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent-primary);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 50%, var(--accent-secondary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.hero-resume-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
    align-self: center;
}

.hero-resume-link:hover {
    color: var(--text-primary);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(129, 140, 248, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-indicator span {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ---------- Currently Building Strip ---------- */
.currently-building {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.currently-building-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

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

.about-text p {
    margin-bottom: 20px;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.about-lead {
    font-size: 1.1875rem !important;
    color: var(--text-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition);
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(129, 140, 248, 0.08);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent-primary);
    display: inline;
    letter-spacing: -0.02em;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

.stat-sublabel {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
    font-style: italic;
}

.open-to-work {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.open-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============================================
   EXPERIENCE
   ============================================ */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), transparent);
}

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

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

.timeline-marker {
    position: absolute;
    left: -37px;
    top: 24px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: 2px solid var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}

.timeline-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

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

.timeline-role {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.timeline-company {
    font-size: 0.9375rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-top: 2px;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.timeline-points {
    list-style: none;
    margin-bottom: 20px;
}

.timeline-points li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.timeline-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-secondary);
    opacity: 0.6;
}

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

.timeline-tags span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(129, 140, 248, 0.08);
    color: var(--accent-primary);
    border: 1px solid rgba(129, 140, 248, 0.12);
}

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

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

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

.project-card-inner {
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

.project-card:hover .project-card-inner {
    border-color: var(--border-hover);
}

.project-glow {
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity var(--transition-slow);
    z-index: 0;
}

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

.project-card--purple .project-glow {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(129, 140, 248, 0.05));
}

.project-card--cyan .project-glow {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(6, 182, 212, 0.05));
}

.project-card--orange .project-glow {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.15), rgba(245, 158, 11, 0.05));
}

.project-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.project-card--purple .project-icon {
    background: rgba(167, 139, 250, 0.1);
    color: var(--accent-purple);
}

.project-card--cyan .project-icon {
    background: rgba(34, 211, 238, 0.1);
    color: var(--accent-cyan);
}

.project-card--orange .project-icon {
    background: rgba(251, 146, 60, 0.1);
    color: var(--accent-orange);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.project-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

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

.project-tech span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(148, 163, 184, 0.06);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* ---------- Project Badges ---------- */
.project-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.project-badge--production {
    background: rgba(34, 211, 238, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.project-badge--personal {
    background: rgba(167, 139, 250, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.project-github-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.project-github-link:hover { color: var(--text-primary); }

.project-repo-note {
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ---------- Projects Tab Switcher ---------- */
.projects-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.projects-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--text-secondary);
    cursor: pointer;
    margin-bottom: -1px;
    transition: color var(--transition), border-color var(--transition);
}

.projects-tab.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

.projects-tab:hover:not(.active) { color: var(--text-primary); }

.project-group.hidden { display: none; }

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

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all var(--transition);
}

.skill-category:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.skill-category-title {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.skill-category-title svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    font-family: var(--font-mono);
    font-size: 0.775rem;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(129, 140, 248, 0.06);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.skill-tag:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(129, 140, 248, 0.1);
}

.skill-tag.skill-primary::before,
.skill-tag.skill-secondary::before,
.skill-tag.skill-familiar::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.skill-tag.skill-primary::before {
    background: var(--accent-primary);
}

.skill-tag.skill-secondary::before {
    border: 1.5px solid var(--text-secondary);
}

.skill-tag.skill-familiar::before {
    border: 1.5px dashed var(--text-muted);
}

.skill-tag.skill-familiar {
    opacity: 0.6;
    font-style: italic;
}

/* ============================================
   BLOG
   ============================================ */
.blog-intro {
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color var(--transition);
}

.blog-card--placeholder {
    opacity: 0.6;
    cursor: default;
}

.blog-card-icon {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-card-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(100, 116, 139, 0.15);
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-subscribe {
    text-align: center;
}

.blog-subscribe-link {
    color: var(--accent-primary);
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.blog-subscribe-link:hover { color: var(--accent-purple); }

/* ============================================
   CONTACT
   ============================================ */
.contact-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 48px;
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.contact-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    transition: all var(--transition);
    cursor: pointer;
}

.contact-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(129, 140, 248, 0.08);
}

.contact-card svg {
    color: var(--accent-primary);
    margin-bottom: 4px;
}

.contact-card-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-card-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
}

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

.footer-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    transition: all var(--transition);
    display: flex;
}

.footer-links a:hover {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 100;
}

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

.back-to-top:hover {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    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; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */

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

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

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

    .section-label {
        margin-bottom: 40px;
    }

    /* Nav Mobile */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 24px;
        transition: right var(--transition);
        border-left: 1px solid var(--border);
    }

    .nav-menu.active {
        right: 0;
    }

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

    .nav-link--cta {
        text-align: center;
        display: block;
        padding: 12px 24px;
    }

    /* Hero Mobile */
    .hero {
        padding-top: 100px;
    }

    .hero-name {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
    }

    .scroll-indicator {
        display: none;
    }

    /* About Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Projects Mobile */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Skills Mobile */
    .skills-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Timeline Mobile */
    .timeline-header {
        flex-direction: column;
    }
}

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 20px 16px;
    }

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

    .timeline {
        padding-left: 24px;
    }

    .timeline-marker {
        left: -29px;
    }

    .timeline-card {
        padding: 24px 20px;
    }

    .project-card-inner {
        padding: 28px 20px;
    }

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

    .btn {
        justify-content: center;
    }
}
