/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    /* Colors - Professional dark theme with refined blue accent */
    --bg-primary: #10141c;
    --bg-secondary: #141922;
    --bg-tertiary: #1a1f2b;
    --bg-card: rgba(24, 30, 42, 0.65);
    --bg-card-hover: rgba(32, 40, 56, 0.75);

    --text-primary: #dce1e8;
    --text-secondary: #8a93a6;
    --text-tertiary: #5c6577;

    --accent-1: #6a9fff;
    --accent-2: #5b8dee;
    --accent-3: #8b7cf7;
    --accent-gradient: linear-gradient(135deg, #6a9fff 0%, #7b8ef5 50%, #9b8afb 100%);
    --accent-glow: rgba(106, 159, 255, 0.12);

    --border: rgba(140, 150, 170, 0.1);
    --border-hover: rgba(106, 159, 255, 0.25);

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

    /* Spacing */
    --section-padding: 120px;
    --container-max: 100%;

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

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

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

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

::selection {
    background: rgba(106, 159, 255, 0.2);
    color: var(--text-primary);
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(136, 146, 168, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(136, 146, 168, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.bg-gradient-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(106, 159, 255, 0.1), transparent 70%);
    top: -200px;
    right: -200px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(91, 141, 238, 0.08), transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 124, 247, 0.07), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat3 30s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-60px, 80px); }
    66% { transform: translate(40px, -40px); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(80px, -60px); }
    66% { transform: translate(-40px, 40px); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%); }
    33% { transform: translate(-45%, -55%); }
    66% { transform: translate(-55%, -45%); }
}

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

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

.nav-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    transition: transform 0.3s var(--ease-spring);
}

.nav-logo:hover {
    transform: scale(1.05);
}

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

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
    border: none;
    transition: all 0.3s var(--ease-out);
}

.nav-logo:hover .nav-logo-img,
.footer-logo:hover .nav-logo-img {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--accent-1);
}

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

.nav-link-cta:hover {
    background: var(--accent-gradient) !important;
    opacity: 0.9;
    transform: translateY(-1px);
}

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

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

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

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

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

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

.hero-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(106, 159, 255, 0.06);
    border: 1px solid rgba(106, 159, 255, 0.15);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-1);
    margin-bottom: 24px;
    width: fit-content;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(106, 159, 255, 0.35); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(106, 159, 255, 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

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

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 20px;
    min-height: 2em;
}

.typed-text {
    color: var(--accent-2);
    font-weight: 500;
}

.typed-cursor {
    color: var(--accent-1);
    animation: blink 1s step-end infinite;
}

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

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

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

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-primary);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(106, 159, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(106, 159, 255, 0.25);
}

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

.btn-secondary:hover {
    border-color: var(--accent-1);
    background: rgba(106, 159, 255, 0.05);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

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

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

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 340px;
    height: 340px;
}

.hero-image-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0.15;
    filter: blur(40px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(1.05); }
}

.hero-image-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--accent-gradient);
    padding: 3px;
    animation: ringRotate 8s linear infinite;
}

.hero-image-ring::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--bg-primary);
    border-radius: 50%;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.floating-card svg {
    color: var(--accent-1);
}

.card-1 {
    top: 20px;
    right: -30px;
    animation: floatCard 6s ease-in-out infinite;
}

.card-2 {
    bottom: 60px;
    left: -40px;
    animation: floatCard 7s ease-in-out infinite 1s;
}

.card-3 {
    bottom: -10px;
    right: 10px;
    animation: floatCard 5s ease-in-out infinite 2s;
}

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

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 40px;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

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

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

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

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-1);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

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

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

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

.about-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.info-item {
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out);
}

.info-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 4px;
}

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

/* Education Cards */
.education-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    transition: all 0.3s var(--ease-out);
}

.education-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.education-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(106, 159, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--accent-1);
    flex-shrink: 0;
}

.education-year {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-2);
    font-weight: 500;
}

.education-school {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 4px 0;
}

.education-degree {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.education-gpa {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.gpa-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.gpa-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s var(--ease-out);
}

.gpa-value {
    font-family: var(--font-mono);
    color: var(--accent-1);
    font-weight: 600;
}

/* ============================================
   EXPERIENCE / TIMELINE
   ============================================ */
.timeline {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-1), var(--accent-3));
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker {
    position: relative;
    flex-shrink: 0;
    width: 50px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-1);
    box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 0 6px rgba(106, 159, 255, 0.2);
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-out);
}

.timeline-content:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

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

.timeline-role {
    font-size: 1.15rem;
    font-weight: 700;
}

.timeline-period {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-2);
}

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

.tag {
    padding: 4px 10px;
    background: rgba(106, 159, 255, 0.06);
    border: 1px solid rgba(106, 159, 255, 0.12);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent-1);
}

.timeline-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

/* ============================================
   PROJECTS
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
}

.project-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.project-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(106, 159, 255, 0.04), transparent 60%);
    pointer-events: none;
}

.project-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(106, 159, 255, 0.06);
    border: 1px solid rgba(106, 159, 255, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-1);
    margin-bottom: 20px;
}

.project-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    color: var(--bg-primary);
    margin-bottom: 20px;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

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

.project-highlights {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(106, 159, 255, 0.04);
    border-radius: var(--radius-md);
}

.highlight {
    text-align: center;
}

.highlight-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-label {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.tech-tag {
    padding: 4px 12px;
    background: rgba(139, 124, 247, 0.06);
    border: 1px solid rgba(139, 124, 247, 0.12);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-3);
}

.project-period {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.project-links {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(106, 159, 255, 0.06);
    border: 1px solid rgba(106, 159, 255, 0.15);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-1);
    transition: all 0.3s var(--ease-out);
}

.project-link:hover {
    background: rgba(106, 159, 255, 0.12);
    border-color: var(--accent-1);
    transform: translateY(-2px);
}

.project-link svg {
    color: var(--accent-1);
}

/* ============================================
   SKILLS
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
}

.skill-category {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-out);
}

.skill-category:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.skill-category-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(106, 159, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--accent-1);
    margin-bottom: 16px;
}

.skill-category-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
}

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

.skill-tag {
    padding: 5px 12px;
    background: rgba(106, 159, 255, 0.05);
    border: 1px solid rgba(106, 159, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-2);
    transition: all 0.3s var(--ease-out);
}

.skill-tag:hover {
    background: rgba(106, 159, 255, 0.1);
    border-color: rgba(106, 159, 255, 0.2);
    transform: translateY(-1px);
}

/* ============================================
   CERTIFICATIONS
   ============================================ */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    width: 100%;
    margin: 0 auto;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out);
}

.cert-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
    background: var(--bg-card-hover);
}

.cert-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 124, 247, 0.08);
    border-radius: var(--radius-sm);
    color: var(--accent-3);
    flex-shrink: 0;
}

.cert-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.cert-arrow {
    margin-left: auto;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-out);
}

.cert-card:hover .cert-arrow {
    color: var(--accent-1);
    transform: translate(2px, -2px);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    width: 100%;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s var(--ease-out);
}

.contact-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
    background: var(--bg-card-hover);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    color: var(--bg-primary);
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.contact-value {
    font-size: 0.85rem;
    color: var(--accent-1);
    font-weight: 500;
    word-break: break-all;
}

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

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

.footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].in-view {
    opacity: 1;
    transform: translate(0, 0);
}

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

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

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

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

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

    .hero-visual {
        order: -1;
    }

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

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

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

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

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

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

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

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

    .nav-toggle {
        display: flex;
    }

    .hero-stats {
        gap: 20px;
    }

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

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

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

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

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

    .timeline-marker {
        width: 30px;
    }

    .timeline-item {
        gap: 16px;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.85rem;
        word-break: break-word;
    }

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

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        background: rgba(24, 30, 42, 0.4);
        padding: 16px;
        border-radius: var(--radius-md);
        border: 1px solid var(--border);
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

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

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

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

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}
