@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=IBM+Plex+Mono:wght@400;500&family=Noto+Sans+SC:wght@400;500&family=Noto+Serif+SC:wght@600;700&display=swap');

:root {
    --bg: #2E4A6B;
    --panel: #36526F;
    --ink: #F2F6FA;
    --dim: #8FA6BC;
    --line: rgba(242, 246, 250, 0.09);
    --acc: #F5D06E;
    --font-title-en: 'Cormorant Garamond', serif;
    --font-title-zh: 'Noto Serif SC', serif;
    --font-body: 'Noto Sans SC', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

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

body {
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.9;
    background-color: transparent; /* Rely on canvas */
}

a {
    text-decoration: none;
    color: var(--ink);
    transition: color 0.3s;
}
a:hover {
    color: var(--acc);
}

h1, h2, h3, .logo {
    font-family: var(--font-title-en), var(--font-title-zh);
    font-weight: 600;
    color: var(--ink);
}

.price, .price span, .nav-btn, .footer-links a, .nav-links a, .label {
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
}
.nav-links a, .footer-links a {
    font-size: 13px;
    text-transform: uppercase;
}

/* Header & Nav */
header {
    background-color: var(--bg);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--ink);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--dim);
    font-weight: 500;
}
.nav-links a:hover {
    color: var(--acc);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 1rem;
    background-color: transparent;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--dim);
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--acc);
    color: var(--bg);
    border: 1px solid var(--acc);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--acc);
}

.btn-secondary {
    background-color: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}
.btn-secondary:hover {
    background-color: transparent;
    border-color: rgba(245, 208, 110, 0.5);
    color: var(--acc);
}

.nav-btn {
    padding: 0.5rem 1.25rem;
    font-size: 13px;
    text-transform: uppercase;
}

/* Sections */
section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

/* Cards */
.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.card:hover {
    border-color: rgba(245, 208, 110, 0.5);
}
.card:hover h3, .card:hover p {
    color: var(--acc);
}

.card h3 {
    margin: 1rem 0;
    font-size: 1.25rem;
    transition: color 0.3s;
}
.card p {
    color: var(--dim);
    transition: color 0.3s;
}

/* Pricing Table */
.pricing-card {
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    background: var(--panel);
}

.pricing-card:hover {
    border-color: rgba(245, 208, 110, 0.5);
}
.pricing-card:hover h3, .pricing-card:hover .price {
    color: var(--acc);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--ink);
    margin: 1rem 0;
    transition: color 0.3s;
}

.price span {
    font-size: 13px;
    color: var(--dim);
    text-transform: uppercase;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--dim);
}

.pricing-features li::before {
    content: '✓';
    color: var(--acc);
    position: absolute;
    left: 0;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
}

.faq-question {
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ink);
    transition: color 0.3s;
}
.faq-question:hover {
    color: var(--acc);
}

.faq-answer {
    margin-top: 1rem;
    color: var(--dim);
    display: none;
}

/* Content Pages */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.page-content h1 {
    margin-bottom: 2rem;
}

.page-content h2 {
    margin: 2rem 0 1rem;
}

.page-content p {
    margin-bottom: 1rem;
    color: var(--dim);
}

/* Footer */
footer {
    border-top: 1px solid var(--line);
    padding: 3rem 1rem;
    text-align: center;
    background-color: transparent;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

footer p {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--dim);
    letter-spacing: 0.1em;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
}
