/* ========================================
   赫拉在线建站 - 首页专用样式
   辐射聚焦分层布局
   ======================================== */

/* Hero 区域 - 辐射聚焦布局 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f7f5 0%, #ffffff 50%, #f0f4ef 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(196, 165, 116, 0.08) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(168, 198, 159, 0.1) 0%, transparent 70%);
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(196, 165, 116, 0.15);
    color: var(--khaki-primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title span {
    color: var(--khaki-primary);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(168, 198, 159, 0.3);
    z-index: -1;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 35px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(196, 165, 116, 0.2);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-floating-card {
    position: absolute;
    background: var(--white-pure);
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    animation: float 3s ease-in-out infinite;
}

.hero-floating-card.card-1 {
    top: 10%;
    left: -30px;
}

.hero-floating-card.card-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 核心优势板块 - 多层辐射布局 */
.features {
    background: var(--white-off);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white-pure);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    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, var(--khaki-primary), var(--green-soft));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(196, 165, 116, 0.1), rgba(168, 198, 159, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 45px;
    height: 45px;
}

.feature-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-text {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 快速入口 - 聚焦式布局 */
.quick-access {
    background: linear-gradient(135deg, var(--khaki-primary) 0%, var(--khaki-dark) 100%);
    padding: 80px 0;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.access-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    color: var(--white-pure);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.access-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-8px);
}

.access-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.access-icon img {
    width: 30px;
    height: 30px;
}

.access-title {
    font-size: 1rem;
    font-weight: 600;
}

/* 资讯列表区块 */
.news-section {
    background: var(--white-pure);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-category-title {
    font-size: 1.4rem;
    color: var(--khaki-primary);
    margin: 40px 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(196, 165, 116, 0.2);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .access-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-floating-card {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .access-grid {
        grid-template-columns: 1fr;
    }
}
