/* ============================================================
   首頁樣式 index.css
   ============================================================ */

/* ============================================================
   Hero 區 —— 畫布主題
   ============================================================ */
.hero {
    position: relative;
    padding: calc(var(--header-height) + 90px) 0 110px;
    background:
        radial-gradient(1200px 600px at 12% 18%, rgba(51, 175, 225, 0.18), transparent 60%),
        radial-gradient(900px 500px at 88% 80%, rgba(91, 194, 231, 0.16), transparent 60%),
        linear-gradient(180deg, #FAFDFF 0%, #F2FAFD 100%);
    overflow: hidden;
}

/* 軟色塊光斑 */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.hero::before {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(51, 175, 225, 0.28), transparent 70%);
    top: -160px; left: -140px;
    animation: floatBlob 14s ease-in-out infinite;
}
.hero::after {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(255, 180, 120, 0.18), transparent 70%);
    bottom: -120px; right: -100px;
    animation: floatBlob 18s ease-in-out -6s infinite reverse;
}
@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(40px, 30px) scale(1.08); }
}

/* 背景手繪塗鴉層（更貼合"螢幕標註"主題） */
.hero-doodles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.hero-doodles svg {
    position: absolute;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.hero-doodles .d-stroke {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: bgDraw 4.5s ease forwards;
}
@keyframes bgDraw {
    to { stroke-dashoffset: 0; }
}
.hero-doodle-1 { top: 8%;  left: 4%;  width: 180px; opacity: .35; }
.hero-doodle-2 { top: 62%; left: 38%; width: 140px; opacity: .25; transform: rotate(-8deg); }
.hero-doodle-3 { top: 18%; right: 8%; width: 110px; opacity: .35; }
.hero-doodle-4 { bottom: 12%; left: 8%; width: 90px; opacity: .4; }

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ---------- Hero Eyebrow（全新極簡設計）---------- */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    position: relative;
}
.hero-eyebrow::before {
    content: "";
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 2px;
}
.hero-eyebrow .ey-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    margin-left: -8px;
}
.hero-eyebrow .ey-dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid var(--color-primary);
    opacity: 0;
    animation: eyPulse 2.4s ease-out infinite;
}
@keyframes eyPulse {
    0%   { opacity: .6; transform: scale(.6); }
    80%  { opacity: 0;  transform: scale(1.6); }
    100% { opacity: 0;  transform: scale(1.6); }
}
.hero-eyebrow .ey-text { line-height: 1; }
.hero-eyebrow .ey-sep {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--color-primary-light);
    opacity: .6;
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 64px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
}
.hero-title .en {
    display: block;
    font-size: 0.55em;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
    margin-top: 14px;
}

.hero-desc {
    font-size: 17px;
    line-height: 1.85;
    color: var(--color-text-secondary);
    max-width: 540px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero-actions .btn {
    padding: 16px 32px;
    font-size: 16px;
}
.hero-actions .btn svg {
    width: 18px; height: 18px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.hero-stat {
    display: flex;
    flex-direction: column;
}
.hero-stat-num {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-stat-label {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* ============================================================
   Hero Stage —— 全新"繪圖舞臺"設計
   表達 Epic Pen 的核心：在螢幕上自由繪製、標註、強調
   ============================================================ */
.hero-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 560px;
    margin-left: auto;
}

/* 中央光暈（背景畫布感） */
.hero-stage::before {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(51, 175, 225, 0.18) 0%, rgba(51, 175, 225, 0.04) 50%, transparent 70%);
    filter: blur(20px);
    animation: stagePulse 6s ease-in-out infinite;
}
@keyframes stagePulse {
    0%, 100% { transform: scale(1); opacity: .9; }
    50%      { transform: scale(1.08); opacity: 1; }
}

/* 點狀畫布紋理 */
.hero-stage::after {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background-image: radial-gradient(circle, rgba(51, 175, 225, 0.18) 1px, transparent 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%);
    mask-image: radial-gradient(circle, #000 35%, transparent 70%);
    pointer-events: none;
}

/* 大型動態筆跡 SVG 畫布 */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: visible;
}
.hero-canvas .draw {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: var(--len, 800);
    stroke-dashoffset: var(--len, 800);
    animation: drawLoop 7s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}
@keyframes drawLoop {
    0%   { stroke-dashoffset: var(--len, 800); }
    35%  { stroke-dashoffset: 0; }
    75%  { stroke-dashoffset: 0; opacity: 1; }
    90%  { opacity: 0; }
    100% { stroke-dashoffset: var(--len, 800); opacity: 0; }
}

/* 中央畫筆圖示 */
.hero-pen {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130px;
    height: 130px;
    margin: -65px 0 0 -65px;
    z-index: 5;
    border-radius: 32px;
    background: linear-gradient(135deg, #ffffff 0%, #F4FBFE 100%);
    box-shadow:
        0 24px 60px rgba(51, 175, 225, 0.35),
        0 8px 20px rgba(26, 39, 51, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: penBob 5s ease-in-out infinite;
}
@keyframes penBob {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50%      { transform: translateY(-10px) rotate(4deg); }
}
.hero-pen svg {
    width: 70px;
    height: 70px;
    color: var(--color-primary);
    filter: drop-shadow(0 4px 8px rgba(51, 175, 225, 0.3));
}
/* 筆尖發光點 */
.hero-pen::after {
    content: "";
    position: absolute;
    bottom: 18px;
    right: 22px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 18px var(--color-primary);
    animation: tipBlink 1.6s ease-in-out infinite;
}
@keyframes tipBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .5; transform: scale(.7); }
}

/* 浮動工具晶片 */
.tool-chip {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    box-shadow: 0 12px 32px rgba(26, 39, 51, 0.1), 0 2px 6px rgba(26, 39, 51, 0.04);
    border: 1px solid rgba(229, 237, 243, 0.8);
    animation: chipFloat 5s ease-in-out infinite;
    animation-delay: var(--cd, 0s);
}
.tool-chip svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}
@keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}
.tool-chip-1 { top: 6%;  left: 4%; }
.tool-chip-2 { top: 14%; right: 0%; --cd: -1s; }
.tool-chip-3 { bottom: 18%; left: 0%; --cd: -2s; }
.tool-chip-4 { bottom: 6%;  right: 8%; --cd: -3s; }

/* 調色盤色點（圍繞中心） */
.color-palette {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}
.color-dot {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--c, #33AFE1);
    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.12),
        inset 0 0 0 3px #fff;
    animation: dotOrbit 8s ease-in-out infinite;
    animation-delay: var(--od, 0s);
}
@keyframes dotOrbit {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(6px, -8px) scale(1.12); }
}
.color-dot-1 { top: 32%; left: 8%;  --c: #33AFE1; --od: 0s; }
.color-dot-2 { top: 18%; left: 44%; --c: #FF6B6B; --od: -1.5s; }
.color-dot-3 { top: 40%; right: 6%; --c: #FFD23F; --od: -3s; }
.color-dot-4 { bottom: 26%; right: 30%; --c: #6BCB77; --od: -4.5s; }
.color-dot-5 { bottom: 14%; left: 32%; --c: #A06CD5; --od: -2s; }

/* "Live" 實時標記徽章 */
.live-badge {
    position: absolute;
    z-index: 6;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 88px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--color-text);
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 24px rgba(26, 39, 51, 0.25);
}
.live-badge .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF4757;
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.6);
    animation: liveBlink 1.4s ease-out infinite;
}
@keyframes liveBlink {
    0%   { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    100% { box-shadow: 0 0 0 10px rgba(255, 71, 87, 0); }
}

/* ---------- 通用段落標題 ---------- */
.section {
    padding: 100px 0;
    position: relative;
}
.section-soft { background: var(--color-bg-soft); }

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}
.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    padding: 6px 14px;
    background: var(--color-primary-soft);
    border-radius: 999px;
    margin-bottom: 18px;
}
.section-title {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}
.section-desc {
    font-size: 16px;
    line-height: 1.85;
    color: var(--color-text-secondary);
}

/* ============================================================
   A Pen For Your PC —— Bento Grid 設計
   ============================================================ */
.pen-bento {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 22px;
    min-height: 580px;
}

.bento-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(26, 39, 51, 0.04);
}
.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(26, 39, 51, 0.12);
    border-color: transparent;
}

/* 主推大卡佔左列兩行 */
.bento-feature {
    grid-row: 1 / 3;
    background:
        radial-gradient(circle at 80% -10%, rgba(51, 175, 225, 0.12), transparent 50%),
        #fff;
}

/* ---------- 視覺區通用 ---------- */
.bento-visual {
    position: relative;
    flex: 1;
    min-height: 220px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 30%, rgba(51, 175, 225, 0.08), transparent 60%),
        linear-gradient(135deg, #F4FBFE 0%, #FFFFFF 100%);
    border-bottom: 1px dashed rgba(51, 175, 225, 0.18);
}

/* ---------- Card 1 視覺：模擬桌面 + 標註 ---------- */
.bento-visual-canvas {
    min-height: 280px;
}
.canvas-bg {
    position: absolute;
    inset: 40px 40px 60px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.canvas-line {
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(90deg, rgba(26, 39, 51, 0.08), rgba(26, 39, 51, 0.03));
}
.canvas-line.short { width: 60%; }

.canvas-strokes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    pointer-events: none;
}
.cs-draw {
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: var(--len, 300);
    stroke-dashoffset: var(--len, 300);
    animation: csDraw 6s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}
@keyframes csDraw {
    0%   { stroke-dashoffset: var(--len, 300); }
    35%  { stroke-dashoffset: 0; }
    75%  { stroke-dashoffset: 0; opacity: 1; }
    90%  { opacity: 0; }
    100% { stroke-dashoffset: var(--len, 300); opacity: 0; }
}

.cursor-pen {
    position: absolute;
    top: 38%;
    left: 78%;
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 4px 8px rgba(51, 175, 225, 0.45));
    animation: cursorMove 6s ease-in-out infinite;
}
.cursor-pen svg { width: 100%; height: 100%; }
@keyframes cursorMove {
    0%   { top: 70%; left: 12%; transform: rotate(-10deg); }
    35%  { top: 28%; left: 80%; transform: rotate(8deg); }
    50%  { top: 28%; left: 80%; transform: rotate(8deg); }
    70%  { top: 75%; left: 20%; transform: rotate(-6deg); }
    100% { top: 70%; left: 12%; transform: rotate(-10deg); }
}

/* ---------- Card 2 視覺：色板 ---------- */
.bento-visual-palette {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 30px 20px;
}
.swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.1),
        inset 0 0 0 3px #fff;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.swatch[data-c="1"] { background: #33AFE1; }
.swatch[data-c="2"] { background: #FF6B6B; }
.swatch[data-c="3"] { background: #FFD23F; }
.swatch[data-c="4"] { background: #6BCB77; }
.swatch[data-c="5"] { background: #A06CD5; }
.swatch[data-c="6"] { background: #1A2733; }

.swatch:hover { transform: translateY(-6px) scale(1.1); }
.swatch-active {
    transform: scale(1.4);
    box-shadow:
        0 10px 24px rgba(255, 210, 63, 0.5),
        inset 0 0 0 4px #fff,
        0 0 0 2px rgba(255, 210, 63, 0.5);
    animation: swatchPulse 2.4s ease-in-out infinite;
}
@keyframes swatchPulse {
    0%, 100% { transform: scale(1.4); }
    50%      { transform: scale(1.5); }
}

/* ---------- Card 3 視覺：迷你工具欄 ---------- */
.bento-visual-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
}
.mini-toolbar {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    box-shadow: 0 14px 32px rgba(26, 39, 51, 0.1);
    animation: tbFloat 4s ease-in-out infinite;
}
@keyframes tbFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.mt-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: all var(--transition);
}
.mt-btn svg { width: 16px; height: 16px; }
.mt-btn:hover { background: var(--color-primary-soft); color: var(--color-primary); }
.mt-btn.mt-active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    box-shadow: 0 4px 10px rgba(51, 175, 225, 0.35);
}
.mt-divider {
    width: 1px;
    height: 20px;
    background: var(--color-border);
    margin: 0 4px;
}
.mt-key {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text);
    background: var(--color-bg-soft);
}

/* ---------- 卡片正文區 ---------- */
.bento-body {
    padding: 26px 28px 28px;
}
.bento-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.bento-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary-soft) 0%, #fff 100%);
    border: 1px solid rgba(51, 175, 225, 0.18);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.bento-icon svg { width: 22px; height: 22px; }
.bento-card:hover .bento-icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-color: transparent;
    color: #fff;
    transform: rotate(-6deg);
}

.bento-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-primary-dark);
    background: var(--color-primary-soft);
    border: 1px solid rgba(51, 175, 225, 0.2);
}

.bento-body h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
    line-height: 1.3;
}
.bento-feature .bento-body h3 { font-size: 26px; }
.bento-body p {
    font-size: 14.5px;
    color: var(--color-text-secondary);
    line-height: 1.85;
}
.bento-body p strong { color: var(--color-text); font-weight: 700; }

/* ============================================================
   How It Works —— 錯位時間線設計
   ============================================================ */
.how-flow {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 中央手繪虛線時間軸 */
.how-trail {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background-image: linear-gradient(
        to bottom,
        transparent 0,
        var(--color-primary) 8px,
        transparent 8px,
        transparent 20px
    );
    background-size: 2px 20px;
    background-repeat: repeat-y;
    opacity: 0.45;
    pointer-events: none;
}
.how-trail::before,
.how-trail::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 6px rgba(51, 175, 225, 0.15);
}
.how-trail::before { top: -7px; }
.how-trail::after  { bottom: -7px; background: var(--color-primary-dark); }

/* 單個步驟行 */
.how-step {
    position: relative;
    display: flex;
    margin-bottom: 56px;
    z-index: 1;
}
.how-step:last-child { margin-bottom: 0; }

.how-step-left  { justify-content: flex-start; padding-right: calc(50% + 40px); }
.how-step-right { justify-content: flex-end;   padding-left:  calc(50% + 40px); }

/* 錨點（連線到中央時間軸）*/
.how-anchor {
    position: absolute;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--color-primary);
    box-shadow:
        0 0 0 6px #fff,
        0 6px 16px rgba(51, 175, 225, 0.3);
    z-index: 2;
    transition: all var(--transition);
}
.how-step:hover .how-anchor {
    background: var(--color-primary);
    transform: translateX(-50%) scale(1.15);
}

/* 錨點連線卡片的小橫線 */
.how-step::before {
    content: "";
    position: absolute;
    top: 44px;
    height: 2px;
    width: 40px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    opacity: 0.5;
    z-index: 1;
}
.how-step-left::before  { right: calc(50% + 9px); background: linear-gradient(90deg, transparent, var(--color-primary)); }
.how-step-right::before { left:  calc(50% + 9px); }

/* 卡片 */
.how-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    padding: 36px 36px 32px;
    background: #fff;
    border-radius: 22px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 16px rgba(26, 39, 51, 0.04);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.how-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.how-step:hover .how-card {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(26, 39, 51, 0.12);
    border-color: transparent;
}
.how-step:hover .how-card::before { transform: scaleX(1); }

/* 大號輪廓數字 */
.how-bignum {
    position: absolute;
    top: -10px;
    right: 16px;
    font-size: 130px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    -webkit-text-stroke: 2px rgba(51, 175, 225, 0.18);
    color: transparent;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    transition: all 0.5s ease;
}
.how-step:hover .how-bignum {
    -webkit-text-stroke-color: rgba(51, 175, 225, 0.4);
    transform: translateY(-4px);
}

/* 圖示徽章 */
.how-icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-primary-soft) 0%, #fff 100%);
    border: 1px solid rgba(51, 175, 225, 0.2);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: all var(--transition);
}
.how-icon svg { width: 26px; height: 26px; }
.how-step:hover .how-icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-color: transparent;
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}

/* 步驟小標籤 */
.how-step-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.how-card h4 {
    position: relative;
    z-index: 1;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
}
.how-card p {
    position: relative;
    z-index: 1;
    font-size: 14.5px;
    color: var(--color-text-secondary);
    line-height: 1.85;
}

/* ============================================================
   Loved By Our Users —— 信任帶 + 評價牆
   ============================================================ */

/* ---------- 信任帶 ---------- */
.trust-strip {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1080px;
    margin: 0 auto 48px;
    padding: 28px 36px;
    background: #fff;
    border-radius: 22px;
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 40px rgba(51, 175, 225, 0.08);
    position: relative;
}
.trust-strip::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    width: 140px;
    height: 3px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    border-radius: 999px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.trust-stars {
    display: inline-flex;
    gap: 2px;
    color: #FFB300;
}
.trust-stars svg { width: 18px; height: 18px; }

.trust-meta { line-height: 1.2; }

.trust-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.trust-num span {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-left: 2px;
}
.trust-label {
    font-size: 12.5px;
    color: var(--color-text-muted);
    margin-top: 4px;
    letter-spacing: 0.04em;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* ---------- 評價牆：Bento 佈局 ---------- */
.testimonial-wall {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 22px;
}

.t-card {
    position: relative;
    background: #fff;
    border-radius: 22px;
    padding: 32px 30px 28px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 16px rgba(26, 39, 51, 0.04);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.t-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(26, 39, 51, 0.12);
    border-color: rgba(51, 175, 225, 0.3);
}
.t-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.t-card:hover::after { transform: scaleX(1); }

/* 裝飾性引號 */
.t-quote-mark {
    position: absolute;
    top: -10px;
    right: 24px;
    font-size: 140px;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.1;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

/* 精選大卡 */
.t-featured {
    grid-row: 1 / 3;
    background:
        radial-gradient(circle at 100% 0%, rgba(51, 175, 225, 0.1), transparent 50%),
        linear-gradient(180deg, #FBFEFF 0%, #FFFFFF 100%);
    padding: 40px 38px 34px;
    border-color: rgba(51, 175, 225, 0.2);
}
.t-featured .t-quote-mark {
    font-size: 200px;
    opacity: 0.12;
}

.t-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FFD23F 0%, #FF9F1C 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    align-self: flex-start;
    box-shadow: 0 6px 16px rgba(255, 159, 28, 0.35);
}
.t-badge svg { width: 13px; height: 13px; }

/* 星級評分 */
.t-rating {
    display: inline-flex;
    gap: 3px;
    color: #FFB300;
    margin-bottom: 18px;
}
.t-rating svg { width: 16px; height: 16px; }

/* 評價正文 */
.t-text {
    position: relative;
    z-index: 1;
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    flex: 1;
    border: 0;
    quotes: none;
}
.t-text-lg {
    font-size: 17px;
    line-height: 1.85;
    color: var(--color-text);
}
.t-text strong {
    color: var(--color-text);
    font-weight: 700;
}
.t-text mark {
    background: linear-gradient(180deg, transparent 60%, rgba(255, 210, 63, 0.5) 60%);
    color: var(--color-text);
    font-weight: 700;
    padding: 0 2px;
}

/* 作者區 */
.t-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
}
.t-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(26, 39, 51, 0.15);
}
.t-avatar-1 { background: linear-gradient(135deg, #33AFE1 0%, #1F8FBF 100%); }
.t-avatar-2 { background: linear-gradient(135deg, #FF6B6B 0%, #C0392B 100%); }
.t-avatar-3 { background: linear-gradient(135deg, #A06CD5 0%, #6A4C93 100%); }

.t-featured .t-avatar {
    width: 56px;
    height: 56px;
    font-size: 18px;
}

.t-author-info {
    flex: 1;
    line-height: 1.3;
    min-width: 0;
}
.t-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
}
.t-featured .t-name { font-size: 17px; }
.t-role {
    font-size: 12.5px;
    color: var(--color-text-muted);
    margin-top: 3px;
}

.t-verified {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #33AFE1 0%, #1F8FBF 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(51, 175, 225, 0.35);
}
.t-verified svg { width: 16px; height: 16px; }

/* ---------- 雙特色塊 ---------- */
.duo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.duo-card {
    position: relative;
    padding: 48px 40px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition);
}
.duo-card-a {
    background: linear-gradient(135deg, #33AFE1 0%, #1F8FBF 100%);
    color: #fff;
}
.duo-card-b {
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}
.duo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.duo-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.duo-card-b .duo-icon {
    background: var(--color-primary-soft);
    color: var(--color-primary);
}
.duo-icon svg { width: 28px; height: 28px; color: inherit; }
.duo-card-a .duo-icon { color: #fff; }

.duo-card h3 {
    font-size: 24px;
    margin-bottom: 14px;
}
.duo-card p {
    font-size: 15px;
    line-height: 1.85;
    opacity: 0.92;
}
.duo-card-a::after {
    content: "";
    position: absolute;
    right: -80px; bottom: -80px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

/* ---------- 影片/教程區 ---------- */
.video-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #fff 0%, var(--color-primary-soft) 100%);
}
.video-wrap {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}
.video-wrap iframe {
    width: 100%; height: 100%; border: 0;
}

/* ---------- 底部 CTA ---------- */
.bottom-cta {
    padding: 100px 0;
}
.bottom-cta-inner {
    background: linear-gradient(135deg, #33AFE1 0%, #1F8FBF 100%);
    border-radius: var(--radius-xl);
    padding: 70px 50px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.bottom-cta-inner::before,
.bottom-cta-inner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.bottom-cta-inner::before {
    width: 300px; height: 300px;
    top: -100px; left: -80px;
}
.bottom-cta-inner::after {
    width: 220px; height: 220px;
    bottom: -80px; right: -60px;
}
.bottom-cta h2 {
    position: relative;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 16px;
}
.bottom-cta p {
    position: relative;
    font-size: 16px;
    opacity: 0.95;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.8;
}
.bottom-cta .cta-actions {
    position: relative;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.bottom-cta .btn-primary {
    background: #fff;
    color: var(--color-primary-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.bottom-cta .btn-primary:hover {
    background: #fff;
    color: var(--color-primary);
}
.bottom-cta .btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}
.bottom-cta .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

/* ---------- 響應式 ---------- */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 50px; }
    .hero-stage { margin: 0 auto; max-width: 480px; }
    .pen-bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: auto;
    }
    .bento-feature { grid-row: auto; }
    .testimonial-wall {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .t-featured { grid-row: auto; }
    /* 信任帶：轉為 2x2 網格，每項垂直堆疊 */
    .trust-strip {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 12px;
        padding: 26px 22px;
    }
    .trust-divider { display: none; }
    .trust-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        min-width: 0;
    }
    .trust-meta { text-align: center; }
    .trust-num { font-size: 22px; }
    .trust-label { font-size: 12px; }
    /* How It Works 移動端：時間軸靠左單列 */
    .how-trail { left: 22px; transform: none; }
    .how-trail::before, .how-trail::after { left: 50%; transform: translateX(-50%); }
    .how-step,
    .how-step-left,
    .how-step-right { padding: 0 0 0 56px; justify-content: flex-start; }
    .how-anchor { left: 22px; transform: translateX(-50%); top: 30px; }
    .how-step:hover .how-anchor { transform: translateX(-50%) scale(1.15); }
    .how-step::before,
    .how-step-left::before,
    .how-step-right::before {
        left: 31px; right: auto; width: 24px;
        background: linear-gradient(90deg, var(--color-primary), transparent);
    }
    .how-card { max-width: 100%; padding: 28px 24px 26px; border-radius: 18px; }
    .how-bignum { font-size: 90px; right: 12px; top: -6px; }
    .how-step { margin-bottom: 36px; }
    .duo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .section { padding: 70px 0; }
    .hero { padding: calc(var(--header-height) + 50px) 0 80px; }
    .bento-body { padding: 22px 22px 24px; }
    .bento-body h3 { font-size: 19px; }
    .bento-feature .bento-body h3 { font-size: 21px; }
    .bento-visual { min-height: 180px; }
    .bento-visual-canvas { min-height: 220px; }

    /* 評價精選大卡：縮小內邊距/字號/頭像/水印 */
    .t-featured {
        padding: 28px 22px 24px;
    }
    .t-featured .t-quote-mark { font-size: 130px; right: 14px; top: -6px; }
    .t-card .t-quote-mark { font-size: 100px; right: 12px; }
    .t-text-lg { font-size: 15px; line-height: 1.85; }
    .t-text { font-size: 14px; }
    .t-featured .t-avatar { width: 48px; height: 48px; font-size: 16px; }
    .t-featured .t-name { font-size: 15px; }
    .t-card { padding: 26px 22px 22px; }
    .t-author { gap: 12px; padding-top: 18px; }
    .t-verified { width: 28px; height: 28px; }
    .t-verified svg { width: 14px; height: 14px; }
    .t-badge { font-size: 10px; padding: 5px 11px; }

    /* 信任帶：極窄屏 4 項縱向單列 */
    .trust-strip { grid-template-columns: 1fr 1fr; gap: 22px 8px; padding: 22px 16px; }
    .trust-num { font-size: 20px; }
    .trust-stars svg { width: 15px; height: 15px; }
    .hero-actions .btn { padding: 14px 22px; font-size: 15px; width: 100%; }
    .hero-stats { gap: 24px; }
    .bottom-cta-inner { padding: 50px 24px; }
    .duo-card { padding: 36px 28px; }

    /* Hero eyebrow 移動端換行更友好 */
    .hero-eyebrow {
        flex-wrap: wrap;
        font-size: 11px;
        letter-spacing: 0.18em;
        gap: 10px;
    }
    .hero-eyebrow::before { width: 24px; }

    /* Hero stage 縮小並隱藏部分細節避免擁擠 */
    .hero-stage { max-width: 360px; }
    .hero-pen { width: 100px; height: 100px; margin: -50px 0 0 -50px; border-radius: 26px; }
    .hero-pen svg { width: 54px; height: 54px; }
    .tool-chip { font-size: 11px; padding: 8px 12px; }
    .tool-chip svg { width: 14px; height: 14px; }
    .color-dot { width: 20px; height: 20px; }
    .live-badge { font-size: 11px; padding: 6px 12px; transform: translate(-50%, 70px); }
}
