.aiw-wrap {
  margin: 60px auto;
  padding: 0 20px;
  color: #0f2a4a;
  box-sizing: border-box;
}

.aiw-wrap * {
  box-sizing: border-box;
}

/* ---------- Header ---------- */
.aiw-header {
  text-align: center;
  margin-bottom: 48px;
}

.aiw-header .aiw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 2px;
  color: #e56a00;
  font-weight: 600;
  margin-bottom: 14px;
}

.aiw-header .aiw-eyebrow::before,
.aiw-header .aiw-eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: #ff7a00;
}

.aiw-header h2 {
  font-size: 32px;
  margin: 0 0 12px;
  color: #0f2a4a;
  font-weight: 700;
}

.aiw-header p {
  color: #57626f;
  font-size: 15.5px;
  margin: 0;
}

/* ---------- Mobile plan tabs (RWD switch) ---------- */
.aiw-tabs {
  display: none;
}

/* ---------- Price cards ---------- */
.aiw-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 22px;
  align-items: stretch;
}

.aiw-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px 26px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.aiw-card.aiw-featured {
  background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 45%);
  border: 2px solid #1565c0;
  box-shadow: 0 14px 30px rgba(21, 101, 192, 0.14);
}

.aiw-badge {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ff7a00, #ff9d40);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(255, 122, 0, 0.3);
}

.aiw-plan-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #22406b;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.aiw-card.aiw-featured .aiw-plan-name {
  color: #1565c0;
}

.aiw-plan-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.aiw-price {
  margin-bottom: 6px;
}

.aiw-price .aiw-currency {
  font-size: 16px;
  font-weight: 600;
  vertical-align: top;
}

.aiw-price .aiw-num {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #0f2a4a;
}

.aiw-card.aiw-featured .aiw-price .aiw-num {
  color: #1565c0;
}

.aiw-price .aiw-unit {
  font-size: 14px;
  color: #93a0ac;
}

.aiw-original {
  font-size: 13.5px;
  color: #93a0ac;
  text-decoration: line-through;
  margin-bottom: 14px;
  min-height: 19px;
}

.aiw-setup {
  font-size: 14.5px;
  border-radius: 8px;
  margin-bottom: 22px;
}

.aiw-btn {
  display: inline-block;
  margin-top: auto;
  background: #0a4081;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 0;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.aiw-card.aiw-featured .aiw-btn {
  background: #1565c0;
}

.aiw-btn:hover {
  filter: brightness(0.92);
}

.aiw-bottom-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.aiw-bottom-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  flex: 1;
}

.aiw-bottom-note svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: #1565c0;
}

.aiw-bottom-note span {
  font-size: 14px;
  color: #93a0ac;
  line-height: 1.6;
}

.aiw-bottom-total {
  flex: 0 0 auto;
  text-align: right;
  font-size: 12px;
  color: #93a0ac;
  white-space: nowrap;
}

.aiw-bottom-total b {
  display: block;
  margin-top: 2px;
  font-size: 17px;
  font-weight: 800;
  color: #e56a00;
}

.aiw-notes {
  max-width: 780px;
  margin: 0 auto 56px;
  font-size: 13.5px;
  color: #93a0ac;
  line-height: 1.9;
  text-align: center;
}

/* ---------- Section title ---------- */
.aiw-divider-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 8px;
}

.aiw-divider-title .aiw-dline {
  height: 1px;
  width: 50px;
  background: #e2e8f0;
}

.aiw-divider-title h3 {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: #0f2a4a;
  margin: 0;
}

.aiw-quote-sub {
  text-align: center;
  margin: 0 0 32px;
}

.aiw-quote-pill {
  display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff1e2;
    color: #e56a00;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 1px;
    padding: 3px 20px;
    margin: 10px 0;
    border-radius: 999px;
}

.aiw-quote-pill svg {
  width: 14px;
  height: 14px;
}

/* =====================
   三年以上方案限定
======================== */
.aiw-highlight {
  background: #f4f8fc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 6px;
  margin-bottom: 64px;
}

.aiw-upsell {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  padding: 42px 40px;
  text-align: center;
  /* background: linear-gradient(120deg, #e9f2ff 0%, #eafaf3 100%); */
background: radial-gradient(circle at 12% 20%, rgb(205 148 96 / 50%) 0%, rgba(255, 122, 0, 0) 40%), radial-gradient(circle at 88% 82%, #a15b5b 0%, rgba(21, 101, 192, 0) 45%), linear-gradient(280deg, #b98282 0%, #d57171 55%, #ffe5ab)};


.aiw-upsell-inner {
  position: relative;
  z-index: 1;
}

.aiw-upsell-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ffffff;
  border-radius: 999px;
  border:1px #fff solid;
  padding: 6px 20px;
  margin-bottom: 18px;
}

.aiw-upsell-text {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 18px;
}

.aiw-upsell-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 54px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.5px;
  padding: 15px 34px;
  border-radius: 999px;
}

.aiw-upsell-price span {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-left: 2px;
}

@media (max-width: 480px) {
  .aiw-upsell {
    padding: 34px 20px;
  }

  .aiw-upsell-price {
    font-size: 38px;
    padding: 12px 22px;
  }

  .aiw-upsell-price span {
    font-size: 15px;
  }

  .aiw-upsell-text {
    font-size: 16px;
  }
}

/* 三重點說明卡 */
.aiw-note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e2e8f0;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  margin-top: 6px;
}

.aiw-note-card {
  background: #f4f8fc;
  padding: 26px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.aiw-note-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff1e2;
  color: #e56a00;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aiw-note-icon svg {
  width: 18px;
  height: 18px;
}

.aiw-note-lead {
  font-size: 20px;
  font-weight: 700;
  color: #3b3838;
  margin-bottom: 4px;
}

.aiw-note-body {
  font-size: 16px;
  color: #57626f;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .aiw-note-grid {
    grid-template-columns: 1fr;
  }
}


/* ---------- 方案特色：彩色圖示 ---------- */
.aiw-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

@media (max-width: 900px) {
  .aiw-feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .aiw-feat-grid {
    grid-template-columns: 1fr;
  }
}

.aiw-feat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 3px 10px rgba(15, 42, 74, 0.04);
}

.aiw-feat-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aiw-feat-icon svg {
  width: 30px;
  height: 30px;
}

.aiw-feat-text {
  font-size: 17px;
  font-weight: 600;
  color: #0f2a4a;
  line-height: 1.5;
}

.aiw-feat-text span {
  display: block;
  font-weight: 400;
  font-size: 12.5px;
  color: #93a0ac;
  margin-top: 2px;
}

/* icon 顏色 */
.aiw-c-blue {
  color: #1565c0;
}

.aiw-c-green {
  color: #16a34a;
}

.aiw-c-purple {
  color: #7c3aed;
}

.aiw-c-orange {
  color: #f2871a;
}

.aiw-c-teal {
  color: #0d9488;
}

.aiw-c-pink {
  color: #e0417a;
}

/* ---------- RWD 客製化設計方案 ---------- */
.aiw-numcard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

@media (max-width: 860px) {
  .aiw-numcard-grid {
    grid-template-columns: 1fr;
  }
}

.aiw-numcard {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 24px 22px;
}

.aiw-numcard-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}

.aiw-numcard-num {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0f2a4a;
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aiw-numcard-head h4 {
  font-size: 17.5px;
  font-weight: 700;
  color: #0f2a4a;
  margin: 0;
}

.aiw-numcard-body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.aiw-numcard-illust {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.aiw-numcard-illust svg {
  width: 60px;
  height: 60px;
}

@media (max-width: 560px) {
  .aiw-numcard-body {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .aiw-numcard-illust {
    width: 72px;
    height: 72px;
  }
}

.aiw-numcard-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  flex: 1;
}

.aiw-numcard-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  color: #57626f;
  line-height: 1.85;
  margin-bottom: 6px;
}

.aiw-numcard-list li:last-child {
  margin-bottom: 0;
}

.aiw-numcard-list li svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: #16a34a;
}

.aiw-numcard-remark {
  font-size: 14px;
  color: #93a0ac;
  margin-top: 8px;
  padding-left: 24px;
}

/* ---------- 專案程式客製開發方案 ---------- */
.aiw-devsection {
  background: linear-gradient(135deg, #101f38 0%, #17335c 55%, #1c4278 100%);
  border-radius: 18px;
  padding: 42px 40px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.aiw-devsection-left {
  flex: 1 1 300px;
}

.aiw-dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(157, 196, 255, 0.3);
  color: #9dc4ff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.aiw-dev-badge svg {
  width: 13px;
  height: 13px;
}

.aiw-devsection-left h3 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.aiw-dev-checklist {
  flex: 1 1 360px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}

.aiw-dev-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aiw-dev-item svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #4ddbb5;
}

.aiw-dev-item span {
  color: #eef2f6;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .aiw-devsection {
    align-items: flex-start;
    padding: 32px 26px;
  }

  .aiw-dev-checklist {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
  }
}

/* =========
   手機板
========= */
@media (max-width: 860px) {
  .aiw-tabs {
    display: flex;
    gap: 6px;
    background: #f4f8fc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 43px;
  }

  .aiw-tabs label {
    flex: 1;
    text-align: center;
    padding: 9px 0;
    font-size: 14px;
    font-weight: 600;
    color: #22406b;
    border-radius: 999px;
    cursor: pointer;
  }

  .aiw-plans {
    grid-template-columns: 1fr;
  }

  .aiw-plans .aiw-card {
    display: none;
  }

  .aiw-wrap:has(#aiw-tab1:checked) .aiw-card[data-plan="1"],
  .aiw-wrap:has(#aiw-tab2:checked) .aiw-card[data-plan="2"],
  .aiw-wrap:has(#aiw-tab3:checked) .aiw-card[data-plan="3"] {
    display: flex;
  }

  .aiw-wrap:has(#aiw-tab1:checked) label[for="aiw-tab1"],
  .aiw-wrap:has(#aiw-tab2:checked) label[for="aiw-tab2"],
  .aiw-wrap:has(#aiw-tab3:checked) label[for="aiw-tab3"] {
    background: #0f2a4a;
    color: #ffffff;
  }

  /* 若瀏覽器不支援 :has()，退回原本三卡直式堆疊，資訊仍完整可見 */
  .aiw-wrap:not(:has(*)) .aiw-plans .aiw-card {
    display: flex;
  }
}