:root {
  --premium-cyan: #2dd4bf;
  --premium-steel: #8aa3b8;
  --premium-shadow: 0 22px 55px rgba(16, 42, 67, .14);
  --premium-shadow-strong: 0 28px 70px rgba(16, 42, 67, .22);
}

html {
  scroll-padding-top: 96px;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 1000;
  background: linear-gradient(90deg, var(--gold), var(--premium-cyan));
  box-shadow: 0 0 16px rgba(245, 183, 0, .35);
}

.site-header {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, .94);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--premium-shadow);
  border-color: rgba(16, 42, 67, .08);
}

.logo-mark {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 10px 24px rgba(245, 183, 0, .2);
}

.logo-mark:after {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .65), transparent 65%);
  transform: translateX(-90%) rotate(10deg);
  transition: transform .7s ease;
}

.logo:hover .logo-mark:after {
  transform: translateX(90%) rotate(10deg);
}

.nav > li > a {
  position: relative;
  transition: color .18s ease;
}

.nav > li > a:after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 19px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--premium-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.nav > li > a:hover:after,
.nav > li > a.active:after {
  transform: scaleX(1);
}

.dropdown {
  border-radius: 0 0 10px 10px;
}

.dropdown a {
  position: relative;
  border-radius: 6px;
  margin: 1px 8px;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.dropdown a:hover {
  transform: translateX(4px);
}

.mega {
  border-radius: 0 0 12px 12px;
}

.mega > li > a {
  box-shadow: inset 0 0 0 1px rgba(245, 183, 0, .18);
}

.btn {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  box-shadow: 0 10px 22px rgba(245, 183, 0, .22);
}

.btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .48), transparent);
  transform: skewX(-18deg);
  transition: left .65s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 42, 67, .22);
}

.btn:hover:before {
  left: 130%;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 82%);
}

.hero h1 {
  text-wrap: balance;
}

.hero .quick-form {
  border: 1px solid rgba(255, 255, 255, .5);
}

.quick-form {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.quick-form:hover {
  transform: translateY(-4px);
  box-shadow: var(--premium-shadow-strong);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 183, 0, .16);
}

.card,
.logo-pill,
.tech-pill,
.trust-item {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.card:hover,
.logo-pill:hover,
.tech-pill:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 183, 0, .6);
  box-shadow: var(--premium-shadow);
}

.card:hover h3 {
  color: var(--navy-2);
}

.project-card:hover {
  border-left-color: var(--premium-cyan);
}

.metric-card strong {
  background: linear-gradient(90deg, var(--gold), var(--premium-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-pill,
.tech-pill {
  background: linear-gradient(180deg, #fff, #f9fbfd);
}

.testimonial {
  position: relative;
  padding-left: 18px;
}

.testimonial:before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: calc(100% - 8px);
  border-radius: 999px;
  background: linear-gradient(var(--gold), var(--premium-cyan));
}

.cta-panel {
  position: relative;
  overflow: hidden;
  box-shadow: var(--premium-shadow-strong);
}

.cta-panel:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--premium-cyan));
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.magnetic-card {
  transform-style: preserve-3d;
}

.float-actions a {
  transition: transform .18s ease, box-shadow .18s ease;
}

.float-actions a:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: var(--premium-shadow);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav > li > a:after {
    left: 0;
    right: auto;
    bottom: 7px;
    width: 42px;
  }

  .dropdown a:hover {
    transform: none;
  }
}


