


/* 错误提示样式 */
.error-result {
    margin-top: 30px;
    border: 2px solid #e74c3c;
    border-radius: 10px;
    overflow: hidden;
}

.error-message.severe {
    background: #fff5f5;
    padding: 20px;
    text-align: center;
}

.error-message.severe i {
    font-size: 3em;
    color: #e74c3c;
    margin-bottom: 15px;
}

.error-message.severe strong {
    font-size: 1.2em;
    color: #c0392b;
    display: block;
    margin-bottom: 10px;
}

.prohibited-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 15px;
    margin-top: 15px;
    text-align: left;
}

.prohibited-notice h4 {
    color: #856404;
    margin-bottom: 10px;
}

.prohibited-notice ul {
    margin: 10px 0;
    padding-left: 20px;
}

.prohibited-notice li {
    margin-bottom: 5px;
    color: #856404;
}

.contact-sales {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 5px;
    padding: 20px;
    margin-top: 15px;
}

.contact-sales h4 {
    color: #0c5460;
    margin-bottom: 15px;
}

.contact-options p {
    margin: 8px 0;
    color: #0c5460;
}

.contact-options i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
}

.contact-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
}

.contact-btn:hover {
    background: #c0392b;
}









/* 运费计算器样式 */
.calculator-form-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.price-info {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
}

.price-validity {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.delivery-time {
    font-size: 1rem;
    opacity: 0.9;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group input:focus, .form-group select:focus {
    border-color: #e74c3c;
    outline: none;
}

.weight-volume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.additional-options {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.calculate-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
}

.calculate-btn:hover {
    background: #c0392b;
}

.cargo-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #3498db;
}

.cargo-info h4 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.cargo-info p {
    margin: 8px 0;
    font-size: 14px;
}

.cargo-info span {
    font-weight: bold;
    color: #2c3e50;
}

.quote-result {
    margin-top: 30px;
}

.quote-breakdown {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #e74c3c;
}

.quote-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.quote-row:last-child {
    border-bottom: none;
}

.total-row {
    border-top: 2px solid #e74c3c;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 10px;
    padding-top: 15px;
}

.total-price {
    color: #e74c3c;
    font-size: 1.5em;
}

.warning-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .weight-volume-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .quote-row {
        flex-direction: column;
    }
    
    .quote-row span:first-child {
        margin-bottom: 5px;
    }
}


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

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 头部样式 */
.top-bar {
    background: #2c3e50;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

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

.language-switch span {
    margin-right: 10px;
    cursor: pointer;
    opacity: 0.7;
}

.language-switch span.active {
    opacity: 1;
    font-weight: bold;
}

.contact-info span {
    margin-left: 20px;
}

.main-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: #e74c3c;
    font-size: 28px;
}

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

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #e74c3c;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #c0392b;
}

/* 数据统计 */
.stats {
    background: #f8f9fa;
    padding: 60px 0;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 10px;
}

/* 服务区域 */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.learn-more {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

/* 优势区域 */
.advantages {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.advantage-item {
    text-align: center;
    padding: 30px;
}

.advantage-item i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

/* 计算器样式 */
.calculator {
    padding: 80px 0;
}

.price-info {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
}

.price-validity {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.delivery-time {
    font-size: 1rem;
    opacity: 0.9;
}

.calculator-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto 40px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    d
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.weight-volume-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.cargo-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #3498db;
}

.cargo-info h4 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.cargo-info p {
    margin: 8px 0;
    font-size: 14px;
}

.cargo-info span {
    font-weight: bold;
    color: #2c3e50;
}

.additional-options {
    margin-bottom: 20px;
}

.checkbox-label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 8px;
}

.calculate-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s;
}

.calculate-btn:hover {
    background: #c0392b;
}

/* 自动补全建议 */
.suggestions {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    width: calc(100% - 24px);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.suggestion-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:hover {
    background: #f5f5f5;
}

/* 报价结果 */
.quote-result {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.quote-breakdown {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.quote-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.quote-row span:first-child {
    color: #666;
}

.quote-row span:last-child {
    font-weight: bold;
    color: #2c3e50;
}

.total-row {
    border-top: 2px solid #e74c3c;
    border-bottom: none;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
    padding-top: 15px;
}

.total-price {
    color: #e74c3c;
    font-size: 1.5rem;
}

.warning-note {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
}

.disclaimer {
    background: #fff3cd;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #ffc107;
}

.disclaimer h4 {
    color: #856404;
    margin-bottom: 10px;
}

.disclaimer ul {
    margin: 10px 0;
    padding-left: 20px;
}

.disclaimer li {
    margin-bottom: 5px;
    font-size: 13px;
    color: #856404;
}

/* 新闻区域 */
.news {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.news-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-date {
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 10px;
}

.read-more {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

/* 联系区域 */
.contact {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

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

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

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

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

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

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

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .weight-volume-inputs {
        grid-template-columns: 1fr;
    }
    
    .quote-row {
        flex-direction: column;
    }
    
    .quote-row span:first-child {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-form {
        padding: 20px;
    }
}
