
/* custom.css */
.reverse-section {
    background: linear-gradient(135deg, #1a1c2c 0%, #2d3250 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.reverse-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(42, 157, 244, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(233, 196, 106, 0.1) 0%, transparent 50%);
}

.reverse-section h2 {
    color: white;
    position: relative;
}

.reverse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.reverse-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reverse-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.reverse-card:hover::before {
    left: 100%;
}

.reverse-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(42, 157, 244, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.reverse-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #2a9df4, #e9c46a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.reverse-card h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.reverse-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tech-tag {
    background: rgba(42, 157, 244, 0.2);
    color: #2a9df4;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(42, 157, 244, 0.3);
}

/* 服务卡片美化 */
.services {
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8, #4285f4);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #202124;
}

/* 项目卡片美化 */
.project {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.project-img {
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.project-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.project:hover .project-img::after {
    left: 100%;
}

.project-content {
    padding: 24px;
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.project-tag {
    background: #f0f7ff;
    color: #1a73e8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* 联系卡片美化 */
.contact-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.contact-qrcode {
    width: 180px;
    height: 180px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-qrcode {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .reverse-grid,
    .services,
    .portfolio-items,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card,
    .reverse-card,
    .contact-card {
        padding: 20px;
    }

    .brand-main {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }

    .brand-domain {
        font-size: 1.8rem;
    }
}

/* 进度条样式 */
.progress-bar {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    margin: 10px 0 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a73e8, #4285f4);
    border-radius: 3px;
    transition: width 1s ease;
}

/* 技能标签 */
.skill-level {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}
