* { box-sizing: border-box; margin: 0; padding: 0; letter-spacing: 0; }
:root {
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-tertiary: #999;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
    --accent-blue: #0066ff;
    --accent-teal: #00b4a0;
    --accent-orange: #ff8a00;
    --accent-red: #ff4444;
}
body {
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 64px;
    padding: 0 24px;
    background: var(--bg-white);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
}
.mark {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-blue) 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.nav-links a {
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s, opacity 0.2s, border-color 0.2s;
}
.nav-links a.primary-link {
    background: var(--accent-blue);
    color: #fff;
    padding: 10px 24px;
}
.nav-links a:hover {
    color: var(--accent-blue);
}
.hero {
    display: grid;
    align-items: center;
    min-height: 48vh;
    padding: 80px 24px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8f1f8 100%);
    color: var(--text-primary);
}
.hero-inner, .page, .final-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
}
.eyebrow {
    color: var(--accent-teal);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}
h1 {
    max-width: 820px;
    font-size: clamp(36px, 6vw, 56px);
    line-height: 1.14;
    font-weight: 800;
}
.hero p.lead {
    max-width: 760px;
    margin-top: 18px;
    color: var(--text-secondary);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
    font-weight: 500;
}
.hero-actions, .action-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.btn, button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn.primary, button { background: var(--accent-blue); color: #fff; }
.hero .btn.primary { background: var(--accent-blue); color: #fff; }
.btn.secondary { background: #fff; color: var(--accent-blue); border: 2px solid var(--accent-blue); }
.btn.light { background: #e0f7f4; color: var(--accent-teal); }
.btn:hover, button:hover { opacity: 0.9; transform: translateY(-2px); }
.page { padding: 56px 24px 80px; }
.section {
    margin-top: 24px;
}
.section:first-child { margin-top: 0; }
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}
.section h2, .panel h2 {
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.18;
    font-weight: 700;
}
.section-note {
    max-width: 600px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}
.grid-2, .grid-3, .grid-4, .plans {
    display: grid;
    gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3, .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .panel, .plan, .doc {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: var(--bg-white);
    padding: 32px;
}
.card {
    min-height: 150px;
    background: var(--bg-light);
}
.badge, .num {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    background: #e0edff;
    color: var(--accent-blue);
    font-size: 18px;
    font-weight: 700;
}
.card:nth-child(2n) .badge, .card:nth-child(2n) .num { background: #e0f7f4; color: var(--accent-teal); }
.card:nth-child(3n) .badge, .card:nth-child(3n) .num { background: #ffe8cc; color: var(--accent-orange); }
.card:nth-child(4n) .badge, .card:nth-child(4n) .num { background: #ffe0e0; color: var(--accent-red); }
.card h2, .card h3, .plan h2, .plan h3 {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 12px;
}
.card p, .panel p, .doc p, .doc li, .card li, .panel li {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    font-weight: 400;
}
.panel ul, .card ul, .doc ul, .doc ol { margin-left: 20px; }
.metric {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    font-size: 14px;
}
.metric span:first-child { color: var(--text-secondary); font-weight: 600; }
.metric span:last-child { font-weight: 700; text-align: right; }
.price {
    color: var(--accent-blue);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    margin: 4px 0 8px;
}
.feature-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin-left: 0 !important;
}
.feature-list li::before {
    content: "✓";
    color: var(--accent-teal);
    font-weight: 700;
    margin-right: 7px;
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
th, td { border-bottom: 1px solid var(--border-light); padding: 12px; text-align: left; vertical-align: top; }
th { color: var(--text-secondary); font-size: 13px; font-weight: 700; }
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.wide { grid-column: span 2; }
label {
    display: block;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 5px;
}
input, select, textarea {
    width: 100%;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 11px;
    font-size: 15px;
    background: #fff;
    color: var(--text-primary);
}
textarea { min-height: 120px; resize: vertical; }
.message {
    margin-top: 12px;
    color: var(--accent-blue);
    font-size: 14px;
    font-weight: 900;
    min-height: 20px;
}
.message.error { color: #b91c1c; }
.link-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.link-strip a {
    border-radius: 8px;
    background: #e0f7f4;
    color: var(--accent-teal);
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
}
.doc h2 { margin: 22px 0 8px; }
.doc h2:first-child { margin-top: 0; }
.final-cta {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-teal) 100%);
    color: #fff;
}
.final-inner {
    padding: 80px 24px calc(80px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}
.final-cta h2 {
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.12;
    font-weight: 700;
}
.final-cta p {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
}
.final-cta .btn.secondary {
    background: #fff;
    border-color: #fff;
    color: var(--accent-blue);
}
.footer {
    padding: 32px 24px;
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}
@media (max-width: 860px) {
    .nav { padding-left: 24px; padding-right: 24px; }
    .nav-links { gap: 12px; }
    .nav-links a { font-size: 13px; }
    .nav-links a:not(:first-child):not(.primary-link) { display: none; }
    .hero {
        min-height: 44vh;
        padding-left: 24px;
        padding-right: 24px;
    }
    .page { padding-left: 24px; padding-right: 24px; }
    .section-head { display: grid; }
    .grid-2, .grid-3, .grid-4, .plans, .final-inner, .form-grid { grid-template-columns: 1fr; }
    .wide { grid-column: auto; }
}
@media (max-width: 520px) {
    .brand { font-size: 18px; }
    .hero { padding-top: 60px; padding-bottom: 60px; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .card, .panel, .plan, .doc { padding: 24px; }
}
