/* ============================= */
/* 基礎設定 */
/* ============================= */

html, body {
    background: #111; /* 改深灰，不用純黑 */
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #ffffff;
}

/* ============================= */
/* 導覽列 */
/* ============================= */

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 12px 24px;
    background: #0d0d0d;
    border-bottom: 1px solid #222;
    font-size: 14px;
    letter-spacing: 1px;
}

/* ============================= */
/* HERO TERMINAL */
/* ============================= */

.hero-terminal {
    max-width: 1000px;
    margin: 60px auto;
    height: 500px;
    border: 1px solid #222;
    background: #181818;
    border-radius: 8px;
    display: flex;
}

    .hero-terminal .terminal {
        flex: 1;
        padding: 30px;
        overflow-y: auto;
        font-family: Consolas, monospace;
        font-size: 15px;
        color: #eaeaea; /* 改成淡白 */
    }

.terminal .line {
    margin-bottom: 6px;
    white-space: pre;
}

/* 輸入區 */

.terminal form {
    display: flex;
    align-items: center;
}

.terminal-loading {
    display: flex;
    align-items: center;
    gap: 6px;
}

.prompt {
    color: #888;
}

.loading-text {
    color: #b8b8b8;
    letter-spacing: 0.04em;
}

.fake-input {
    min-width: 10px;
    outline: none;
    color: #fff;
    font-family: Consolas, monospace;
    white-space: pre;
    caret-color: transparent;
}

/* 游標 */

.cursor {
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #9E9E9E;
    animation: blink 1s infinite;
    caret-color: transparent;
    caret-color: transparent;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* ============================= */
/* Pricing 區 */
/* ============================= */

.pricing-section {
    padding: 0 20px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    margin-bottom: 50px;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

.pricing-card {
    position: relative;
    background: #181818;
    border: 1px solid #222;
    padding: 40px 30px;
    border-radius: 10px;
    transition: 0.3s ease;
}

    .pricing-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    }

    .pricing-card h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

.price {
    font-size: 36px;
    font-weight: bold;
    margin: 20px 0;
}

.old-price {
    text-decoration: line-through;
    color: #777;
    font-size: 16px;
}

/* 強調方案 */

.featured {
    border: 2px solid #00d084;
}

    .featured .stock {
        color: #8ff0c8;
        border-color: rgba(0, 208, 132, 0.35);
        background: rgba(0, 208, 132, 0.08);
    }

.highlight {
    color: #00d084;
}

/* badge */

.badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #00d084;
    color: #000;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 20px;
}

/* 庫存 */

.stock {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    margin-top: 10px;
    font-size: 13px;
    color: #d0d4db;
    border: 1px solid #2a2a2a;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}

.danger {
    color: #ff4d4d;
}

/* 按鈕 */

.btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
    border-radius: 6px;
}

    .btn:hover {
        background: #ffffff;
        color: #000;
    }

.highlight-btn {
    background: #00d084;
    color: #000;
    border: none;
}

    .highlight-btn:hover {
        opacity: 0.85;
    }

.disabled {
    pointer-events: none; /* 禁止點擊 */
    opacity: 0.5; /* 變淡 */
    cursor: not-allowed; /* 滑鼠變禁止符號 */
}

/* ============================= */
/* 信任區塊 */
/* ============================= */

.trust-section {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 60px 20px;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    font-size: 15px;
    color: #bbb;
}

/* ============================= */
/* SEO 區 */
/* ============================= */

.seo-content {
    max-width: 1040px;
    margin: 80px auto;
    font-size: 15px;
    line-height: 1.8;
    color: #ccc;
}

.seo-content > p {
    max-width: 860px;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.seo-card {
    background: #181818;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 24px;
    scroll-margin-top: 92px;
}

.seo-card h2 {
    margin-top: 0;
    font-size: 20px;
    color: #fff;
}

.faq-section {
    padding: 0 20px 80px;
}

.faq-inner {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #181818;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 14px;
}

.faq-item summary {
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}

.faq-item p {
    margin: 14px 0 0;
    color: #ccc;
    line-height: 1.8;
}


/* ============================= */
/* Pricing list 修正 */
/* ============================= */

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.pricing-card li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 20px;
    background: #111;
    color: white;
}

.language-switch {
    margin-left: auto;
    display: flex;
    gap: 12px;
}

    .language-switch a {
        color: white;
        text-decoration: none;
        opacity: 0.75;
        transition: 0.2s;
    }

        .language-switch a:hover {
            opacity: 1;
        }

        .language-switch a.active {
            font-weight: bold;
            text-decoration: underline;
            opacity: 1;
        }

@media (max-width: 768px) {
    .hero-terminal {
        margin: 30px 16px;
        height: 420px;
    }

    .hero-terminal .terminal {
        padding: 20px;
        font-size: 14px;
    }

    .section-title {
        font-size: 26px;
    }

    .seo-content {
        margin: 60px 20px;
    }

    .navbar {
        flex-wrap: wrap;
    }
}

.landing-hero,
.landing-sections,
.landing-related {
    padding: 32px 20px 0;
}

.landing-inner {
    max-width: 1040px;
    margin: 0 auto;
}

.landing-kicker {
    color: #12d18e;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    margin-bottom: 16px;
}

.landing-hero h1 {
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.1;
    margin: 0 0 18px;
}

.landing-intro {
    max-width: 860px;
    color: #c8cbd3;
    font-size: 18px;
    line-height: 1.8;
}

.landing-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 28px 0;
}

.landing-highlights li,
.landing-link-card,
.landing-card {
    background: #181818;
    border: 1px solid #222;
    border-radius: 12px;
}

.landing-highlights li {
    padding: 18px 20px;
    color: #f2f2f2;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
}

.landing-grid,
.landing-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.landing-card {
    padding: 24px;
}

.landing-card h2,
.landing-related h2 {
    margin-top: 0;
    color: #fff;
}

.landing-card p {
    color: #c8cbd3;
    line-height: 1.8;
}

.landing-related {
    padding-bottom: 80px;
}

.landing-link-card {
    display: block;
    padding: 22px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.landing-link-card strong {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
}

.landing-link-card span {
    display: block;
    color: #c8cbd3;
    line-height: 1.7;
}

.landing-link-card:hover {
    transform: translateY(-3px);
    border-color: #12d18e;
}

.guide-hero,
.guide-rules,
.guide-section {
    padding: 32px 20px 0;
}

.guide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.guide-meta span,
.guide-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid #2b2b2b;
    background: #151515;
    border-radius: 999px;
    padding: 8px 14px;
    color: #d6dbe3;
    font-size: 13px;
}

.guide-section-head {
    max-width: 860px;
    margin-bottom: 24px;
}

.guide-section-head p {
    color: #c8cbd3;
    line-height: 1.8;
}

.guide-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.guide-card {
    background: #181818;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 24px;
}

.guide-card.compact {
    padding: 22px;
}

.guide-card h2,
.guide-card h3 {
    margin-top: 0;
    color: #fff;
}

.guide-summary,
.guide-card p {
    color: #c8cbd3;
    line-height: 1.8;
}

.guide-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.guide-chip.tier {
    background: #00d084;
    border-color: #00d084;
    color: #02140d;
    font-weight: 700;
}

.guide-list {
    margin: 16px 0 0;
    padding-left: 20px;
    color: #e5e7eb;
}

.guide-list li {
    line-height: 1.8;
}

.guide-list li + li {
    margin-top: 8px;
}

.guide-caveat {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #262626;
}

.guide-sources {
    padding-bottom: 80px;
}

.guide-source-list {
    margin: 0;
    padding-left: 20px;
}

.guide-source-list li + li {
    margin-top: 10px;
}

.guide-source-list a {
    color: #7be3bb;
    text-decoration: none;
}

.guide-source-list a:hover {
    text-decoration: underline;
}

.site-footer {
    border-top: 1px solid #222;
    padding: 24px 20px 36px;
    background: #0d0d0d;
}

.site-footer-inner {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.site-footer-copy {
    margin: 0;
    color: #aeb4bc;
    line-height: 1.7;
    max-width: 720px;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer-links a {
    color: #fff;
    text-decoration: none;
}

.site-footer-links a:hover {
    text-decoration: underline;
}

.legal-hero,
.legal-content {
    padding: 32px 20px 0;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.legal-card,
.legal-article {
    background: #181818;
    border: 1px solid #222;
    border-radius: 12px;
}

.legal-card {
    padding: 24px;
}

.legal-card h2,
.legal-article h2,
.legal-article h3 {
    margin-top: 0;
    color: #fff;
}

.legal-card p,
.legal-article p,
.legal-article li {
    color: #c8cbd3;
    line-height: 1.8;
}

.legal-article {
    padding: 28px;
}

.legal-article section + section {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #262626;
}

.legal-list {
    margin: 16px 0 0;
    padding-left: 20px;
}

.legal-list li + li {
    margin-top: 10px;
}

.legal-history {
    padding-bottom: 80px;
}

.legal-timeline {
    display: grid;
    gap: 24px;
}

@media (max-width: 768px) {
    .site-footer-inner {
        align-items: flex-start;
    }

    .guide-card,
    .guide-card.compact,
    .legal-article,
    .legal-card {
        padding: 20px;
    }

    .guide-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}
