.btn {
    padding: 12px 30px;
    background-color: #ff1616;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    background-color: #0E42D2;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(22, 93, 255, 0.2);
}

.btn-icon {
    margin-left: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

.section {
    max-width: 1600px;
    margin: 0 auto;
    padding: 100px 50px;
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff1616, #ffebe0);
    border-radius: 2px;
}

/* 1. 3D翻转卡片样式 */
.services-3d {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 100px;
}

.card-3d {
    perspective: 1000px;
    height: 470px;
    cursor: pointer;
}

.card-3d-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-3d:hover .card-3d-inner {
    transform: rotateY(180deg);
}

.card-3d-front, .card-3d-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.card-3d-front {
    background-color: #FFFFFF;
    z-index: 2;
}

.card-3d-back {
    background-color: #FFFFFF;
    transform: rotateY(180deg);
    z-index: 1;
}

.card-3d-icon {
    width: 330px;
    height: 270px;
    border-radius: 15px;
    background: linear-gradient(135deg, #ff1616, #ffebe0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(22, 93, 255, 0.15);
}

.card-3d-icon img{
    width: 100%;
    height: 100%;
}

.card-3d-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1D2129;
}

.card-3d-desc {
    color: #86909C;
    margin-bottom: 10px;
}

.card-3d-publisher {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #ff1616;
    font-weight: 500;
}

.publisher-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(22, 93, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff1616;
    font-weight: bold;
    margin-right: 10px;
}

.card-3d-features {
    list-style: none;
    margin-top: 20px;
}

.card-3d-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.feature-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(22, 93, 255, 0.1);
    color: #ff1616;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 12px;
}

/* 2. 动态悬浮网格 */
.services-hover {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 25px;
}

.service-card-hover {
    background-color: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 490px;
}

.service-card-hover:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card-hover:hover .card-hover-img {
    transform: scale(1.1);
}

.card-hover-img img{
    width: 100%;
    height: 300px;
}

.card-hover-img {
    height: 300px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card-hover-icon {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    z-index: 1;
}

.card-hover-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background-color: #FF7D00;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.card-hover-content {
    padding: 15px;
}

.card-hover-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    height: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card-hover:hover .card-hover-title {
    color: #ff1616;
}

.card-hover-desc {
    font-size: 0.9rem;
    color: #86909C;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-hover-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #86909C;
}


.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-container:after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, #ff1616, #ffebe0);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-container .timeline-item:nth-child(odd):before{
    left: 586px;
}

.timeline-container .timeline-item:nth-child(odd){
    left: 0%;
}

.timeline-container .timeline-item:nth-child(even):before{
    left: -14px;
}

.timeline-container .timeline-item:nth-child(even){
    left: 50%;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    opacity: 1;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-item:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid #ff1616;
    border-radius: 50%;
    top: 20px;
    z-index: 1;
}

.timeline-left:before {
    right: -12px;
}

.timeline-right:before {
    left: -12px;
}

.timeline-content {
    padding: 25px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-item:hover .timeline-content {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.timeline-date {
    font-size: 0.85rem;
    color: #ff1616;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.timeline-desc {
    color: #86909C;
    font-size: 0.95rem;
    margin-bottom: 15px;
}


