
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg: #080c14;
    --bg2: #0d1321;
    --bg3: #111827;
    --surface: #141d2e;
    --surface2: #1a2540;
    --border: #1f2d45;
    --cyan: #00e5ff;
    --cyan-dim: #00b8cc;
    --emerald: #00ffa3;
    --amber: #ffb700;
    --text: #e8eef8;
    --text-muted: #7a8aaa;
    --text-dim: #3d4f6a;
    --font-display: 'Syne', sans-serif;
    --font-body: 'Instrument Sans', sans-serif;
    --font-mono: 'DM Mono', monospace;
    --radius: 12px;
    --radius-sm: 6px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-cyan: 0 0 30px rgba(0, 229, 255, 0.15);
    --glow-emerald: 0 0 30px rgba(0, 255, 163, 0.12);
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
  }

  /* ─── NOISE OVERLAY ─── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
  }

  /* ─── SCROLLBAR ─── */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

  /* ─── NAVIGATION ─── */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
  }

  .nav-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
  }
  .nav-logo span { color: var(--cyan); }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  .nav-links a {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
    letter-spacing: 0.05em;
  }
  .nav-links a:hover { color: var(--cyan); }
  .lang-dropdown {
    position: relative;
  }
  
  .lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    transition: all var(--transition);
  }
  .lang-toggle:hover {
    border-color: rgba(0, 229, 255, 0.4);
    color: var(--cyan);
  }
  .lang-toggle .lang-dot {
    width: 4px;
    height: 4px;
    background: var(--cyan);
    border-radius: 50%;
    transition: transform var(--transition);
  }
  .lang-toggle.open .lang-dot {
    transform: rotate(180deg);
  }
  
  .lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: none;
    z-index: 1000;
    min-width: 140px;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
  }
  
  .lang-menu.open {
    display: block;
  }
  
  .lang-option {
    width: stretch;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--cyan);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    cursor: pointer;
    background: transparent;
  }
  
  .lang-option:last-child {
    border-bottom: none;
  }
  
  .lang-option:hover {
    background: rgba(0, 229, 255, 0.15);
    color: var(--text);
  }
  
  .lang-option.active {
    background: rgba(0, 229, 255, 0.25);
    color: var(--text);
  }
  
  .lang-icon {
    font-size: 1rem;
  }
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-muted);
    transition: var(--transition);
    border-radius: 2px;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--cyan); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--cyan); }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(8, 12, 20, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 2rem 5%;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 99;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu a:last-child { border-bottom: none; }
  #hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
  }

  /* Animated grid background */
  #hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(var(--border) 1px, transparent 1px),
      linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.25;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  }

  /* Orbs */
  .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
  }
  .orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.08), transparent 70%);
    top: -100px; right: -100px;
    animation: float 8s ease-in-out infinite;
  }
  .orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 163, 0.06), transparent 70%);
    bottom: -100px; left: 10%;
    animation: float 10s ease-in-out infinite reverse;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
  }

  .hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--emerald);
    background: rgba(0, 255, 163, 0.07);
    border: 1px solid rgba(0, 255, 163, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    animation: fadeUp 0.6s ease both;
  }
  .hero-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--emerald);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
  }

  .hero-left {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    flex-wrap: nowrap;
  }
  .hero-left > div {
    flex: 1 1 auto;
    min-width: 0;
  }
  .hero-profile-pic {
    width: 140px;
    height: 140px;
    min-width: 140px;
    border-radius: 50%;
    background: var(--surface);
    border: 3px solid var(--cyan);
    object-fit: cover;
    animation: fadeUp 0.6s 0.1s ease both;
    position: relative;
    box-shadow: 
      0 0 30px rgba(0, 229, 255, 0.25),
      inset 0 0 20px rgba(0, 229, 255, 0.1);
    transition: all var(--transition);
  }
  
  .hero-profile-pic:hover {
    box-shadow: 
      0 0 50px rgba(0, 229, 255, 0.4),
      inset 0 0 30px rgba(0, 229, 255, 0.15);
    transform: scale(1.05);
  }

  .hero-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    animation: fadeUp 0.6s 0.1s ease both;
  }
  .hero-name .line2 { color: var(--cyan); display: block; }

  .hero-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
    animation: fadeUp 0.6s 0.2s ease both;
  }

  .hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 520px;
    animation: fadeUp 0.6s 0.3s ease both;
  }

  .hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.4s ease both;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--cyan);
    color: var(--bg);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all var(--transition);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.5);
  }

  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: 1px solid var(--border);
    letter-spacing: 0.05em;
    transition: all var(--transition);
  }
  .btn-secondary:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-2px);
  }

  /* Hero right — stats card */
  .hero-right {
    animation: fadeLeft 0.8s 0.3s ease both;
  }

  .stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
  }
  .stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0.5;
  }

  .stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .stat-item { }
  .stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
  }
  .stat-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.06em;
  }

  .current-role {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
  }
  .role-dot {
    width: 8px; height: 8px;
    background: var(--emerald);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s ease infinite;
  }
  .role-text { font-size: 0.85rem; color: var(--text-muted); }
  .role-text strong { color: var(--text); font-weight: 500; }

  .tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.5rem;
  }
  .badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--cyan-dim);
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.15);
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.03em;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeLeft {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
  }

  /* ─── SECTIONS ─── */
  section {
    padding: 100px 5%;
    position: relative;
    z-index: 1;
  }

  .section-inner {
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--cyan);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .section-eyebrow::after {
    content: '';
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: var(--cyan);
    opacity: 0.4;
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.1;
  }

  .section-sub {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
    margin-bottom: 3.5rem;
  }

  /* ─── EXPERIENCE ─── */
  #experience { background: var(--bg); }

  .timeline {
    position: relative;
    padding-left: 2rem;
  }
  .timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--cyan), var(--border) 60%, transparent);
  }

  .timeline-item {
    position: relative;
    padding-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .timeline-item.visible { opacity: 1; transform: translateY(0); }
  .timeline-item:last-child { padding-bottom: 0; }

  .timeline-dot {
    position: absolute;
    left: -2.375rem;
    top: 6px;
    width: 12px; height: 12px;
    background: var(--bg);
    border: 2px solid var(--cyan);
    border-radius: 50%;
    transition: var(--transition);
  }
  .timeline-dot.active { background: var(--cyan); box-shadow: var(--glow-cyan); }

  .timeline-meta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .timeline-meta .period {
    color: var(--amber);
    background: rgba(255, 183, 0, 0.08);
    border: 1px solid rgba(255, 183, 0, 0.2);
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.68rem;
  }

  .timeline-role {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
  }
  .timeline-company {
    font-size: 0.9rem;
    color: var(--cyan);
    margin-bottom: 1rem;
    font-weight: 500;
  }

  .timeline-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color var(--transition), box-shadow var(--transition);
  }
  .timeline-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: var(--glow-cyan);
  }

  .timeline-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
  }
  .timeline-bullets li {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
  }
  .timeline-bullets li::before {
    content: '▸';
    color: var(--cyan);
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 0.8rem;
  }

  .tools-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }
  .tool-chip {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    color: var(--text-muted);
    background: var(--bg3);
    padding: 3px 9px;
    border-radius: 3px;
    letter-spacing: 0.03em;
  }

  /* ─── SKILLS ─── */
  #skills { background: var(--bg2); }

  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .skill-category {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .skill-category.visible { opacity: 1; transform: translateY(0); }
  .skill-category:hover {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: var(--glow-cyan);
  }
  .skill-category::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--cyan);
    opacity: 0;
    transition: opacity var(--transition);
  }
  .skill-category:hover::before { opacity: 1; }

  .cat-icon {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    display: block;
  }
  .cat-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
  }
  .cat-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .skill-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    background: var(--bg3);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 4px;
    transition: all var(--transition);
  }
  .skill-category:hover .skill-tag {
    border-color: rgba(0, 229, 255, 0.2);
    color: var(--cyan-dim);
  }

  /* ─── PROJECTS ─── */
  #projects { background: var(--bg); }

  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
  }

  .project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .project-card.visible { opacity: 1; transform: translateY(0); }
  .project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,229,255,0.03), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
  }
  .project-card:hover {
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: var(--glow-cyan);
    transform: translateY(-4px) !important;
  }
  .project-card:hover::after { opacity: 1; }

  .project-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  .project-icon {
    font-size: 2rem;
    line-height: 1;
  }
  .project-links {
    display: flex;
    gap: 8px;
  }
  .project-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: color var(--transition);
    display: flex;
    align-items: center;
  }
  .project-links a:hover { color: var(--cyan); }

  .project-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  .project-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

  .project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
  }
  .tech-pill {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    color: var(--emerald);
    background: rgba(0, 255, 163, 0.06);
    border: 1px solid rgba(0, 255, 163, 0.18);
    padding: 3px 9px;
    border-radius: 3px;
    letter-spacing: 0.03em;
  }

  /* ─── ABOUT / EDUCATION ─── */
  #about { background: var(--bg2); }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .edu-list { display: flex; flex-direction: column; gap: 1.25rem; }

  .edu-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all var(--transition);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s ease;
  }
  .edu-card.visible { opacity: 1; transform: translateX(0); }
  .edu-card:hover { border-color: rgba(0, 229, 255, 0.3); }

  .edu-icon { font-size: 1.5rem; flex-shrink: 0; }
  .edu-degree {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
  }
  .edu-school {
    font-size: 0.85rem;
    color: var(--cyan);
    margin-bottom: 0.25rem;
  }
  .edu-year {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
  }

  .about-right { }
  .about-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
  }
  .about-text span { color: var(--text); }

  .lang-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .lang-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .lang-name {
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 80px;
  }
  .lang-bar-wrap {
    flex: 1;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    margin: 0 1rem;
    overflow: hidden;
  }
  .lang-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--emerald));
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .lang-bar.animated { transform: scaleX(1); }
  .lang-level {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    min-width: 60px;
    text-align: right;
    letter-spacing: 0.04em;
  }

  .interests {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .interest-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 50px;
    transition: all var(--transition);
  }
  .interest-tag:hover {
    border-color: rgba(0, 229, 255, 0.3);
    color: var(--text);
  }

  /* ─── CONTACT ─── */
  #contact { background: var(--bg); }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .contact-left .big-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }
  .big-text .accent { color: var(--cyan); }

  .contact-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
  }

  .contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
  }
  .contact-link:hover {
    color: var(--cyan);
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateX(6px);
  }
  .contact-link-icon {
    width: 36px; height: 36px;
    background: var(--bg3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
  }
  .contact-link-text { flex: 1; }
  .contact-link-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    display: block;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
  }

  .contact-right {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
  }
  .contact-right::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0.5;
  }

  .form-field {
    margin-bottom: 1.25rem;
  }
  .form-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
    letter-spacing: 0.08em;
  }
  .form-input, .form-textarea {
    width: 100%;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
  }
  .form-input:focus, .form-textarea:focus {
    border-color: rgba(0, 229, 255, 0.5);
  }
  .form-textarea { min-height: 110px; resize: vertical; }
  .form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }

  .btn-send {
    width: 100%;
    background: var(--cyan);
    color: var(--bg);
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
  }
  .btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.4);
  }

  /* ─── FOOTER ─── */
  footer {
    border-top: 1px solid var(--border);
    padding: 2rem 5%;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.06em;
    position: relative;
    z-index: 1;
  }
  footer a { color: var(--cyan); text-decoration: none; }

  @media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero-right { order: -1; }
    .hero-left { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .lang-dropdown { margin-left: auto; margin-right: 1rem; }
  }

  @media (max-width: 600px) {
    section { padding: 70px 5%; }
    .projects-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; gap: 0.75rem; }
    .hero-actions a {
      width: 100%;
      min-width: 0;
      justify-content: center;
    }
    .hero-left {
      justify-content: center;
      gap: 1.5rem;
      flex-wrap: wrap;
    }
    .hero-left > div {
      flex: 1 1 100%;
    }
    .hero-profile-pic {
      margin: 0 auto;
    }
    .current-role {
      flex-direction: column;
      align-items: flex-start;
    }
    .timeline { padding-left: 1.5rem; }
    .timeline-dot { left: -1.875rem; }
    .lang-menu { right: auto; left: 0; }
  }

  /* ─── LANGUAGE SWITCHING ─── */
  [data-i18n-lang="fr"] { display: none; }
  html[lang="fr"] [data-i18n-lang="en"] { display: none; }
  html[lang="fr"] [data-i18n-lang="fr"] { display: revert !important; }
  html[lang="fr"] .btn-secondary[data-i18n-lang="fr"] { display: inline-flex !important; }

  /* ─── SCROLL REVEAL ─── */
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }