/* 完全重写hero区域 */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    will-change: transform;
    contain: layout style paint;
}

/* 添加动态背景 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: backgroundFloat 10s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    z-index: 2;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    will-change: transform, opacity;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    font-weight: 300;
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero-benefits {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    border-left: 4px solid #ffd700;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: slideInUp 1s ease-out 0.4s both;
}

.hero-benefits i {
    font-size: 1.3rem;
    color: #ffd700;
}

.hero-highlights {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    animation: slideInUp 1s ease-out 0.6s both;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 140px;
}

.highlight-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.highlight-number {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 0.5rem;
}

.highlight-text {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: slideInUp 1s ease-out 0.8s both;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
    background: linear-gradient(45deg, #ff5252, #d84315);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* 创意建筑可视化 */
.hero-visual {
    flex: 0 0 400px;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-building {
    position: relative;
    width: 300px;
    height: 250px;
    animation: float 6s ease-in-out infinite;
}

.building-main {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 150px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.building-left {
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 70px;
    height: 120px;
    background: linear-gradient(145deg, #ffffff, #e8e8e8);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.building-right {
    position: absolute;
    bottom: 0;
    right: 20%;
    width: 80px;
    height: 100px;
    background: linear-gradient(145deg, #ffffff, #e8e8e8);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.building-details {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 60px;
}

.window {
    width: 20px;
    height: 20px;
    background: #667eea;
    border-radius: 3px;
    opacity: 0.8;
}

.door {
    grid-column: 1 / -1;
    width: 25px;
    height: 35px;
    background: #764ba2;
    border-radius: 3px 3px 0 0;
    margin: 0 auto;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    will-change: transform;
}

.float-element {
    position: absolute;
    font-size: 2rem;
    animation: floatAround 8s ease-in-out infinite;
    will-change: transform;
}

.float-element:nth-child(1) {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.float-element:nth-child(2) {
    top: 60%;
    right: 30%;
    animation-delay: 2s;
}

.float-element:nth-child(3) {
    top: 40%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes floatAround {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
    75% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 装饰元素 */
.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: white;
    clip-path: polygon(0 50%, 100% 100%, 0 100%);
}

/* 滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-hint i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-image i {
        font-size: 8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-highlights {
        justify-content: center;
    }
    
    .highlight-item {
        min-width: 100px;
    }
    
    .highlight-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-buttons .btn {
        flex: 1;
        min-width: 200px;
    }
    
    .hero-image {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* 改进建筑图标 */
.hero-building-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-building-icon i {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    animation: float-building 4s ease-in-out infinite;
}

.building-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

/* 简化滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    animation: bounce-arrow 2s infinite;
    cursor: pointer;
}

@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateX(-50%) translateY(0); 
    }
    40% { 
        transform: translateX(-50%) translateY(-10px); 
    }
    60% { 
        transform: translateX(-50%) translateY(-5px); 
    }
} 