@import "./global.css";
/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 主色彩定义 */
:root {
    --primary-color: #0b5ed7;
    --primary-dark: #0056b3;
    --accent-color: #ff6b35;
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #999;
    --bg-light: #f8f9fa;
    --border-radius: 8px;
    --transition: 0.3s ease;
    --transition-long: 0.4s ease;
    /* 阴影定义 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 2px 8px rgba(11, 94, 215, 0.2);
}


/* Hero 视频区域 */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-fit: cover;
    display: block;
}

/* 描述区域 */
.desc {
    padding: 50px 20px;
    background: #f8f9fa;
}

.desc-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.desc-content {
    flex: 1;
}

.desc-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.desc-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.desc-moreInfo {
    padding: 10px 20px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all var(--transition);
    box-shadow: var(--shadow-primary);
}

.desc-moreInfo:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(11, 94, 215, 0.3);
    transform: translateY(-2px);
}

.desc-video {
    flex: 1;
}

.desc-video video {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.desc-icon_text {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    height: 50px;
}

.icon-item i {
    font-size: 48px;
    color: var(--primary-color);
}

.icon-item span {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* 产品区域 */
.product {
    padding: 20px 20px;
    background: #f8f9fa;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto 40px;
    aspect-ratio: 16 / 9;
    max-height: 900px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease-in-out;
}

.product-item {
    padding: 20px;
    text-align: center;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    background: transparent;
    border: none;
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-item i {
    font-size: 48px;
    margin-bottom: 30px;
    transition: transform var(--transition);
}

.product-item:hover i {
    transform: translateY(-10px);
}

.product-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    transition: transform var(--transition);
}

.product-item p {
    font-size: 14px;
    margin-bottom: 30px;
    transition: transform var(--transition);
}

.product-item:hover h3,
.product-item:hover p {
    transform: translateY(-10px);
}

.product-item button {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    font-size: 16px;
}

.product-item button:hover {
    color: #a8d9ff;
    transform: scale(1.05);
}




/* 新闻部分 */
.news-section {
    padding: 50px 20px;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 32px;
    color: gray;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: gray;
}


.news-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

/* 卡片 */
.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: box-shadow var(--transition);
    box-shadow: var(--shadow-sm);
    min-height: 320px;
}

.news-card:hover {
    box-shadow: var(--shadow-md);
}

/* 图片区域 */
.image-box {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    transition: top var(--transition-long);
    z-index: 1;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card:hover .image-box {
    top: 0;
}

/* 内容 */
.content {
    position: relative;
    padding: 25px;
    z-index: 2;
    transition: transform var(--transition-long);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-card:hover .content {
    transform: translateY(20px);
}

.content h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 12px;
    transition: color var(--transition);
}

.news-card:hover h3 {
    color: var(--primary-color);
}

.content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.content .date {
    font-size: 12px;
    color: var(--text-light);
    margin-top: auto;
}

.more-btn-box {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.more-btn-box button {
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0);
}

.more-btn-box button:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(11, 94, 215, 0.3);
    transform: translateY(-2px);
}