:root {
  --aas-blue: #1366ec;
  --aas-orange: #ff6a00;
  --aas-text: #3d3d3d;
  --aas-muted: #717171;
  --aas-border: #e9e9e9;
}

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

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--aas-text);
  background: #fff;
}

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

.aas-page { overflow: hidden; }
.aas-shell { width: min(1328px, calc(100% - 40px)); margin: 0 auto; }

.aas-hero {
  position: relative;
  background: #edf8ff;
  padding: 44px 0 30px;
}

.aas-hero__bg {
  position: absolute;
  inset: 0 0 auto;
  height: 451px;
}

.aas-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }

.aas-hero .aas-shell { position: relative; z-index: 1; }

.aas-hero__tip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 14px 0 5px;
  border-radius: 100px;
  background: linear-gradient(90deg, #ecf6ff 0%, #f7f0ff 100%);
  margin-bottom: 26px;
  font-size: 14px;
}

.aas-hero h1 {
  margin: 0;
  font-size: 44px;
  line-height: 64px;
  color: #000;
  letter-spacing: 2.2px;
  font-weight: 600;
}

.aas-hero h1 em {
  font-style: normal;
  color: var(--aas-blue);
}

.aas-hero__desc {
  margin: 16px 0 20px;
  font-size: 16px;
  line-height: 28px;
  color: #000;
  max-width: 1322px;
}

.aas-hero__actions { display: flex; gap: 12px; margin-bottom: 20px; }

.aas-btn {
  width: 200px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.aas-btn--primary {
  color: #fff;
  background: linear-gradient(220deg, #1366ec, #7366ff);
}

.aas-btn--ghost {
  color: var(--aas-blue);
  border: 1px solid #7f8fa9;
  background: rgba(255, 255, 255, .6);
}

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

.aas-feature {
  background: #fff;
  min-height: 100px;
  padding: 20px 24px;
  border-right: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
}

.aas-feature:nth-child(4n) { border-right: none; }

.aas-feature h3 {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--aas-text);
  font-weight: 500;
}

.aas-feature p {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  color: var(--aas-muted);
}

.aas-promo { background: #edf8ff; padding: 14px 0 20px; }

.aas-promo__inner {
  min-height: 56px;
  background: rgba(255, 255, 255, .46);
  box-shadow: 0 2px 4px #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 14px;
  flex-wrap: wrap;
}

.aas-promo__text { font-size: 16px; color: #000; }
.aas-promo strong { font-size: 16px; color: var(--aas-blue); font-weight: 500; }

.aas-voices {
  background: #edf8ff;
  padding: 60px 0 40px;
}

.aas-voices h2,
.aas-gateway h2,
.aas-products h2,
.aas-services h2 {
  margin: 0;
  text-align: center;
  font-size: 26px;
  line-height: 36px;
  color: #000;
  font-weight: 600;
}

.aas-sub {
  margin: 12px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  color: #999;
}

.aas-voice-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.aas-voice {
  background: #fff;
  box-shadow: 0 1px 8px rgba(73, 127, 206, .1);
  padding: 24px;
  min-height: 135px;
}

.aas-voice h3 { margin: 0 0 10px; font-size: 18px; line-height: 25px; color: #000; }
.aas-voice p { margin: 0; font-size: 14px; line-height: 24px; color: #868686; }

.aas-gateway {
  padding: 40px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .8));
}

.aas-gateway h2 em { font-style: normal; color: var(--aas-blue); }

.aas-gateway-card {
  margin-top: 26px;
  border: 1px solid var(--aas-border);
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  background: #fff;
  padding: 24px;
}

.aas-tech-title { margin: 0 0 10px; font-size: 18px; color: #000; }
.aas-tech-desc { margin: 0 0 16px; font-size: 14px; line-height: 24px; color: #8c8c8c; }

.aas-gateway-body {
  border: 1px solid var(--aas-border);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 468px;
  min-height: 500px;
}

.aas-gateway-visual {
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 18px;
}

.aas-gateway-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aas-gateway-list {
  background: #fafafa;
  padding: 24px;
  border-left: 1px solid var(--aas-border);
}

.aas-gateway-list h3 { margin: 0 0 6px; font-size: 14px; line-height: 24px; color: #000; }
.aas-gateway-list p { margin: 0 0 12px; font-size: 14px; line-height: 24px; color: #8c8c8c; }

.aas-steps {
  background: #fff;
  padding: 20px 0 40px;
}

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

.aas-step {
  background: #f9f9fa;
  padding: 18px 20px;
}

.aas-step > span { color: var(--aas-blue); font-size: 20px; line-height: 30px; font-weight: 300; }
.aas-step h3 { display: inline-block; margin: 0 0 10px 8px; font-size: 16px; color: #000; font-weight: 400; }
.aas-step ul { margin: 0; padding: 0; list-style: none; }
.aas-step li { position: relative; padding-left: 30px; font-size: 14px; line-height: 24px; color: #000; }
.aas-step li::before {
  content: attr(data-index);
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border: 1px solid #181818; border-radius: 9px;
}
.aas-step li:nth-child(1)::before { content: "1"; text-align: center; font-size: 12px; line-height: 16px; }
.aas-step li:nth-child(2)::before { content: "2"; text-align: center; font-size: 12px; line-height: 16px; }

.aas-products {
  background: #edf8ff;
  padding: 61px 0 24px;
}

.aas-product-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.aas-product {
  position: relative;
  border: 1px solid var(--aas-border);
  background: #fff;
  min-height: 300px;
  padding: 0 20px 20px;
}

.aas-product__head {
  width: calc(100% + 40px);
  margin: 0 -20px;
  height: 120px;
  object-fit: cover;
  display: block;
}

.aas-product h3 { margin: -96px 0 18px; color: #fff; font-size: 26px; line-height: 26px; font-weight: 500; }
.aas-product p { margin: 0 0 42px; color: #fff; font-size: 14px; line-height: 22px; }
.aas-product ul { margin: 0 0 14px; padding: 0; list-style: none; }
.aas-product li {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; line-height: 20px; color: #000; margin-bottom: 10px;
}

.aas-product > a {
  display: block;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: var(--aas-blue);
  color: #fff;
  font-size: 14px;
}

.aas-product > a.is-outline {
  background: #fff;
  border: 1px solid #7f8fa9;
  color: var(--aas-orange);
}

.aas-product > a.is-blue-outline {
  background: #fff;
  border: 1px solid #7f8fa9;
  color: var(--aas-blue);
}

.aas-product__tag { position: absolute; right: 0; top: -5px; width: 88px; height: 24px; }

.aas-products__more {
  margin: 26px 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 26px;
  color: #fff;
}

.aas-products__more a { color: #fff; font-size: 14px; line-height: 24px; }

.aas-services {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  padding: 80px 0 30px;
}

.aas-service-tabs {
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 699px;
  background: #fff;
  box-shadow: 0 4px 16px #f4f4f4;
}

.aas-service-tabs button {
  height: 48px;
  border: 0;
  border-right: 1px solid #ececec;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

.aas-service-tabs button:last-child { border-right: none; }
.aas-service-tabs button.is-active { background: var(--aas-blue); color: #fff; }
.aas-service-tabs img { width: 16px; height: 16px; vertical-align: middle; margin-left: 4px; }

.aas-service-panel {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 435px 1fr;
  min-height: 697px;
  box-shadow: 0 10px 25px rgba(19, 88, 200, .1);
}

.aas-service-copy {
  padding: 112px 69px 40px;
  background: #fff;
}

.aas-service-copy h3 {
  margin: 0 0 22px;
  font-size: 30px;
  line-height: 36px;
  color: #3d3d3d;
}

.aas-service-copy p { margin: 0 0 18px; font-size: 16px; line-height: 28px; color: #3d3d3d; }
.aas-service-copy h4 { margin: 0 0 8px; font-size: 16px; color: #717171; }

.aas-service-copy ul { margin: 0 0 28px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.aas-service-copy li {
  position: relative;
  padding-left: 22px;
  color: #717171;
  font-size: 14px;
  line-height: 21px;
}
.aas-service-copy li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  background: url("../images/ai-antispam-gateway/check-icon.png") center/contain no-repeat;
}

.aas-consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 126px;
  height: 48px;
  background: var(--aas-blue);
  color: #fff;
  font-size: 14px;
}

.aas-service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1200px) {
  .aas-feature-grid,
  .aas-voice-grid,
  .aas-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .aas-gateway-body,
  .aas-service-panel { grid-template-columns: 1fr; }

  .aas-service-copy { padding: 40px 24px; }
}

@media (max-width: 768px) {
  .aas-shell { width: calc(100% - 24px); }
  .aas-hero h1 { font-size: 30px; line-height: 44px; letter-spacing: .5px; }
  .aas-hero__actions { flex-wrap: wrap; }
  .aas-btn { width: 160px; height: 44px; }
  .aas-feature-grid,
  .aas-voice-grid,
  .aas-steps .aas-shell,
  .aas-product-grid,
  .aas-service-tabs { grid-template-columns: 1fr; }
  .aas-promo__inner { justify-content: flex-start; }
}
