/* =============================================================================
   AIIGIX TECHNOLOGIES — Enterprise UI
   --primary / --secondary · Glass + gradient
   ============================================================================= */

:root {
  --primary: #5a4fcf;
  --secondary: #2ea3f2;
  --gradient: linear-gradient(135deg, #5a4fcf, #2ea3f2);
  /* Aliases used across this stylesheet */
  --purple: var(--primary);
  --blue: var(--secondary);
  --purple-deep: #4338a8;
  --blue-deep: #1b7ec4;
  --gradient-h: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-shine: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.08) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  --bg-dark: #0a0a12;
  --bg-elevated: #12121c;
  --text: #f4f4f8;
  --text-muted: rgba(244, 244, 248, 0.72);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-glow: 0 0 60px rgba(90, 79, 207, 0.25);
  --header-h: 76px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-dark);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

a:hover {
  color: #5ec4ff;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

/* ----- Page loader ----- */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

#page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-ring {
  width: 52px;
  height: 52px;
  border: 3px solid var(--glass-border);
  border-top-color: var(--blue);
  border-right-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ----- Ambient background ----- */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(90, 79, 207, 0.35), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(46, 163, 242, 0.22), transparent),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(90, 79, 207, 0.15), transparent),
    var(--bg-dark);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gradient-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.section__title {
  color: var(--text);
}

.section__desc {
  font-size: 1.05rem;
  margin-top: 12px;
}

/* ----- Glass card ----- */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glow);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 163, 242, 0.35);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 0 40px rgba(90, 79, 207, 0.2);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 32px rgba(90, 79, 207, 0.45);
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-shine);
  opacity: 0.6;
  pointer-events: none;
}

.btn--primary:hover {
  box-shadow: 0 12px 40px rgba(46, 163, 242, 0.4);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(46, 163, 242, 0.4);
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 18, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9100;
}

.brand__logo {
  height: 40px;
  width: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  background: var(--gradient-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand__sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Nav desktop */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 1199px) {
  .nav-desktop {
    display: none;
  }
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-item:focus-within > .nav-link {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-link i {
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform 0.25s var(--ease);
}

.nav-item:focus-within > .nav-link i {
  transform: rotate(180deg);
}

/* Mega panel */
.mega-panel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  top: 100%;
  min-width: 280px;
  max-width: min(920px, calc(100vw - 48px));
  padding: 24px;
  margin-top: 0;
  background: rgba(18, 18, 28, 0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), visibility 0.25s, transform 0.25s var(--ease);
}

.nav-item:focus-within .mega-panel,
.nav-item:hover .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-panel--wide {
  min-width: 640px;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px 28px;
}

.mega-col__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--glass-border);
}

.mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-list li {
  margin-bottom: 6px;
}

.mega-list a {
  display: block;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}

.mega-list a:hover {
  background: rgba(90, 79, 207, 0.2);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .btn {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  z-index: 9100;
}

@media (max-width: 1199px) {
  .nav-toggle {
    display: flex;
  }
}

/* Mobile drawer */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 9050;
  background: rgba(10, 10, 18, 0.97);
  backdrop-filter: blur(16px);
  padding: calc(var(--header-h) + 16px) 24px 32px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}

.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (min-width: 1200px) {
  .nav-mobile {
    display: none;
  }
}

.mm-accordion {
  border-bottom: 1px solid var(--glass-border);
}

.mm-accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.mm-accordion__panel {
  display: none;
  padding-bottom: 16px;
}

.mm-accordion.is-open .mm-accordion__panel {
  display: block;
}

.mm-accordion__panel .mega-list a {
  padding: 10px 0;
}

.mm-link {
  display: block;
  padding: 16px 0;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--glass-border);
}

/* ----- Hero slider ----- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s linear;
}

.hero-slide.is-active .hero-slide__bg {
  transform: scale(1);
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 18, 0.92) 0%,
    rgba(90, 79, 207, 0.45) 45%,
    rgba(46, 163, 242, 0.35) 100%
  );
}

.hero-slide__shine {
  position: absolute;
  inset: 0;
  background: var(--gradient-shine);
  opacity: 0.4;
  mix-blend-mode: overlay;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 48px 0 80px;
}

.hero__content .hero-slide-panel {
  display: none;
}

.hero__content .hero-slide-panel.is-active {
  display: block;
  animation: fadeUp 0.8s var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageHeroTitleIn {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes pageHeroTitleSheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

.hero__sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.hero__dot.is-active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.15);
}

.hero__arrows {
  position: absolute;
  bottom: 32px;
  right: max(24px, calc((100vw - 1200px) / 2));
  z-index: 5;
  display: flex;
  gap: 8px;
}

.hero__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--blue);
}

/* Home hero: controls live in bottom bar, not absolutely over slide */
.hero--home .hero__dots {
  position: relative;
  inset: auto;
  bottom: auto;
  left: auto;
  transform: none;
  margin: 0;
}

.hero--home .hero__arrows {
  position: relative;
  inset: auto;
  bottom: auto;
  right: auto;
  margin: 0;
}

/* ----- Inner page hero ----- */
.page-hero {
  padding: calc(var(--header-h) + 56px) 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% -20%, rgba(90, 79, 207, 0.35), transparent);
  z-index: -1;
}

.page-hero h1 {
  color: var(--text);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb span {
  opacity: 0.5;
}

/* ----- Scroll reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ----- Service cards ----- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.service-card {
  padding: 28px;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--gradient);
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(90, 79, 207, 0.35);
}

.service-card h3 {
  color: var(--text);
  margin-bottom: 10px;
}

/* ----- Industries ----- */
.grid-industries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.industry-tile {
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.industry-tile__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(46, 163, 242, 0.15);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.industry-tile h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.industry-tile a.more {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ----- Why choose ----- */
.grid-why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .grid-why {
    grid-template-columns: 1fr;
  }
}

.why-item {
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(90, 79, 207, 0.25);
  border: 1px solid rgba(90, 79, 207, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b5fd;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ----- Tech strip ----- */
.tech-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tech-pill {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.tech-pill:hover {
  border-color: var(--purple);
  color: #fff;
  transform: translateY(-2px);
}

/* ----- Testimonials ----- */
.testimonial-wrap {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 40px 24px;
}

.testimonial-slide.is-active {
  display: block;
  animation: fadeUp 0.5s var(--ease) both;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 24px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.testimonial-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--glass-border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.testimonial-dots button.is-active {
  background: var(--blue);
  transform: scale(1.2);
}

/* ----- CTA banner ----- */
.cta-banner {
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(90, 79, 207, 0.35) 0%, rgba(46, 163, 242, 0.25) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-shine);
  opacity: 0.5;
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
}

.cta-banner h2 {
  margin-bottom: 12px;
}

.cta-banner p {
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- Footer ----- */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 64px 0 32px;
  margin-top: 40px;
  background: rgba(0, 0, 0, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text);
}

.socials a:hover {
  background: rgba(90, 79, 207, 0.35);
  border-color: var(--purple);
}

/* ----- Back to top ----- */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 8000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(18, 18, 28, 0.9);
  backdrop-filter: blur(12px);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, border-color 0.2s, background 0.2s;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  border-color: var(--blue);
  background: rgba(90, 79, 207, 0.35);
}

/* ----- Contact page ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  padding: 32px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(46, 163, 242, 0.15);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(90, 79, 207, 0.25);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.form-alert--ok {
  background: rgba(46, 163, 242, 0.15);
  border: 1px solid rgba(46, 163, 242, 0.4);
  color: #a5d8ff;
}

.form-alert--err {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  height: 320px;
  margin-top: 32px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

/* ----- Content pages ----- */
.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block.wide {
  max-width: 900px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  padding: 24px;
  text-align: center;
}

.value-card i {
  font-size: 2rem;
  background: var(--gradient-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.job-card {
  padding: 24px;
  margin-bottom: 16px;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
}

.faq-item__q {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-item__a {
  display: none;
  padding-bottom: 20px;
  color: var(--text-muted);
}

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

.anchor-offset {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.solution-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px;
  padding: 16px;
  background: var(--glass);
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
}

.solution-subnav a {
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.solution-subnav a:hover {
  background: rgba(90, 79, 207, 0.35);
  color: #fff;
}

/* =============================================================================
   Homepage — full layout & refinements (index.php)
   ============================================================================= */

.page-home .home {
  position: relative;
}

/* ----- Hero (home) ----- */
.hero--home {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: min(100vh, 980px);
  padding-bottom: 0;
}

.hero--home .hero__noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
}

.hero__orb--1 {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  top: 15%;
  right: -8%;
  background: radial-gradient(circle, rgba(90, 79, 207, 0.5), transparent 70%);
}

.hero__orb--2 {
  width: min(40vw, 320px);
  height: min(40vw, 320px);
  bottom: 25%;
  left: -5%;
  background: radial-gradient(circle, rgba(46, 163, 242, 0.4), transparent 70%);
}

.hero--home .hero__layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 24px;
  flex: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.hero--home .hero__layout.container {
  max-width: 1320px;
}

@media (min-width: 1024px) {
  .hero--home .hero__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 340px);
    gap: 48px;
    padding-top: 48px;
    align-items: end;
  }
}

.hero__main {
  min-width: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  margin-bottom: 24px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5cf2a8, var(--blue));
  box-shadow: 0 0 12px rgba(46, 163, 242, 0.8);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(0.92);
  }
}

.hero--home .hero__content {
  padding: 0 0 24px;
  max-width: 720px;
}

.hero__title-accent {
  background: linear-gradient(105deg, #fff 0%, #c4b5fd 35%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__slide-num {
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.12em;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.hero__counter {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  font-variant-numeric: tabular-nums;
}

.hero__counter-sep {
  opacity: 0.45;
  margin: 0 2px;
}

.hero__progress {
  flex: 1;
  min-width: 120px;
  max-width: 200px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.hero__progress-bar {
  display: block;
  height: 100%;
  width: 33.333%;
  border-radius: 4px;
  background: var(--gradient-h);
  box-shadow: 0 0 16px rgba(46, 163, 242, 0.5);
  transition: width 0.55s var(--ease);
}

/* Aside cards */
.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 3;
}

@media (max-width: 1023px) {
  .hero__aside {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-card {
    flex: 1 1 200px;
    max-width: 100%;
  }
}

.hero-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.hero-card--1 {
  animation: float-card 6s ease-in-out infinite;
}

.hero-card--2 {
  animation: float-card 6s ease-in-out infinite 0.8s;
}

.hero-card--3 {
  animation: float-card 6s ease-in-out infinite 1.6s;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero-card:hover {
  animation: none;
  transform: translateY(-4px) translateX(4px);
  border-color: rgba(46, 163, 242, 0.35);
}

.hero-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  background: var(--gradient);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(90, 79, 207, 0.35);
}

.hero-card__icon--alt {
  background: linear-gradient(135deg, var(--blue), var(--purple-deep));
}

.hero-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero-card__value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-card__hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.35;
}

/* Bottom bar */
.hero__bottom {
  position: relative;
  z-index: 4;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(10, 10, 18, 0.5), rgba(10, 10, 18, 0.85));
  backdrop-filter: blur(20px);
}

.hero__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  padding: 20px 24px 28px;
  max-width: 1320px;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}

.hero__stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 768px) {
  .hero__bottom-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__stat {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
  }

  .hero__stat:last-of-type {
    border-bottom: none;
  }

  .hero__bottom-inner .hero__dots,
  .hero__bottom-inner .hero__arrows {
    justify-content: center;
    width: 100%;
  }

  .hero__bottom-inner > .hero__dots {
    order: 10;
  }

  .hero__bottom-inner > .hero__arrows {
    order: 11;
  }
}

/* ----- Trust strip ----- */
.home-trust {
  padding: 32px 0;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
}

.home-trust__label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.home-trust__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
}

.home-trust__logos span {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.25s;
}

.home-trust__logos span:hover {
  color: rgba(255, 255, 255, 0.65);
}

/* ----- About split ----- */
.home-about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .home-about__grid {
    grid-template-columns: 1fr minmax(320px, 400px);
    gap: 64px;
  }
}

.home-about__lead {
  font-size: 1.12rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.65;
}

.home-about__list {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
}

.home-about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.home-about__list i {
  margin-top: 4px;
  color: var(--blue);
  font-size: 0.85rem;
}

.home-about__panel {
  position: relative;
}

.home-about__glass {
  padding: 32px 28px;
  position: relative;
  z-index: 1;
}

.home-metric {
  padding: 20px 0;
  border-bottom: 1px solid var(--glass-border);
}

.home-metric:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.home-metric:first-child {
  padding-top: 0;
}

.home-metric__value {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.home-metric__label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.home-metric--accent .home-metric__value {
  font-size: 1.85rem;
}

.home-about__glow {
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(ellipse at 50% 50%, rgba(90, 79, 207, 0.25), transparent 65%);
  z-index: 0;
  pointer-events: none;
}

/* ----- Services cards ----- */
.service-card--home {
  position: relative;
  padding-top: 36px;
  overflow: hidden;
}

.service-card__num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: -0.04em;
  pointer-events: none;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
}

.service-card__link:hover {
  color: #7dd3fc;
  gap: 12px;
}

.service-card__link i {
  font-size: 0.75em;
  transition: transform 0.25s var(--ease);
}

.service-card__link:hover i {
  transform: translateX(4px);
}

.home-services__grid .reveal:nth-child(1) {
  transition-delay: 0.05s;
}

.home-services__grid .reveal:nth-child(2) {
  transition-delay: 0.12s;
}

.home-services__grid .reveal:nth-child(3) {
  transition-delay: 0.18s;
}

/* ----- Industries ----- */
.industry-tile--home {
  position: relative;
  overflow: hidden;
}

.industry-tile--home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(90, 79, 207, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.industry-tile--home:hover::before {
  opacity: 1;
}

.industry-tile__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}

.industry-tile__link:hover {
  color: #7dd3fc;
}

.industry-tile__link i {
  font-size: 0.7em;
  transition: transform 0.25s;
}

.industry-tile__link:hover i {
  transform: translateX(3px);
}

/* ----- Why section ----- */
.why-item--home {
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.why-item--home:hover {
  transform: translateY(-2px);
}

.home-why__cta {
  text-align: center;
  margin-top: 36px;
}

/* ----- Tech marquee ----- */
.home-tech__note {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 24px;
  color: var(--text-muted);
}

.tech-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tech-marquee__fade {
  display: none;
}

.tech-marquee__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  width: max-content;
  animation: tech-marquee 45s linear infinite;
}

.tech-marquee:hover .tech-marquee__track {
  animation-play-state: paused;
}

@keyframes tech-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.tech-pill--marquee {
  flex-shrink: 0;
}

/* ----- Testimonials ----- */
.testimonial-wrap--home {
  position: relative;
  padding: 48px 32px 40px;
}

.testimonial-wrap--home::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 28px;
  left: 32px;
  font-size: 1.5rem;
  color: rgba(90, 79, 207, 0.35);
}

.testimonial-wrap--home .testimonial-slide {
  padding-top: 16px;
}

/* ----- CTA ----- */
.cta-banner--home {
  padding: 56px 40px;
}

.cta-banner__glow {
  position: absolute;
  width: 60%;
  height: 120%;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(46, 163, 242, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-banner--home {
  position: relative;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .tech-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .hero-card--1,
  .hero-card--2,
  .hero-card--3 {
    animation: none;
  }

  .hero__badge-dot {
    animation: none;
  }
}

/* =============================================================================
   Inner pages — consistent layout (all /pages/*)
   ============================================================================= */

.page-inner .bg-mesh {
  opacity: 1;
}

/* Rich hero */
.page-hero--inner {
  padding: calc(var(--header-h) + 48px) 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-hero--inner::before {
  display: none;
}

.page-hero__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% -30%, rgba(90, 79, 207, 0.45), transparent 55%),
    radial-gradient(ellipse 50% 50% at 100% 20%, rgba(46, 163, 242, 0.18), transparent 50%),
    radial-gradient(ellipse 40% 40% at 0% 80%, rgba(90, 79, 207, 0.15), transparent 50%);
}

.page-hero__ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 75%);
}

.page-hero__wrap {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.breadcrumb--inner {
  margin-bottom: 24px;
}

.breadcrumb__sep {
  opacity: 0.35;
  margin: 0 6px;
  user-select: none;
}

.breadcrumb__muted {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.breadcrumb__current {
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
}

.page-hero__icon-row {
  margin-bottom: 16px;
}

.page-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  font-size: 1.65rem;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 16px 40px rgba(90, 79, 207, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.inner-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gradient-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 12px;
}

.page-hero__h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  color: var(--text);
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.page-hero__h1--shine {
  color: transparent;
  background: linear-gradient(
    105deg,
    #f4f4f8 0%,
    #d8d2ff 18%,
    #9f94ff 42%,
    #4db8f5 62%,
    #f4f4f8 85%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pageHeroTitleIn 0.85s var(--ease) both, pageHeroTitleSheen 10s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__h1--shine {
    animation: none;
    background: linear-gradient(105deg, #f4f4f8 0%, #c4bdf8 45%, #5ec8ff 100%);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.inner-lead {
  margin: 0 auto;
  max-width: 640px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Main inner column */
.inner-main {
  max-width: 900px;
  margin: 0 auto;
}

.inner-main--wide {
  max-width: 960px;
}

.inner-block {
  padding: 36px 32px;
  margin-bottom: 24px;
}

.inner-block:last-child {
  margin-bottom: 0;
}

.inner-block__title {
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.inner-block__lead {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.6;
}

.inner-section-label {
  text-align: center;
  margin: 8px 0 28px;
}

.inner-section-label .section__title {
  margin-bottom: 0;
}

.inner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
}

.inner-actions--tight {
  margin-top: 28px;
}

/* Icon tiles (3-col) */
.inner-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .inner-tiles {
    grid-template-columns: 1fr;
  }
}

.inner-tile {
  padding: 28px 24px;
  text-align: left;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.inner-tile:hover {
  transform: translateY(-3px);
}

.inner-tile__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(90, 79, 207, 0.9), rgba(46, 163, 242, 0.85));
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(46, 163, 242, 0.25);
}

.inner-tile h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.08rem;
}

/* Solution / long-form stack */
.inner-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  align-items: center;
  justify-content: center;
}

.inner-subnav a {
  font-size: 0.82rem;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.inner-subnav a:hover {
  background: rgba(90, 79, 207, 0.35);
  color: #fff;
}

.inner-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inner-stack-card {
  padding: 28px 32px;
  text-align: left;
}

.inner-stack-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.inner-stack-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  background: var(--gradient);
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(90, 79, 207, 0.35);
}

.inner-stack-card h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--text);
}

.inner-stack-card p {
  margin: 0;
  padding-left: 0;
}

@media (min-width: 600px) {
  .inner-stack-card p {
    padding-left: 64px;
  }

  .inner-stack-card__head {
    margin-bottom: 10px;
  }
}

/* FAQ */
.inner-faq {
  padding: 12px 8px 20px;
}

.inner-faq .faq-item:first-child .faq-item__q {
  padding-top: 12px;
}

/* Jobs */
.inner-roles-title {
  font-size: 1.2rem;
  margin: 32px 0 18px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.job-card--inner h3 {
  margin-bottom: 8px;
  color: var(--text);
}

.job-meta {
  font-size: 0.88rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.job-card--inner .btn {
  margin-top: 18px;
}

/* Values grid polish */
.values-grid--inner .value-card {
  padding: 32px 24px;
}

.values-grid--inner .value-card i {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(46, 163, 242, 0.12);
  border: 1px solid rgba(46, 163, 242, 0.35);
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: var(--blue);
  -webkit-text-fill-color: var(--blue);
  background-clip: border-box;
}

/* Inner CTA band */
.inner-prefooter {
  padding-bottom: 72px;
}

.cta-banner--inner {
  position: relative;
  overflow: hidden;
  padding: 48px 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-banner__sheen {
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 120deg at 50% 50%, transparent, rgba(46, 163, 242, 0.08), transparent, rgba(90, 79, 207, 0.1), transparent);
  animation: cta-sheen-spin 28s linear infinite;
  pointer-events: none;
}

@keyframes cta-sheen-spin {
  to {
    transform: rotate(360deg);
  }
}

.cta-banner--inner h2,
.cta-banner--inner p,
.cta-banner--inner .cta-banner__actions {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .cta-banner__sheen {
    animation: none;
  }
}

/* GDPR disclaimer */
.inner-disclaimer {
  margin-top: 28px;
  font-size: 0.88rem;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}

/* Contact (inner-aligned) */
.inner-contact .contact-card__title {
  margin-bottom: 24px;
  font-size: 1.35rem;
  color: var(--text);
}

.inner-contact .contact-card__title--form {
  margin-bottom: 8px;
}

.inner-contact .contact-card__intro {
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-card__label {
  color: var(--text);
}

.contact-card__hint {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-card__footnote {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* AJAX contact form */
.contact-card--form {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(90, 79, 207, 0.12) 0%, rgba(46, 163, 242, 0.08) 100%),
    var(--glass);
}

.contact-form-alert {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-form-alert[hidden] {
  display: none !important;
}

.contact-form-alert--success {
  background: rgba(46, 163, 242, 0.15);
  border: 1px solid rgba(46, 163, 242, 0.45);
  color: #a5d8ff;
}

.contact-form-alert--error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.contact-form-ajax .contact-form__submit-wrap {
  margin-top: 8px;
}

.contact-form__submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 200px;
}

.contact-form__submit.is-loading {
  pointer-events: none;
  opacity: 0.92;
}

.contact-form__spinner {
  display: none;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  flex-shrink: 0;
}

.contact-form__submit.is-loading .contact-form__spinner {
  display: block;
}

.contact-form__submit.is-loading .contact-form__submit-label {
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
  .contact-form__spinner {
    animation: none;
    border-color: rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
  }
}
