/* ============================================
   莘县新达印章中心 - 宣传网站样式
   JAMstack Architecture - Static Site
   ============================================ */

/* CSS Variables */
:root {
    --color-primary: #C41E3A;
    --color-primary-dark: #8B0000;
    --color-primary-light: #E85050;
    --color-gold: #B8860B;
    --color-gold-light: #DAA520;
    --color-bg: #FAFAFA;
    --color-bg-dark: #1A1A1A;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-white: #FFFFFF;
    --color-border: #E8E8E8;
    --color-card-bg: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}

.logo-text h1 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
}

.logo-sub {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 4px;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    background: rgba(196,30,58,0.06);
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a0a0a 0%, #2d0a0a 30%, #1a1a2e 70%, #0a0a0a 100%);
    overflow: hidden;
    padding: 100px 0 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(196,30,58,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(218,165,32,0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(196,30,58,0.15);
    border: 1px solid rgba(196,30,58,0.3);
    color: var(--color-primary-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-highlight {
    color: var(--color-gold-light);
    position: relative;
}

.hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-features {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
}

.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    font-weight: 500;
}

.feat-icon {
    color: var(--color-gold-light);
    font-size: 14px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(196,30,58,0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(196,30,58,0.45);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--color-white);
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

/* Hero Seal Decoration */
.hero-seal-decoration {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.12;
}

.seal-circle {
    width: 500px;
    height: 500px;
    border: 8px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal-inner {
    width: 440px;
    height: 440px;
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.seal-star {
    font-size: 80px;
    color: var(--color-primary);
}

.seal-text {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: 8px;
}

/* ============================================
   Trust Bar
   ============================================ */
.trust-bar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 20px;
    border-right: 1px solid var(--color-border);
}

.trust-item:last-child {
    border-right: none;
}

.trust-icon {
    color: var(--color-primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.trust-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}

.trust-info p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ============================================
   Section Common
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(196,30,58,0.08);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

/* ============================================
   Qualification Section
   ============================================ */
.qualification {
    background: var(--color-white);
}

.qual-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.qual-card {
    text-align: center;
    padding: 36px 20px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.qual-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.qual-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(196,30,58,0.06);
    border-radius: 50%;
    margin-bottom: 20px;
}

.qual-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.qual-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.qual-notice {
    text-align: center;
    background: rgba(196,30,58,0.05);
    border: 1px solid rgba(196,30,58,0.15);
    border-radius: var(--radius-md);
    padding: 16px 24px;
}

.qual-notice p {
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 600;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.service-img {
    height: 180px;
    background: linear-gradient(135deg, #1a0a0a, #2d1010);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-seal {
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal-preview {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal-outer-ring {
    width: 110px;
    height: 110px;
    border: 3px solid #C41E3A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.seal-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.seal-company {
    font-size: 10px;
    color: #C41E3A;
    font-weight: 600;
    line-height: 1.3;
    max-width: 80px;
}

.seal-type {
    font-size: 18px;
    font-weight: 900;
    color: #C41E3A;
}

.seal-finance .seal-outer-ring {
    border-radius: 45%;
    width: 130px;
    height: 90px;
}

.seal-other .seal-outer-ring {
    border: 3px dashed #C41E3A;
}

.service-info {
    padding: 20px;
}

.service-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.service-info p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.service-tag {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(196,30,58,0.08);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
}

/* ============================================
   Process Section
   ============================================ */
.process {
    background: var(--color-white);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.process-step {
    text-align: center;
    flex: 1;
    max-width: 220px;
}

.step-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(196,30,58,0.25);
}

.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.process-arrow {
    display: flex;
    align-items: flex-start;
    padding-top: 16px;
    color: var(--color-primary);
}

/* ============================================
   Cases Section
   ============================================ */
.cases {
    background: var(--color-bg);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.case-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.case-seal-display {
    height: 200px;
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-seal-bg {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-seal-ring {
    width: 120px;
    height: 120px;
    border: 4px solid #C41E3A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-seal-oval {
    border-radius: 45%;
    width: 140px;
    height: 95px;
}

.case-seal-square-shape {
    border-radius: 4px;
    width: 90px;
    height: 90px;
}

.case-seal-name {
    font-size: 13px;
    font-weight: 700;
    color: #C41E3A;
    text-align: center;
    line-height: 1.4;
}

.case-label {
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.cases-note {
    text-align: center;
    padding: 16px;
    background: rgba(196,30,58,0.04);
    border-radius: var(--radius-md);
}

.cases-note p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us {
    background: var(--color-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.why-card {
    padding: 32px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.why-num {
    font-size: 40px;
    font-weight: 900;
    color: rgba(196,30,58,0.1);
    margin-bottom: 12px;
    line-height: 1;
}

.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.why-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    background: var(--color-bg);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    gap: 16px;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-text-muted);
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-info-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--color-border);
}

.contact-info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.contact-logo {
    width: 48px;
    height: 48px;
    font-size: 24px;
}

.contact-info-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    background: rgba(196,30,58,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-detail-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}

.contact-detail-item p {
    font-size: 14px;
    color: var(--color-text-light);
}

.contact-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-badge {
    padding: 6px 14px;
    background: rgba(196,30,58,0.08);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
}

/* Contact Map */
.contact-map-card {
    background: var(--color-bg-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    color: rgba(255,255,255,0.8);
}

.map-icon {
    margin-bottom: 16px;
    display: inline-block;
}

.map-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
}

.map-content p {
    font-size: 15px;
    margin-bottom: 4px;
}

.map-hint {
    margin-top: 12px;
    font-size: 14px;
    color: var(--color-gold-light);
    font-weight: 500;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
}

.footer-brand > p {
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.footer-contact-info p {
    font-size: 14px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .qual-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item:nth-child(2) {
        border-right: none;
    }

    .process-steps {
        flex-wrap: wrap;
        gap: 24px;
    }

    .process-arrow {
        display: none;
    }

    .process-step {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-white);
        padding: 20px;
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 4px;
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-seal-decoration {
        display: none;
    }

    .hero-features {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .qual-grid,
    .services-grid,
    .cases-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .trust-items {
        grid-template-columns: 1fr 1fr;
    }

    .trust-item {
        border-right: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        max-width: 100%;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .trust-items {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .trust-item:last-child {
        border-bottom: none;
    }

    .hero-title {
        font-size: 28px;
    }
}
