/* ══════════════════════════════════════════════════
   THIAGO SOSA — PORTFOLIO  v3.0
   Redesign UX/UI & Skills
   ══════════════════════════════════════════════════ */

/* ── Tokens (Variables Globales CSS) ── */
/* Define la paleta de colores, la tipografía y el diseño para mantener consistencia en todo el sitio */
:root {
    --bg-primary: #060a13;
    --bg-secondary: #0b1120;
    --bg-card: #111b2e;
    --bg-card-hover: #162035;
    --accent: #00e5ff;
    --accent-2: #7c3aed;
    --accent-3: #10b981;
    --accent-dark: #00b8d4;
    --accent-glow: rgba(0, 229, 255, 0.10);
    --accent-glow-strong: rgba(0, 229, 255, 0.22);
    --led: 0 0 8px var(--accent), 0 0 20px rgba(0, 229, 255, 0.15);
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-heading: #f1f5f9;
    --border: rgba(0, 229, 255, 0.08);
    --border-led: rgba(0, 229, 255, 0.25);
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 22px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    --font: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --max-width: 1100px;
}

/* ── Reset CSS ── */
/* Limpia los márgenes y rellenos predeterminados de los navegadores */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

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

a:hover {
    color: var(--accent-dark);
}

ul {
    list-style: none;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ── Utilities (Clases Reutilizables) ── */
/* Contenedor principal que centra el contenido y limita su ancho máximo */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 140px 0;
    position: relative;
    border-bottom: 1px solid var(--border);
}

/* LED separator on sections */
.section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), var(--accent), transparent);
    opacity: 0.5;
    animation: led-pulse 4s ease-in-out infinite;
}

@keyframes led-pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-heading);
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    margin: 0 auto 48px;
    border-radius: 2px;
    box-shadow: var(--led);
}

/* ══════════════════════════════════════════════════
   BACKGROUND DECORATIONS — floating code symbols
   ══════════════════════════════════════════════════ */
body::before,
body::after {
    position: fixed;
    font-family: var(--font-mono);
    font-size: 14px;
    color: rgba(0, 229, 255, 0.04);
    pointer-events: none;
    z-index: 0;
    white-space: pre;
    line-height: 2.2;
    letter-spacing: 4px;
}

body::before {
    content: '</> {} fn() 01 if && => 🛡️ ssh 404 <html> int class void import 0x7F async await sudo git push npm run { } while for try catch throw return export const let var [] () => new delete typeof instanceof break continue switch case default finally yield';
    top: 0;
    left: -60px;
    width: 200px;
    height: 100%;
    writing-mode: vertical-rl;
    overflow: hidden;
    animation: float-code-left 80s linear infinite;
}

body::after {
    content: 'ping nmap scan port 443 SSL TLS TCP/IP DNS HTTP API REST 200 OK SELECT * FROM WHERE JOIN chmod 755 grep -r cat echo $PATH /dev/null root@kali:~# python3 java -jar mvn build ./deploy.sh docker run #include <stdio.h>';
    top: 0;
    right: -60px;
    width: 200px;
    height: 100%;
    writing-mode: vertical-rl;
    overflow: hidden;
    animation: float-code-right 90s linear infinite;
}

@keyframes float-code-left {
    0% {
        transform: translateY(0);
    }

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

@keyframes float-code-right {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0);
    }
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.25);
}

.btn-primary:hover {
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.05);
}

.btn-outline:hover {
    background: var(--accent-glow);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--led);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid var(--border-led);
}

.btn-sm:hover {
    background: var(--accent-glow-strong);
    color: var(--accent);
    box-shadow: var(--led);
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border);
}


/* ══════════════════════════════════════════════════
   PARTICLES CANVAS
   ══════════════════════════════════════════════════ */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ══════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 10, 19, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

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

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

.logo-dot {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent);
}

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

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
    background: var(--accent-glow);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

.nav-cta {
    background: var(--accent-glow) !important;
    color: var(--accent) !important;
    border: 1px solid var(--border-led);
    box-shadow: var(--led);
}

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

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

.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;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 64px;
    z-index: 1;
}

.hero-bg-particles {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 50%, rgba(0, 229, 255, 0.06), transparent),
        radial-gradient(ellipse 500px 300px at 80% 30%, rgba(124, 58, 237, 0.05), transparent),
        radial-gradient(ellipse 400px 400px at 50% 80%, rgba(16, 185, 129, 0.04), transparent);
    pointer-events: none;
}

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

.hero-greeting {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.hero-name {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--text-heading) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-role {
    font-size: clamp(1rem, 3vw, 1.4rem);
    color: var(--text-muted);
    min-height: 2em;
    margin-bottom: 40px;
    font-family: var(--font-mono);
}

.cursor {
    color: var(--accent);
    animation: blink 0.7s infinite;
    font-weight: 300;
    text-shadow: 0 0 8px var(--accent);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

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

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    animation: bounce 2s ease infinite;
    text-shadow: 0 0 12px var(--accent);
}

@keyframes bounce {

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

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

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

/* ══════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════ */
.about {
    z-index: 1;
    position: relative;
}

.about-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 48px;
    font-weight: 500;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

.about-photo-wrapper {
    position: relative;
}

.about-photo {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-led);
    box-shadow: var(--led), var(--shadow);
    transition: all var(--transition);
}

.about-photo-wrapper:hover .about-photo {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3), 0 0 40px rgba(0, 229, 255, 0.1);
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text);
    font-size: 0.95rem;
}

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

.about-text em {
    color: var(--text-muted);
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}

.tag {
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-led);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    transition: all var(--transition);
}

.tag:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
    box-shadow: var(--led);
    transform: translateY(-2px);
}

.about-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.badge-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-led);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.badge-card:hover {
    border-color: var(--accent);
    box-shadow: var(--led);
}

.badge-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

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

.badge-value {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

/* Philosophy quote — same accent color as the rest */
.philosophy-block {
    margin-top: 32px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(0, 229, 255, 0.03));
    border: 1px solid var(--border-led);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
}

.philosophy-label {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.philosophy-quote {
    font-style: italic;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
}

.philosophy-author {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: normal;
}

/* ══════════════════════════════════════════════════
   CERTIFICATIONS — clean, no colored borders
   ══════════════════════════════════════════════════ */
.certifications {
    background: var(--bg-secondary);
    z-index: 1;
    position: relative;
}

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

.cert-card {
    position: relative;
    cursor: default;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #0d1525;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.cert-img-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.cert-card img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    max-height: 220px;
    object-fit: contain;
    padding: 6px;
    transition: transform var(--transition);
}

.cert-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.cert-card:hover img {
    transform: scale(1.03);
}

.cert-img-wrapper:hover .cert-overlay {
    opacity: 1;
}

.cert-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.cert-overlay span {
    padding: 8px 16px;
    background: rgba(6, 10, 19, 0.92);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
}

.cert-linkedin {
    text-align: center;
    margin-top: 32px;
    font-size: 0.95rem;
}

.cert-linkedin a {
    font-weight: 500;
}

/* Cert info panel */
.cert-info {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.cert-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.3;
}

.cert-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}

.cert-verify-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    padding: 5px 12px;
    background: var(--accent-glow);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px;
    transition: all var(--transition);
    align-self: flex-start;
    margin-top: 4px;
}

.cert-verify-link:hover {
    background: var(--accent-glow-strong);
    border-color: var(--accent);
    box-shadow: var(--led);
    color: var(--accent);
    transform: translateY(-1px);
}

.cert-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-3);
    padding: 5px 12px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    align-self: flex-start;
    margin-top: 4px;
}

/* ══════════════════════════════════════════════════
   TIMELINE
   ══════════════════════════════════════════════════ */
.timeline-section {
    z-index: 1;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-2), var(--accent-3));
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.2);
}

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

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

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    z-index: 1;
    box-shadow: var(--led);
}

.timeline-dot.accent {
    background: var(--accent);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.5), 0 0 24px rgba(0, 229, 255, 0.2);
}

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

.timeline-content:hover {
    border-color: var(--accent);
    box-shadow: var(--led);
    transform: translateX(4px);
}

.timeline-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-family: var(--font-mono);
}

.timeline-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════
   STATS SECTION
   ══════════════════════════════════════════════════ */
.stats-section {
    padding: 60px 0;
    z-index: 1;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

.stat-card:hover {
    border-color: var(--accent);
    box-shadow: var(--led);
    transform: translateY(-4px);
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-mono);
    line-height: 1;
}

.stat-plus {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--accent);
    font-weight: 700;
    font-family: var(--font-mono);
}

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

/* ══════════════════════════════════════════════════
   TIMELINE FILTERS
   ══════════════════════════════════════════════════ */
.timeline-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border-led);
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.filter-btn.active {
    background: var(--accent-glow-strong);
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--led);
}

.timeline-item {
    transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease;
}

.timeline-item.hidden {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
    overflow: hidden;
    transform: scale(0.95);
    pointer-events: none;
}

/* ══════════════════════════════════════════════════
   TECH TABS + GRID
   ══════════════════════════════════════════════════ */
.tech-section {
    background: var(--bg-secondary);
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.tech-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tech-tab {
    padding: 8px 20px;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border-led);
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition);
}

.tech-tab:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.tech-tab.active {
    background: var(--accent-glow-strong);
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--led);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-led);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    text-align: center;
    transition: all var(--transition);
    cursor: default;
}

.tech-item.filter-hidden {
    display: none;
}

.tech-item:hover {
    border-color: var(--accent);
    box-shadow: var(--led);
    transform: translateY(-4px);
}

.tech-more-container {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.tech-more-btn {
    padding: 10px 24px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 24px;
    cursor: pointer;
    transition: all var(--transition);
}

.tech-more-btn:hover {
    background: var(--accent-glow-strong);
    box-shadow: var(--led);
}

.tech-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.tech-icon i {
    font-size: 1.8rem;
    color: var(--text);
    transition: color var(--transition), filter var(--transition);
}

.tech-icon i.colored {
    color: unset;
}

.tech-item:hover .tech-icon i {
    filter: drop-shadow(0 0 6px var(--accent));
}

/* Skill dots */
.skill-dots {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.skill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition);
}

.skill-dot.filled {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 4px rgba(0, 229, 255, 0.4);
}

/* ══════════════════════════════════════════════════
   PROFESSIONS — 4 cards, symmetric 2×2 or 4-col
   ══════════════════════════════════════════════════ */
.professions-section {
    z-index: 1;
    position: relative;
}

.professions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    perspective: 1000px;
}

.profession-card {
    padding: 36px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-led);
    border-radius: var(--radius);
    transition: all var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
    will-change: transform;
}

.profession-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: 0;
    transition: opacity var(--transition);
}

.profession-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--led), 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

.profession-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--accent);
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.3));
    transition: color var(--transition), transform var(--transition);
}

.profession-icon i {
    font-size: 2.8rem;
}

.profession-card:hover .profession-icon {
    transform: scale(1.15);
    color: var(--accent-dark);
}

.profession-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.profession-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.profession-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.profession-skills span {
    padding: 4px 10px;
    background: var(--accent-glow);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--accent);
}

/* ══════════════════════════════════════════════════
   EDUCATION — Premium icon cards
   ══════════════════════════════════════════════════ */
.education-section {
    background: var(--bg-secondary);
    z-index: 1;
    position: relative;
}

.education-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 40px;
}

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

.edu-card {
    padding: 36px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-led);
    border-radius: var(--radius);
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: 0;
    transition: opacity var(--transition);
}

.edu-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--led), 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

.edu-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    color: var(--accent);
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.3));
    transition: transform var(--transition);
}

.edu-icon i {
    font-size: 2.4rem;
}

.edu-card:hover .edu-icon {
    transform: scale(1.15);
}

.edu-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.edu-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════
   PROJECTS
   ══════════════════════════════════════════════════ */
.projects-section {
    z-index: 1;
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}



.project-img-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition);
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.05);
}

.project-card:hover .cert-overlay {
    opacity: 1;
}

.rea-cover {
    cursor: default;
}

.rea-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card), rgba(124, 58, 237, 0.05));
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.rea-icon {
    font-size: 3rem;
}

.rea-label {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-info {
    padding: 24px;
}

.project-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.project-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Project filter tabs */
.project-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.project-tab {
    padding: 8px 20px;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border-led);
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition);
}

.project-tab:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.project-tab.active {
    background: var(--accent-glow-strong);
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--led);
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-led);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 2;
}

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

.project-card.filter-hidden {
    display: none;
}

.project-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    padding: 4px 12px;
    background: var(--accent-glow);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px;
    margin-bottom: 10px;
}

.project-badge.recurso {
    color: var(--accent-2);
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.2);
}

/* ══════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════ */
.contact-section {
    background: var(--bg-secondary);
    z-index: 1;
    position: relative;
}

.contact-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 40px;
    font-size: 1rem;
    line-height: 1.7;
}

.contact-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-led);
    border-radius: var(--radius);
    transition: all var(--transition);
    text-align: center;
    text-decoration: none;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: 0;
    transition: opacity var(--transition);
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--led), 0 12px 30px rgba(0, 0, 0, 0.2);
}

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

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all var(--transition);
}

.contact-card:hover .contact-icon {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    transform: scale(1.1);
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.contact-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */
.footer {
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid var(--border-led);
    background: var(--bg-primary);
    z-index: 1;
    position: relative;
}

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

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-led);
    color: var(--text-muted);
    font-size: 1.15rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--led);
    transform: translateY(-3px);
}

/* ══════════════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════════════ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    cursor: zoom-out;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.15), 0 8px 40px rgba(0, 0, 0, 0.5);
    cursor: default;
    animation: lightbox-in 0.3s ease;
}

@keyframes lightbox-in {
    from {
        transform: scale(0.92);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition);
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ══════════════════════════════════════════════════
   SECURITY TOAST
   ══════════════════════════════════════════════════ */
.security-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--accent);
    color: var(--text);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 500;
    z-index: 3000;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    box-shadow: var(--led);
    white-space: nowrap;
}

.security-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ══════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ══════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ══════════════════════════════════════════════════
   BACK TO TOP BUTTON
   ══════════════════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-led);
    color: var(--accent);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

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

.back-to-top:hover {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    transform: translateY(-3px);
}

/* ══════════════════════════════════════════════════
   GLITCH EFFECT
   ══════════════════════════════════════════════════ */
.glitch {
    animation: glitch-text 0.4s ease;
}

@keyframes glitch-text {
    0% {
        text-shadow: 2px 0 var(--accent), -2px 0 var(--accent-2);
    }

    20% {
        text-shadow: -3px 0 var(--accent), 3px 0 var(--accent-2);
    }

    40% {
        text-shadow: 3px 0 var(--accent-2), -3px 0 var(--accent);
    }

    60% {
        text-shadow: -2px 0 var(--accent), 2px 0 var(--accent-2);
    }

    80% {
        text-shadow: 2px 0 var(--accent-2), -2px 0 var(--accent);
    }

    100% {
        text-shadow: none;
    }
}

/* ══════════════════════════════════════════════════
   HEARTBEAT ANIMATION
   ══════════════════════════════════════════════════ */
.heart {
    display: inline-block;
    animation: heartbeat 1.4s ease-in-out infinite;
    color: #ef4444;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    56% {
        transform: scale(1);
    }
}

/* ══════════════════════════════════════════════════
   TERMINAL EASTER EGG
   ══════════════════════════════════════════════════ */
.terminal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2500;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.terminal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.terminal-window {
    width: 90%;
    max-width: 650px;
    max-height: 70vh;
    background: #0a0e14;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: var(--radius);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.1), 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: terminal-in 0.3s ease;
}

@keyframes terminal-in {
    from {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }

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

.terminal-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0, 229, 255, 0.05);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: var(--radius) var(--radius) 0 0;
}

.terminal-dots {
    display: flex;
    gap: 6px;
    margin-right: 16px;
}

.terminal-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dots span:nth-child(1) {
    background: #ff5f57;
}

.terminal-dots span:nth-child(2) {
    background: #ffbd2e;
}

.terminal-dots span:nth-child(3) {
    background: #28c840;
}

.terminal-title {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.terminal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s;
    line-height: 1;
}

.terminal-close:hover {
    color: var(--accent);
}

.terminal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: #22c55e;
    line-height: 1.8;
    max-height: 50vh;
}

.terminal-body .cmd-highlight {
    color: var(--accent);
    font-weight: 600;
}

.terminal-body .term-output {
    color: var(--text);
    margin-bottom: 8px;
    white-space: pre-wrap;
}

.terminal-body .term-cmd {
    color: #22c55e;
    margin-bottom: 4px;
}

.terminal-body .term-error {
    color: #ef4444;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
    background: rgba(0, 229, 255, 0.02);
    border-radius: 0 0 var(--radius) var(--radius);
}

.terminal-prompt {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #22c55e;
    font-weight: 600;
    margin-right: 8px;
    flex-shrink: 0;
}

.terminal-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    outline: none;
    caret-color: #22c55e;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 768px)
   ══════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .section {
        padding: 96px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        background: rgba(6, 10, 19, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 1000;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        max-width: 280px;
        text-align: center;
        border-bottom: 1px solid rgba(0, 229, 255, 0.06);
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .nav-links li:last-child {
        border-bottom: none;
        margin-top: 8px;
    }

    .nav-links li.nav-animate {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.15rem;
        padding: 16px 32px;
        display: block;
        width: 100%;
    }

    .nav-links .nav-cta {
        margin-top: 4px;
        border-radius: var(--radius) !important;
        font-size: 1.1rem;
        padding: 14px 32px;
        box-shadow: var(--led), 0 0 20px rgba(0, 229, 255, 0.1);
    }

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

    .tech-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

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

    .about-photo-wrapper {
        max-width: 220px;
        margin: 0 auto;
    }

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

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

    .profession-card {
        min-height: 300px;
    }

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

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

    .languages-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .contact-links-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 12px;
    }

    .timeline {
        padding-left: 32px;
    }

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

    .timeline-dot {
        left: -29px;
        width: 12px;
        height: 12px;
    }

    body::before,
    body::after {
        display: none;
    }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 480px)
   ══════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .section {
        padding: 56px 0;
    }

    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.5rem;
    }

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

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

    .hero-cta .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

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

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

    .profession-card {
        min-height: 280px;
    }

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

    .tech-item {
        min-width: 100px;
        padding: 16px 12px;
        font-size: 0.78rem;
    }

    .tech-icon {
        font-size: 1.4rem;
    }

    .timeline {
        padding-left: 28px;
    }

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

    .timeline-dot {
        left: -27px;
        width: 10px;
        height: 10px;
    }

    .timeline-content {
        padding: 16px;
    }

    .badge-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .lightbox img {
        max-width: 95vw;
        max-height: 85vh;
        border-radius: var(--radius-sm);
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        font-size: 2rem;
    }

    .project-img-wrapper img {
        height: 160px;
    }

    .philosophy-block {
        padding: 18px 20px;
    }
}

/* Print protection */
@media print {
    body {
        display: none !important;
    }
}