/* ================================================
   NABEEL SOHAIL — DEEP SPACE TERMINAL AESTHETIC
   ================================================ */

:root {
  --bg: #050a0f;
  --bg-1: #080e15;
  --bg-2: #0c1420;
  --bg-3: #0f1a28;
  --surface: #0d1520;
  --surface-2: #111d2e;
  --border: #1c83eb14;
  --border-2: #6c63ff26;

  --accent: #3a4eff;
  --accent-2: #00c8ff;
  --accent-dim: #3a4eff1f;
  --accent-glow: #1c83eb40;

  --gradient: linear-gradient(135deg, #1c83eb, #6c63ff);
  --gradient-2: linear-gradient(135deg, #3a4eff, #00b4d8);

  --text: #e2eaf4;
  --text-2: #8a9bb5;
  --text-3: #4a5e78;

  --font-display: "Syne", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --font-body: "DM Sans", sans-serif;

  --r: 12px;
  --r2: 8px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ================================================
   NOISE + SCANLINE OVERLAY
   ================================================ */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  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)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

.scanline-sweep {
  position: fixed;
  top: -5px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to bottom, transparent, #3a4eff33, transparent);
  pointer-events: none;
  z-index: 9998;
  animation: scanSweep 10s linear infinite;
  opacity: 0;
}

@keyframes scanSweep {
  0% {
    top: -5px;
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
  95% {
    opacity: 0.4;
  }
  100% {
    top: 100vh;
    opacity: 0;
  }
}

/* ================================================
   CUSTOM CURSOR
   ================================================ */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition:
    transform 0.1s,
    width 0.2s,
    height 0.2s,
    background 0.2s;
  box-shadow:
    0 0 10px var(--accent),
    0 0 20px var(--accent-glow);
}

.cursor-follower {
  width: 28px;
  height: 28px;
  border: 1px solid #3a4eff66;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    transform 0.15s var(--ease),
    width 0.25s,
    height 0.25s,
    opacity 0.25s;
}

/* ================================================
   CARD BORDER TRACE (hover draw effect)
   ================================================ */
.cborder {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
}
.cborder::before,
.cborder::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition:
    transform 0.45s var(--ease),
    opacity 0.45s;
  opacity: 0;
}
.cborder::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
}
.cborder::after {
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
}

[class*="card"]:hover .cborder::before,
[class*="card"]:hover .cborder::after,
.tl-card:hover .cborder::before,
.tl-card:hover .cborder::after,
.proj-card:hover .cborder::before,
.proj-card:hover .cborder::after {
  transform: scale(1);
  opacity: 1;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary-dark:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 30px var(--accent-glow),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-primary-dark:hover::before {
  opacity: 1;
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border-2);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.btn-ghost-dark:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

/* ================================================
   SECTION COMMON
   ================================================ */
section {
  padding: 110px 0;
}

.sec-head {
  margin-bottom: 64px;
  text-align: center;
}

.sec-head--left {
  text-align: left;
  margin-bottom: 32px;
}

.sh-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  justify-content: center;
}

.sec-head--left .sh-meta {
  justify-content: flex-start;
}

.sh-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 2px;
  opacity: 0.7;
}

.sh-rule {
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--border-2);
}

.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.sec-head p {
  color: var(--text-2);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.accent {
  color: var(--accent);
}

.sec-cta {
  text-align: center;
  margin-top: 48px;
}

/* ================================================
   REVEAL ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.rd-1 {
  transition-delay: 0.08s;
}
.rd-2 {
  transition-delay: 0.16s;
}
.rd-3 {
  transition-delay: 0.24s;
}
.rd-4 {
  transition-delay: 0.32s;
}
.rd-5 {
  transition-delay: 0.40s;
}
.rd-6 {
  transition-delay: 0.48s;
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(5, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}

.navbar.scrolled {
  border-color: var(--border-2);
}

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

.logo {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.logo-prefix {
  color: var(--text-3);
}
.logo-slash {
  color: var(--accent);
  margin: 0 1px;
}
.logo-name {
  color: var(--text);
}

.logo-cursor-blink {
  color: var(--accent);
  animation: blink 1.1s step-end infinite;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  border-radius: 4px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-num {
  color: var(--accent);
  opacity: 0.6;
  font-size: 10px;
}

.nav-item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  margin-left: 12px;
  transition: all 0.3s;
}

.btn-nav-cta:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

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

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.3s;
}

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

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  padding-top: 66px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 80px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(58, 78, 255, 0.05);
  border: 1px solid #1c83eb1f;
  padding: 7px 16px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulseGreen 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0%,
  100% {
    box-shadow: 0 0 4px var(--accent);
  }
  50% {
    box-shadow:
      0 0 14px var(--accent),
      0 0 24px var(--accent-glow);
  }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.eyebrow-bar {
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

.eyebrow-text {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 3px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
}

.ht-line {
  font-size: clamp(44px, 6vw, 68px);
  color: var(--text);
  display: block;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideIn 0.6s var(--ease) forwards;
}

.ht-line:nth-child(1) {
  animation-delay: 0.2s;
}
.ht-line:nth-child(2) {
  animation-delay: 0.35s;
}
.ht-line:nth-child(3) {
  animation-delay: 0.5s;
}

.ht-accent {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  text-shadow: 0 0 40px var(--accent-glow);
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* TERMINAL */
.hero-terminal {
  background: rgba(8, 14, 21, 0.9);
  border: 1px solid #1c83eb1a;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  height: 200px;
}

.term-bar {
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid #1c83eb0f;
}

.tc {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.tc-r {
  background: #ff5f57;
}
.tc-y {
  background: #febc2e;
}
.tc-g {
  background: #28c840;
}

.term-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  margin-left: 8px;
}

.term-body {
  padding: 16px 18px 18px;
}

.term-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.term-prompt {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
}
.term-cmd {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
}
.term-blink {
  color: var(--accent);
  animation: blink 0.8s step-end infinite;
  font-size: 13px;
}

.term-output {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.8;
  min-height: 48px;
}

.term-output .to-line {
  color: var(--accent);
  opacity: 0.75;
}
.term-output .to-val {
  color: var(--text-2);
}

.hero-desc {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 0;
}

.metric {
  display: flex;
  flex-direction: column;
  padding-right: 24px;
}

.mv {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.mv em {
  font-style: normal;
  color: var(--accent);
  font-size: 20px;
}

.mk {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 1.5px;
  margin-top: 5px;
  text-transform: uppercase;
}

.msep {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin: 0 24px 0 0;
}

/* HUD FRAME */
.hud-frame {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
}

.hud-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 4;
}

.hud-corner::before,
.hud-corner::after {
  content: "";
  position: absolute;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hc-tl {
  top: 12px;
  left: 12px;
}
.hc-tr {
  top: 12px;
  right: 12px;
}
.hc-bl {
  bottom: 12px;
  left: 12px;
}
.hc-br {
  bottom: 12px;
  right: 12px;
}

.hc-tl::before,
.hc-tr::before,
.hc-bl::before,
.hc-br::before {
  width: 100%;
  height: 1.5px;
  top: 0;
  left: 0;
}
.hc-tl::after,
.hc-tr::after,
.hc-bl::after,
.hc-br::after {
  width: 1.5px;
  height: 100%;
  top: 0;
  left: 0;
}

.hc-tr::before {
  right: 0;
  left: auto;
}
.hc-tr::after {
  right: 0;
  left: auto;
}
.hc-bl::before {
  bottom: 0;
  top: auto;
}
.hc-bl::after {
  bottom: 0;
  top: auto;
}
.hc-br::before {
  bottom: 0;
  top: auto;
  right: 0;
  left: auto;
}
.hc-br::after {
  bottom: 0;
  top: auto;
  right: 0;
  left: auto;
}

.hud-tag-top,
.hud-tag-bot {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--accent);
  opacity: 0.6;
  z-index: 4;
  padding: 4px 8px;
}

.hud-tag-top {
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
}
.hud-tag-bot {
  bottom: 72px;
  right: 16px;
}

.hud-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--border);
  animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hud-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.9);
}

.hud-scanbar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent),
    transparent
  );
  opacity: 0.5;
  animation: scanbar 3s ease-in-out infinite;
  top: 0;
}

@keyframes scanbar {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

.hud-pills {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: rgba(8, 14, 21, 0.9);
  border-top: 1px solid var(--border);
}

.hpill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  transition: all 0.3s;
}

.hpill i {
  color: var(--accent);
  font-size: 12px;
}

.hpill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* SCROLL HINT */
.hero-scrollhint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--text-3);
}

.sh-track {
  width: 1px;
  height: 48px;
  background: #6c63ff1a;
  position: relative;
  overflow: hidden;
}

.sh-dot {
  width: 100%;
  height: 14px;
  background: var(--accent);
  position: absolute;
  top: -14px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    top: -14px;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    top: 48px;
    opacity: 0;
  }
}

/* ================================================
   SERVICES
   ================================================ */
.services {
  background: var(--bg-1);
}

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

.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  cursor: default;
}

.svc-card:hover {
  border-color: var(--border-2);
  transform: translateY(-6px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    0 0 40px var(--accent-glow);
  background: var(--surface-2);
}

.svc-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--accent-dim), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

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

.svc-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 20px;
  transition: all 0.3s;
}

.svc-card:hover .svc-icon-wrap {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 20px var(--accent-glow);
}

.svc-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.svc-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.svc-card:hover h3 {
  color: var(--accent);
}

.svc-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

.svc-foot {
  margin-top: 20px;
  color: var(--text-3);
  font-size: 13px;
  transition:
    color 0.3s,
    transform 0.3s;
  display: inline-block;
}

.svc-card:hover .svc-foot {
  color: var(--accent);
  transform: translateX(4px) translateY(-4px);
}

/* ================================================
   ABOUT
   ================================================ */
.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-frame {
  position: relative;
  border-radius: var(--r);
  overflow: visible;
}

.af-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 2;
}

.af-corner::before,
.af-corner::after {
  content: "";
  position: absolute;
  background: var(--accent);
}

.af-tl {
  top: -8px;
  left: -8px;
}
.af-br {
  bottom: -8px;
  right: -8px;
}

.af-tl::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
}
.af-tl::after {
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
}
.af-br::before {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  left: 0;
  top: auto;
}
.af-br::after {
  bottom: 0;
  right: 0;
  width: 2px;
  height: 100%;
  left: auto;
  top: 0;
}

.about-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--border);
  filter: brightness(0.8) saturate(0.85);
  transition: filter 0.4s;
}

.about-frame:hover img {
  filter: brightness(0.9) saturate(1);
}

.af-info {
  position: absolute;
  top: 20px;
  right: -16px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  padding: 10px 14px;
  z-index: 3;
}

.afi-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: 1.5px;
  margin-bottom: 3px;
}
.afi-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
}

.af-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  z-index: 3;
  box-shadow: 0 8px 32px #1c83eb4d;
}

.afb-num {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}
.afb-txt {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  opacity: 0.75;
  line-height: 1.4;
}

.about-text-col h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.about-lead {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about-body {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}

.skill-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0 32px;
}

.skill-chips span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.2s;
}

.skill-chips span:hover {
  border-color: var(--border-2);
  color: var(--text);
}
.skill-chips i {
  color: var(--accent);
  font-size: 11px;
}

/* ================================================
   EXPERIENCE
   ================================================ */
.experience {
  background: var(--bg-1);
}

.timeline {
  max-width: 820px;
  margin: 0 auto;
}

.tl-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0;
  margin-bottom: 32px;
}

.tl-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 28px;
}

.tl-node {
  position: relative;
  flex-shrink: 0;
}

.tn-hex {
  width: 18px;
  height: 18px;
  background: var(--bg);
  border: 2px solid var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 12px var(--accent-glow);
}

.tn-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 18px;
  height: 18px;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: hexPulse 2.5s ease-out infinite;
}

@keyframes hexPulse {
  0% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) rotate(45deg) scale(2.8);
    opacity: 0;
  }
}

.tl-spine {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, rgba(58, 78, 255, 0.2), transparent);
  margin-top: 10px;
  min-height: 60px;
}

.tl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 28px 24px;
  margin-left: 18px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.tl-card:hover {
  border-color: var(--border-2);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.3),
    0 0 20px var(--accent-glow);
  transform: translateX(6px);
}

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

.tl-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
}

.tl-org {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

.tl-date {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 4px;
  white-space: nowrap;
}

.tl-list {
  padding: 0;
  margin-bottom: 18px;
}

.tl-list li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

.tl-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

.tl-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tl-tech span {
  padding: 3px 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  transition: all 0.2s;
}

.tl-tech span:hover {
  border-color: var(--border-2);
  color: var(--accent);
}

/* ================================================
   LEADERSHIP
   ================================================ */
.leadership {
  background: var(--bg);
}

.lead-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lead-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}

.lead-card:hover {
  border-color: var(--border-2);
  transform: translateY(-5px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 30px var(--accent-glow);
}

.lead-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 20px;
  transition: all 0.3s;
}

.lead-card:hover .lead-icon-wrap {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 20px var(--accent-glow);
}

.lead-role {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 2.5px;
  display: block;
  margin-bottom: 8px;
}

.lead-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.lead-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ================================================
   PROJECTS
   ================================================ */
.projects {
  background: var(--bg-1);
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.proj-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  transition: all 0.4s var(--ease);
}

.proj-card:hover {
  border-color: var(--border-2);
  transform: translateY(-8px);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.4),
    0 0 40px var(--accent-glow);
}

.proj-vis {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.pvis-1 {
  background: linear-gradient(135deg, #050a0f 0%, rgba(58, 78, 255, 0.15) 100%);
}
.pvis-2 {
  background: linear-gradient(135deg, #050a0f 0%, rgba(0, 200, 255, 0.15) 100%);
}
.pvis-3 {
  background: linear-gradient(
    135deg,
    #050a0f 0%,
    rgba(108, 99, 255, 0.15) 100%
  );
}
.pvis-4 {
  background: linear-gradient(135deg, #050a0f 0%, rgba(74, 222, 128, 0.12) 100%);
}
.pvis-5 {
  background: linear-gradient(135deg, #050a0f 0%, rgba(251, 146, 60, 0.12) 100%);
}
.pvis-6 {
  background: linear-gradient(135deg, #050a0f 0%, rgba(167, 139, 250, 0.12) 100%);
}

.pv-gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 78, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 78, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.pv-num {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  user-select: none;
}

.pv-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(58, 78, 255, 0.08);
  border: 1px solid rgba(58, 78, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
  transition: all 0.3s;
}

.proj-card:hover .pv-icon {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 30px var(--accent-glow);
}

.proj-hover {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 15, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.proj-card:hover .proj-hover {
  opacity: 1;
}

.btn-proj {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-proj:hover {
  transform: scale(1.04);
  box-shadow: 0 0 20px var(--accent-glow);
}

.proj-info {
  padding: 22px;
}

.pi-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.pi-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 1.5px;
}

.pi-yr {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
}

.proj-info h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.proj-info p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 14px;
}

.pi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pi-tags span {
  padding: 3px 9px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  transition: all 0.2s;
}

.pi-tags span:hover {
  color: var(--accent);
  border-color: var(--border-2);
}

/* ================================================
   TECH STACK
   ================================================ */
.techstack {
  background: var(--bg);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r2);
    transition: all 0.3s var(--ease);
    cursor: default;
    text-align: center;
    justify-content: center;
}

.tech-pill:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-4px);
  box-shadow: 0 0 24px var(--accent-glow);
}

.tech-pill i {
  font-size: 26px;
  color: var(--text-3);
  transition:
    color 0.3s,
    text-shadow 0.3s;
}
.tech-pill span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  transition: color 0.3s;
  letter-spacing: 0.5px;
}

.tech-pill:hover i {
  color: var(--accent);
  text-shadow: 0 0 14px var(--accent-glow);
}
.tech-pill:hover span {
  color: var(--text-2);
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-sec {
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
  padding: 130px 0;
}

.cta-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 78, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 78, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-glow-l,
.cta-glow-r {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.cta-glow-l {
  background: radial-gradient(circle, rgba(58, 78, 255, 0.06), transparent 70%);
  top: -100px;
  left: -100px;
}

.cta-glow-r {
  background: radial-gradient(circle, rgba(0, 200, 255, 0.05), transparent 70%);
  bottom: -100px;
  right: -100px;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 1px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  padding: 7px 18px;
  border-radius: 4px;
  margin-bottom: 32px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.cta-body {
  color: var(--text-2);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 17px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
}

.footer-nav h4,
.footer-social h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-nav a {
  display: block;
  color: var(--text-2);
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--accent);
}

.social-icons {
  display: flex;
  gap: 10px;
}

.si {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: 15px;
  transition: all 0.3s;
}

.si:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 1px;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 28px;
  }
  .hud-img img {
    height: 300px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-frame img {
    height: 320px;
  }
  .af-badge {
    bottom: -14px;
    right: 12px;
  }
  .proj-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }
  .cursor,
  .cursor-follower {
    display: none;
  }
  section {
    padding: 80px 0;
  }
  .nav-links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(5, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border-2);
    transform: translateY(-110%);
    transition: transform 0.3s var(--ease);
    gap: 4px;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .hamburger {
    display: flex;
  }
  .btn-nav-cta {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .lead-grid {
    grid-template-columns: 1fr;
  }
  .proj-grid {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tl-item {
    grid-template-columns: 40px 1fr;
  }
  .tlc-header {
    flex-direction: column;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    flex-wrap: wrap;
    gap: 20px;
  }
  .msep {
    display: none;
  }
  .skill-chips {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title .ht-line {
    font-size: 38px;
  }
  .hero-cta-row {
    flex-direction: column;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
}

/* ================================================
   NATIONALITY BADGE
   ================================================ */
.hero-nationality {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(58, 78, 255, 0.05);
  border: 1px solid rgba(58, 78, 255, 0.18);
  padding: 5px 14px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

/* ================================================
   TIMELINE ROLE-TYPE BADGES
   ================================================ */
.tl-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  margin: 4px 0 6px;
}
.tl-badge--ft {
  background: rgba(58, 78, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(58, 78, 255, 0.3);
}
.tl-badge--freelance {
  background: rgba(0, 200, 255, 0.08);
  color: var(--accent-2);
  border: 1px solid rgba(0, 200, 255, 0.25);
}
.tl-badge--part {
  background: rgba(74, 94, 120, 0.15);
  color: var(--text-2);
  border: 1px solid rgba(74, 94, 120, 0.35);
}
.tl-badge--intern {
  background: rgba(74, 94, 120, 0.1);
  color: var(--text-3);
  border: 1px solid rgba(74, 94, 120, 0.25);
}

/* ================================================
   ABOUT PULL-QUOTE
   ================================================ */
.about-pullquote {
  border-left: 2px solid var(--accent);
  padding: 12px 18px;
  margin: 20px 0;
  font-style: italic;
  color: var(--text-2);
  font-size: 14.5px;
  background: rgba(58, 78, 255, 0.04);
  border-radius: 0 6px 6px 0;
  line-height: 1.65;
}

/* ================================================
   CTA QUOTE
   ================================================ */
.cta-quote {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent-2);
  opacity: 0.9;
  font-style: italic;
  margin: 0 auto 28px;
  line-height: 1.8;
  max-width: 680px;
  padding: 0 16px;
  display: block;
}

/* ================================================
   EDUCATION & CERTIFICATIONS
   ================================================ */
.edu-certs {
  padding: 100px 0;
  background: var(--bg);
}
.ec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}
.ec-col-head {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.edu-item {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 14px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.3s;
}
.edu-item:hover {
  border-color: rgba(58, 78, 255, 0.35);
}
.edu-item--sm {
  padding: 14px 20px;
}
.edu-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  background: rgba(58, 78, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(58, 78, 255, 0.3);
  border-radius: 4px;
  padding: 6px 10px;
  letter-spacing: 1px;
  min-width: 46px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.edu-badge--sm {
  background: rgba(74, 94, 120, 0.12);
  color: var(--text-2);
  border-color: rgba(74, 94, 120, 0.25);
}
.edu-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.edu-body h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  margin: 0;
}
.edu-inst {
  font-size: 12px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.edu-period {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.5px;
}
.edu-note {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.6;
  margin-top: 6px;
  margin-bottom: 0;
}

/* Certifications */
.cert-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cert-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  transition: border-color 0.3s;
}
.cert-item:hover {
  border-color: rgba(58, 78, 255, 0.3);
}
.cert-icon {
  width: 32px;
  height: 32px;
  background: rgba(58, 78, 255, 0.1);
  border: 1px solid rgba(58, 78, 255, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 13px;
  flex-shrink: 0;
}
.cert-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cert-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
}
.cert-issuer {
  font-size: 11px;
  color: var(--text-3);
  font-family: var(--font-mono);
}

/* ================================================
   WHY ME
   ================================================ */
.why-me {
  padding: 100px 0;
  background: rgba(6, 6, 16, 0.98);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px 22px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s;
}
.why-card:hover {
  border-color: rgba(58, 78, 255, 0.35);
  transform: translateY(-4px);
}
.why-card:hover::before {
  opacity: 1;
}
.why-icon {
  width: 42px;
  height: 42px;
  background: rgba(58, 78, 255, 0.1);
  border: 1px solid rgba(58, 78, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 17px;
  margin-bottom: 14px;
}
.why-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0 0 9px;
}
.why-card p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.65;
  margin: 0;
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-sec {
  padding-top: 60px;
  padding-bottom: 100px;
}
.contact-sec .sec-head {
  text-align: center;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  margin-top: 16px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1);
  margin: 16px 0 20px;
}
.ci-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ci-icon {
  width: 36px;
  height: 36px;
  background: rgba(58, 78, 255, 0.1);
  border: 1px solid rgba(58, 78, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.ci-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ci-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ci-val {
  font-size: 14px;
  color: var(--text-1);
  text-decoration: none;
  transition: color 0.2s;
}
a.ci-val:hover {
  color: var(--accent);
}
.ci-social {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

/* Contact Form */
.contact-form-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cf-field label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-2);
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
  box-sizing: border-box;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--accent);
}
.cf-field select {
  appearance: none;
  cursor: pointer;
  color: var(--text-2);
}
.cf-field select option {
  background: var(--bg);
  color: var(--text-1);
}
.cf-field textarea {
  resize: vertical;
  min-height: 110px;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: var(--text-3);
  opacity: 0.7;
}
.cf-submit {
  width: 100%;
  justify-content: center;
}
.cf-btn-text,
.cf-btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cf-success {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4ade80;
  font-size: 12.5px;
  padding: 10px 14px;
  background: rgba(74, 222, 128, 0.06);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 6px;
  font-family: var(--font-mono);
}

/* Responsive — new sections */
@media (max-width: 900px) {
  .ec-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .cf-row {
    grid-template-columns: 1fr;
  }
}

/* ---- BACK TO TOP ---- */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(58, 78, 255, 0.12);
  border: 1px solid rgba(58, 78, 255, 0.35);
  color: var(--accent);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s, box-shadow 0.2s;
  z-index: 900;
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-top:hover {
  background: rgba(58, 78, 255, 0.25);
  box-shadow: 0 0 14px rgba(58, 78, 255, 0.4);
}

/* ---- ACTIVE NAV ITEM ---- */
.nav-item.active {
  color: var(--accent);
}

/* ---- LOADER ---- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: min(340px, 90vw);
}
.loader-logo {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
}
.loader-logo .logo-prefix { color: var(--text-3); }
.loader-logo .logo-slash  { color: var(--accent-2); margin: 0 1px; }
.loader-logo .logo-name   { color: var(--text); }
.loader-blink {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}
.loader-lines {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  width: 100%;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.loader-line {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  gap: 8px;
}
.loader-line.show {
  opacity: 1;
  transform: none;
}
.loader-line .ll-ok   { color: #00c896; }
.loader-line .ll-warn { color: var(--accent-2); }
.loader-bar-wrap {
  width: 100%;
  height: 2px;
  background: var(--surface-2);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.4s var(--ease);
  box-shadow: 0 0 10px rgba(58, 78, 255, 0.6);
}
.loader-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---- ACCESSIBILITY ---- */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  border-radius: 0 0 var(--r2) var(--r2);
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}
