/*
  1688代购系统 - 水墨中国风格
  Website 55 - Chinese Ink Style
*/

:root {
    --ink-black: #1a1a1a;
    --ink-dark: #2d2d2d;
    --ink-medium: #4a4a4a;
    --ink-light: #8a8a8a;
    --paper-white: #f8f6f3;
    --paper-cream: #f0ebe3;
    --accent-red: #c41e3a;
    --accent-gold: #b8860b;
    --shadow-ink: rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'STSong', 'SimSun', serif;
    background: var(--paper-white);
    color: var(--ink-dark);
    line-height: 1.8;
}

/* Ink Background */
.ink-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, var(--paper-white) 0%, var(--paper-cream) 100%);
    overflow: hidden;
}

.ink-cloud {
    position: absolute;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.cloud-1 {
    width: 500px;
    height: 200px;
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.cloud-2 {
    width: 400px;
    height: 150px;
    top: 30%;
    right: -50px;
    animation-delay: -7s;
}

.cloud-3 {
    width: 600px;
    height: 180px;
    bottom: 20%;
    left: 20%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(30px) translateY(-20px); }
}

.ink-mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
    clip-path: polygon(
        0% 100%, 0% 60%, 15% 40%, 30% 55%, 45% 35%, 60% 50%, 75% 30%, 90% 45%, 100% 35%, 100% 100%
    );
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.ink-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(248, 246, 243, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

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

.ink-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-char {
    width: 45px;
    height: 45px;
    background: var(--ink-black);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: 8px;
}

.logo-text {
    font-size: 22px;
    font-weight: 600;
    color: var(--ink-dark);
}

.ink-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.ink-nav a {
    text-decoration: none;
    color: var(--ink-medium);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.ink-nav a:hover,
.ink-nav a.active {
    color: var(--ink-dark);
}

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

.ink-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--ink-dark);
    cursor: pointer;
}

/* Hero Section */
.ink-hero {
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--paper-cream);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-size: 13px;
    color: var(--ink-light);
    margin-bottom: 25px;
}

.ink-title {
    margin-bottom: 25px;
}

.title-line {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--ink-dark);
    letter-spacing: 4px;
}

.title-sub {
    display: block;
    font-size: 28px;
    font-weight: 400;
    color: var(--accent-gold);
    margin-top: 10px;
    letter-spacing: 8px;
}

.ink-desc {
    font-size: 17px;
    color: var(--ink-medium);
    margin-bottom: 35px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.ink-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.ink-btn.primary:hover {
    background: var(--ink-dark);
    transform: translateY(-2px);
}

.ink-btn.secondary {
    background: transparent;
    color: var(--ink-dark);
    border: 1px solid var(--ink-medium);
}

.ink-btn.secondary:hover {
    background: var(--paper-cream);
}

/* Scroll Paper Visual */
.hero-visual {
    display: flex;
    justify-content: center;
}

.scroll-paper {
    position: relative;
    width: 320px;
    padding: 40px 30px;
    background: var(--paper-cream);
    border-radius: 4px;
    box-shadow:
        0 4px 20px var(--shadow-ink),
        inset 0 0 30px rgba(0, 0, 0, 0.03);
}

.scroll-paper::before,
.scroll-paper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(180deg, var(--paper-cream), transparent);
}

.scroll-paper::before {
    top: 0;
}

.scroll-paper::after {
    bottom: 0;
    background: linear-gradient(0deg, var(--paper-cream), transparent);
}

.paper-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

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

.stat-label {
    font-size: 15px;
    color: var(--ink-medium);
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-red);
}

.paper-seal {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: 4px;
    opacity: 0.9;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--paper-cream);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-size: 13px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--ink-dark);
    letter-spacing: 4px;
}

/* Features Section */
.ink-features {
    padding: 100px 0;
    background: var(--paper-cream);
}

.features-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.feature-main {
    display: flex;
    align-items: center;
}

.feature-card {
    padding: 35px;
    background: var(--paper-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 30px var(--shadow-ink);
    transform: translateY(-5px);
}

.feature-card.large {
    width: 100%;
    padding: 50px 40px;
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--ink-dark);
}

.feature-card p {
    font-size: 15px;
    color: var(--ink-medium);
    line-height: 1.8;
}

.feature-line {
    width: 60px;
    height: 3px;
    background: var(--accent-red);
    margin-top: 25px;
}

.feature-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-side .feature-card {
    padding: 25px;
}

.feature-side .feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-side .feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-side .feature-card p {
    font-size: 14px;
}

/* Audience Section */
.ink-audience {
    padding: 100px 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.audience-card {
    padding: 35px 25px;
    background: var(--paper-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
}

.audience-card:hover {
    box-shadow: 0 10px 30px var(--shadow-ink);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 42px;
    margin-bottom: 18px;
}

.audience-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--ink-dark);
}

.audience-card > p {
    font-size: 14px;
    color: var(--ink-medium);
    margin-bottom: 18px;
}

.audience-card ul {
    list-style: none;
    text-align: left;
}

.audience-card li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 13px;
    color: var(--ink-light);
}

.audience-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

/* Process Section */
.ink-process {
    padding: 100px 0;
    background: var(--paper-cream);
}

.process-path {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.step-num {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    background: var(--ink-black);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: var(--ink-light);
}

.step-arrow {
    font-size: 28px;
    color: var(--accent-gold);
}

/* Testimonials */
.ink-testimonials {
    padding: 100px 0;
}

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

.testimonial-card {
    padding: 35px;
    background: var(--paper-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px var(--shadow-ink);
}

.quote {
    font-size: 16px;
    color: var(--ink-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}

.quote::before,
.quote::after {
    content: '"';
    position: absolute;
    font-size: 48px;
    color: var(--accent-gold);
    opacity: 0.3;
    line-height: 1;
}

.quote::before {
    top: -10px;
    left: -10px;
}

.quote::after {
    bottom: -30px;
    right: -10px;
}

.author {
    font-size: 14px;
    color: var(--ink-light);
    font-style: italic;
}

/* Contact Section */
.ink-contact {
    padding: 80px 0;
    background: var(--paper-cream);
}

.contact-wrapper {
    padding: 60px;
    background: var(--paper-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    text-align: center;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.contact-info > p {
    color: var(--ink-medium);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.method {
    text-align: center;
}

.method .label {
    display: block;
    font-size: 13px;
    color: var(--ink-light);
    margin-bottom: 8px;
}

.method .value {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink-dark);
}

/* Footer */
.ink-footer {
    padding: 40px 0 20px;
    background: var(--ink-black);
    color: var(--paper-white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.footer-brand .logo-char {
    width: 36px;
    height: 36px;
    font-size: 18px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Footer Contact Info - Always Visible */
.footer-contact {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
}

.footer-contact-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item .contact-icon {
    font-size: 16px;
    width: 24px;
    text-align: center;
}

.footer-contact-item .contact-text {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Page Hero Section - Used in sub-pages */
.page-hero {
    min-height: 60vh;
    padding: 140px 0 60px;
    display: flex;
    align-items: center;
    text-align: center;
}

.page-hero .container {
    max-width: 900px;
    margin: 0 auto;
}

.page-hero .hero-content {
    text-align: center;
}

.page-hero .hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(196, 30, 58, 0.1);
    border: 1px solid var(--accent-red);
    border-radius: 30px;
    font-size: 14px;
    color: var(--accent-red);
    margin-bottom: 20px;
}

.page-hero .hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--ink-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-hero .hero-title .title-line {
    display: block;
}

.page-hero .hero-title .title-highlight {
    color: var(--accent-red);
}

.page-hero .hero-desc {
    font-size: 18px;
    color: var(--ink-medium);
    max-width: 700px;
    margin: 0 auto;
}

/* Benefits Section - Used in sub-pages */
.benefits-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.03);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.benefit-card {
    padding: 35px 25px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--shadow-ink);
    border-radius: 5px;
    text-align: center;
    transition: all 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-red);
    box-shadow: 0 8px 20px rgba(196, 30, 58, 0.15);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-dark);
    margin-bottom: 15px;
}

.benefit-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-red);
    margin-bottom: 10px;
}

.benefit-desc {
    font-size: 14px;
    color: var(--ink-medium);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-layout {
        grid-template-columns: 1fr;
    }

    .feature-main {
        order: -1;
    }

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

    .process-path {
        flex-wrap: wrap;
    }

    .step-arrow {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .ink-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper-white);
        padding: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .ink-nav.active {
        display: block;
    }

    .ink-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .ink-toggle {
        display: block;
    }

    .title-line {
        font-size: 36px;
    }

    .title-sub {
        font-size: 22px;
        letter-spacing: 4px;
    }

    .scroll-paper {
        width: 280px;
    }

    .page-hero {
        padding: 120px 0 40px;
        min-height: 50vh;
    }

    .page-hero .hero-title {
        font-size: 32px;
    }

    .audience-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        flex-direction: column;
        gap: 25px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-contact {
        width: 100%;
        max-width: 300px;
        min-width: auto;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .benefit-value {
        font-size: 32px;
    }
}
