/**
 * Arabic Homepage - Arab Market Style Optimization
 * 阿拉伯站点首页 - 阿拉伯市场风格优化
 * 
 * 设计理念：
 * - 奢华尊贵：金色和深蓝色配色，彰显品质
 * - 几何美学：伊斯兰几何图案装饰
 * - RTL 布局：完美支持从右到左的阅读习惯
 * - 对称和谐：强调对称美和视觉平衡
 * - 细节精致：精美的装饰元素和过渡效果
 * 
 * 优先级：使用 !important 确保覆盖其他站点样式
 */

/* ============================================================================
   全局优化 - 阿拉伯语字体和 RTL 布局
   ============================================================================ */

body.lang-ar .home-page,
body.lang-ar.home {
    font-family: 'Cairo', 'Tajawal', 'Amiri', 'Arial', sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
    letter-spacing: 0 !important;
}

/* ============================================================================
   Hero Banner - 奢华大气的阿拉伯风格
   ============================================================================ */

body.lang-ar .home-page .hero-section,
body.lang-ar.home .hero-section {
    min-height: 720px !important;
    padding: 11rem 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Banner 深蓝金色渐变遮罩 - 奢华感 */
body.lang-ar .home-page .hero-section::before,
body.lang-ar.home .hero-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, 
        rgba(10, 25, 47, 0.92) 0%, 
        rgba(13, 71, 161, 0.88) 35%, 
        rgba(21, 101, 192, 0.85) 70%, 
        rgba(25, 118, 210, 0.80) 100%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* Banner 几何图案装饰 - 伊斯兰风格 */
body.lang-ar .home-page .hero-section::after,
body.lang-ar.home .hero-section::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(218, 165, 32, 0.03) 35px, rgba(218, 165, 32, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(218, 165, 32, 0.03) 35px, rgba(218, 165, 32, 0.03) 70px) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* 确保 Banner 内容在遮罩层之上 */
body.lang-ar .home-page .hero-section .container,
body.lang-ar.home .hero-section .container {
    position: relative !important;
    z-index: 2 !important;
}

/* Banner 标题 - 金色奢华 */
body.lang-ar .home-page .hero-section .hero-title,
body.lang-ar.home .hero-section .hero-title {
    font-size: 4rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.02em !important;
    margin-bottom: 2rem !important;
    background: linear-gradient(135deg, #daa520 0%, #ffd700 50%, #daa520 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: 0 0 30px rgba(218, 165, 32, 0.3) !important;
    position: relative !important;
}

/* 标题装饰线 */
body.lang-ar .home-page .hero-section .hero-title::after,
body.lang-ar.home .hero-section .hero-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -15px !important;
    right: 50% !important;
    transform: translateX(50%) !important;
    width: 120px !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent 0%, #daa520 50%, transparent 100%) !important;
}

body.lang-ar .home-page .hero-section .hero-subtitle,
body.lang-ar.home .hero-section .hero-subtitle {
    font-size: 1.625rem !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    letter-spacing: 0.02em !important;
    margin-bottom: 3.5rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* CTA 按钮 - 金色主题 */
body.lang-ar .home-page .hero-section .btn,
body.lang-ar.home .hero-section .btn {
    padding: 1.25rem 3.5rem !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    letter-spacing: 0.05em !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* 按钮光泽效果 */
body.lang-ar .home-page .hero-section .btn::before,
body.lang-ar.home .hero-section .btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.5s ease !important;
}

body.lang-ar .home-page .hero-section .btn:hover::before,
body.lang-ar.home .hero-section .btn:hover::before {
    left: 100% !important;
}

body.lang-ar .home-page .hero-section .btn-primary,
body.lang-ar.home .hero-section .btn-primary {
    background: linear-gradient(135deg, #daa520 0%, #ffd700 50%, #daa520 100%) !important;
    color: #0a192f !important;
    border: 2px solid #daa520 !important;
}

body.lang-ar .home-page .hero-section .btn-primary:hover,
body.lang-ar.home .hero-section .btn-primary:hover {
    background: linear-gradient(135deg, #b8860b 0%, #daa520 50%, #b8860b 100%) !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 30px rgba(218, 165, 32, 0.4) !important;
}

body.lang-ar .home-page .hero-section .btn-secondary,
body.lang-ar.home .hero-section .btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #daa520 !important;
    border: 2px solid #daa520 !important;
    backdrop-filter: blur(10px) !important;
}

body.lang-ar .home-page .hero-section .btn-secondary:hover,
body.lang-ar.home .hero-section .btn-secondary:hover {
    background: rgba(218, 165, 32, 0.2) !important;
    border-color: #ffd700 !important;
    color: #ffd700 !important;
    transform: translateY(-3px) !important;
}

/* ============================================================================
   Section 通用样式 - 奢华的视觉层次
   ============================================================================ */

body.lang-ar .home-page section,
body.lang-ar.home section {
    padding: 6rem 0 !important;
}

body.lang-ar .home-page .section-header,
body.lang-ar.home .section-header {
    text-align: center !important;
    margin-bottom: 4rem !important;
    position: relative !important;
}

body.lang-ar .home-page .section-title,
body.lang-ar.home .section-title {
    font-size: 3rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.03em !important;
    color: #0a192f !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
    display: inline-block !important;
}

/* 标题金色装饰 */
body.lang-ar .home-page .section-title::before,
body.lang-ar.home .section-title::before {
    content: '◆' !important;
    position: absolute !important;
    right: -40px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #daa520 !important;
    font-size: 1.5rem !important;
}

body.lang-ar .home-page .section-title::after,
body.lang-ar.home .section-title::after {
    content: '◆' !important;
    position: absolute !important;
    left: -40px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #daa520 !important;
    font-size: 1.5rem !important;
}

body.lang-ar .home-page .section-description,
body.lang-ar.home .section-description {
    font-size: 1.25rem !important;
    line-height: 1.9 !important;
    color: #555 !important;
    max-width: 750px !important;
    margin: 0 auto !important;
}

/* Section 分隔线 */
body.lang-ar .home-page .section-divider,
body.lang-ar.home .section-divider {
    width: 100px !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent 0%, #daa520 50%, transparent 100%) !important;
    margin: 2rem auto !important;
}

/* ============================================================================
   Company Intro - 突出企业实力和信誉
   ============================================================================ */

body.lang-ar .home-page .company-intro,
body.lang-ar.home .company-intro {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%) !important;
    padding: 6rem 0 !important;
    position: relative !important;
}

/* 背景装饰图案 */
body.lang-ar .home-page .company-intro::before,
body.lang-ar.home .company-intro::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(218, 165, 32, 0.02) 50px, rgba(218, 165, 32, 0.02) 100px) !important;
    pointer-events: none !important;
}

body.lang-ar .home-page .company-intro .intro-text,
body.lang-ar.home .company-intro .intro-text {
    font-size: 1.125rem !important;
    line-height: 2.1 !important;
    color: #333 !important;
}

/* 统计数据卡片 - 金色边框奢华设计 */
body.lang-ar .home-page .company-intro .stat-item,
body.lang-ar.home .company-intro .stat-item {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%) !important;
    border: 3px solid transparent !important;
    background-clip: padding-box !important;
    border-radius: 20px !important;
    padding: 3rem 2rem !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* 卡片金色边框效果 */
body.lang-ar .home-page .company-intro .stat-item::before,
body.lang-ar.home .company-intro .stat-item::before {
    content: '' !important;
    position: absolute !important;
    top: -3px !important;
    left: -3px !important;
    right: -3px !important;
    bottom: -3px !important;
    background: linear-gradient(135deg, #daa520 0%, #ffd700 50%, #daa520 100%) !important;
    border-radius: 20px !important;
    z-index: -1 !important;
    opacity: 0 !important;
    transition: opacity 0.5s ease !important;
}

body.lang-ar .home-page .company-intro .stat-item:hover::before,
body.lang-ar.home .company-intro .stat-item:hover::before {
    opacity: 1 !important;
}

/* 卡片装饰性光晕 */
body.lang-ar .home-page .company-intro .stat-item::after,
body.lang-ar.home .company-intro .stat-item::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    right: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.08) 0%, transparent 70%) !important;
    transition: all 0.5s ease !important;
}

body.lang-ar .home-page .company-intro .stat-item:hover,
body.lang-ar.home .company-intro .stat-item:hover {
    box-shadow: 0 15px 40px rgba(218, 165, 32, 0.2) !important;
    transform: translateY(-10px) scale(1.03) !important;
}

body.lang-ar .home-page .company-intro .stat-item:hover::after,
body.lang-ar.home .company-intro .stat-item:hover::after {
    top: -30% !important;
    right: -30% !important;
}

body.lang-ar .home-page .company-intro .stat-number,
body.lang-ar.home .company-intro .stat-number {
    font-size: 4rem !important;
    font-weight: 900 !important;
    color: #daa520 !important;
    line-height: 1 !important;
    margin-bottom: 1.25rem !important;
    position: relative !important;
    text-shadow: 0 0 20px rgba(218, 165, 32, 0.3), 0 2px 4px rgba(218, 165, 32, 0.4) !important;
}

body.lang-ar .home-page .company-intro .stat-label,
body.lang-ar.home .company-intro .stat-label {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: #0a192f !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

/* ============================================================================
   Business Areas - 精致的卡片设计
   ============================================================================ */

body.lang-ar .home-page .business-areas,
body.lang-ar.home .business-areas {
    background: linear-gradient(180deg, #ffffff 0%, #0a192f 100%) !important;
    padding: 6rem 0 !important;
}

/* 深色背景下的标题调整 */
body.lang-ar .home-page .business-areas .section-title,
body.lang-ar.home .business-areas .section-title {
    background: linear-gradient(135deg, #daa520 0%, #ffd700 50%, #daa520 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

body.lang-ar .home-page .business-areas .section-description,
body.lang-ar.home .business-areas .section-description {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.lang-ar .home-page .business-areas .business-card,
body.lang-ar.home .business-areas .business-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 2px solid rgba(218, 165, 32, 0.3) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
}

body.lang-ar .home-page .business-areas .business-card:hover,
body.lang-ar.home .business-areas .business-card:hover {
    border-color: #daa520 !important;
    box-shadow: 0 20px 50px rgba(218, 165, 32, 0.3) !important;
    transform: translateY(-12px) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* ============================================================================
   CTA Section - 奢华的行动号召
   ============================================================================ */

body.lang-ar .home-page .cta-section,
body.lang-ar.home .cta-section {
    background: linear-gradient(135deg, #0a192f 0%, #0d47a1 50%, #1565c0 100%) !important;
    padding: 6rem 0 !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

/* CTA 几何装饰图案 */
body.lang-ar .home-page .cta-section::before,
body.lang-ar.home .cta-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(218, 165, 32, 0.05) 40px, rgba(218, 165, 32, 0.05) 80px),
        repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(218, 165, 32, 0.05) 40px, rgba(218, 165, 32, 0.05) 80px) !important;
}

body.lang-ar .home-page .cta-section .cta-title,
body.lang-ar.home .cta-section .cta-title {
    font-size: 3.25rem !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    background: linear-gradient(135deg, #daa520 0%, #ffd700 50%, #daa520 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 2rem !important;
    text-shadow: 0 0 30px rgba(218, 165, 32, 0.3) !important;
}

body.lang-ar .home-page .cta-section .cta-text,
body.lang-ar.home .cta-section .cta-text {
    font-size: 1.375rem !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 3rem !important;
    max-width: 750px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ============================================================================
   按钮统一样式 - 金色主题
   ============================================================================ */

body.lang-ar .home-page .btn,
body.lang-ar.home .btn {
    padding: 1rem 2.5rem !important;
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    display: inline-block !important;
    position: relative !important;
    overflow: hidden !important;
}

body.lang-ar .home-page .btn-primary,
body.lang-ar.home .btn-primary {
    background: linear-gradient(135deg, #daa520 0%, #ffd700 50%, #daa520 100%) !important;
    color: #0a192f !important;
    border: 2px solid #daa520 !important;
}

body.lang-ar .home-page .btn-primary:hover,
body.lang-ar.home .btn-primary:hover {
    background: linear-gradient(135deg, #b8860b 0%, #daa520 50%, #b8860b 100%) !important;
    border-color: #b8860b !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.4) !important;
}

body.lang-ar .home-page .btn-outline,
body.lang-ar.home .btn-outline {
    background: transparent !important;
    color: #daa520 !important;
    border: 2px solid #daa520 !important;
}

body.lang-ar .home-page .btn-outline:hover,
body.lang-ar.home .btn-outline:hover {
    background: rgba(218, 165, 32, 0.1) !important;
    color: #ffd700 !important;
    border-color: #ffd700 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.2) !important;
}

/* ============================================================================
   响应式设计
   ============================================================================ */

/* 平板端 (1024px 以下) */
@media (max-width: 1024px) {
    body.lang-ar .home-page section,
    body.lang-ar.home section {
        padding: 5rem 0 !important;
    }
    
    body.lang-ar .home-page .hero-section,
    body.lang-ar.home .hero-section {
        min-height: 650px !important;
        padding: 9rem 0 !important;
    }
    
    body.lang-ar .home-page .hero-section .hero-title,
    body.lang-ar.home .hero-section .hero-title {
        font-size: 3.25rem !important;
    }
    
    body.lang-ar .home-page .section-title,
    body.lang-ar.home .section-title {
        font-size: 2.5rem !important;
    }
}

/* 移动端 (768px 以下) */
@media (max-width: 768px) {
    body.lang-ar .home-page section,
    body.lang-ar.home section {
        padding: 4rem 0 !important;
    }
    
    body.lang-ar .home-page .hero-section,
    body.lang-ar.home .hero-section {
        min-height: 600px !important;
        padding: 7rem 0 !important;
    }
    
    body.lang-ar .home-page .hero-section .hero-title,
    body.lang-ar.home .hero-section .hero-title {
        font-size: 2.75rem !important;
    }
    
    body.lang-ar .home-page .hero-section .hero-subtitle,
    body.lang-ar.home .hero-section .hero-subtitle {
        font-size: 1.375rem !important;
    }
    
    body.lang-ar .home-page .section-title,
    body.lang-ar.home .section-title {
        font-size: 2.25rem !important;
    }
    
    body.lang-ar .home-page .company-intro .stat-number,
    body.lang-ar.home .company-intro .stat-number {
        font-size: 3.25rem !important;
    }
    
    body.lang-ar .home-page .cta-section .cta-title,
    body.lang-ar.home .cta-section .cta-title {
        font-size: 2.5rem !important;
    }
}

/* 小屏幕移动端 (480px 以下) */
@media (max-width: 480px) {
    body.lang-ar .home-page .hero-section .hero-title,
    body.lang-ar.home .hero-section .hero-title {
        font-size: 2.25rem !important;
    }
    
    body.lang-ar .home-page .section-title,
    body.lang-ar.home .section-title {
        font-size: 2rem !important;
    }
    
    body.lang-ar .home-page .hero-section .btn,
    body.lang-ar.home .hero-section .btn {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }
}
