/* ==========================================================================
   PROF COMPUTER CONSULTING — REDESIGN V2 — ULTRA-FUTURISTIC THEME
   ========================================================================== */


:root {
  --bg:            #020510;
  --bg-2:          #060c1d;
  --bg-3:          #0a1128;
  --surface:       rgba(6, 14, 36, 0.55);
  --surface-hover: rgba(10, 22, 55, 0.75);
  --surface-solid: #080f22;

  --ink:           #eef2ff;
  --ink-dim:       #8899bb;
  --ink-faint:     #3d4f72;

  --neon:          #00e5ff;
  --neon-deep:     #0284c7;
  --neon-glow:     rgba(0, 229, 255, 0.35);
  --neon-line:     rgba(0, 229, 255, 0.14);
  --neon-line-act: rgba(0, 229, 255, 0.42);

  --violet:        #b57bff;
  --violet-deep:   #7c3aed;
  --violet-glow:   rgba(124, 58, 237, 0.35);
  --violet-line:   rgba(124, 58, 237, 0.18);

  --magenta:       #ff2d9b;
  --magenta-glow:  rgba(255, 45, 155, 0.25);

  --signal:        #39ffb0;
  --signal-glow:   rgba(57, 255, 176, 0.3);
  --amber:         #ffca28;
  --error:         #ff4d6d;

  --maxw: 1200px;
  --r:    18px;
  --r-sm: 10px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }

/* ── Base body ── */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Particle canvas (behind everything) ── */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

/* ── Ambient gradients ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 1400px 800px at 90% -15%, rgba(124,58,237,.18) 0%, transparent 65%),
    radial-gradient(ellipse 1000px 600px at -5% 20%,  rgba(0,229,255,.13) 0%, transparent 60%),
    radial-gradient(ellipse 800px 500px at 55% 90%,   rgba(255,45,155,.08) 0%, transparent 55%),
    var(--bg);
  pointer-events: none;
}

/* ── Dot-grid overlay ── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(rgba(0,229,255,.18) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, black, transparent);
  mask-image:         radial-gradient(ellipse 85% 70% at 50% 0%, black, transparent);
  pointer-events: none;
}

/* ── Scan-line sweep ── */
.scan-line {
  position: fixed;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: .18;
  z-index: 9999;
  pointer-events: none;
  animation: scan 8s linear infinite;
}
@keyframes scan {
  0%   { top: -2px; }
  100% { top: 100vh; }
}

/* ── Custom cursor ── */
#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 32px; height: 32px;
  border: 1.5px solid var(--neon);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: width .25s var(--ease), height .25s var(--ease),
              border-color .25s, opacity .25s;
  transform: translate3d(0, 0, 0) translate(-50%, -50%);
  mix-blend-mode: screen;
}
#cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--neon);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate3d(0, 0, 0) translate(-50%, -50%);
  box-shadow: 0 0 8px var(--neon);
}
#cursor-ring.hover-active {
  width: 48px; height: 48px;
  border-color: var(--violet);
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: #fff;
}
h1 { font-size: clamp(2.8rem, 6.5vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.65rem); }
p  { color: var(--ink-dim); }
.mono { font-family: "IBM Plex Mono", monospace; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; position: relative; }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head h2 { margin: 16px 0; }
.section-head p  { font-size: 1.1rem; }

/* ── Eyebrow ── */
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--neon);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--neon), transparent);
}

/* ── Accent text ── */
.accent {
  background: linear-gradient(125deg, var(--neon) 0%, var(--violet) 55%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent-neon   { color: var(--neon);   text-shadow: 0 0 20px var(--neon-glow); }
.accent-violet { color: var(--violet); text-shadow: 0 0 20px var(--violet-glow); }

/* ── Scrollbar ── */
::-webkit-scrollbar       { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(0,229,255,.15);
  border: 2px solid var(--bg);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0,229,255,.4); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
  letter-spacing: .01em;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.06);
  opacity: 0;
  transition: opacity .3s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--neon) 0%, #0066cc 100%);
  color: #010a1a;
  box-shadow: 0 6px 28px -6px var(--neon-glow), 0 0 0 1px rgba(0,229,255,.25);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px -8px var(--neon-glow), 0 0 30px rgba(0,229,255,.2);
}

.btn-ghost {
  border-color: var(--neon-line);
  color: var(--ink);
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--neon);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 20px -5px var(--neon-glow);
}

.btn-violet {
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 28px -6px var(--violet-glow);
}
.btn-violet:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px -8px var(--violet-glow);
}

/* ── Status dot ── */
.status-dot {
  width: 8px; height: 8px;
  background: var(--signal);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 12px var(--signal), 0 0 5px var(--signal);
  animation: pulse 2s ease-in-out infinite;
}
.status-dot.amber {
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
}
@keyframes pulse { 0%,100% { opacity:.4; } 50% { opacity:1; } }

/* ==========================================================================
   GLASSMORPHISM CARDS — with holographic hover effect
   ========================================================================== */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--neon-line);
  border-radius: var(--r);
  box-shadow: 0 16px 48px -12px rgba(0,0,0,.6),
              inset 0 1px 0 rgba(255,255,255,.04);
  transition: all .45s cubic-bezier(.16,1,.3,1);
  position: relative;
  overflow: hidden;
  --holo-x: 50%;
  --holo-y: 50%;
}
/* animated gradient border */
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(0,229,255,.2) 0%,
    transparent 45%,
    rgba(124,58,237,.15) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity .4s;
}
/* holographic shimmer on hover */
.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg at var(--holo-x) var(--holo-y),
    rgba(255,45,155,.08),
    rgba(0,229,255,.08),
    rgba(124,58,237,.08),
    rgba(255,45,155,.08)
  );
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.glass-card:hover {
  border-color: rgba(0,229,255,.35);
  background: var(--surface-hover);
  box-shadow: 0 28px 60px -16px rgba(0,0,0,.7),
              0 0 30px -8px var(--neon-glow);
  transform: translateY(-6px);
}
.glass-card:hover::before {
  background: linear-gradient(135deg, var(--neon), transparent 55%, var(--violet));
  opacity: .9;
}
.glass-card:hover::after { opacity: 1; }

/* ── Violet variant ── */
.glass-card-violet {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--violet-line);
  border-radius: var(--r);
  box-shadow: 0 16px 48px -12px rgba(0,0,0,.6),
              inset 0 1px 0 rgba(255,255,255,.04);
  transition: all .45s cubic-bezier(.16,1,.3,1);
  position: relative;
  overflow: hidden;
}
.glass-card-violet::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124,58,237,.2), transparent 50%, rgba(0,229,255,.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.glass-card-violet:hover {
  border-color: rgba(124,58,237,.45);
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -16px rgba(0,0,0,.7),
              0 0 30px -8px var(--violet-glow);
}

/* ==========================================================================
   HEADER — floating pill nav
   ========================================================================== */
header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: var(--maxw);
  z-index: 200;
  border-radius: 20px;
  background: rgba(4, 10, 28, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--neon-line);
  padding: 0 14px;
  height: 72px;
  transition: all .4s var(--ease);
  box-shadow: 0 8px 32px rgba(0,0,0,.4), 0 0 0 1px rgba(0,229,255,.06);
}
header.scrolled {
  top: 8px;
  background: rgba(2,5,16,.88);
  border-color: rgba(0,229,255,.22);
  box-shadow: 0 16px 48px -8px rgba(0,0,0,.7),
              0 0 25px rgba(0,229,255,.08);
  height: 64px;
}

/* scroll progress bar */
.scroll-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--neon), var(--violet), var(--magenta));
  border-radius: 0 0 2px 2px;
  transition: width .1s linear;
  z-index: 201;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* brand / logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  letter-spacing: -.01em;
}
.brand .logo {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--neon) 0%, var(--violet) 100%);
  color: #010a1a;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 0 18px var(--neon-glow), 0 0 6px var(--neon-glow);
  transition: all .35s var(--ease);
  position: relative;
}
.brand:hover .logo {
  transform: rotate(8deg) scale(1.08);
  box-shadow: 0 0 30px var(--violet-glow);
}
.brand b { color: var(--neon); }

/* glitch on brand text */
.brand-glitch {
  position: relative;
  display: inline-block;
}
.brand-glitch::before,
.brand-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  pointer-events: none;
}
.brand:hover .brand-glitch::before {
  color: var(--neon);
  clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%);
  transform: translateX(-2px);
  opacity: .6;
  animation: glitch1 .2s steps(2) 1;
}
.brand:hover .brand-glitch::after {
  color: var(--magenta);
  clip-path: polygon(0 55%, 100% 55%, 100% 75%, 0 75%);
  transform: translateX(2px);
  opacity: .5;
  animation: glitch2 .2s steps(2) 1;
}
@keyframes glitch1 { 0%,100%{transform:translateX(-2px)} 50%{transform:translateX(2px)} }
@keyframes glitch2 { 0%,100%{transform:translateX(2px)}  50%{transform:translateX(-2px)} }

/* nav links */
.navlinks {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navlinks a {
  font-size: 14px;
  color: var(--ink-dim);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all .3s var(--ease);
  position: relative;
}
.navlinks a:hover { color: #fff; background: rgba(0,229,255,.05); }
.navlinks a.active {
  color: #fff;
  background: rgba(0,229,255,.08);
  border-color: rgba(0,229,255,.22);
}
.navlinks a::after {
  content: "";
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--violet));
  border-radius: 1px;
  transition: all .3s var(--ease);
  transform: translateX(-50%);
}
.navlinks a:hover::after  { width: 30%; }
.navlinks a.active::after { width: 45%; }

/* nav CTA + burger */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 201;
}
.burger {
  display: none;
  background: none;
  border: 1px solid var(--neon-line);
  border-radius: 10px;
  width: 44px; height: 44px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.burger:hover  { border-color: var(--neon); background: rgba(0,229,255,.04); }
.burger.open   { border-color: var(--violet); background: rgba(124,58,237,.1); }
.burger span   { width: 20px; height: 2px; background: var(--ink); transition: all .3s var(--ease); }
.burger.open span           { background: var(--violet); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO — full viewport, dramatic
   ========================================================================== */
.hero {
  padding: 140px 0 60px;
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  animation: orb-float 10s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,229,255,.14), transparent 70%);
  top: -100px; right: -80px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,.16), transparent 70%);
  bottom: 0px; left: -80px;
  animation-delay: -4s;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,45,155,.1), transparent 70%);
  top: 40%; right: 20%;
  animation-delay: -7s;
}
@keyframes orb-float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.06); }
}

/* hex grid decoration */
.hero-hex {
  position: absolute;
  right: 6%;
  top: 20%;
  width: 340px;
  height: 340px;
  opacity: .055;
  background-image:
    repeating-linear-gradient(60deg,  var(--neon) 0, var(--neon) 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(120deg, var(--neon) 0, var(--neon) 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(180deg, var(--neon) 0, var(--neon) 1px, transparent 0, transparent 50%);
  background-size: 30px 52px;
  pointer-events: none;
  animation: hex-rotate 30s linear infinite;
}
@keyframes hex-rotate { to { transform: rotate(360deg); } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 { margin: 20px 0 24px; }
.hero p.lead {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero badge row */
.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 52px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--neon-line);
  border-radius: 100px;
  background: rgba(0,229,255,.03);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--ink-dim);
  transition: all .3s;
}
.hero-badge:hover { border-color: var(--neon); color: var(--neon); }
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--signal);
}

/* ── Terminal ── */
.terminal {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow:
    0 40px 100px -30px rgba(0,0,0,.9),
    0 0 60px -20px var(--neon-glow),
    inset 0 1px 0 rgba(255,255,255,.05);
  border: 1px solid var(--neon-line);
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(10,18,48,.9);
  border-bottom: 1px solid var(--neon-line);
}
.term-bar .dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ff5f56; } .dot.y { background: #ffbd2e; } .dot.g { background: #27c93f; }
.term-bar .title { margin-left: 10px; font-size: 12px; color: var(--ink-dim); }

.term-body {
  padding: 24px;
  font-size: 13.5px;
  line-height: 1.8;
  min-height: 340px;
  max-height: 380px;
  overflow-y: auto;
  background: rgba(2,5,16,.95);
  scrollbar-width: thin;
  scrollbar-color: var(--neon-line) transparent;
}
.term-line { white-space: pre-wrap; word-break: break-all; margin-bottom: 6px; }
.term-line .prompt { color: var(--signal); font-weight: 600; }
.term-line .cmd    { color: #fff; }
.term-line .out    { color: var(--ink-dim); }
.term-line .key    { color: var(--neon); }
.term-line .err    { color: var(--error); }
.term-input-line   { display: flex; align-items: center; gap: 6px; }
.term-input-line input {
  background: transparent; border: none; outline: none;
  color: #fff; font-family: inherit; font-size: inherit; flex: 1;
}
.cursor {
  display: inline-block; width: 8px; height: 16px;
  background: var(--neon); vertical-align: -2px; margin-left: 2px;
  animation: blink 1s steps(2) infinite;
  box-shadow: 0 0 8px var(--neon);
}
@keyframes blink { 0%,50%{opacity:1} 50.01%,100%{opacity:0} }

/* ==========================================================================
   SERVICES OVERVIEW GRID
   ========================================================================== */
.ov-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ov {
  display: flex;
  flex-direction: column;
  padding: 34px 28px;
  height: 100%;
}
.ov .ic {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0,229,255,.07);
  border: 1px solid var(--neon-line);
  color: var(--neon);
  margin-bottom: 24px;
  transition: all .35s var(--ease);
}
.ov:hover .ic {
  background: rgba(0,229,255,.15);
  border-color: var(--neon);
  box-shadow: 0 0 24px var(--neon-glow);
  transform: rotate(5deg) scale(1.1);
}
.ov h3 { margin-bottom: 12px; }
.ov p  { font-size: 14.5px; line-height: 1.65; margin-bottom: 24px; flex-grow: 1; }
.ov .more {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13.5px; font-weight: 700;
  color: var(--neon);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .2s;
  margin-top: auto;
  letter-spacing: .02em;
}
.ov:hover .more { gap: 14px; }

/* ==========================================================================
   SERVICES DETAIL GRID
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.svc {
  display: flex; flex-direction: column;
  padding: 40px 32px; height: 100%; position: relative;
}
.svc .num {
  position: absolute; top: 24px; right: 28px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px; font-weight: 600;
  color: var(--ink-faint); letter-spacing: .05em;
  transition: all .3s;
}
.svc:hover .num { color: var(--neon); text-shadow: 0 0 12px var(--neon-glow); }
.glass-card-violet.svc:hover .num { color: var(--violet); }
.svc .ic {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(0,229,255,.07); border: 1px solid var(--neon-line);
  color: var(--neon); margin-bottom: 28px;
  transition: all .35s var(--ease);
}
.svc:hover .ic { background: rgba(0,229,255,.14); border-color: var(--neon); box-shadow: 0 0 20px var(--neon-glow); }
.glass-card-violet.svc .ic { background: rgba(124,58,237,.08); border-color: var(--violet-line); color: var(--violet); }
.glass-card-violet.svc:hover .ic { background: rgba(124,58,237,.15); border-color: var(--violet); box-shadow: 0 0 20px var(--violet-glow); }
.svc h3 { margin-bottom: 12px; }
.svc p  { font-size: 14.5px; line-height: 1.65; margin-bottom: 28px; flex-grow: 1; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.svc .tags span {
  font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
  border: 1px solid var(--neon-line); color: var(--ink-dim);
  background: rgba(255,255,255,.01); transition: all .3s;
}
.svc:hover .tags span { border-color: rgba(0,229,255,.28); color: var(--neon); }
.glass-card-violet.svc:hover .tags span { border-color: rgba(124,58,237,.3); color: var(--violet); }

/* ==========================================================================
   FEATURE SPLIT (alternating)
   ========================================================================== */
.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; margin-bottom: 100px;
}
.feature:last-child { margin-bottom: 0; }
.feature.rev .feat-text { order: 2; }
.feature .feat-visual {
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--neon-line); position: relative;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 50px rgba(0,229,255,.04);
}
.feature .feat-visual img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; opacity: .82;
  transition: transform .6s var(--ease), opacity .4s;
}
.feature .feat-visual:hover img { transform: scale(1.04); opacity: .95; }
.feature .feat-visual .veil {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(2,5,16,.35), transparent);
}
.feature h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 18px; }
.feature p  { font-size: 15.5px; margin-bottom: 24px; }

/* ==========================================================================
   LINUX / DARK BAND SECTION
   ========================================================================== */
.linux {
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg) 100%);
  border-top: 1px solid var(--neon-line);
  border-bottom: 1px solid var(--neon-line);
  position: relative;
  overflow: hidden;
}
.linux::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 400px at 80% 50%, rgba(0,229,255,.04), transparent 70%);
  pointer-events: none;
}
.linux-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lx { padding: 30px 26px; }
.lx .k { font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600; color: var(--neon); margin-bottom: 14px; letter-spacing: .05em; }
.lx h3 { font-size: 1.2rem; margin-bottom: 10px; }
.lx p  { font-size: 14.5px; line-height: 1.65; }

.distros { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.distros span {
  font-family: "IBM Plex Mono", monospace; font-size: 12.5px; font-weight: 500;
  padding: 8px 16px; border: 1px solid var(--neon-line); border-radius: 8px;
  color: var(--ink-dim); background: rgba(255,255,255,.02); transition: all .3s;
}
.distros span:hover { color: #fff; border-color: var(--neon); background: rgba(0,229,255,.05); }

/* ==========================================================================
   DATABASE SECTION
   ========================================================================== */
.db-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.db-visual {
  border-radius: var(--r); overflow: hidden; border: 1px solid var(--neon-line);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 50px rgba(0,229,255,.04);
}
.db-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .5s; }
.db-visual:hover img { transform: scale(1.04); }
.db-visual .veil { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(2,5,16,.45), rgba(2,5,16,.05)); z-index: 1; }

.db-list { list-style: none; display: grid; gap: 16px; margin-top: 24px; }
.db-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; }
.db-list li b { color: #fff; font-weight: 600; }
.db-list .ck {
  flex: 0 0 24px; height: 24px; border-radius: 7px;
  background: rgba(57,255,176,.09); border: 1px solid rgba(57,255,176,.3);
  color: var(--signal); display: grid; place-items: center; font-size: 12px; margin-top: 2px;
}
.dbtech { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.dbtech span {
  font-family: "IBM Plex Mono", monospace; font-size: 12.5px; font-weight: 500;
  padding: 8px 16px; border-radius: 8px; border: 1px solid var(--violet-line);
  background: rgba(255,255,255,.02); color: var(--violet); transition: all .3s;
}
.dbtech span:hover { color: #fff; border-color: var(--violet); background: rgba(124,58,237,.05); }

/* ==========================================================================
   WHY US / ABOUT
   ========================================================================== */
.why-list  { display: grid; gap: 20px; margin-top: 12px; }
.why-item  { display: flex; gap: 20px; padding: 24px; }
.why-item .ic {
  flex: 0 0 48px; height: 48px; border-radius: 13px;
  background: rgba(0,229,255,.07); border: 1px solid var(--neon-line);
  display: grid; place-items: center; color: var(--neon); transition: all .3s;
}
.why-item:hover .ic { background: rgba(0,229,255,.14); border-color: var(--neon); box-shadow: 0 0 16px var(--neon-glow); }
.why-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-item p  { font-size: 14.5px; }

.about-img {
  border-radius: var(--r); overflow: hidden; border: 1px solid var(--neon-line);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 50px rgba(124,58,237,.04);
}
.about-img img { width: 100%; object-fit: cover; aspect-ratio: 4/3; opacity: .82; }
.about-img .badge {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(2,5,16,.88); backdrop-filter: blur(14px);
  border: 1px solid var(--neon-line); border-radius: 12px;
  padding: 10px 16px; font-family: "IBM Plex Mono", monospace;
  font-size: 12px; color: var(--neon); font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}

/* ==========================================================================
   PAGE HERO (interior pages)
   ========================================================================== */
.page-hero {
  padding: 170px 0 64px;
  position: relative;
  border-bottom: 1px solid var(--neon-line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(ellipse 900px 500px at 80% 50%, rgba(0,229,255,.06), transparent 65%);
  pointer-events: none;
}
.page-hero .crumb {
  font-family: "IBM Plex Mono", monospace; font-size: 12.5px;
  color: var(--ink-faint); margin-bottom: 20px;
  display: flex; gap: 8px; align-items: center;
}
.page-hero .crumb a { color: var(--ink-dim); transition: color .2s; }
.page-hero .crumb a:hover { color: var(--neon); }
.page-hero .crumb .sep { color: var(--neon-line); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 16px 0 20px; max-width: 840px; }
.page-hero p  { font-size: 1.15rem; color: var(--ink-dim); max-width: 640px; font-weight: 300; }
.page-hero.with-img { padding-bottom: 0; }
.page-hero .hero-banner {
  margin-top: 48px; border-radius: var(--r) var(--r) 0 0;
  overflow: hidden; border: 1px solid var(--neon-line); border-bottom: none;
  position: relative; max-height: 320px;
}
.page-hero .hero-banner img { width: 100%; height: 320px; object-fit: cover; opacity: .82; }
.page-hero .hero-banner .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,5,16,.1), rgba(2,5,16,.88));
  z-index: 1;
}

/* ==========================================================================
   COURSES
   ========================================================================== */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.course { padding: 36px 32px; }
.course .lvl { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--violet); text-transform: uppercase; margin-bottom: 16px; }
.course h3   { font-size: 1.35rem; margin-bottom: 12px; }
.course p    { font-size: 15px; margin-bottom: 24px; }
.course ul   { list-style: none; display: grid; gap: 12px; }
.course ul li { font-size: 14.5px; color: var(--ink-dim); padding-left: 22px; position: relative; }
.course ul li::before { content: "›"; position: absolute; left: 4px; color: var(--neon); font-family: "IBM Plex Mono", monospace; font-weight: 700; }

/* ==========================================================================
   CTA BAND — dramatic full-width
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px solid var(--neon-line);
  border-radius: var(--r);
  padding: 60px 52px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 90% -10%, rgba(0,229,255,.18), transparent 70%),
    radial-gradient(ellipse 400px 300px at 10% 110%, rgba(124,58,237,.14), transparent 70%);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,229,255,.1) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .35;
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 12px; }
.cta-band p  { color: var(--ink-dim); max-width: 520px; font-size: 15.5px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { background: linear-gradient(180deg, var(--bg-3), var(--bg)); border-top: 1px solid var(--neon-line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-card {
  display: flex; gap: 18px; align-items: center;
  padding: 24px; margin-bottom: 16px;
}
.contact-card .ic {
  flex: 0 0 48px; height: 48px; border-radius: 12px;
  background: rgba(0,229,255,.07); border: 1px solid var(--neon-line);
  display: grid; place-items: center; color: var(--neon); transition: all .3s;
}
.contact-card:hover .ic { background: rgba(0,229,255,.15); border-color: var(--neon); box-shadow: 0 0 16px var(--neon-glow); }
.contact-card .l { font-size: 11.5px; color: var(--ink-faint); font-family: "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.contact-card .v { font-size: 16px; color: #fff; font-weight: 500; }

.cform { padding: 36px; }
.cform label { display: block; font-size: 12px; color: var(--ink-dim); margin: 0 0 8px; font-family: "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: .07em; }
.cform .field { margin-bottom: 20px; }
.cform input, .cform textarea {
  width: 100%; background: rgba(2,5,16,.65); border: 1px solid var(--neon-line);
  border-radius: var(--r-sm); padding: 14px 16px; color: var(--ink);
  font-family: inherit; font-size: 15px; transition: all .3s;
}
.cform input:focus, .cform textarea:focus {
  outline: none; border-color: var(--neon);
  background: rgba(2,5,16,.95); box-shadow: 0 0 18px var(--neon-glow);
}
.cform textarea { resize: vertical; min-height: 120px; }

/* Map / Location badge */
.contact-map-container {
  height: 280px; border-radius: var(--r); border: 1px solid var(--neon-line);
  overflow: hidden; position: relative; background: var(--surface-solid);
  box-shadow: 0 16px 48px -12px rgba(0,0,0,.5);
}
.cyber-grid-map {
  position: absolute; inset: 0; opacity: .2;
  background-image:
    radial-gradient(var(--neon) 1px, transparent 1px),
    linear-gradient(var(--neon-line) 1px, transparent 1px);
  background-size: 22px 22px;
  animation: gridShift 18s linear infinite;
}
@keyframes gridShift { from{background-position:0 0} to{background-position:44px 44px} }
.map-location-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: rgba(2,5,16,.88); backdrop-filter: blur(14px);
  border: 1px solid var(--neon); border-radius: 14px; padding: 16px 22px; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 18px var(--neon-glow); z-index: 2;
}
.map-location-badge h4 { font-size: 1.1rem; color: #fff; margin-bottom: 4px; }
.map-location-badge p  { font-size: 12.5px; color: var(--neon); font-family: "IBM Plex Mono", monospace; }

/* ==========================================================================
   CONFIGURATOR (Stack Simulator)
   ========================================================================== */
.configurator-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: stretch; }
.config-options    { display: flex; flex-direction: column; gap: 24px; }
.config-group      { display: flex; flex-direction: column; gap: 12px; }
.config-group-label { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--neon); text-transform: uppercase; letter-spacing: .12em; }
.config-buttons    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.config-btn {
  background: rgba(255,255,255,.02); border: 1px solid var(--neon-line);
  border-radius: var(--r-sm); padding: 12px 8px; text-align: center;
  cursor: pointer; transition: all .25s var(--ease); font-size: 13.5px;
  color: var(--ink-dim); font-family: "Space Grotesk", sans-serif; font-weight: 500;
}
.config-btn:hover   { background: rgba(0,229,255,.04); border-color: var(--neon); color: #fff; }
.config-btn.active  { background: rgba(0,229,255,.08); border-color: var(--neon); color: #fff; box-shadow: 0 0 16px var(--neon-glow); }
.config-btn-violet.active { background: rgba(124,58,237,.09); border-color: var(--violet); color: #fff; box-shadow: 0 0 16px var(--violet-glow); }
.config-btn-violet:hover  { border-color: var(--violet); color: #fff; }

/* dashboard panel */
.dash-panel { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.dash-header { padding: 16px 20px; background: rgba(10,18,48,.8); border-bottom: 1px solid var(--neon-line); display: flex; align-items: center; justify-content: space-between; }
.dash-header h3 { font-size: 1rem; font-family: "IBM Plex Mono", monospace; color: #fff; }
.dash-body { padding: 24px; background: rgba(2,5,16,.9); flex-grow: 1; display: flex; flex-direction: column; gap: 20px; }
.dash-metric-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.dash-metric { background: rgba(255,255,255,.015); border: 1px solid var(--neon-line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; }
.dash-metric .lbl { font-size: 10.5px; color: var(--ink-faint); font-family: "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: .05em; }
.dash-metric .val { font-size: 1.5rem; font-weight: 700; font-family: "Space Grotesk", sans-serif; color: #fff; margin-top: 4px; }
.accent-cyan { background: linear-gradient(135deg, #a7f3d0, var(--neon)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dash-chart-container { border: 1px solid var(--neon-line); border-radius: 10px; background: rgba(0,0,0,.45); padding: 16px; height: 140px; display: flex; flex-direction: column; }
.dash-chart-header { font-size: 10.5px; color: var(--ink-faint); font-family: "IBM Plex Mono", monospace; margin-bottom: 10px; display: flex; justify-content: space-between; }
.dash-chart { flex-grow: 1; display: flex; align-items: flex-end; gap: 4px; }
.dash-chart-bar { flex: 1; background: linear-gradient(0deg, var(--neon), rgba(0,229,255,.15)); border-radius: 2px 2px 0 0; height: 20%; transition: height .6s var(--ease); }
.dash-summary { font-size: 13px; line-height: 1.55; font-family: "IBM Plex Mono", monospace; border-top: 1px dashed var(--neon-line); padding-top: 16px; color: var(--ink-dim); }
.dash-summary b { color: #fff; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  border-top: 1px solid var(--neon-line);
  padding: 56px 0 40px; position: relative; overflow: hidden;
}
footer::before {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), var(--violet), transparent);
  opacity: .3;
}
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.foot .small { font-size: 13px; color: var(--ink-faint); font-family: "IBM Plex Mono", monospace; }
.foot-soc { display: flex; gap: 10px; }
.foot-soc a {
  width: 44px; height: 44px; border: 1px solid var(--neon-line); border-radius: 10px;
  display: grid; place-items: center; color: var(--ink-dim);
  transition: all .3s var(--ease); background: rgba(255,255,255,.01);
}
.foot-soc a:hover { border-color: var(--neon); color: var(--neon); transform: translateY(-2px); box-shadow: 0 6px 20px -6px var(--neon-glow); }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Stagger children */
.reveal-stagger > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger > *:nth-child(4) { transition-delay: .35s; }
.reveal-stagger > *:nth-child(5) { transition-delay: .45s; }
.reveal-stagger > *:nth-child(6) { transition-delay: .55s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media(max-width: 1040px) {
  .hero-grid, .db-grid, .contact-grid, .configurator-grid { grid-template-columns: 1fr; gap: 48px; }
  .ov-grid, .linux-grid, .svc-grid { grid-template-columns: repeat(2,1fr); }
  .hero-hex { display: none; }
  .navlinks {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: min(300px, 80vw); height: 100vh;
    flex-direction: column; gap: 8px;
    background: rgba(2,5,20,.97); backdrop-filter: blur(28px);
    border-left: 1px solid var(--neon-line); padding: 120px 20px 40px;
    transform: translateX(100%); transition: transform .4s cubic-bezier(.16,1,.3,1);
    align-items: stretch; box-shadow: -12px 0 50px rgba(0,0,0,.7); z-index: 199;
  }
  .navlinks.open { transform: translateX(0); }
  .navlinks a { padding: 14px 18px; font-size: 16px; border: 1px solid transparent; border-radius: 12px; }
  .navlinks a:hover, .navlinks a.active { background: rgba(0,229,255,.07); border-color: rgba(0,229,255,.2); color: #fff; }
  .navlinks a::after { display: none; }
  .burger { display: flex; }
  .nav-cta .btn-ghost { display: none; }
}

@media(max-width: 680px) {
  body { font-size: 16px; cursor: auto; }
  #cursor-ring, #cursor-dot { display: none; }
  header { top: 10px; width: calc(100% - 20px); height: 64px; border-radius: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 50px 0; }
  .ov-grid, .linux-grid, .svc-grid, .course-grid, .config-buttons { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
  .feature.rev .feat-text { order: 0; }
  .hero { padding: 140px 0 72px; min-height: auto; }
  .hero-orb { display: none; }
  .hero-badges { flex-wrap: wrap; }
  .cta-band { padding: 36px 24px; text-align: center; justify-content: center; }
  .cta-band p { margin: 0 auto; }
  .cform { padding: 24px; }
  .foot { flex-direction: column; text-align: center; }
  .foot-soc { justify-content: center; }
  .why-list { grid-template-columns: 1fr !important; }
}

@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  #cursor-ring, #cursor-dot, .scan-line { display: none; }
  body { cursor: auto; }
}
