/* 按钮组件 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), #0ca678);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #0ca678, var(--secondary));
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* 联系按钮 */
.contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    gap: 8px;
    flex: 1;
    min-width: 140px;
    justify-content: center;
    box-shadow: var(--shadow);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-btn.wechat {
    background: linear-gradient(135deg, #09B83E, #07A63A);
}

.contact-btn.telegram {
    background: linear-gradient(135deg, #0088CC, #006699);
}

.contact-btn.skype {
    background: linear-gradient(135deg, #00AFF0, #0088CC);
}

/* 通用区块标题 */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 卡片组件基础样式 */
.service-card,
.platform-card,
.hosting-card,
.pricing-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-light);
}

.service-card::before,
.platform-card::before,
.hosting-card::before,
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.service-card:hover,
.platform-card:hover,
.hosting-card:hover,
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* 图标样式 */
.service-icon,
.platform-icon,
.hosting-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 特性列表 */
.service-features,
.platform-card ul,
.hosting-card ul,
.pricing-features {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.service-features li,
.platform-card li,
.hosting-card li,
.pricing-features li {
    padding: 10px 0;
    color: var(--gray);
    border-bottom: 1px solid var(--gray-light);
    position: relative;
    padding-left: 28px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-features li:before,
.platform-card li:before,
.hosting-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.1rem;
}

.service-features li:last-child,
.platform-card li:last-child,
.hosting-card li:last-child,
.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li {
    display: flex;
    align-items: center;
    padding-left: 0;
}

.pricing-features li i {
    color: var(--secondary);
    margin-right: 12px;
    font-size: 1.1rem;
}

/* 价格样式 */
.price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
    display: block;
}

.price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
}

.hosting-price {
    margin-bottom: 25px;
    padding: 20px 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 8px;
    margin: 0 -10px 25px;
}

.hosting-price .price {
    font-size: 2.5rem;
}

/* 按钮容器 */
.hero-buttons,
.pricing-buttons,
.contact-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pricing-buttons {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
}

.contact-buttons {
    margin-bottom: 0;
}
/* 动画效果 */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 延迟动画 */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }


/* 悬浮效果增强 */
.service-card:hover .service-icon,
.platform-card:hover .platform-icon,
.hosting-card:hover .hosting-icon {
    transform: scale(1.1) rotate(5deg);
    transition: all 0.3s ease;
}

/* 渐变背景动画 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    opacity: 0.1;
    z-index: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}