/* 首頁（企業服務）專用樣式，2026-11-21 定位調整：7ftech.com 專注企業。
   主視覺右邊是費用儀表板示意畫面，另有「方案與價格」區塊。 */
.svg-defs { position: absolute; }

/* 主視覺示意畫面 */
.hero-mock {
	position: relative; overflow: hidden; border-radius: 20px;
	border: 1px solid var(--line-dark);
	background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
	box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.mock-bar { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line-dark); font-size: 13px; color: #8b8b94; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.mock-tag { margin-left: auto; padding: 1px 9px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: 12px; color: #8b8b94; }
.dash { padding: 20px 22px 22px; }
.dash-kpi small { display: block; font-size: 13px; color: #8b8b94; }
.dash-kpi strong { font-family: var(--mono); font-size: 32px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.dash-kpi em { margin-left: 10px; font-style: normal; font-size: 14px; font-weight: 700; color: var(--neon); }
.dash-chart { display: block; width: 100%; height: 120px; margin-top: 8px; }
.dash-chart .line { fill: none; stroke: var(--neon); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: home-draw 1.8s .4s cubic-bezier(.4, 0, .2, 1) forwards; }
.dash-chart .area { opacity: 0; animation: home-fade 1s 1.3s forwards; }
.dash-chart .g1 { stop-color: var(--neon); stop-opacity: .28; }
.dash-chart .g2 { stop-color: var(--neon); stop-opacity: 0; }
@keyframes home-draw { to { stroke-dashoffset: 0; } }
@keyframes home-fade { to { opacity: 1; } }
.dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.dash-grid div { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .025); }
.dash-grid small { display: block; font-size: 12px; color: #8b8b94; line-height: 1.4; }
.dash-grid strong { font-family: var(--mono); font-size: 20px; color: #fff; }
.dash-status { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted-on-dark); }
.dash-status i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #22c55e; vertical-align: middle; box-shadow: 0 0 0 3px rgba(34, 197, 94, .15); }

/* 方案與價格 */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.plan-name { font-size: 18px; font-weight: 700; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; margin-top: 4px; }
.plan-price strong { font-family: var(--mono); font-size: 30px; line-height: 1.25; letter-spacing: -.01em; }
.plan-price span { font-size: 15px; color: var(--muted); }
.plan-plus { font-size: 15px; font-weight: 700; color: var(--neon-ink); }
.plan-desc { margin-top: 4px; font-size: 15px; color: var(--muted); }
.plan ul { margin: 10px 0 18px; padding: 0; list-style: none; display: grid; gap: 6px; }
.plan li { position: relative; padding-left: 20px; font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--neon-strong); }
.plan .btn { margin-top: auto; }
.plan-main { border-color: transparent; color: var(--text-on-dark); background: radial-gradient(80% 60% at 100% 0%, rgba(46, 230, 214, .16), transparent 60%), var(--bg-dark); }
.plan-main .plan-price span, .plan-main .plan-desc { color: var(--muted-on-dark); }
.plan-main .plan-plus { color: var(--neon); }
.plan-tag { position: absolute; top: 18px; right: 18px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #031214; background: var(--neon); }
.plan-price .plan-quote { font-family: var(--font); font-size: 24px; }
.pricing-fine { max-width: 62em; margin-top: 18px; font-size: 14px; color: var(--muted); }

/* 主力產品：兩張產品卡＋「我們也做」 */
.products .product-card + .product-card { margin-top: 20px; }
.also { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 20px; padding: 18px 24px; border-radius: var(--radius); border: 1px dashed var(--line); background: var(--surface); }
.also p { font-size: 16px; color: var(--muted); }
.also strong { margin-right: 10px; color: var(--ink); }
.also a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--neon-ink); text-decoration: none; }
.also a:hover { text-decoration: underline; text-underline-offset: 3px; }
.plans-title { margin: 8px 0 14px; font-size: 20px; }
.plans + .plans-title { margin-top: 36px; }
.plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1080px) {
	.plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.plans-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
	.dash { padding: 16px; }
	.dash-kpi strong { font-size: 26px; }
	.dash-grid { grid-template-columns: minmax(0, 1fr); }
	.plans { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.dash-chart .line { stroke-dashoffset: 0; }
	.dash-chart .area { opacity: 1; }
}

/* 標題平均換行，避免最後一個字單獨掉到下一行 */
.home .hero h1, .section h2 { text-wrap: balance; }

/* 首頁的常見情境只有 3 則加 1 張詢問卡，兩欄排兩排比較對稱 */
.home .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { .home .pairs { grid-template-columns: minmax(0, 1fr); } }
