
:root {
    --primary: hwb(0 100% 0%);
    --secondary: #ffffff;
    --accent: #2b80ff;
    --text-light: #000000;
    --text-dark: #4f4f4f;
    --transition: all 0.3s ease;
}

.ab-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* background: linear-gradient(135deg, var(--primary), var(--secondary)); */
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* 科技感背景装饰 */
.ab-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(100, 255, 218, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(100, 255, 218, 0.1) 0%, transparent 20%);
    z-index: -1;
}
.ab-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* 头部样式 */
.ab-header {
    text-align: center;
    padding: 3rem 0;
    position: relative;
}

.ab-logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.ab-logo::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.ab-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 主要内容区域 */
.ab-about-section {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 4rem 0;
    align-items: center;
}

.ab-text-content {
    flex: 1;
    min-width: 300px;
    opacity: 0;
    transform: translateY(30px);
    animation: ab-fadeInUp 1s forwards 0.3s;
}

.ab-image-content {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: ab-fadeInUp 1s forwards 0.6s;
}

.ab-tech-image {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(36, 138, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.ab-tech-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(100, 255, 218, 0.1) 0%, 
        rgba(10, 25, 47, 0) 100%);
    z-index: 1;
}

.ab-section-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.ab-section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.ab-about-text {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: justify;
}

/* 服务列表 */
.ab-services {
    margin: 3rem 0;
    opacity: 0;
    transform: translateY(30px);
    animation: ab-fadeInUp 1s forwards 0.9s;
}

.ab-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.ab-service-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.ab-service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.ab-service-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.ab-service-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.ab-service-desc {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* 使命宣言 */
.ab-mission {
    background: rgba(255, 255, 255, 0.7);
    border-left: 3px solid var(--accent);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 0 8px 8px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: ab-fadeInUp 1s forwards 1.2s;
}

.ab-mission h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* 动画定义 */
@keyframes ab-fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ab-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.ab-floating {
    animation: ab-float 4s ease-in-out infinite;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .ab-about-section {
        flex-direction: column;
    }
    
    .ab-section-title {
        font-size: 1.8rem;
    }
    
    .ab-logo {
        font-size: 2rem;
    }
}

/* 悬停振动效果 */
.ab-vibrate-once {
    display: inline-block;
    cursor: pointer;
}

.ab-shaking {
    animation: ab-shake-once 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes ab-shake-once {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotate(-2deg); }
    75% { transform: translateX(5px) rotate(2deg); }
}

/* 联系按钮 */
.ab-contact-btn {
    display: inline-block;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    margin-top: 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.ab-contact-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(101, 101, 255), transparent);
    transition: 0.5s;
}

.ab-contact-btn:hover {
    color: rgb(157, 0, 255);
    background: rgba(149, 199, 255, 0.1);
    box-shadow: 0 0 15px rgb(109, 151, 255);
}

.ab-contact-btn:hover::before {
    left: 100%;
}