/* =========================================
   SEBASTIAN SOSA — PORTFOLIO CSS
   Ultra-Tech Dark Aesthetic
   ========================================= */

:root {
    --bg: #030712;
    --bg-2: #070f1f;
    --bg-card: rgba(10, 18, 40, 0.85);
    --border: rgba(99, 179, 237, 0.12);
    --border-hover: rgba(99, 179, 237, 0.35);
    --accent: #38bdf8;
    --accent-2: #22d3ee;
    --accent-3: #6ee7b7;
    --sf-blue: #009edb;
    --text: #e2e8f0;
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    --font-display: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --glow: 0 0 40px rgba(56, 189, 248, 0.15);
    --glow-strong: 0 0 60px rgba(56, 189, 248, 0.3);
    --radius: 16px;
    --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-display);
    overflow-x: hidden;
    cursor: none;
  
      /* 👇 AGREGAR ESTO */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ---- CURSOR ---- */
.cursor {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
    mix-blend-mode: difference;
}
.cursor-follower {
    width: 32px; height: 32px;
    border: 1px solid rgba(56, 189, 248, 0.5);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease-out, opacity 0.2s;
}
@media (hover: none) { .cursor, .cursor-follower { display: none; } }
body { cursor: auto; }
a, button { cursor: pointer; }

/* ---- SCANLINES ---- */
.scanlines {
    position: fixed; inset: 0; z-index: 9990;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.03) 2px,
        rgba(0,0,0,0.03) 4px
    );
}

/* ---- NAV ---- */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0;
    transition: background 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}
#navbar.scrolled {
    background: rgba(3, 7, 18, 0.92);
    backdrop-filter: blur(20px);
    border-color: var(--border);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 20px 32px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
}
.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.25rem; font-weight: 700;
    color: var(--accent);
    letter-spacing: -1px;
}
.logo-bracket { color: var(--text-muted); }
.nav-links {
    display: flex; gap: 32px;
    list-style: none;
}
.nav-links a {
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-muted); text-decoration: none;
    transition: color 0.2s;
    font-family: var(--font-mono);
}
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.lang-toggle {
    display: flex; align-items: center; gap: 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 6px; padding: 4px 8px;
}
.lang-btn {
    background: none; border: none;
    font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700;
    color: var(--text-muted); cursor: pointer;
    padding: 2px 6px; border-radius: 4px;
    transition: all 0.2s;
}
.lang-btn.active {
    background: var(--accent);
    color: var(--bg);
}
.lang-sep { color: var(--text-muted); font-size: 0.7rem; }
.nav-stats {
    display: flex; gap: 12px;
    font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted);
}
.stat-item { display: flex; align-items: center; gap: 5px; }
.stat-item i { color: var(--accent); font-size: 0.65rem; }

/* ---- HERO ---- */
#hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center;
    padding: 100px 32px 80px;
    position: relative; overflow: hidden;
}
.hero-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
    position: absolute; border-radius: 50%;
    filter: blur(100px); opacity: 0.12;
}
.orb-1 { width: 600px; height: 600px; background: var(--accent); top: -200px; left: -200px; animation: orbFloat 12s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; background: #6366f1; bottom: -100px; right: -100px; animation: orbFloat 15s ease-in-out infinite reverse; }
.orb-3 { width: 300px; height: 300px; background: var(--accent-3); top: 40%; left: 60%; animation: orbFloat 10s ease-in-out infinite 3s; }
@keyframes orbFloat { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(30px, -30px); } }

.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 100px; padding: 6px 16px;
    font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent);
    margin-bottom: 32px;
    animation: fadeDown 0.6s ease both;
}
.badge-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    font-weight: 800; line-height: 0.95;
    letter-spacing: -0.03em;
    animation: fadeDown 0.6s ease 0.1s both;
}
.name-line { display: block; color: var(--text); }
.name-line.accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-title-wrapper {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 20px 0 24px;
    font-family: var(--font-mono); font-size: clamp(0.85rem, 1.4vw, 1rem);
    color: var(--text-dim);
    animation: fadeDown 0.6s ease 0.2s both;
}
.title-prefix { color: var(--accent); }
.cursor-blink { color: var(--accent); animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-summary {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    color: var(--text-dim); max-width: 700px; margin: 0 auto 40px;
    line-height: 1.7; font-weight: 400;
    animation: fadeDown 0.6s ease 0.3s both;
}
.hero-cta {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeDown 0.6s ease 0.4s both;
}
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--accent); color: var(--bg);
    font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
    padding: 14px 28px; border-radius: var(--radius-sm); border: none;
    cursor: pointer; transition: all 0.2s;
    text-decoration: none;
}
.btn-primary:hover { background: #7dd3fc; transform: translateY(-2px); box-shadow: var(--glow-strong); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    background: transparent; color: var(--text);
    font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
    padding: 14px 28px; border-radius: var(--radius-sm);
    border: 1px solid var(--border-hover);
    cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.hero-metrics {
    display: flex; gap: 0; justify-content: center; align-items: center;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--bg-card); backdrop-filter: blur(12px);
    overflow: hidden; flex-wrap: wrap;
    animation: fadeDown 0.6s ease 0.5s both;
}
.metric {
    padding: 20px 32px; text-align: center;
    display: flex; flex-direction: column; gap: 4px;
    flex: 1; min-width: 100px;
}
.metric-num {
    font-family: var(--font-mono); font-size: 1.8rem; font-weight: 700;
    color: var(--accent); line-height: 1;
}
.metric-plus { font-size: 1.2rem; }
.metric-label {
    font-size: 0.7rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}
.metric-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

.hero-scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted);
    letter-spacing: 0.15em; text-transform: uppercase;
    animation: fadeDown 1s ease 1s both;
}
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ---- MARQUEE ---- */
.marquee-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(56, 189, 248, 0.02);
    overflow: hidden; padding: 16px 0;
}
.marquee-track { width: 100%; overflow: hidden; }
.marquee-inner {
    display: flex; gap: 0; white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
    font-family: var(--font-mono); font-size: 0.75rem;
    color: var(--text-muted); letter-spacing: 0.05em;
}
.marquee-inner span { padding: 0 20px; }
.marquee-inner .sep { color: var(--accent); padding: 0; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- SECTIONS ---- */
.section { padding: 100px 32px; }
.section-dark { background: var(--bg-2); }
.container { max-width: 1200px; margin: 0 auto; }

.section-header {
    margin-bottom: 60px;
}
.section-tag {
    font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent);
    letter-spacing: 0.2em; text-transform: uppercase;
    display: block; margin-bottom: 12px;
}
.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800; letter-spacing: -0.02em;
    line-height: 1;
}

/* ---- EXPERTISE GRID ---- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.expertise-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative; overflow: hidden;
}
.expertise-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at top right, rgba(56,189,248,0.05), transparent 60%);
    opacity: 0; transition: opacity 0.3s;
}
.expertise-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--glow); }
.expertise-card:hover::before { opacity: 1; }
.card-highlight { border-color: rgba(56, 189, 248, 0.25); }
.card-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(56, 189, 248, 0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--accent);
    margin-bottom: 20px;
}
.sf-icon { background: rgba(0, 158, 219, 0.1); color: var(--sf-blue); }
.ai-icon { background: rgba(110, 231, 183, 0.1); color: var(--accent-3); }
.sec-icon { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.cloud-icon { background: rgba(99, 102, 241, 0.1); color: #818cf8; }
.code-icon { background: rgba(110, 231, 183, 0.1); color: var(--accent-3); }
.expertise-card h3 {
    font-size: 1.1rem; font-weight: 700; margin-bottom: 12px;
}
.expertise-card p {
    font-size: 0.875rem; color: var(--text-dim); line-height: 1.7;
    margin-bottom: 20px;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-tags span {
    font-family: var(--font-mono); font-size: 0.65rem;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.15);
    color: var(--accent); padding: 3px 10px; border-radius: 100px;
}

/* ---- TIMELINE ---- */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: flex; gap: 24px; }
.timeline-marker { display: flex; flex-direction: column; align-items: center; padding-top: 24px; }
.marker-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--text-muted); border: 2px solid var(--bg-2);
    flex-shrink: 0; z-index: 1;
    transition: background 0.3s;
}
.marker-dot.active { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.marker-line { width: 1px; flex: 1; background: var(--border); margin-top: 8px; min-height: 40px; }
.timeline-item:last-child .marker-line { display: none; }

.timeline-card {
    flex: 1; padding-bottom: 32px;
}
.timeline-header {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px;
    cursor: pointer; transition: border-color 0.3s;
    position: relative;
}
.timeline-header:hover { border-color: var(--border-hover); }
.timeline-meta {
    display: flex; gap: 12px; align-items: center;
    margin-bottom: 10px; flex-wrap: wrap;
}
.company-badge {
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
    background: rgba(56, 189, 248, 0.1); color: var(--accent);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 3px 12px; border-radius: 100px;
}
.timeline-period {
    font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted);
}
.now-badge { color: #22c55e; }
.timeline-role {
    font-size: 1.1rem; font-weight: 700; margin-bottom: 6px;
}
.timeline-location {
    font-size: 0.8rem; color: var(--text-muted);
}
.timeline-location i { font-size: 0.7rem; margin-right: 4px; }
.toggle-icon {
    position: absolute; right: 24px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted); font-size: 0.85rem;
    transition: transform 0.3s;
}
.timeline-header.open .toggle-icon { transform: translateY(-50%) rotate(180deg); }

.timeline-body {
    background: rgba(7, 15, 31, 0.6);
    border: 1px solid var(--border); border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.timeline-body.open {
    max-height: 600px;
    padding: 24px;
}
.timeline-body ul { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.timeline-body li {
    font-size: 0.875rem; color: var(--text-dim); line-height: 1.7;
}
.timeline-body li::marker { color: var(--accent); }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.timeline-tags span {
    font-family: var(--font-mono); font-size: 0.65rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--text-muted); padding: 3px 10px; border-radius: 100px;
}

/* ---- ACHIEVEMENTS ---- */
.achievements-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.achievement-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
    transition: border-color 0.3s, transform 0.3s;
}
.achievement-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.achievement-icon {
    font-size: 1.5rem; color: var(--accent);
    margin-bottom: 16px;
}
.achievement-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.achievement-card p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.7; }

/* ---- CERTIFICATIONS ---- */
.certs-layout {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px;
    margin-bottom: 32px;
}
.salesforce-highlight {
    background: linear-gradient(135deg, rgba(0, 158, 219, 0.08), rgba(0, 158, 219, 0.02));
    border: 1px solid rgba(0, 158, 219, 0.25);
    border-radius: var(--radius); padding: 32px;
}
.sf-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.sf-big-icon { font-size: 2.5rem; color: var(--sf-blue); }
.sf-header h3 { font-size: 1.1rem; font-weight: 700; }
.sf-status { font-size: 0.8rem; color: var(--sf-blue); font-family: var(--font-mono); }
.sf-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px;
}
.sf-stat {
    background: rgba(0, 158, 219, 0.06); border: 1px solid rgba(0, 158, 219, 0.15);
    border-radius: var(--radius-sm); padding: 12px; text-align: center;
    display: flex; flex-direction: column; gap: 2px;
}
.sf-num {
    font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; color: var(--sf-blue);
}
.sf-stat span { font-size: 0.7rem; color: var(--text-muted); }
.superbadges { display: flex; flex-direction: column; gap: 10px; }
.superbadge-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.82rem; color: var(--text-dim);
}
.superbadge-item i { color: #22c55e; flex-shrink: 0; }
.superbadge-item small { margin-left: auto; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); }

.certs-list { display: flex; flex-direction: column; gap: 12px; }
.cert-item {
    display: flex; align-items: center; gap: 16px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 14px 20px;
    transition: border-color 0.2s;
}
.cert-item:hover { border-color: var(--border-hover); }
.cert-year {
    font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent);
    flex-shrink: 0; min-width: 36px;
}
.cert-info { display: flex; flex-direction: column; gap: 2px; }
.cert-name { font-size: 0.85rem; font-weight: 600; }
.cert-issuer { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); }

.education-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.edu-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px;
    display: flex; gap: 16px; align-items: flex-start;
    transition: border-color 0.3s;
}
.edu-card:hover { border-color: var(--border-hover); }
.edu-card i { font-size: 1.5rem; color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.edu-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.edu-card p { font-size: 0.78rem; color: var(--text-muted); font-family: var(--font-mono); }

/* ---- PROJECTS ---- */
.projects-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.project-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
    position: relative; overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}
.project-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.project-featured { border-color: rgba(56, 189, 248, 0.2); }
.project-glow {
    position: absolute; top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(56,189,248,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.project-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.project-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(56, 189, 248, 0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--accent);
}
.sf-proj-icon { background: rgba(0, 158, 219, 0.1); color: var(--sf-blue); }
.web-proj-icon { background: rgba(110, 231, 183, 0.1); color: var(--accent-3); }
.project-status {
    font-family: var(--font-mono); font-size: 0.65rem;
    background: rgba(34, 197, 94, 0.1); color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 3px 10px; border-radius: 100px;
}
.project-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.project-card p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 16px; }
.project-tech { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tech span {
    font-family: var(--font-mono); font-size: 0.65rem;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    color: var(--text-muted); padding: 3px 10px; border-radius: 100px;
}

/* ---- SKILLS ---- */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.skill-group h4 {
    font-size: 0.85rem; font-weight: 700; color: var(--accent);
    text-transform: uppercase; letter-spacing: 0.1em;
    font-family: var(--font-mono);
    margin-bottom: 20px; padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.skill-bar {
    display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.skill-bar span { font-size: 0.8rem; color: var(--text-dim); min-width: 160px; flex-shrink: 0; }
.bar {
    flex: 1; height: 4px; background: rgba(255,255,255,0.06);
    border-radius: 2px; overflow: hidden;
}
.bar-fill {
    height: 100%; width: var(--pct);
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 2px;
    animation: barGrow 1.5s ease both;
    animation-play-state: paused;
}
.bar-fill.animated { animation-play-state: running; }
@keyframes barGrow { from { width: 0; } to { width: var(--pct); } }

/* ---- CONTACT ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-copy h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800;
    letter-spacing: -0.02em; margin-bottom: 16px;
}
.contact-copy p { font-size: 0.95rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 32px; }
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-link {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.9rem; color: var(--text-dim); text-decoration: none;
    padding: 12px 16px; border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.contact-link:hover { border-color: var(--accent); color: var(--accent); background: rgba(56,189,248,0.05); }
.contact-link i { color: var(--accent); width: 16px; text-align: center; }

.download-btn {
    display: flex; align-items: center; gap: 16px;
    background: linear-gradient(135deg, rgba(56,189,248,0.1), rgba(56,189,248,0.04));
    border: 1px solid rgba(56,189,248,0.3);
    border-radius: var(--radius); padding: 24px;
    cursor: pointer; transition: all 0.2s; width: 100%;
    color: var(--text);
}
.download-btn:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--glow); }
.download-btn-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(56,189,248,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: var(--accent); flex-shrink: 0;
}
.download-btn-text { flex: 1; text-align: left; }
.download-btn-text span { display: block; font-weight: 700; font-size: 0.95rem; }
.download-btn-text small { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); }
.download-btn > i:last-child { color: var(--accent); }

.location-note {
    margin-top: 16px;
    font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 8px;
}
.location-note i { color: var(--accent); }

/* ---- FOOTER ---- */
footer {
    background: #020812;
    border-top: 1px solid var(--border);
    padding: 40px 32px;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    flex-wrap: wrap;
}
.footer-logo {
    font-family: var(--font-mono); font-size: 1.1rem; font-weight: 700; color: var(--accent);
}
.footer-copy { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
    width: 36px; height: 36px; border-radius: 8px;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); text-decoration: none;
    transition: all 0.2s; font-size: 0.85rem;
}
.footer-socials a:hover { border-color: var(--accent); color: var(--accent); }

/* ---- FAB LIKE ---- */
.fab-like { position: fixed; bottom: 32px; right: 32px; z-index: 900; }
.like-btn {
    display: flex; align-items: center; gap: 8px;
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.3);
    border-radius: 100px; padding: 12px 20px;
    color: #f43f5e; cursor: pointer; font-family: var(--font-mono);
    font-size: 0.85rem; font-weight: 700;
    transition: all 0.2s; backdrop-filter: blur(12px);
}
.like-btn:hover { background: rgba(244, 63, 94, 0.2); transform: scale(1.05); }
.like-btn.liked { background: rgba(244, 63, 94, 0.2); border-color: #f43f5e; }
.like-btn i { font-size: 0.9rem; }

/* ---- PDF OVERLAY ---- */
.pdf-overlay {
    position: fixed; inset: 0; z-index: 9995;
    background: rgba(3, 7, 18, 0.9); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
}
.pdf-overlay.hidden { display: none; }
.pdf-loader {
    text-align: center; display: flex; flex-direction: column;
    align-items: center; gap: 20px;
}
.loader-spinner {
    width: 48px; height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pdf-loader p { font-family: var(--font-mono); color: var(--accent); font-size: 0.85rem; }

/* ---- ANIMATIONS ---- */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .certs-layout { grid-template-columns: 1fr; }
    .education-row { grid-template-columns: 1fr 1fr; }
    .skills-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    body { cursor: auto; }
    .cursor, .cursor-follower { display: none; }

    .nav-links { display: none; }
    .nav-inner { padding: 16px 20px; }
    .nav-stats { display: none; }

    #hero { padding: 100px 20px 60px; }
    .hero-metrics { display: grid; grid-template-columns: 1fr 1fr; }
    .metric-divider { display: none; }

    .section { padding: 60px 20px; }
    .expertise-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; gap: 32px; }
    .education-row { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .certs-layout { grid-template-columns: 1fr; }

    .timeline-item { gap: 12px; }
    .timeline-marker { display: none; }

    .skill-bar span { min-width: 120px; font-size: 0.75rem; }

    .hero-cta { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

    .fab-like { bottom: 20px; right: 20px; }

    .footer-inner { flex-direction: column; text-align: center; gap: 12px; }
}

@media (max-width: 480px) {
    .hero-metrics { grid-template-columns: 1fr 1fr; }
    .sf-stats { grid-template-columns: 1fr 1fr; }
}