
/* Main content area */
.hero {
    /* height: 100vh; */
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* position: relative; */
    padding: 0 20px;
}

/* Video background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.7;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    z-index: -1;
}

/* Title and description */
.hero-content {
    width: 80%;
    max-width: 900px;
    margin-top: 100px;
    z-index: 2;
}

h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #f2f1ef);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 80px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Button container */
.button-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* New golden button style */
.gradient-btn {
    position: relative;
    padding: 25px 40px;
    font-size: 1.6rem;
    font-weight: 500;
    border: none;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    text-decoration: none !important;
    width: 350px;
}

.gradient-btn:hover {
    box-shadow: 0 10px 25px rgba(255, 42, 109, 0.5);
    transform: translateY(-5px);
}

/* Bottom section */
.features {
    padding: 80px 50px;
    background: rgba(10, 10, 10, 0.95);
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-card i {
    font-size: 40px;
    margin-bottom: 20px;
    color: #ff0040;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

footer {
    text-align: center;
    padding: 30px;
    background: #000;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.footer-link:not(:last-child):after {
    content: "|";
    position: absolute;
    right: -15px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-link:hover {
    color: #ff0040;
}

.copyright {
    font-size: 14px;
    margin-top: 15px;
}

/* Contact us tooltip styles */
.contact-item {
    position: relative;
    display: inline-block;
}

.contact-tooltip {
    visibility: hidden;
    opacity: 0;
    width: 180px;
    background-color: rgba(40, 40, 40, 0.95);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 10px;
    position: absolute;
    z-index: 1000;
    bottom: 70%;
    left: 60%;
    transform: translateX(-50%);
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-tooltip .email-text {
    font-size: 14px;
    color: #f0f0f0;
    word-break: break-all;
}

.contact-item:hover .contact-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Animation effects */
@keyframes goldenGlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* 修复输入框背景色问题 */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary);
    -webkit-box-shadow: 0 0 0px 1000px #2a2a2a inset;
    transition: background-color 5000s ease-in-out 0s;
}

.form-control:autofill,
.form-control:autofill:hover,
.form-control:autofill:focus {
    -webkit-text-fill-color: var(--text-primary);
    -webkit-box-shadow: 0 0 0px 1000px #2a2a2a inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* 确保输入框在所有状态下保持正确样式 */
.form-control,
.form-control:focus,
.form-control:active,
.form-control:hover {
    background-color: #2a2a2a !important;
    color: var(--text-primary) !important;
}

/* 隐藏状态 */
.header-hidden {
    transform: translateY(-100%);
}

.nav-hidden {
    opacity: 0;
    transform: translateY(-20px);
}

@media (max-width: 992px) {

    h1 {
        font-size: 2rem;
        margin-bottom: 20px;
        background: linear-gradient(to right, #ffffff, #f2f1ef);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        font-weight: 800;
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 80px;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.6;
    }

    .gradient-btn {
        padding: 15px 25px;
        font-size: 1.4rem;
        font-weight: 500;
        border: none;
        width: 350px;
    }
}
