/* Altitude Web Solutions static draft */
:root {
  --bg: #030814;
  --bg-soft: #071426;
  --bg-deep: #01040b;
  --panel: rgba(8, 22, 42, 0.78);
  --panel-solid: #0b1729;
  --panel-light: rgba(15, 124, 255, 0.08);
  --blue: #0f7cff;
  --blue-light: #35b8ff;
  --cyan: #62e8ff;
  --purple: #7a4dff;
  --text: #ffffff;
  --text-soft: #b9c7da;
  --muted: #738198;
  --border: rgba(91, 168, 255, 0.22);
  --border-strong: rgba(98, 232, 255, 0.42);
  --success: #25d690;
  --warning: #ffcc4d;
  --danger: #ff5c7a;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-glow: 0 0 40px rgba(15, 124, 255, 0.28);
  --shadow-panel: 0 24px 80px rgba(0, 0, 0, 0.35);
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 70% 10%, rgba(15, 124, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 10% 30%, rgba(122, 77, 255, 0.14), transparent 24rem),
    var(--bg);
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
  color: var(--text);
  font-family: Sora, "Aptos", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(98, 232, 255, 0.028) 0 1px, transparent 1px 14px),
    radial-gradient(circle at 50% -10%, rgba(53, 184, 255, 0.16), transparent 42rem);
  content: "";
  pointer-events: none;
}

body.nav-open {
  overflow: hidden;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(98, 232, 255, 0.8);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-tight {
  padding: 64px 0;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Chakra Petch", Sora, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 5vw, 4.55rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 850;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

p {
  color: var(--text-soft);
}

.lead {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: #d6e0ec;
}

.gradient-text {
  background: linear-gradient(90deg, var(--blue-light), var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(11, 23, 41, 0.88), rgba(7, 20, 38, 0.58));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow-panel);
  backdrop-filter: blur(18px);
}

.glass-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(98, 232, 255, 0.16), transparent 16rem);
  content: "";
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.glass-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(98, 232, 255, 0.22) 46%, transparent 58% 100%);
  content: "";
  opacity: 0;
  transform: translateX(-70%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.glass-card:hover::before,
.glass-card:focus-within::before {
  opacity: 1;
}

.glass-card:hover::after,
.glass-card:focus-within::after {
  opacity: 1;
  animation: panelSweep 1.2s ease forwards;
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

.glass-card::selection,
body::selection {
  background: rgba(98, 232, 255, 0.26);
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 13px 20px;
  border-radius: 11px;
  border: 1px solid transparent;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn::after {
  position: absolute;
  inset: -40% auto -40% -55%;
  width: 48%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  content: "";
  transform: skewX(-18deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

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

.btn:hover::after {
  left: 120%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #0057d9);
  box-shadow: 0 0 28px rgba(15, 124, 255, 0.32);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.btn-small {
  min-height: 38px;
  padding: 10px 15px;
  font-size: 0.92rem;
}

.icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(53, 184, 255, 0.3));
  transition: transform 0.28s ease, filter 0.28s ease;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: headerDrop 0.8s ease both;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(1, 4, 11, 0.88);
  border-color: rgba(91, 168, 255, 0.16);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 168px;
  display: block;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 18px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link,
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link.active,
.dropdown-toggle.active,
.nav-link:hover,
.dropdown-toggle:hover {
  color: var(--cyan);
  background: rgba(53, 184, 255, 0.08);
  transform: translateY(-1px);
}

.has-dropdown {
  position: relative;
}

.has-dropdown::after {
  position: absolute;
  top: 100%;
  left: 0;
  width: max(100%, 240px);
  height: 12px;
  content: "";
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  display: grid;
  min-width: 230px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(3, 8, 20, 0.96);
  box-shadow: var(--shadow-panel);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.is-open .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--text-soft);
  text-decoration: none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  color: #fff;
  background: rgba(15, 124, 255, 0.14);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-pill {
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 830px;
  padding: 150px 0 70px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3, 8, 20, 0.16), rgba(3, 8, 20, 0.92)),
    url("../svg/backgrounds/neon-wave-grid.svg") center 130px / cover no-repeat;
}

.hero .eyebrow {
  animation: textLift 0.75s ease 0.1s both;
}

.hero h1 {
  animation: textLift 0.75s ease 0.18s both;
}

.hero .hero-title {
  margin-bottom: 12px;
  animation: none;
  perspective: 1000px;
}

.hero-title-line {
  display: block;
  transform-origin: left center;
}

.hero-title-line--rise .gradient-text {
  white-space: nowrap;
}

.is-loaded .hero-title-line--slam {
  animation: hfBeatSlam 0.68s cubic-bezier(0.17, 0.86, 0.34, 1.18) 0.08s both;
}

.is-loaded .hero-title-line--snap {
  animation: hfBeatSnap 0.62s cubic-bezier(0.21, 0.78, 0.31, 1) 0.2s both;
}

.is-loaded .hero-title-line--rise {
  animation: hfBeatRise 0.76s cubic-bezier(0.16, 0.9, 0.26, 1) 0.32s both;
}

.hero-beat {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 8px;
  margin: -2px 0 20px;
}

.hero-beat i {
  display: block;
  width: clamp(24px, 4vw, 46px);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), rgba(15, 124, 255, 0.08));
  box-shadow: 0 0 18px rgba(98, 232, 255, 0.48);
  transform-origin: left center;
}

.is-loaded .hero-beat i {
  animation: hfBeatTick 0.72s cubic-bezier(0.16, 0.88, 0.32, 1) both;
  animation-delay: calc(0.42s + (var(--i) * 0.075s));
}

.hero .lead {
  animation: textLift 0.75s ease 0.26s both;
}

.hero-actions {
  animation: textLift 0.75s ease 0.34s both;
}

.trust-row {
  animation: textLift 0.75s ease 0.42s both;
}

.hero::before {
  clip-path: polygon(0 12%, 100% 0, 100% 100%, 15% 86%);
}

.hero::before,
.hero::after {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  content: "";
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
}

.hero::before {
  top: 160px;
  right: 18%;
  background: rgba(15, 124, 255, 0.45);
}

.hero::after {
  bottom: 170px;
  left: 12%;
  background: rgba(122, 77, 255, 0.36);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: 54px;
  min-width: 0;
}

.hero-copy::before {
  display: block;
  width: 88px;
  height: 3px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  content: "";
  box-shadow: 0 0 18px rgba(98, 232, 255, 0.75);
}

.hero-copy {
  max-width: 660px;
  min-width: 0;
}

.hero-actions,
.cta-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.35;
}

.trust-item::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  content: "✓";
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  animation: visualIgnite 1s ease 0.22s both;
  isolation: isolate;
}

.hero-laptop {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 0;
  width: min(720px, 100%);
  transform: translate3d(0, var(--hf-laptop-y, 0px), 0);
  will-change: transform;
}

.hero-phone {
  position: absolute;
  z-index: 4;
  top: 140px;
  right: 10px;
  width: min(240px, 34%);
  transform: translate3d(0, var(--hf-phone-y, 0px), 0) rotate(var(--hf-phone-rotate, 0deg));
  will-change: transform;
}

.hero-drawline {
  position: absolute;
  z-index: 1;
  inset: 24px 16px 46px 0;
  pointer-events: none;
}

.hero-drawline svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-drawline path {
  fill: none;
  stroke: rgba(98, 232, 255, 0.46);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-linecap: round;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 12px rgba(98, 232, 255, 0.38));
}

.hero-drawline-secondary {
  stroke: rgba(122, 77, 255, 0.36);
  stroke-width: 1.6;
}

.is-loaded .hero-drawline path {
  animation: hfPathDraw 1.45s cubic-bezier(0.18, 0.82, 0.26, 1) 0.42s both;
}

.is-loaded .hero-drawline-secondary {
  animation-delay: 0.62s;
}

.hero-orbit {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  transform: translate3d(0, var(--hf-orbit-y, 0px), 0) rotateX(58deg) rotateZ(var(--hf-orbit-rotate, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
}

.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(min(250px, 34vw)) rotate(calc(var(--angle) * -1));
  transform-style: preserve-3d;
}

.orbit-node em {
  display: grid;
  min-width: 58px;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(98, 232, 255, 0.32);
  border-radius: 999px;
  background: rgba(2, 12, 30, 0.72);
  box-shadow: 0 0 24px rgba(15, 124, 255, 0.18);
  color: #dff8ff;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: rotateX(-68deg) scale(0.78);
  transform-origin: center;
  backdrop-filter: blur(12px);
}

.is-loaded .orbit-node em {
  animation: hfOrbitFlip 0.72s cubic-bezier(0.18, 0.86, 0.32, 1.18) var(--delay) both;
}

.float-card {
  position: absolute;
  z-index: 5;
  padding: 12px 14px;
  border: 1px solid rgba(98, 232, 255, 0.28);
  border-radius: 14px;
  background: rgba(1, 8, 20, 0.78);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 750;
  backdrop-filter: blur(14px);
  animation: orbitCard 7s ease-in-out infinite;
}

.float-card small {
  display: block;
  color: var(--cyan);
  font-size: 0.75rem;
}

.float-card.one {
  top: 70px;
  left: 2%;
}

.float-card.two {
  right: 16%;
  bottom: 74px;
  animation-delay: 0.8s;
}

.float-card.three {
  left: 12%;
  bottom: 150px;
  animation-delay: 1.3s;
}

.grid {
  display: grid;
  align-items: stretch;
  gap: clamp(20px, 1.8vw, 28px);
}

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

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

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

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

.card {
  padding: clamp(24px, 2vw, 30px);
}

.card > :last-child {
  margin-bottom: 0;
}

.service-card {
  display: flex;
  min-height: 244px;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(53, 184, 255, 0.65);
  box-shadow: var(--shadow-glow);
}

.service-card:hover .icon,
.card:hover .icon {
  transform: translateY(-4px) scale(1.06) rotate(-2deg);
  filter: drop-shadow(0 0 22px rgba(98, 232, 255, 0.5));
}

.services-showcase {
  overflow: hidden;
}

.services-showcase::before {
  position: absolute;
  inset: 4% 0 auto;
  height: 420px;
  background:
    radial-gradient(circle at 50% 20%, rgba(15, 124, 255, 0.16), transparent 42rem),
    linear-gradient(90deg, transparent, rgba(98, 232, 255, 0.06), transparent);
  content: "";
  pointer-events: none;
  opacity: 0.72;
}

.services-showcase .section-head {
  perspective: 900px;
}

.services-showcase .section-head .eyebrow,
.services-showcase .section-head h2 {
  transform-origin: center;
}

.services-showcase .section-head .eyebrow::after {
  display: block;
  width: 96px;
  height: 2px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 18px rgba(98, 232, 255, 0.54);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
}

.is-loaded .services-showcase.is-wave-ready .section-head .eyebrow,
.is-loaded .services-showcase.is-wave-ready .section-head h2 {
  opacity: 0;
}

.services-showcase .section-head.is-visible .eyebrow {
  animation: servicesEyebrowIn 0.58s ease both;
}

.services-showcase.is-wave-running .section-head .eyebrow {
  animation: servicesEyebrowIn 0.58s ease both;
}

.services-showcase .section-head.is-visible .eyebrow::after {
  animation: servicesLineScan 0.72s cubic-bezier(0.2, 0.82, 0.28, 1) 0.12s both;
}

.services-showcase.is-wave-running .section-head .eyebrow::after {
  animation: servicesLineScan 0.72s cubic-bezier(0.2, 0.82, 0.28, 1) 0.12s both;
}

.services-showcase .section-head.is-visible h2 {
  animation: servicesHeadingSettle 0.82s cubic-bezier(0.17, 0.86, 0.28, 1.12) 0.1s both;
}

.services-showcase.is-wave-running .section-head h2 {
  animation: servicesHeadingSettle 0.82s cubic-bezier(0.17, 0.86, 0.28, 1.12) 0.1s both;
}

.is-loaded .services-showcase .service-card.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0) rotateX(7deg) scale(0.985);
  transform-origin: center top;
  filter: blur(8px);
  transition:
    opacity 0.62s ease,
    transform 0.78s cubic-bezier(0.17, 0.84, 0.31, 1),
    filter 0.72s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
  transition-delay: calc(var(--stagger, 0) * 80ms);
}

.is-loaded .services-showcase .service-card.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0) scale(1);
  filter: blur(0);
}

.is-loaded .services-showcase.is-wave-ready .service-card {
  opacity: 0;
  transform: translate3d(0, 54px, 0) rotateX(11deg) scale(0.96);
  filter: blur(12px);
}

.is-loaded .services-showcase.is-wave-running .service-card {
  animation: serviceCardWaveIn 0.86s cubic-bezier(0.16, 0.86, 0.28, 1.08) both;
  animation-delay: calc(var(--stagger, 0) * 105ms);
}

.services-showcase .service-card::after {
  background:
    linear-gradient(115deg, transparent 0 32%, rgba(98, 232, 255, 0.36) 44%, transparent 56% 100%),
    linear-gradient(180deg, rgba(98, 232, 255, 0.2), transparent 42%);
}

.services-showcase .service-card.is-visible::after {
  opacity: 1;
  animation: serviceCardSweep 0.92s ease-out both;
  animation-delay: calc(0.16s + (var(--stagger, 0) * 80ms));
}

.services-showcase.is-wave-running .service-card::after {
  opacity: 1;
  animation: serviceCardSweep 1s ease-out both;
  animation-delay: calc(0.2s + (var(--stagger, 0) * 105ms));
}

.is-loaded .services-showcase .service-card .icon,
.is-loaded .services-showcase .service-card h3,
.is-loaded .services-showcase .service-card p,
.is-loaded .services-showcase .service-card .card-link {
  opacity: 0;
  transform: translateY(12px);
}

.services-showcase .service-card.is-visible .icon,
.services-showcase .service-card.is-visible h3,
.services-showcase .service-card.is-visible p,
.services-showcase .service-card.is-visible .card-link {
  opacity: 1;
  transform: none;
}

.services-showcase .service-card.is-visible .icon {
  animation: serviceIconPop 0.62s cubic-bezier(0.16, 0.86, 0.32, 1.18) backwards;
  animation-delay: calc(0.18s + (var(--stagger, 0) * 80ms));
}

.services-showcase.is-wave-running .service-card .icon {
  animation: serviceIconPop 0.68s cubic-bezier(0.16, 0.86, 0.32, 1.18) backwards;
  animation-delay: calc(0.22s + (var(--stagger, 0) * 105ms));
}

.services-showcase .service-card.is-visible h3 {
  animation: serviceTextIn 0.52s ease backwards;
  animation-delay: calc(0.26s + (var(--stagger, 0) * 80ms));
}

.services-showcase.is-wave-running .service-card h3 {
  animation: serviceTextIn 0.56s ease backwards;
  animation-delay: calc(0.34s + (var(--stagger, 0) * 105ms));
}

.services-showcase .service-card.is-visible p {
  animation: serviceTextIn 0.52s ease backwards;
  animation-delay: calc(0.34s + (var(--stagger, 0) * 80ms));
}

.services-showcase.is-wave-running .service-card p {
  animation: serviceTextIn 0.56s ease backwards;
  animation-delay: calc(0.44s + (var(--stagger, 0) * 105ms));
}

.services-showcase .service-card.is-visible .card-link {
  animation: serviceLinkIn 0.54s ease backwards;
  animation-delay: calc(0.43s + (var(--stagger, 0) * 80ms));
}

.services-showcase.is-wave-running .service-card .card-link {
  animation: serviceLinkIn 0.58s ease backwards;
  animation-delay: calc(0.56s + (var(--stagger, 0) * 105ms));
}

.card-link {
  margin-top: auto;
  color: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}

.feature-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: center;
  padding: 34px;
  overflow: hidden;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.mini-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mini-feature img {
  width: 34px;
  height: 34px;
}

.mini-feature strong {
  display: block;
  color: #fff;
}

.mini-feature span {
  display: block;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.dashboard-img {
  width: 100%;
  border-radius: 18px;
  filter: drop-shadow(0 0 36px rgba(15, 124, 255, 0.28));
}

.ai-operating-section {
  overflow: hidden;
}

.ai-operating-section::before {
  position: absolute;
  inset: 10% auto auto 4%;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 232, 255, 0.11), transparent 65%);
  content: "";
  pointer-events: none;
}

.ai-operating-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: start;
}

.ai-operating-copy {
  position: sticky;
  top: 108px;
}

.ai-operating-copy h2 {
  max-width: 650px;
}

.ai-operating-copy p {
  max-width: 640px;
}

.ai-dashboard-card {
  margin-top: 26px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(6, 16, 31, 0.94), rgba(7, 20, 38, 0.7)),
    radial-gradient(circle at 15% 15%, rgba(98, 232, 255, 0.12), transparent 14rem);
}

.ai-dashboard-card .dashboard-img {
  display: block;
  border-radius: 16px;
}

.ai-signal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.ai-signal-list span {
  padding: 11px 12px;
  border: 1px solid rgba(98, 232, 255, 0.18);
  border-radius: 12px;
  background: rgba(98, 232, 255, 0.06);
  color: #d9f8ff;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.ai-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 1.8vw, 26px);
}

.ai-service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(24px, 2vw, 32px);
}

.ai-service-card .check-list {
  gap: 8px;
  margin-top: 0;
  padding-top: 0;
}

.ai-service-card p {
  margin-bottom: 16px;
}

.ai-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.ai-card-top .icon {
  margin-bottom: 0;
}

.ai-card-top span {
  color: rgba(98, 232, 255, 0.34);
  font-family: "Chakra Petch", Sora, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.ai-service-card-wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(120px, 0.45fr) minmax(220px, 0.95fr) minmax(260px, 1fr);
  gap: 22px;
  align-items: center;
}

.ai-service-card-wide .ai-card-top,
.ai-service-card-wide p {
  margin-bottom: 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--border);
}

.stat {
  min-height: 126px;
  padding: 24px;
  background: rgba(6, 16, 31, 0.86);
}

.stat strong {
  display: block;
  color: var(--blue-light);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.badge {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(9, 20, 38, 0.72);
  text-align: center;
  color: #fff;
  font-weight: 800;
}

.package-card .price {
  display: block;
  margin: 16px 0 18px;
  color: var(--cyan);
  font-size: clamp(1.35rem, 1.65vw, 1.78rem);
  font-weight: 900;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.package-card .price:last-child {
  margin-bottom: 0;
}

.package-card p:last-child {
  margin-bottom: 0;
}

.package-card ul,
.check-list {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.package-card li,
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-soft);
}

.package-card li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  content: "✓";
  font-weight: 900;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.portfolio-visual {
  min-height: 170px;
  background:
    linear-gradient(135deg, rgba(15, 124, 255, 0.35), rgba(122, 77, 255, 0.12)),
    radial-gradient(circle at 72% 28%, rgba(98, 232, 255, 0.38), transparent 11rem),
    #06101f;
  position: relative;
  overflow: hidden;
}

.portfolio-visual::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(98, 232, 255, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(98, 232, 255, 0.14), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 16px);
  content: "";
  opacity: 0;
  transform: translateY(12px) scale(0.96);
}

.portfolio-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(98, 232, 255, 0.18), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 12px);
  content: "";
  transform: translateX(-100%);
  animation: visualScan 5.5s ease-in-out infinite;
}

.portfolio-card.is-visible .portfolio-visual::before {
  animation: visualPanelIn 0.82s cubic-bezier(0.16, 0.86, 0.28, 1.08) both;
  animation-delay: calc(0.14s + (var(--stagger, 0) * 64ms));
}

.portfolio-card.is-visible .portfolio-visual::after {
  animation:
    visualScan 1.65s cubic-bezier(0.2, 0.82, 0.28, 1) 0.08s both,
    visualScan 5.8s ease-in-out 2.1s infinite;
}

.portfolio-card .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  border: 1px solid rgba(98, 232, 255, 0.26);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.step {
  position: relative;
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(15, 124, 255, 0.2);
  color: var(--cyan);
  font-weight: 900;
}

.phone-system {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.phone-ui {
  max-width: 390px;
  margin-inline: auto;
  padding: 26px;
  border-radius: 34px;
  background: linear-gradient(180deg, #101827, #030712);
  box-shadow: inset 0 0 0 10px #101828, 0 0 50px rgba(15, 124, 255, 0.25);
  animation: phoneHover 6s ease-in-out infinite;
}

.phone-screen {
  min-height: 540px;
  padding: 24px;
  border: 1px solid rgba(98, 232, 255, 0.2);
  border-radius: 25px;
  background:
    radial-gradient(circle at 50% 10%, rgba(15, 124, 255, 0.22), transparent 12rem),
    #050b16;
}

.call-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 54px;
  margin: 28px 0;
}

.call-wave span {
  width: 4px;
  border-radius: 999px;
  background: var(--cyan);
  animation: wave 1.2s ease-in-out infinite;
}

.call-wave span:nth-child(odd) {
  height: 18px;
}

.call-wave span:nth-child(even) {
  height: 34px;
  animation-delay: 0.12s;
}

.phone-event {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(91, 168, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-inline: auto;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  font-weight: 850;
}

.faq-answer {
  display: none;
  padding: 0 22px 22px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-icon {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 1.4rem;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 38px;
  background:
    linear-gradient(90deg, rgba(3, 8, 20, 0.96), rgba(3, 8, 20, 0.58)),
    url("../svg/illustrations/cta-mountain-glow.svg") right center / contain no-repeat,
    #06101f;
  animation: ctaGlow 7s ease-in-out infinite;
}

.cta-panel .content {
  max-width: 690px;
}

.site-footer {
  padding: 58px 0 26px;
  border-top: 1px solid rgba(91, 168, 255, 0.16);
  background: #020611;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 28px;
}

.footer-logo {
  width: 160px;
  margin-bottom: 18px;
}

.footer-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.footer-group a {
  display: inline-flex;
}

.footer-group img {
  width: 84px;
  flex: 0 0 auto;
  opacity: 0.85;
}

.footer-col h3 {
  font-size: 0.95rem;
}

.footer-col ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a,
.footer-col li {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.94rem;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(91, 168, 255, 0.14);
  color: var(--muted);
  font-size: 0.88rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.service-band {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 28px;
  padding: 30px;
}

.service-band + .service-band {
  margin-top: 20px;
}

.service-band .icon {
  margin-bottom: 16px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.metric {
  padding: 16px;
  border: 1px solid rgba(98, 232, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.metric strong {
  display: block;
  color: var(--cyan);
  font-size: 1.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.hero-page {
  padding: 150px 0 76px;
  background:
    linear-gradient(180deg, rgba(3, 8, 20, 0.15), rgba(3, 8, 20, 0.94)),
    url("../svg/backgrounds/neon-wave-grid.svg") center / cover no-repeat;
}

.hero-page .content {
  max-width: 860px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 40px;
}

.filter-tab {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-weight: 800;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.filter-tab.is-active,
.filter-tab:hover {
  border-color: var(--border-strong);
  color: #fff;
  background: rgba(15, 124, 255, 0.18);
  transform: translateY(-2px);
}

.pricing-section {
  scroll-margin-top: 110px;
}

.pricing-section.is-hidden {
  display: none;
}

.pricing-section .section-head.left {
  max-width: 900px;
  margin-bottom: clamp(28px, 3vw, 40px);
}

.pricing-section .section-head.left .note {
  max-width: 760px;
  margin-top: 18px;
}

.pricing-section > .grid + .glass-card,
.pricing-section > .grid + .card,
.pricing-section > .glass-card + .glass-card {
  margin-top: clamp(24px, 2.4vw, 34px);
}

.pricing-section > .grid + .btn,
.pricing-section > .glass-card + .btn {
  margin-top: clamp(24px, 2.4vw, 34px);
}

.pricing-section > .glass-card:has(.check-list) {
  padding: clamp(24px, 2vw, 32px);
}

.pricing-section .check-list.grid {
  gap: 14px 30px;
}

.note {
  padding: 15px 17px;
  border: 1px solid rgba(255, 204, 77, 0.28);
  border-radius: 14px;
  background: rgba(255, 204, 77, 0.08);
  color: #ffe7a3;
}

.seo-strength {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  color: var(--text-soft);
  font-weight: 800;
}

.seo-bar {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 124, 255, 0.25), var(--cyan), var(--success));
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: #fff;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 13px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(98, 232, 255, 0.08);
}

select option {
  color: #06101f;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.field-error {
  min-height: 20px;
  color: #ff99aa;
  font-size: 0.85rem;
}

.form-status {
  margin-top: 18px;
  color: var(--success);
  font-weight: 800;
}

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

.is-loaded .reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  filter: blur(8px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
  transition-delay: calc(var(--stagger, 0) * 55ms);
}

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

.page-hero-motion {
  perspective: 1000px;
}

.is-loaded .page-hero-motion .eyebrow,
.is-loaded .page-hero-motion h1,
.is-loaded .page-hero-motion .lead {
  opacity: 0;
  transform-origin: left center;
}

.is-loaded .page-hero-motion.is-visible .eyebrow {
  animation: pageEyebrowIn 0.58s ease 0.08s both;
}

.is-loaded .page-hero-motion.is-visible h1 {
  animation: pageHeadingIn 0.78s cubic-bezier(0.16, 0.86, 0.28, 1.08) 0.17s both;
}

.is-loaded .page-hero-motion.is-visible .lead {
  animation: pageLeadIn 0.68s ease 0.34s both;
}

.motion-heading .eyebrow::after {
  display: block;
  width: 72px;
  height: 2px;
  margin: 11px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 16px rgba(98, 232, 255, 0.46);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
}

.motion-heading.left .eyebrow::after {
  margin-inline: 0 auto;
}

.motion-heading.is-visible .eyebrow::after {
  animation: sectionMarkerIn 0.72s cubic-bezier(0.2, 0.82, 0.28, 1) 0.12s both;
}

.is-loaded .motion-card.reveal {
  opacity: 0;
  transform: translate3d(0, 46px, 0) rotateX(7deg) scale(0.96);
  transform-origin: center top;
  filter: blur(12px);
  transition:
    opacity 0.86s ease,
    transform 1s cubic-bezier(0.16, 0.86, 0.28, 1.08),
    filter 0.86s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
  transition-delay: calc(var(--stagger, 0) * 76ms);
  will-change: transform, opacity, filter;
}

.is-loaded .motion-card.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0) scale(1);
  filter: blur(0);
  animation: cardArrivalGlow 0.9s ease both;
  animation-delay: calc(0.1s + (var(--stagger, 0) * 76ms));
}

.motion-card.is-visible .icon {
  animation: iconWake 0.64s cubic-bezier(0.16, 0.86, 0.32, 1.16) backwards;
  animation-delay: calc(0.12s + (var(--stagger, 0) * 45ms));
}

.motion-card.is-visible .card-link {
  animation: linkSettle 0.56s ease both;
  animation-delay: calc(0.22s + (var(--stagger, 0) * 45ms));
}

.motion-stage {
  perspective: 1400px;
}

.stats-row.is-visible .stat,
.badges.is-visible .badge,
.feature-panel.is-visible .mini-feature,
.contact-layout form.is-visible .form-grid .field {
  animation: smallTileIn 0.58s ease both;
  animation-delay: calc(var(--stagger, 0) * 55ms);
}

.stats-row.is-visible .stat strong {
  animation: metricGlow 1.25s ease both;
  animation-delay: calc(0.2s + (var(--stagger, 0) * 70ms));
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageEyebrowIn {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes pageHeadingIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, -60px) rotateX(10deg) scale(0.98);
    filter: blur(9px);
  }
  68% {
    opacity: 1;
    transform: translate3d(0, -4px, 0) rotateX(-2deg) scale(1.012);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes pageLeadIn {
  from {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes sectionMarkerIn {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  58% {
    opacity: 1;
    transform: scaleX(1.18);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes iconWake {
  0% {
    transform: translateY(10px) scale(0.9) rotate(-4deg);
    filter: drop-shadow(0 0 0 rgba(98, 232, 255, 0));
  }
  64% {
    transform: translateY(-4px) scale(1.07) rotate(2deg);
    filter: drop-shadow(0 0 24px rgba(98, 232, 255, 0.52));
  }
  100% {
    transform: translateY(0) scale(1) rotate(0);
    filter: drop-shadow(0 0 14px rgba(53, 184, 255, 0.3));
  }
}

@keyframes visualPanelIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.94);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes cardArrivalGlow {
  0%,
  100% {
    box-shadow: var(--shadow);
  }
  48% {
    box-shadow: 0 24px 80px rgba(31, 119, 255, 0.24), 0 0 34px rgba(98, 232, 255, 0.14);
  }
}

@keyframes linkSettle {
  0% {
    opacity: 0;
    transform: translateX(-8px);
  }
  70% {
    opacity: 1;
    transform: translateX(4px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes smallTileIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes metricGlow {
  0%,
  100% {
    text-shadow: none;
  }
  45% {
    text-shadow: 0 0 22px rgba(98, 232, 255, 0.58);
  }
}

@keyframes textLift {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes hfBeatSlam {
  0% {
    opacity: 0;
    transform: translate3d(-18px, 26px, -80px) rotateX(16deg) scale(0.96);
    filter: blur(10px);
  }
  62% {
    opacity: 1;
    transform: translate3d(0, -5px, 0) rotateX(-3deg) scale(1.025);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes hfBeatSnap {
  0% {
    opacity: 0;
    transform: translate3d(28px, 0, -70px) rotateY(-14deg) scale(0.97);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes hfBeatRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, -40px) rotateX(-10deg) scale(0.98);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes hfBeatTick {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  45% {
    opacity: 1;
    transform: scaleX(1.12);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes hfPathDraw {
  from {
    stroke-dashoffset: 1;
    opacity: 0.2;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes hfOrbitFlip {
  0% {
    opacity: 0;
    transform: rotateX(-68deg) scale(0.78);
    filter: blur(6px);
  }
  70% {
    opacity: 1;
    transform: rotateX(8deg) scale(1.04);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: rotateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes servicesEyebrowIn {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes servicesLineScan {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  55% {
    opacity: 1;
    transform: scaleX(1.16);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes servicesHeadingSettle {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, -54px) rotateX(10deg) scale(0.98);
    filter: blur(8px);
  }
  68% {
    opacity: 1;
    transform: translate3d(0, -3px, 0) rotateX(-2deg) scale(1.012);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes serviceCardSweep {
  0% {
    opacity: 0;
    transform: translateX(-78%);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(78%);
  }
}

@keyframes serviceCardWaveIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 54px, 0) rotateX(11deg) scale(0.96);
    filter: blur(12px);
  }
  64% {
    opacity: 1;
    transform: translate3d(0, -7px, 0) rotateX(-2deg) scale(1.012);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes serviceIconPop {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.88) rotate(-5deg);
    filter: drop-shadow(0 0 0 rgba(98, 232, 255, 0));
  }
  64% {
    opacity: 1;
    transform: translateY(-4px) scale(1.08) rotate(2deg);
    filter: drop-shadow(0 0 24px rgba(98, 232, 255, 0.56));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
    filter: drop-shadow(0 0 12px rgba(98, 232, 255, 0.28));
  }
}

@keyframes serviceTextIn {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes serviceLinkIn {
  0% {
    opacity: 0;
    transform: translateX(-8px);
  }
  70% {
    opacity: 1;
    transform: translateX(5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes visualIgnite {
  from {
    opacity: 0;
    transform: translateX(22px) scale(0.97);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes panelSweep {
  from {
    transform: translateX(-70%);
  }
  to {
    transform: translateX(70%);
  }
}

@keyframes floatDevice {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes orbitCard {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes visualScan {
  0%,
  35% {
    transform: translateX(-100%);
  }
  65%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes phoneHover {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes ctaGlow {
  0%,
  100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 80px rgba(0, 0, 0, 0.35);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 54px rgba(15, 124, 255, 0.24);
  }
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.65);
  }
  50% {
    transform: scaleY(1.2);
  }
}

@media (max-width: 1120px) {
  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: fixed;
    inset: 84px 0 auto 0;
    display: none;
    max-height: calc(100vh - 84px);
    padding: 22px 20px 34px;
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    background: rgba(1, 4, 11, 0.98);
    border-bottom: 1px solid var(--border);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-list,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link,
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 10px;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 8px 12px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
  }

  .has-dropdown::after {
    display: none;
  }

  .has-dropdown.is-open .dropdown-menu {
    display: grid;
  }

  .hero {
    min-height: 0;
  }

  .hero-grid,
  .feature-panel,
  .phone-system,
  .ai-operating-grid,
  .split-section,
  .service-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .ai-operating-copy {
    position: static;
  }

  .ai-service-card-wide {
    grid-template-columns: minmax(110px, 0.4fr) minmax(220px, 1fr);
  }

  .ai-service-card-wide .metric-strip {
    grid-column: 1 / -1;
  }

  .hero-visual {
    min-height: 470px;
  }

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

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

@media (max-width: 760px) {
  h1 {
    font-size: clamp(2.2rem, 9vw, 3.15rem);
  }

  h2 {
    font-size: clamp(1.85rem, 7vw, 2.45rem);
  }

  .container {
    width: calc(100% - 28px);
    max-width: var(--container);
  }

  .section {
    padding: 68px 0;
  }

  .nav-shell {
    min-height: 76px;
  }

  .brand img {
    width: 142px;
  }

  .primary-nav {
    top: 76px;
    max-height: calc(100vh - 76px);
  }

  .hero,
  .hero-page {
    padding-top: 122px;
  }

  .hero {
    padding-bottom: 46px;
  }

  .hero-copy,
  .hero-copy h1 {
    width: 100%;
    max-width: calc(100vw - 28px);
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-copy .lead,
  .hero-copy .eyebrow {
    max-width: calc(100vw - 56px);
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-copy .eyebrow {
    line-height: 1.55;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-title-line--rise .gradient-text {
    white-space: normal;
  }

  .hero-actions,
  .cta-actions,
  .card-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    max-width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-laptop {
    top: 24px;
  }

  .hero-phone {
    top: 116px;
    width: 38%;
  }

  .hero-beat {
    margin-bottom: 18px;
  }

  .hero-drawline {
    inset: 42px 0 54px;
    opacity: 0.65;
  }

  .hero-orbit {
    display: none;
  }

  .float-card {
    display: none;
  }

  .trust-row,
  .metric-strip,
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-6,
  .stats-row,
  .badges,
  .timeline,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-panel,
  .cta-panel {
    padding: 24px;
  }

  .ai-service-grid,
  .ai-service-card-wide {
    grid-template-columns: 1fr;
  }

  .ai-service-card-wide .metric-strip {
    grid-column: auto;
  }

  .ai-signal-list {
    grid-template-columns: 1fr;
  }

  .phone-screen {
    min-height: 470px;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-visual {
    min-height: 320px;
  }
}

body.motion-disabled *,
body.motion-disabled *::before,
body.motion-disabled *::after {
  animation-delay: 0.01ms !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-delay: 0.01ms !important;
  transition-duration: 0.01ms !important;
}

@media (prefers-reduced-motion: reduce) {
  body:not(.motion-enabled) *,
  body:not(.motion-enabled) *::before,
  body:not(.motion-enabled) *::after {
    animation-delay: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-delay: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
