/* IT Lab Software Consult — built on Bootstrap 5.3
   Palette taken from the IT Lab logo: deep navy, electric blue, cyan, silver.
   Premium dark glassmorphism theme — continuous canvas, glowing accents. */

:root {
  --navy-950: #020B1A;
  --navy-900: #03152D;
  --navy-800: #061D3D;
  --blue: #0A6CFF;
  --blue-2: #008CFF;
  --cyan: #00E0FF;
  --silver: #C9D3E0;

  --text: #FFFFFF;
  --text-soft: #A8B8CC;
  --text-mute: #7686A3;
  --link: #4FA8FF;

  --surface: rgba(255, 255, 255, .045);
  --surface-strong: rgba(255, 255, 255, .07);
  --border: rgba(168, 195, 235, .14);
  --border-strong: rgba(0, 152, 255, .45);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;

  --radius: 18px;
  --radius-sm: 12px;
  --grad: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 100%);
  --glow-shadow: 0 30px 70px -30px rgba(0, 108, 255, .45), 0 0 0 1px var(--border-strong);
}

html { scroll-behavior: smooth; background: var(--navy-950); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-soft);
  background: var(--navy-950);
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; font-weight: 600; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.eyebrow, .eyebrow.dark {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .9rem;
}

/* ---------- Background canvas ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-grid {
  position: absolute; inset: -10%;
  background-image:
    linear-gradient(rgba(0, 140, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 140, 255, .06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, black 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(110px); }
.orb-a { width: 620px; height: 620px; background: var(--blue); opacity: .30; top: -220px; right: -160px; animation: drift-a 22s ease-in-out infinite; }
.orb-b { width: 520px; height: 520px; background: var(--cyan); opacity: .18; bottom: -180px; left: -140px; animation: drift-b 26s ease-in-out infinite; }
.orb-c { width: 420px; height: 420px; background: var(--blue-2); opacity: .14; top: 45%; left: 58%; animation: drift-a 30s ease-in-out infinite reverse; }
@keyframes drift-a { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 40px); } }
@keyframes drift-b { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, -30px); } }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-display); font-weight: 600; border-radius: 10px; transition: filter .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn-brand {
  color: #fff;
  background: var(--grad);
  border: 0;
  box-shadow: 0 8px 24px -8px rgba(10, 108, 255, .65);
}
.btn-brand:hover, .btn-brand:focus {
  color: #fff;
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(0, 224, 255, .55);
}
.btn-ghost { color: #fff; border: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { color: #fff; border-color: var(--cyan); background: rgba(0, 224, 255, .08); transform: translateY(-2px); }
.btn-lg { padding: .8rem 1.5rem; font-size: 1rem; }

/* ---------- Navbar ---------- */
.navbar {
  padding: .9rem 0;
  background: rgba(2, 11, 26, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, padding .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.navbar.scrolled, .navbar.menu-open {
  background: rgba(2, 11, 26, .92);
  padding: .55rem 0;
  border-bottom-color: var(--border);
  box-shadow: 0 20px 40px -30px rgba(0, 224, 255, .35);
}
.brand-mark { border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px var(--border); }
.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.brand-text small, .brand-text.light small {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 4px;
}
.navbar .nav-link {
  color: var(--text-soft);
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem .85rem !important;
  transition: color .2s ease;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: #fff; }
.navbar-toggler { border: 0; color: #fff; font-size: 1.8rem; padding: 0 .25rem; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 190px;
  color: var(--text-soft);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% 5%, rgba(10, 108, 255, .30), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(0, 224, 255, .14), transparent 60%);
  pointer-events: none;
}
.hero-orbit {
  position: absolute;
  width: 1100px; height: 360px;
  right: -300px; top: 120px;
  border-radius: 50%;
  border: 2px solid rgba(0, 224, 255, .25);
  transform: rotate(-14deg);
  box-shadow: 0 0 60px rgba(0, 224, 255, .12) inset;
}
.hero-pixels { position: absolute; left: 6%; top: 110px; width: 70px; height: 70px; }
.hero-pixels span {
  position: absolute; width: 14px; height: 14px; border-radius: 2px;
  background: var(--cyan); opacity: .8;
  box-shadow: 0 0 14px rgba(0, 224, 255, .6);
}
.hero-pixels span:nth-child(1) { left: 0; top: 18px; }
.hero-pixels span:nth-child(2) { left: 22px; top: 0; }
.hero-pixels span:nth-child(3) { left: 22px; top: 36px; width: 10px; height: 10px; }
.hero-pixels span:nth-child(4) { left: 44px; top: 20px; background: var(--silver); width: 18px; height: 18px; box-shadow: none; }

.hero-title {
  color: #fff;
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: 1.25rem;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.2rem; max-width: 36rem; color: var(--text-soft); }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 3rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  max-width: 34rem;
}
.hero-facts dt {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-facts dd { margin: .4rem 0 0; font-size: .9rem; line-height: 1.35; color: var(--text-mute); }

.hero-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 8px rgba(10, 108, 255, .05);
  max-width: 440px;
  margin-inline: auto;
  animation: float 7s ease-in-out infinite;
}
.hero-card::before {
  content: "";
  position: absolute; inset: -24px;
  background: radial-gradient(circle, rgba(0, 140, 255, .35), transparent 70%);
  filter: blur(30px);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
}
.hero-card img { display: block; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes pulse-glow { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

.hero-leader {
  position: absolute;
  top: 100%;
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: .85rem;
  z-index: 2;
}
.hero-leader-left { left: 0; }
.hero-leader-right { right: 0; flex-direction: row-reverse; text-align: right; }
.hero-leader-avatar {
  flex-shrink: 0;
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 224, 255, .12), 0 0 22px rgba(0, 140, 255, .5);
}
.hero-leader-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; }
.hero-leader-info { display: flex; flex-direction: column; line-height: 1.3; }
.hero-leader-info strong { color: #fff; font-family: var(--font-display); font-size: .85rem; font-weight: 700; }
.hero-leader-info span { color: var(--cyan); font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }

/* ---------- Clients ---------- */
.clients { padding: 56px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.clients-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 1.75rem;
}
.client-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 3.5rem; }
.client-logo {
  display: flex; align-items: center; gap: .85rem;
  text-decoration: none;
  color: var(--text-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  opacity: .78;
  transition: opacity .25s ease, transform .25s ease;
}
.client-logo:hover { opacity: 1; color: #fff; transform: translateY(-2px); }
.client-logo img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #fff; padding: 6px; box-shadow: 0 0 0 1px var(--border); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-tint { position: relative; }
.section-tint::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 108, 255, .05), transparent 30%, transparent 70%, rgba(0, 224, 255, .04));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  pointer-events: none;
  z-index: -1;
}
.section-dark { position: relative; }
.section-dark::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(1000px 400px at 50% 0%, rgba(10, 108, 255, .10), transparent 65%);
  border-top: 1px solid var(--border);
  pointer-events: none;
  z-index: -1;
}
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head p:last-child { color: var(--text-mute); }
.section-head.light h2 { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Services ---------- */
.service {
  height: 100%;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), rgba(255, 255, 255, .015));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.service:hover { border-color: var(--border-strong); transform: translateY(-6px); box-shadow: var(--glow-shadow); }
.service i {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  font-size: 1.5rem;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(10, 108, 255, .22), rgba(0, 224, 255, .10));
  box-shadow: inset 0 0 0 1px rgba(0, 224, 255, .18);
  margin-bottom: 1.25rem;
}
.service h3 { color: #fff; }
.service p { color: var(--text-mute); margin: 0; }

/* ---------- Products ---------- */
.product {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(160deg, var(--surface), rgba(255, 255, 255, .015));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.product:hover { border-color: var(--border-strong); transform: translateY(-6px); box-shadow: var(--glow-shadow); }
.product-logo { display: grid; place-items: center; height: 180px; padding: 1.25rem 2rem; background: #fff; border-bottom: 1px solid var(--border); }
.product-logo.dark-bg { background: #0A0A0A; border-bottom-color: rgba(255, 255, 255, .08); }
.product-logo img { max-width: 100%; max-height: 140px; width: auto; height: auto; object-fit: contain; }
.product-logo img[src$=".svg"] { width: 260px; }
.product-body { padding: 1.75rem; display: flex; flex-direction: column; }
.product-body h3 { font-size: 1.35rem; margin-bottom: .5rem; color: #fff; }
.product-body p { color: var(--text-mute); }

.tag {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.tag.live { color: #4ADE80; background: rgba(74, 222, 128, .12); border-color: rgba(74, 222, 128, .3); }
.tag.build { color: #FBBF24; background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .3); }
.tag.soon { color: #38BDF8; background: rgba(56, 189, 248, .12); border-color: rgba(56, 189, 248, .3); }

.chips { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li { font-size: .8rem; padding: .25rem .65rem; border-radius: 6px; background: var(--surface-strong); color: var(--text-soft); border: 1px solid var(--border); }
.product-link { margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--link); }
.product-link:hover { text-decoration: underline; color: var(--cyan); }

/* ---------- About ---------- */
.founder-photo { position: relative; margin: 0; max-width: 420px; margin-inline: auto; }
.founder-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 20px;
  display: block;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.founder-photo::before {
  content: "";
  position: absolute; inset: 22px -22px -22px 22px;
  border: 2px solid var(--blue);
  border-radius: 20px;
  z-index: -1;
  box-shadow: 0 0 40px -6px rgba(0, 224, 255, .35);
}
.lead-text { font-size: 1.2rem; color: #fff; }
#about p { color: var(--text-mute); max-width: 40rem; }
#about p.lead-text { color: #fff; }
.about-points { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem; }
.about-points li { display: flex; gap: .5rem; align-items: flex-start; color: var(--text-soft); }
.about-points i { color: var(--cyan); font-size: 1.15rem; line-height: 1.5; }
.stack { display: flex; flex-wrap: wrap; gap: .5rem; }
.stack span { font-family: var(--font-mono); font-size: .75rem; padding: .35rem .65rem; border: 1px solid var(--border); border-radius: 6px; color: var(--text-soft); background: var(--surface); }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.steps li { position: relative; padding: 1.75rem 1.5rem 0; border-top: 1px solid var(--border); transition: transform .25s ease; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--grad); box-shadow: 0 0 12px rgba(0, 224, 255, .6); }
.steps li:hover { transform: translateY(-4px); }
.step-no {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  font-family: var(--font-mono); font-size: .82rem; font-weight: 600;
  color: var(--cyan);
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  margin-bottom: .5rem;
}
.steps h3 { color: #fff; margin: .5rem 0 .6rem; }
.steps p { color: var(--text-mute); margin: 0; font-size: .98rem; }

/* ---------- Contact ---------- */
.contact-wrap {
  position: relative;
  background: linear-gradient(160deg, var(--surface-strong), rgba(255, 255, 255, .015));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px -40px rgba(0, 108, 255, .35);
  overflow: hidden;
}
.contact-wrap::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 100% 0%, rgba(0, 224, 255, .12), transparent 60%);
  pointer-events: none;
}
.contact-wrap > .row { position: relative; }
.contact-wrap > .row > div > p { color: var(--text-mute); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: .85rem; overflow-wrap: anywhere; }
.contact-list i { display: inline-grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--cyan); font-size: 1.1rem; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { color: var(--cyan); }
.contact-list span { color: var(--text-soft); }
.contact-form .form-label { font-weight: 500; font-size: .92rem; color: var(--text-soft); }
.contact-form .form-control, .contact-form .form-select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .7rem .9rem;
  background-color: rgba(255, 255, 255, .04);
  color: #fff;
}
.contact-form .form-control::placeholder { color: var(--text-mute); }
.contact-form .form-select option { background-color: var(--navy-900); color: #fff; }
.contact-form .form-control:focus, .contact-form .form-select:focus {
  border-color: var(--cyan);
  background-color: rgba(255, 255, 255, .06);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 224, 255, .14);
}
.form-note { color: var(--text-mute); }
.form-note.error { color: #F87171; }

/* ---------- Footer ---------- */
.footer { position: relative; color: var(--text-mute); padding: 70px 0 30px; border-top: 1px solid var(--border); }
.footer::before {
  content: "";
  position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: var(--grad);
  opacity: .5;
}
.footer p { max-width: 24rem; }
.footer h4 { font-size: .8rem; font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer a { color: var(--text-mute); text-decoration: none; }
.footer a:hover { color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero { padding: 120px 0 160px; }
  .hero-orbit { width: 800px; right: -380px; top: 60px; }
  .hero-pixels { display: none; }
  .hero-leader { margin-top: 28px; gap: .6rem; }
  .hero-leader-avatar { width: 96px; height: 96px; }
  .hero-leader-info strong { font-size: .82rem; }
  .hero-leader-info span { font-size: .62rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  .navbar-collapse { padding: .75rem 0 .5rem; }
  .orb-a, .orb-b, .orb-c { filter: blur(80px); }
}
@media (max-width: 575.98px) {
  .hero { padding: 110px 0 48px; }
  .section { padding: 72px 0; }
  .hero-facts { grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
  .hero-facts dt { font-size: 1.6rem; }
  .hero-leader { position: static; top: auto; justify-content: center; margin: 1.25rem 0 0; }
  .hero-leader-avatar { width: 84px; height: 84px; }
  .hero-leader-right { flex-direction: row; text-align: left; margin-top: .85rem; }
  .product-logo { height: 150px; }
  .product-logo img { max-height: 115px; }
  .about-points { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .client-logos { gap: 1.25rem 2rem; }
}
