/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --success: #48bb78;
    --warning: #ed8936;
    --danger: #f56565;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px rgba(102, 126, 234, 0.2);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-gold: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 移动端触摸优化 */
* {
    -webkit-tap-highlight-color: transparent;
}

button,
a,
.btn {
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 8px 40px rgba(102, 126, 234, 0.15);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.6em;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.logo-img {
    height: 50px !important;
    max-height: 50px !important;
    max-width: 180px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.3));
}

.logo-icon {
    font-size: 1.8em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-selector {
    position: relative;
}

.language-selector::before {
    content: '🌐';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    z-index: 1;
    pointer-events: none;
}

.language-select {
    padding: 11px 18px;
    padding-left: 42px;
    padding-right: 45px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-dark);
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 46px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.language-select:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    border-color: rgba(102, 126, 234, 0.3);
}

.language-select:focus {
    outline: none;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2), 0 6px 20px rgba(102, 126, 234, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(102, 126, 234, 0.4);
}

.language-select option {
    background: white;
    color: var(--text-dark);
    padding: 10px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    padding-top: 70px;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInUp 1.2s ease;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    animation: fadeInUp 1.4s ease;
}

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

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1em;
    opacity: 0.9;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
    min-height: 44px; /* 移动端触摸友好 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1em;
}

/* 章节标题 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2em;
    color: var(--text-light);
}

/* 服务介绍 */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 45px 35px;
    border-radius: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.3);
}

.service-icon {
    font-size: 4.5em;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    text-align: left;
    color: var(--text-light);
}

.service-features li {
    padding: 8px 0;
    font-size: 0.95em;
}

/* 优势展示 */
.advantages {
    padding: 100px 0;
    background: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.advantage-item {
    text-align: center;
    padding: 35px 25px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.08);
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.2);
}

.advantage-icon {
    font-size: 4em;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.15) rotate(5deg);
}

.advantage-item h3 {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.advantage-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 证书检测 */
.detection {
    padding: 100px 0;
    background: var(--white);
}

.detection-content {
    max-width: 900px;
    margin: 0 auto;
}

.detection-upload {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.upload-area {
    background: white;
    border: 3px dashed var(--primary-color);
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover,
.upload-area.dragover {
    background: #f0f4ff;
    border-color: var(--secondary-color);
    transform: scale(1.02);
}

.upload-content svg {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.upload-text {
    font-size: 1.1em;
    color: var(--text-dark);
    margin: 15px 0;
    font-weight: 600;
}

.upload-hint {
    font-size: 0.9em;
    color: var(--text-light);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-top: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.3s ease;
    animation: progress 2s infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.result-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

.result-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.result-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.detection-list {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.list-header h3 {
    font-size: 1.3em;
    color: var(--text-dark);
}

.refresh-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background 0.3s ease;
    min-height: 36px; /* 移动端触摸友好 */
    min-width: 80px;
}

.refresh-btn:hover {
    background: var(--secondary-color);
}

.certificates-list {
    max-height: 500px;
    overflow-y: auto;
}

.certificate-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.certificate-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.certificate-card.expired {
    border-color: var(--danger);
    background: #fff5f5;
}

.certificate-card.expiring {
    border-color: var(--warning);
    background: #fffbf0;
}

.certificate-name {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.certificate-details {
    color: var(--text-light);
    font-size: 0.9em;
    margin: 5px 0;
}

.certificate-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-top: 10px;
}

.status-expired {
    background: var(--danger);
    color: white;
}

.status-valid {
    background: var(--success);
    color: white;
}

.status-expiring {
    background: var(--warning);
    color: #333;
}

.delete-btn {
    background: var(--danger);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85em;
    margin-top: 10px;
    transition: background 0.3s ease;
    min-height: 36px; /* 移动端触摸友好 */
    min-width: 60px;
}

.delete-btn:hover {
    background: #e53e3e;
}

.loading, .empty {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

/* 合作流程 */
.cooperation {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.cooperation-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.step-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.step-item:hover::before {
    transform: scaleX(1);
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: 700;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.step-item:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.step-content h3 {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.step-arrow {
    font-size: 2em;
    color: var(--primary-color);
    font-weight: 700;
}

.cooperation-cta {
    text-align: center;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-values {
    display: flex;
    gap: 25px;
    margin-top: 45px;
    flex-wrap: wrap;
}

.value-item {
    flex: 1;
    min-width: 200px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 16px;
    color: var(--text-light);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

.value-item strong {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.15em;
    display: block;
    margin-bottom: 5px;
}

/* FAQ */
.faq {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.faq-question {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    gap: 15px;
    -webkit-tap-highlight-color: transparent;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding-left: 30px;
}

.faq-question:active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

.faq-question h3 {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    flex: 1;
    margin: 0;
}

.faq-toggle {
    font-size: 1.8em;
    color: var(--primary-color);
    font-weight: 700;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    flex-shrink: 0;
}

.faq-item:hover .faq-toggle {
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.1);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: rgba(102, 126, 234, 0.25);
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1em;
    margin: 0;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, #f093fb 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.contact .section-title,
.contact .section-subtitle {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 2.8em;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.contact-icon-link {
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.contact-icon-link:hover {
    transform: scale(1.1);
}

.contact-icon-link:active {
    transform: scale(0.95);
}

.contact-icon.facebook-icon {
    width: 2.8em;
    height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 0.3em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-icon-link:hover .contact-icon.facebook-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.3);
}

.contact-icon.facebook-icon svg {
    width: 100%;
    height: 100%;
    fill: #1877F2;
    transition: all 0.3s ease;
}

.contact-icon-link:hover .contact-icon.facebook-icon svg {
    fill: #166FE5;
}

.contact-icon.telegram-icon {
    width: 2.8em;
    height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 0.3em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-icon-link:hover .contact-icon.telegram-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 150, 190, 0.3);
}

.contact-icon.telegram-icon svg {
    width: 100%;
    height: 100%;
    fill: #229ED9;
    transition: all 0.3s ease;
}

.contact-icon-link:hover .contact-icon.telegram-icon svg {
    fill: #1E9BD1;
}

.contact-item:hover .contact-icon {
    transform: scale(1.15) rotate(5deg);
}

.contact-item:hover .contact-icon-link {
    transform: scale(1.15) rotate(5deg);
}

.contact-details h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.contact-details p,
.contact-details a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1em;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-cta {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 45px;
    border-radius: 24px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-cta:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.contact-cta h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.contact-cta p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* 页脚 */
.footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

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

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* 检测结果详情样式 */
.detection-result {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    margin-top: 20px;
}

.result-container {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.result-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.result-header h2 {
    font-size: 1.8em;
    color: var(--text-dark);
    font-weight: 700;
}

.result-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-detail-item {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.result-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-detail-label {
    font-size: 0.85em;
    color: var(--text-light);
    margin-bottom: 4px;
    display: block;
    font-weight: 500;
}

.result-detail-value {
    font-size: 1.05em;
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-detail-value.status-revoked {
    color: var(--danger);
}

.result-detail-value.status-valid {
    color: var(--success);
}

.result-detail-value.status-expired {
    color: var(--warning);
}

.result-detail-value.status-match {
    color: var(--success);
}

.result-app-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.result-app-icon-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 15px;
    flex-shrink: 0;
    display: block;
}

.result-warnings {
    background: #fffbf0;
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
}

.result-warning-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    color: #856404;
    font-size: 0.9em;
    line-height: 1.5;
}

.result-warning-item:last-child {
    margin-bottom: 0;
}

.result-warning-icon {
    color: #ffc107;
    font-size: 1.2em;
    flex-shrink: 0;
}

.result-continue-btn {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.result-continue-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.4);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 968px) {
    .navbar {
        height: 65px;
    }
    
    .nav-container {
        height: 65px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        border-top: 1px solid rgba(102, 126, 234, 0.1);
    }
    
    .language-select {
        font-size: 0.85em;
        padding: 8px 14px;
        padding-left: 38px;
        padding-right: 38px;
        min-height: 40px;
        border-radius: 22px;
    }
    
    .language-selector::before {
        left: 10px;
        font-size: 1em;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-link {
        padding: 18px 20px;
        display: block;
        font-size: 1.05em;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
        color: var(--primary-color);
    }

    .hero {
        padding-top: 65px;
        min-height: 90vh;
    }
    
    .hero-container {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 2.2em;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.05em;
        line-height: 1.6;
        margin-bottom: 35px;
        padding: 0 15px;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 25px;
        justify-content: center;
        margin-top: 40px;
    }
    
    .stat-item {
        flex: 0 0 auto;
        min-width: 120px;
    }

    .detection-content {
        max-width: 100%;
    }
    
    .detection-upload,
    .detection-result {
        padding: 20px 15px;
    }
    
    .result-container {
        padding: 20px 15px;
    }
    
    .result-header h2 {
        font-size: 1.5em;
    }
    
    .result-app-icon,
    .result-app-icon-img {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .cooperation-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 85vh;
    }
    
    .hero-container {
        padding: 50px 20px 40px;
    }
    
    .hero-title {
        font-size: 1.9em;
        line-height: 1.3;
        margin-bottom: 18px;
    }

    .hero-subtitle {
        font-size: 0.98em;
        line-height: 1.65;
        padding: 0 10px;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 1.9em;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 1em;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 16px 28px;
        font-size: 1em;
        min-height: 52px;
        -webkit-tap-highlight-color: transparent;
    }

    .contact-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .contact-buttons .btn {
        width: 100%;
        padding: 16px 28px;
        font-size: 1em;
        min-height: 52px;
        -webkit-tap-highlight-color: transparent;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 20px;
        padding: 0 15px;
        margin-top: 35px;
    }

    .stat-item {
        flex: 0 0 auto;
        min-width: 110px;
    }

    .stat-number {
        font-size: 2.2em;
    }

    .stat-label {
        font-size: 0.9em;
        line-height: 1.4;
    }

    .service-card {
        padding: 32px 22px;
        margin-bottom: 20px;
    }
    
    .service-title {
        font-size: 1.3em;
        margin-bottom: 15px;
    }
    
    .service-description {
        font-size: 0.95em;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .service-icon {
        font-size: 3.5em;
        margin-bottom: 20px;
    }
    
    .service-features {
        gap: 10px;
    }
    
    .service-features li {
        font-size: 0.9em;
        padding: 8px 0;
    }

    .advantage-item {
        padding: 28px 20px;
        margin-bottom: 18px;
    }
    
    .advantage-icon {
        font-size: 3em;
        margin-bottom: 20px;
    }
    
    .advantage-item h3 {
        font-size: 1.2em;
        margin-bottom: 12px;
    }
    
    .advantage-item p {
        font-size: 0.95em;
        line-height: 1.6;
    }

    .container {
        padding: 0 18px;
    }

    .section-header {
        margin-bottom: 35px;
        padding: 0 5px;
    }

    .services,
    .advantages,
    .detection,
    .cooperation,
    .about,
    .faq,
    .contact {
        padding: 50px 0;
    }

    .step-item {
        min-width: 100%;
        padding: 28px 20px;
        margin-bottom: 15px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    
    .step-content h3 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }
    
    .step-content p {
        font-size: 0.95em;
        line-height: 1.6;
    }

    .cooperation-steps {
        gap: 18px;
        padding: 0 5px;
    }

    .step-arrow {
        font-size: 1.8em;
        margin: 12px 0;
    }

    .upload-area {
        padding: 40px 15px;
    }

    .upload-text {
        font-size: 1em;
    }

    .certificate-card {
        padding: 15px;
    }

    .certificate-name {
        font-size: 1.1em;
    }

    .certificate-details {
        font-size: 0.85em;
    }

    .faq-list {
        padding: 0 5px;
    }
    
    .faq-item {
        margin-bottom: 16px;
        border-radius: 14px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    }
    
    .faq-question {
        padding: 20px 18px;
        gap: 12px;
        align-items: center;
    }
    
    .faq-question:hover {
        padding-left: 18px;
    }
    
    .faq-question h3 {
        font-size: 1.05em;
        line-height: 1.6;
        font-weight: 600;
        color: var(--text-dark);
    }
    
    .faq-toggle {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 1.6em;
        background: rgba(102, 126, 234, 0.12);
    }
    
    .faq-item.active .faq-toggle {
        background: rgba(102, 126, 234, 0.25);
    }
    
    .faq-answer {
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .faq-answer p {
        padding: 0 18px 20px;
        font-size: 0.95em;
        line-height: 1.75;
        color: var(--text-light);
    }
    
    .about-text {
        padding: 0 5px;
    }
    
    .about-text p {
        font-size: 0.95em;
        line-height: 1.7;
        margin-bottom: 18px;
    }
    
    .about-values {
        gap: 15px;
        margin-top: 30px;
    }
    
    .value-item {
        padding: 20px;
        font-size: 0.9em;
        line-height: 1.6;
    }

    .contact-content {
        gap: 25px;
    }
    
    .contact-item {
        flex-direction: row;
        text-align: left;
        gap: 18px;
        padding: 22px;
        margin-bottom: 18px;
    }

    .contact-icon {
        font-size: 2.5em;
        flex-shrink: 0;
    }
    
    .contact-icon.facebook-icon {
        width: 2.5em;
        height: 2.5em;
        border-radius: 10px;
        padding: 0.25em;
    }
    
    .contact-icon.telegram-icon {
        width: 2.5em;
        height: 2.5em;
        border-radius: 10px;
        padding: 0.25em;
    }
    
    .contact-details h3 {
        font-size: 1.1em;
        margin-bottom: 8px;
    }
    
    .contact-details p,
    .contact-details a {
        font-size: 0.95em;
    }
    
    .contact-cta {
        padding: 35px 25px;
    }
    
    .contact-cta h3 {
        font-size: 1.4em;
        margin-bottom: 12px;
    }
    
    .contact-cta p {
        font-size: 0.95em;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 25px;
        right: 25px;
        font-size: 1.3em;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    }
    
    .back-to-top:active {
        transform: scale(0.95);
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-logo {
        font-size: 1.2em;
    }
    
    .logo-img {
        height: 42px;
        max-height: 42px;
        max-width: 150px;
    }
    
    .language-select {
        font-size: 0.85em;
        padding: 8px 14px;
        padding-left: 38px;
        padding-right: 38px;
        min-height: 40px;
        border-radius: 22px;
    }
    
    .language-selector::before {
        left: 10px;
        font-size: 1em;
    }
    
    .language-select {
        font-size: 0.85em;
        padding: 6px 10px;
        padding-right: 30px;
        min-height: 36px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .about-text {
        padding: 0 10px;
    }

    .about-values {
        flex-direction: column;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .navbar {
        height: 60px;
    }
    
    .nav-container {
        height: 60px;
        padding: 0 12px;
    }
    
    .nav-menu {
        top: 60px;
        max-height: calc(100vh - 60px);
    }
    
    .hero {
        padding-top: 60px;
        min-height: 80vh;
    }
    
    .hero-container {
        padding: 40px 15px 35px;
    }
    
    .hero-title {
        font-size: 1.6em;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 0.92em;
        line-height: 1.65;
        padding: 0 8px;
        margin-bottom: 28px;
    }

    .section-title {
        font-size: 1.6em;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 0.95em;
        line-height: 1.6;
    }

    .hero-stats {
        flex-direction: column;
        gap: 18px;
        padding: 0 10px;
        margin-top: 30px;
    }

    .stat-item {
        width: 100%;
    }

    .stat-number {
        font-size: 2em;
    }
    
    .stat-label {
        font-size: 0.88em;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.95em;
        min-height: 50px;
        border-radius: 12px;
    }

    .service-card {
        padding: 28px 18px;
        border-radius: 20px;
        margin-bottom: 18px;
    }
    
    .service-icon {
        font-size: 3em;
        margin-bottom: 18px;
    }
    
    .service-title {
        font-size: 1.25em;
    }
    
    .service-description {
        font-size: 0.92em;
    }

    .advantage-item {
        padding: 25px 18px;
        border-radius: 18px;
    }
    
    .advantage-icon {
        font-size: 2.8em;
        margin-bottom: 18px;
    }
    
    .advantage-item h3 {
        font-size: 1.15em;
    }
    
    .advantage-item p {
        font-size: 0.92em;
    }

    .step-item {
        padding: 24px 18px;
        border-radius: 18px;
        margin-bottom: 12px;
    }

    .step-number {
        width: 55px;
        height: 55px;
        font-size: 1.5em;
        margin-bottom: 18px;
    }
    
    .step-content h3 {
        font-size: 1.15em;
    }
    
    .step-content p {
        font-size: 0.92em;
    }

    .contact-cta {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .contact-cta h3 {
        font-size: 1.3em;
    }
    
    .contact-item {
        padding: 20px;
        border-radius: 15px;
    }
    
    .contact-icon {
        font-size: 2.2em;
    }
    
    .contact-icon.facebook-icon {
        width: 2.2em;
        height: 2.2em;
        border-radius: 8px;
        padding: 0.2em;
    }
    
    .contact-icon.telegram-icon {
        width: 2.2em;
        height: 2.2em;
        border-radius: 8px;
        padding: 0.2em;
    }

    .nav-logo {
        font-size: 1.05em;
        gap: 10px;
    }
    
    .logo-img {
        height: 36px;
        max-height: 36px;
        max-width: 120px;
    }
    
    .language-select {
        font-size: 0.78em;
        padding: 6px 10px;
        padding-left: 32px;
        padding-right: 32px;
        min-height: 36px;
        border-radius: 18px;
    }
    
    .language-selector::before {
        left: 8px;
        font-size: 0.9em;
    }
    
    .nav-right {
        gap: 8px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .services,
    .advantages,
    .detection,
    .cooperation,
    .about,
    .faq,
    .contact {
        padding: 45px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .faq-list {
        padding: 0;
    }
    
    .faq-item {
        margin-bottom: 14px;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }
    
    .faq-question {
        padding: 18px 16px;
        gap: 10px;
        min-height: 60px;
    }
    
    .faq-question:hover {
        padding-left: 16px;
    }
    
    .faq-question h3 {
        font-size: 0.98em;
        line-height: 1.6;
        font-weight: 600;
        color: var(--text-dark);
    }
    
    .faq-toggle {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 1.5em;
        background: rgba(102, 126, 234, 0.12);
    }
    
    .faq-item.active .faq-toggle {
        background: rgba(102, 126, 234, 0.3);
    }
    
    .faq-item.active .faq-question {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    }
    
    .faq-answer {
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .faq-answer p {
        padding: 0 16px 18px;
        font-size: 0.92em;
        line-height: 1.75;
        color: var(--text-light);
    }
    
    .about-text p {
        font-size: 0.92em;
    }
    
    .value-item {
        padding: 18px;
        font-size: 0.88em;
    }
    
    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2em;
    }
}
