/* Ink-Wash Style Reset & Variables */
:root {
    --bg-paper: #F5F2E9;
    --ink-black: #1C1B17;
    --ink-light: rgba(28, 27, 23, 0.6);
    --teal-accent: #2F7E68;
    --seal-red: #B23B2E;
    
    --font-cn: 'Noto Serif SC', 'Songti SC', serif;
    --font-en: 'EB Garamond', 'Times New Roman', serif;
}

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

body {
    background-color: var(--bg-paper);
    color: var(--ink-black);
    font-family: var(--font-en);
    /* For mixed typography, let the browser fallback for Chinese to Noto Serif */
    line-height: 1.8;
    background-image: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.02) 100%);
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .brand-name, .logo-text, .nav-links a, .vertical-title, .chapter-num, .scroll-title {
    font-family: var(--font-cn);
    font-weight: 700;
}

p {
    font-family: var(--font-cn);
    font-weight: 400;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5vw;
    border-bottom: 1px solid rgba(28, 27, 23, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--ink-black);
    font-size: 1.1rem;
    position: relative;
    transition: color 0.4s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--teal-accent);
    transition: width 0.4s ease;
}

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

/* Hero Section */
.hero {
    padding: 80px 5vw 120px;
}

.hero-layout {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 6vw;
    max-width: 1200px;
    margin: 0 auto;
}

/* Vertical Title */
.hero-text {
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
}

.vertical-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 4.5rem;
    line-height: 1.2;
    letter-spacing: 15px;
    font-weight: 900;
    color: var(--ink-black);
}

.brand-name {
    font-size: 2rem;
    color: var(--seal-red);
    margin-top: 40px;
    display: inline-block;
    border: 2px solid var(--seal-red);
    padding: 20px 5px;
    border-radius: 4px;
}

/* Hero Desc & Actions */
.hero-desc {
    writing-mode: vertical-rl;
    font-size: 1.2rem;
    color: var(--ink-light);
    letter-spacing: 5px;
    line-height: 2;
    margin-top: 50px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 30px;
    padding-bottom: 20px;
}

/* Visual Animations */
.hero-visual {
    width: 150px;
    position: relative;
    display: flex;
    align-items: center;
}

.waterfall-anim {
    width: 100%;
    height: auto;
}

.draw-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 3s ease-in-out forwards;
}

.sub-fall { animation-delay: 0.5s; }
.sub-fall-2 { animation-delay: 1s; }

.splash-anim {
    opacity: 0;
    transform: translateY(-10px);
    animation: splash 1s ease-out forwards;
    animation-delay: 2.5s;
}

.delay-1 { animation-delay: 2.7s; }
.delay-2 { animation-delay: 2.9s; }

@keyframes draw {
    to { stroke-dashoffset: 0; }
}

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

/* Seal Button */
.seal-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgba(28, 27, 23, 0.2);
    transition: all 0.5s ease;
    background: transparent;
}

.seal-mark {
    background-color: var(--seal-red);
    color: white;
    font-family: var(--font-cn);
    font-weight: 900;
    padding: 5px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.seal-text {
    font-family: var(--font-cn);
    font-size: 1.2rem;
    color: var(--ink-black);
    font-weight: 700;
}

.seal-btn:hover {
    border-color: var(--ink-black);
    background-color: rgba(28, 27, 23, 0.03);
}

.ink-link {
    font-family: var(--font-cn);
    color: var(--ink-light);
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 1px dashed var(--ink-light);
    padding-bottom: 5px;
    transition: color 0.4s;
    align-self: flex-start;
}

.ink-link:hover {
    color: var(--teal-accent);
    border-color: var(--teal-accent);
}

/* Chapters (Features) */
.chapters-section {
    padding: 100px 5vw;
    max-width: 1000px;
    margin: 0 auto;
}

.chapter-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.chapter {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.chapter:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.chapter-num {
    font-size: 4rem;
    color: var(--teal-accent);
    opacity: 0.2;
    line-height: 1;
    font-family: var(--font-cn);
}

.chapter-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.chapter-content p {
    font-size: 1.1rem;
    color: var(--ink-light);
    max-width: 400px;
    line-height: 2;
}

/* Pricing Scroll */
.pricing-section {
    padding: 100px 5vw 150px;
    display: flex;
    justify-content: center;
}

.scroll-wrapper {
    width: 100%;
    max-width: 450px;
    position: relative;
}

.scroll-top-rod, .scroll-bottom-rod {
    height: 20px;
    background: #3a2e24; /* Dark wood color */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    margin: 0 -15px;
}

.scroll-top-rod::before, .scroll-top-rod::after,
.scroll-bottom-rod::before, .scroll-bottom-rod::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #231b15;
    border-radius: 50%;
}

.scroll-top-rod::before, .scroll-bottom-rod::before { left: -10px; }
.scroll-top-rod::after, .scroll-bottom-rod::after { right: -10px; }

.scroll-paper {
    background-color: #fdfaf3; /* Slightly brighter than bg */
    padding: 60px 40px;
    margin: -10px 0; /* Overlap rods slightly */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-left: 1px solid rgba(0,0,0,0.05);
    border-right: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    z-index: 1;
    /* Subtle paper texture */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><rect width="4" height="4" fill="none"/><path d="M0,0 L1,1" stroke="rgba(0,0,0,0.02)" stroke-width="1"/></svg>');
}

.scroll-title {
    font-size: 2rem;
    letter-spacing: 5px;
    margin-bottom: 30px;
}

.scroll-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--teal-accent);
    margin-bottom: 40px;
    font-family: var(--font-en);
}

.scroll-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 5px;
}

.scroll-price .period {
    font-size: 1rem;
    color: var(--ink-light);
    font-weight: normal;
    font-family: var(--font-cn);
}

.scroll-features {
    list-style: none;
    margin-bottom: 50px;
    text-align: left;
    font-family: var(--font-cn);
}

.scroll-features li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(28, 27, 23, 0.1);
    color: var(--ink-light);
    position: relative;
    padding-left: 20px;
}

.scroll-features li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--teal-accent);
    font-weight: bold;
}

.scroll-btn {
    width: 100%;
    justify-content: center;
    padding: 15px;
}

/* Footer */
.ink-footer {
    padding: 60px 5vw;
    border-top: 1px solid rgba(28, 27, 23, 0.1);
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--ink-light);
    text-decoration: none;
    font-family: var(--font-cn);
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--ink-black);
}

.footer-copy {
    color: var(--ink-light);
    font-size: 0.9rem;
    font-family: var(--font-cn);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-layout {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-text {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .vertical-title {
        writing-mode: horizontal-tb;
        letter-spacing: 5px;
        font-size: 3rem;
    }
    
    .hero-desc {
        writing-mode: horizontal-tb;
        margin-top: 20px;
    }
    
    .brand-name {
        margin-top: 10px;
        padding: 5px 15px;
    }
    
    .hero-visual {
        transform: rotate(-90deg);
        height: 150px;
        width: 100%;
    }
    
    .chapter {
        flex-direction: column !important;
        text-align: left !important;
        gap: 15px;
    }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 20px;
        justify-content: center;
        width: 100%;
    }
    
    .navbar {
        flex-direction: column;
    }
}
