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

:root {
    --bg: #FFFFFF;
    --bg-warm: #FAFAF8;
    --bg-alt: #F5F5F3;
    --ink: #0C0C0C;
    --ink-soft: #2A2A2A;
    --stone: #5C5C5C;
    --stone-light: #8A8A8A;
    --mist: #E8E8E6;
    --mist-light: #F0F0EE;
    --sage: #5AAD3A;
    --sage-dark: #3E7A26;
    --sage-pale: #D4EBCA;
    --max-w: 1100px;
    --pad-x: 24px;
    --pad-x-lg: 48px;
    --section-gap: 120px;
    --section-gap-lg: 160px;
    --font: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ==================== UTILITIES ==================== */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
}

@media (min-width: 768px) {
    .container {
        padding-left: var(--pad-x-lg);
        padding-right: var(--pad-x-lg);
    }
}

.section {
    padding-top: var(--section-gap);
    padding-bottom: var(--section-gap);
}

@media (min-width: 768px) {
    .section {
        padding-top: var(--section-gap-lg);
        padding-bottom: var(--section-gap-lg);
    }
}

.label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage);
}

.divider {
    height: 1px;
    background: var(--mist);
    max-width: var(--max-w);
    margin: 0 auto;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.header.scrolled { border-bottom-color: var(--mist); }

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

@media (min-width: 768px) {
    .header-inner { height: 72px; }
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.logo-mark {
    width: 28px; height: 28px;
    background: var(--sage);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark svg {
    width: 14px; height: 14px;
    color: white;
}

.nav { display: none; align-items: center; gap: 32px; }
@media (min-width: 768px) { .nav { display: flex; } }

.nav a {
    font-size: 14px;
    color: var(--stone);
    transition: color 0.25s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--ink);
    transition: width 0.3s ease;
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header-cta {
    display: none;
    padding: 9px 20px;
    background: var(--sage);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
    transition: background 0.25s ease;
}

@media (min-width: 768px) { .header-cta { display: inline-block; } }
.header-cta:hover { background: var(--sage-dark); }

/* ==================== LANGUAGE SWITCHER ==================== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--mist);
}

@media (min-width: 768px) {
    .lang-switcher {
        margin-left: 24px;
        padding-left: 24px;
    }
}

.lang-btn {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--stone-light);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.lang-btn:hover { color: var(--ink); background: var(--bg-warm); }
.lang-btn.active { color: var(--ink); background: var(--bg-alt); font-weight: 700; }

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    position: relative;
}

.hero-content { max-width: 720px; }

.hero-label { margin-bottom: 32px; }

.hero-title {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 32px;
}

.hero-subtitle {
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.7;
    color: var(--stone);
    max-width: 480px;
    margin-bottom: 48px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--ink);
    color: white;
}
.btn-primary:hover { background: var(--ink-soft); }

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--mist);
}
.btn-secondary:hover { border-color: var(--stone-light); }

.hero-scroll {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--stone-light);
    animation: bounce 2.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ==================== STATS ==================== */
.stats {
    border-top: 1px solid var(--mist);
    border-bottom: 1px solid var(--mist);
}

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

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
    padding: 48px 24px;
    text-align: center;
}

.stat-item:not(:last-child) {
    border-right: 1px solid var(--mist);
}

.stat-num {
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 8px;
}

.stat-num span {
    font-size: 14px;
    font-weight: 400;
    color: var(--stone-light);
}

.stat-label {
    font-size: 13px;
    color: var(--stone-light);
}

/* ==================== SECTION HEADER ==================== */
.sec-header { margin-bottom: 80px; }
.sec-header .label { margin-bottom: 20px; }

.sec-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.sec-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: var(--stone);
    max-width: 560px;
    margin-top: 20px;
}

/* ==================== PRODUCT CARDS ==================== */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.product-card {
    background: var(--bg);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 16px;
    border: 1px solid var(--mist);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.product-card:hover {
    background: var(--sage-pale);
    border-color: var(--sage);
    transform: translateY(-2px);
}

.product-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card-num {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--sage);
}

.product-card-arrow {
    width: 18px; height: 18px;
    color: var(--stone-light);
    transition: all 0.25s ease;
}

.product-card:hover .product-card-arrow {
    color: var(--sage);
    transform: translateX(4px);
}

.product-card-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--ink);
}

.product-card-desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--stone);
}

.product-card-price {
    padding-top: 20px;
    border-top: 1px solid var(--mist);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-card-price-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
}

.product-card-price-note {
    font-size: 13px;
    color: var(--stone-light);
}

/* ==================== PRODUCT DETAIL ==================== */
.detail-layout {
    display: grid;
    gap: 64px;
}

@media (min-width: 768px) {
    .detail-layout {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: start;
    }
}

.detail-label { margin-bottom: 20px; }
.detail-title { margin-bottom: 28px; }
.detail-desc {
    font-size: 16px;
    line-height: 1.75;
    color: var(--stone);
    margin-bottom: 40px;
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-dot {
    width: 6px; height: 6px;
    background: var(--sage);
    border-radius: 50%;
    margin-top: 9px;
    flex-shrink: 0;
}

.detail-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--stone);
}

/* ==================== PRICING TABLE ==================== */
.pricing {
    background: var(--bg-warm);
    border-radius: 16px;
    overflow: hidden;
}

.pricing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--mist);
}

.pricing-row:last-child { border-bottom: none; }

.pricing-name {
    font-size: 15px;
    font-weight: 900;
    color: var(--ink);
}

.pricing-desc {
    font-size: 13px;
    color: var(--stone-light);
    margin-top: 2px;
}

.pricing-price {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
}

/* ==================== DEPARTMENT GRID ==================== */
.dept-grid {
    display: grid;
    gap: 1px;
    background: var(--mist);
    border: 1px solid var(--mist);
    margin-bottom: 80px;
}

@media (min-width: 768px) {
    .dept-grid { grid-template-columns: repeat(3, 1fr); }
}

.dept-card {
    background: var(--bg);
    padding: 40px 32px;
}

.dept-title {
    font-size: 17px;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 10px;
}

.dept-desc {
    font-size: 13px;
    line-height: 1.65;
    color: var(--stone-light);
}

/* ==================== SUBSCRIPTION CARDS ==================== */
.sub-grid {
    display: grid;
    gap: 1px;
    background: var(--mist);
    border: 1px solid var(--mist);
}

@media (min-width: 768px) {
    .sub-grid { grid-template-columns: repeat(4, 1fr); }
}

.sub-card {
    background: var(--bg);
    padding: 32px 28px;
    position: relative;
}

.sub-card.featured { background: var(--bg-warm); }

.sub-badge {
    position: absolute;
    top: 0; right: 0;
    background: var(--sage);
    color: white;
    font-size: 10px;
    font-weight: 500;
    padding: 4px 10px;
    letter-spacing: 0.05em;
}

.sub-name {
    font-size: 13px;
    color: var(--stone-light);
    margin-bottom: 8px;
}

.sub-price {
    font-size: 28px;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.sub-price span {
    font-size: 13px;
    font-weight: 400;
    color: var(--stone-light);
}

.sub-desc {
    font-size: 13px;
    color: var(--stone-light);
    line-height: 1.5;
}

/* ==================== INDUSTRY LIST ==================== */
.industry-list { border-top: 1px solid var(--mist); }

.industry-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--mist);
}

.industry-title {
    font-size: 16px;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 4px;
}

.industry-desc {
    font-size: 14px;
    color: var(--stone-light);
    line-height: 1.6;
}

/* ==================== PROBLEM ==================== */
.problem-grid {
    display: grid;
    gap: 1px;
    background: var(--mist);
    border: 1px solid var(--mist);
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .problem-grid { grid-template-columns: repeat(3, 1fr); }
}

.problem-item {
    background: var(--bg);
    padding: 48px 40px;
}

.problem-num {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--sage);
    margin-bottom: 16px;
}

.problem-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 12px;
}

.problem-desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--stone);
}

.problem-mission {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 500;
    line-height: 1.5;
    color: var(--stone);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* ==================== ADVANTAGES ==================== */
.adv-grid {
    display: grid;
    gap: 48px;
}

@media (min-width: 768px) {
    .adv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 64px 48px;
    }
}

.adv-item {
    padding-top: 32px;
    border-top: 1px solid var(--mist);
}

.adv-num {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--sage);
    margin-bottom: 14px;
}

.adv-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 10px;
}

.adv-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--stone);
}

/* ==================== COOPERATION ==================== */
.coop-grid {
    display: grid;
    gap: 1px;
    background: var(--mist);
    border: 1px solid var(--mist);
}

@media (min-width: 768px) {
    .coop-grid { grid-template-columns: repeat(3, 1fr); }
}

.coop-card {
    background: var(--bg);
    padding: 48px 40px;
}

.coop-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 14px;
}

.coop-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--stone);
    margin-bottom: 32px;
}

.coop-price {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
}

/* ==================== FAQ ==================== */
.faq-list { border-top: 1px solid var(--mist); }

.faq-item {
    border-bottom: 1px solid var(--mist);
    cursor: pointer;
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    gap: 16px;
}

.faq-q-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
}

.faq-icon {
    width: 18px; height: 18px;
    color: var(--stone-light);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-a {
    max-height: 300px;
    padding-bottom: 22px;
}

.faq-a-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--stone);
    max-width: 90%;
}

/* ==================== CTA ==================== */
.cta {
    background: var(--sage-pale);
    text-align: center;
}

.cta .sec-title { margin-bottom: 20px; }
.cta .sec-subtitle { margin: 0 auto 40px; }

/* ==================== FOOTER ==================== */
.footer {
    border-top: 1px solid var(--mist);
    padding: 80px 0 40px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand { max-width: 280px; }
.footer-brand .logo { margin-bottom: 16px; }

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

@media (min-width: 768px) {
    .footer-links { grid-template-columns: repeat(3, auto); }
}

.footer-col-title {
    font-size: 13px;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--stone-light);
    padding: 4px 0;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--mist);
    margin-top: 64px;
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    font-size: 12px;
    color: var(--stone-light);
}

/* ==================== ANIMATION ==================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ==================== PRODUCT PAGE ==================== */
.product-page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: var(--bg-warm);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--stone);
    margin-bottom: 32px;
    transition: color 0.2s ease;
}

.back-link:hover { color: var(--ink); }

.product-page-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 24px;
}

.product-page-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--stone);
    max-width: 600px;
}

.product-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (min-width: 768px) {
    .product-section {
        padding-top: 140px;
        padding-bottom: 140px;
    }
}
