/* ========================================
   企业全球邮页面 (enterprise-mail)
   前缀: .mail- (页面级), 其余沿用原有类名
   ======================================== */

/* ===== 通用工具类 (.xw- 前缀) ===== */
.xw-section-mt { margin-top: 40px; }

/* 骨架屏 */
.xw-skeleton-line {
    height: 16px;
    background: #e2e8f0;
    border-radius: 4px;
    animation: pulse 1.5s infinite;
}
.xw-skeleton-block {
    height: 30px;
    background: #e2e8f0;
    border-radius: 20px;
    width: 60px;
    animation: pulse 1.5s infinite;
}

/* 错误状态 */
.xw-error-state {
    text-align: center;
    padding: 40px 0;
    color: #94a3b8;
}
.xw-error-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}
.xw-retry-btn {
    margin-top: 10px;
    padding: 6px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

/* 空状态 */
.xw-empty-state {
    text-align: center;
    color: #9ca3af;
    padding: 40px;
}

/* 删除线价格 */
.xw-price-strike {
    text-decoration: line-through;
    margin-left: 6px;
}

/* ===== 页面专用样式 ===== */
/* 企业全球邮页面 - 专用样式，使用 .mail- 前缀避免影响其他组件 */
.mail-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8fafc;
}

/* Hero Section */
.mail-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    color: white;
    padding: 90px 0 70px;
    position: relative;
    overflow: hidden;
}

.mail-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 65%);
    border-radius: 50%;
    animation: mailFloatSlow 8s ease-in-out infinite;
}

.mail-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -8%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    border-radius: 50%;
    animation: mailFloatSlow 10s ease-in-out infinite reverse;
}

@keyframes mailFloatSlow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-20px, 20px);
    }
}

.mail-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.mail-hero .hero-content>h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.mail-hero .hero-content>h1 i {
    margin-right: 12px;
    opacity: 0.9;
}

.mail-hero .hero-content>p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 750px;
    margin: 0 auto 32px;
    line-height: 1.7;
    font-weight: 300;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.hero-tag:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.hero-tag i {
    font-size: 15px;
}

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

/* Main Content */
.main-content {
    padding: 60px 0;
}

/* Section Title */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: #6b7280;
}

/* Introduction Section */
.intro-section {
    background: white;
    border-radius: 20px;
    padding: 0;
    margin-bottom: 60px;
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
    overflow: hidden;
    display: flex;
    border: 1px solid #e5e7eb;
}

.intro-left {
    flex-shrink: 0;
    width: 280px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.intro-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    border-radius: 50%;
}

.intro-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.intro-icon i {
    font-size: 36px;
    color: white;
}

.intro-left>h2 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin: 0;
    position: relative;
    z-index: 1;
}

.intro-right {
    flex: 1;
    min-width: 0;
    padding: 40px 44px;
}

.intro-text {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.9;
    margin: 0 0 28px 0;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
}

.intro-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.intro-feature-item i {
    color: #2563eb;
    font-size: 16px;
    flex-shrink: 0;
}

/* Features Grid */
.features-section {
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid rgba(0, 0, 0, .04);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, transparent);
    opacity: 0;
    transition: opacity .3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, .10), 0 2px 8px rgba(0, 0, 0, .04);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.feature-top i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    flex-shrink: 0;
    transition: all .25s ease;
}

.feature-card:hover .feature-top i {
    background: #2563eb;
    color: #fff;
    transform: scale(1.05);
}

.feature-top h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
}

.feature-card>p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

.feature-badge {
    display: inline-block;
    background: #fef3c7;
    color: #d97706;
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 10px;
    margin-left: 6px;
    font-weight: 600;
    vertical-align: middle;
}

/* Products Table */
.products-section {
    margin-bottom: 60px;
}

.products-table-wrapper {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
}

.products-table thead {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.products-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.products-table td {
    padding: 20px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 15px;
    color: #4b5563;
}

.products-table tbody tr {
    transition: background-color 0.2s ease;
}

.products-table tbody tr:hover {
    background-color: #eff6ff;
}

.products-table tbody tr:last-child td {
    border-bottom: none;
}

/* 骨架屏表格列宽度 (5列) */
.products-table .xw-skeleton-body td:nth-child(1) .xw-skeleton-line { width: 80%; }
.products-table .xw-skeleton-body td:nth-child(2) .xw-skeleton-line { width: 60%; }
.products-table .xw-skeleton-body td:nth-child(3) .xw-skeleton-line { width: 50%; }
.products-table .xw-skeleton-body td:nth-child(4) .xw-skeleton-line { width: 70%; }

/* mail页面购买按钮为小圆角，骨架屏按钮也随之调整 */
.products-table .xw-skeleton-block {
    border-radius: 6px;
}

.product-name {
    font-weight: 600;
    color: #111827;
}

.product-price {
    font-weight: 700;
    color: #dc2626;
    font-size: 17px;
}

/* mail页面删除线价格颜色 */
.product-price .xw-price-strike {
    color: #9ca3af;
    font-size: 12px;
}

.buy-btn {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 8px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.buy-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* Value-added Services */
.services-section {
    margin-bottom: 60px;
}

.services-table-wrapper {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
}

.services-table thead {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.services-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #92400e;
    border-bottom: 2px solid #fde68a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-table td {
    padding: 20px;
    border-bottom: 1px solid #fef3c6;
    font-size: 15px;
    color: #4b5563;
}

.services-table tbody tr {
    transition: background-color 0.2s ease;
}

.services-table tbody tr:hover {
    background-color: #fffbeb;
}

.services-table tbody tr:last-child td {
    border-bottom: none;
}

.service-price {
    font-weight: 700;
    color: #d97706;
    font-size: 16px;
}

.service-note {
    font-size: 13px;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mail-hero {
        padding: 70px 0 60px;
    }

    .mail-hero .hero-content>h1 {
        font-size: 32px;
    }

    .mail-hero .hero-content>p {
        font-size: 16px;
    }

    .intro-section {
        flex-direction: column;
        border-radius: 16px;
    }

    .intro-left {
        width: 100%;
        padding: 36px 24px;
    }

    .intro-right {
        padding: 32px 24px;
    }

    .intro-left>h2 {
        font-size: 20px;
    }

    .intro-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .products-table,
    .services-table {
        display: block;
        overflow-x: auto;
    }

    .section-title {
        font-size: 26px;
    }
}
