body {
	margin: 0;
	font-family: "Microsoft JhengHei", sans-serif;
	background: #f4f4f9;
	color: #333;
}

nav {
	background: #004080;
	color: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	flex-wrap: wrap;
}

nav .logo{
	font-size: 20px;
	font-weight: bold;
}

.logo a{
	color: white;
	text-decoration: none;
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
}

nav ul li {
	position: relative;
}

nav ul li a,
nav ul li .menu-title {
	display: block;
	padding: 10px 15px;
	text-decoration: none;
	color: white;
	cursor: pointer;
}

nav ul li:hover {
	background: #0066cc;
}

/* 下拉選單 */
nav ul li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #004080;
	min-width: 180px;
	z-index: 1000;
	flex-direction: column;
}

/* 主要宣傳區塊 */
header {
	background: linear-gradient(to right, #004080, #0099cc);
	color: white;
	text-align: center;
	padding: 80px 20px;
}

header h1 {
	font-size: 36px;
	margin: 0 0 20px;
}

header p {
	font-size: 18px;
}

.cta-btn {
	display: inline-block;
	margin-top: 20px;
	padding: 12px 25px;
	background: #ffcc00;
	color: #333;
	border-radius: 8px;
	font-weight: bold;
	text-decoration: none;
	transition: 0.3s;
}

.cta-btn:hover {
	background: #ffdb4d;
}

/* 區塊 */
.section {
	padding: 60px 20px;
	max-width: 1200px;
	margin: auto;
	text-align: center;
}

.section h2 {
	font-size: 28px;
	margin-bottom: 20px;
}

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    padding: 20px;
    border-radius: 10px;
    flex: 1;   /* 填滿整個 card */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.card i {
    color: #004080;
    margin-bottom: 10px;
}

.card h3 {
    margin: 0 0 10px;
}

.card p {
    flex-grow: 1;  /* 文字佔據剩餘空間，讓高度統一 */
}

footer {
	background: #333;
	color: white;
	text-align: center;
	padding: 20px;
	margin-top: 40px;
}

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

/* 手機選單按鈕 */
.menu-toggle {
	display: none;
	font-size: 26px;
	cursor: pointer;
}

/* 容器：寬度受限、保持長寬比（響應式） */
.venn-wrap {
  display: flex;
  justify-content: center;
  padding: 30px 0 60px;
}
.venn {
  position: relative;
  width: min(640px, 92vw);
  aspect-ratio: 4 / 3;   /* 保持比例，瀏覽器支援度良好 */
  max-width: 720px;
  margin: 0 auto;
}

/* 用變數讓圓尺寸響應式 */
.venn { --size: clamp(140px, 28vw, 220px); }

/* 共用圓樣式 */
.circle {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-align: center;
  padding: 8px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  /* 混色方式：multiply 在白底上會產生較漂亮的交集色 */
  mix-blend-mode: multiply;
  -webkit-backface-visibility: hidden;
}

/* 三個圓的位置（以圓心為基準） */
.circle1 { /* top center */
  left: 50%;
  top: 28%;
  transform: translate(-50%, -50%);
  background: rgba(44, 87, 129, 0.92);   /* 深藍 */
  color: #fff;
}
.circle2 { /* bottom-left */
  left: 36%;
  top: 64%;
  transform: translate(-50%, -50%);
  background: rgba(68, 190, 230, 0.92);  /* 淺藍 */
  color: #fff;
}
.circle3 { /* bottom-right */
  left: 64%;
  top: 64%;
  transform: translate(-50%, -50%);
  background: rgba(255, 206, 56, 0.95);  /* 黃色 */
  color: #222;
}

/* 圓內文字 */
.circle .label {
  pointer-events: none;
  line-height: 1.1;
  font-size: clamp(13px, 1.6vw, 16px);
}

/* 中央交集文字（可視需要顯示或隱藏） */
.venn-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.9);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  font-size: clamp(13px, 1.4vw, 16px);
}

/* 小螢幕微調：縮小圓之間距，避免重疊過多 */
@media (max-width: 420px) {
  .venn { --size: 120px; }
  .circle1 { top: 26%; }
  .circle2 { left: 34%; top: 66%; }
  .circle3 { left: 66%; top: 66%; }
}
.terms {
  max-width: 900px;
  margin: 40px auto;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: "Microsoft JhengHei", sans-serif;
  line-height: 1.8;
}

.terms h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 15px;
  color: #004080;
  font-weight: bold;
}

.terms .intro {
  font-size: 16px;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.terms-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.terms-list li {
  background: #f9f9fc;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: 0.3s;
}

.terms-list li:hover {
  background: #eef5ff;
}

.terms-list i {
  color: #004080;
  margin-top: 3px;
  flex-shrink: 0;
}

.note {
  background: #fff8e1;
  border-left: 4px solid #ffcc00;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 15px;
  color: #444;
}
.note i {
  color: #ff9800;
  margin-
