.waf-page {
  --waf-ink: #1d2129;
  --waf-muted: #717883;
  --waf-blue: #1664ff;
  --waf-blue-hover: #0f55df;
  --waf-gradient: linear-gradient(90deg, #1664ff 0%, #6b3dff 100%);
  --waf-line: #e6ebf2;
  --waf-soft: #f6f8fc;
  width: 100%;
  margin: 0 auto;
  overflow: visible;
  color: var(--waf-ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #fff;
}
.waf-page,
.waf-page * {
  box-sizing: border-box;
}
.waf-page h1,
.waf-page h2,
.waf-page h3,
.waf-page p,
.waf-page ul,
.waf-page fieldset {
  margin-top: 0;
}
.waf-container {
  width: calc(100% - 48px);
  max-width: 1360px;
  margin: 0 auto;
}
.waf-section {
  padding: 70px 0;
}
.waf-section__title {
  margin: 0 0 20px;
  color: var(--waf-ink);
  font-size: var(--font-size-title, 36px);
  font-weight: 700;
  line-height: var(--line-title, 50px);
  text-align: center;
  letter-spacing: 0;
}
.waf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.waf-button:hover {
  transform: translateY(-2px);
}
.waf-hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 500px;
  overflow: hidden;
  background-color: #f5f9ff;
  background-image: url("/img/v2026/security/waf/waf-hero-background.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.waf-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 250, 255, 0.98) 0%, rgba(247, 250, 255, 0.88) 35%, rgba(247, 250, 255, 0) 68%);
  content: "";
  pointer-events: none;
}
.waf-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
}
.waf-hero__copy {
  width: 705px;
  max-width: 56%;
}
.waf-hero__copy h1 {
  width: 705px;
  max-width: 100%;
  margin: 0 0 24px;
  color: var(--waf-ink);
  font-size: 48px;
  font-weight: 700;
  line-height: 64px;
  letter-spacing: 0;
}
.waf-hero__copy p {
  max-width: 616px;
  margin: 0 0 30px;
  color: var(--waf-ink);
  font-size: 16px;
  line-height: 30px;
}
.waf-button--hero {
  position: relative;
  isolation: isolate;
  width: 210px;
  height: 48px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--waf-gradient);
  color: #fff;
  font-size: 16px;
  line-height: 48px;
}
.waf-button--hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -48px;
  z-index: 0;
  width: calc(100% + 96px);
  border-radius: 0 48px 48px 0;
  content: "";
  background: var(--waf-blue);
  transform: translateX(-110%);
  transition: transform 0.68s cubic-bezier(0.22, 0.8, 0.28, 1);
}
.waf-button--hero span {
  position: relative;
  z-index: 1;
}
.waf-button--hero:hover {
  box-shadow: 0 8px 20px rgba(21, 101, 216, 0.3);
}
.waf-button--hero:hover::before {
  transform: translateX(0);
}
.waf-button--primary:hover {
  background: var(--waf-blue-hover);
  box-shadow: 0 10px 24px rgba(22, 100, 255, 0.24);
}
.waf-features {
  background: #fff;
}
.waf-features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--waf-line);
  border-left: 1px solid var(--waf-line);
}
.waf-feature-card {
  height: 200px;
  padding: 20px;
  border-right: 1px solid var(--waf-line);
  border-bottom: 1px solid var(--waf-line);
  text-align: center;
  background: #fff;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.waf-feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 6px;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.waf-feature-card__icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.waf-feature-card h3 {
  margin: 0 0 6px;
  color: var(--waf-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  transition: color 0.25s ease;
}
.waf-feature-card p {
  margin: 0;
  color: var(--waf-muted);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  transition: color 0.25s ease;
}
.waf-feature-card:hover {
  background: #0763df;
  box-shadow: 0 12px 30px rgba(7, 99, 223, 0.24);
}
.waf-feature-card:hover .waf-feature-card__icon {
  background: #fff;
  box-shadow: 0 0 0 8px #fff;
}
.waf-feature-card:hover h3,
.waf-feature-card:hover p {
  color: #fff;
}
.waf-advantages {
  overflow: visible;
  background: var(--waf-soft);
}
.waf-advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 2px;
}
.waf-advantage-card {
  display: flex;
  align-items: center;
  height: 150px;
  padding: 16px 24px;
  border: 1px solid #edf1f6;
  background: #fff;
  box-shadow: 0 12px 34px rgba(22, 61, 120, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.waf-advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(22, 61, 120, 0.14);
}
.waf-advantage-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  margin-right: 16px;
}
.waf-advantage-card__icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.waf-advantage-card h3 {
  margin: 0 0 4px;
  color: var(--waf-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}
.waf-advantage-card p {
  margin: 0;
  color: var(--waf-muted);
  font-size: 14px;
  line-height: 25px;
}
.waf-architecture {
  overflow: visible;
  background: #fff;
}
.waf-architecture__diagram {
  display: block;
  width: 1200px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  box-shadow: 0 18px 46px rgba(20, 70, 148, 0.1);
}
.waf-architecture__group {
  position: relative;
  display: grid;
  gap: 14px 22px;
  margin-bottom: 24px;
  padding: 34px 28px 22px;
  border: 1px dashed #73a5ee;
  background: rgba(255, 255, 255, 0.78);
}
.waf-architecture__group h3 {
  position: absolute;
  top: -18px;
  left: 50%;
  margin: 0;
  padding: 7px 18px;
  transform: translateX(-50%);
  background: #154ba7;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  white-space: nowrap;
}
.waf-architecture__group span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #3974c6 0%, #5f94db 100%);
  color: #fff;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
  box-shadow: 0 7px 18px rgba(32, 91, 170, 0.16);
}
.waf-architecture__group--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.waf-architecture__group--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.waf-architecture__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.waf-architecture__group--collection {
  margin-bottom: 24px;
  padding-right: 140px;
  padding-left: 140px;
}
.waf-architecture__traffic {
  padding: 14px 20px;
  background: #174aa7;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}
.waf-scenes {
  background-color: #367cf0;
  background-image: url("/img/v2026/security/waf/scene-background.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #fff;
}
.waf-scenes .waf-section__title {
  color: #fff;
}
.waf-scenes__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}
.waf-scenes__tabs button {
  position: relative;
  height: 54px;
  margin: 0 35px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 54px;
  cursor: pointer;
}
.waf-scenes__tabs button::after {
  position: absolute;
  right: 50%;
  bottom: -1px;
  left: 50%;
  height: 4px;
  background: #fff;
  content: "";
  transition: right 0.2s ease, left 0.2s ease;
}
.waf-scenes__tabs button:hover::after,
.waf-scenes__tabs button.is-active::after {
  right: 0;
  left: 0;
}
.waf-scenes__tabs button.is-active {
  font-weight: 700;
}
.waf-scene-panel {
  animation: waf-fade-in 0.35s ease;
}
.waf-scene-panel__copy {
  min-height: 82px;
  margin-bottom: 32px;
  text-align: center;
}
.waf-scene-panel__copy p {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 39px;
}
.waf-scene-panel__image {
  padding: 10px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(10, 46, 116, 0.24);
}
.waf-scene-panel__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
@keyframes waf-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.waf-purchase {
  overflow: visible;
  background: #fff;
}
.waf-purchase__panel {
  position: relative;
  padding: 38px 42px 98px;
  border: 1px solid #e8edf5;
  background: #fbfcfe;
  box-shadow: 0 16px 46px rgba(30, 78, 145, 0.1);
}
.waf-option-group {
  display: grid;
  grid-template-columns: 108px 1fr;
  margin: 0;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid #edf1f6;
}
.waf-option-group .legend {
  float: left;
  width: 108px;
  padding: 5px 20px 0 0;
  color: var(--waf-ink);
  font-size: 16px;
  font-weight: 700;
}
.waf-option-group__content {
  grid-column: 2;
  min-width: 0;
}
.waf-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.waf-options button {
  min-width: 88px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid #d8dee8;
  border-radius: 3px;
  background: #fff;
  color: var(--waf-ink);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.waf-options button:hover,
.waf-options button.is-active {
  border-color: var(--waf-blue);
  background: #eef4ff;
  color: var(--waf-blue);
}
.waf-option-group__tip {
  margin: 12px 0 0;
  color: var(--waf-muted);
  font-size: 13px;
  line-height: 22px;
}
.waf-purchase__specs {
  padding-top: 8px;
}
.waf-spec-row {
  display: grid;
  grid-template-columns: 220px 180px 1fr;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid #edf1f6;
}
.waf-spec-row > span {
  color: var(--waf-ink);
  font-size: 15px;
  font-weight: 700;
}
.waf-spec-row strong {
  color: var(--waf-ink);
  font-size: 16px;
  font-weight: 400;
}
.waf-spec-row small {
  color: var(--waf-muted);
  font-size: 13px;
  line-height: 22px;
}
.waf-button--primary {
  min-width: 146px;
  height: 42px;
  padding: 0 26px;
  border-radius: 3px;
  background: var(--waf-blue);
  color: #fff;
  font-size: 15px;
}
.waf-purchase__submit {
  position: absolute;
  bottom: 30px;
  left: 42px;
}
.waf-recommend {
  overflow: visible;
  background: var(--waf-soft);
}
.waf-recommend__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 2px;
}
.waf-recommend-card {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 30px 24px 24px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(22, 61, 120, 0.08);
}
.waf-recommend-card__content {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 170px;
  margin-bottom: 14px;
  padding-right: 92px;
}
.waf-recommend-card__content h3 {
  margin: 0 0 8px;
  color: var(--waf-ink);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}
.waf-recommend-card__content p {
  margin: 0;
  color: var(--waf-muted);
  font-size: 14px;
  line-height: 25px;
}
.waf-recommend-card__content img {
  position: absolute;
  top: 50%;
  right: 0;
  width: 78px;
  max-height: 82px;
  transform: translateY(-50%);
  object-fit: contain;
}
.waf-recommend-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.waf-recommend-card__actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 1px solid var(--waf-blue);
  border-radius: 3px;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.waf-recommend-card__primary {
  background: var(--waf-blue);
  color: #fff;
}
.waf-recommend-card__secondary {
  background: #fff;
  color: var(--waf-blue);
}
.waf-recommend-card__primary:hover {
  background: var(--waf-blue-hover);
}
.waf-recommend-card__secondary:hover {
  background: #eef4ff;
}
.waf-service {
  min-height: 280px;
  background-color: var(--waf-blue);
  background-image: url("/img/v2026/security/waf/one-to-one-service-bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #fff;
}
.waf-service__inner {
  text-align: center;
}
.waf-service .waf-section__title {
  margin-bottom: 20px;
  color: #fff;
}
.waf-service p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 30px;
}
.waf-service .waf-service__lead {
  margin-bottom: 4px;
  font-weight: 700;
}
.waf-service__button {
  position: relative;
  isolation: isolate;
  width: 200px;
  height: 48px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 16px;
}
.waf-service__button::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -48px;
  z-index: 0;
  width: calc(100% + 96px);
  border-radius: 0 48px 48px 0;
  content: "";
  background: #fff;
  transform: translateX(-110%);
  transition: transform 0.68s cubic-bezier(0.22, 0.8, 0.28, 1);
}
.waf-service__button span {
  position: relative;
  z-index: 1;
}
.waf-service__button:hover::before {
  transform: translateX(0);
}
.waf-service__button:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: transparent;
  color: var(--waf-blue);
  box-shadow: 0 8px 20px rgba(7, 42, 121, 0.3);
}
@media (min-width: 1025px) and (max-width: 1365px) {
  .waf-hero::after {
    background: linear-gradient(90deg, rgba(247, 250, 255, 0.99) 0%, rgba(247, 250, 255, 0.98) 54%, rgba(247, 250, 255, 0.9) 64%, rgba(247, 250, 255, 0.38) 78%, rgba(247, 250, 255, 0) 90%);
  }
  .waf-hero__copy {
    max-width: 56%;
  }
  .waf-hero__copy h1 {
    font-size: 42px;
    line-height: 56px;
  }
}
/* ==================== 响应式 ==================== */
@media (max-width: 767px) {
  .waf-container {
    width: calc(100% - 30px);
  }
  .waf-section {
    padding: 40px 0;
  }
  .waf-section__title {
    margin-bottom: 15px;
    font-size: 24px;
    line-height: 34px;
  }
  .waf-hero {
    height: 260px;
  }
  .waf-hero::after {
    background: linear-gradient(90deg, rgba(247, 250, 255, 0.99) 0%, rgba(247, 250, 255, 0.98) 72%, rgba(247, 250, 255, 0.76) 100%);
  }
  .waf-hero__copy {
    width: 100%;
    max-width: 100%;
  }
  .waf-hero__copy h1 {
    max-width: 330px;
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 32px;
  }
  .waf-hero__copy p {
    display: -webkit-box;
    max-width: 330px;
    margin-bottom: 12px;
    overflow: hidden;
    color: var(--waf-ink);
    font-size: 13px;
    line-height: 20px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }
  .waf-button--hero {
    width: 134px;
    height: 40px;
    font-size: 14px;
    line-height: 40px;
  }
  .waf-features__grid {
    grid-template-columns: 1fr;
  }
  .waf-feature-card {
    display: grid;
    grid-template-columns: 70px 1fr;
    height: auto;
    min-height: 0;
    padding: 20px;
    text-align: left;
  }
  .waf-feature-card__icon {
    grid-row: 1 / 3;
    width: 56px;
    height: 56px;
    margin: 0 14px 0 0;
  }
  .waf-feature-card h3 {
    margin-bottom: 2px;
    font-size: 18px;
    line-height: 1.2;
  }
  .waf-feature-card p {
    font-size: 13px;
    line-height: 22px;
    text-align: left;
  }
  .waf-advantages__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .waf-advantage-card {
    min-height: 0;
    padding: 22px 20px;
  }
  .waf-advantage-card__icon {
    width: 68px;
    height: 68px;
    margin-right: 18px;
  }
  .waf-advantage-card h3 {
    margin-bottom: 4px;
    font-size: 18px;
    line-height: 26px;
  }
  .waf-advantage-card p {
    font-size: 13px;
    line-height: 22px;
  }
  .waf-architecture__diagram {
    max-width: 100%;
    height: auto;
  }
  .waf-architecture__group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
    padding: 28px 10px 14px;
  }
  .waf-architecture__group h3 {
    top: -15px;
    padding: 5px 12px;
    font-size: 16px;
    line-height: 22px;
  }
  .waf-architecture__group span {
    min-height: 42px;
    padding: 6px;
    font-size: 14px;
    line-height: 20px;
  }
  .waf-architecture__split {
    display: block;
  }
  .waf-architecture__group--collection {
    padding-right: 10px;
    padding-left: 10px;
  }
  .waf-architecture__traffic {
    padding: 10px;
    font-size: 16px;
    line-height: 24px;
  }
  .waf-scenes__tabs {
    justify-content: flex-start;
    margin-bottom: 28px;
    overflow-x: auto;
    white-space: nowrap;
  }
  .waf-scenes__tabs button {
    flex: 0 0 auto;
    height: 42px;
    margin: 0 22px 0 0;
    font-size: 15px;
    line-height: 42px;
  }
  .waf-scene-panel__copy {
    min-height: 0;
    margin-bottom: 20px;
    text-align: left;
  }
  .waf-scene-panel__copy p {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 22px;
  }
  .waf-scene-panel__image {
    padding: 6px;
  }
  .waf-purchase__panel {
    padding: 22px 18px 96px;
  }
  .waf-option-group {
    display: block;
    padding: 20px 0;
  }
  .waf-option-group .legend {
    float: none;
    width: auto;
    margin-bottom: 14px;
    padding: 0;
  }
  .waf-option-group__content {
    width: 100%;
  }
  .waf-options {
    gap: 8px;
  }
  .waf-options button {
    min-width: 74px;
    padding: 0 10px;
  }
  .waf-spec-row {
    grid-template-columns: 1fr auto;
    gap: 5px 12px;
    padding: 12px 0;
  }
  .waf-spec-row small {
    grid-column: 1 / -1;
  }
  .waf-purchase__submit {
    right: 18px;
    bottom: 26px;
    left: 18px;
  }
  .waf-recommend__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .waf-recommend-card {
    min-height: 0;
    padding: 22px 18px;
  }
  .waf-recommend-card__content {
    min-height: 140px;
    padding-right: 82px;
  }
  .waf-recommend-card__content img {
    width: 68px;
    max-height: 72px;
  }
  .waf-service p {
    font-size: 16px;
    line-height: 28px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .waf-container {
    width: calc(100% - 48px);
  }
  .waf-hero__copy {
    max-width: 62%;
  }
  .waf-hero::after {
    background: linear-gradient(90deg, rgba(247, 250, 255, 0.99) 0%, rgba(247, 250, 255, 0.96) 58%, rgba(247, 250, 255, 0.56) 76%, rgba(247, 250, 255, 0) 100%);
  }
  .waf-hero__copy h1 {
    font-size: 40px;
    line-height: 54px;
  }
  .waf-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .waf-advantages__grid {
    gap: 18px;
  }
  .waf-advantage-card {
    padding: 26px 22px;
  }
  .waf-advantage-card__icon {
    width: 82px;
    height: 82px;
    margin-right: 20px;
  }
  .waf-architecture__group--collection {
    padding-right: 70px;
    padding-left: 70px;
  }
  .waf-recommend__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
