/* Workholics Infocorp — corporate design tokens */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --background: 0 0% 100%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --primary: 222 70% 14%;
  --primary-foreground: 0 0% 100%;
  --primary-glow: 217 91% 50%;
  --accent: 217 91% 50%;
  --accent-foreground: 0 0% 100%;
  --accent-glow: 210 100% 62%;
  --secondary: 215 32% 96%;
  --muted-foreground: 215 16% 38%;
  --border: 215 25% 90%;

  --gradient-hero: linear-gradient(135deg, hsl(222 75% 7%) 0%, hsl(222 70% 14%) 45%, hsl(217 75% 22%) 100%);
  --gradient-brand: linear-gradient(135deg, hsl(217 91% 50%), hsl(222 70% 18%));
  --gradient-accent: linear-gradient(135deg, hsl(217 91% 50%), hsl(210 100% 62%));
  --gradient-mesh:
    radial-gradient(at 18% 22%, hsl(217 91% 50% / 0.14) 0px, transparent 50%),
    radial-gradient(at 82% 78%, hsl(210 100% 62% / 0.10) 0px, transparent 50%);
  --shadow-glow: 0 20px 60px -15px hsl(217 91% 50% / 0.35);
  --shadow-elegant: 0 10px 40px -10px hsl(222 47% 11% / 0.12);
  --shadow-soft: 0 1px 3px 0 hsl(222 47% 11% / 0.04), 0 1px 2px -1px hsl(222 47% 11% / 0.04);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.bg-hero-gradient {
  background: var(--gradient-hero);
}

.bg-brand-gradient {
  background: var(--gradient-brand);
}

.bg-accent-gradient {
  background: var(--gradient-accent);
}

.bg-mesh {
  background: var(--gradient-mesh);
}

.text-gradient-brand {
  background: linear-gradient(135deg, hsl(217 91% 50%), hsl(222 70% 22%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

.shadow-elegant {
  box-shadow: var(--shadow-elegant);
}

.grid-pattern {
  background-image:
    linear-gradient(hsl(var(--border) / 0.6) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--border) / 0.6) 1px, transparent 1px);
  background-size: 48px 48px;
}

.glass-dark {
  background: hsl(222 65% 8% / 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: .08s;
}

.reveal[data-delay="2"] {
  transition-delay: .16s;
}

.reveal[data-delay="3"] {
  transition-delay: .24s;
}

.reveal[data-delay="4"] {
  transition-delay: .32s;
}

.reveal[data-delay="5"] {
  transition-delay: .40s;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: .6
  }

  50% {
    opacity: 1
  }
}

.animate-glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

/* Navbar */
.site-nav {
  /* position: fixed; */
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(var(--background) / 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(var(--border) / 0.6);
  box-shadow: var(--shadow-soft);
}

.site-nav .inner {
  max-width: 1400px;
  margin: 0 auto;
  /* padding: .75rem 1.5rem;
  min-height: 82px; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
 
.site-nav .brand {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 170px;
  padding: .25rem 0;
}

.site-nav .brand img {
  height: 74px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  position: static;
  transform: none;
}

.site-nav ul {
  display: flex;
  gap: .25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a.navlink {
  position: relative;
  display: inline-flex;
  padding: .5rem .75rem;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.7);
  text-decoration: none;
  transition: color .2s;
}

.site-nav a.navlink::after {
  content: "";
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: -2px;
  height: 2px;
  border-radius: 1px;
  background: hsl(var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.site-nav a.navlink:hover {
  color: hsl(var(--primary));
}

.site-nav a.navlink:hover::after,
.site-nav a.navlink.active::after {
  transform: scaleX(1);
}

.site-nav a.navlink.active {
  color: hsl(var(--primary));
}

.site-nav .menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: .5rem;
  cursor: pointer;
  color: hsl(var(--foreground));
}

.site-nav .desktop-only {
  display: flex;
  align-items: center;
  gap: .75rem;
}

@media (max-width: 1023px) {
  .site-nav .desktop-only {
    display: none;
  }

  .site-nav .menu-toggle {
    display: inline-flex;
  }
}

.mobile-menu {
  display: none;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(16px);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  padding: 1rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  max-width: 1400px;
  margin: 0 auto;
}

.mobile-menu a {
  display: block;
  padding: .65rem .75rem;
  border-radius: 6px;
  color: hsl(var(--foreground) / 0.85);
  text-decoration: none;
  font-weight: 500;
}

.mobile-menu a.active,
.mobile-menu a:hover {
  background: hsl(var(--secondary));
  color: hsl(var(--primary));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s ease;
  line-height: 1;
}

.btn-hero {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-hero:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, .08);
}

.btn-default {
  background: hsl(var(--primary));
  color: #fff;
}

.btn-default:hover {
  filter: brightness(1.1);
}

.btn-lg {
  padding: .85rem 1.4rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1rem 1.6rem;
  font-size: 1.05rem;
}

/* Layout helpers */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Page header */
.page-header {
  position: relative;
  padding: 8rem 0 5rem;
  background: var(--gradient-hero);
  color: #fff;
  overflow: hidden;
}

.page-header .grid-pattern {
  position: absolute;
  inset: 0;
  opacity: .08;
}

.page-header .glow {
  position: absolute;
  top: -8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: hsl(217 91% 50% / 0.15);
  filter: blur(80px);
}

.page-header .container {
  position: relative;
}

.eyebrow {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 999px;
  background: hsl(217 91% 50% / 0.2);
  color: hsl(210 100% 75%);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.page-header h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  max-width: 56rem;
  font-weight: 700;
  margin: 0;
}

.page-header p.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .7);
  max-width: 42rem;
  margin-top: 1.5rem;
  line-height: 1.6;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb .sep {
  opacity: .5;
}

/* Footer */
.site-footer {
  position: relative;
  background: var(--gradient-hero);
  color: #fff;
  padding: 5rem 0 2rem;
  overflow: hidden;
}

.site-footer .grid-pattern {
  position: absolute;
  inset: 0;
  opacity: .07;
}

.site-footer .glow {
  position: absolute;
  top: -10rem;
  right: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: hsl(217 91% 50% / 0.15);
  filter: blur(80px);
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.site-footer h4 {
  color: #fff;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.site-footer a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s;
}

.site-footer a:hover {
  color: hsl(210 100% 75%);
}

.footer-brand-card {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: .65rem 1rem;
  margin-bottom: 1.25rem;
}

.footer-brand-card img {
  height: 40px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elegant);
  border-color: hsl(217 91% 50% / 0.4);
}

.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--gradient-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

/* Forms */
.form-input,
.form-textarea {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 8px;
  border: 1px solid hsl(var(--border));
  background: #fff;
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsl(var(--accent));
  box-shadow: 0 0 0 3px hsl(217 91% 50% / 0.15);
}

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: .4rem;
}

/* Section helpers */
.section {
  padding: 6rem 0;
}

.section-tight {
  padding: 4rem 0;
}

.section-bg-soft {
  background: hsl(var(--secondary) / 0.4);
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}

main>.section-tight.section-bg-soft {
  position: relative;
  overflow: visible;
}

main>.section-tight.section-bg-soft::before {
   content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.06) 0%,
    rgba(0,0,0,0) 100%
  );
}

 

/* Toast */
.toast {
  /* position: fixed; */
  bottom: 2rem;
  right: 2rem;
  background: hsl(var(--primary));
  color: #fff;
  padding: .9rem 1.2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-elegant);
  z-index: 100;
  opacity: 0;
  transform: translateY(10px);
  transition: all .25s;
}

.toast.show {
  opacity: 1;
  transform: none;
}

/* Legacy homepage hero cleanup */
main>section:first-of-type .bg-mesh {
  display: none !important;
}

main>section:first-of-type .animate-glow-pulse {
  display: none !important;
}

/* Homepage hero layout fix */
/* .homepage-main {
  padding-top: 80px;
} */

.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.home-hero-bg,
.home-hero-bg img,
.home-hero-overlay,
.home-hero-mesh,
.home-hero-circuit,
.home-hero-grid-lines {
  position: absolute;
  inset: 0;
}

.home-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-shell {
  position: relative;
  z-index: 2;
}

.home-hero-tech .home-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.72fr);
  gap: 2.5rem;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 5.5rem;
}

.home-hero-tech .home-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.home-hero-tech .home-hero-copy p {
  max-width: 41rem;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.home-hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 52rem;
  margin-top: 4rem;
}

.home-hero-visual {
  position: relative;
  min-height: 38rem;
  width: 100%;
  max-width: 34rem;
  margin-left: auto;
}

.home-hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10rem;
  background: linear-gradient(180deg, rgba(4, 10, 24, 0) 0%, rgba(8, 18, 45, 0.84) 60%, hsl(var(--background)) 100%);
}

@media (max-width: 1100px) {
  .home-hero-tech .home-hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-hero-visual {
    max-width: 36rem;
    min-height: 28rem;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .homepage-main {
    padding-top: 72px;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero-tech .home-hero-content {
    padding-top: 5rem;
    padding-bottom: 4rem;
    gap: 1.75rem;
  }

  .home-hero-actions {
    flex-direction: column;
  }

  .home-hero-actions .btn {
    justify-content: center;
  }

  .home-hero-metrics {
    grid-template-columns: 1fr;
  }

  .home-hero-visual {
    min-height: 22rem;
  }
}

.text-accent-glow {
  color: hsl(var(--accent-glow));
}

.site-nav {
  box-sizing: border-box;
  min-height: 78px;
  /* position: fixed; */
  width: 100%;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10;
  /* overflow: hidden; */
  /* important */
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.25) 0%,
      /* left dark */
      transparent 15%,
      transparent 85%,
      rgba(0, 0, 0, 0.25) 100%
      /* right dark */
    );
}