/* ══════════════════════════════════════════
   GENT SALLAKU – PORTFOLIO
   Dark Theme | Blue-Violet Palette
   Enterprise-Grade Design System
   ══════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
    /* Primary Palette */
    --primary-50: #eef2ff;
    --primary-100: #dbe4ff;
    --primary-200: #bfcfff;
    --primary-300: #93aeff;
    --primary-400: #6b8afc;
    --primary-500: #4f6af5;
    --primary-600: #3b4cea;
    --primary-700: #3038d7;
    --primary-800: #2b31ae;
    --primary-900: #282e89;

    /* Accent / Violet */
    --accent-400: #a78bfa;
    --accent-500: #8b5cf6;
    --accent-600: #7c3aed;
    --accent-700: #6d28d9;

    /* Cyan accent */
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;

    /* Background & Surface */
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1424;
    --bg-tertiary: #141a2e;
    --bg-card: rgba(20, 26, 46, 0.6);
    --bg-card-hover: rgba(30, 38, 65, 0.8);

    /* Glass Effect */
    --glass-bg: rgba(15, 20, 36, 0.75);
    --glass-border: rgba(99, 102, 241, 0.15);
    --glass-border-hover: rgba(99, 102, 241, 0.35);

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --text-muted: #475569;

    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #4f6af5 0%, #8b5cf6 50%, #a78bfa 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #4f6af5 50%, #8b5cf6 100%);
    --gradient-glow: linear-gradient(135deg, rgba(79, 106, 245, 0.4) 0%, rgba(139, 92, 246, 0.4) 100%);
    --gradient-card: linear-gradient(135deg, rgba(79, 106, 245, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);

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

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* 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 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(79, 106, 245, 0.15);
    --shadow-glow-accent: 0 0 40px rgba(139, 92, 246, 0.15);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

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

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::selection {
    background: rgba(79, 106, 245, 0.3);
    color: var(--text-primary);
}

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

ul {
    list-style: none;
}

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

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

/* ─── Utility Classes ─── */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

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

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-base);
    background: transparent;
}

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

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

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-bracket {
    color: var(--primary-500);
}

.nav-menu {
    display: flex;
    gap: 8px;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(79, 106, 245, 0.1);
}

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

/* Nav Right Group */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ─── Language Switcher ─── */
.lang-switcher {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(79, 106, 245, 0.08);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.lang-current:hover {
    border-color: var(--glass-border-hover);
    color: var(--text-primary);
    background: rgba(79, 106, 245, 0.12);
}

.lang-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-arrow {
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 6px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition-base);
    z-index: 1100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    text-align: left;
}

.lang-option:hover {
    background: rgba(79, 106, 245, 0.1);
    color: var(--text-primary);
}

.lang-option.active {
    background: rgba(79, 106, 245, 0.15);
    color: var(--primary-400);
    font-weight: 600;
}

.lang-option.active::after {
    content: '✓';
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--primary-400);
}

.lang-option .lang-flag {
    font-size: 1.15rem;
}

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

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg-grid {

/* WIP banner style (inserted dynamically in index.html) */
.wip-banner {
    position: fixed;
    top: 64px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg,#ffd54a,#ffb84d);
    color: #000;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    z-index: 1200;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* Honeypot hidden field */
.hp-field { display: none !important; }
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(79, 106, 245, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 106, 245, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(79, 106, 245, 0.1);
    border: 1px solid rgba(79, 106, 245, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-400);
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

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

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-name {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 12px;
}

.hero-role {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-400);
}

.tag-separator {
    color: var(--text-muted);
    font-weight: 300;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto 40px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(79, 106, 245, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 106, 245, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--primary-500);
    background: rgba(79, 106, 245, 0.1);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

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

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

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--primary-500);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

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

/* ══════════════════════════════════════════
   SECTIONS - GENERAL
   ══════════════════════════════════════════ */
.section {
    padding: var(--section-padding);
    position: relative;
}

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

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.section-alt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

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

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary-400);
    display: block;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

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

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

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

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

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-400);
}

.about-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Code Window */
.about-visual {
    position: sticky;
    top: 100px;
}

.code-window {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.code-header {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(20, 26, 46, 0.8);
    border-bottom: 1px solid var(--glass-border);
}

.code-dots {
    display: flex;
    gap: 8px;
}

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

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

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

.code-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.9;
    overflow-x: auto;
    color: var(--text-secondary);
}

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

.code-keyword { color: #c792ea; }
.code-string { color: #c3e88d; }
.code-prop { color: #82aaff; }
.code-bool { color: #f78c6c; }
.code-class { color: #ffcb6b; }
.code-type { color: #82aaff; }
.code-method { color: #82aaff; }
.code-number { color: #f78c6c; }

/* ══════════════════════════════════════════
   TECH STACK
   ══════════════════════════════════════════ */
.tech-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.tech-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(20px);
    transition: var(--transition-base);
}

.tech-category:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-glow);
}

.tech-category-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-category-title i {
    color: var(--primary-400);
    font-size: 1.1rem;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition-base);
}

.tech-item:hover {
    transform: translateX(4px);
}

.tech-item-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent-400);
    flex-shrink: 0;
}

.tech-item-info {
    flex: 1;
}

.tech-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 6px;
}

.tech-bar {
    width: 100%;
    height: 4px;
    background: rgba(79, 106, 245, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.tech-bar-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-bar-fill.animated {
    width: var(--fill);
}

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

.project-card {
    padding: 0;
    overflow: hidden;
    position: relative;
    cursor: default;
}

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

.project-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-card);
    overflow: hidden;
}

.project-icon-3d {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary-400);
    background: rgba(79, 106, 245, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
    position: relative;
    z-index: 2;
}

.project-card:hover .project-icon-3d {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 0 30px rgba(79, 106, 245, 0.3);
}

.project-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(79, 106, 245, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: var(--transition-slow);
    opacity: 0;
}

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

.project-content {
    padding: 28px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.project-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 4px 10px;
    background: rgba(79, 106, 245, 0.1);
    color: var(--primary-400);
    border-radius: 4px;
    border: 1px solid rgba(79, 106, 245, 0.15);
}

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

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

.project-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.project-features span {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-features i {
    color: var(--cyan-400);
    font-size: 0.65rem;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-500), var(--accent-500), transparent);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 48px;
    position: relative;
}

.timeline-item[data-side="left"] {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: 3px solid var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(79, 106, 245, 0.3);
}

.timeline-card {
    width: calc(50% - 40px);
    padding: 28px;
}

.timeline-item[data-side="right"] .timeline-card {
    margin-left: auto;
}

.timeline-item[data-side="left"] .timeline-card {
    margin-right: auto;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary-400);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.timeline-company {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-role {
    font-size: 0.85rem;
    color: var(--accent-400);
    font-weight: 500;
    display: block;
    margin-bottom: 12px;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}

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

.timeline-tags span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 3px 10px;
    background: rgba(79, 106, 245, 0.08);
    color: var(--text-tertiary);
    border-radius: 4px;
    border: 1px solid rgba(79, 106, 245, 0.1);
}

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

.skill-card {
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

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

.skill-icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.skill-icon-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    transition: var(--transition-base);
}

.skill-card:hover .skill-icon-ring {
    border-color: var(--primary-500);
    box-shadow: 0 0 20px rgba(79, 106, 245, 0.2);
}

.skill-icon-wrapper i {
    font-size: 1.5rem;
    color: var(--primary-400);
    z-index: 1;
}

.skill-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.skill-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    padding: 36px 28px;
    text-align: center;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-500);
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--primary-400);
    transition: var(--transition-base);
}

.contact-card:hover .contact-icon {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 0 25px rgba(79, 106, 245, 0.3);
}

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

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.contact-arrow {
    color: var(--primary-400);
    font-size: 0.85rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-base);
}

.contact-card:hover .contact-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-primary);
}

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

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

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

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

/* ══════════════════════════════════════════
   ACCESSIBILITY & EXTRA CONTENT
   ══════════════════════════════════════════ */
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 1000;
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--primary-500);
    color: #fff;
    font-weight: 700;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-item {
    padding: 24px 24px 18px;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-form-wrapper {
    margin: 28px auto 0;
    max-width: 900px;
    padding: 32px;
}

.contact-form-wrapper h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    padding: 14px 16px;
    font: inherit;
    outline: none;
    transition: var(--transition-base);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(79, 106, 245, 0.15);
}

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

.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.page-shell {
    min-height: 100vh;
    padding: 120px 0 80px;
}

.page-hero {
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1;
    margin-bottom: 16px;
}

.page-hero p {
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 72ch;
}

.service-grid,
.project-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card,
.project-page-card {
    padding: 28px;
}

.service-card h3,
.project-page-card h3 {
    margin-top: 16px;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.service-card p,
.project-page-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}