/* 首页专属样式 - 现代科技风格 */

/* Hero Banner */
.hero-banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* 网格背景 */
.tech-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* 光晕效果 */
.glow-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 20s ease-in-out infinite;
}

.glow-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
}

.glow-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

/* 粒子效果 */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) { left: 5%; top: 10%; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2) { left: 15%; top: 30%; animation-duration: 18s; animation-delay: -2s; }
.particle:nth-child(3) { left: 25%; top: 50%; animation-duration: 14s; animation-delay: -4s; }
.particle:nth-child(4) { left: 35%; top: 70%; animation-duration: 16s; animation-delay: -6s; }
.particle:nth-child(5) { left: 45%; top: 20%; animation-duration: 20s; animation-delay: -8s; }
.particle:nth-child(6) { left: 55%; top: 40%; animation-duration: 13s; animation-delay: -1s; }
.particle:nth-child(7) { left: 65%; top: 60%; animation-duration: 17s; animation-delay: -3s; }
.particle:nth-child(8) { left: 75%; top: 80%; animation-duration: 15s; animation-delay: -5s; }
.particle:nth-child(9) { left: 85%; top: 25%; animation-duration: 19s; animation-delay: -7s; }
.particle:nth-child(10) { left: 95%; top: 55%; animation-duration: 11s; animation-delay: -9s; }
.particle:nth-child(11) { left: 10%; top: 85%; animation-duration: 14s; animation-delay: -2.5s; }
.particle:nth-child(12) { left: 30%; top: 15%; animation-duration: 16s; animation-delay: -4.5s; }
.particle:nth-child(13) { left: 50%; top: 75%; animation-duration: 18s; animation-delay: -6.5s; }
.particle:nth-child(14) { left: 70%; top: 35%; animation-duration: 12s; animation-delay: -8.5s; }
.particle:nth-child(15) { left: 90%; top: 65%; animation-duration: 20s; animation-delay: -10.5s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* 浮动形状 */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border: 1px solid rgba(99, 102, 241, 0.2);
    animation: shapeFloat 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: rotate(45deg);
    animation-delay: -10s;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 0.5;
    }
}

/* Hero内容 */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 100px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 14px;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

/* 快捷入口 */
.quick-entry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.entry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 24px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.entry-item:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.entry-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.entry-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.entry-item span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
}

.entry-item p {
    font-size: 14px;
    color: var(--text-gray);
    text-align: center;
}

/* 核心优势 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition);
}

.advantage-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.advantage-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-white);
}

.advantage-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 业务预览 */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.business-item {
    text-align: center;
    padding: 48px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: var(--transition);
}

.business-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15);
}

.business-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.business-item:hover .business-icon {
    transform: scale(1.1) rotate(5deg);
}

.business-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.business-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-white);
}

.business-item p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.business-link {
    color: var(--primary-light);
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.business-link:hover {
    color: var(--primary-color);
}

/* 企业理念 */
.philosophy {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.philosophy-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.philosophy-content h2 {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
    color: var(--primary-light);
}

.philosophy-main {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
}

.philosophy-text {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 4px;
}

.philosophy-divider {
    font-size: 40px;
    color: var(--primary-light);
    opacity: 0.6;
}

.philosophy-desc {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 响应式 */
@media (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }

    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-entry {
        grid-template-columns: repeat(3, 1fr);
    }

    .glow-orb-1, .glow-orb-2, .glow-orb-3 {
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .quick-entry {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-text {
        font-size: 32px;
    }

    .philosophy-main {
        flex-direction: column;
        gap: 8px;
    }

    .floating-shapes {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .entry-item {
        padding: 24px 20px;
    }
}
