:root {
    --bg: #050e16;
    --surface: #0c1e2e;
    --surface-hover: #112a40;
    --accent: #ffc857;
    --accent-hover: #ffb72b;
    --accent2: #22d3ee;
    --accent2-hover: #06b6d4;
    --text: #f0faff;
    --muted: #8fadc2;
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Lora', serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Decorative Background (Carnival by the Bay motif) */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(34, 211, 238, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(255, 200, 87, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(12, 30, 46, 0.5) 0%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, .font-display {
    font-family: var(--font-display);
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    color: var(--accent2);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.content-container {
    max-width: 840px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-pill);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 4px 15px rgba(255, 200, 87, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 200, 87, 0.4);
    color: var(--bg);
}

.btn-secondary {
    background: transparent;
    color: var(--accent2);
    border: 2px solid var(--accent2);
}

.btn-secondary:hover {
    background: rgba(34, 211, 238, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.2);
}

/* Header (Verbatim Styling) */
header {
    background: rgba(5, 14, 22, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--accent2);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
}

/* Hero Section */
.hero {
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.05) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

.breadcrumb {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 200, 87, 0.1);
}

.breadcrumb a {
    color: var(--muted);
}
.breadcrumb a:hover {
    color: var(--accent);
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(255, 200, 87, 0.15);
}

.meta-chips {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.chip {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent2);
    background: rgba(34, 211, 238, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.2);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
}

.chip::before {
    content: '✦';
    margin-right: 0.4rem;
    font-size: 0.7rem;
}

/* Main Content Area */
.page-content {
    padding-bottom: 5rem;
}

/* Intro Section */
.intro-box {
    background: linear-gradient(145deg, var(--surface), #0a1724);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 200, 87, 0.15);
    margin-bottom: 4rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.intro-box::before {
    content: '”';
    position: absolute;
    top: -20px; left: 30px;
    font-family: var(--font-display);
    font-size: 5rem;
    color: rgba(255, 200, 87, 0.1);
    line-height: 1;
}

.intro-box p {
    font-size: 1.1rem;
    color: var(--text);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Body Sections (Cards) */
.faq-section-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(34, 211, 238, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.faq-section-card:hover {
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}

.faq-section-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--accent2), var(--accent));
    opacity: 0.5;
}

.faq-section-card h2 {
    color: var(--text);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-section-card p {
    margin-bottom: 1rem;
    color: rgba(240, 250, 255, 0.9);
}

.faq-section-card a {
    font-weight: 600;
    border-bottom: 1px dashed var(--accent2);
}
.faq-section-card a:hover {
    border-bottom-style: solid;
    color: var(--accent);
}

/* Custom Lists */
.custom-list {
    list-style: none;
    margin-top: 1.5rem;
    padding-left: 0;
    background: rgba(5, 14, 22, 0.4);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.custom-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.custom-list li:last-child {
    margin-bottom: 0;
}

.custom-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.4rem;
    width: 12px; height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 200, 87, 0.5);
}

/* FAQ Accordion */
.faq-accordion-wrapper {
    margin-top: 4rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--accent2);
    margin-bottom: 2.5rem;
}

.faq-item {
    background: var(--surface);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 200, 87, 0.1);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--text);
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent2);
    transition: transform 0.3s ease;
}

.faq-item[open] summary {
    background: rgba(255, 200, 87, 0.05);
    color: var(--accent);
    border-bottom: 1px solid rgba(255, 200, 87, 0.1);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-item p {
    padding: 1.25rem 1.5rem;
    margin: 0;
    color: rgba(240, 250, 255, 0.85);
    background: rgba(5, 14, 22, 0.3);
}

/* Related Links */
.related-links-block {
    margin-top: 4rem;
    padding: 3rem;
    background: radial-gradient(circle at center, var(--surface) 0%, var(--bg) 100%);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px dashed rgba(34, 211, 238, 0.3);
}

.related-links-block h3 {
    color: var(--text);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.tags-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tags-container a {
    background: rgba(34, 211, 238, 0.1);
    color: var(--accent2);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.tags-container a:hover {
    background: var(--accent2);
    color: var(--bg);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(34, 211, 238, 0.3);
}

/* Final CTA */
.final-cta {
    margin-top: 4rem;
    background: linear-gradient(135deg, var(--surface) 0%, #081b2b 100%);
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border-top: 4px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.final-cta::after {
    content: '';
    position: absolute;
    bottom: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255, 200, 87, 0.1) 0%, transparent 70%);
}

.final-cta h2 {
    font-size: 2.25rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.final-cta p {
    color: var(--muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Footer (Verbatim Styling) */
footer {
    background: #03080c;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 200, 87, 0.1);
    font-family: var(--font-display);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--muted);
    font-size: 0.9rem;
    font-family: var(--font-body);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn-secondary {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-active .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px; left: 0; width: 100%;
        background: var(--surface);
        padding: 1rem;
        border-bottom: 1px solid rgba(34, 211, 238, 0.2);
    }
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    .hero h1 {
        font-size: 1.75rem;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .container {
        padding: 0 1rem;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
    .intro-box, .faq-section-card, .related-links-block, .final-cta {
        padding: 1.5rem;
    }
    .hero {
        padding: 2.5rem 0 2rem;
    }
    .tags-container {
        flex-direction: column;
    }
    .tags-container a {
        width: 100%;
    }
}


/* pipeline image & layout guards */
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; }
img.site-logo { height: 40px; width: auto; max-width: 240px; object-fit: contain; flex: none; }
header .logo a { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
img.hero-visual { width: 100%; max-width: 560px; height: auto; object-fit: cover; border-radius: 16px; display: block; margin-inline: auto; }
img[class^="strip-"], img[class*=" strip-"] { width: 100%; height: auto; display: block; border-radius: 12px; object-fit: cover; }
/* 合规声明块（zb-disclaimer，全站 footer） */
.zb-disclaimer { margin-top: 18px !important; padding: 14px 0 0 0 !important; border-top: 1px solid rgba(128,128,128,.25) !important; font-size: .72rem !important; line-height: 1.7 !important; opacity: .85 !important; display: block !important; text-align: left !important; width: 100% !important; clear: both !important; }
.zb-disclaimer .zb-18 { display: inline-block !important; padding: 2px 10px !important; border: 1.5px solid currentColor !important; border-radius: 6px !important; font-weight: 800 !important; letter-spacing: 1px !important; margin: 0 0 10px 0 !important; font-size: .78rem !important; }
.zb-disclaimer p { display: block !important; margin: 5px 0 !important; padding: 0 !important; color: inherit !important; font-size: .72rem !important; line-height: 1.7 !important; }
.zb-disclaimer p:last-child { margin-bottom: 0 !important; }
