:root {
  --page-bg: #ffffff;
  --text-main: #17223b;
  --text-sub: #4b587c;
  --line: #e6ebff;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;
  --accent: #0f2f7a;
  --shadow: 0 12px 36px rgba(37, 99, 235, 0.14);
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(1100px 600px at 100% -15%, #e9f2ff 0%, #ffffff 48%) no-repeat;
  color: var(--text-main);
  font-family: "Noto Sans TC", "Segoe UI", Arial, sans-serif;
}

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

.aiweb-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.aiweb-container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.aiweb-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.aiweb-header .aiweb-container {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-sub);
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  background: var(--brand-soft);
  color: var(--text-main);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #3b82f6 100%);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #2563eb 100%);
}

.btn-secondary {
  color: var(--brand);
  border-color: #bfdbfe;
  background: #fff;
}

.btn-small {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

main {
  flex: 1;
}

.hero {
  padding: 72px 0 40px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.03em;
}

h1 {
  margin: 12px 0;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.12;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
}

.lede {
  margin: 0;
  color: var(--text-sub);
  line-height: 1.8;
}

.actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-preview {
  background: linear-gradient(150deg, #f7fbff 0%, #edf4ff 100%);
  border: 1px solid #dbeafe;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}

.hero-preview-window {
  background: #fff;
  border: 1px solid #e6ebff;
  border-radius: var(--radius-md);
  padding: 16px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #bfdbfe;
}

.preview-block {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.preview-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 44px 0;
}

.section-header {
  margin-bottom: 18px;
}

.funnel-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.funnel-pill {
  border: 1px solid #cfe2ff;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #24458f;
}

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

.card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 8px 22px rgba(15, 47, 122, 0.06);
}

.card h3 {
  margin: 0;
  font-size: 20px;
}

.card p {
  margin: 10px 0 0;
  color: var(--text-sub);
  line-height: 1.65;
}

.card .meta {
  display: inline-flex;
  margin-top: 10px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  background: #eff6ff;
  color: #24458f;
}

.card-actions {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.example-shot {
  height: 150px;
  border-radius: 10px;
  border: 1px dashed #bfdbfe;
  background: linear-gradient(145deg, #f7fbff, #edf4ff);
  display: grid;
  place-items: center;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
}

.pricing-card {
  position: relative;
}

.pricing-card.highlight {
  border-color: #93c5fd;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.16);
}

.plan-tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  background: #dbeafe;
  color: #1e3a8a;
}

.plan-price {
  margin-top: 12px;
  font-size: 30px;
  font-weight: 800;
  color: #0f2f7a;
}

.plan-points {
  margin-top: 8px;
  color: #36538f;
  font-weight: 700;
}

.plan-note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-sub);
}

.plan-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.plan-list li {
  font-size: 14px;
  color: #264b8f;
}

.footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: #fbfdff;
}

.footer .aiweb-container {
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 18px;
}

.footer h4 {
  margin: 0;
  font-size: 14px;
}

.footer p,
.footer li {
  margin: 10px 0 0;
  color: var(--text-sub);
  font-size: 14px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 1024px) {
  .hero-layout,
  .card-grid,
  .pricing-grid,
  .footer .aiweb-container,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .footer .brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .aiweb-header {
    position: static;
  }

  .hero-layout,
  .card-grid,
  .pricing-grid,
  .footer .aiweb-container,
  .steps {
    grid-template-columns: 1fr;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    margin-top: 6px;
  }

  .aiweb-header .aiweb-container {
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}
