/* 首页专用样式文件 */

/* 动画定义 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

/* 工具类样式 */
.btn-pulse {
    animation: pulse 2s infinite;
}

.content-auto {
    content-visibility: auto;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-outline {
    background: transparent;
    border: 2px solid #818CF8;
    color: #4338CA;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(129, 140, 248, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -3px rgba(129, 140, 248, 0.3);
}

/* 基础布局类 */
.container-base {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* 标题样式 */
.page-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 36rem;
}

/* 按钮样式 */
.btn-primary {
    background-color: #ffffff;
    color: #3B82F6;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #f3f4f6;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 表单样式 */
.form-label {
    display: block;
    font-size: 1.125rem;
    text-align: left;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.form-container {
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    color: #1f2937;
    transition: all 0.3s ease;
}

.form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 优势卡片样式 */
.advantage-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: #F1F5F9;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.advantage-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 0.75rem;
}

/* 头部导航样式 */
.header-nav {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .header-container {
        flex-direction: row;
    }
}
@media (min-width: 1024px) {
    .header-container {
        max-width: 1024px;
    }
}
@media (min-width: 1280px) {
    .header-container {
        max-width: 1280px;
    }
}
@media (min-width: 1536px) {
    .header-container {
        max-width: 1536px;
    }
}
.u

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .logo-section {
        margin-bottom: 0;
    }
}

/* Hero区域样式 */
.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, rgba(30, 58, 138, 0.8), rgba(59, 130, 246, 0.4));
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
    color: #ffffff;
}

/* 区域样式 */
.section-gradient {
    padding: 4rem 0;
    background: linear-gradient(to right, #1E3A8A, #3B82F6);
    color: #ffffff;
}

.section-white {
    padding: 4rem 0;
    background-color: #ffffff;
}

/* 页脚样式 */
.footer-section {
    background-color: #1E3A8A;
    color: #ffffff;
    padding: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
}

/* Element UI 样式覆盖 */
.el-input__inner {
    border-radius: 0.5rem !important;
    padding: 0.5rem 1rem !important;
    height: auto !important;
    line-height: 1.5 !important;
}

.el-form-item.text-left {
    text-align: left !important;
}

.el-form-item.text-left .el-checkbox {
    justify-content: flex-start !important;
}

.el-select {
    width: 100% !important;
}

.el-select .el-input__inner {
    border-radius: 0.5rem !important;
}

.el-textarea__inner {
    border-radius: 0.5rem !important;
    padding: 0.5rem 1rem !important;
}

.el-button {
    border-radius: 0.5rem !important;
    padding: 1rem 1.5rem !important;
}

.el-checkbox__label {
    font-size: 1rem !important;
} 