:root {
    --bg-color: #080C16;
    --bg-panel: rgba(15, 23, 42, 0.85);
    --grid-color: rgba(255, 255, 255, 0.02);
    
    --primary: #3b82f6;
    --primary-dim: rgba(59, 130, 246, 0.15);
    --secondary-purple: #8b5cf6;
    --secondary-cyan: #06b6d4;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-alert: #ef4444;

    --font-sans: 'Inter', 'Noto Sans TC', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --border-color: rgba(255, 255, 255, 0.08);

    --card-bg: linear-gradient(145deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.4));
    --card-hover-border: rgba(255, 255, 255, 0.15);
    --nav-bg: rgba(8, 12, 22, 0.85);
    --proof-quote-color: rgba(59, 130, 246, 0.1);
    --action-box-bg: rgba(59, 130, 246, 0.05);
}

/* Light Mode */
[data-theme="light"] {
    --bg-color: #f5f7fa;
    --bg-panel: rgba(255, 255, 255, 0.9);
    --grid-color: rgba(0, 0, 0, 0.03);
    
    --primary: #2563eb;
    --primary-dim: rgba(37, 99, 235, 0.1);
    --secondary-purple: #7c3aed;
    --secondary-cyan: #0891b2;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-alert: #dc2626;
    
    --border-color: rgba(0, 0, 0, 0.1);

    --card-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(241, 245, 249, 0.7));
    --card-hover-border: rgba(0, 0, 0, 0.15);
    --nav-bg: rgba(255, 255, 255, 0.9);
    --proof-quote-color: rgba(37, 99, 235, 0.08);
    --action-box-bg: rgba(37, 99, 235, 0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    overflow-x: hidden;
}
body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.7;
    position: relative;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

.background-grid {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    z-index: -1; pointer-events: none;
}

/* Utilities */
.text-primary { color: var(--primary); }
.text-purple { color: var(--secondary-purple); }
.text-cyan { color: var(--secondary-cyan); }
.text-blue { color: var(--primary); }
.text-alert { color: var(--text-alert); }
.text-muted { color: var(--text-muted); }
.text-small { font-size: 0.85rem; }
.text-gradient {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-highlight { color: var(--text-main); font-weight: 700; border-bottom: 2px solid var(--primary-dim); }
[data-theme="light"] .text-highlight { color: #000; border-bottom-color: rgba(37, 99, 235, 0.2); }
.font-weight-bold { font-weight: 700; }
.mr-1 { margin-right: 0.5rem; } .ml-1 { margin-left: 0.5rem; } .pl-2 { padding-left: 0.8rem; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-5 { margin-top: 5rem; }
.mb-2 { margin-bottom: 1.5rem; } .mb-3 { margin-bottom: 2rem; } .mb-4 { margin-bottom: 3rem; } .mb-5 { margin-bottom: 5rem; }
.p-4 { padding: 3rem; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; }
h1.status-badge { margin: 0; font-size: inherit; }

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Navigation */
.top-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 5%; background: var(--nav-bg);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.logo { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.5px; display: flex; align-items: center;}
.logo .neon-text { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }

.top-nav nav a {
    color: var(--text-muted); text-decoration: none; margin: 0 1.5rem;
    font-size: 0.95rem; font-weight: 500; transition: color 0.2s;
}
.top-nav nav a:hover { color: var(--text-main); }
.nav-right { display: flex; align-items: center; gap: 1rem; }

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none; border: 1px solid var(--border-color); color: var(--text-muted);
    width: 40px; height: 40px; border-radius: 8px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; transition: all 0.3s ease;
}
.theme-toggle-btn:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-dim); }

@media(max-width: 768px) {
    .top-nav nav { display: none; }
    .logo .neon-text { display: none; }
    .top-nav { padding: 1rem 5%; }
    .btn.nav-cta { padding: 0.5rem 1rem; font-size: 0.9rem; white-space: nowrap; }
}

/* Anchor scroll offset — compensate for sticky nav (~70px) */
section[id] { scroll-margin-top: 80px; }
@media (max-width: 768px) { section[id] { scroll-margin-top: 72px; } }

/* Touch responsiveness */
button, a, .btn, .case-filter-btn, .case-media-button, .video-modal__nav, .video-modal__close {
    touch-action: manipulation;
}

/* SaaS Style Buttons */
.btn {
    display: inline-block; padding: 0.75rem 1.5rem; font-weight: 600;
    text-decoration: none; border-radius: 6px; transition: all 0.2s ease;
    cursor: pointer; text-align: center; font-size: 0.95rem;
}
.btn-large { padding: 1rem 2.5rem; font-size: 1.05rem; }
.hero-cta-pill { border-radius: 999px; padding: 1rem 3rem; font-size: 1.2rem; }
.block { display: block; width: 100%; margin-top: 1.5rem; }

.btn-outline-primary { border: 1px solid var(--border-color); color: var(--text-main); background: rgba(255,255,255,0.02); }
.btn-outline-primary:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.15); }

.btn-primary { background: var(--primary); color: #fff; border: 1px solid transparent; box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25); }
.btn-primary:hover { background: #2563eb; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3); }


/* Layouts & Panels */
.glass-panel {
    background: var(--bg-panel); border: 1px solid var(--border-color);
    border-radius: 12px; backdrop-filter: blur(16px);
}
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color); border-radius: 10px; padding: 2.2rem;
    transition: transform 0.3s, border-color 0.3s;
}
.glass-card:hover { border-color: var(--card-hover-border); transform: translateY(-4px); }

.section-header { margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; color: var(--text-main); letter-spacing: -0.03em;}
.section-header p { color: var(--text-muted); margin-top: 0.5rem; font-size: 1.05rem; }
.section-header .divider { height: 2px; width: 40px; background: var(--primary); margin: 1.5rem 0; border-radius: 2px; }
.section-header.center .divider { margin: 1.5rem auto; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media(max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
@media(max-width: 600px) { .grid-4 { grid-template-columns: 1fr; } }

/* Hero Section */
.hero { padding: 5rem 2rem 4.5rem; }
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.hero-copy { display: flex; flex-direction: column; }
.hero-title { font-size: 2rem; line-height: 1.2; letter-spacing: -0.04em; font-weight: 800; }
.hero .subtitle { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; font-weight: 400; max-width: 480px; }

.status-badge {
    display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.2rem;
    font-size: 2.8rem; font-weight: 700;
    color: var(--primary); background: transparent; border: none;
    padding: 0; border-radius: 0; margin-bottom: 1rem; letter-spacing: -0.02em;
    align-self: flex-start; line-height: 1.15;
}
.status-badge span { white-space: nowrap; }
.status-badge-sub {
    color: var(--text-main);
}
.pulse-dot {
    width: 10px; height: 10px; background-color: var(--primary); border-radius: 50%;
    margin-right: 12px; flex-shrink: 0; box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

@media(max-width: 768px) {
    .hero { padding: 2.5rem 1.2rem 3rem; }
    .hero-split { grid-template-columns: 1fr; gap: 2rem; }
    .hero-copy { align-items: center; text-align: center; }
    .hero-title { font-size: 1.6rem; }
    .hero .subtitle { max-width: 100%; text-align: center; }
    .hero-visual { order: -1; }
    .status-badge { font-size: 2.4rem; align-items: center; align-self: stretch; width: 100%; }
    .status-badge span { white-space: normal; text-align: center; }
}

/* Hero Visual Image */
.hero-visual {
    width: 100%;
}
.hero-img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.15), 0 20px 60px rgba(0, 0, 0, 0.4);
    display: block;
}
@media (min-width: 769px) {
    .hero-visual {
        margin-bottom: 2.25rem;
    }
}

/* Diagnosis B2B Section */
.diagnosis-container {
    overflow: hidden;
}

.diagnosis-content {
    padding: 4rem;
}
.d-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}
.d-icon {
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.d-text { flex: 1; }
.d-text h3 { margin-bottom: 0.8rem; font-size: 1.25rem; font-weight: 600;}
.d-text p { font-size: 0.95rem; line-height: 1.7; }
.d-action-box {
    background: var(--action-box-bg);
    border-left: 4px solid var(--primary);
    padding: 1.5rem 2rem;
    margin-top: 1.5rem;
    border-radius: 0 8px 8px 0;
}
.d-action-box h4 { margin-bottom: 0.5rem; font-size: 1.05rem;}
.d-action-box p { font-size: 0.95rem; color: var(--text-main); }

@media(max-width: 768px) {
    .diagnosis-content { padding: 2rem; }
    .d-row { flex-direction: column; gap: 1rem; }
    .d-icon { align-self: flex-start; }
}

/* Features */
.feature-icon { font-size: 1.8rem; color: var(--primary); margin-bottom: 1.5rem; opacity: 0.9;}
.feature-card h3 { margin-bottom: 1rem; font-size: 1.2rem; font-weight: 600;}
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.feature-card.glass-card {
    background: linear-gradient(145deg, rgba(37, 55, 85, 0.92), rgba(20, 30, 58, 0.92));
    border-color: rgba(255, 255, 255, 0.22);
    border-top: 2px solid var(--primary);
}
.feature-card.glass-card:hover { border-color: rgba(255, 255, 255, 0.4); border-top-color: var(--primary); }
.feature-card h3 { color: var(--text-main); }

/* Proof Section */
.proof-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.proof-metric { font-size: 2.2rem; font-weight: 800; margin-bottom: 1.2rem; font-family: var(--font-mono); letter-spacing: -1px; color: var(--primary);}
.proof-quote { position: absolute; font-size: 4rem; color: var(--primary); opacity: 0.1; top: 1rem; right: 1.5rem; font-family: serif; line-height: 1;}
.proof-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; flex-grow: 1;}
.proof-divider { border-top: 1px dashed var(--border-color); margin: 1.5rem 0 1.2rem 0; width: 100%;}
.proof-author { display: flex; align-items: center; gap: 1rem; }
.proof-avatar { display:flex; align-items:center; justify-content:center; width: 40px; height: 40px; font-weight: 700; border-radius: 6px; font-family: var(--font-mono); font-size: 1.1rem;}
.proof-avatar.bg-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa;}
.proof-avatar.bg-purple { background: rgba(139, 92, 246, 0.15); color: #c084fc;}
.proof-avatar.bg-cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee;}
.proof-author-info { display: flex; flex-direction: column; }
.proof-author-name { font-size: 0.95rem; color: var(--text-main); font-weight: 600;}
.proof-author-desc { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem;}

/* Process */
.process-steps { display: flex; justify-content: space-between; align-items: flex-start; padding: 3.5rem; text-align: center;}
.step { flex: 1; position: relative; }
.step-number { font-family: var(--font-mono); font-size: 2.5rem; font-weight: 800; opacity: 0.4; margin-bottom: 1rem; line-height: 1; letter-spacing: -2px;}
.step h3 { margin-bottom: 0.8rem; font-size: 1.2rem;}
.step p { color: var(--text-muted); font-size: 0.95rem; max-width: 85%; margin: 0 auto; line-height: 1.6;}
.step-connector { width: 40px; height: 1px; background: var(--border-color); margin-top: 2.5rem; }
@media(max-width: 768px) { .process-steps { flex-direction: column; gap: 3rem; } .step-connector { display: none; } }

/* Cases */
.cases-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1.5rem;
    padding: 1.6rem;
    align-items: center;
}
.cases-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.9rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--primary-dim);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.cases-intro-copy h3 {
    font-size: 1.45rem;
    margin-bottom: 0.55rem;
}
.cases-intro-copy p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}
.cases-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}
.case-filter-btn {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.case-filter-btn:hover {
    color: var(--text-main);
    border-color: var(--card-hover-border);
}
.case-filter-btn.is-active {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.22);
}
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
.case-card {
    padding: 1.1rem;
}
.case-card.is-hidden {
    display: none;
}
.case-media-button {
    position: relative;
    display: block;
    width: 100%;
    border: none;
    background: none;
    padding: 0;
    margin: 0 0 1rem;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
}
.case-media-button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.36));
    opacity: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}
.case-media-button:hover::after {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.03), rgba(2, 6, 23, 0.28));
}
.case-media-button:hover .case-image {
    transform: scale(1.02);
}
.case-media-button--image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0.18));
    pointer-events: none;
}
.case-image {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.25s ease;
}
.case-type-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    background: rgba(10, 14, 24, 0.82);
    color: #f8fafc;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}
.case-type-badge--static {
    background: rgba(24, 34, 61, 0.82);
}
.case-zoom-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
.case-zoom-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: rgba(8, 12, 22, 0.72);
    color: #fff;
    font-size: 1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
    transition: transform 0.2s ease, background 0.2s ease;
}
.case-play-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
.case-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: rgba(8, 12, 22, 0.82);
    color: #fff;
    font-size: 1.1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, background 0.2s ease;
}
.case-media-button:hover .case-play-icon {
    transform: scale(1.06);
    background: rgba(37, 99, 235, 0.88);
}
.case-media-button:hover .case-zoom-icon {
    transform: scale(1.06);
    background: rgba(37, 99, 235, 0.82);
}
.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}
.case-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--primary-dim);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.case-tag-muted {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
}
.case-card h3 {
    font-size: 1.08rem;
    margin-bottom: 0.55rem;
}
.case-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}
.case-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.84rem;
}
.case-meta span {
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.34rem 0.68rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-weight: 600;
}
.case-meta a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
}
.case-video-btn {
    border: none;
    background: none;
    color: var(--primary);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
}
.case-meta a:hover {
    text-decoration: underline;
}
.case-meta a::after {
    content: '\2192';
    font-size: 0.9em;
    opacity: 0.85;
}
.cases-empty {
    margin-top: 1rem;
    padding: 1.5rem;
    text-align: center;
}
.cases-empty.is-hidden {
    display: none;
}
.cases-empty h3 {
    margin-bottom: 0.55rem;
}
.cases-empty p {
    color: var(--text-muted);
    margin: 0;
}
.cases-controls {
    margin-top: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    background: rgba(12, 17, 32, 0.56);
}
.cases-controls.is-hidden {
    display: none;
}
.cases-summary {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}
.cases-toggle-btn {
    flex-shrink: 0;
    min-width: 168px;
    justify-content: center;
}
.case-video-btn:hover {
    text-decoration: underline;
}
.case-action-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.9rem;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
}
.video-modal.is-open {
    display: block;
}
.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.74);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.video-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(420px, calc(100vw - 2rem));
    margin: 4vh auto;
    max-height: 92vh;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    background: rgba(8, 12, 22, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.video-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem 0.8rem;
    border-bottom: 1px solid var(--border-color);
    gap: 0.7rem;
}
.video-modal__header h3 {
    font-size: 1rem;
    flex: 1;
}
.video-modal__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.video-modal__nav {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.video-modal__nav:hover {
    color: var(--text-main);
    border-color: var(--card-hover-border);
}
.video-modal__nav.is-hidden {
    display: none;
}
.video-modal__close {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.video-modal__close:hover {
    color: var(--text-main);
    border-color: var(--card-hover-border);
}
.video-modal__body {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.video-modal__player {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(92vh - 110px);
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 14px;
    background: #000;
    display: block;
}
.video-modal__player.is-hidden {
    display: none;
}
.video-modal__image {
    display: none;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(92vh - 110px);
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}
.video-modal__image.is-visible {
    display: block;
}

/* Pricing */
.pricing-carousel { width: 100%; padding-bottom: 2rem; }

.pricing-guide {
    padding: 1.5rem;
    margin: 0 auto 2.5rem;
    max-width: 980px;
}
.pricing-guide-header {
    text-align: center;
    margin-bottom: 1.25rem;
}
.pricing-guide-header h3 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}
.pricing-guide-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.pricing-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.pricing-guide-card {
    display: block;
    text-decoration: none;
    color: var(--text-main);
    padding: 1.2rem 1.15rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.pricing-guide-card:visited,
.pricing-guide-card:hover,
.pricing-guide-card:active {
    color: var(--text-main);
}
.pricing-guide-card:hover {
    transform: translateY(-2px);
    border-color: var(--card-hover-border);
    background: rgba(59, 130, 246, 0.06);
}
.guide-label {
    display: inline-block;
    margin-bottom: 0.7rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--primary-dim);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.pricing-guide-card strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.45rem;
    line-height: 1.45;
}
.pricing-guide-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.pricing-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; padding: 1rem 0; max-width: 1100px; margin: 0 auto; }
.pricing-card { position: relative; width: 330px; display: flex; flex-direction: column; flex-grow: 1; max-width: 350px; }
@media(max-width: 768px) { .pricing-card { width: 100%; max-width: 100%; } }
.tier-name { color: var(--text-main); font-size: 1rem; margin-bottom: 1rem; font-weight: 600;}
.tier-output { font-family: var(--font-mono); border-bottom: 1px solid var(--border-color); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.tier-output .count { font-size: 2.5rem; font-weight: 700; }
.tier-output .type { font-size: 1rem; color: var(--text-muted); font-family: var(--font-sans); }
.tier-output .divider-slash { color: rgba(255, 255, 255, 0.2); margin: 0 0.5rem; }
.tier-price-detail { font-family: var(--font-mono); font-size: 1.05rem; margin-bottom: 2rem; color: var(--text-muted); }
.tier-features { list-style: none; margin-bottom: 2rem; flex-grow: 1; }
.tier-features li { margin-bottom: 1rem; font-size: 0.95rem; display: flex; align-items: flex-start; gap: 0.8rem; color: var(--text-main);}
.tier-features li i { padding-top: 0.25rem; font-size: 0.85rem;}

.featured.glow-primary { border-color: rgba(59, 130, 246, 0.5); box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15); transform: scale(1.02); }
.featured-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 0.2rem 1rem; font-size: 0.8rem; font-weight: 600; border-radius: 20px; letter-spacing: 0.5px;}

/* FAQ Section (Accordion) */
.faq-details { padding: 1.5rem 0; border-bottom: 1px solid var(--border-color); }
.faq-details:last-child { border-bottom: none; }
.faq-summary { font-size: 1.1rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.faq-summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--text-muted); transition: transform 0.3s; font-size: 0.9rem;}
.faq-details[open] .faq-icon { transform: rotate(45deg); }
.faq-content { padding-top: 1.2rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; padding-left: 1.8rem; }

.cta-section { text-align: center; padding: 2.5rem 2rem; border: 1px solid var(--border-color); background: rgba(59, 130, 246, 0.03);}
.cta-section h2 { font-size: 1.6rem; margin-bottom: 1rem; }


/* Simple Footer */
footer { border-top: 1px solid var(--border-color); padding: 2.5rem 5%; margin-top: 4rem; text-align: center; background: rgba(0, 0, 0, 0.05);}
.footer-bottom { color: var(--text-muted); font-size: 0.9rem; }
.footer-bottom .logo { font-size: 1.1rem; margin-bottom: 0.8rem; color: var(--text-main); justify-content: center;}

/* ══════════════════════════════════════
   Hero Data Bar
══════════════════════════════════════ */
.hero-data-bar {
    display: flex; align-items: flex-start; justify-content: center;
    gap: 0; width: 100%; max-width: 900px;
    background: rgba(0,0,0,0.25); border: 1px solid var(--border-color);
    border-radius: 12px; padding: 2rem 1.5rem; margin-top: 0.5rem;
}
.hero-stat { flex: 1; text-align: center; padding: 0 1.5rem; }
.hero-stat-value { font-size: 2.8rem; font-weight: 800; line-height: 1; margin-bottom: 0.75rem; letter-spacing: -0.03em; }
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.hero-stat-divider { width: 1px; background: var(--border-color); align-self: stretch; margin: 0; }
.hero-or-divider {
    display: flex; align-items: center; gap: 1rem;
    max-width: 420px; margin-bottom: 1.5rem;
}
.or-line { flex: 1; height: 1px; background: var(--border-color); }
.or-text { font-size: 0.85rem; color: var(--text-muted); white-space: nowrap; letter-spacing: 0.5px; }
.hero-title-2 {
    font-size: 2.2rem; font-weight: 800; line-height: 1.25;
    max-width: 600px; margin-bottom: 0.5rem;
}
@media(max-width: 600px) { .hero-title-2 { font-size: 1.7rem; } }

.hero-data-intro { font-size: 1rem; color: var(--text-muted); text-align: center; max-width: 600px; margin-bottom: 1rem; line-height: 1.6; }
.stat-source-link { display: inline-block; margin-top: 0.6rem; font-size: 0.75rem; color: var(--primary); opacity: 0.7; text-decoration: none; transition: opacity 0.2s; }
.stat-source-link:hover { opacity: 1; text-decoration: underline; }
@media(max-width: 768px) {
    .hero-data-bar { flex-direction: column; gap: 1.5rem; padding: 1.5rem; }
    .hero-stat-divider { width: 100%; height: 1px; }
    .hero-stat { padding: 0; }
}

/* ══════════════════════════════════════
   Pain Points
══════════════════════════════════════ */
.pain-card { position: relative; padding-top: 3rem; }
.pain-number {
    position: absolute; top: 1.5rem; right: 1.8rem;
    font-size: 3.5rem; font-weight: 800; opacity: 0.07;
    line-height: 1; letter-spacing: -0.05em;
}
.pain-icon { font-size: 2rem; margin-bottom: 1rem; }
.pain-card h3 { margin-bottom: 0.8rem; font-size: 1.15rem; }

/* ══════════════════════════════════════
   Andromeda Algorithm Section
══════════════════════════════════════ */
.algo-section { padding: 3.5rem; overflow: hidden; }
.algo-header { margin-bottom: 2.5rem; }
.algo-tag {
    display: inline-flex; align-items: center; font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary);
    background: var(--primary-dim); border: 1px solid rgba(59,130,246,0.2);
    padding: 0.3rem 0.9rem; border-radius: 20px; margin-bottom: 1.2rem;
}
.algo-header h2 { font-size: 2rem; line-height: 1.25; }
.algo-body { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: stretch; }
.algo-explain { display: flex; flex-direction: column; gap: 1.5rem; }
.algo-point { display: flex; gap: 1rem; align-items: flex-start; font-size: 0.98rem; line-height: 1.7; color: var(--text-muted); }
.algo-point-icon { font-size: 1.3rem; flex-shrink: 0; padding-top: 0.1rem; }
.algo-point strong { color: var(--text-main); }
.algo-data-col { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.data-callout {
    background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.15);
    border-radius: 10px; padding: 1.4rem 1.5rem;
}
.data-callout-num { font-size: 2.4rem; font-weight: 800; line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.data-callout-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 0.4rem; }
.data-callout-source { font-size: 0.75rem; color: var(--primary); opacity: 0.7; }
.data-callout-source a { color: inherit; text-decoration: none; }
.data-callout-source a:hover { opacity: 1; text-decoration: underline; }
.algo-conclusion {
    margin-top: 2.5rem; padding: 1.5rem; background: rgba(59,130,246,0.05);
    border-left: 3px solid var(--primary); border-radius: 0 8px 8px 0;
    font-size: 0.98rem; line-height: 1.7; color: var(--text-muted);
}
.algo-conclusion strong { color: var(--text-main); }
@media(max-width: 900px) {
    .algo-section { padding: 2rem; }
    .algo-body { grid-template-columns: 1fr; gap: 2rem; }
    .algo-data-col { flex-direction: row; flex-wrap: wrap; }
    .data-callout { flex: 1; min-width: 200px; }
}

/* ══════════════════════════════════════
   Authority Section
══════════════════════════════════════ */
.authority-stats {
    display: flex; justify-content: center; align-items: stretch;
    padding: 2.5rem 2rem; gap: 0; margin-bottom: 0;
}
.authority-stat { flex: 1; text-align: center; padding: 1rem 2rem; }
.authority-stat-value { font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 0.75rem; letter-spacing: -0.03em; }
.authority-stat-label { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.authority-divider { width: 1px; background: var(--border-color); }
@media(max-width: 768px) {
    .authority-stats { flex-direction: column; gap: 2rem; padding: 2rem; }
    .authority-divider { width: 100%; height: 1px; }
    .authority-stat { padding: 0; }
}

/* ══════════════════════════════════════
   Guarantees
══════════════════════════════════════ */
.guarantees { display: flex; justify-content: center; gap: 2.5rem; color: var(--text-muted); font-size: 0.95rem; flex-wrap: wrap; }
.g-item { display: flex; align-items: center; gap: 0.5rem; }
@media(max-width: 600px) { .guarantees { flex-direction: column; gap: 1rem; align-items: center; } }

/* Light Mode Additional Overrides */
[data-theme="light"] .proof-card { background: rgba(0, 0, 0, 0.02); }
[data-theme="light"] .d-icon { background: rgba(0, 0, 0, 0.03); }
[data-theme="light"] .status-badge { background: rgba(37, 99, 235, 0.08); border-color: rgba(37, 99, 235, 0.15); }
[data-theme="light"] .cta-section { background: rgba(37, 99, 235, 0.03); }
[data-theme="light"] .featured.glow-primary { border-color: rgba(37, 99, 235, 0.4); box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1); }
[data-theme="light"] .text-gradient { background: linear-gradient(135deg, #2563eb, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
[data-theme="light"] .btn-primary { box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2); }
[data-theme="light"] .btn-primary:hover { box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25); }
[data-theme="light"] footer { background: rgba(0, 0, 0, 0.03); }
[data-theme="light"] .pricing-guide-card { background: rgba(0, 0, 0, 0.015); }
[data-theme="light"] .pricing-guide-card:hover { background: rgba(37, 99, 235, 0.06); }
[data-theme="light"] .case-filter-btn { background: rgba(0, 0, 0, 0.02); }
[data-theme="light"] .case-tag-muted { background: rgba(0, 0, 0, 0.05); }
[data-theme="light"] .case-meta span {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .video-modal__dialog { background: rgba(255, 255, 255, 0.97); box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24); }
[data-theme="light"] .video-modal__close { background: rgba(0, 0, 0, 0.03); }

/* ══════════════════════════════════════
   Pricing — 原價 / 特價
══════════════════════════════════════ */
.price-original {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1rem;
    font-family: var(--font-mono);
    margin-right: 0.4rem;
    opacity: 0.7;
}
.price-special {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--text-main);
    line-height: 1;
}
.pricing-card.featured .price-special { color: var(--primary); font-size: 2.2rem; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25rem; margin-bottom: 0.25rem; }

.pricing-tier-group { margin-bottom: 3rem; }
.pricing-tier-label {
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.pricing-tier-label::before,
.pricing-tier-label::after {
    content: '';
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: var(--border-color);
}
.pricing-tier-label .tier-sub { font-weight: 400; color: var(--text-muted); font-size: 0.88rem; }
.monthly-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}
.pricing-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    padding: 0 1rem;
}
.discount-tag {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
    margin-left: 0.4rem;
    vertical-align: middle;
}
.pricing-enterprise-wrap { display: flex; justify-content: center; margin-top: 0.5rem; }
.pricing-enterprise-wrap .pricing-card { width: 100%; max-width: 680px; flex-direction: row; align-items: center; gap: 2rem; flex-wrap: wrap; }
.pricing-enterprise-wrap .pricing-card .tier-features { margin: 0; flex: 1; min-width: 200px; }
.pricing-enterprise-wrap .pricing-card .enterprise-actions { display: flex; flex-direction: column; gap: 0.75rem; min-width: 160px; }
@media(max-width: 768px) {
    .pricing-enterprise-wrap .pricing-card { flex-direction: column; }
}

/* ── Images ── */
.pain-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: block;
}
.section-img {
    max-width: 860px;
    width: 100%;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

/* ── Images fix ── */
.pain-img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    display: block;
    background: transparent;
}
.section-img {
    max-width: 800px !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .pain-img { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
    .pain-img { aspect-ratio: 3 / 2; }
    .section-img { border-radius: 8px; }
}

/* ── Andromeda comparison image ── */
.algo-comparison-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 1.5rem;
    display: block;
}
@media (max-width: 900px) {
    .algo-comparison-img { margin-top: 1rem; }
}

/* ── Fix algo-explain overflow ── */
.algo-explain { min-width: 0; }
.algo-comparison-img { width: 100%; max-width: 100%; height: auto; border-radius: 12px; margin-top: 1.5rem; display: block; }

/* ── Process wrap ── */
.process-wrap {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}
.process-wrap .process-steps {
    width: 100%;
    box-sizing: border-box;
}

/* ── Hero image mobile fix ── */
.hero-visual {
    box-sizing: border-box;
    overflow: hidden;
}
@media (max-width: 768px) {
    .hero-visual {
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    .hero-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
        object-position: center;
        border-radius: 10px;
    }
    .pricing-guide {
        padding: 1.1rem 0.9rem;
        margin-bottom: 1.5rem;
        border-radius: 16px;
    }
    .pricing-guide-header {
        text-align: left;
        margin-bottom: 0.9rem;
    }
    .pricing-guide-header h3 {
        font-size: 1.45rem;
        line-height: 1.25;
        margin-bottom: 0.4rem;
    }
    .pricing-guide-header p {
        font-size: 0.92rem;
        line-height: 1.55;
    }
    .pricing-guide-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
    .pricing-guide-card {
        position: relative;
        padding: 0.95rem 1rem;
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(59, 130, 246, 0.04));
    }
    .pricing-guide-card::after {
        content: '\2192';
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
        color: var(--primary);
        font-size: 1rem;
        opacity: 0.8;
    }
    .guide-label {
        margin-bottom: 0.45rem;
        font-size: 0.72rem;
    }
    .pricing-guide-card strong {
        font-size: 0.98rem;
        line-height: 1.4;
        margin-bottom: 0;
        max-width: calc(100% - 1.6rem);
    }
    .pricing-guide-card p {
        display: none;
    }

    /* Pricing carousel on mobile */
    .pricing-tier-group {
        position: relative;
    }
    .pricing-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0.5rem 0 1.5rem;
        gap: 1rem;
    }
    .pricing-grid::-webkit-scrollbar {
        display: none;
    }
    .pricing-card {
        flex: 0 0 82vw;
        max-width: 82vw;
        scroll-snap-align: start;
    }
    .pricing-card:first-child { margin-left: 0.25rem; }
    .pricing-card:last-child  { margin-right: 1.5rem; }

    .cases-intro {
        grid-template-columns: 1fr;
        padding: 1.2rem;
        gap: 1rem;
    }
    .cases-intro-copy h3 {
        font-size: 1.2rem;
    }
    .cases-intro-copy p {
        font-size: 0.93rem;
    }
    .cases-filter {
        justify-content: flex-start;
        gap: 0.6rem;
    }
    .case-filter-btn {
        padding: 0.62rem 0.9rem;
        font-size: 0.86rem;
    }
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .case-card {
        padding: 0.95rem;
    }
    .case-play-icon {
        width: 56px;
        height: 56px;
        font-size: 1rem;
    }
    .case-card h3 {
        font-size: 1rem;
    }
    .case-card p {
        font-size: 0.9rem;
        margin-bottom: 0.9rem;
    }
    .case-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }
    .case-action-links {
        justify-content: flex-start;
        gap: 0.75rem;
    }
    .case-meta span {
        font-size: 0.8rem;
    }
    .cases-controls {
        flex-direction: column;
        align-items: stretch;
        padding: 0.95rem;
    }
    .cases-summary {
        font-size: 0.9rem;
    }
    .cases-toggle-btn {
        width: 100%;
        min-width: 0;
    }
    .video-modal__dialog {
        width: min(360px, calc(100vw - 1.25rem));
        max-height: 88vh;
        margin: 2vh auto;
        border-radius: 16px;
    }
    .video-modal__header {
        padding: 0.85rem 0.85rem 0.7rem;
    }
    .video-modal__header h3 {
        font-size: 0.95rem;
    }
    .video-modal__actions {
        gap: 0.35rem;
    }
    .video-modal__nav,
    .video-modal__close {
        width: 44px;
        height: 44px;
    }
    .video-modal__body {
        padding: 0.7rem;
    }
    .video-modal__player {
        width: 100%;
        max-height: calc(88vh - 96px);
        border-radius: 12px;
    }
}
@media (max-width: 420px) {
    .video-modal__dialog {
        width: calc(100vw - 0.9rem);
        max-height: 86vh;
        margin: 1.5vh auto;
    }
    .video-modal__body {
        padding: 0.55rem;
    }
    .video-modal__player {
        max-height: calc(86vh - 88px);
    }
}
@media (max-width: 1024px) {
    .cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cases-intro {
        grid-template-columns: 1fr;
    }
    .cases-filter {
        justify-content: flex-start;
    }
}
