﻿/* Global Styles - Premium Minimalist */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --accent-color: #ff6b00;
    --text-color: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --bg-white: #ffffff;
    --bg-light: #f8f8f8;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --gradient-accent: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
}

/* Dark Mode Variables */
body.dark-mode {
    --primary-color: #ffffff;
    --accent-color: #ff8533;
    --text-color: #e0e0e0;
    --text-secondary: #a0a0a0;
    --border-color: #333333;
    --bg-white: #1a1a1a;
    --bg-light: #111111;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body.dark-mode {
    background: var(--bg-white);
    color: var(--text-color);
}

body.dark-mode header {
    background: var(--bg-white);
    border-bottom-color: var(--border-color);
}

body.dark-mode .hero {
    background-image: linear-gradient(rgba(26,26,26,0.85), rgba(26,26,26,0.85)), url('images/编程.png');
}

body.dark-mode footer {
    background: #0a0a0a;
}

body.dark-mode .cookie-banner {
    background: var(--bg-white);
    border-top-color: var(--border-color);
}

/* Notification Animations */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--bg-white);
    font-weight: 400;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 40px;
    z-index: 1000;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.lang-dropdown-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.lang-dropdown-btn:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.lang-dropdown-btn:hover::before {
    width: 200px;
    height: 200px;
}

.lang-dropdown-btn i.fa-globe {
    font-size: 16px;
    color: var(--text-secondary);
}

.lang-dropdown-btn i.fa-chevron-down {
    font-size: 12px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.lang-dropdown-btn.active i.fa-chevron-down {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s ease;
    overflow: hidden;
}

.lang-dropdown-menu.active,
.lang-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    color: var(--text-color);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.lang-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--gradient-accent);
    opacity: 0.1;
    transition: width 0.3s ease;
}

.lang-option:hover {
    background: var(--bg-light);
    padding-left: 20px;
}

.lang-option:hover::before {
    width: 4px;
}

.lang-option.active {
    background: var(--bg-light);
    color: var(--accent-color);
    font-weight: 600;
}

.lang-option.active::before {
    width: 4px;
}

.flag-icon {
    font-size: 18px;
    line-height: 1;
}

/* Mobile Language Switcher */
@media (max-width: 768px) {
    .language-switcher {
        top: 15px;
        right: 20px;
    }

    .lang-dropdown-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .lang-dropdown-menu {
        min-width: 140px;
    }
}

/* Language Notification */
.language-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--bg-white);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease;
    z-index: 10002;
    max-width: 300px;
}

.language-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.language-notification::before {
    content: '🌍';
    margin-right: 8px;
}

@media (max-width: 768px) {
    .language-notification {
        top: 70px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 300px;
}

.mobile-menu a {
    padding: 15px 40px;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    header nav {
        display: none;
    }

    header {
        position: relative;
    }
}


/* Header */
header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

body.dark-mode header {
    background: rgba(26, 26, 26, 0.95);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

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

/* Hero details */
.hero-details {
    margin-top: 18px;
    max-width: 760px;
}

.hero-focus {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.hero-details-title {
    margin-top: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.hero-list {
    margin-top: 10px;
    padding-left: 18px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.hero-list li {
    margin: 6px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeIn 0.6s ease-out;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo h1 {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
}

.logo-tagline {
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .logo-tagline {
        display: none;
    }
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    font-size: 15px;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 4px;
}

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

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

nav a:hover::after {
    width: 100%;
}

/* Hero Section - Premium Minimalist */
.hero {
    padding: 120px 0 100px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    background-image: linear-gradient(rgba(255,255,255,0.72), rgba(255,255,255,0.72)), url('images/编程.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    animation-delay: 1s;
    pointer-events: none;
}

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

.hero-content {
    min-width: 0;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 1;
}


.hero h2 {
    font-size: 42px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 30px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    max-width: 900px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-brands {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    letter-spacing: 0.02em;
}

.hero-subhead {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    letter-spacing: 0.01em;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-primary {
    padding: 14px 28px;
    background: var(--primary-color);
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #00a0e9 100%);
    border-color: #0088cc;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.btn-telegram:hover {
    background: transparent;
    color: #0088cc;
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.4);
}

.secondary-contacts {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 14px;
}

.secondary-contacts a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.secondary-contacts a:hover {
    color: var(--accent-color);
}

.secondary-contacts span {
    color: var(--border-color);
}

/* Brands Section */
.brands {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
}

/* 背景图片支持 - 支持品牌 */
.brands.with-background {
    background-image: linear-gradient(rgba(248, 248, 248, 0.72), rgba(248, 248, 248, 0.72)), url('images/brands-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.dark-mode .brands.with-background {
    background-image: linear-gradient(rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0.72)), url('images/brands-bg.png');
}

.brands h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 60px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.brands h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.services h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 60px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.workflow h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 60px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.workflow h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.trust h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 60px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.trust h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.contact h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 60px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.vehicle-card {
    background: var(--bg-white);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.vehicle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.05), transparent);
    transition: left 0.5s;
}

.vehicle-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.vehicle-card:hover::before {
    left: 100%;
}

.vehicle-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.vehicle-logo img {
    max-width: 80%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    filter: grayscale(30%);
    transition: var(--transition);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.vehicle-card:hover .vehicle-logo img {
    filter: grayscale(0%);
}

.vehicle-card h3 {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
}

/* 背景图片支持 - 核心服务 */
.services.with-background {
    background-image: linear-gradient(rgba(248, 248, 248, 0.72), rgba(248, 248, 248, 0.72)), url('images/services-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.dark-mode .services.with-background {
    background-image: linear-gradient(rgba(26, 26, 26, 0.72), rgba(26, 26, 26, 0.72)), url('images/services-bg.png');
}

.services h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 60px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

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

.service-card {
    padding: 40px 30px;
    border: 1px solid rgba(230, 230, 230, 0.6);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.service-card:hover {
    border-color: rgba(255, 107, 0, 0.8);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.15), 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.95);
}

.service-card:hover::after {
    transform: translateX(0);
}

.service-number {
    font-size: 12px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.service-card p {
    color: #4a4a4a;
    line-height: 1.8;
    font-size: 14px;
}

/* 深色模式下的服务卡片样式 */
body.dark-mode .service-card {
    background: rgba(40, 40, 40, 0.85);
    border-color: rgba(80, 80, 80, 0.6);
}

body.dark-mode .service-card:hover {
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(255, 107, 0, 0.8);
}

body.dark-mode .service-card h3 {
    color: #f0f0f0;
}

body.dark-mode .service-card p {
    color: #b0b0b0;
}

body.dark-mode .service-number {
    color: var(--primary-color);
    opacity: 0.9;
}

/* Workflow Section */
.workflow {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
}

/* 背景图片支持 - 远程服务流程 */
.workflow.with-background {
    background-image: linear-gradient(rgba(248, 248, 248, 0.72), rgba(248, 248, 248, 0.72)), url('images/workflow-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.dark-mode .workflow.with-background {
    background-image: linear-gradient(rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0.72)), url('images/workflow-bg.png');
}

.workflow h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 60px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.workflow-steps {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.workflow-step {
    flex: 1;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 230, 230, 0.6);
    transition: var(--transition);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.workflow-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-accent);
    transition: height 0.4s ease;
}

.workflow-step:hover {
    border-color: rgba(255, 107, 0, 0.8);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.15), 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.95);
}

.workflow-step:hover::before {
    height: 100%;
}

.step-number {
    font-size: 12px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.workflow-step h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.workflow-step p {
    color: #4a4a4a;
    font-size: 14px;
    line-height: 1.8;
}

.workflow-arrow {
    display: flex;
    align-items: center;
    font-size: 24px;
    color: var(--border-color);
    font-weight: 300;
}

/* Trust Section */
.trust {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
}

/* 背景图片支持 - 信任保障 */
.trust.with-background {
    background-image: linear-gradient(rgba(248, 248, 248, 0.72), rgba(248, 248, 248, 0.72)), url('images/trust-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.dark-mode .trust.with-background {
    background-image: linear-gradient(rgba(26, 26, 26, 0.72), rgba(26, 26, 26, 0.72)), url('images/trust-bg.png');
}

.trust h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 60px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

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

.trust-item {
    padding: 40px 30px;
    border: 1px solid rgba(230, 230, 230, 0.6);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.trust-item:hover {
    border-color: rgba(255, 107, 0, 0.8);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.15), 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.95);
}

.trust-item i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.trust-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

.trust-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.trust-item p {
    color: #4a4a4a;
    font-size: 14px;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
}

/* 背景图片支持 - 联系我们 */
.contact.with-background {
    background-image: linear-gradient(rgba(248, 248, 248, 0.72), rgba(248, 248, 248, 0.72)), url('images/contact-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.dark-mode .contact.with-background {
    background-image: linear-gradient(rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0.72)), url('images/contact-bg.png');
}

.contact h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 60px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    text-align: center;
}

/* Contact Form */
.contact-form-section {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 230, 230, 0.6);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.contact-form-section:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.contact-form-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-color);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    border-radius: 6px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

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

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

.contact-divider {
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: var(--border-color);
}

.contact-divider::before {
    left: 10%;
}

.contact-divider::after {
    right: 10%;
}

.contact-divider span {
    background: var(--bg-light);
    padding: 0 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-divider::before,
    .contact-divider::after {
        width: 25%;
    }

    .contact-divider::before {
        left: 5%;
    }

    .contact-divider::after {
        right: 5%;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-card {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 230, 230, 0.6);
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.05);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.contact-card:hover {
    border-color: rgba(255, 107, 0, 0.8);
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(255, 107, 0, 0.15), 0 6px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.contact-card:hover::before {
    width: 300px;
    height: 300px;
}

.contact-card i {
    font-size: 36px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-card:hover i {
    transform: scale(1.2) rotate(5deg);
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1.2) rotate(5deg) translateY(0);
    }
    50% {
        transform: scale(1.2) rotate(5deg) translateY(-10px);
    }
}

.contact-card.whatsapp i {
    color: #25D366;
}

.contact-card.telegram i {
    color: #0088cc;
}

.contact-card.email i {
    color: #EA4335;
}

.contact-card.phone i {
    color: var(--accent-color);
}

.contact-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* 深色模式下的 workflow 卡片 */
body.dark-mode .workflow-step {
    background: rgba(40, 40, 40, 0.85);
    border-color: rgba(80, 80, 80, 0.6);
}

body.dark-mode .workflow-step:hover {
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(255, 107, 0, 0.8);
}

body.dark-mode .workflow-step h3 {
    color: #f0f0f0;
}

body.dark-mode .workflow-step p {
    color: #b0b0b0;
}

body.dark-mode .step-number {
    color: var(--primary-color);
    opacity: 0.9;
}

/* 深色模式下的 trust 卡片 */
body.dark-mode .trust-item {
    background: rgba(40, 40, 40, 0.85);
    border-color: rgba(80, 80, 80, 0.6);
}

body.dark-mode .trust-item:hover {
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(255, 107, 0, 0.8);
}

body.dark-mode .trust-item h3 {
    color: #f0f0f0;
}

body.dark-mode .trust-item p {
    color: #b0b0b0;
}

/* 深色模式下的联系表单和卡片 */
body.dark-mode .contact-form-section {
    background: rgba(40, 40, 40, 0.9);
    border-color: rgba(80, 80, 80, 0.6);
}

body.dark-mode .contact-form-section h3 {
    color: #f0f0f0;
}

body.dark-mode .contact-card {
    background: rgba(40, 40, 40, 0.85);
    border-color: rgba(80, 80, 80, 0.6);
}

body.dark-mode .contact-card:hover {
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(255, 107, 0, 0.8);
}

body.dark-mode .contact-card h3 {
    color: #f0f0f0;
}

body.dark-mode .contact-card p {
    color: #b0b0b0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: var(--bg-white);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-fixed {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-fixed p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero {
        padding: 80px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo-image {
        height: 32px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .workflow-steps {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
        padding: 10px 0;
    }
    
    .service-grid, .trust-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    z-index: 10000;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.cookie-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cookie-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.cookie-list {
    list-style: none;
    margin-bottom: 20px;
}

.cookie-list li {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.cookie-list li strong {
    color: var(--primary-color);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    background: var(--bg-white);
}

.cookie-btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.cookie-btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.cookie-btn-secondary:hover {
    background: var(--bg-light);
}

.cookie-link {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: underline;
    margin-left: 10px;
}

.cookie-link:hover {
    color: var(--primary-color);
}

/* Footer Links */
.footer-links {
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--bg-white);
}

.footer-links span {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 10px;
}

/* Legal Page Styles */
.legal-page {
    padding: 100px 0;
    min-height: 60vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 40px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 500;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.legal-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.legal-content ul, .legal-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.legal-content li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--accent-color);
}

.legal-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
    border-bottom: none;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-page {
        padding: 60px 0;
    }

    .legal-content h1 {
        font-size: 28px;
    }

    .legal-content h2 {
        font-size: 20px;
    }

    .cookie-banner {
        padding: 20px 0;
    }

    .cookie-content {
        padding: 0 20px;
    }

    .cookie-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Improvements */
@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }

    nav {
        width: 100%;
        justify-content: center;
        gap: 15px;
        font-size: 14px;
    }
}

/* Loading States */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded,
img:not([loading="lazy"]) {
    opacity: 1;
}

/* Enhanced Link Hover Effects */
a {
    transition: all 0.3s ease;
}

nav a {
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Smooth Transitions for Cards */
.service-card,
.workflow-step,
.trust-item,
.contact-card,
.vehicle-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
}

.service-card:hover,
.workflow-step:hover,
.trust-item:hover,
.contact-card:hover,
.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Focus Styles for Accessibility */
button:focus,
a:focus,
input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .back-to-top,
    .language-switcher,
    .cookie-banner,
    nav {
        display: none !important;
    }

    .hero {
        background: none;
        color: #000;
    }

    * {
        box-shadow: none !important;
    }
}
