/* ==========================================
   联系我们页面样式
   ========================================== */

/* 英雄区域 */
.vm-contact-hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #FF6A00 0%, #FF8533 100%);
    text-align: center;
}

.vm-contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.vm-contact-hero .container {
    position: relative;
    z-index: 1;
}

.vm-contact-hero-content {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.vm-contact-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
}

.vm-contact-hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.vm-contact-hero-icon {
    font-size: 64px;
    opacity: 0;
    animation: bounceIn 0.8s ease-out 0.6s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 联系方式卡片 */
.vm-contact-info {
    padding: 80px 0;
    background: white;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.vm-contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.vm-contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vm-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.vm-contact-card:hover::before {
    transform: scaleX(1);
}

.vm-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.vm-contact-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    transition: var(--transition);
}

.vm-contact-card:hover .vm-contact-card-icon {
    transform: rotate(360deg);
}

.vm-contact-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.vm-contact-card-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.vm-contact-card-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.vm-contact-card-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* 联系表单区域 */
.vm-contact-form-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.vm-contact-form-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.vm-contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.vm-contact-form-wrapper .vm-section-header {
    text-align: left;
    margin-bottom: 40px;
}

.vm-contact-form-wrapper .section-title {
    font-size: 32px;
}

/* 表单样式 */
.vm-contact-form {
    width: 100%;
}

.vm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.vm-form-group {
    margin-bottom: 20px;
}

.vm-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.vm-required {
    color: var(--primary-color);
}

.vm-form-group input,
.vm-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition);
    font-family: inherit;
}

.vm-form-group input:focus,
.vm-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

.vm-form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.vm-form-submit {
    margin-top: 30px;
}

.vm-btn-large {
    padding: 16px 48px;
    font-size: 18px;
    width: 100%;
    position: relative;
}

.vm-btn-large .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 表单消息 */
.vm-form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
}

.vm-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.vm-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 右侧边栏 */
.vm-contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.vm-contact-info-box {
    background: white;
    padding: 40px 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.vm-contact-info-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.vm-contact-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vm-contact-features li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.vm-contact-features li:last-child {
    margin-bottom: 0;
}

.vm-contact-features .feature-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.vm-contact-features strong {
    display: block;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.vm-contact-features p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

/* 社交媒体 */
.vm-contact-social {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.vm-contact-social h3 {
    color: white;
}

.vm-social-links {
    display: flex;
    gap: 15px;
}

.vm-social-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: white;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.vm-social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.vm-social-link span:first-child {
    font-size: 32px;
}

.vm-social-link span:last-child {
    font-size: 14px;
    font-weight: 600;
}

/* 常见问题 */
.vm-contact-faq {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vm-contact-faq li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.vm-contact-faq li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.vm-contact-faq strong {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.5;
}

.vm-contact-faq p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

/* 地图区域 */
.vm-contact-map {
    padding: 80px 0;
    background: white;
}

.vm-map-wrapper {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.vm-map-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 40px;
    text-align: center;
}

.vm-map-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.vm-map-placeholder h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.vm-map-placeholder p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.vm-map-note {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* ==========================================
   响应式设计
   ========================================== */

@media (max-width: 1024px) {
    .vm-contact-form-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .vm-contact-form-wrapper {
        position: relative;
        top: auto;
    }
    
    .vm-contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .vm-contact-hero {
        padding: 80px 0 60px;
    }
    
    .vm-contact-hero-title {
        font-size: 36px;
    }
    
    .vm-contact-hero-subtitle {
        font-size: 18px;
    }
    
    .vm-contact-hero-icon {
        font-size: 48px;
    }
    
    .vm-contact-info {
        padding: 60px 0;
    }
    
    .vm-contact-form-section {
        padding: 60px 0;
    }
    
    .vm-contact-form-wrapper {
        padding: 35px 25px;
    }
    
    .vm-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .vm-contact-info-box {
        padding: 30px 25px;
    }
    
    .vm-social-links {
        flex-direction: column;
    }
    
    .vm-contact-faq li {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .vm-contact-map {
        padding: 60px 0;
    }
    
    .vm-map-placeholder {
        padding: 80px 30px;
    }
}

@media (max-width: 480px) {
    .vm-contact-hero-title {
        font-size: 28px;
    }
    
    .vm-contact-hero-subtitle {
        font-size: 16px;
    }
    
    .vm-contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .vm-contact-form-wrapper .section-title {
        font-size: 24px;
    }
    
    .vm-btn-large {
        padding: 14px 32px;
        font-size: 16px;
    }
}


/* 商家入驻CTA盒子 */
.vm-merchant-cta {
    background: linear-gradient(135deg, #FF6A00 0%, #FF8533 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.vm-merchant-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.vm-merchant-cta > * {
    position: relative;
    z-index: 1;
}

.vm-merchant-badge {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
}

.vm-merchant-cta h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 12px;
}

.vm-merchant-desc {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.vm-merchant-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.vm-merchant-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.vm-merchant-benefits li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.vm-merchant-benefits li:last-child {
    margin-bottom: 0;
}

.vm-merchant-benefits .benefit-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.vm-merchant-benefits strong {
    display: block;
    font-size: 15px;
    color: white;
    margin-bottom: 4px;
}

.vm-merchant-benefits p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

.vm-btn-merchant {
    display: block;
    width: 100%;
    padding: 16px 32px;
    background: white;
    color: var(--primary-color);
    text-align: center;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vm-btn-merchant:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background: #fff;
}

/* 平台数据统计 */
.vm-platform-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.platform-stat-item {
    text-align: center;
    padding: 20px 15px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.platform-stat-item:hover {
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.05), rgba(255, 184, 0, 0.05));
    transform: translateY(-3px);
}

.platform-stat-item .stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.platform-stat-item .stat-label {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.4;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .vm-merchant-cta h3 {
        font-size: 20px;
    }
    
    .vm-merchant-benefits li {
        padding: 12px;
    }
    
    .vm-platform-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .platform-stat-item {
        padding: 15px;
    }
    
    .platform-stat-item .stat-value {
        font-size: 24px;
    }
}
