@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700&family=Noto+Sans+SC:wght@400;500&family=Space+Mono&family=ZCOOL+KuaiLe&display=swap');

:root {
    --bg: #FFF4DC;
    --panel: #FFFFFF;
    --ink: #4A3A26;
    --dim: #A8977A;
    --line: rgba(74,58,38,0.13);
    --acc: #F5A93B;
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.9;
    color: var(--ink);
    background-color: transparent; /* Let canvas show through */
    -webkit-font-smoothing: antialiased;
}

/* Background Layer */
#bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-color: var(--bg); /* bg pure color */
}

.corner-text {
    position: absolute;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dim);
}
.top-left { top: 20px; left: 24px; }
.top-right { top: 20px; right: 24px; }
.bottom-left { bottom: 20px; left: 24px; }
.bottom-right { bottom: 20px; right: 24px; }

canvas { display: block; width: 100%; height: 100%; }

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 10;
}

a { text-decoration: none; color: var(--ink); }
ul { list-style: none; }

h1, h2, h3 { font-family: 'ZCOOL KuaiLe', cursive; color: var(--ink); margin-bottom: 15px; font-weight: normal; }
h2 { text-align: center; font-size: 2.2rem; margin-bottom: 40px; }
p { margin-bottom: 15px; color: var(--ink); }

header {
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.5rem;
}

.logo a { color: var(--ink); }

nav a {
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

nav a:hover { color: var(--acc); }

.hero { padding: 120px 0 100px; text-align: center; }
.hero h1 { font-size: 3.2rem; }
.hero p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 35px; }

.btn-primary, .btn-secondary {
    font-family: 'ZCOOL KuaiLe', cursive;
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--acc);
    color: #fff;
    border: 1px solid var(--acc);
}

.btn-primary:hover {
    background-color: #e59832;
    border-color: var(--ink);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--panel);
    color: var(--ink);
    border: 1px solid var(--line);
}

.btn-secondary:hover {
    border-color: var(--acc);
    color: var(--acc);
}

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

section { padding: 80px 0; background: transparent; }

.card, .price-card, .review-card, .faq-item {
    background: var(--panel);
    border-radius: 16px;
    border: 1px solid var(--line);
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.card { padding: 40px 30px; text-align: center; }
.card:hover { border-color: var(--acc); transform: translateY(-5px); }
.card .icon { font-size: 3.5rem; margin-bottom: 20px; }

.price-card { padding: 40px 30px; text-align: center; display: flex; flex-direction: column; }
.price-card:hover { border-color: var(--acc); transform: translateY(-5px); }
.price-card.highlight { border: 2px solid var(--acc); position: relative; transform: scale(1.05); }
.price-card.highlight:hover { transform: scale(1.05) translateY(-5px); }
.price-card.highlight::before {
    content: "最受欢迎";
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--acc);
    color: #fff;
    padding: 6px 18px;
    border-radius: 16px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
}

.price { font-family: 'Baloo 2', cursive; font-size: 2.8rem; font-weight: 700; color: var(--ink); margin: 20px 0; }
.price span { font-family: 'Space Mono', monospace; font-size: 13px; color: var(--dim); }

.price-card ul { margin-bottom: 30px; text-align: left; flex-grow: 1; }
.price-card li { margin-bottom: 15px; padding-left: 28px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--acc); font-family: 'Baloo 2', cursive; font-weight: 700; }
.price-card .btn-primary, .price-card .btn-secondary { width: 100%; }

.review-card { padding: 30px; }
.review-card:hover { border-color: var(--acc); }
.review-card span { font-family: 'Space Mono', monospace; font-size: 11px; display: block; margin-top: 15px; color: var(--dim); }

.faq-item { padding: 25px; margin-bottom: 15px; }
.faq-item:hover { border-color: var(--acc); transform: translateY(-2px); }
.faq-item h3 { margin-bottom: 10px; font-size: 1.1rem; }
.faq-item p { margin-bottom: 0; }

footer { background: var(--panel); padding: 60px 0 30px; text-align: center; border-top: 1px solid var(--line); }
.footer-links { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-links a { font-size: 0.95rem; }
.footer-links a:hover { color: var(--acc); }
footer p { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--dim); }

/* Pages content */
.page-content { padding: 80px 15px; max-width: 800px; margin: 0 auto; background: transparent; }
.page-content h1 { text-align: center; margin-bottom: 40px; font-size: 2.5rem; }
.page-content h2 { font-size: 1.5rem; text-align: left; margin-top: 40px; margin-bottom: 15px; }
.page-content ul { padding-left: 25px; margin-bottom: 15px; }
.page-content li { margin-bottom: 10px; list-style-type: none; position: relative; padding-left: 15px; }
.page-content li::before { content: "-"; position: absolute; left: 0; color: var(--acc); }
.page-content a { color: var(--acc); text-decoration: underline; }

@media (max-width: 768px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    header .container { flex-direction: column; height: auto; padding: 15px; }
    nav { margin-top: 15px; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
    nav a { margin: 0; }
    .header-action { margin-top: 15px; width: 100%; text-align: center; }
    .header-action .btn-primary { margin-left: 0 !important; width: 100%; }
    .hero { padding: 80px 0 60px; }
    .hero h1 { font-size: 2.2rem; }
    .price-card.highlight { transform: none; }
    .price-card.highlight:hover { transform: translateY(-5px); }
    .btn-primary, .btn-secondary { display: block; width: 100%; padding: 18px 20px; font-size: 1.15rem; }
    section { padding: 60px 0; }
}

/* Accessibility & Mobile Fixes */
.skip-link { position: absolute; top: -100px; left: 20px; background: var(--acc); color: #fff; padding: 10px 20px; z-index: 9999; transition: top 0.3s; border-radius: 8px; }
.skip-link:focus { top: 20px; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
section[id] { scroll-margin-top: 90px; }
details.faq-item summary { cursor: pointer; display: block; position: relative; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--acc); font-family: "Space Mono", monospace; font-size: 1.2rem; }
details.faq-item[open] summary::after { content: "-"; }
details.faq-item[open] p { margin-top: 15px; }
@media (prefers-reduced-motion: reduce) { *, ::before, ::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

