:root {
    --space-black: #ffffff;
    --navy-panel: #EEF2FF;
    --gold: #1566CC;
    --gold-dim: rgba(21,102,204,0.12);
    --gold-glow: rgba(21,102,204,0.35);
    --blue: #1566CC;
    --blue-dim: rgba(21,102,204,0.1);
    --blue-glow: rgba(21,102,204,0.35);
    --white: #0A0C12;
    --muted: #5A6278;
    --panel-bg: rgba(238,242,255,0.90);
    --accent: #1566CC;
    --accent-bright: #1566CC;
    --surface: #E4E9F8;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    cursor: none;
  }

  body {
    background: #ffffff;
    color: #0A0C12;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
  }

  /* ── CURSOR ── */
  #cursor-dot {
    position: fixed;
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--gold-glow), 0 0 40px var(--gold-dim);
    transform: translate(-50%, -50%);
  }
  #cursor-ring {
    position: fixed;
    width: 32px; height: 32px;
    border: 1px solid var(--gold-glow);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.18s ease, width 0.2s, height 0.2s, border-color 0.2s;
    transform: translate(-50%, -50%);
  }
  body:has(a:hover) #cursor-ring,
  body:has(button:hover) #cursor-ring {
    width: 48px; height: 48px;
    border-color: var(--accent);
  }

  /* ── CANVAS ── */
  #particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 4rem;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px);
    color: #ffffff;
    border-bottom: 1px solid rgba(21,102,204,0.15);
    box-shadow: 0 1px 20px rgba(21,102,204,0.06);
  }
  .nav-logo {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    color: var(--accent);
    text-shadow: 0 0 20px var(--gold-glow);
    text-decoration: none;
  }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s, text-shadow 0.3s;
  }
  .nav-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 12px var(--blue-glow);
  }
  .nav-cta {
    font-family: 'Orbitron', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.5rem 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  .nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateX(-100%);
    transition: transform 0.3s;
    z-index: -1;
  }
  .nav-cta:hover { color: #fff; }
  .nav-cta:hover::before { transform: translateX(0); }

  /* ── SECTIONS ── */
  section {
    min-height: 100vh;
    scroll-snap-align: start;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 4rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
  }
  section.visible { opacity: 1; transform: translateY(0); }

  /* ── HERO ── */
  #hero {
    flex-direction: column;
    text-align: center;
    padding-top: 10rem;
    background: linear-gradient(160deg, #ffffff 0%, #EEF4FF 50%, #ffffff 100%);
  }
  .hero-eyebrow {
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.5em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px var(--blue-glow);
  }
  .hero-name {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, #0A0C12, #1566CC, #60B8FF, #1566CC, #0A0C12);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(21,102,204,0.25)) drop-shadow(0 0 60px rgba(21,102,204,0.1));
    animation: shimmer 4s linear infinite, nameGlow 3s ease-in-out infinite alternate;
    margin-bottom: 0.5rem;
  }
  @keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
  }
  @keyframes nameGlow {
    from { filter: drop-shadow(0 0 15px rgba(21,102,204,0.2)) drop-shadow(0 0 40px rgba(21,102,204,0.08)); }
    to   { filter: drop-shadow(0 0 35px rgba(21,102,204,0.45)) drop-shadow(0 0 70px rgba(21,102,204,0.2)); }
  }
  .hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(0.9rem, 2vw, 1.4rem);
    font-weight: 400;
    letter-spacing: 0.4em;
    color: var(--muted);
    margin-bottom: 2rem;
    text-transform: uppercase;
  }
  .hero-divider {
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 1.5rem auto;
  }
  .hero-tagline {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(10,12,18,0.6);
    max-width: 500px;
    letter-spacing: 0.05em;
  }
  .hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  .btn-primary {
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent), #0044AA);
    color: #fff;
    font-weight: 700;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--gold-dim), inset 0 1px 0 rgba(255,255,255,0.2);
  }
  .btn-primary:hover {
    box-shadow: 0 6px 30px var(--gold-glow), 0 0 60px var(--gold-dim);
    transform: translateY(-2px);
  }
  .btn-secondary {
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    background: transparent;
    color: #0A0C12;
    border: 1px solid rgba(10,12,18,0.3);
    text-decoration: none;
    transition: all 0.3s;
  }
  .btn-secondary:hover {
    background: rgba(10,12,18,0.05);
    border-color: #0A0C12;
    transform: translateY(-2px);
  }
  .scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .scroll-hint span {
    font-family: 'Orbitron', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.4em;
    color: var(--muted);
    text-transform: uppercase;
  }
  .scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollAnim 1.8s ease-in-out infinite;
  }
  @keyframes scrollAnim {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.5); }
  }

  /* ── GLASS CARD ── */
  .glass-card {
    background: #ffffff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #0A0C12;
    border: 1px solid rgba(21,102,204,0.15);
    box-shadow: 0 4px 20px rgba(21,102,204,0.06);
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s, transform 0.3s;
  }
  .glass-card:hover {
    background: #1566CC;
    color: #ffffff;
    border-color: #1566CC;
    box-shadow: 0 12px 40px rgba(21,102,204,0.35);
    transform: translateY(-4px);
  }

  /* ── SECTION LABELS ── */
  .section-inner { width: 100%; max-width: 1200px; }
  .section-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.5em;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }
  .section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    color: #0A0C12;
    margin-bottom: 3rem;
    letter-spacing: 0.03em;
  }
  .section-title span { color: var(--accent); }
  .title-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    margin-bottom: 3rem;
  }

  /* ── ABOUT ── */
  #about .section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
  .about-text p {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(10,12,18,0.7);
    margin-bottom: 1.2rem;
    line-height: 1.8;
  }
  .about-text p strong { color: var(--accent); font-weight: 600; }
  .about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }
  .stat-card {
    padding: 1.5rem;
    text-align: center;
  }
  .stat-num {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 900;
    color: #1566CC;
    text-shadow: none;
    line-height: 1;
    transition: color 0.3s ease, text-shadow 0.3s ease;
  }
  .glass-card:hover .stat-num {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255,255,255,0.4);
  }
  .stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 0.4rem;
    transition: color 0.3s ease;
  }
  .glass-card:hover .stat-label {
    color: rgba(255,255,255,0.75);
  }
  .about-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hex-avatar {
    width: 260px;
    height: 260px;
    background: linear-gradient(135deg, #EEF2FF, rgba(21,102,204,0.08));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 0 0 30px var(--gold-glow);
    animation: hexPulse 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
  }
  @keyframes hexPulse {
    0%,100% { box-shadow: 0 0 30px var(--gold-dim); }
    50% { box-shadow: 0 0 60px var(--gold-glow), 0 0 120px var(--gold-dim); }
  }
  .hex-ring {
    position: absolute;
    width: 340px; height: 340px;
    border: 1px solid rgba(21,102,204,0.2);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
  }
  .hex-ring::before {
    content: '';
    position: absolute;
    top: -4px; left: 50%;
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--gold-glow);
    transform: translateX(-50%);
  }
  .hex-ring-2 {
    width: 420px; height: 420px;
    border-color: rgba(10,12,18,0.08);
    animation: ringRotate 30s linear infinite reverse;
  }
  .hex-ring-2::before { background: #0A0C12; box-shadow: 0 0 12px rgba(10,12,18,0.3); }
  @keyframes ringRotate { to { transform: rotate(360deg); } }

  /* ── SKILLS ── */
  #skills .section-inner { max-width: 1200px; }
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  .skill-group {
    padding: 2rem;
  }
  .skill-group-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: #1566CC;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(21,102,204,0.2);
    transition: color 0.3s ease, border-color 0.3s ease;
  }
  .glass-card:hover .skill-group-title {
    color: #ffffff;
    border-bottom-color: rgba(255,255,255,0.25);
  }
  .skill-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }
  .badge {
    font-family: 'Orbitron', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    padding: 0.4rem 0.9rem;
    text-transform: uppercase;
    position: relative;
    color: #1566CC;
    border: 1px solid transparent;
    background: rgba(255,255,255,0.95);
    cursor: default;
    transition: color 0.25s, background 0.25s, border-color 0.25s;
  }
  .badge:hover {
    background: #ffffff;
    color: #000000;
    border-color: #000000 !important;
    z-index: 1;
  }
  .badge:hover::before { opacity: 0; }
  .badge:hover::after { background: #ffffff; }
  .badge::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--accent), #0A0C12, var(--accent));
    background-size: 200% 200%;
    animation: gradientShift 3s linear infinite;
    z-index: -1;
    border-radius: inherit;
    transition: opacity 0.25s;
  }
  .badge::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.95);
    z-index: -1;
    transition: background 0.25s;
  }
  @keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  /* ── PROJECTS ── */
  #projects .section-inner { max-width: 1200px; }
  .projects-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
  }
  .project-showcase-card {
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: #0A0C12;
    border: 1px solid rgba(21,102,204,0.15);
    box-shadow: 0 4px 20px rgba(21,102,204,0.06);
  }
  .project-showcase-card:hover {
    transform: translateY(-8px);
    background: #1566CC;
    border-color: #1566CC;
    box-shadow: 0 16px 50px rgba(21,102,204,0.35);
  }
  .project-showcase-card:hover .project-showcase-title { color: #ffffff; }
  .project-showcase-card:hover .project-showcase-desc { color: rgba(255,255,255,0.85); }
  .project-showcase-card:hover .project-banner-num { color: #ffffff; }
  .project-showcase-card:hover .tech-pill { border-color: rgba(255,255,255,0.45); color: #ffffff; background: rgba(255,255,255,0.12); }
  .project-showcase-card:hover .proj-btn-ghost { border-color: rgba(255,255,255,0.6); color: #ffffff; }
  .project-showcase-card:hover .proj-btn-ghost:hover { background: rgba(255,255,255,0.18); }
  .project-banner {
    height: 180px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .project-banner-icon {
    font-size: 3.5rem;
    opacity: 0.2;
    position: absolute;
    right: 1.5rem;
    bottom: 1rem;
    line-height: 1;
  }
  .project-banner-num {
    font-family: 'Orbitron', monospace;
    font-size: 5rem;
    font-weight: 900;
    opacity: 0.06;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    color: #0A0C12;
    transition: color 0.3s ease;
  }
  .project-banner-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    position: absolute;
    top: 1.2rem;
    left: 1.5rem;
  }
  .pb-gold {
    background: linear-gradient(135deg, rgba(21,102,204,0.1), rgba(10,60,150,0.04));
    border-bottom: 1px solid rgba(21,102,204,0.2);
  }
  .pb-gold .project-banner-label { color: var(--accent); }
  .pb-blue {
    background: linear-gradient(135deg, rgba(21,102,204,0.08), rgba(5,30,80,0.03));
    border-bottom: 1px solid rgba(21,102,204,0.18);
  }
  .pb-blue .project-banner-label { color: var(--accent); }
  .pb-purple {
    background: linear-gradient(135deg, rgba(10,12,18,0.04), rgba(21,102,204,0.06));
    border-bottom: 1px solid rgba(10,12,18,0.1);
  }
  .pb-purple .project-banner-label { color: #334; }
  .project-body { padding: 1.8rem 2rem 2rem; flex: 1; display: flex; flex-direction: column; }
  .project-showcase-title {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: #0A0C12;
    margin-bottom: 0.7rem;
    letter-spacing: 0.04em;
    line-height: 1.3;
  }
  .project-showcase-desc {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(10,12,18,0.6);
    line-height: 1.75;
    margin-bottom: 1.2rem;
    flex: 1;
  }
  .project-tech-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.4rem; }
  .tech-pill {
    font-family: 'Orbitron', monospace;
    font-size: 0.48rem;
    letter-spacing: 0.12em;
    padding: 0.25rem 0.65rem;
    text-transform: uppercase;
    border: 1px solid rgba(21,102,204,0.3);
    color: #1566CC;
    background: rgba(21,102,204,0.06);
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  }
  .project-actions { display: flex; gap: 1rem; align-items: center; }
  .proj-btn {
    font-family: 'Orbitron', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.55rem 1.2rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }
  .proj-btn-primary {
    background: linear-gradient(135deg, var(--accent), #0044AA);
    color: #fff;
    font-weight: 700;
  }
  .proj-btn-primary:hover { box-shadow: 0 4px 20px var(--gold-glow); transform: translateY(-1px); }
  .proj-btn-ghost {
    border: 1px solid rgba(21,102,204,0.4);
    color: #1566CC;
    background: transparent;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }
  .proj-btn-ghost:hover { background: rgba(21,102,204,0.08); box-shadow: 0 4px 15px var(--gold-dim); transform: translateY(-1px); }

  /* ── EDUCATION ── */
  #education .section-inner { max-width: 1200px; }
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
  }
  .project-card {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, background 0.3s;
  }

  .project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .project-card:hover::before { opacity: 1; }
  .project-num {
    font-family: 'Orbitron', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.4em;
    color: #1566CC;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
  }
  .glass-card:hover .project-num {
    color: rgba(255,255,255,0.75);
  }
  .project-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0A0C12;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
  }
  .glass-card:hover .project-title {
    color: #ffffff;
  }
  .project-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(10,12,18,0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
  }
  .glass-card:hover .project-desc {
    color: rgba(255,255,255,0.8);
  }
  .project-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
  .project-tag {
    font-family: 'Orbitron', monospace;
    font-size: 0.5rem;
    letter-spacing: 0.15em;
    color: #1566CC;
    border: 1px solid rgba(21,102,204,0.3);
    padding: 0.2rem 0.6rem;
    text-transform: uppercase;
    transition: color 0.3s ease, border-color 0.3s ease;
  }
  .glass-card:hover .project-tag {
    color: #ffffff;
    border-color: rgba(255,255,255,0.4);
  }
  .project-links { display: flex; gap: 1rem; }
  .project-link {
    font-family: 'Orbitron', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(21,102,204,0.3);
    padding-bottom: 2px;
    transition: border-color 0.3s, text-shadow 0.3s;
  }
  .project-link:hover {
    border-color: var(--accent);
    text-shadow: 0 0 10px var(--gold-glow);
  }

  /* ── EXPERIENCE ── */
  #experience .section-inner { max-width: 900px; }
  .timeline { position: relative; padding-left: 3rem; }
  .timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent), rgba(21,102,204,0.06));
  }
  .timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding: 2rem;
  }
  .timeline-item::before {
    content: '';
    position: absolute;
    left: -3.4rem;
    top: 2.3rem;
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--gold-glow), 0 0 30px var(--gold-dim);
  }
  .timeline-period {
    font-family: 'Orbitron', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.4em;
    color: #1566CC;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
  }
  .glass-card:hover .timeline-period {
    color: rgba(255,255,255,0.75);
  }
  .timeline-role {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0A0C12;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
  }
  .glass-card:hover .timeline-role {
    color: #ffffff;
  }
  .timeline-company {
    font-size: 0.85rem;
    color: #1566CC;
    margin-bottom: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  .glass-card:hover .timeline-company {
    color: rgba(255,255,255,0.9);
  }
  .timeline-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(10,12,18,0.6);
    line-height: 1.7;
    transition: color 0.3s ease;
  }
  .glass-card:hover .timeline-desc {
    color: rgba(255,255,255,0.8);
  }

  /* ── CONTACT ── */
  #contact { text-align: center; }
  #contact .section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
  }
  .contact-desc {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(10,12,18,0.6);
    line-height: 1.8;
    margin-bottom: 3rem;
  }
  .contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 3rem;
  }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .form-field { position: relative; }
  .form-field input,
  .form-field textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(238,242,255,0.8);
    border: 1px solid rgba(21,102,204,0.2);
    color: #0A0C12;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    resize: none;
    cursor: none;
  }
  .form-field input::placeholder,
  .form-field textarea::placeholder {
    color: var(--muted);
    font-family: 'Orbitron', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
  .form-field input:focus,
  .form-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--gold-dim);
    background: #ffffff;
  }
  .form-field textarea { height: 140px; }

  /* ── SUBMIT BUTTON ── */
  .submit-btn {
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 1.1rem 3rem;
    background: linear-gradient(135deg, var(--accent), #0044AA);
    color: #fff;
    font-weight: 700;
    border: none;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--gold-dim);
    align-self: center;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  .submit-btn:hover:not(:disabled) {
    box-shadow: 0 8px 40px var(--gold-glow);
    transform: translateY(-2px);
  }
  .submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }
  .btn-spinner {
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: none;
  }
  .submit-btn.loading .btn-spinner { display: block; }
  .submit-btn.loading .btn-text { opacity: 0.7; }
  @keyframes spin { to { transform: rotate(360deg); } }

  /* ── TOAST ── */
  #toast {
    position: fixed;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    z-index: 99999;
    padding: 1rem 2rem;
    font-family: 'Orbitron', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.7rem;
  }
  #toast.show { transform: translateX(-50%) translateY(0); }
  #toast.success {
    background: #ffffff;
    border: 1px solid var(--accent);
    color: var(--accent);
    box-shadow: 0 4px 30px var(--gold-dim);
  }
  #toast.error {
    background: #ffffff;
    border: 1px solid #cc2222;
    color: #cc2222;
    box-shadow: 0 4px 20px rgba(204,34,34,0.15);
  }
  #toast .toast-icon { font-size: 0.9rem; }

  .contact-socials { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
  .social-link {
    font-family: 'Orbitron', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s, text-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .social-link:hover {
    color: var(--accent);
    text-shadow: 0 0 12px var(--blue-glow);
  }

  /* ── FOOTER ── */
  footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(21,102,204,0.2);
    font-family: 'Orbitron', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    color: #ffffff;
    text-transform: uppercase;
    background: #1566CC;
    scroll-snap-align: start;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    section { padding: 5rem 1.5rem; }
    #about .section-inner { grid-template-columns: 1fr; gap: 2rem; }
    .about-visual { height: 280px; }
    .hex-avatar { width: 160px; height: 160px; font-size: 2.5rem; }
    .hex-ring { width: 220px; height: 220px; }
    .hex-ring-2 { width: 280px; height: 280px; }
    .form-row { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
  }
  .hex-avatar {
    background-image: url('1692716202057.jpg');
    background-size: contain;
    background-position: center;
  }