/* ========================================
   元基伍捌建站 - 首页专用样式
   ======================================== */

/* Hero Banner 区域 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-geometric {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float 8s ease-in-out infinite;
}

.hero-circle-1 {
    width: 500px;
    height: 500px;
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.hero-circle-2 {
    width: 350px;
    height: 350px;
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.hero-polygon {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    animation: float 10s ease-in-out infinite reverse;
}

.hero-hexagon {
    width: 250px;
    height: 216px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: #ffffff;
    color: #667eea;
}

.hero .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.hero .btn-outline:hover {
    background: #ffffff;
    color: #667eea;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-circle-1 {
        width: 250px;
        height: 250px;
    }

    .hero-circle-2 {
        width: 180px;
        height: 180px;
    }
}

/* 核心优势板块 */
.features-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 25px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 18px;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: #f7fafc;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #ffffff;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.feature-text {
    font-size: 15px;
    color: #718096;
    line-height: 1.8;
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* 快速入口板块 */
.quick-access-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    position: relative;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.access-card {
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
}

.access-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.access-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.access-card:hover .access-image {
    transform: scale(1.1);
}

.access-content {
    padding: 30px;
}

.access-title {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
}

.access-text {
    font-size: 15px;
    color: #718096;
    line-height: 1.8;
    margin-bottom: 20px;
}

.access-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-weight: 600;
    font-size: 15px;
}

.access-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.access-card:hover .access-link::after {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .access-grid {
        grid-template-columns: 1fr;
    }
}

/* 资讯列表板块 */
.news-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* 文字动画效果 */
.text-animate {
    opacity: 0;
    animation: textReveal 1s ease forwards;
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-animate-delay-1 {
    animation-delay: 0.2s;
}

.text-animate-delay-2 {
    animation-delay: 0.4s;
}

.text-animate-delay-3 {
    animation-delay: 0.6s;
}
