/* Hero Section & Top Navigation Styles */
/* Extracted from main style.css for modular organization */

/* ===== Hero Section - Modern Compact Layout ===== */

/* Hero Section - 现代紧凑布局优化版 */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 60px);
    padding: 80px 20px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(10, 26, 47, 0.95) 0%, rgba(13, 17, 23, 0.9) 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-bottom: 1px solid var(--theme-border-color);
}

/* Hero 主要内容区域 */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

/* 标题样式优化 */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* 副标题样式 */
.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 600px;
}

/* CTA 按钮组 */
.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

.hero-cta-primary,
.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: center;
}

.hero-cta-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(var(--theme-accent-rgb, 59, 130, 246), 0.3);
    position: relative;
    overflow: hidden;
}

.hero-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.hero-cta-primary:hover::before {
    left: 100%;
}

.hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-gold);
    background: linear-gradient(135deg, var(--secondary-gold) 0%, var(--primary-gold) 100%);
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* 关键特性网格 */
.key-features-grid {
    width: 100%;
    max-width: 900px;
    margin-top: 60px;
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
}

.feature-item i {
    color: var(--primary-gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-1px);
}

/* 滚动指示器 */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-gold);
    font-size: 1.2rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
    z-index: 2;
}

/* 跳跃动画 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-8px);
    }
    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* ===== Top Navigation ===== */

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--theme-border-color);
    z-index: 1000;
    transition: top 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    height: 60px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: var(--font-size-md);
    transition: color 0.3s;
}

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

.nav-cta {
    background: var(--primary-gold);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.nav-cta:hover {
    background: var(--secondary-gold);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: var(--text-light);
    transition: 0.4s;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(13, 17, 23, 0.95);
        padding: var(--spacing-lg);
        border-bottom: 1px solid var(--theme-border-color);
    }
}

/* ===== Body padding adjustment for fixed nav ===== */
/* This ensures content doesn't hide behind the fixed navigation */
body {
    padding-top: 60px; /* Add padding to offset fixed nav */
}