/* ========================================
   JDL Overseas SVG图标系统
   Flat SVG Icon System
   ======================================== */

/* ========== SVG图标容器基础样式 ========== */
.svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.svg-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

/* ========== 不同尺寸 ========== */
.svg-icon-sm {
    width: 20px;
    height: 20px;
}

.svg-icon-md {
    width: 24px;
    height: 24px;
}

.svg-icon-lg {
    width: 32px;
    height: 32px;
}

.svg-icon-xl {
    width: 48px;
    height: 48px;
}

.svg-icon-2xl {
    width: 64px;
    height: 64px;
}

/* ========== 颜色变体 ========== */
.svg-icon-primary {
    color: #28a745;
}

.svg-icon-white {
    color: white;
}

.svg-icon-dark {
    color: #212529;
}

.svg-icon-grey {
    color: #6c757d;
}

/* ========== 特定图标样式 ========== */

/* 社交媒体图标 */
.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-icon:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    display: block;
}

/* 特性图标 */
.feature-icon-svg {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 16px;
    margin: 0 auto 20px;
    flex-shrink: 0;
    position: relative;
}

.feature-icon-svg svg {
    width: 36px;
    height: 36px;
    stroke: #28a745;
    fill: none;
    stroke-width: 2;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 联系方式图标 */
.contact-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 50%;
    margin: 0 auto 20px;
    flex-shrink: 0;
    position: relative;
}

.contact-icon svg {
    width: 40px;
    height: 40px;
    stroke: #28a745;
    fill: none;
    stroke-width: 2;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 认证图标 */
.cert-icon-circle {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    margin: 0 auto 20px;
    flex-shrink: 0;
    position: relative;
}

.cert-icon-circle svg {
    width: 50px;
    height: 50px;
    stroke: #28a745;
    fill: none;
    stroke-width: 2;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ========== 内联图标（用于文本中） ========== */
.inline-icon {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin: 0 4px;
}

.inline-icon svg {
    width: 1.2em;
    height: 1.2em;
}

/* ========== 动画效果 ========== */
.svg-icon-animated {
    transition: all 0.3s ease;
}

.svg-icon-animated:hover {
    transform: scale(1.1) rotate(5deg);
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .cert-icon-circle {
        width: 64px;
        height: 64px;
    }
    
    .cert-icon-circle svg {
        width: 32px;
        height: 32px;
    }
    
    .feature-icon-svg {
        width: 48px;
        height: 48px;
    }
    
    .feature-icon-svg svg {
        width: 24px;
        height: 24px;
    }
}

