/* ── EDIT YOUR INFO HERE ─────────────────────────────────── */
  /* All personal content is in the HTML below, clearly marked */

  :root {
    --neon-cyan: #00f5ff;
    --neon-pink: #ff2d78;
    --neon-green: #39ff14;
    --neon-purple: #bf5af2;
    --dark-bg: #030810;
    --dark-surface: #080f1e;
    --dark-card: #0a1428;
    --grid-color: rgba(0,245,255,0.05);
    --text-main: #e8f4fd;
    --text-muted: rgba(232,244,253,0.72);
    --mono: 'Share Tech Mono', monospace;
    --display: 'Orbitron', sans-serif;
    --body: 'Exo 2', sans-serif;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }
  section { scroll-margin-top: 70px; }
  .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .sr-focusable:focus{position:fixed;top:8px;left:8px;width:auto;height:auto;padding:.5rem 1rem;margin:0;clip:auto;overflow:visible;white-space:normal;background:var(--dark-card);border:1px solid var(--neon-cyan);color:var(--neon-cyan);z-index:9999}
  .btn-form{cursor:pointer;border:none;font-family:var(--mono);font-size:.8rem;letter-spacing:.15em;text-transform:uppercase;padding:.85rem 2rem;background:var(--neon-cyan);color:var(--dark-bg);clip-path:polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);transition:all .2s}

  body {
    background: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--body);
    overflow-x: hidden;
  }
  @media (hover: hover) and (pointer: fine) {
    body { cursor: none; }
    a, button { cursor: none; }
  }

  /* ── GRID BG ── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(var(--grid-color) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
  }

  /* ── SCAN LINES ── */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.08) 2px,
      rgba(0,0,0,0.08) 4px
    );
    pointer-events: none;
    z-index: 1;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,245,255,0.15);
    background: rgba(3,8,16,0.85);
    backdrop-filter: blur(12px);
  }

  .nav-logo {
    display: inline-flex;
    align-items: center;
  }

  .nav-logo-img {
    height: 41px;
    width: auto;
    display: block;
  }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }

  .nav-links a {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.2s, text-shadow 0.2s;
    position: relative;
  }

  .nav-links a::before {
    content: '> ';
    color: var(--neon-pink);
    opacity: 0;
    transition: opacity 0.2s;
  }

  .nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
  }

  .nav-links a:hover::before { opacity: 1; }

  /* ── SECTIONS ── */
  section {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 2rem;
  }

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 8rem;
  }

  .hero-tag {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--neon-green);
    letter-spacing: 0.25em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.6s 0.2s forwards;
  }

  .hero-name {
    font-family: var(--display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.6s 0.4s forwards;
  }

  .hero-name .line-1 {
    display: block;
    color: var(--text-main);
  }

  .hero-name .line-2 {
    display: block;
    color: transparent;
    -webkit-text-stroke: 2px var(--neon-cyan);
    text-shadow: none;
    position: relative;
  }

  .hero-tagline {
    font-family: var(--mono);
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    color: var(--neon-pink);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 0.6s 0.6s forwards;
  }

  .hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.6s 0.8s forwards;
  }

  .btn-primary {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border: 1px solid var(--neon-cyan);
    color: var(--dark-bg);
    background: var(--neon-cyan);
    text-decoration: none;
    transition: all 0.2s;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  }

  .btn-primary:hover {
    background: transparent;
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0,245,255,0.3), inset 0 0 20px rgba(0,245,255,0.05);
  }

  .btn-secondary {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border: 1px solid rgba(255,45,120,0.5);
    color: var(--neon-pink);
    background: transparent;
    text-decoration: none;
    transition: all 0.2s;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  }

  .btn-secondary:hover {
    border-color: var(--neon-pink);
    background: rgba(255,45,120,0.1);
    box-shadow: 0 0 20px rgba(255,45,120,0.2);
  }

  .btn-tertiary {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border: 1px solid rgba(57,255,20,0.5);
    color: var(--neon-green);
    background: transparent;
    text-decoration: none;
    transition: all 0.2s;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  }

  .btn-tertiary:hover {
    border-color: var(--neon-green);
    background: rgba(57,255,20,0.1);
    box-shadow: 0 0 20px rgba(57,255,20,0.2);
  }

  .hero-decor {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--mono);
    font-size: 0.65rem;
    color: rgba(0,245,255,0.12);
    line-height: 1.8;
    text-align: right;
    pointer-events: none;
    user-select: none;
  }

  /* ── SECTION HEADER ── */
  .section-header {
    margin-bottom: 3.5rem;
  }

  .section-num {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--neon-pink);
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
  }

  .section-title {
    font-family: var(--display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
  }

  .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), transparent);
  }

  /* ── ABOUT ── */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
  }

  .about-text p strong {
    color: var(--neon-cyan);
    font-weight: 600;
  }

  .about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(0,245,255,0.1);
    border: 1px solid rgba(0,245,255,0.1);
  }

  .stat-box {
    background: var(--dark-card);
    padding: 1.5rem;
    text-align: center;
  }

  .stat-num {
    font-family: var(--display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--neon-cyan);
    display: block;
    text-shadow: 0 0 20px rgba(0,245,255,0.4);
  }

  .stat-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.25rem;
    display: block;
  }

  .filter-bar{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:2rem}
  .filter-btn{font-family:var(--mono);font-size:.65rem;letter-spacing:.12em;text-transform:uppercase;padding:.45rem .9rem;border:1px solid rgba(0,245,255,.25);background:transparent;color:var(--text-muted);cursor:pointer;transition:all .2s}
  .filter-btn.active,.filter-btn[aria-pressed=true]{background:var(--neon-cyan);color:var(--dark-bg);border-color:var(--neon-cyan);box-shadow:0 0 12px rgba(0,245,255,.25)}
  .project-card.hidden{display:none}
  /* ── PROJECTS ── */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .project-card {
    border: 1px solid rgba(0,245,255,0.12);
    background: var(--dark-card);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    contain: layout paint;
  }

  .project-card::before {
    content: '';
    position: absolute;
    top: 0; right: 16px;
    width: 1px;
    height: 16px;
    background: rgba(0,245,255,0.3);
    transform-origin: top;
    transform: rotate(45deg) translateX(11px);
  }

  .project-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(0,245,255,0.08);
  }

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

  .project-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0,245,255,0.04) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }

  .project-tag {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--neon-pink);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
  }

  .project-title {
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
  }

  .project-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  .project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .tech-pill {
    font-family: var(--mono);
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    border: 1px solid rgba(0,245,255,0.35);
    color: var(--neon-cyan);
    letter-spacing: 0.1em;
  }
  :focus-visible{outline:2px solid var(--neon-cyan);outline-offset:2px}

  .project-link {
    display: inline-block;
    margin-top: 1.25rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--neon-green);
    text-decoration: none;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: text-shadow 0.2s;
  }

  .project-link:hover {
    text-shadow: 0 0 10px var(--neon-green);
  }

  /* ── SKILLS ── */
  .skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
  }

  .skill-group h3 {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--neon-pink);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,45,120,0.2);
  }

  .skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
  }

  .skill-name {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--text-muted);
  }

  .skill-bar {
    width: 100px;
    height: 3px;
    background: rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
  }

  .skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    box-shadow: 0 0 6px var(--neon-cyan);
    animation: fillBar 1.2s cubic-bezier(0.4,0,0.2,1) forwards;
    transform-origin: left;
    transform: scaleX(0);
  }

  @keyframes fillBar {
    to { transform: scaleX(1); }
  }

  /* ── EDUCATION ── */
  .edu-card {
    border: 1px solid rgba(0,245,255,0.12);
    background: var(--dark-card);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    transition: border-color 0.3s;
    contain: layout paint;
  }

  .edu-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0,245,255,0.08);
  }

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

  .edu-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0,245,255,0.04) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }

  .edu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1rem;
  }

  .edu-tag {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--neon-pink);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }

  .edu-institution {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
  }

  .edu-location {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
  }

  .edu-cgpa {
    text-align: right;
    flex-shrink: 0;
  }

  .cgpa-num {
    font-family: var(--display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--neon-cyan);
    display: block;
    line-height: 1;
    text-shadow: 0 0 20px rgba(0,245,255,0.4);
  }

  .cgpa-label {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .edu-status {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
  }

  .edu-status strong {
    color: var(--neon-green);
  }

  .edu-courses {
    margin-bottom: 1.5rem;
  }

  .edu-courses-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--neon-pink);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,45,120,0.2);
  }

  .edu-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .edu-extras {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    opacity: 0.7;
  }

  @media (max-width: 768px) {
    .edu-header {
      flex-direction: column;
      gap: 1rem;
    }
    .edu-cgpa { text-align: left; }
    .edu-card { padding: 1.5rem; }
  }

  /* ── CONTACT ── */
  .contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .contact-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 2rem;
  }

  .contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.06);
    background: var(--dark-card);
    transition: all 0.2s;
    letter-spacing: 0.05em;
  }

  .contact-link:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0,245,255,0.08);
    transform: translateX(4px);
  }

  .contact-icon {
    color: var(--neon-cyan);
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .contact-icon svg{width:16px;height:16px;stroke:currentColor;fill:none;transition:transform .2s,filter .2s}
  .contact-icon svg[fill="currentColor"]{fill:currentColor;stroke:none}
  .contact-link:hover .contact-icon svg{transform:scale(1.08);filter:drop-shadow(0 0 6px currentColor)}

  /* ── FORM ── */
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    background: var(--dark-card);
    border: 1px solid rgba(0,245,255,0.12);
    color: var(--text-main);
    font-family: var(--mono);
    font-size: 0.8rem;
    padding: 0.85rem 1rem;
    outline: none;
    width: 100%;
    transition: border-color 0.2s;
    letter-spacing: 0.05em;
    resize: vertical;
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: rgba(232,244,253,0.25);
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0,245,255,0.08);
  }

  .contact-form textarea { min-height: 120px; }

  /* ── FOOTER ── */
  footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(0,245,255,0.08);
    padding: 2rem;
    text-align: center;
  }

  footer p {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
  }

  footer span { color: var(--neon-pink); }

  /* ── DIVIDER ── */
  .divider {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    opacity: 0.3;
  }

  .divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  }

  .divider-icon {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--neon-cyan);
    letter-spacing: 0.2em;
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ── GLITCH ── */
  .glitch {
    position: relative;
  }

  .glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    font-family: var(--display);
    font-size: inherit;
    font-weight: 900;
    text-transform: uppercase;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
  }

  .glitch::before {
    color: var(--neon-pink);
    animation: glitch1 4s infinite;
    left: 2px;
  }

  .glitch::after {
    color: var(--neon-cyan);
    animation: glitch2 4s infinite;
    left: -2px;
  }

  @keyframes glitch1 {
    0%, 90%, 100% { clip-path: polygon(0 0, 100% 0, 100% 0%, 0 0%); opacity: 0; }
    92% { clip-path: polygon(0 12%, 100% 12%, 100% 28%, 0 28%); opacity: 0.8; transform: translate(3px, 0); }
    94% { clip-path: polygon(0 55%, 100% 55%, 100% 65%, 0 65%); opacity: 0.6; transform: translate(-2px, 0); }
    96% { clip-path: polygon(0 0, 100% 0, 100% 0%, 0 0%); opacity: 0; }
  }

  @keyframes glitch2 {
    0%, 91%, 100% { clip-path: polygon(0 0, 100% 0, 100% 0%, 0 0%); opacity: 0; }
    93% { clip-path: polygon(0 40%, 100% 40%, 100% 55%, 0 55%); opacity: 0.7; transform: translate(-3px, 0); }
    95% { clip-path: polygon(0 70%, 100% 70%, 100% 85%, 0 85%); opacity: 0.5; transform: translate(2px, 0); }
    97% { clip-path: polygon(0 0, 100% 0, 100% 0%, 0 0%); opacity: 0; }
  }

  /* ── HERO MATRIX CANVAS ── */
#hero{position:relative;overflow:hidden}
#matrix-canvas{position:absolute;inset:0;width:100%;height:100%;opacity:.09;pointer-events:none;mix-blend-mode:screen;z-index:0}
#hero > *:not(#matrix-canvas){position:relative;z-index:1}
.hero-tag,.hero-name,.hero-tagline,.hero-cta{isolation:isolate}
@media (prefers-reduced-motion: reduce){#matrix-canvas{display:none !important}}
@media (max-width:768px){#matrix-canvas{opacity:.06}}
.hal-input-wrap{display:flex;align-items:center;gap:.4rem;margin-top:.65rem;padding:.32rem .45rem;border:1px solid rgba(255,0,0,.2);background:rgba(20,0,0,.35);clip-path:polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%)}
.hal-prompt{font-family:var(--mono);font-size:.7rem;color:#ff4444;flex-shrink:0}
#hal-input{flex:1;background:transparent;border:none;outline:none;font-family:var(--mono);font-size:.68rem;color:#ffb3b3;min-width:0}
#hal-input::placeholder{color:rgba(255,100,100,.45)}
.hal-send{padding:.2rem .45rem;font-size:.6rem;min-width:1.6rem}
.hal-bubble .hal-input-wrap:focus-within{border-color:rgba(255,0,0,.45);box-shadow:0 0 8px rgba(255,0,0,.15)}

  /* ── HAL 9000 ── */
#companion{position:fixed;bottom:20px;right:20px;z-index:98;display:flex;flex-direction:column;align-items:flex-end;gap:.6rem;pointer-events:none}
.hal-orb{width:58px;height:68px;border-radius:4px;background:linear-gradient(180deg,#1e1e1e 0%,#141414 45%,#080808 70%,#000 100%);border:1px solid #2a0000;box-shadow:0 4px 20px rgba(0,0,0,.6),0 0 18px rgba(255,0,0,.28),inset 0 1px 0 rgba(255,255,255,.07),inset 0 -1px 2px rgba(0,0,0,.8);display:grid;place-items:center;position:relative;cursor:pointer;pointer-events:auto;transition:box-shadow .25s,transform .2s}
.hal-orb:hover{box-shadow:0 4px 20px rgba(0,0,0,.6),0 0 26px rgba(255,0,0,.5);transform:translateY(-1px)}
.hal-orb:hover .hal-eye{box-shadow:0 0 20px 3px rgba(255,0,0,.55),inset 0 0 10px rgba(255,0,0,.45)}
.hal-orb:focus-visible{outline:2px solid #ff1a1a;outline-offset:3px}
.hal-eye{width:32px;height:32px;border-radius:50%;background:radial-gradient(circle at 35% 32%,#ff6b6b 0%,#ff1a1a 18%,#cc0000 36%,#7a0000 62%,#1a0000 100%);display:grid;place-items:center;box-shadow:0 0 14px #ff0000,inset 0 0 10px rgba(255,0,0,.45),inset 0 1px 1px rgba(255,255,255,.18);position:relative}
.hal-eye::after{content:'';position:absolute;top:5px;left:7px;width:6px;height:6px;background:radial-gradient(circle,rgba(255,255,255,.95) 0%,rgba(255,255,255,.25) 55%,transparent 72%);border-radius:50%;pointer-events:none}
.hal-pupil{width:10px;height:10px;border-radius:50%;background:#000;box-shadow:inset 0 1px 1px rgba(255,255,255,.12),0 0 5px rgba(255,0,0,.35)}
.hal-ring{position:absolute;inset:-8px;border:1px solid rgba(255,0,0,.16);border-radius:50%;animation:hal-ring 3s ease-in-out infinite}
@keyframes hal-ring{0%,100%{transform:scale(1);opacity:.55}50%{transform:scale(1.07);opacity:.18}}
.hal-bubble{width:min(320px,86vw);background:#0a0a0a;border:1px solid #2a0000;padding:.85rem 1rem;clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%);box-shadow:0 8px 30px rgba(0,0,0,.7);pointer-events:auto;background-image:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(255,0,0,.035) 2px,rgba(255,0,0,.035) 4px)}
.hal-bubble .bubble-tag{font-family:var(--mono);font-size:.58rem;letter-spacing:.14em;color:#ff4444}
.hal-bubble .bubble-text{font-family:var(--mono);font-size:.72rem;line-height:1.6;color:#ffb3b3;white-space:pre-line;min-height:2.8em}
.hal-bubble .bubble-mini{border-color:rgba(255,0,0,.28);color:#ff4444}
.hal-bubble .bubble-mini:hover{background:rgba(255,0,0,.09)}
.hal-bubble .bubble-close{color:#ff4444}
.companion-bubble{width:min(300px,86vw);background:var(--dark-card);border:1px solid rgba(0,245,255,.25);padding:.85rem 1rem;clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%);box-shadow:0 8px 30px rgba(0,0,0,.5);pointer-events:auto}
.bubble-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.45rem}
.bubble-tag{font-family:var(--mono);font-size:.58rem;letter-spacing:.14em;color:var(--neon-cyan)}
.bubble-close{background:none;border:none;color:var(--text-muted);font-size:1.1rem;cursor:pointer;line-height:1}
.bubble-text{font-family:var(--mono);font-size:.72rem;line-height:1.6;color:var(--text-muted);white-space:pre-line;min-height:2.8em}
.bubble-actions{display:flex;gap:.5rem;margin-top:.6rem}
.bubble-mini{font-family:var(--mono);font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;padding:.32rem .6rem;border:1px solid rgba(0,245,255,.25);background:transparent;color:var(--neon-cyan);cursor:pointer}
.bubble-mini:hover{background:rgba(0,245,255,.08)}
@media(max-width:768px){#companion{bottom:16px;right:12px}.hal-orb{width:52px;height:60px}.hal-eye{width:28px;height:28px}.hal-pupil{width:9px;height:9px}}
@media print{#companion{display:none !important}}

/* ── CURSOR DOT & RADAR ── */
  #cursor {
    width: 8px; height: 8px;
    background: var(--neon-cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 10px var(--neon-cyan);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .cursor-radar {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1px dashed var(--neon-cyan);
    border-radius: 50%;
    animation: radar-spin 4s linear infinite;
    opacity: 0.7;
    transition: border-color 0.2s, width 0.2s, height 0.2s, animation-duration 0.2s;
  }

  @keyframes radar-spin {
    100% { transform: rotate(360deg); }
  }

  #cursor.hovering .cursor-radar {
    border-color: var(--neon-pink);
    width: 36px;
    height: 36px;
    animation-duration: 1.5s;
  }
  
  #cursor.hovering {
    background: transparent;
    box-shadow: none;
  }

  /* ── MATRIX RIPPLE ── */
  .ripple {
    position: fixed;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: ripple-anim 0.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    z-index: 9998;
  }

  @keyframes ripple-anim {
    0% {
      width: 0px;
      height: 0px;
      opacity: 0.8;
      border-color: var(--neon-cyan);
    }
    100% {
      width: 120px;
      height: 120px;
      opacity: 0;
      border-color: var(--neon-pink);
    }
  }

  @media (max-width: 1200px) { .hero-decor{right:1rem;opacity:0.06} }
  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    .about-grid, .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
    .hero-decor { display: none; }
  }
  @media print { nav,#cursor,#back-to-top,.hero-decor,.divider{display:none !important} body{background:#fff;color:#000} section{padding:2rem 1rem} a{color:#000 !important} }

/* ── ACTIVE NAV LINK ── */
.nav-links a.active {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
}
.nav-links a.active::before { opacity: 1; }

.contact-form input:focus-visible,
  .contact-form textarea:focus-visible { border-color: var(--neon-cyan); box-shadow: 0 0 10px rgba(0,245,255,0.12); }
a:focus-visible{outline:1px solid var(--neon-cyan);outline-offset:2px;box-shadow:0 0 8px rgba(0,245,255,.25)}
.tag{letter-spacing:.06em}
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    #cursor, .ripple, .hero-decor { display: none !important; }
  }
  @media (hover: none), (pointer: coarse) { #cursor, .ripple { display: none !important; } body { cursor: auto; } }

footer{padding:2.2rem 1rem;text-align:center;border-top:1px solid rgba(0,245,255,.08);line-height:1.6}
footer p{font-family:var(--mono);font-size:.82rem;color:var(--text-muted);margin:0}
@media(max-width:768px){footer p{font-size:.76rem}}

/* ── HAMBURGER MENU ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
  background: none;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--neon-cyan);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── BACK TO TOP BUTTON ── */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--dark-card);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--mono);
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

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

#back-to-top:hover {
  background: rgba(0,245,255,0.1);
  box-shadow: 0 0 15px rgba(0,245,255,0.2);
}

/* ── RESPONSIVE UPDATES ── */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(3,8,16,0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(0,245,255,0.15);
  }

  .nav-links.active {
    right: 0;
  }

  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
