:root {
  --bg: #f7f9fc;
  --bg-soft: #eef4ff;
  --text: #101828;
  --muted: #667085;
  --line: rgba(16, 24, 40, 0.1);
  --white: #ffffff;
  --primary: #5b6cff;
  --primary-dark: #3d49d9;
  --cyan: #12c2e9;
  --orange: #ffb020;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
  --shadow-soft: 0 16px 45px rgba(91, 108, 255, 0.18);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 5%, rgba(91, 108, 255, 0.12), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(18, 194, 233, 0.12), transparent 30%),
    var(--bg);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.section-padded {
  padding: 96px 0;
}

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(91, 108, 255, 0.18), transparent 68%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0.8;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(247, 249, 252, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
}

.navbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(91, 108, 255, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 16px;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #344054;
  font-size: 15px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  transition: color .25s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

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

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

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: #101828;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.18);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform .25s ease, opacity .25s ease;
}

.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  padding-top: 140px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  filter: blur(8px);
  opacity: .22;
}

.hero-bg::before {
  top: 120px;
  right: 4%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
}

.hero-bg::after {
  bottom: 80px;
  left: 5%;
  background: linear-gradient(135deg, var(--orange), var(--primary));
}

.hero-grid,
.split-grid,
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 70px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}

.hero h1 {
  margin: 22px 0 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-desc {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  border-color: rgba(16, 24, 40, 0.1);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.hero-stats div {
  min-width: 145px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 38px rgba(16, 24, 40, 0.07);
}

.hero-stats strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 590px;
  perspective: 1200px;
}

.orb {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
}

.orb-a {
  width: 168px;
  height: 168px;
  right: 22px;
  top: 54px;
  background: rgba(18, 194, 233, 0.2);
}

.orb-b {
  width: 210px;
  height: 210px;
  left: 8px;
  bottom: 36px;
  background: rgba(91, 108, 255, 0.16);
}

.dashboard-card,
.people-card,
.service-card,
.glass-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.main-card {
  position: absolute;
  inset: 72px 0 auto auto;
  width: min(100%, 470px);
  min-height: 330px;
  padding: 26px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  z-index: 3;
}

.card-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #344054;
}

.card-topline b {
  margin-left: auto;
  color: var(--text);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #e8eefb;
}

.dot:nth-child(1) { background: #ff7b7b; }
.dot:nth-child(2) { background: #ffcf5a; }
.dot:nth-child(3) { background: #34d399; }

.workflow-map {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr;
  align-items: center;
  gap: 8px;
}

.node {
  min-height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  background: #f2f5ff;
  color: #344054;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(91, 108, 255, 0.08);
}

.node.active {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: #fff;
}

.node.success {
  background: #101828;
  color: #fff;
}

.line {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  position: relative;
}

.line::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 3px solid var(--cyan);
  border-right: 3px solid var(--cyan);
  transform: translateY(-50%) rotate(45deg);
}

.mini-panels {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mini-panels div {
  padding: 22px;
  border-radius: 22px;
  background: #f8fbff;
  border: 1px solid rgba(16, 24, 40, 0.06);
}

.mini-panels span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.mini-panels strong {
  font-size: 32px;
}

.people-card {
  position: absolute;
  left: 0;
  bottom: 24px;
  width: 300px;
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.13);
  backdrop-filter: blur(16px);
  z-index: 2;
}

.keyword-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.07);
}

.keyword-row span {
  padding: 12px 18px;
  border-radius: 999px;
  background: #f5f7ff;
  color: #344054;
  font-weight: 700;
}

.section-heading {
  max-width: 790px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2,
.content-panel h2,
.contact-copy h2,
.case-card h2 {
  margin: 14px 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.section-heading p,
.content-panel p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  perspective: 1200px;
}

.service-card {
  position: relative;
  min-height: 430px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 58px rgba(16, 24, 40, 0.08);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -38% -30%;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(91, 108, 255, 0.16), transparent 70%);
}

.service-card:hover {
  box-shadow: var(--shadow);
}

.service-card.featured {
  background: linear-gradient(145deg, #101828, #293056);
  color: #fff;
}

.service-card.featured p,
.service-card.featured li {
  color: rgba(255, 255, 255, 0.76);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 16px 35px rgba(91, 108, 255, 0.22);
}

.service-card h3 {
  margin: 28px 0 16px;
  font-size: 25px;
  line-height: 1.35;
}

.service-card p,
.service-card li {
  color: var(--muted);
  line-height: 1.8;
}

.service-card ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.soft-section {
  background: linear-gradient(180deg, transparent, rgba(238, 244, 255, 0.78), transparent);
}

.visual-panel {
  min-height: 420px;
  display: grid;
  place-items: center;
}

.illustration-card {
  width: min(100%, 500px);
  padding: 24px;
  border-radius: 40px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .5)),
    radial-gradient(circle at top right, rgba(18, 194, 233, .16), transparent 42%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}

.content-panel {
  max-width: 560px;
}

.solution-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.solution-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(255,255,255,.84);
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.06);
}

.solution-list b {
  color: var(--primary);
}

.solution-list span {
  color: var(--muted);
  line-height: 1.7;
}

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

.advantage-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.advantage-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--primary);
  font-weight: 900;
}

.advantage-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.advantage-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.timeline-section {
  background: #101828;
  color: #fff;
}

.timeline-section .section-heading p {
  color: rgba(255, 255, 255, 0.66);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.timeline-item {
  padding: 30px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.timeline-item span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  font-weight: 900;
}

.timeline-item h3 {
  margin: 24px 0 12px;
  font-size: 21px;
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  margin: 0;
}

.case-card {
  display: grid;
  grid-template-columns: .6fr 1fr;
  gap: 44px;
  align-items: start;
  padding: 46px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

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

.case-tags span {
  padding: 14px 18px;
  border-radius: 999px;
  background: #f3f6ff;
  border: 1px solid rgba(91, 108, 255, 0.1);
  color: #344054;
  font-weight: 700;
}

.contact-section {
  position: relative;
}

.contact-grid {
  align-items: start;
}

.contact-note {
  margin-top: 30px;
  padding: 20px;
  border-radius: 22px;
  background: #101828;
  color: #fff;
  line-height: 1.8;
}

.contact-form {
  padding: 32px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}

.contact-form span {
  font-weight: 800;
  color: #344054;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 16px;
  background: #f8fbff;
  padding: 15px 16px;
  outline: none;
  color: var(--text);
  transition: border .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(91, 108, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(91, 108, 255, 0.11);
  background: #fff;
}

.contact-form .btn {
  width: 100%;
  margin-top: 6px;
  border: 0;
}

.form-tip {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 14px 0 0;
  text-align: center;
}

.footer {
  padding: 58px 0 28px;
  background: #080c18;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr 1fr;
  gap: 36px;
}

.footer a,
.footer p {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.9;
  margin: 0;
}

.footer h4 {
  margin: 0 0 14px;
  color: #fff;
}

.footer .brand-text strong,
.footer .brand-text small {
  color: #fff;
}

.copyright {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.48);
  font-size: 13px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  transform: translate(-50%, 120px);
  opacity: 0;
  padding: 14px 20px;
  border-radius: 999px;
  background: #101828;
  color: #fff;
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.24);
  transition: transform .3s ease, opacity .3s ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

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

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

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .28s; }

@media (max-width: 1024px) {
  .hero-grid,
  .split-grid,
  .contact-grid,
  .case-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .main-card {
    right: 6%;
  }

  .service-grid,
  .advantage-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section-padded {
    padding: 72px 0;
  }

  .navbar {
    height: 70px;
  }

  .brand-text small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    z-index: 60;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: 80px 14px auto 14px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: var(--shadow);
    display: grid;
    gap: 8px;
    transform: translateY(-18px);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 13px 14px;
    border-radius: 14px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: #f4f6ff;
  }

  .hero {
    padding-top: 116px;
  }

  .hero h1 {
    letter-spacing: -0.045em;
  }

  .hero-desc,
  .section-heading p,
  .content-panel p,
  .contact-copy p {
    font-size: 16px;
  }

  .hero-actions,
  .hero-stats {
    width: 100%;
  }

  .btn,
  .hero-stats div {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .orb {
    display: none;
  }

  .main-card {
    position: relative;
    inset: auto;
    width: 100%;
    z-index: 3;
  }

  .workflow-map {
    grid-template-columns: 1fr;
  }

  .line {
    width: 3px;
    height: 26px;
    margin: 0 auto;
  }

  .line::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -4px;
    transform: translateX(-50%) rotate(135deg);
  }

  .people-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(300px, 86vw);
    margin: 0 auto;
    transform: none !important;
    z-index: 2;
  }

  .keyword-row {
    border-radius: 24px;
  }

  .service-grid,
  .advantage-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .case-card,
  .contact-form {
    padding: 26px;
    border-radius: 26px;
  }

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

  .copyright {
    flex-direction: column;
  }
}

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

  .cursor-glow {
    display: none;
  }
}
