:root {
    --bg-sky-top: #86C5DA;
    --bg-sky-middle: #D0E8EE;
    --bg-sky-bottom: #F5ECC9;
    --card-bg: #EEDFA8;
    --card-accent: #509B8B;
    --card-accent-hover: #3E7E70;
    --text-dark: #3F372C;
    --text-muted: #6B6051;
    --pricing-dark-bg: #0F1322;
    --pricing-card-bg: #161B2E;
    --pricing-card-highlight: #1D233D;
    --gold-accent: #E3C174;
    --gold-accent-hover: #D0AE60;
    --white: #FFFFFF;
    --shadow-soft: 0 12px 32px rgba(63, 55, 44, 0.08);
    --shadow-hover: 0 16px 40px rgba(63, 55, 44, 0.15);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-pill: 50px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, sans-serif;
    background: linear-gradient(180deg, var(--bg-sky-top) 0%, var(--bg-sky-middle) 45%, var(--bg-sky-bottom) 100%);
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Dynamic Sky Animation Elements */
.sky-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(4px);
    border-radius: 100px;
    animation: floatCloud 35s linear infinite;
}

.cloud-1 {
    top: 12%;
    left: -150px;
    width: 220px;
    height: 60px;
    animation-duration: 45s;
}

.cloud-2 {
    top: 35%;
    left: -200px;
    width: 300px;
    height: 80px;
    animation-duration: 60s;
    animation-delay: -15s;
    opacity: 0.5;
}

.cloud-3 {
    top: 65%;
    left: -180px;
    width: 250px;
    height: 70px;
    animation-duration: 50s;
    animation-delay: -30s;
    opacity: 0.4;
}

@keyframes floatCloud {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 350px)); }
}

.floating-star {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #FFF8DF;
    border-radius: 50%;
    box-shadow: 0 0 10px #FFF8DF;
    animation: pulseStar 3s ease-in-out infinite alternate;
}

@keyframes pulseStar {
    0% { transform: scale(0.8); opacity: 0.3; }
    100% { transform: scale(1.4); opacity: 0.9; }
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

header.scrolled {
    background: rgba(245, 236, 201, 0.85);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--card-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(80, 155, 139, 0.3);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--card-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--card-accent);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--card-accent);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 16px rgba(80, 155, 139, 0.25);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--card-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(80, 155, 139, 0.35);
}

/* Main Layout container */
.main-wrapper {
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section Ghibli Card */
.hero-section {
    padding: 60px 0 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ghibli-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    max-width: 720px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.6);
    transition: var(--transition-smooth);
}

.ghibli-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.ghibli-avatar-circle {
    width: 90px;
    height: 90px;
    background: rgba(80, 155, 139, 0.2);
    border: 4px solid var(--card-accent);
    border-radius: 50%;
    margin: 0 auto 24px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--card-accent);
}

.ghibli-card h1 {
    font-size: 34px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.ghibli-card .subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-weight: 400;
}

.ghibli-card .btn-adventure {
    background: var(--card-accent);
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    padding: 14px 44px;
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 20px rgba(80, 155, 139, 0.3);
}

.ghibli-card .btn-adventure:hover {
    background: var(--card-accent-hover);
    transform: scale(1.04);
}

/* Feature Badge Pill Bar */
.kw-pill-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}

.kw-pill {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(80, 155, 139, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 500;
    backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
}

.kw-pill:hover {
    background: var(--card-accent);
    color: var(--white);
    transform: translateY(-2px);
}

/* Features / Advantages Section */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.section-title p {
    font-size: 16px;
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-bottom: 90px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    transition: var(--transition-smooth);
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--card-accent);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(80, 155, 139, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--card-accent);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Pricing Section - Dark Theme Container matching Image 2 */
.pricing-section-container {
    background: var(--pricing-dark-bg);
    border-radius: var(--border-radius-lg);
    padding: 60px 40px;
    margin-bottom: 100px;
    box-shadow: 0 20px 50px rgba(15, 19, 34, 0.4);
    color: #FFFFFF;
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-header h2 {
    font-size: 32px;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.pricing-header p {
    color: #94A3B8;
    font-size: 16px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--pricing-card-bg);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
}

.pricing-card.featured {
    border: 1.5px solid var(--gold-accent);
    background: var(--pricing-card-highlight);
    box-shadow: 0 0 30px rgba(227, 193, 116, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    right: 24px;
    background: var(--gold-accent);
    color: #0F1322;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
}

.plan-name {
    font-size: 18px;
    font-weight: 600;
    color: #E2E8F0;
    margin-bottom: 24px;
}

.plan-price {
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
}

.plan-price .currency {
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
}

.plan-price .amount {
    font-size: 42px;
    font-weight: 800;
    color: #FFFFFF;
}

.plan-price .period {
    font-size: 14px;
    color: #94A3B8;
    margin-left: 4px;
}

.plan-sub {
    font-size: 13px;
    color: #CBD5E1;
    margin-bottom: 30px;
    font-weight: 600;
}

.plan-features {
    list-style: none;
    margin-bottom: 36px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 14px;
    color: #94A3B8;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li svg {
    color: #818CF8;
    flex-shrink: 0;
}

.pricing-card.featured .plan-features li svg {
    color: var(--gold-accent);
}

.btn-pricing {
    width: 100%;
    padding: 14px 0;
    border-radius: var(--border-radius-pill);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: block;
}

.btn-pricing:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
}

.pricing-card.featured .btn-pricing {
    background: var(--gold-accent);
    color: #0F1322;
    border: none;
}

.pricing-card.featured .btn-pricing:hover {
    background: var(--gold-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 193, 116, 0.3);
}

/* Knowledge Base Article Grid */
.articles-section {
    margin-bottom: 90px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.article-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius-md);
    padding: 28px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--card-accent);
}

.article-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.article-tag {
    background: rgba(80, 155, 139, 0.15);
    color: var(--card-accent);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.article-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.read-more-link {
    color: var(--card-accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.read-more-link:hover {
    color: var(--card-accent-hover);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 90px;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.faq-question {
    padding: 22px 28px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--card-accent);
}

.faq-toggle-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background: rgba(255, 255, 255, 0.5);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.5s ease-in-out;
}

.faq-answer-inner {
    padding: 0 28px 22px 28px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Footer */
footer {
    background: rgba(63, 55, 44, 0.05);
    border-top: 1px solid rgba(63, 55, 44, 0.1);
    padding: 60px 0 30px 0;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--card-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(63, 55, 44, 0.08);
    font-size: 13px;
    color: var(--text-muted);
}

/* Article Detail Page Styles */
.article-detail-container {
    max-width: 900px;
    margin: 40px auto 80px auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-soft);
}

.article-header-meta {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 20px;
}

.article-header-meta h1 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.article-stats-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-body {
    font-size: 16px;
    color: #333333;
    line-height: 1.8;
}

.article-body h2 {
    font-size: 24px;
    color: var(--text-dark);
    margin: 36px 0 16px 0;
    border-left: 4px solid var(--card-accent);
    padding-left: 12px;
}

.article-body h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin: 24px 0 12px 0;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin: 0 0 20px 24px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    background: rgba(80, 155, 139, 0.08);
    border-left: 4px solid var(--card-accent);
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.cta-box {
    background: linear-gradient(135deg, var(--card-bg) 0%, #F5ECC9 100%);
    border: 2px solid var(--card-accent);
    border-radius: var(--border-radius-md);
    padding: 32px;
    text-align: center;
    margin: 40px 0;
}

.cta-box h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.cta-box p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.article-faq-container {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px dashed rgba(0,0,0,0.1);
}

.article-faq-container h3 {
    font-size: 22px;
    margin-bottom: 24px;
    color: var(--text-dark);
}
