:root {
  --bg-deep: #dfe8ff;
  --bg-alt: #f3f6ff;
  --surface: rgba(255, 255, 255, 0.75);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --primary: #2f6bff;
  --secondary: #31cfe0;
  --accent: #ffb347;
  --text-main: #1a2640;
  --text-muted: #5f6b85;
  --border: rgba(35, 66, 138, 0.14);
  --shadow-soft: 0 25px 40px rgba(24, 63, 150, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", "Noto Sans SC", "PingFang SC", sans-serif;
  background: radial-gradient(circle at 10% 20%, rgba(90, 133, 255, 0.2), transparent 55%),
    radial-gradient(circle at 85% 0%, rgba(123, 209, 255, 0.35), transparent 50%),
    linear-gradient(180deg, var(--bg-deep), var(--bg-alt));
  color: var(--text-main);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(47, 107, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 30px rgba(31, 73, 159, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.6rem 0;
}

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

.brand img {
  width: 62px;
  height: 62px;
  border-radius: 16px;
}

.primary-nav {
  display: flex;
  gap: 1.4rem;
  color: rgba(20, 33, 70, 0.75);
  font-size: 0.95rem;
}

.primary-nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

button.solid,
button.ghost {
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button.solid {
  background: linear-gradient(120deg, #2f6bff, #40d5e3);
  color: #fff;
  box-shadow: 0 12px 24px rgba(47, 107, 255, 0.25);
}

button.ghost {
  border-color: rgba(47, 107, 255, 0.2);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.9);
}

button.solid:hover,
button.ghost:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(47, 107, 255, 0.25);
  background: rgba(255, 255, 255, 0.85);
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
}

section {
  padding: 2.4rem 0;
}

.hero {
  padding-top: 3.2rem;
  position: relative;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.85), rgba(223, 235, 255, 0.8));
  border-bottom: 1px solid rgba(47, 107, 255, 0.08);
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.2rem;
  position: relative;
}

.hero__tag {
  display: inline-flex;
  padding: 0.3rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(47, 107, 255, 0.25);
  font-size: 0.85rem;
  color: var(--primary);
}

.hero__content h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.2rem);
  margin: 0.6rem 0;
}

.hero__lede {
  color: var(--text-muted);
  max-width: 540px;
}

.hero__actions {
  margin: 1.4rem 0 0.8rem;
  display: flex;
  gap: 0.75rem;
}

.hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  color: var(--text-muted);
}

.hero__bullets li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  margin-right: 0.4rem;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.status-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.status-card.glass {
  background: linear-gradient(135deg, rgba(76, 133, 255, 0.9), rgba(255, 255, 255, 0.85));
  color: #fff;
}

.status-card strong {
  display: block;
  font-size: 2rem;
  margin: 0.3rem 0;
}

.status-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
}

.hero-graph {
  position: relative;
  border-radius: 28px;
  padding: 2.5rem;
  border: 1px solid var(--border);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.85), rgba(223, 236, 255, 0.95));
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.graph-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(47, 107, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 107, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}

.graph-line {
  position: absolute;
  inset: 1.5rem;
  border: 2px solid rgba(47, 107, 255, 0.35);
  border-radius: 999px;
}

.graph-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--secondary);
  bottom: 30%;
  right: 20%;
  box-shadow: 0 0 14px rgba(49, 207, 224, 0.6);
  animation: pulse 2.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1);
  }
}

.metrics ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
}

.metrics li {
  text-align: center;
  padding: 1.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.metrics strong {
  display: block;
  font-size: 1.8rem;
  color: var(--text-main);
}

.clients .section-intro {
  text-align: center;
  color: var(--text-muted);
}

.logo-wall {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.logo-wall span {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  text-align: center;
  color: var(--text-main);
  background: var(--surface);
  backdrop-filter: blur(12px);
}

.section-heading {
  max-width: 640px;
}

.solution-grid,
.capability-grid,
.case-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.85rem;
}

.solution-card,
.capability-card,
.case-card {
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.solution-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.services {
  background: linear-gradient(180deg, #f5f7ff, transparent);
}

.service-cards {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(47, 107, 255, 0.15);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 15px 30px rgba(63, 107, 255, 0.12);
}

.service-card img {
  width: 40px;
  height: 40px;
}

.service-card h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-main);
}

.service-card p {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.workflow {
  background: #f3f6ff;
  border-top: 1px solid rgba(47, 107, 255, 0.08);
  border-bottom: 1px solid rgba(47, 107, 255, 0.08);
}

.workflow__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.workflow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.workflow-steps li {
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.workflow-steps strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.4rem;
}

.capability-card h3 {
  margin-top: 0;
}

.ecosystem {
  padding-bottom: 0rem;
}

.ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.ecosystem-map {
  border-radius: 28px;
  border: 1px solid var(--border);
  padding: 2.5rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(225, 233, 255, 0.9));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  box-shadow: var(--shadow-soft);
}

.ecosystem-core {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(47, 107, 255, 0.08);
}

.ecosystem-map span {
  padding: 0.8rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
  background: var(--surface);
}

.case-card blockquote {
  margin: 1.2rem 0 0;
  color: var(--text-muted);
  font-style: italic;
}

.cta {
  border-top: 1px solid rgba(47, 107, 255, 0.08);
  background: linear-gradient(180deg, #eef3ff, #f9fbff);
  padding: 3rem 0;
}

.cta__layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: start;
}

.cta__content ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--text-muted);
  display: grid;
  gap: 0.4rem;
}

.cta-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(47, 107, 255, 0.12);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 30px rgba(47, 107, 255, 0.15);
}

.cta-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cta-form input,
.cta-form textarea {
  border-radius: 14px;
  border: 1px solid rgba(47, 107, 255, 0.25);
  padding: 0.8rem 0.9rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text-main);
}

.cta-form button {
  border: none;
  font-weight: 600;
  background: linear-gradient(120deg, #2f6bff, #40d5e3);
  color: #fff;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(47, 107, 255, 0.25);
}

.site-footer {
  padding: 0rem 0 1rem;
  /*border-top: 1px solid var(--border);*/
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px rgba(47, 107, 255, 0.18);
}

.footer-contact img {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  border: 1px solid rgba(47, 107, 255, 0.15);
  object-fit: cover;
}

.footer-contact__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--text-main);
}

.footer-contact__text strong {
  font-size: 1.05rem;
}

.footer-contact__text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-floating {
  position: fixed;
  right: 24px;
  bottom: 80px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-direction: row-reverse;
}

.contact-floating__trigger {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 35px rgba(47, 107, 255, 0.25);
  font-weight: 600;
}

.contact-floating__panel {
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 35px rgba(47, 107, 255, 0.25);
  transform: translateX(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-floating__panel img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  border: 1px solid rgba(47, 107, 255, 0.15);
  object-fit: cover;
}

.contact-floating__panel p,
.contact-floating__panel small {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-floating:hover .contact-floating__panel {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .site-header[data-menu-open="true"] .primary-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 3;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
  }

  .site-header[data-menu-open="true"] .container {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  section {
    padding: 3.5rem 0;
  }

  .hero__actions {
    flex-direction: column;
  }

  .footer-contact {
    flex-direction: column;
    text-align: center;
  }

  .contact-floating {
    flex-direction: column;
    right: 16px;
  }

  .contact-floating__panel {
    transform: translateY(10px);
  }

  .contact-floating:hover .contact-floating__panel {
    transform: translateY(0);
  }
}
