:root {
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --line: rgba(16, 24, 40, 0.08);
  --text: #122033;
  --muted: #5d6b82;
  --primary: #1f6fff;
  --primary-dark: #114ec4;
  --accent: #7bdcff;
  --accent-warm: #ffb86b;
  --dark: #0f1724;
  --dark-soft: #172235;
  --success: #0f9f6e;
  --shadow: 0 24px 60px rgba(20, 37, 63, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(123, 220, 255, 0.35), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(255, 184, 107, 0.18), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 14px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 251, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.nav-wrap,
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: block;
  object-fit: contain;
  box-shadow: 0 10px 24px rgba(31, 111, 255, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--primary);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.nav-cta,
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), #49b7ff);
  box-shadow: 0 14px 30px rgba(31, 111, 255, 0.25);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

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

.hero {
  padding: 72px 0 54px;
}

.hero-grid,
.section-grid,
.history-grid,
.trust-grid,
.capability-grid,
.timeline-grid,
.cta-panel {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}

.eyebrow,
.section-kicker,
.placeholder-label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--primary);
  text-transform: uppercase;
}

.section-kicker.light {
  color: #8ac5ff;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.15;
}

h1 {
  font-size: clamp(38px, 6vw, 68px);
  max-width: 11ch;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 22px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 64ch;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 28px;
}

.hero-points {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.hero-points li + li {
  margin-top: 10px;
}

.hero-card {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.ai-hero-visual {
  position: absolute;
  inset: -12px -34px auto auto;
  width: min(92%, 560px);
  margin: 0;
  z-index: 1;
  opacity: 0.95;
  filter: drop-shadow(0 30px 50px rgba(18, 32, 51, 0.18));
  animation: floatVisual 7s ease-in-out infinite;
}

.ai-hero-visual img {
  width: 100%;
  height: auto;
}

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

.glass-card,
.service-card,
.logo-card,
.testimonial-card,
.capability-card,
.timeline-card,
.trust-item,
.placeholder-card {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.stat-card {
  position: relative;
  z-index: 2;
  width: min(100%, 460px);
  margin-top: 220px;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.stat-label {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 800;
}

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

.mini-metrics div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 111, 255, 0.08);
}

.mini-metrics strong {
  display: block;
  font-size: 24px;
  margin-bottom: 6px;
}

.mini-metrics span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.hero-accent {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.hero-accent-1 {
  inset: 36px 20px auto auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(123, 220, 255, 0.95), rgba(123, 220, 255, 0.08));
}

.hero-accent-2 {
  inset: auto auto 14px 18px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(31, 111, 255, 0.8), rgba(31, 111, 255, 0.06));
}

.section {
  padding: 84px 0;
}

.section-soft,
.trust-strip {
  background: rgba(255, 255, 255, 0.55);
}

.section-dark {
  color: white;
  background: linear-gradient(135deg, var(--dark), var(--dark-soft));
}

.section-grid,
.history-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.section-head {
  margin-bottom: 28px;
}

.section-head.narrow {
  max-width: 760px;
}

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

.trust-item,
.capability-card,
.timeline-card,
.service-card,
.logo-card,
.testimonial-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.trust-item strong,
.placeholder-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.trust-item span,
.service-card p,
.logo-card span,
.testimonial-card footer,
.capability-card p,
.timeline-card p,
.info-item p,
.placeholder-card,
.contact-line {
  color: var(--muted);
}

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

.service-grid,
.logo-grid,
.testimonial-grid,
.contact-placeholder {
  display: grid;
  gap: 20px;
}

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

.service-showcase {
  position: relative;
  overflow: hidden;
}

.service-showcase::before {
  content: '';
  position: absolute;
  inset: 40px auto auto 50%;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(31, 111, 255, 0.12), transparent 68%);
  transform: translateX(-50%);
  pointer-events: none;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: auto -48px -58px auto;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: rgba(123, 220, 255, 0.2);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--primary);
  background: rgba(31, 111, 255, 0.1);
  font-weight: 800;
}

.featured-service {
  color: white;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.featured-service p,
.featured-service .service-icon {
  color: rgba(255, 255, 255, 0.86);
}

.featured-service .service-icon {
  background: rgba(255, 255, 255, 0.16);
}

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

.logo-card {
  font-weight: 800;
  text-align: center;
}

.logo-card span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}

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

.testimonial-card p {
  margin-top: 0;
  font-size: 18px;
}

.page-hero {
  padding: 96px 0 40px;
}

.page-hero-card {
  position: relative;
  max-width: 920px;
  min-height: 260px;
  padding: 36px min(42%, 360px) 36px 36px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-hero-illustration {
  position: absolute;
  right: -70px;
  bottom: -96px;
  width: min(46%, 390px);
  opacity: 0.95;
  pointer-events: none;
}

.visual-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-right: 12px;
  border-radius: 14px;
  background: rgba(31, 111, 255, 0.1);
  color: var(--primary);
  font-size: 22px;
  vertical-align: middle;
  box-shadow: inset 0 0 0 1px rgba(31, 111, 255, 0.08);
}

.content-stack,
.info-list,
.contact-lines {
  display: grid;
  gap: 18px;
}

.info-item {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(18, 32, 51, 0.06);
}

.contact-card,
.cta-panel {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.contact-card {
  max-width: 860px;
}

.contact-line {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: #f6f9ff;
  border: 1px solid rgba(31, 111, 255, 0.08);
}

.contact-placeholder {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.placeholder-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

a.placeholder-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

a.placeholder-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 111, 255, 0.24);
}

.timeline-card {
  position: relative;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(31, 111, 255, 0.12);
  color: var(--primary);
  font-weight: 800;
}

.cta-panel {
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
}

.site-footer {
  padding: 10px 0 30px;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .capability-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-placeholder {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .section-grid,
  .history-grid,
  .service-grid,
  .logo-grid,
  .testimonial-grid,
  .trust-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .site-header {
    position: static;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    max-width: none;
  }

  .hero-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .section,
  .hero,
  .page-hero {
    padding: 62px 0;
  }

  .stat-card,
  .service-card,
  .logo-card,
  .testimonial-card,
  .contact-card,
  .page-hero-card,
  .capability-card,
  .timeline-card,
  .trust-item,
  .placeholder-card,
  .cta-panel {
    padding: 24px;
  }

  .hero-actions,
  .footer-wrap,
  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .mini-metrics,
  .capability-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }
}

.hero-badges,
.solution-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.hero-badges span,
.solution-tabs span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(31, 111, 255, 0.08);
  border: 1px solid rgba(31, 111, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
}

.system-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.node,
.link {
  position: absolute;
  display: block;
}

.node {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(123,220,255,0.7));
  border: 1px solid rgba(31, 111, 255, 0.16);
  box-shadow: 0 18px 42px rgba(31, 111, 255, 0.18);
}

.node::after {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  background: var(--primary);
}

.node-a { top: 32px; left: 42px; }
.node-b { top: 80px; right: 34px; }
.node-c { bottom: 78px; left: 16px; }
.node-d { bottom: 38px; right: 74px; }

.link {
  height: 2px;
  width: 170px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(31,111,255,0), rgba(31,111,255,0.36), rgba(123,220,255,0));
}

.link-1 { top: 92px; left: 96px; transform: rotate(10deg); }
.link-2 { top: 245px; left: 72px; width: 320px; transform: rotate(-18deg); }
.link-3 { bottom: 106px; right: 120px; transform: rotate(18deg); }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.kpi-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, rgba(255,255,255,0.72));
  border: 1px solid rgba(31, 111, 255, 0.1);
  box-shadow: 0 16px 40px rgba(18, 32, 51, 0.06);
}

.kpi-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 26px;
  line-height: 1.15;
}

.kpi-card span {
  color: var(--muted);
}

@media (max-width: 960px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-visual { display: none; }
}

@media (max-width: 640px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .hero-badges span,
  .solution-tabs span { font-size: 12px; }
}

/* Motion polish layer */
body::before,
body::after {
  content: '';
  position: fixed;
  inset: auto;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.55;
  animation: float-orb 14s ease-in-out infinite alternate;
}

body::before {
  width: 360px;
  height: 360px;
  left: -120px;
  top: 18%;
  background: radial-gradient(circle, rgba(31,111,255,0.22), transparent 68%);
}

body::after {
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: 8%;
  background: radial-gradient(circle, rgba(123,220,255,0.22), transparent 70%);
  animation-delay: -5s;
}

.site-header {
  box-shadow: 0 10px 38px rgba(18, 32, 51, 0.045);
}

.brand-mark {
  position: relative;
  overflow: hidden;
  animation: brand-pulse 4s ease-in-out infinite;
}

.brand-mark::after,
.btn-primary::after,
.nav-cta::after {
  content: '';
  position: absolute;
  inset: -45% auto -45% -80%;
  width: 58%;
  transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: shine 3.8s ease-in-out infinite;
}

.nav a:not(.nav-cta) {
  position: relative;
}

.nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.btn,
.nav-cta {
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn-primary:hover,
.nav-cta:hover {
  box-shadow: 0 22px 48px rgba(31, 111, 255, 0.34);
}

.btn-secondary:hover {
  border-color: rgba(31,111,255,0.28);
  box-shadow: 0 16px 36px rgba(18, 32, 51, 0.08);
}

.hero-copy,
.page-hero-card {
  animation: fade-up 0.85s cubic-bezier(.16,1,.3,1) both;
}

.hero-card {
  animation: fade-scale 0.95s cubic-bezier(.16,1,.3,1) 0.12s both;
}

.eyebrow,
.section-kicker {
  background: linear-gradient(90deg, var(--primary), #35b8ff, var(--primary));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-text 5s ease-in-out infinite;
}

h1 {
  letter-spacing: -0.045em;
}

.glass-card,
.page-hero-card,
.contact-card,
.cta-panel {
  position: relative;
  overflow: hidden;
}

.glass-card::before,
.page-hero-card::before,
.contact-card::before,
.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.55), transparent 38%, rgba(123,220,255,0.12));
}

.hero-accent-1 { animation: morph-float 8s ease-in-out infinite alternate; }
.hero-accent-2 { animation: morph-float 10s ease-in-out infinite alternate-reverse; }

.node {
  animation: node-float 5.5s ease-in-out infinite;
}
.node-b { animation-delay: -1.2s; }
.node-c { animation-delay: -2.4s; }
.node-d { animation-delay: -3.2s; }

.node::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  border: 1px solid rgba(31,111,255,0.18);
  animation: ping-soft 2.8s ease-out infinite;
}

.link {
  overflow: hidden;
  opacity: 0.9;
}

.link::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -45%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.95), transparent);
  animation: data-flow 2.4s linear infinite;
}

.hero-badges span,
.solution-tabs span {
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.hero-badges span:hover,
.solution-tabs span:hover {
  transform: translateY(-3px) scale(1.03);
  background: rgba(31,111,255,0.13);
  box-shadow: 0 12px 28px rgba(31,111,255,0.12);
}

.trust-item,
.capability-card,
.timeline-card,
.service-card,
.logo-card,
.testimonial-card,
.info-item,
.kpi-card,
.placeholder-card {
  transform: translateZ(0);
  transition:
    transform 0.35s cubic-bezier(.16,1,.3,1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.trust-item:hover,
.capability-card:hover,
.timeline-card:hover,
.service-card:hover,
.logo-card:hover,
.testimonial-card:hover,
.info-item:hover,
.kpi-card:hover,
.placeholder-card:hover {
  transform: translateY(-8px);
  border-color: rgba(31,111,255,0.25);
  box-shadow: 0 30px 70px rgba(18,32,51,0.14);
}

.service-card::before,
.capability-card::before,
.timeline-card::before,
.kpi-card::before,
.info-item::before,
.logo-card::before,
.trust-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(31,111,255,0.45), rgba(123,220,255,0.2), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card:hover::before,
.capability-card:hover::before,
.timeline-card:hover::before,
.kpi-card:hover::before,
.info-item:hover::before,
.logo-card:hover::before,
.trust-item:hover::before {
  opacity: 1;
}

.service-card,
.capability-card,
.timeline-card,
.kpi-card,
.info-item,
.logo-card,
.trust-item {
  position: relative;
}

.service-icon,
.step-badge {
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), box-shadow 0.35s ease;
}

.service-card:hover .service-icon,
.timeline-card:hover .step-badge {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 14px 32px rgba(31,111,255,0.18);
}

.featured-service {
  background-size: 180% 180%;
  animation: featured-gradient 6s ease-in-out infinite;
}

.logo-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.72));
}

.kpi-card strong {
  background: linear-gradient(90deg, var(--primary-dark), #21b7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-dark {
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(31,111,255,0.34), transparent 70%);
  animation: float-orb 12s ease-in-out infinite alternate;
}

.section-dark > .container {
  position: relative;
  z-index: 1;
}

.hero-points li,
.content-stack p,
.info-list .info-item,
.trust-grid .trust-item,
.capability-grid .capability-card,
.service-grid .service-card,
.timeline-grid .timeline-card,
.logo-grid .logo-card,
.kpi-grid .kpi-card,
.contact-lines .contact-line,
.contact-placeholder .placeholder-card {
  animation: fade-up 0.75s cubic-bezier(.16,1,.3,1) both;
}

.hero-points li:nth-child(2),
.trust-grid > *:nth-child(2),
.capability-grid > *:nth-child(2),
.service-grid > *:nth-child(2),
.timeline-grid > *:nth-child(2),
.logo-grid > *:nth-child(2),
.kpi-grid > *:nth-child(2),
.contact-placeholder > *:nth-child(2) { animation-delay: 0.08s; }
.hero-points li:nth-child(3),
.trust-grid > *:nth-child(3),
.capability-grid > *:nth-child(3),
.service-grid > *:nth-child(3),
.timeline-grid > *:nth-child(3),
.logo-grid > *:nth-child(3),
.kpi-grid > *:nth-child(3),
.contact-placeholder > *:nth-child(3) { animation-delay: 0.16s; }
.capability-grid > *:nth-child(4),
.service-grid > *:nth-child(4),
.timeline-grid > *:nth-child(4),
.logo-grid > *:nth-child(4),
.kpi-grid > *:nth-child(4) { animation-delay: 0.24s; }
.service-grid > *:nth-child(5) { animation-delay: 0.32s; }
.service-grid > *:nth-child(6) { animation-delay: 0.40s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-scale {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shine {
  0%, 55% { transform: translateX(0) rotate(20deg); }
  100% { transform: translateX(360%) rotate(20deg); }
}

@keyframes brand-pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(31,111,255,0.30); }
  50% { box-shadow: 0 16px 34px rgba(31,111,255,0.46); }
}

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

@keyframes float-orb {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(28px,-36px,0) scale(1.08); }
}

@keyframes morph-float {
  0% { transform: translate3d(0,0,0) scale(1); border-radius: 42% 58% 55% 45%; }
  50% { transform: translate3d(10px,-18px,0) scale(1.04); border-radius: 58% 42% 48% 52%; }
  100% { transform: translate3d(-8px,14px,0) scale(0.98); border-radius: 50% 50% 40% 60%; }
}

@keyframes node-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}

@keyframes ping-soft {
  0% { opacity: 0.75; transform: scale(0.88); }
  100% { opacity: 0; transform: scale(1.45); }
}

@keyframes data-flow {
  to { transform: translateX(360%); }
}

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

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

/* Premium interaction layer */
:root {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --spot-x: 50%;
  --spot-y: 50%;
}

::selection {
  color: #fff;
  background: var(--primary);
}

body {
  background-attachment: fixed;
}

body::before,
body::after {
  mix-blend-mode: multiply;
}

.site-header {
  transition: min-height 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(248, 251, 255, 0.88);
  border-bottom-color: rgba(31, 111, 255, 0.08);
  box-shadow: 0 18px 48px rgba(18, 32, 51, 0.09);
}

.brand-mark::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 10px;
}

.hero-card {
  perspective: 1100px;
  transform-style: preserve-3d;
}

.stat-card {
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.18s ease-out, box-shadow 0.25s ease;
}

.stat-card::after,
.service-card::before,
.capability-card::after,
.timeline-card::after,
.kpi-card::after,
.trust-item::after,
.logo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.stat-card::after {
  background: radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(255,255,255,0.55), transparent 32%);
  opacity: 0.85;
  mix-blend-mode: screen;
}

.ops-console {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding: 14px;
  border-radius: 18px;
  color: #b9e7ff;
  background: rgba(8, 18, 35, 0.88);
  border: 1px solid rgba(123,220,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 48px rgba(8,18,35,0.18);
  font-size: 12px;
}

.ops-console span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #42ffb1;
  box-shadow: 0 0 18px #42ffb1;
  animation: console-blink 1.4s ease-in-out infinite;
}

.ops-console code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.orbit,
.radar-sweep,
.packet {
  position: absolute;
  display: block;
  pointer-events: none;
}

.orbit {
  inset: 54px 36px;
  border: 1px dashed rgba(31,111,255,0.18);
  border-radius: 42% 58% 48% 52%;
  animation: orbit-spin 18s linear infinite;
}

.orbit-2 {
  inset: 108px 72px;
  border-color: rgba(123,220,255,0.25);
  animation-duration: 24s;
  animation-direction: reverse;
}

.radar-sweep {
  width: 320px;
  height: 320px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, rgba(123,220,255,0.0), rgba(123,220,255,0.18), rgba(31,111,255,0.0) 33%);
  filter: blur(0.2px);
  animation: sweep 7s linear infinite;
}

.packet {
  width: 10px;
  height: 10px;
  z-index: 2;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px rgba(123,220,255,0.95), 0 0 34px rgba(31,111,255,0.45);
}

.packet-1 { top: 89px; left: 100px; animation: packet-one 3.2s linear infinite; }
.packet-2 { top: 244px; left: 76px; animation: packet-two 4s linear infinite; }
.packet-3 { bottom: 108px; right: 120px; animation: packet-three 3.6s linear infinite; }

.service-card::before,
.capability-card::after,
.timeline-card::after,
.kpi-card::after,
.trust-item::after,
.logo-card::after {
  background: linear-gradient(120deg, transparent 12%, rgba(255,255,255,0.42), transparent 32%);
  opacity: 0;
  transform: translateX(-65%);
  transition: opacity 0.25s ease;
}

.service-card:hover::before,
.capability-card:hover::after,
.timeline-card:hover::after,
.kpi-card:hover::after,
.trust-item:hover::after,
.logo-card:hover::after {
  opacity: 1;
  animation: card-glint 1s ease;
}

.section-head h2,
.hero-copy h1 {
  text-wrap: balance;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(10px);
  transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1), filter 0.8s ease;
}

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

@keyframes console-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.78); }
}

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

@keyframes sweep {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes packet-one {
  from { transform: translate3d(0,0,0); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  to { transform: translate3d(190px,34px,0); opacity: 0; }
}

@keyframes packet-two {
  from { transform: translate3d(0,0,0); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  to { transform: translate3d(292px,-96px,0); opacity: 0; }
}

@keyframes packet-three {
  from { transform: translate3d(0,0,0); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  to { transform: translate3d(-180px,-58px,0); opacity: 0; }
}

@keyframes card-glint {
  to { transform: translateX(75%); }
}

@media (max-width: 960px) {
  .orbit,
  .radar-sweep,
  .packet { display: none; }
  .stat-card { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Professional subpage polish */
.nav a[aria-current="page"], .nav a.active { color: var(--primary); }
.page-hero-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:28px; align-items:center; }
.subpage-hero { position:relative; overflow:hidden; }
.subpage-hero::after { content:''; position:absolute; inset:18% -12% auto auto; width:420px; height:420px; border-radius:999px; background:radial-gradient(circle, rgba(31,111,255,.18), transparent 70%); filter:blur(4px); }
.subpage-orb { min-height:320px; position:relative; border-radius:var(--radius-xl); background:linear-gradient(145deg, rgba(15,23,36,.96), rgba(17,78,196,.86)); box-shadow:var(--shadow); overflow:hidden; }
.subpage-orb::before { content:''; position:absolute; inset:34px; border:1px solid rgba(255,255,255,.18); border-radius:50%; }
.subpage-orb span { position:absolute; width:86px; height:86px; border-radius:24px; background:linear-gradient(135deg, rgba(123,220,255,.92), rgba(31,111,255,.58)); box-shadow:0 24px 50px rgba(0,0,0,.22); animation:node-float 5s ease-in-out infinite; }
.subpage-orb span:nth-child(1){ left:18%; top:22%; } .subpage-orb span:nth-child(2){ right:18%; top:34%; animation-delay:-1.4s;} .subpage-orb span:nth-child(3){ left:42%; bottom:16%; animation-delay:-2.7s;}
.pro-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.info-list.pro-grid { display:grid; }
.pro-card { min-height:260px; background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.78)); overflow:hidden; }
.pro-card h3 { letter-spacing:-.02em; }
.pro-card::after { content:''; position:absolute; right:-40px; bottom:-50px; width:140px; height:140px; border-radius:999px; background:rgba(31,111,255,.08); }
.site-footer { margin-top:20px; border-top:1px solid rgba(16,24,40,.08); background:rgba(255,255,255,.42); }
@media (max-width: 960px){ .page-hero-grid,.pro-grid{grid-template-columns:1fr;} .subpage-orb{min-height:220px;} .nav{gap:12px; overflow-x:auto; padding-bottom:8px;} .nav-wrap{align-items:flex-start; flex-direction:column; padding:14px 0;} }

/* Unified navigation and readable professional typography */
body {
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.nav {
  gap: 16px;
  font-size: 14.5px;
  font-weight: 600;
}

.nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.nav-group > a::after {
  content: '▾';
  margin-left: 6px;
  font-size: 10px;
  color: rgba(93, 107, 130, 0.76);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 4px);
  left: -18px;
  min-width: 245px;
  padding: 12px;
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 54px rgba(15, 23, 36, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.18s ease;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.nav-dropdown a:hover {
  background: rgba(31, 111, 255, 0.08);
}

p, li {
  font-size: 16px;
}

.lead {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.72;
}

h1 {
  letter-spacing: -0.055em;
  max-width: 13ch;
}

h2 {
  letter-spacing: -0.035em;
}

h3 {
  letter-spacing: -0.02em;
}

.compact-hero {
  padding-bottom: 26px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 34px;
  align-items: start;
}

.detail-main,
.detail-aside {
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.detail-main {
  padding: clamp(28px, 4vw, 46px);
}

.detail-main p {
  color: var(--muted);
  max-width: 78ch;
}

.detail-aside {
  padding: 28px;
  position: sticky;
  top: 104px;
}

.detail-aside ul {
  margin: 0 0 24px;
  padding-left: 18px;
  color: var(--muted);
}

.detail-aside li + li {
  margin-top: 10px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,251,255,.72));
}

.feature-list div::before {
  content: '✓';
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--success), #31c48d);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .nav { gap: 10px; font-size: 13.5px; }
  .nav-cta { padding-inline: 16px; }
}

@media (max-width: 960px) {
  .nav-group { min-height: auto; }
  .nav-dropdown {
    position: static;
    display: none;
    min-width: 100%;
    margin-top: 8px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-group:hover .nav-dropdown,
  .nav-group:focus-within .nav-dropdown { display: block; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  h1 { max-width: 100%; }
}
