/* AGI Page Styles */

/* Hero Section */
.agi-hero-banner {
    height: 953px;
    width: 100%;
    background-image: url('../images/agi/bg_header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 140px;
    box-sizing: border-box;
}

.hero-text-container {
    width: 1200px;
    padding-top: 36px;
}

.hero-title {
    font-family: PingFangSC, PingFang SC;
    font-size: 40px;
    color: #12ADED;
    line-height: 56px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-desc {
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 24px;
    color: #FFFFFF;
    line-height: 33px;
    letter-spacing: 1px;
}

.agi-hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    color: #fff;
}

.agi-hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #2e9bff 0%, #ffffff 50%, #2e9bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.agi-hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

/* ICS / Intelligent Cornerstone Section */
.agi-ics-section-bg {
    width: 100%;
    background-color: #0b0d3d;
    overflow-x: hidden;
}

.agi-ics-section {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    color: #fff;
    /* 移除 overflow: hidden，让背景图片能突破容器向两边延伸 */
    overflow: visible;
    padding: 56px 0 56px 0;
    /* 改为纵向布局 */
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* 背景图层 - 使用完整的背景图 */
.agi-bg-wrapper {
    position: absolute;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* 完整背景图 */
.agi-bg-center {
    /* 固定宽度，大屏下居中显示 */
    width: 1920px;
    min-width: 100vw;
    height: 657px;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url('../images/agi/bg_center.png');
    /* 保持图片原始比例 */
    background-size: contain;
    background-position: center top;
    z-index: 0;
}

.agi-container {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Section Header */
.agi-section-header {
    position: relative;
    margin-bottom: 60px;
    z-index: 5;
    transform: translateY(-15%);
}

.agi-section-header .klm-join-agi-header-img {
    top: -20px;
    left: 320px;
}

.agi-section-subtitle {
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 24px;
    color: #A6C6DB;
    line-height: 33px;
    margin-bottom: 16px;
}

.agi-section-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 33px;
    color: #ffffff;
    position: relative;
    z-index: 10;
}

.agi-section-desc {
    /* 限制宽度不超过容器 */
    width: 1200px;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 20px;
    color: #ffffff;
    line-height: 28px;
    text-align: left;
    font-style: normal;
    transform: translateY(25%);
    letter-spacing: 1px;
}

/* Hide radio inputs - No longer needed but keeping just in case or remove entirely */
.agi-tab-radio {
    display: none;
}

.agi-tabs-wrapper {
    width: 100%;
    position: relative;
    /* 增加和上方标题的距离 */

    z-index: 5;
}

/* Tabs & Content Layout */
.agi-layout {
    display: flex;
    gap: 45px;
    align-items: flex-start;
    /* 让内容区域在背景图范围内 */
    margin-top: 32px;
}

/* Sidebar Tabs */
.agi-tabs {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    /* 左侧贯穿灰线 */
    gap: 46px;
}

.agi-tab-item {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.45);
    padding: 4px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    user-select: none;
    font-weight: 400;
    position: relative;
    background: transparent;
    z-index: 10;
    /* Ensure clickable */
}

/* Tab左侧高亮条 (默认隐藏) */
.agi-tab-item::before {
    content: '';
    position: absolute;
    left: -2px;
    /* 盖住左侧灰线，且稍宽一点 */
    top: 0;
    bottom: 0;
    width: 4px;
    /* 选中时的蓝条宽度 */
    background: #2e9bff;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(46, 155, 255, 0.6);
}

.agi-tab-item:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Tab active states */
.agi-tab-item.active {
    color: #ffffff;
    font-weight: 500;
    background: linear-gradient(90deg,
            rgba(46, 155, 255, 0.15) 0%,
            rgba(46, 155, 255, 0) 100%);
}

.agi-tab-item.active::before {
    opacity: 1;
}

/* Content Area - Card Style */
.agi-content-area {
    flex: 1;
    min-height: 450px;
    position: relative;

    /* 内边距（内容在毛玻璃层里面显示） */
    padding: 12px;
}

/* Tab Content */
.agi-tab-content {
    display: none;
    animation: fadeInContent 0.45s ease-out;
}

.agi-tab-content.active {
    display: block;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Typography */
.content-title {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
    line-height: 1.3;
}

.content-subtitle {
    font-size: 15px;
    color: #b3c4dc;
    margin-bottom: 16px;
    /* Reduced from 20px */
    font-weight: 400;
}

.content-desc {
    width: 100%;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    margin-bottom: 16px;
    /* Reduced from 20px */
}

.section-label {
    font-family: PingFangSC, PingFang SC;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    line-height: 22px;
    text-align: left;
    font-style: normal;
    margin-bottom: 8px;
    /* Reduced from 12px */
}

/* Tech List */
.tech-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    /* Reduced from 24px */
}

.tech-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    /* Reduced from 15px */
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.tech-icon {
    width: 16px;
    height: 16px;
    background-image: url('../images/creative-platform/yes.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

.tech-label {
    font-weight: 600;
    color: #5ea1ff;
    margin-right: 5px;
}

/* Pills Grid */
/* Benefit List Styles */
.agi-benefit-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Reduced from 12px */
}

.agi-benefit-item {
    display: flex;
    align-items: center;
    width: 554px;
    height: 42px;
    padding: 0 20px;
    /* Vertical padding removed for fixed height */
    border: 1px solid #848fa8;
    border-radius: 23px;
    background: rgba(46, 155, 255, 0.05);
    transition: all 0.3s ease;
    cursor: default;
    box-sizing: border-box;
    /* Ensure padding/border doesn't increase width/height */
}

.agi-benefit-item:hover {
    border-color: #2e9bff;
    box-shadow: 0 0 15px rgba(46, 155, 255, 0.2);
    background: rgba(46, 155, 255, 0.1);
}

.agi-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.agi-benefit-icon .agi-benefit-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin: 0;
}

.agi-benefit-title {
    font-size: 16px;
    /* User requested 16px */
    color: #2e9bff;
    font-weight: 500;
    white-space: nowrap;
}

.agi-benefit-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 16px;
}

.agi-benefit-desc {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.4;
}