@font-face {
    font-family: 'EmojiFallback';
    src: local('Segoe UI Emoji'), local('Apple Color Emoji'),
        local('Noto Color Emoji'), local('Android Emoji');
}

/* Toast通知样式 */
.toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.toast {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    max-width: 80%;
    text-align: center;
}

.toast.show {
    opacity: 1;
}

:root {
    --primary: #800080;
    --secondary: #007175;
    --accent: #ffc123;
    --white: #ffffff;
    --light: #dedede;
    --gradient: linear-gradient(135deg, #ff0000 0%, #800080 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, 'EmojiFallback', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light);
    overflow-x: hidden;
}

sup {
    font-size: 0.5em;
    vertical-align: text-top;
    line-height: 0;
    color: var(--secondary);
    opacity: 0.6;
    font-weight: 400;
}

/* 玻璃拟态效果 - 半透明背景+模糊+边框阴影 */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    padding: 30px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    cursor: pointer;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
    background: rgba(255, 255, 255, 0.8);
}

/* 主视觉区背景 - 动态渐变+粒子效果 */
.hero-section {
    background: var(--gradient);
    background-size: 200% 200%;
    position: relative;
    overflow: hidden;
    animation: gradientFlow 8s ease infinite;
}

.slideshow-container .section-link {
    clear: both;
    display: block;
}

.hero-section canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.3;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    /* background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%); */
    /* transform: rotate(30deg); */
}

/* 响应式布局 - 90%宽度+最大1200px+左右15px内边距 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部导航 */
header {
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: transparent;
    /* backdrop-filter: blur(5px); */
    transition: all 0.5s ease;
}

/* 透视状态下的头部样式 */
body.perspective-active header {
    background: var(--gradient);
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
    backdrop-filter: none;
}

body.perspective-active .logo,
body.perspective-active nav a {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo .lenovo_eco {
    color: var(--light);
    font-weight: 700;
    font-size: 0.8rem;
}

/* 进入story部分后的头部样式 */
body.story-active header {
    background: var(--secondary);
    backdrop-filter: blur(10px);
}

body.story-active .logo,
body.story-active nav a {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: normal;
    align-items: center;
    /* 垂直居中 */
    height: 60px;
    /* 设置高度以便垂直居中 */
    display: flex;
}

.logo span:first-child {
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
    color: var(--light);
}

nav li {
    margin-left: 30px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

a.join_aiple,a.join_aiple:visited {
    color: var(--white);
    /* font-weight: 600; */
    /* position: relative; */
    /* padding-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); */
}

a.join_aiple::before{
    content: "🔥";
    /* 插入火焰图标 */
    margin-left: 5px;
    /* 图标与文本间距 */
    display: inline-block;
}
a:hover.join_aiple::before {
    transform: scale(1.2);
    /* 鼠标悬停时放大图标 */
    /* transition: transform 0.3s ease; */
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* 主视觉区域 */
.hero-section {
    padding: 320px 0;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content .dim {
    opacity: 0.8;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--light);
    /* opacity: 0.8; */
}

.hero-title strong {
    color: var(--white);
    /* text-decoration:dashed underline; */
    /* text-shadow: 0 2px 4px rgba(0,0,0,0.3); */
    /* opacity: 1; */
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
    animation: slideIn 0.5s ease-out forwards;
    transform: translateY(100px);
    opacity: 0;
}

@keyframes slideIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.5s ease-out forwards;
}

.cta-button:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--secondary);
    transform: translateY(-3px);
    animation-play-state: paused;
}

/* 品牌故事部分 */
.story-section {
    padding: 100px 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--secondary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto;
    border-radius: 2px;
}

.story-section br {
    width: 80%;
    margin: 1rem auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    text-align: center;
    padding: 30px;
}

.story-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    font-weight: 700;
}

.story-icon .title-prenounce {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 5px;
    font-size: 1.0rem;
    color: var(--secondary);
    font-weight: 600;
    opacity: 0.6;

}

.story-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}


/* 技术优势部分 */
.biz-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.biz-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.biz-card {
    text-align: center;
    padding: 40px 30px;
}

/* 底部区域 */
footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.address {
    font-size: 0.9rem;
    margin-bottom: 10px;
    cursor: pointer;
    text-align: center;
    color: var(--light);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

.icp-section {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* color: var(--secondary); */
    font-size: 0.8rem;
    opacity: 0.6;
}

.icp-section a {
    color: var(--light);
    text-decoration: none;
}

/* 幻灯片样式 */
.slideshow-container {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1s cubic-bezier(0.42, 0, 0.58, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.hero-slide.next {
    transform: translateX(100%);
}

.divider-line {
    margin-top: 20px;
    font-size: 1.2rem;
    letter-spacing: 4px;
}

.slideshow-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.0rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    nav ul {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}