/* Full Screen Hero Start Page - Enhanced Visual Style */
.hero-start-page {
    min-height: 100vh !important;
    width: 100% !important;
    position: relative !important;
    background-image: url('../front-end-img/hero.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    scroll-behavior: smooth;
    z-index: 10;
    /* Prevent flashing during page refresh */
    display: block !important;
    visibility: visible !important;
    /* Adjustments are handled in nav.css for top contact bar compatibility */
}

/* Animated background particles */
.hero-start-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        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.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: floatingParticles 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes floatingParticles {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* 确保启动页面被移除后不会重新出现 */
.hero-start-page.removed {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Enhanced overlay with dynamic effects */
.hero-start-overlay {
    background: linear-gradient(135deg, 
        rgba(27, 54, 93, 0.9) 0%, 
        rgba(45, 55, 72, 0.8) 50%, 
        rgba(113, 128, 150, 0.7) 100%);
    backdrop-filter: blur(3px);
    z-index: 2;
}

.hero-start-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.03) 25%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.03) 75%, 
        transparent 100%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(100%);
        opacity: 1;
    }
}

/* Enhanced Content Styling */
.hero-start-content {
    z-index: 3 !important;
    padding: 2rem;
    position: relative !important;
    min-height: 100vh !important;
}

.hero-start-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.1;
    }
}

/* Logo and Brand */
.hero-start-title {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.1);
    background: linear-gradient(45deg, #ffffff, #f8f9fa, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 6s ease-in-out infinite;
    margin-bottom: 0.5rem;
    position: relative;
}

.hero-start-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    transform: translateX(-50%);
    animation: underlineGlow 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes underlineGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-50%) scaleX(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1.2);
    }
}

.hero-start-subtitle {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-start-tagline {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Action Buttons - Professional styling */
.hero-start-actions {
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-start-btn-primary {
    background: linear-gradient(180deg, #1b365d 0%, #2d3748 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(27, 54, 93, 0.2);
    transition: all 0.25s ease;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    position: relative;
    cursor: pointer;
    user-select: none;
    outline: none;
    text-decoration: none;
    color: #ffffff;
    padding: 0.875rem 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-width: 180px;
    max-width: 280px;
    line-height: 1.2;
}

.hero-start-btn-primary:hover {
    background: linear-gradient(180deg, #2d3748 0%, #1b365d 100%);
    box-shadow: 0 4px 12px rgba(27, 54, 93, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.hero-start-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(27, 54, 93, 0.4);
    background: linear-gradient(180deg, #1b365d 0%, #2d3748 100%);
}

.hero-start-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    transition: all 0.25s ease;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    user-select: none;
    outline: none;
    text-decoration: none;
    color: #ffffff;
    padding: 0.875rem 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-width: 180px;
    max-width: 280px;
    line-height: 1.2;
}

.hero-start-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.hero-start-btn-secondary:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Scroll Down Indicator - Enhanced visibility and positioning */
.hero-start-scroll-indicator {
    text-align: center;
    opacity: 1;
    visibility: visible;
    animation: fadeInUp 0.8s ease-out;
    z-index: 10;
    position: relative;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-start-scroll-indicator small {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

.scroll-down-arrow {
    animation: bounce 2s infinite;
    color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.scroll-down-arrow:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    animation-play-state: paused;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

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

/* Mobile Responsive - Fixed Button Display */
@media (max-width: 1200px) {
    .hero-start-title {
        font-size: 3rem;
    }
    
    .hero-start-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-start-tagline {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* Fixed button layout for mobile */
    .hero-start-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        margin-bottom: 3rem;
        gap: 1rem;
    }
    
    .hero-start-btn-primary,
    .hero-start-btn-secondary {
        padding: 1rem 2.25rem !important;
        font-size: 0.875rem !important;
        margin-bottom: 0 !important;
        width: auto !important;
        max-width: 280px !important;
        min-width: 220px !important;
        height: auto !important;
        min-height: 52px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
        font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        color: #ffffff !important;
        line-height: 1.2 !important;
        transition: all 0.25s ease !important;
        cursor: pointer !important;
        user-select: none !important;
        /* Override Bootstrap margin classes */
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-inline-start: 0 !important;
        margin-inline-end: 0 !important;
        /* Mobile touch optimization */
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
    }
    
    .hero-start-btn-primary {
        background: linear-gradient(180deg, #1b365d 0%, #2d3748 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        box-shadow: 0 3px 12px rgba(27, 54, 93, 0.25) !important;
    }
    
    .hero-start-btn-primary:hover {
        background: linear-gradient(180deg, #2d3748 0%, #1b365d 100%) !important;
        box-shadow: 0 5px 18px rgba(27, 54, 93, 0.3) !important;
        border-color: rgba(255, 255, 255, 0.35) !important;
        transform: translateY(-2px) !important;
    }
    
    .hero-start-btn-primary:active {
        background: linear-gradient(180deg, #1b365d 0%, #2d3748 100%) !important;
        box-shadow: 0 1px 6px rgba(27, 54, 93, 0.4) !important;
        transform: translateY(0) !important;
    }
    
    .hero-start-btn-secondary {
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
        backdrop-filter: blur(5px) !important;
    }
    
    .hero-start-btn-secondary:hover {
        background: rgba(255, 255, 255, 0.15) !important;
        border-color: rgba(255, 255, 255, 0.7) !important;
        box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1) !important;
        transform: translateY(-2px) !important;
    }
    
    .hero-start-btn-secondary:active {
        background: rgba(255, 255, 255, 0.05) !important;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2) !important;
        transform: translateY(0) !important;
    }
    
    .hero-start-btn-primary:active,
    .hero-start-btn-secondary:active {
        transform: translateY(0) !important;
        width: auto !important;
        max-width: 250px !important;
        min-width: 200px !important;
    }
    
    /* Specifically target the first button to remove Bootstrap's me-3 class effect */
    .hero-start-actions .hero-start-btn-primary.me-3 {
        margin-right: 0 !important;
        margin-inline-end: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .hero-start-content {
        padding: 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
    }
}

@media (max-width: 576px) {
    .hero-start-actions {
        padding: 0 1.5rem;
        gap: 1rem;
    }
    
    .hero-start-btn-primary,
    .hero-start-btn-secondary {
        padding: 0.875rem 1.875rem !important;
        font-size: 0.8rem !important;
        max-width: 260px !important;
        min-width: 200px !important;
        height: auto !important;
        min-height: 48px !important;
        border-radius: 7px !important;
        margin-bottom: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
        font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
        font-weight: 600 !important;
        letter-spacing: 0.4px !important;
        line-height: 1.2 !important;
        transition: all 0.25s ease !important;
        /* Mobile touch optimization */
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
        /* Override Bootstrap margin classes */
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-inline-start: 0 !important;
        margin-inline-end: 0 !important;
    }
    
    /* Specifically target the first button */
    .hero-start-actions .hero-start-btn-primary.me-3 {
        margin-right: 0 !important;
        margin-inline-end: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .hero-start-scroll-indicator {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-start-title {
        font-size: 2.5rem;
    }
    
    .hero-start-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-start-tagline {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-start-actions {
        gap: 0.875rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .hero-start-btn-primary,
    .hero-start-btn-secondary {
        max-width: 240px !important;
        min-width: 180px !important;
        padding: 0.75rem 1.5rem !important;
        font-size: 0.775rem !important;
        border-radius: 6px !important;
        height: auto !important;
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
        font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
        font-weight: 600 !important;
        letter-spacing: 0.3px !important;
        line-height: 1.1 !important;
        transition: all 0.25s ease !important;
        /* Mobile touch optimization */
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
        /* Override Bootstrap margin classes */
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-inline-start: 0 !important;
        margin-inline-end: 0 !important;
    }
    
    /* Specifically target the first button */
    .hero-start-actions .hero-start-btn-primary.me-3 {
        margin-right: 0 !important;
        margin-inline-end: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .hero-start-scroll-indicator {
        margin-bottom: 1.5rem;
    }
    
    .scroll-down-arrow {
        width: 45px;
        height: 45px;
    }
}

/* Smooth entrance animations */
.hero-start-page {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Exit animation */
.hero-start-page.hiding {
    animation: slideUp 1s ease-in-out forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(-100%);
    }
}

/* 移除复杂特效，保持简洁的设计风格 */ 