﻿/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: #f8fafc;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #f1f5f9;
    border-color: #d1d5db;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
}

/* Header & Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2563eb;
}

.nav-text h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-text a {
    color: #1f2937;
    text-decoration: none;
}

.nav-text .tagline {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #374151;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #374151;
    transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
    background: #f8fafc;
    color: #2563eb;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #374151;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 0 0 260px;
    text-align: center;
}

.hero-image .avatar {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image .avatar:hover {
    transform: scale(1.05);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.highlight {
    color: #fbbf24;
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.4;
}

.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Sections */
.services,
.latest-articles,
.case-studies {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.service-link:hover {
    color: #1d4ed8;
}

/* Articles Section */
.latest-articles {
    background: #f8fafc;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.article-card h3 {
    margin-bottom: 1rem;
}

.article-card h3 a {
    color: #1f2937;
    text-decoration: none;
}

.article-card h3 a:hover {
    color: #2563eb;
}

.article-excerpt {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.more-articles {
    text-align: center;
}

/* Case Studies */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.case-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
}

.case-card h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.case-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.case-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat-desc {
    font-size: 0.875rem;
    opacity: 0.8;
}

.case-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-contact-section {
        grid-column: 1 / -1;
    }
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Footer Contact Section */
.footer-contact-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-info p {
    margin: 0;
    color: #d1d5db;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact-info i {
    color: #2563eb;
    width: 16px;
    text-align: center;
}

/* Company Location Map */
.company-location {
    margin-top: 1rem;
}

.company-location h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-address {
    color: #d1d5db;
    font-size: 0.875rem;
    line-height: 1.5;
}

.location-address i {
    color: #2563eb;
    margin-right: 0.5rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid #374151;
    transition: transform 0.3s ease;
}

.map-container:hover {
    transform: scale(1.02);
}

.map-container iframe {
    width: 100%;
    height: 200px;
    border: 0;
    display: block;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}


/* Codex AI 建站演示横幅 */
.footer-codex-banner {
    text-align: center;
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.footer-codex-banner marquee {
    color: #f97316;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}
/* 站长简介 */
.about-owner {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.about-owner-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 24px rgba(0,0,0,0.04);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.about-owner-header {
    padding: 2.5rem 2.5rem 2rem;
    border-bottom: 1px solid #f3f4f6;
}

.about-owner-header h3 {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.about-owner-intro {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #4b5563;
    margin: 0;
}

.about-owner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    padding: 1.5rem 2.5rem;
    border-bottom: 1px solid #f3f4f6;
    background: #fafbfc;
}

.owner-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4rem 0.9rem;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #bfdbfe;
    transition: all 0.2s ease;
}

.owner-tag:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}

.owner-tag i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.about-owner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.about-owner-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem 2.5rem;
    transition: background 0.2s ease;
}

.about-owner-item:nth-child(odd) {
    border-right: 1px solid #f3f4f6;
}

.about-owner-item:nth-child(-n+2) {
    border-bottom: 1px solid #f3f4f6;
}

.about-owner-item:hover {
    background: #fafbfc;
}

.owner-item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: 12px;
    color: #2563eb;
    font-size: 1.2rem;
}

.owner-item-text h4 {
    font-size: 1rem;
    color: #111827;
    margin: 0 0 0.35rem;
    font-weight: 600;
}

.owner-item-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
}

@media (max-width: 768px) {
    .about-owner-header {
        padding: 1.75rem 1.5rem 1.5rem;
    }
    
    .about-owner-tags {
        padding: 1.25rem 1.5rem;
    }
    
    .about-owner-grid {
        grid-template-columns: 1fr;
    }
    
    .about-owner-item {
        padding: 1.25rem 1.5rem;
    }
    
    .about-owner-item:nth-child(odd) {
        border-right: none;
    }
    
    .about-owner-item {
        border-bottom: 1px solid #f3f4f6;
    }
    
    .about-owner-item:last-child {
        border-bottom: none;
    }
}

/* ========== 隐私政策 & 服务条款 页面共享样式 ========== */
.legal-page {
    padding: 60px 0;
    background: #f8fafc;
    min-height: 60vh;
}

.legal-page .container {
    max-width: 880px;
}

.legal-hero {
    text-align: center;
    padding: 3rem 0 2.5rem;
}

.legal-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.75rem;
    box-shadow: 0 8px 24px rgba(37,99,235,0.2);
}

.legal-hero h1 {
    font-size: 2rem;
    color: #111827;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.legal-hero .legal-date {
    color: #9ca3af;
    font-size: 0.9rem;
}

.legal-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 2rem 2.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease;
}

.legal-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.legal-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.legal-card-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
}

.legal-card-header h2 {
    font-size: 1.2rem;
    color: #111827;
    margin: 0;
    padding-top: 0.45rem;
    font-weight: 600;
}

.legal-card-body {
    color: #4b5563;
    line-height: 1.8;
    font-size: 0.975rem;
}

.legal-card-body p {
    margin-bottom: 0.85rem;
}

.legal-card-body ul,
.legal-card-body ol {
    margin: 0.75rem 0 1rem 1.25rem;
}

.legal-card-body li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.legal-card-body li strong {
    color: #374151;
}

.legal-notice {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.legal-notice-icon {
    flex-shrink: 0;
    color: #f59e0b;
    font-size: 1.25rem;
    margin-top: 0.1rem;
}

.legal-notice p {
    color: #92400e;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-table-wrap {
    overflow-x: auto;
    margin: 1rem 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.legal-table thead th {
    background: #f8fafc;
    color: #374151;
    font-weight: 600;
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.legal-table tbody td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}

.legal-table tbody tr:hover {
    background: #fafbfc;
}

.legal-rights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    margin: 1rem 0;
}

.legal-right-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 1.15rem;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.2s ease;
}

.legal-right-card:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.legal-right-card .right-icon {
    font-size: 1.3rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.legal-right-card h4 {
    font-size: 0.9rem;
    color: #374151;
    margin: 0 0 0.25rem;
    font-weight: 600;
}

.legal-right-card p {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.5;
}

.legal-contact-bar {
    background: linear-gradient(135deg, #eff6ff, #f0f9ff);
    border-radius: 14px;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    border: 1px solid #bfdbfe;
}

.legal-contact-bar .contact-items {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-contact-bar .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-size: 0.9rem;
}

.legal-contact-bar .contact-item i {
    color: #2563eb;
}

.legal-contact-bar h3 {
    margin: 0;
    font-size: 1rem;
    color: #111827;
}

.legal-section-icon {
    color: #2563eb;
    margin-right: 0.4rem;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 1.25rem 1rem;
    }
    
    .legal-rights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .legal-contact-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .legal-contact-bar .contact-items {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .legal-rights-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 联系页面表单样式 ========== */
.contact-form-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.05);
}

.contact-form-section h2 {
    font-size: 1.4rem;
    color: #111827;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-form-section .form-intro {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.4rem;
}

.form-field label .required-star {
    color: #ef4444;
    margin-left: 2px;
}

.form-field input,
.form-field textarea,
.form-field select {
    padding: 0.75rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #374151;
    background: #fafbfc;
    transition: all 0.2s ease;
    font-family: inherit;
    outline: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #cbd5e1;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-row {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.35);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.form-submit-btn i {
    font-size: 0.9rem;
}

.form-note {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 0;
}

/* 表单提交成功/失败提示 */
.form-message {
    display: none;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-message.success {
    display: block;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.form-message.error {
    display: block;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .form-submit-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* WeChat QR Code Styles */
.footer-wechat-qr {
    margin-top: 0.5rem;
    text-align: center;
}

.wechat-qr-img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.qr-label {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.3rem;
    text-align: center;
}

.wechat-qr-inline {
    margin-top: 0.75rem;
    text-align: center;
}

.wechat-qr-inline .wechat-qr-img {
    width: 120px;
    height: 120px;
}

@media (max-width: 768px) {
    .wechat-qr-img {
        width: 80px;
        height: 80px;
    }
    .wechat-qr-inline .wechat-qr-img {
        width: 100px;
        height: 100px;
    }
}
/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 2.5rem;
    }
    
    .hero-image {
        flex: 0 0 220px;
    }
    
    .hero-image .avatar {
        width: 200px;
        height: 200px;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-logo-img {
        width: 32px;
        height: 32px;
    }
    
    .nav-text h1 {
        font-size: 1.5rem;
    }
    
    .nav-text .tagline {
        font-size: 0.75rem;
    }
    
    .nav-right {
        order: 2;
        gap: 0.5rem;
    }
    
    .nav-toggle {
        order: 2;
    }
    
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-image {
        flex: none;
        margin-bottom: 1rem;
    }
    
    .hero-image .avatar {
        width: 200px;
        height: 200px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-contact-section {
        grid-column: auto;
    }
    
    .map-container iframe {
        height: 180px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        order: 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-image .avatar {
        width: 140px;
        height: 140px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services,
    .latest-articles,
    .case-studies {
        padding: 60px 0;
    }
    
    .map-container iframe {
        height: 150px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for keyboard navigation */
.nav-link:focus,
.btn:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer, .footer-river,
    .nav-toggle {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    body {
        font-size: 12pt;
    }
}

/* ============================================================
   河流捕鱼场景页脚 - SEO小平捕鱼模式
   ============================================================ */
.footer-river {
    position: relative;
    background: linear-gradient(180deg, #0c4a6e 0%, #0369a1 15%, #0284c7 35%, #0ea5e9 55%, #38bdf8 75%, #7dd3fc 100%);
    min-height: 620px;
    overflow: hidden;
    margin-top: 0;
    font-family: 'Noto Sans SC', sans-serif;
}

/* ---- 水波图层 ---- */
.river-waves-layer {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.wave-svg {
    width: 200%;
    height: 100%;
    display: block;
}

/* 波层1 - 前景快波 */
.wave-1-wrap {
    bottom: 0;
    height: 80px;
    z-index: 5;
    opacity: 0.7;
}
.wave-1-wrap .wave-svg {
    animation: waveDrift1 3s linear infinite;
}
.wave-1-wrap path {
    fill: rgba(255, 255, 255, 0.35);
}

/* 波层2 */
.wave-2-wrap {
    bottom: 10px;
    height: 70px;
    z-index: 4;
    opacity: 0.6;
}
.wave-2-wrap .wave-svg {
    animation: waveDrift2 5s linear infinite;
}
.wave-2-wrap path {
    fill: rgba(255, 255, 255, 0.25);
}

/* 波层3 */
.wave-3-wrap {
    bottom: 20px;
    height: 60px;
    z-index: 3;
    opacity: 0.5;
}
.wave-3-wrap .wave-svg {
    animation: waveDrift1 7s linear infinite reverse;
}
.wave-3-wrap path {
    fill: rgba(186, 230, 253, 0.4);
}

/* 波层4 - 背景慢波 */
.wave-4-wrap {
    bottom: 30px;
    height: 50px;
    z-index: 2;
    opacity: 0.4;
}
.wave-4-wrap .wave-svg {
    animation: waveDrift2 9s linear infinite reverse;
}
.wave-4-wrap path {
    fill: rgba(224, 242, 254, 0.35);
}

@keyframes waveDrift1 {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes waveDrift2 {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ---- 鱼群动画 ---- */
.fish-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 6;
}

.fish {
    position: absolute;
    font-size: 1.6rem;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.15));
}

/* 各条鱼的动画 */
.fish-1 { top: 35%; animation: swim1 8s linear infinite; font-size: 1.8rem; }
.fish-2 { top: 48%; animation: swim2 10s linear infinite; animation-delay: -2s; }
.fish-3 { top: 55%; animation: swim3 7s linear infinite; animation-delay: -5s; font-size: 1.3rem; }
.fish-4 { top: 30%; animation: swim1 12s linear infinite; animation-delay: -7s; font-size: 2rem; }
.fish-5 { top: 60%; animation: swim2 9s linear infinite; animation-delay: -3s; font-size: 1.4rem; }
.fish-6 { top: 42%; animation: swim3 11s linear infinite; animation-delay: -1s; font-size: 1.5rem; }
.fish-7 { top: 50%; animation: swim1 8.5s linear infinite; animation-delay: -6s; font-size: 1.2rem; }
.fish-8 { top: 38%; animation: swim2 9.5s linear infinite; animation-delay: -4s; font-size: 1.7rem; }

@keyframes swim1 {
    0%   { left: -5%; transform: translateY(0) scaleX(1); }
    25%  { transform: translateY(-18px) scaleX(1); }
    50%  { transform: translateY(0) scaleX(1); }
    75%  { transform: translateY(18px) scaleX(1); }
    100% { left: 105%; transform: translateY(0) scaleX(1); }
}

@keyframes swim2 {
    0%   { left: -5%; transform: translateY(0) scaleX(1); }
    30%  { transform: translateY(-12px) scaleX(1); }
    60%  { transform: translateY(14px) scaleX(1); }
    100% { left: 105%; transform: translateY(0) scaleX(1); }
}

@keyframes swim3 {
    0%   { left: -5%; transform: translateY(0) scaleX(1); }
    40%  { transform: translateY(10px) scaleX(1); }
    80%  { transform: translateY(-16px) scaleX(1); }
    100% { left: 105%; transform: translateY(0) scaleX(1); }
}

/* ---- 渔夫 + 撒网动画 ---- */
.fishermen-container {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
    height: 160px;
    pointer-events: none;
    z-index: 7;
}

.fisherman {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fisherman-1 { left: 10%; }
.fisherman-2 { left: 45%; }
.fisherman-3 { right: 10%; }

.fisherman-figure {
    font-size: 2.2rem;
    line-height: 1;
    animation: bob 2s ease-in-out infinite;
}

.fisherman-1 .fisherman-figure { animation-delay: 0s; }
.fisherman-2 .fisherman-figure { animation-delay: -0.7s; }
.fisherman-3 .fisherman-figure { animation-delay: -1.3s; }

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* 渔网动画 */
.fishing-net {
    position: absolute;
    bottom: 50px;
    font-size: 1.8rem;
    transform-origin: top center;
    animation: castNet 3s ease-in-out infinite;
    opacity: 0.9;
}

.fisherman-1 .fishing-net { animation-delay: 0s; right: -15px; }
.fisherman-2 .fishing-net { animation-delay: -1s; right: -15px; }
.fisherman-3 .fishing-net { animation-delay: -2s; right: -15px; }

@keyframes castNet {
    0%   { transform: rotate(-30deg) scale(0.3); opacity: 0; }
    15%  { transform: rotate(-15deg) scale(0.6); opacity: 1; }
    30%  { transform: rotate(0deg) scale(1); opacity: 1; }
    50%  { transform: rotate(20deg) scale(1.1); opacity: 0.9; }
    70%  { transform: rotate(10deg) scale(0.8); opacity: 0.5; }
    85%  { transform: rotate(-5deg) scale(0.4); opacity: 0.2; }
    100% { transform: rotate(-30deg) scale(0.3); opacity: 0; }
}

/* 水花效果 */
.splash {
    position: absolute;
    bottom: 45px;
    pointer-events: none;
    font-size: 1rem;
    animation: splashAnim 3s ease-in-out infinite;
    opacity: 0;
}

.fisherman-1 .splash { animation-delay: 0.5s; right: -30px; }
.fisherman-2 .splash { animation-delay: 1.5s; right: -30px; }
.fisherman-3 .splash { animation-delay: 2.5s; right: -30px; }

@keyframes splashAnim {
    0%, 40%, 100% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); opacity: 0.8; }
    55% { transform: scale(1.5); opacity: 0.4; }
    65% { transform: scale(0.8); opacity: 0; }
}

/* ---- 捕鱼模式文字横幅 ---- */
.river-banner {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 0.6rem 2rem;
    white-space: nowrap;
}

.river-banner-text {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.river-banner-text .icon {
    font-size: 1.3rem;
    animation: bobIcon 1.5s ease-in-out infinite;
}

@keyframes bobIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ---- 河流页脚内容区 ---- */
.river-footer-content {
    position: relative;
    z-index: 10;
    padding: 5rem 1.5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.river-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.river-footer-col h4 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.river-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.river-footer-col li {
    margin-bottom: 0.55rem;
}

.river-footer-col a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.river-footer-col a:hover {
    color: #fff;
    padding-left: 4px;
}

.river-contact p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.river-contact i {
    width: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* 微信二维码 */
.river-qr {
    text-align: center;
    margin-top: 0.75rem;
}
.river-qr-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.4);
}
.river-qr-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.3rem;
}

/* 底部栏 */
.river-footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.river-footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.river-footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.river-footer-links a:hover {
    color: #fff;
}

.river-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

/* Codex AI 滚动横幅 */
.river-codex-banner {
    margin-top: 0.75rem;
    padding: 0.4rem 0;
    background: rgba(249, 115, 22, 0.25);
    border-radius: 20px;
    overflow: hidden;
}

.river-codex-banner marquee {
    color: #ffedd5;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ====== 响应式 ====== */
@media (max-width: 768px) {
    .footer-river {
        min-height: 520px;
    }
    .river-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .wave-1-wrap { height: 50px; }
    .wave-2-wrap { height: 45px; bottom: 8px; }
    .wave-3-wrap { height: 40px; bottom: 15px; }
    .wave-4-wrap { height: 35px; bottom: 22px; }
    .fisherman-1 { left: 2%; }
    .fisherman-2 { left: 40%; }
    .fisherman-3 { right: 2%; }
    .fisherman-figure { font-size: 1.6rem; }
    .fishing-net { font-size: 1.3rem; }
    .fish { font-size: 1.1rem !important; }
    .river-banner-text { font-size: 0.78rem; }
}

@media (max-width: 480px) {
    .footer-river {
        min-height: 480px;
    }
    .fisherman-2 { display: none; }
    .river-footer-grid {
        padding: 1rem;
    }
}
