:root {
    --bg: #0e1418;
    --bg-2: #151c22;
    --bg-3: #1c252c;
    --line: #283139;
    --fg: #e8edf1;
    --fg-2: #a8b3bd;
    --fg-3: #6c7782;
    --primary: #ffb74d;
    --primary-2: #ff8a4d;
    --accent: #2fabbb;
    --accent-2: #5fd2dd;
    --success: #4caf50;
    --warning: #ff7043;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Language Switch ===== */
body.lang-en [data-lang="zh"] { display: none !important; }
body:not(.lang-en) [data-lang="en"] { display: none !important; }
.lang-toggle {
    display: inline-flex; gap: 2px;
    background: var(--bg-3); padding: 3px;
    border-radius: 999px; border: 1px solid var(--line);
}
.lang-btn {
    background: transparent; color: var(--fg-2); border: none;
    padding: 5px 12px; border-radius: 999px; cursor: pointer;
    font-size: 13px; font-weight: 700; font-family: inherit;
    transition: all .2s;
}
.lang-btn:hover { color: var(--fg); }
.lang-btn.active {
    background: var(--accent); color: #0e1418;
}

/* ===== Nav ===== */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(14, 20, 24, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px; max-width: 1200px; margin: 0 auto;
}
.nav-brand {
    display: inline-flex; align-items: center;
}
.nav-brand img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--fg-2); font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #1a1a1a !important; padding: 8px 18px; border-radius: 999px;
    font-weight: 700; font-size: 14px;
}
@media (max-width: 720px) {
    .nav-links a:not(.nav-cta) { display: none; }
}

/* ===== Hero ===== */
.hero {
    position: relative; padding: 96px 0 80px;
    background: radial-gradient(1200px 600px at 50% -200px, rgba(255, 183, 77, 0.18), transparent 60%),
                radial-gradient(800px 400px at 80% 100%, rgba(47, 171, 187, 0.12), transparent 70%);
    text-align: center;
    overflow: hidden;
}
.hero-badge {
    display: inline-block; padding: 6px 16px; border-radius: 999px;
    background: rgba(47, 171, 187, 0.15); color: var(--accent-2);
    font-size: 13px; font-weight: 600; margin-bottom: 24px;
    border: 1px solid rgba(47, 171, 187, 0.3);
}
.hero h1 {
    font-size: 56px; line-height: 1.15; font-weight: 800;
    margin-bottom: 24px; letter-spacing: -0.02em;
}
.hero h1 .grad {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 50%, var(--accent) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p.lead {
    font-size: 20px; color: var(--fg-2); max-width: 760px; margin: 0 auto 40px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 10px; font-weight: 700; font-size: 15px;
    text-decoration: none; transition: all .2s; cursor: pointer; border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #1a1a1a;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 138, 77, 0.3); }
.btn-secondary {
    background: transparent; color: var(--fg); border: 1px solid var(--line);
}
.btn-secondary:hover { background: var(--bg-2); border-color: var(--fg-3); }
@media (max-width: 720px) {
    .hero h1 { font-size: 36px; }
    .hero p.lead { font-size: 17px; }
    .hero { padding: 64px 0 56px; }
}

/* ===== Section ===== */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block; padding: 4px 12px; border-radius: 6px;
    background: rgba(255, 183, 77, 0.15); color: var(--primary);
    font-size: 12px; font-weight: 700; letter-spacing: 1px; margin-bottom: 12px;
}
.section-head h2 {
    font-size: 40px; font-weight: 800; letter-spacing: -0.01em;
    line-height: 1.2; margin-bottom: 16px;
}
.section-head p { font-size: 18px; color: var(--fg-2); max-width: 680px; margin: 0 auto; }
@media (max-width: 720px) {
    .section-head h2 { font-size: 28px; }
    section { padding: 56px 0; }
}

/* ===== Vertical Cards（餐廳 / 美業） ===== */
.verticals { background: var(--bg-2); }
.mode-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.mode-card {
    background: var(--bg-3); border-radius: var(--radius);
    border: 1px solid var(--line); padding: 32px;
    display: flex; flex-direction: column;
}
.mode-card.a { border-top: 4px solid var(--accent); }
.mode-card.b { border-top: 4px solid var(--primary); }
.mode-card .mode-tag {
    display: inline-block; align-self: flex-start;
    padding: 4px 12px; border-radius: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 12px;
}
.mode-card.a .mode-tag { background: rgba(47, 171, 187, 0.15); color: var(--accent-2); }
.mode-card.b .mode-tag { background: rgba(255, 183, 77, 0.15); color: var(--primary); }
.mode-card h3 {
    font-size: 22px; margin-bottom: 10px;
    display: flex; align-items: center; gap: 10px;
}
.mode-card h3 i { width: 24px; text-align: center; }
.mode-card.a h3 i { color: var(--accent-2); }
.mode-card.b h3 i { color: var(--primary); }
.mode-card .subtitle { color: var(--fg-2); font-size: 14px; margin-bottom: 24px; }
.mode-pros { list-style: none; flex: 1; }
.mode-pros li {
    color: var(--fg-2); font-size: 14px; padding-left: 22px;
    position: relative; margin-bottom: 10px;
}
.mode-pros li::before {
    content: "▸"; position: absolute; left: 0; color: var(--primary);
    font-weight: 700;
}
.mode-pros li strong { color: var(--fg); }
@media (max-width: 880px) {
    .mode-grid { grid-template-columns: 1fr; }
}

/* ===== Steps（預約流程） ===== */
.steps-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.step-card {
    background: var(--bg-2); border: 1px solid var(--line);
    padding: 28px 24px; border-radius: var(--radius);
    position: relative; text-align: center;
    transition: all .25s;
}
.step-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.step-num {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #1a1a1a; font-weight: 800; font-size: 18px;
}
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { color: var(--fg-2); font-size: 14px; }
.step-card .step-icon {
    font-size: 26px; color: var(--accent-2); margin-bottom: 14px;
}
@media (max-width: 960px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

/* ===== Feature Grid ===== */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature-card {
    background: var(--bg-2); border: 1px solid var(--line);
    padding: 28px; border-radius: var(--radius); transition: all .25s;
}
.feature-card:hover { background: var(--bg-3); transform: translateY(-3px); }
.feature-card h3 {
    font-size: 19px; margin-bottom: 12px;
    display: flex; align-items: center; gap: 10px;
}
.feature-card h3 i { color: var(--accent-2); font-size: 18px; width: 22px; text-align: center; }
.feature-card p { color: var(--fg-2); font-size: 14px; }
@media (max-width: 960px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }

/* ===== CTA ===== */
.cta-section {
    padding: 96px 0; text-align: center;
    background: radial-gradient(800px 400px at 50% 0%, rgba(255, 183, 77, 0.15), transparent 70%);
}
.cta-section h2 { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 18px; color: var(--fg-2); margin-bottom: 32px; }
.cta-section .btn { font-size: 16px; padding: 16px 32px; }
@media (max-width: 720px) { .cta-section h2 { font-size: 28px; } }

/* ===== Footer ===== */
footer {
    background: #08090b; padding: 48px 0 32px;
    border-top: 1px solid var(--line); color: var(--fg-3); font-size: 14px;
}
.footer-inner {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--fg-2); }

/* Animation */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero p.lead, .hero-cta { animation: fadeUp .8s ease-out both; }
.hero p.lead { animation-delay: .1s; }
.hero-cta { animation-delay: .2s; }

/* 原行內 style 屬性（CSP 不允許 inline style，改為 class；!important 維持原優先權） */
.lp-1 { color: var(--fg) !important; }
