/* ═══════════════════════════════════════════════
   OKAN TIKTAŞ — PORTFOLIO CSS
   Dark theme, glassmorphism, gradients
   ═══════════════════════════════════════════════ */

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

:root {
    --bg-primary: #06080f;
    --bg-secondary: #0c1022;
    --bg-card: rgba(15, 20, 45, 0.6);
    --bg-card-hover: rgba(20, 28, 65, 0.7);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);

    --accent-1: #6c5ce7;
    --accent-2: #00cec9;
    --accent-3: #a29bfe;
    --gradient-primary: linear-gradient(135deg, #6c5ce7, #00cec9);
    --gradient-subtle: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(0, 206, 201, 0.15));

    --text-primary: #e8e6f0;
    --text-secondary: #8b8aa0;
    --text-muted: #5a5970;

    --font: 'Inter', -apple-system, sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

/* ─── PARTICLE CANVAS ─── */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ─── NEON EDGE GLOW ─── */
.edge-glow {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.edge-glow::before,
.edge-glow::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0;
    animation: edgeGlowPulse 6s ease-in-out infinite;
}

.edge-glow::before {
    width: 400px;
    height: 600px;
    background: rgba(108, 92, 231, 0.3);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.edge-glow::after {
    width: 350px;
    height: 500px;
    background: rgba(0, 206, 201, 0.25);
    bottom: -100px;
    right: -100px;
    animation-delay: 3s;
}

@keyframes edgeGlowPulse {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.15); }
}

/* Additional glow spots */
.glow-spot {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.glow-spot-1 {
    width: 300px;
    height: 300px;
    background: rgba(108, 92, 231, 0.2);
    top: 40%;
    right: -80px;
    animation: edgeGlowPulse 8s ease-in-out infinite 1.5s;
}

.glow-spot-2 {
    width: 250px;
    height: 250px;
    background: rgba(0, 206, 201, 0.15);
    top: 60%;
    left: -60px;
    animation: edgeGlowPulse 7s ease-in-out infinite 4s;
}

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

/* ─── CONTAINER ─── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background: rgba(6, 8, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}

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

.nav-logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

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

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

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--glass);
}

.nav-cta {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ─── LANG SWITCHER ─── */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(108, 92, 231, 0.12);
    border: 1px solid rgba(108, 92, 231, 0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.5px;
    margin-left: 8px;
    white-space: nowrap;
}

.lang-switcher:hover {
    background: rgba(108, 92, 231, 0.25);
    border-color: var(--accent-1);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.2);
}

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

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

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

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

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

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-1);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-2);
    bottom: -100px;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, -30px); }
    50% { transform: translate(-20px, 20px); }
    75% { transform: translate(20px, 10px); }
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-greeting {
    font-size: 1.1rem;
    color: var(--accent-2);
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.hero-name {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.name-first {
    display: block;
    color: var(--text-primary);
}

.name-last {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 2rem;
}

.typing-cursor {
    animation: blink 1s infinite;
    color: var(--accent-1);
    font-weight: 300;
}

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

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

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

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 24px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.45);
}

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

.btn-outline:hover {
    border-color: var(--accent-1);
    background: rgba(108, 92, 231, 0.08);
    transform: translateY(-2px);
}

/* ─── HERO STATS ─── */
.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

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

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ─── HERO VISUAL ─── */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-ring {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    padding: 4px;
    background: var(--gradient-primary);
    animation: ring-rotate 8s linear infinite;
    position: relative;
}

@keyframes ring-rotate {
    0% { background: linear-gradient(0deg, #6c5ce7, #00cec9); }
    25% { background: linear-gradient(90deg, #6c5ce7, #00cec9); }
    50% { background: linear-gradient(180deg, #6c5ce7, #00cec9); }
    75% { background: linear-gradient(270deg, #6c5ce7, #00cec9); }
    100% { background: linear-gradient(360deg, #6c5ce7, #00cec9); }
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--bg-secondary), #141832);
    color: var(--accent-3);
    letter-spacing: 4px;
}

/* ─── SCROLL INDICATOR ─── */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.78rem;
    animation: bounce 2s infinite;
}

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

/* ─── SECTIONS ─── */
.section {
    padding: 100px 0;
    position: relative;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 56px;
    letter-spacing: -1px;
}

.section-number {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', monospace;
    font-weight: 700;
    margin-right: 12px;
}

/* ─── COMPETENCY CARDS ─── */
.competencies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.competency-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.competency-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(108, 92, 231, 0.2);
    transform: translateY(-4px);
}

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

.competency-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

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

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

/* ─── TIMELINE ─── */
.timeline {
    position: relative;
    padding-left: 40px;
}

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

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

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

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 8px;
}

.marker-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 3px solid var(--accent-1);
    transition: var(--transition);
}

.marker-dot.active {
    background: var(--accent-1);
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.5);
}

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

.timeline-content:hover {
    border-color: rgba(108, 92, 231, 0.2);
    transform: translateX(4px);
}

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

.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.timeline-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.timeline-period {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline-badge {
    font-size: 0.72rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--gradient-subtle);
    color: var(--accent-3);
    font-weight: 600;
}

.timeline-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.timeline-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ─── EDUCATION ─── */
.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.education-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.education-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 206, 201, 0.2);
    transform: translateY(-4px);
}

.edu-degree-badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 5px 14px;
    border-radius: 20px;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.edu-school {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.edu-faculty {
    font-size: 0.88rem;
    color: var(--accent-2);
    margin-bottom: 4px;
    font-weight: 500;
}

.edu-department {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.edu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.edu-period {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.edu-gpa {
    font-size: 0.82rem;
    color: var(--accent-3);
    font-weight: 600;
}

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

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

.skill-category:hover {
    border-color: rgba(108, 92, 231, 0.15);
}

.skill-category-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent-2);
}

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

.skill-tag {
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(108, 92, 231, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(108, 92, 231, 0.15);
    font-weight: 500;
    transition: var(--transition);
}

.skill-tag:hover {
    background: rgba(108, 92, 231, 0.2);
    border-color: var(--accent-1);
    transform: translateY(-2px);
}

/* ─── CERTIFICATIONS ─── */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.cert-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(108, 92, 231, 0.2);
    transform: translateY(-4px);
}

.cert-icon {
    margin-bottom: 16px;
    color: var(--accent-2);
}

.cert-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cert-issuer {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.cert-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ─── PROJECTS ─── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

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

.project-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 206, 201, 0.2);
    transform: translateY(-4px);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: var(--accent-2);
}

.project-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

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

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

.project-tags span {
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(0, 206, 201, 0.1);
    color: var(--accent-2);
    border: 1px solid rgba(0, 206, 201, 0.15);
    font-weight: 500;
}

/* ─── CONTACT ─── */
.contact-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: -40px;
    margin-bottom: 48px;
    max-width: 500px;
}

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

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(108, 92, 231, 0.2);
    transform: translateY(-4px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-2);
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    word-break: break-all;
}

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

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

.footer-logo {
    font-size: 1.1rem;
    font-weight: 700;
}

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

/* ─── REVEAL ANIMATIONS (enhanced) ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Variant: slide from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Variant: slide from right */
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Variant: scale up */
.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Card hover glow enhancement */
.competency-card:hover,
.timeline-content:hover,
.education-card:hover,
.cert-card:hover,
.project-card:hover,
.contact-card:hover {
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.1),
                0 0 60px rgba(108, 92, 231, 0.05);
}

/* Active timeline marker enhanced glow */
.marker-dot.active {
    background: var(--accent-1);
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.5),
                0 0 40px rgba(108, 92, 231, 0.3);
    animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(108, 92, 231, 0.5); }
    50% { box-shadow: 0 0 30px rgba(108, 92, 231, 0.7), 0 0 50px rgba(108, 92, 231, 0.3); }
}

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

    .hero-summary {
        max-width: 100%;
    }

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

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

    .hero-visual {
        order: -1;
    }

    .avatar-ring {
        width: 200px;
        height: 200px;
    }

    .avatar-placeholder {
        font-size: 3rem;
    }

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

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

    .timeline {
        padding-left: 30px;
    }

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

    .timeline-header {
        flex-direction: column;
    }

    .timeline-meta {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(6, 8, 15, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 48px;
        transform: translateX(100%);
        transition: var(--transition);
    }

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

    .nav-links a {
        font-size: 1.2rem;
        padding: 12px 24px;
    }

    .lang-switcher {
        margin-left: 0;
        margin-right: 8px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .competencies-grid,
    .education-grid,
    .skills-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }

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

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

    .hero-stats {
        gap: 24px;
    }

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