/*
  1688代购系统 - 复古报纸风格
  Website 53 - Vintage Newspaper Style
*/

:root {
    --paper-bg: #f4f1ea;
    --ink-black: #1a1a1a;
    --ink-dark: #2d2d2d;
    --ink-medium: #4a4a4a;
    --ink-light: #6b6b6b;
    --accent-red: #c41e3a;
    --accent-gold: #b8860b;
    --border-color: #d4d0c8;
    --shadow-ink: rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'SimSun', 'Songti SC', 'Times New Roman', serif;
    background: var(--paper-bg);
    color: var(--ink-black);
    line-height: 1.8;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(0, 0, 0, 0.02) 1px,
            rgba(0, 0, 0, 0.02) 2px
        );
}

/* Newspaper Background */
.newspaper-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--paper-bg);
}

.texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

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

/* Header - Newspaper Style */
.news-header {
    background: var(--paper-bg);
    border-bottom: 3px double var(--ink-black);
    padding: 20px 0 15px;
}

.header-border,
.header-inner {
    border: 2px solid var(--ink-black);
    padding: 15px;
}

.date-line {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
    color: var(--ink-medium);
    padding-bottom: 15px;
    border-bottom: 1px solid var(--ink-black);
}

.edition {
    font-weight: bold;
    color: var(--accent-red);
}

.masthead {
    text-align: center;
    padding: 25px 0;
    border-bottom: 3px double var(--ink-black);
}

.masthead h1 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tagline {
    font-size: 14px;
    color: var(--ink-light);
    letter-spacing: 4px;
}

.sub-header {
    padding-top: 15px;
}

.nav-line,
.news-nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.nav-line a,
.news-nav a {
    text-decoration: none;
    color: var(--ink-dark);
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-line a:hover,
.nav-line a.active,
.news-nav a:hover,
.news-nav a.active {
    color: var(--accent-red);
}

/* Headline Section */
.headline-section {
    padding: 40px 0;
}

.headline-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    border-bottom: 2px solid var(--ink-black);
    padding-bottom: 30px;
}

.main-headline {
    padding-right: 30px;
    border-right: 1px solid var(--border-color);
}

.headline-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-red);
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.headline-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.lead-text {
    font-size: 16px;
    color: var(--ink-medium);
    text-indent: 2em;
    margin-bottom: 20px;
}

.headline-meta {
    font-size: 13px;
    color: var(--ink-light);
}

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

.story-card {
    padding: 15px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.story-card:hover {
    border-color: var(--accent-red);
    background: white;
}

.story-card h3 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--ink-dark);
}

.story-card p {
    font-size: 13px;
    color: var(--ink-medium);
}

/* Section Border */
.section-border {
    border: 2px solid var(--ink-black);
    padding: 25px;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.3);
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 25px;
    text-align: center;
}

.heading-line {
    flex: 1;
    max-width: 100px;
    height: 2px;
    background: var(--ink-black);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    border: 1px solid var(--border-color);
    padding: 20px;
    background: white;
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: 4px 4px 0 var(--shadow-ink);
    transform: translate(-2px, -2px);
}

.card-category {
    display: inline-block;
    padding: 3px 10px;
    background: var(--ink-black);
    color: white;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.news-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-card p {
    font-size: 14px;
    color: var(--ink-medium);
    line-height: 1.7;
}

.card-footer {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dotted var(--border-color);
    font-size: 12px;
    color: var(--ink-light);
    font-style: italic;
}

/* Stats Section */
.stats-section {
    padding: 20px 0;
}

.stats-box {
    border: 3px double var(--ink-black);
    padding: 30px;
    background: white;
}

.stats-header {
    text-align: center;
    margin-bottom: 25px;
}

.stats-header h2 {
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.stats-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    color: var(--accent-red);
}

.stat-suffix {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-red);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--ink-medium);
    margin-top: 5px;
}

.stat-divider {
    width: 2px;
    height: 60px;
    background: var(--border-color);
}

/* Feature Section */
.feature-article {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.article-content h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 10px;
}

.drop-cap::first-letter {
    float: left;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    padding-right: 10px;
    color: var(--accent-red);
}

.article-content p {
    font-size: 15px;
    color: var(--ink-medium);
    text-indent: 2em;
    margin-bottom: 15px;
}

blockquote {
    margin: 25px 0;
    padding: 15px 25px;
    border-left: 4px solid var(--accent-red);
    background: rgba(184, 134, 11, 0.1);
    font-size: 16px;
    font-style: italic;
    color: var(--ink-dark);
}

.quote-box {
    padding: 20px;
    background: var(--paper-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    text-align: center;
}

.quote-text {
    font-size: 18px;
    font-weight: bold;
    color: var(--accent-red);
    margin-bottom: 8px;
}

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

/* Service Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    border: 1px solid var(--border-color);
    padding: 25px 20px;
    text-align: center;
    background: white;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent-red);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

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

.service-card li {
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
    font-size: 13px;
    color: var(--ink-medium);
}

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

/* Process Section */
.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

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

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

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

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

.step-arrow {
    font-size: 24px;
    color: var(--accent-gold);
    margin-top: 12px;
}

/* Contact Section */
.contact-section {
    padding: 40px 0;
}

.contact-box {
    border: 2px solid var(--ink-black);
    padding: 40px;
    background: white;
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h2 {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.contact-header p {
    color: var(--ink-medium);
}

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

.contact-item {
    text-align: center;
}

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

.contact-item .value {
    font-size: 18px;
    font-weight: bold;
    color: var(--ink-dark);
}

/* Footer - Newspaper Style */
.news-footer {
    background: var(--ink-black);
    color: var(--paper-bg);
    padding: 30px 0 20px;
    margin-top: 40px;
}

.footer-border {
    border: 2px solid var(--paper-bg);
    padding: 25px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-nav {
    display: flex;
    gap: 25px;
}

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

.footer-nav a:hover {
    color: var(--accent-gold);
}

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

.footer-contact-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-black);
    margin-bottom: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-medium);
}

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

.footer-contact-item .contact-text {
    color: var(--ink-medium);
}

.copyright {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

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

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

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

.page-hero .hero-badge,
.news-hero .news-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,
.news-hero .hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--ink-black);
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-hero .hero-title .title-line,
.news-hero .headline-text {
    display: block;
    color: var(--ink-black);
}

.page-hero .hero-title .title-highlight,
.news-hero .headline-subtext {
    display: block;
    color: var(--accent-red);
}

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

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

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

.benefit-card {
    padding: 35px 25px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-color);
    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-black);
    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) {
    .headline-grid {
        grid-template-columns: 1fr;
    }

    .main-headline {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

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

    .feature-article {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .masthead h1 {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .nav-line {
        flex-wrap: wrap;
        gap: 10px;
    }

    .headline-title {
        font-size: 24px;
    }

    .news-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .stats-content {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-divider {
        display: none;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }

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

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

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

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

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

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

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

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