:root{--bg:#050914;--panel:#0b1220;--panel2:#0f172a;--text:#f8fafc;--muted:#94a3b8;--line:#1e293b;--blue:#38bdf8;--red:#ef4444;--green:#34d399}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 85% 8%,#0b2a46 0,transparent 30%),radial-gradient(circle at 5% 55%,#10251f 0,transparent 26%),var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}p{color:var(--muted);line-height:1.75}.wrap{width:min(1120px,92%);margin:auto}.nav{height:76px;border-bottom:1px solid #ffffff0d;background:#050914cc;backdrop-filter:blur(12px);position:sticky;top:0;z-index:10}.navin{height:100%;display:flex;align-items:center;justify-content:space-between}.logo{font-weight:850;font-size:20px}.logo span,footer span{color:var(--red)}nav{display:flex;align-items:center;gap:18px;font-size:14px;color:#cbd5e1}nav a:hover,nav .active{color:white}nav .login{padding:10px 13px;border:1px solid #164e63;border-radius:10px;color:#bae6fd}.menu{display:none;background:none;border:0;color:white;font-size:25px}.hero{padding:90px 0}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center}.badge{display:inline-block;border:1px solid #164e63;background:#082f49;color:#bae6fd;padding:8px 13px;border-radius:999px;font-size:12px;letter-spacing:.5px}.hero h1{font-size:clamp(44px,6vw,72px);line-height:1.02;margin:20px 0}.hero h1 span{color:var(--blue)}.hero p{font-size:18px;max-width:670px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}.btn{display:inline-block;border:0;border-radius:12px;padding:14px 20px;font-weight:750;cursor:pointer;background:linear-gradient(135deg,#0ea5e9,#2563eb);color:white}.btn.ghost{background:#111827;border:1px solid var(--line)}.btn.small{padding:11px 14px;font-size:14px}.trust{display:flex;gap:20px;flex-wrap:wrap;color:#cbd5e1;font-size:13px}.terminal{background:#08101dcc;border:1px solid #1e3a52;border-radius:24px;padding:24px;box-shadow:0 20px 70px #0008}.dots{color:#475569;letter-spacing:6px;margin-bottom:18px}.terminal pre{margin:0;line-height:1.8;color:#cbd5e1}.terminal b{color:#38bdf8}.terminal strong{color:var(--green)}section{padding:82px 0}.head{margin-bottom:34px}.head span,.eyebrow{color:var(--blue);font-size:12px;font-weight:800;letter-spacing:1.5px}.head h2,.split h2{font-size:38px;margin:10px 0}.cards{display:grid;gap:16px}.cards.four{grid-template-columns:repeat(4,1fr)}.cards.three{grid-template-columns:repeat(3,1fr)}.cards article,.feature-grid>div,.contact-card,.quote,.stat{background:#0b1220cc;border:1px solid var(--line);border-radius:20px;padding:25px}.cards article h2,.cards article h3{margin:15px 0 8px}.cards article a{color:#7dd3fc;font-weight:700}.ico{font-size:28px}.pill{display:inline-block;color:#bae6fd;background:#082f49;border:1px solid #164e63;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:800}.band{background:#ffffff05;border-top:1px solid #ffffff0a;border-bottom:1px solid #ffffff0a}.split{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.timeline{display:grid;gap:10px}.timeline div{display:flex;align-items:center;gap:16px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#08101d}.timeline b,.roadmap-list article>b{color:var(--blue);font-size:20px}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.feature-grid b{font-size:17px}.cta-wrap{padding-top:30px}.cta{text-align:center;border:1px solid #164e63;border-radius:28px;padding:55px;background:linear-gradient(135deg,#082f49,#111827)}.cta h2{font-size:42px;margin:10px 0}.pagehero{padding:75px 0 55px;border-bottom:1px solid #ffffff0b}.pagehero h1{font-size:clamp(42px,6vw,64px);margin:18px 0 10px}.pagehero p{font-size:18px;max-width:700px}.roadmap-list{display:grid;gap:16px}.roadmap-list article{display:grid;grid-template-columns:65px 1fr;gap:18px;background:#0b1220cc;border:1px solid var(--line);border-radius:20px;padding:25px}.roadmap-list h2{margin:0 0 8px}.roadmap-list ul{color:#cbd5e1;line-height:1.9}.video .thumb{height:150px;border-radius:14px;background:linear-gradient(135deg,#082f49,#111827);display:grid;place-items:center;font-size:42px;color:#7dd3fc}.quote{font-size:22px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}form{background:#0b1220cc;border:1px solid var(--line);padding:28px;border-radius:20px}label{display:block;color:#cbd5e1;font-size:14px;font-weight:650;margin-bottom:16px}input,textarea{display:block;width:100%;margin-top:7px;padding:13px 14px;background:#050914;border:1px solid var(--line);border-radius:10px;color:white;outline:none}textarea{min-height:140px;resize:vertical}.success{color:var(--green);font-size:14px}.auth{min-height:75vh;display:grid;place-items:center;padding:60px 0}.authbox{width:min(460px,92%);background:#0b1220eF;border:1px solid var(--line);border-radius:24px;padding:32px}.authbox h1{font-size:38px;margin:18px 0 8px}.authbox hr{border:0;border-top:1px solid var(--line);margin:25px 0}.back{color:#94a3b8}.lead{font-size:18px}.dash-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:30px 0}.stat b{font-size:34px;display:block;color:var(--blue)}.stat span{color:var(--muted);font-size:13px}footer{border-top:1px solid var(--line);margin-top:50px}.foot{padding:32px 0;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:var(--muted)}footer strong{color:white}.social{color:#94a3b8}@media(max-width:900px){nav{display:none}.menu{display:block}.nav.open nav{display:flex;position:absolute;top:76px;left:0;right:0;background:#07101e;padding:18px;flex-direction:column;border-bottom:1px solid var(--line)}.hero-grid,.split,.contact-grid{grid-template-columns:1fr}.cards.four,.dash-grid{grid-template-columns:repeat(2,1fr)}.cards.three{grid-template-columns:1fr 1fr}.hero{padding:60px 0}}@media(max-width:580px){.cards.four,.cards.three,.feature-grid,.dash-grid{grid-template-columns:1fr}.hero h1{font-size:46px}.cta{padding:35px 20px}.cta h2{font-size:32px}.roadmap-list article{grid-template-columns:45px 1fr}}
/* =========================================
   CYBERX ACADEMY — VERSION 3 UI UPGRADE
   ========================================= */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* ---------- GLOBAL TYPOGRAPHY ---------- */

h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

p {
  line-height: 1.7;
}

/* ---------- HERO ---------- */

.hero {
  padding: 90px 0 110px;
  position: relative;
}

.hero-grid {
  align-items: center;
  gap: 70px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  margin: 22px 0;
  max-width: 800px;
}

.hero h1 span {
  color: #08b9ff;
}

.hero p {
  max-width: 650px;
  font-size: 17px;
}

.badge {
  display: inline-block;
  letter-spacing: 0.08em;
}

/* ---------- BUTTONS ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* ---------- TRUST ---------- */

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
}

/* ---------- TERMINAL ---------- */

.terminal {
  min-height: 310px;
  padding: 30px;
  border-radius: 22px;
  position: relative;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25),
    inset 0 0 30px rgba(0, 180, 255, 0.03);
}

.terminal div {
  margin-top: 10px;
}

.terminal p {
  margin: 8px 0;
}

.terminal strong {
  display: block;
  margin-top: 5px;
}

/* ---------- SECTION HEADINGS ---------- */

.head {
  max-width: 850px;
  margin-bottom: 45px;
}

.head h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 10px 0;
}

.head p {
  max-width: 750px;
}

/* ---------- COURSE CARDS ---------- */

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

.cards article {
  min-height: 250px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.cards article:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 190, 255, 0.35);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.cards .icon {
  font-size: 28px;
  margin-bottom: 18px;
}

.cards article h3 {
  font-size: 20px;
}

.cards article a {
  display: inline-block;
  margin-top: 15px;
  font-weight: 600;
}

/* ---------- ROADMAP ---------- */

.band {
  position: relative;
  overflow: hidden;
}

.split {
  align-items: center;
  gap: 60px;
}

.split h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline > div {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  padding: 16px 20px;
  border-radius: 14px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.timeline > div:hover {
  transform: translateX(5px);
}

.timeline span {
  font-weight: 700;
  color: #08b9ff;
}

/* ---------- CTA ---------- */

.cta-wrap {
  padding: 80px 0 100px;
}

.cta {
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.cta h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  margin: 15px 0;
}

.cta p {
  max-width: 650px;
  margin: 0 auto;
}

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

/* ---------- MOBILE ---------- */

@media (max-width: 900px) {

  .hero {
    padding: 65px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .terminal {
    min-height: auto;
  }

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

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

}

@media (max-width: 600px) {

  .hero {
    padding: 45px 0 65px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero p {
    font-size: 15px;
  }

  .actions {
    width: 100%;
  }

  .actions .btn {
    flex: 1;
    text-align: center;
  }

  .trust {
    gap: 10px 15px;
    font-size: 12px;
  }

  .terminal {
    padding: 22px;
    border-radius: 18px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cards article {
    min-height: auto;
    padding: 24px;
  }

  .head {
    margin-bottom: 30px;
  }

  .head h2 {
    font-size: 31px;
  }

  .split h2 {
    font-size: 34px;
  }

  .timeline > div {
    min-height: 55px;
    padding: 14px 16px;
    font-size: 14px;
  }

  .cta-wrap {
    padding: 60px 0 75px;
  }

  .cta h2 {
    font-size: 35px;
  }

}

/* ---------- ACCESSIBILITY ---------- */

a:focus-visible,
button:focus-visible {
  outline: 2px solid #08b9ff;
  outline-offset: 4px;
}

/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

}
/* =========================================
   CYBERX PHOTO SCANNER + TERMINAL OVERLAY
   ========================================= */

.terminal.cyber-profile {
  position: relative;
  width: 100%;
  max-width: 470px;
  min-height: 0;
  padding: 14px;
  box-sizing: border-box;
  overflow: hidden;

  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 24px;

  background: linear-gradient(
    145deg,
    rgba(3, 18, 18, 0.96),
    rgba(5, 12, 25, 0.98)
  );

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(34, 197, 94, 0.08);
}

.cyber-profile-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;

  color: #86efac;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.scanner-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #22c55e;

  box-shadow:
    0 0 8px #22c55e,
    0 0 18px rgba(34, 197, 94, 0.7);

  animation: scannerPulse 1.3s infinite;
}

.live-tag {
  margin-left: auto;
  padding: 4px 7px;

  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 6px;

  color: #86efac;
  background: rgba(34, 197, 94, 0.06);

  font-size: 8px;
}

/* PHOTO */

.cyber-profile-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;

  border-radius: 18px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: #020617;
}

.cyber-profile-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  filter:
    brightness(0.94)
    contrast(1.04)
    saturate(0.96);
}

/* GRID */

.cyber-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background:
    linear-gradient(
      rgba(34, 197, 94, 0.035) 1px,
      transparent 1px
    );

  background-size: 100% 7px;
}

/* TERMINAL OVER PHOTO */

.image-terminal {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 4;

  width: 220px;
  max-width: calc(100% - 32px);

  padding: 12px;

  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;

  background: rgba(2, 6, 23, 0.68);

  backdrop-filter: blur(7px);

  color: #e2e8f0;

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;

  font-size: 10px;
  line-height: 1.45;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25);
}

.terminal-line {
  color: #f8fafc;
  font-weight: 700;
  margin-bottom: 3px;
}

.terminal-line span {
  color: #22c55e;
}

.terminal-value {
  color: #93c5fd;
  margin-bottom: 5px;
}

.terminal-value b {
  color: #22c55e;
  margin-left: 5px;

  text-shadow:
    0 0 8px rgba(34, 197, 94, 0.8);
}

.terminal-status {
  margin-top: 8px;
}

.terminal-ready {
  color: #22c55e;
  font-weight: 800;

  text-shadow:
    0 0 8px rgba(34, 197, 94, 0.65);

  animation: terminalBlink 1.4s ease-in-out infinite;
}

/* SCANNER */

.scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;

  height: 3px;
  z-index: 5;

  background: #22c55e;

  box-shadow:
    0 0 8px #22c55e,
    0 0 20px #22c55e,
    0 0 45px rgba(34, 197, 94, 0.65);

  animation: scanDown 3s linear infinite;
}

.scan-beam::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 55px;

  background: linear-gradient(
    to bottom,
    rgba(34, 197, 94, 0.18),
    transparent
  );
}

.scan-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 6;

  padding: 7px 10px;

  border-radius: 7px;
  border: 1px solid rgba(34, 197, 94, 0.28);

  background: rgba(2, 6, 23, 0.78);

  color: #bbf7d0;

  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* HUD CORNERS */

.corner {
  position: absolute;
  z-index: 6;
  width: 24px;
  height: 24px;
}

.top-left {
  top: 10px;
  left: 10px;
  border-top: 2px solid #22c55e;
  border-left: 2px solid #22c55e;
}

.top-right {
  top: 10px;
  right: 10px;
  border-top: 2px solid #22c55e;
  border-right: 2px solid #22c55e;
}

.bottom-left {
  bottom: 10px;
  left: 10px;
  border-bottom: 2px solid #22c55e;
  border-left: 2px solid #22c55e;
}

.bottom-right {
  bottom: 10px;
  right: 10px;
  border-bottom: 2px solid #22c55e;
  border-right: 2px solid #22c55e;
}

/* INFO */

.cyber-profile-info {
  padding: 12px 3px 8px;
}

.cyber-profile-info > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cyber-profile-info strong {
  color: #f8fafc;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.cyber-profile-info span {
  color: #64748b;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

/* STATS */

.cyber-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 10px;
}

.cyber-stats > div {
  padding: 8px;
  text-align: center;

  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.1);

  background: rgba(15, 23, 42, 0.72);
}

.cyber-stats strong {
  display: block;
  color: #38bdf8;
  font-size: 14px;
}

.cyber-stats small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* TAGS */

.cyber-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.cyber-tags span {
  padding: 4px 7px;

  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.12);

  background: rgba(56, 189, 248, 0.035);

  color: #7dd3fc;

  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* ANIMATION */

@keyframes scanDown {
  0% {
    top: 0;
  }

  50% {
    top: calc(100% - 3px);
  }

  100% {
    top: 0;
  }
}

@keyframes scannerPulse {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

@keyframes terminalBlink {
  0%,
  100% {
    opacity: 0.65;
  }

  50% {
    opacity: 1;
  }
}

/* MOBILE */

@media (max-width: 600px) {

  .terminal.cyber-profile {
    max-width: 100%;
    padding: 10px !important;
  }

  .image-terminal {
    top: 12px;
    left: 12px;
    width: 190px;
    max-width: calc(100% - 24px);
    padding: 10px;
    font-size: 9px;
  }

  .cyber-profile-info > div:first-child {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* =====================================
   PHOTO TERMINAL OVERLAY FIX
   ===================================== */

.cyber-profile-image {
  position: relative !important;
  overflow: hidden !important;
}

.cyber-profile-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Terminal text must stay ON the photo */
.cyber-profile-image .image-terminal {
  position: absolute !important;
  top: 16px !important;
  left: 16px !important;

  width: 220px !important;
  max-width: calc(100% - 32px) !important;

  margin: 0 !important;

  padding: 12px !important;

  z-index: 20 !important;

  box-sizing: border-box !important;

  border: 1px solid rgba(56,189,248,.25) !important;
  border-radius: 10px !important;

  background: rgba(2,6,23,.72) !important;

  color: #e2e8f0 !important;

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace !important;

  font-size: 10px !important;
  line-height: 1.45 !important;

  backdrop-filter: blur(6px);
}

/* Green scanning line */
.cyber-profile-image .scan-beam {
  position: absolute !important;

  left: 0 !important;
  right: 0 !important;

  top: 0 !important;

  height: 3px !important;

  z-index: 30 !important;

  background: #22c55e !important;

  box-shadow:
    0 0 8px #22c55e,
    0 0 22px #22c55e,
    0 0 45px rgba(34,197,94,.7) !important;

  animation: cyberScanFixed 3s linear infinite !important;
}

.cyber-profile-image .scan-beam::after {
  content: "" !important;

  position: absolute !important;

  left: 0 !important;
  right: 0 !important;
  top: 0 !important;

  height: 55px !important;

  background: linear-gradient(
    to bottom,
    rgba(34,197,94,.2),
    transparent
  ) !important;
}

@keyframes cyberScanFixed {

  0% {
    top: 0;
  }

  50% {
    top: calc(100% - 3px);
  }

  100% {
    top: 0;
  }

}

/* Terminal text */
.cyber-profile-image .terminal-line {
  color: #f8fafc !important;
  font-weight: 700 !important;
  margin-bottom: 4px !important;
}

.cyber-profile-image .terminal-line span {
  color: #22c55e !important;
}

.cyber-profile-image .terminal-value {
  color: #93c5fd !important;
  margin-bottom: 5px !important;
}

.cyber-profile-image .terminal-value b {
  color: #22c55e !important;
  margin-left: 5px !important;
}

.cyber-profile-image .terminal-ready {
  color: #22c55e !important;
  font-weight: 800 !important;
}

@media (max-width:600px) {

  .cyber-profile-image .image-terminal {
    top: 12px !important;
    left: 12px !important;
    width: 190px !important;
    max-width: calc(100% - 24px) !important;
    padding: 10px !important;
    font-size: 9px !important;
  }

}
/* =========================================
   TRANSPARENT TYPEWRITER CODE
   ========================================= */

.cyber-profile-image .image-terminal {
  position: absolute !important;

  top: 14px !important;
  left: 14px !important;

  z-index: 20 !important;

  width: auto !important;
  max-width: 90% !important;

  padding: 0 !important;
  margin: 0 !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

  backdrop-filter: none !important;

  pointer-events: none !important;
}

.cyber-profile-image .typing-line {
  font-family:
    "Courier New",
    Consolas,
    Monaco,
    monospace !important;

  font-size: 12px !important;

  font-weight: 800 !important;

  line-height: 1.5 !important;

  letter-spacing: .03em !important;

  text-shadow:
    0 0 6px currentColor,
    0 0 12px currentColor !important;
}

.cyber-profile-image .typing-line > div {
  margin-bottom: 3px;
}

.cyber-profile-image .cursor {
  color: #22c55e !important;
  animation: cursorBlink .7s steps(1) infinite;
}

@keyframes cursorBlink {

  0%, 49% {
    opacity: 1;
  }

  50%, 100% {
    opacity: 0;
  }

}

@media (max-width: 600px) {

  .cyber-profile-image .image-terminal {
    top: 10px !important;
    left: 10px !important;
  }

  .cyber-profile-image .typing-line {
    font-size: 9px !important;
  }

}
/* ==========================================
   CYBERX SEQUENTIAL CODE STREAM
   ========================================== */

.cyber-profile-image .image-terminal {
  position: absolute !important;

  top: 14px !important;
  left: 14px !important;

  z-index: 20 !important;

  width: auto !important;
  max-width: 90% !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;

  pointer-events: none !important;
}

.code-stream {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 4px;

  font-family:
    "Courier New",
    Consolas,
    Monaco,
    monospace;

  font-size: 12px;

  font-weight: 800;

  line-height: 1.45;

  letter-spacing: .03em;

  text-shadow:
    0 0 6px currentColor,
    0 0 14px currentColor;
}

.code-line {
  white-space: nowrap;

  min-height: 16px;

  animation:
    codeAppear .15s ease-out;
}

@keyframes codeAppear {

  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}


/* ==========================================
   CONTINUOUS TOP → BOTTOM SCANNER
   ========================================== */

.cyber-profile-image .scan-beam {

  position: absolute !important;

  left: 0 !important;
  right: 0 !important;

  top: 0 !important;

  height: 3px !important;

  z-index: 50 !important;

  display: block !important;

  background: #22c55e !important;

  box-shadow:
    0 0 6px #22c55e,
    0 0 16px #22c55e,
    0 0 30px #22c55e,
    0 0 60px rgba(34,197,94,.8) !important;

  animation:
    cyberFullScan 2.8s linear infinite !important;

  pointer-events: none !important;
}

.cyber-profile-image .scan-beam::after {

  content: "";

  position: absolute;

  left: 0;
  right: 0;

  top: 0;

  height: 70px;

  background:
    linear-gradient(
      to bottom,
      rgba(34,197,94,.28),
      rgba(34,197,94,.10),
      transparent
    );

  pointer-events: none;
}

@keyframes cyberFullScan {

  0% {
    top: 0;
  }

  100% {
    top: calc(100% - 3px);
  }

}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 600px) {

  .cyber-profile-image .image-terminal {

    top: 10px !important;
    left: 10px !important;

  }

  .code-stream {

    font-size: 9px;

    gap: 2px;

  }
   /* ==========================================
   CYBERX SEQUENTIAL CODE STREAM
   ========================================== */

.cyber-profile-image .image-terminal {
  position: absolute !important;

  top: 14px !important;
  left: 14px !important;

  z-index: 20 !important;

  width: auto !important;
  max-width: 90% !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;

  pointer-events: none !important;
}

.code-stream {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 4px;

  font-family:
    "Courier New",
    Consolas,
    Monaco,
    monospace;

  font-size: 12px;

  font-weight: 800;

  line-height: 1.45;

  letter-spacing: .03em;

  text-shadow:
    0 0 6px currentColor,
    0 0 14px currentColor;
}

.code-line {
  white-space: nowrap;

  min-height: 16px;

  animation:
    codeAppear .15s ease-out;
}

@keyframes codeAppear {

  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}


/* ==========================================
   CONTINUOUS TOP → BOTTOM SCANNER
   ========================================== */

.cyber-profile-image .scan-beam {

  position: absolute !important;

  left: 0 !important;
  right: 0 !important;

  top: 0 !important;

  height: 3px !important;

  z-index: 50 !important;

  display: block !important;

  background: #22c55e !important;

  box-shadow:
    0 0 6px #22c55e,
    0 0 16px #22c55e,
    0 0 30px #22c55e,
    0 0 60px rgba(34,197,94,.8) !important;

  animation:
    cyberFullScan 2.8s linear infinite !important;

  pointer-events: none !important;
}

.cyber-profile-image .scan-beam::after {

  content: "";

  position: absolute;

  left: 0;
  right: 0;

  top: 0;

  height: 70px;

  background:
    linear-gradient(
      to bottom,
      rgba(34,197,94,.28),
      rgba(34,197,94,.10),
      transparent
    );

  pointer-events: none;
}

@keyframes cyberFullScan {

  0% {
    top: 0;
  }

  100% {
    top: calc(100% - 3px);
  }

}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 600px) {

  .cyber-profile-image .image-terminal {

    top: 10px !important;
    left: 10px !important;

  }

  .code-stream {

    font-size: 9px;

    gap: 2px;

  }

}
/* =========================================
   CYBERX FIXED CONTINUOUS SCANNER
   ========================================= */

.cyber-profile-image .scan-beam {
  position: absolute !important;

  left: 0 !important;
  right: 0 !important;
  top: 0 !important;

  height: 3px !important;

  z-index: 50 !important;

  display: block !important;

  background: #22c55e !important;

  box-shadow:
    0 0 7px #22c55e,
    0 0 18px #22c55e,
    0 0 35px #22c55e,
    0 0 60px rgba(34,197,94,.75) !important;

  transform: translateY(0);

  animation:
    cyberXScannerMove 2.8s linear infinite !important;

  pointer-events: none !important;
}

.cyber-profile-image .scan-beam::after {
  content: "" !important;

  position: absolute !important;

  left: 0 !important;
  right: 0 !important;
  top: 0 !important;

  height: 70px !important;

  background: linear-gradient(
    to bottom,
    rgba(34,197,94,.30),
    rgba(34,197,94,.10),
    transparent
  ) !important;

  pointer-events: none !important;
}

@keyframes cyberXScannerMove {

  0% {
    transform: translateY(0);
  }

  50% {
    transform:
      translateY(
        calc(100% - 3px)
      );
  }

  100% {
    transform: translateY(0);
  }

}
/* =========================================
   CYBERX SCANNER - FINAL VERSION
   ========================================= */

.cyber-profile-image {
  position: relative !important;
  overflow: hidden !important;
}

/* Remove the old scanner completely */
.cyber-profile-image .scan-beam {
  display: none !important;
}

/* Moving green scanner line */
.cyber-profile-image::after {
  content: "";
  position: absolute;

  left: 0;
  right: 0;
  top: 0;

  height: 4px;

  z-index: 100;

  background: #22c55e;

  box-shadow:
    0 0 8px #22c55e,
    0 0 20px #22c55e,
    0 0 40px #22c55e,
    0 0 70px rgba(34, 197, 94, 0.8);

  animation: cyberScanFinal 2.5s linear infinite;

  pointer-events: none;
}

/* glowing trail under the scanner */
.cyber-profile-image::before {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  top: 0;

  height: 80px;

  z-index: 99;

  background: linear-gradient(
    to bottom,
    rgba(34,197,94,0.22),
    rgba(34,197,94,0.08),
    transparent
  );

  animation: cyberScanTrail 2.5s linear infinite;

  pointer-events: none;
}

@keyframes cyberScanFinal {

  0% {
    top: 0;
  }

  50% {
    top: calc(100% - 4px);
  }

  100% {
    top: 0;
  }

}

@keyframes cyberScanTrail {

  0% {
    top: 0;
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  50% {
    top: calc(100% - 80px);
    opacity: 1;
  }

  92% {
    opacity: 1;
  }

  100% {
    top: 0;
    opacity: 0;
  }

}
/* =========================================
   CYBERX REAL-TIME PHOTO SCANNER
   ========================================= */

.cyber-profile-image {
  position: relative !important;
  overflow: hidden !important;
}

.scan-line-moving {
  position: absolute !important;

  left: 0 !important;
  right: 0 !important;

  top: 0 !important;

  height: 4px !important;

  z-index: 1000 !important;

  background: #22c55e !important;

  box-shadow:
    0 0 8px #22c55e,
    0 0 20px #22c55e,
    0 0 40px #22c55e,
    0 0 70px rgba(34,197,94,.9) !important;

  pointer-events: none !important;

  will-change: transform !important;
}

.scan-line-moving::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;

  top: 0;

  height: 70px;

  background: linear-gradient(
    to bottom,
    rgba(34,197,94,.30),
    rgba(34,197,94,.10),
    transparent
  );
}
/* FINAL SCANNER OVERRIDE */

.cyber-profile-image {
  position: relative !important;
  overflow: hidden !important;
}

#scanLine.scan-line-moving {
  position: absolute !important;
  display: block !important;

  left: 0 !important;
  right: 0 !important;
  top: 0 !important;

  width: 100% !important;
  height: 4px !important;

  z-index: 9999 !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: translate3d(0, 0, 0);

  background: #22c55e !important;

  box-shadow:
    0 0 8px #22c55e,
    0 0 20px #22c55e,
    0 0 40px #22c55e !important;

  animation: none !important;

  pointer-events: none !important;
}

#scanLine.scan-line-moving::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  top: 0;

  height: 70px;

  background: linear-gradient(
    to bottom,
    rgba(34,197,94,.28),
    rgba(34,197,94,.10),
    transparent
  );

  pointer-events: none;
}
