:root {
  --bg: #06111f;
  --bg-2: #091a2d;
  --panel: rgba(12, 28, 49, 0.78);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(144, 224, 239, 0.18);
  --line-strong: rgba(144, 224, 239, 0.36);
  --text: #eef7ff;
  --muted: #9fb4c8;
  --cyan: #22d3ee;
  --green: #34d399;
  --blue: #60a5fa;
  --dark: #020817;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 5%, rgba(34, 211, 238, 0.18), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(52, 211, 153, 0.12), transparent 28%),
    var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { overflow-wrap: anywhere; }

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(144, 224, 239, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(144, 224, 239, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 10, 22, 0.78);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 36px;
  border-radius: 8px;
  color: var(--dark);
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(238, 247, 255, 0.78);
  font-size: 14px;
}

.site-nav a:hover { color: var(--white); }

.nav-cta,
.lang-switch {
  padding: 9px 14px;
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 8px;
  color: var(--green);
  background: rgba(52, 211, 153, 0.1);
}

.lang-switch {
  min-width: 48px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
  min-height: calc(100vh - 73px);
  padding: clamp(64px, 8vw, 118px) clamp(20px, 5vw, 72px) clamp(52px, 7vw, 90px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.slogan {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(238, 247, 255, 0.88);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 900;
}

h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.03;
  letter-spacing: 0;
}

html[lang="en"] h1 {
  font-size: clamp(42px, 5.2vw, 68px);
}

.hero-lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}

.btn.primary {
  color: #03101c;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 22px 50px rgba(34, 211, 238, 0.22);
}

.btn.secondary {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 46px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats dt {
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

.visual-card {
  position: absolute;
  display: grid;
  gap: 4px;
  max-width: 260px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(2, 8, 23, 0.82);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
}

.visual-card strong { color: var(--white); }
.visual-card span { color: var(--muted); font-size: 12px; }
.card-top { top: 15%; right: -18px; }
.card-bottom { left: -22px; bottom: 16%; }

.tech-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.tech-strip span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  scroll-margin-top: 80px;
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(360px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.intro-copy h2,
.section-head h2,
.feature-copy h2,
.case-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
}

.intro-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.11), rgba(52, 211, 153, 0.06)),
    var(--panel);
}

.intro-panel p,
.section-head p,
.feature-copy p,
.case-copy p,
.contact-copy p {
  color: var(--muted);
}

.section-head {
  max-width: 900px;
  margin-bottom: 34px;
}

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

.service-grid article,
.industry-grid article,
.pricing-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.18);
}

.service-grid article {
  min-height: 250px;
  padding: 24px;
}

.service-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--green);
  background: rgba(52, 211, 153, 0.08);
  font-weight: 900;
}

.service-grid h3,
.industry-grid h3,
.case-list h3,
.pricing-grid h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.32;
}

.service-grid p,
.industry-grid p,
.case-list p,
.pricing-grid li {
  color: var(--muted);
}

.image-feature {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
}

.feature-media {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.feature-media img {
  width: 100%;
  border-radius: 12px;
}

.feature-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-copy li {
  padding: 14px 16px 14px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(238, 247, 255, 0.86);
  background:
    linear-gradient(var(--green), var(--green)) 18px 50% / 9px 9px no-repeat,
    rgba(255, 255, 255, 0.04);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.industry-grid article {
  overflow: hidden;
  padding: 0 22px 24px;
}

.industry-visual {
  height: 240px;
  margin: 0 -22px 22px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: #071426;
}

.industry-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cases {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(520px, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  padding-top: clamp(54px, 7vw, 86px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(3, 10, 22, 0.36);
}

.case-head {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.62fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: end;
  margin-bottom: 8px;
}

.case-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.case-head h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.1;
}

.case-head p {
  margin: 0;
  color: var(--muted);
}

.case-copy {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 18px;
}

.case-tabs {
  display: grid;
  gap: 10px;
}

.case-tabs button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.case-tabs button.active {
  color: #03101c;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.case-summary {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.14), transparent 34%),
    var(--panel);
}

.case-summary span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.case-summary h3 {
  margin: 12px 0 8px;
  font-size: 24px;
  line-height: 1.26;
}

.case-summary p {
  margin: 0;
  color: var(--muted);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.case-tags span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(238, 247, 255, 0.82);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
}

.case-carousel {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.case-stage {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 12px;
  background: var(--dark);
}

.case-stage img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  transition: opacity 220ms ease;
}

.case-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  max-width: 560px;
  padding: 18px;
  border: 1px solid rgba(144, 224, 239, 0.28);
  border-radius: 8px;
  background: rgba(2, 8, 23, 0.78);
  backdrop-filter: blur(14px);
}

.case-caption span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-caption h3 {
  margin: 6px 0 6px;
  font-size: 24px;
}

.case-caption p {
  margin: 0;
  color: var(--muted);
}

.case-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.case-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 26px;
  cursor: pointer;
}

.case-dots {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 8px;
}

.case-dots button {
  width: 10px;
  height: 10px;
  min-width: 10px;
  padding: 0;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.16);
}

.case-dots button.active {
  background: var(--green);
}

.case-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.case-thumbs button {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.case-thumbs button.active {
  border-color: rgba(52, 211, 153, 0.7);
  background: rgba(52, 211, 153, 0.09);
}

.case-thumbs img {
  width: 88px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
}

.case-thumbs strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  line-height: 1.25;
}

.case-thumbs span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.pricing {
  background: rgba(255, 255, 255, 0.03);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pricing-grid article {
  padding: 28px;
}

.pricing-grid .featured {
  border-color: rgba(52, 211, 153, 0.5);
  background:
    linear-gradient(180deg, rgba(52, 211, 153, 0.13), rgba(12, 28, 49, 0.78)),
    var(--panel);
}

.plan {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.price {
  margin: 16px 0;
  color: var(--white);
  font-size: 34px;
  font-weight: 900;
}

.price small {
  color: var(--muted);
  font-size: 15px;
}

.pricing-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-grid li {
  padding-left: 22px;
  background: linear-gradient(var(--green), var(--green)) 0 0.72em / 8px 8px no-repeat;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.94fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 20%, rgba(52, 211, 153, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-points span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border-radius: 12px;
  color: #0b1727;
  background: #f7fbff;
}

.form-head,
.contact-form .wide {
  grid-column: 1 / -1;
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.form-head strong {
  font-size: 22px;
}

.form-head span {
  padding: 8px 10px;
  border-radius: 8px;
  color: #065f46;
  background: #d1fae5;
  font-size: 13px;
  font-weight: 900;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9d6e5;
  border-radius: 8px;
  padding: 13px 14px;
  color: #0b1727;
  background: #ffffff;
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(34, 211, 238, 0.2);
  border-color: var(--cyan);
}

.contact-form .btn {
  width: 100%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #020817;
}

.site-footer p { margin: 0; }
.site-footer a { color: var(--white); }

@media (max-width: 1040px) {
  .hero,
  .intro,
  .image-feature,
  .cases,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .case-copy {
    position: static;
  }

  .case-head {
    grid-template-columns: 1fr;
  }

  .case-head .eyebrow,
  .case-head h2,
  .case-head p {
    grid-column: 1 / -1;
  }

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

  .industry-visual {
    height: 220px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #06111f;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav .lang-switch {
    width: 100%;
    text-align: left;
  }

  h1 {
    font-size: 42px;
  }

  .hero {
    min-height: auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats,
  .service-grid,
  .industry-grid,
  .pricing-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    min-height: 280px;
  }

  .industry-visual {
    height: 230px;
  }

  .visual-card {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .case-stage {
    min-height: 380px;
  }

  .case-stage img {
    height: 380px;
  }

  .case-caption {
    position: static;
    max-width: none;
    border-inline: 0;
    border-bottom: 0;
    border-radius: 0;
  }

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

  .case-thumbs {
    grid-template-columns: 1fr;
  }

  .form-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
  }
}
