/* 全局樣式 */
:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    /* 覆蓋 Bootstrap 5.3 body-color，確保卡片等元件文字為亮色 */
    --bs-body-color: #f8fafc;
    --bs-body-color-rgb: 248, 250, 252;
}

body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--light-color);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    scroll-behavior: smooth;
}

/* 標題區塊 */
.jumbotron {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.jumbotron::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z"></path></svg>');
    background-size: cover;
    pointer-events: none;
}

h1.display-4 {
    font-size: 4rem;
    font-weight: 800;
    margin: 0;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-out;
}

.jumbotron p.lead {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 20px auto 30px;
    opacity: 0.9;
}

/* 按鈕樣式 */
.btn-primary {
    background-color: var(--accent-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 服務區塊 */
.service {
    background: rgba(30, 41, 59, 0.7);
    margin-bottom: 30px;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: rgba(37, 99, 235, 0.2);
}

.service h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

/* 技術文字區塊 */
.tech-text {
    font-size: 1.1rem;
    color: var(--light-color);
    line-height: 1.7;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    background: rgba(30, 41, 59, 0.5);
    border-left: 4px solid var(--accent-color);
}

.solution-block ul {
    list-style: none;
    padding: 0;
}

.solution-block li {
    padding: 20px;
    margin-bottom: 20px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.solution-block li:hover {
    background: rgba(37, 99, 235, 0.2);
}

/* 聯繫區塊 */
.card {
    background-color: rgba(30, 41, 59, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-body {
    background-color: transparent !important;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-list i {
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 5px 0;
}

.contact-info i {
    margin-right: 15px;
    color: var(--accent-color);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

/* 頁腳樣式 */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 30px;
    margin-top: 80px;
}

footer a {
    color: rgba(248, 250, 252, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
}

.footer-heading {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.55);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.6);
}

.footer-contact-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.footer-contact-list i {
    color: var(--accent-color);
    margin-top: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    color: rgba(248, 250, 252, 0.5);
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--accent-color);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 36px 0 20px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.35);
    margin: 0;
}

/* 動畫效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* 隱私權政策與服務條款專用樣式 */
.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(15, 23, 42, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.policy-section {
    margin-bottom: 30px;
    background: rgba(30, 41, 59, 0.7);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.policy-title {
    color: var(--accent-color);
    font-size: 2.2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-subtitle {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin: 40px 0 20px;
}

.policy-subsection {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 3px solid var(--accent-color);
}

.policy-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.policy-list {
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.policy-list li::before {
    content: "•";
    color: var(--accent-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -3px;
}

.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-color);
    font-size: 1.2rem;
    width: 20px;
}

/* 團隊成員卡片樣式 */
.team-card {
    background-color: rgba(30, 41, 59, 0.7) !important;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: rgba(37, 99, 235, 0.2) !important;
}

.team-img-container {
    overflow: hidden;
    height: 250px;
}

.team-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-container img {
    transform: scale(1.05);
}

/* 客戶案例卡片樣式 */
.case-card {
    background-color: rgba(30, 41, 59, 0.7) !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: rgba(37, 99, 235, 0.2) !important;
}

/* 客戶標誌樣式 */
.client-logos {
    text-align: center;
}

.client-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    max-height: 80px;
    width: auto;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.text-accent {
    color: var(--accent-color);
}

/* 深色區塊（全域共用，與主題一致） */
.section-dark {
    background: rgba(0, 0, 0, 0.2);
}

/* 數字統計列 */
.stats-bar {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 36px 0;
    margin-bottom: 60px;
}

.stats-item {
    padding: 16px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-item:last-child {
    border-right: none;
}

.stats-num {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 6px;
}

.stats-label {
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.6);
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .stats-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 14px 10px;
    }
    .stats-item:last-child {
        border-bottom: none;
    }
    .stats-num {
        font-size: 2rem;
    }
}

/* 聯絡 CTA 小卡 */
.contact-cta-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 28px 20px;
    transition: all 0.3s ease;
}

.contact-cta-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* 頁面內導航連結 */
.page-nav-link {
    transition: color 0.2s;
    font-size: 0.9rem;
}

.page-nav-link:hover {
    color: var(--accent-color) !important;
}

/* 客戶見證卡片 */
.testimonial-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}

.testimonial-result {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.75);
    line-height: 1.7;
    border-left: 3px solid var(--accent-color);
    padding-left: 16px;
    margin: 0 0 16px 0;
    flex-grow: 1;
    font-style: italic;
}

.testimonial-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.testimonial-link:hover {
    opacity: 0.7;
}

/* 響應式設計 */
@media (max-width: 768px) {
    h1.display-4 {
        font-size: 2.5rem;
    }

    .jumbotron {
        padding: 80px 20px;
    }

    .jumbotron p.lead {
        font-size: 1.2rem;
    }

    .policy-title {
        font-size: 1.8rem;
    }

    .policy-subtitle {
        font-size: 1.3rem;
    }

    .policy-text {
        font-size: 1rem;
    }

    .policy-container {
        padding: 20px 15px;
    }

    .policy-section {
        padding: 20px;
        margin-bottom: 20px;
    }

    .contact-info {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-info i {
        margin-top: 3px;
    }
}
/* ================================================
 * Page: Squid
 * ================================================ */
        .hero-squid {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            min-height: 400px;
        }
        .flow-step {
            width: 60px;
            height: 60px;
        }
        .flow-arrow {
            font-size: 1.5rem;
        }
        .value-card-highlight {
            border: 2px solid var(--primary-color) !important;
        }
        @media (max-width: 768px) {
            .flow-arrow {
                display: none;
            }
            .flow-step-wrapper {
                margin-bottom: 1rem;
            }
        }

/* ================================================
 * Page: Nautilus
 * ================================================ */
        .hero-lids {
            background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
            min-height: 400px;
        }
        .auth-flow-step {
            width: 80px;
            height: 80px;
        }
        .feature-icon {
            font-size: 3rem;
        }
        @media (max-width: 768px) {
            .auth-flow-arrow {
                display: none;
            }
        }

/* ================================================
 * Page: Localids
 * ================================================ */
        .hero-localids {
            background: linear-gradient(135deg, #0a2a1a 0%, #1a3a2a 100%);
            min-height: 420px;
        }
        .hero-localids .hero-icon {
            font-size: 5rem;
            color: #4ade80;
            opacity: 0.9;
        }
        .hero-localids h1 {
            font-size: 3.5rem;
            font-weight: 700;
            letter-spacing: -0.02em;
        }
        .pillar-card {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 12px;
            transition: transform 0.2s, border-color 0.2s;
        }
        .pillar-card:hover {
            transform: translateY(-4px);
            border-color: rgba(74,222,128,0.4);
        }
        .pillar-icon {
            font-size: 2.5rem;
            color: #4ade80;
        }
        .feature-card {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 12px;
            height: 100%;
        }
        .feature-card .card-icon {
            font-size: 2.2rem;
            color: #4ade80;
        }
        .deploy-block {
            background: #0d1117;
            border: 1px solid #30363d;
            border-radius: 12px;
            overflow: hidden;
        }
        .deploy-block .window-bar {
            background: #161b22;
            padding: 10px 16px;
            border-bottom: 1px solid #30363d;
            display: flex;
            gap: 8px;
            align-items: center;
        }
        .deploy-block .dot {
            width: 12px; height: 12px; border-radius: 50%;
        }
        .dot-red   { background: #ff5f57; }
        .dot-amber { background: #febc2e; }
        .dot-green { background: #28c840; }
        .deploy-block pre {
            margin: 0;
            padding: 24px;
            color: #e6edf3;
            font-size: 0.9rem;
            line-height: 1.8;
        }
        .deploy-block .cmd-prompt { color: #4ade80; }
        .deploy-block .cmd-flag   { color: #79c0ff; }
        .deploy-block .cmd-value  { color: #ffa657; }
        .usecase-card {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 12px;
            padding: 28px;
            height: 100%;
            transition: border-color 0.2s;
        }
        .usecase-card:hover {
            border-color: rgba(74,222,128,0.4);
        }
        .usecase-card .uc-icon {
            font-size: 2rem;
            color: #4ade80;
        }
        .compare-table th {
            background: rgba(74,222,128,0.12);
            color: #4ade80;
            font-weight: 600;
            border-color: rgba(255,255,255,0.1);
        }
        .compare-table td {
            border-color: rgba(255,255,255,0.08);
            vertical-align: middle;
        }
        .compare-table .check-yes { color: #4ade80; font-size: 1.1rem; }
        .cta-section {
            background: linear-gradient(135deg, #0a2a1a 0%, #1a3a2a 100%);
        }
        .section-dark {
            background: rgba(0,0,0,0.2);
        }

/* ================================================
 * Page: AiCad
 * ================================================ */
        .hero-aicad {
            background: linear-gradient(135deg, #0a1628 0%, #0d2137 50%, #1a3a2a 100%);
            min-height: 420px;
        }
        .step-circle {
            width: 64px;
            height: 64px;
            font-size: 1.5rem;
            font-weight: 700;
        }
        .pricing-card-featured {
            border: 2px solid #0d6efd !important;
            transform: scale(1.04);
        }
        .pricing-card-featured .card-header {
            background: #0d6efd !important;
        }
        .component-badge {
            font-size: 0.78rem;
            padding: 0.3em 0.7em;
        }
        @media (max-width: 768px) {
            .step-arrow { display: none; }
            .pricing-card-featured { transform: scale(1); }
        }

/* ================================================
 * Page: TianJi
 * ================================================ */
        .hero-tianji {
            background: #0d1117;
            background-image: radial-gradient(ellipse at 50% 0%, rgba(233,69,96,0.12) 0%, transparent 60%);
            min-height: 440px;
        }
        .tianji-accent { color: #e94560; }
        .tianji-section-bg { background: rgba(233,69,96,0.04); }
        .tianji-cta {
            background: #0d1117;
            background-image: radial-gradient(ellipse at 50% 100%, rgba(233,69,96,0.1) 0%, transparent 60%);
        }

/* ================================================
 * Page: Lobsterfarm
 * ================================================ */
        .hero-lf {
            background: linear-gradient(135deg, #0d0d1a 0%, #1a0a2e 40%, #2d1515 100%);
            min-height: 440px;
        }
        .agent-card {
            border-radius: 1rem;
            border: 1px solid rgba(255,255,255,0.08);
            background: rgba(255,255,255,0.04);
            transition: all 0.25s;
        }
        .agent-card:hover {
            border-color: rgba(231,76,60,0.4);
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(231,76,60,0.15);
        }
        .status-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            display: inline-block;
        }
        .status-running { background: #2ecc71; box-shadow: 0 0 6px #2ecc71; }
        .step-num {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            font-size: 1.2rem;
            font-weight: 700;
            flex-shrink: 0;
        }
        .integration-icon {
            width: 56px;
            height: 56px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
        }
        .early-access-badge {
            background: linear-gradient(90deg, #e74c3c, #c0392b);
            font-size: 0.75rem;
            letter-spacing: 0.08em;
        }

/* ================================================
 * Page: Domino
 * ================================================ */
        .hero-domino {
            background: linear-gradient(135deg, #1a0533 0%, #2d1b69 50%, #0d3b6e 100%);
            min-height: 400px;
        }
        .mode-card {
            border-radius: 1rem;
            transition: transform 0.2s;
        }
        .mode-card:hover {
            transform: translateY(-4px);
        }
        .platform-badge {
            font-size: 0.85rem;
            padding: 0.5em 1em;
            border-radius: 2em;
        }
        .screenshot-scroll {
            display: flex;
            gap: 1rem;
            overflow-x: auto;
            padding-bottom: 1rem;
            scroll-snap-type: x mandatory;
        }
        .screenshot-scroll img {
            height: 480px;
            width: auto;
            border-radius: 1.2rem;
            flex-shrink: 0;
            scroll-snap-align: start;
            box-shadow: 0 8px 32px rgba(0,0,0,0.3);
        }
        .appstore-btn {
            display: inline-flex;
            align-items: center;
            background: #000;
            color: #fff;
            border-radius: 0.7rem;
            padding: 0.6rem 1.4rem;
            text-decoration: none;
            gap: 0.6rem;
            transition: opacity 0.2s;
        }
        .appstore-btn:hover { opacity: 0.85; color: #fff; }
        .domino-tile {
            display: inline-flex;
            flex-direction: column;
            border: 3px solid rgba(255,255,255,0.6);
            border-radius: 8px;
            padding: 6px;
            background: rgba(255,255,255,0.08);
            gap: 4px;
        }
        .domino-half {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
        }

/* ================================================
 * Page: Pipeline
 * ================================================ */
        .hero-pipeline {
            background: linear-gradient(160deg, #020818 0%, #0a1628 50%, #0d1f0d 100%);
            min-height: 460px;
        }
        .arch-box {
            border-radius: 1rem;
            padding: 1.5rem;
            border: 1px solid;
        }
        .arch-lf    { background: rgba(231,76,60,0.08);   border-color: rgba(231,76,60,0.3); }
        .arch-mid   { background: rgba(13,110,253,0.06);  border-color: rgba(13,110,253,0.2); }
        .arch-lids  { background: rgba(25,135,84,0.08);   border-color: rgba(25,135,84,0.3); }
        .flow-step {
            position: relative;
        }
        .flow-step-num {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            flex-shrink: 0;
        }
        .benefit-row:nth-child(odd) { background: rgba(255,255,255,0.02); }
        .product-link-card {
            border-radius: 1rem;
            transition: transform 0.2s, box-shadow 0.2s;
            text-decoration: none;
        }
        .product-link-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(0,0,0,0.2);
        }
        .connector-v {
            width: 2px;
            height: 32px;
            background: linear-gradient(180deg, rgba(255,255,255,0.3), rgba(255,255,255,0.05));
            margin: 0 auto;
        }

/* ================================================
 * Page: McpGuide
 * ================================================ */
        .hero-mcp {
            background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 50%, #16213e 100%);
            min-height: 380px;
        }
        .step-number {
            width: 48px;
            height: 48px;
            min-width: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.2rem;
        }
        .code-block {
            background: rgba(15, 23, 42, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 10px;
            padding: 20px 24px;
            font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
            font-size: 0.9rem;
            line-height: 1.7;
            color: #e2e8f0;
            overflow-x: auto;
            position: relative;
        }
        .code-block .comment { color: #6b7280; }
        .code-block .key { color: #7dd3fc; }
        .code-block .value { color: #86efac; }
        .code-block .cmd { color: #fbbf24; }
        .copy-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            color: #e2e8f0;
            border-radius: 6px;
            padding: 4px 10px;
            font-size: 0.75rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        .copy-btn:hover { background: rgba(255,255,255,0.2); }
        .tool-badge {
            display: inline-block;
            background: rgba(37, 99, 235, 0.2);
            border: 1px solid rgba(37, 99, 235, 0.4);
            color: #93c5fd;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            margin: 3px;
        }
        .guide-card {
            background: rgba(30, 41, 59, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            transition: all 0.3s ease;
        }
        .guide-card:hover {
            border-color: rgba(37, 99, 235, 0.4);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        }
        .platform-icon { font-size: 2.5rem; margin-bottom: 12px; }
        .faq-item {
            background: rgba(30, 41, 59, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 10px;
            padding: 20px 24px;
            margin-bottom: 16px;
        }
        .faq-item h4 { color: var(--accent-color); font-size: 1.1rem; margin-bottom: 10px; }
        .endpoint-table {
            background: rgba(30, 41, 59, 0.5);
            border-radius: 10px;
            overflow: hidden;
        }
        .endpoint-table table { margin: 0; }
        .endpoint-table th {
            background: rgba(37, 99, 235, 0.2);
            border-color: rgba(255,255,255,0.1);
            color: #93c5fd;
            font-weight: 600;
        }
        .endpoint-table td { border-color: rgba(255,255,255,0.06); color: #e2e8f0; }
        .endpoint-table code {
            color: #86efac;
            background: rgba(0,0,0,0.3);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.85rem;
        }
        .architecture-flow {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 12px;
        }
        .arch-node {
            background: rgba(30, 41, 59, 0.8);
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: 10px;
            padding: 16px 24px;
            text-align: center;
            min-width: 140px;
        }
        .arch-node.highlight {
            border-color: var(--primary-color);
            background: rgba(37, 99, 235, 0.15);
        }
        .arch-arrow { font-size: 1.5rem; color: var(--accent-color); }
        @media (max-width: 768px) {
            .arch-arrow { display: none; }
            .arch-node { width: 100%; }
        }
        .toc-link {
            color: rgba(255,255,255,0.65);
            font-size: 0.875rem;
            transition: background 0.15s, color 0.15s;
        }
        .toc-link:hover, .toc-link.active {
            color: #fff;
            background: rgba(37,99,235,0.25);
        }

/* ================================================
 * Page: Triton
 * ================================================ */
        .hero-triton {
            background: linear-gradient(135deg, #1a1200 0%, #2d1f00 50%, #1a1200 100%);
            min-height: 400px;
        }
        .module-card {
            border: 1px solid rgba(245,158,11,0.25);
            border-radius: 12px;
            background: rgba(245,158,11,0.05);
            padding: 2rem;
            height: 100%;
            transition: border-color .2s;
        }
        .module-card:hover {
            border-color: rgba(245,158,11,0.5);
        }
        .module-icon {
            font-size: 2.5rem;
            color: #f59e0b;
            margin-bottom: 1rem;
        }

/* ── Accordion 深色主題 ────────────────────────────────
   Bootstrap accordion 預設白底，覆蓋為深色主題相容
──────────────────────────────────────────────────── */
.accordion-item {
    background-color: rgba(30, 41, 59, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--bs-body-color);
}
.accordion-button {
    background-color: rgba(30, 41, 59, 0.85);
    color: var(--bs-body-color);
}
.accordion-button:not(.collapsed) {
    background-color: rgba(15, 30, 60, 0.95);
    color: var(--bs-body-color);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}
/* ================================================
 * LobsterFarm 主推卡片（首頁產品卡）
 * ================================================ */
.lf-featured-card {
    animation: lf-glow 3s ease-in-out infinite;
}
@keyframes lf-glow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(220,53,69,0.3), 0 8px 32px rgba(220,53,69,0.18) !important; }
    50%       { box-shadow: 0 0 0 2px rgba(220,53,69,0.6), 0 12px 40px rgba(220,53,69,0.35) !important; }
}

/* ================================================
 * Hero 雙欄佈局
 * ================================================ */
.jumbotron-split {
    text-align: left;
    padding: 80px 0 60px;
}
.jumbotron-split h1 { text-align: left; }
@media (max-width: 991.98px) {
    .jumbotron-split { padding: 60px 0 40px; }
    .jumbotron-split h1,
    .jumbotron-split p,
    .jumbotron-split .d-flex { justify-content: center !important; text-align: center; }
}

/* Hero 服務標籤（膠囊，安裝服務用） */
.hero-lf-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.45);
    color: #fde68a;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
}
.hero-lf-tag:hover {
    background: rgba(255, 193, 7, 0.28);
    color: #fff;
}

/* Telegram Chat Mockup 卡片 */
.hero-mockup-card {
    background: #17212b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    color: #f1f5f9;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-align: left;
}
.hero-tg-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #232e3c;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: left;
}
.hero-tg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #29b6f6 0%, #0288d1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.hero-tg-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 210px;
    background: #0e1621;
    text-align: left;
}
.hero-tg-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.5;
    display: block;
}
.hero-tg-user {
    margin-left: auto;
    margin-right: 0;
    background: #2b5278;
    color: #e8f4fd;
    border-bottom-right-radius: 4px;
    text-align: left;
}
.hero-tg-bot {
    margin-left: 0;
    margin-right: auto;
    background: #182533;
    color: #c8d8e8;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255,255,255,0.06);
}
.hero-tg-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #232e3c;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.8rem;
    color: #8b98a5;
    text-align: left;
}

/* ================================================
 * 全站公告橫幅 Announcement Bar
 * ================================================ */
.announcement-bar {
    background: linear-gradient(90deg, #b91c1c 0%, #dc2626 50%, #b91c1c 100%);
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
    z-index: 1050;
    letter-spacing: 0.01em;
}
.announcement-bar a {
    color: #fde68a;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid rgba(253,230,138,0.5);
    transition: color 0.2s;
}
.announcement-bar a:hover { color: #fff; border-color: #fff; }
.announcement-bar .ann-dismiss {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}
.announcement-bar .ann-dismiss:hover { color: #fff; }
/* 手機收起冗長說明，只留主標 + CTA，避免橫幅 wrap 成 3 行吃掉首屏 */
@media (max-width: 640px) { .announcement-bar .ann-detail { display: none; } }
/* ann-lobster class removed — emoji used inline as HTML entity */

/* Bootstrap 的展開箭頭預設是深色，覆蓋為白色 */
.accordion-button::after {
    filter: brightness(10);
}
.accordion-body {
    background-color: rgba(20, 30, 50, 0.7);
    color: var(--bs-body-color);
}

/* ================================================
 * Page: Conch — hero 深色漸層背景（保證 text-white 可見）
 * ================================================ */
.hero-conch {
    background: linear-gradient(135deg, #0a2e3a 0%, #0e4f3a 50%, #0c3d55 100%);
    min-height: 420px;
}
