/* 前端通用样式库 - 可重复使用组件 */

/* ===== 重置样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
a{color:inherit;text-decoration:inherit}
.bg-orange {
    background-color: #f48024;
}
.bg-white {background-color: #fff;}
/* ===== 页面容器 ===== */
.page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.round {border-radius: 100%;}
/* ===== 导航栏样式 ===== */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-links {
    display: flex;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    margin-right: 30px;
    transition: color 0.3s;
    font-size: 16px;
}

.nav-link:hover,
.nav-link.active {
    color: #f48024;
}

.top-nav {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}


/* ===== 英雄区域 ===== */
.hero-section {
    background: url(../images/banner1.png) right center/cover no-repeat;
    background-size: auto 100%, 100% 100%;
    padding: 100px 20px 80px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0;
    padding-left: 20px;
    position: relative;
    z-index: 2;
    justify-content: flex-start;
    text-align: left;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 600px;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 400px;
    width: 140px;
}

/* ===== 英雄区域响应式样式 ===== */
@media (max-width: 992px) {
    .hero-section {
        background-position: center bottom;
        background-size: auto 70%, 100% 100%;
        padding: 80px 20px 60px;
        min-height: 400px;
    }
    
    .hero-container {
        justify-content: center;
        text-align: center;
    }
    
    .hero-title {
        font-size: 38px;
        max-width: 100%;
    }
    
    .hero-subtitle {
        font-size: 18px;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        background-size: auto 60%, 100% 100%;
        padding: 40px 20px;
        min-height: 350px;
        align-items: flex-start;
    }
    
    .hero-container {
        justify-content: flex-start;
        text-align: left;
        margin-top: 20px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
}

/* ===== 特性区域 ===== */
.features-section {
    padding: 80px 20px;
    background: #fff;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ffedd8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #f48024;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 16px;
    color: #718096;
    line-height: 1.6;
}

/* ===== 对比区域 ===== */
.comparison-section {
    padding: 80px 20px;
    background: #f8fafc;
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.comparison-header {
    display: grid;
    grid-template-columns: 150px 1fr 1fr;
    background: #2d3748;
    color: white;
}

.comparison-cell {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-row {
    display: grid;
    grid-template-columns: 150px 1fr 1fr;
}

.comparison-cell.content {
    border-bottom: 1px solid #e2e8f0;
    padding: 20px;
    display: flex;
    align-items: center;
}

.comparison-cell.welend {
    background: #ffedd8;
    font-weight: 600;
    color: #f48024;
}

/* ===== 客户案例区域 ===== */
.testimonials-section {
    padding: 80px 20px;
    background: #fff;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: #e2e8f0;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.author-details {
    font-size: 14px;
    color: #718096;
}

.testimonial-meta {
    font-size: 14px;
    font-weight: 600;
    color: #f48024;
    margin-top: 12px;
}

/* ===== CTA区域 ===== */
.cta-section {
    background: linear-gradient(135deg, #f48024 0%, #d05c15 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== 页脚 ===== */
.footer {
    background: #2d3748;
    color: #a0aec0;
    padding: 40px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #4a5568;
    text-align: center;
    font-size: 14px;
}

/* ===== Logo样式 ===== */
.logo {
    width: 140px;
    height: auto;
}

/* ===== 导航按钮 ===== */
.nav-buttons {
    display: flex;
    align-items: center;
}

.lang-selector {
    margin-right: 20px;
}

/* ===== 注册页面样式 ===== */
.signup-container {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    margin: 0 auto;
}

/* ===== 表单标题 ===== */
.form-title {
    text-align: center;
    margin-bottom: 20px;
    color: #2d3748;
    font-size: 24px;
    font-weight: 700;
}

.form-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #718096;
    font-size: 14px;
}

/* ===== 标签页 ===== */
.tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    cursor: pointer;
    font-weight: 600;
    color: #718096;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-item.active {
    color: #f48024;
    border-bottom-color: #f48024;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== 申请提示 ===== */
.apply-tips {
    margin-top: 30px;
    padding: 20px;
    border-radius: 4px;
}

.apply-tips h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #f48024;
    font-size: 16px;
}

.apply-tips ul {
    margin: 0;
    padding-left: 20px;
}

.apply-tips li {
    margin-bottom: 10px;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
}

.apply-tips li:last-child {
    margin-bottom: 0;
}

/* ===== 登录提示 ===== */
.login-note {
    margin-top: 20px;
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 38px;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-header .comparison-cell:first-child,
    .comparison-row .comparison-cell:first-child {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===== 应用页面通用头部 ===== */
.apply-header {
    background: linear-gradient(135deg, #1E3A6E 0%, #2D5A9E 100%);
    color: white;
    padding: 20px 15px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.apply-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.apply-header p {
    margin: 10px 0 0 0;
    font-size: 14px;
    opacity: 0.9;
}

.header-back {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    padding: 8px 15px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* ===== 登录页面样式 ===== */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.login-body {
    background: #644d73;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .signup-container {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 20px;
    }
}

html,
body {
    height: 100%;
    min-height: 100%;
    line-height: 1.6;
    color: #333;
}

/* ===== 布局类 ===== */
.flex {
    display: flex;
}

.flex-block {
    flex: 1;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}
.flex-wrap {flex-wrap: wrap;}
.align-center {align-items: center;}
/* ===== 间距类 ===== */
.pad10 {
    padding: 10px;
}

.pad20 {
    padding: 20px;
}

.pad30 {
    padding: 30px;
}

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb20 {
    margin-bottom: 20px;
}

.ml10 {
    margin-left: 10px;
}

.mr10 {
    margin-right: 10px;
}

/* ===== 文本类 ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: #f48024;
}

.text-success {
    color: #2ecc71;
}

.text-warning {
    color: #f39c12;
}

.text-danger {
    color: #e74c3c;
}

.text-muted {
    color: #7f8c8d;
}

.text-bold {
    font-weight: bold;
}

.text-lg {
    font-size: 1.2rem;
}

.text-xl {
    font-size: 1.5rem;
}
.text-p2-d {
    font-size: 14px;
    letter-spacing: .03em;
    line-height: 1.64;
}
.text-h5-d {
    font-size: 19px;
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.6;
}
/* ===== 按钮类 ===== */
.btn {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    font-size: 16px;
    padding: 14px 24px;
    width: 100%;
    margin: 10px;
}

.btn-sm {
    padding: 10px 20px;
    min-width: auto;
    margin-right: 10px;
    width: auto;
}

.btn-primary {
    background: #f48024;
    color: white;
}


.btn-success {
    background-color: #2ecc71;
    color: white;
}

.btn-success:hover {
    background-color: #27ae60;
}

.btn-warning {
    background-color: #f39c12;
    color: white;
}

.btn-warning:hover {
    background-color: #e67e22;
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #ddd;
    color: #555;
}

.btn-outline:hover {
    background-color: #f5f5f5;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== 表单类 ===== */
.form-group {
    margin-bottom: 15px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

/* form-input作为form-control的别名 */
.form-control, .form-input {
    width: 100%;
    padding: 22px 10px 10px 10px;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #f6f7f9;
}

.form-control:focus, .form-input:focus {
    outline: none;
    border-color: #f48024;
    box-shadow: 0 0 0 3px rgba(248, 128, 36, 0.1);
    background: transparent;
}

/* 浮动标签样式，需要更大的上边距 */
.floating-label + .form-control,
.floating-label + .form-input {
    padding: 28px 10px 10px 10px;
    margin-top: 24px;
}

/* 浮动标签样式 */
.floating-label {
    position: absolute;
    top: 18px;
    left: 16px;
    font-size: 16px;
    color: #718096;
    pointer-events: none;
    transition: all 0.2s ease;
}

.form-control:focus+.floating-label,
.form-control:not(:placeholder-shown)+.floating-label {
    top: 6px;
    left: 10px;
    font-size: 12px;
    color: #f48024;
    z-index: 1;
}

select.form-control:focus+.floating-label,
select.form-control:valid+.floating-label {
    top: 6px;
    left: 10px;
    font-size: 12px;
    color: #f48024;
    z-index: 1;
}

select.form-control:invalid:not(:focus)+.floating-label {
    top: 18px;
    left: 16px;
    font-size: 16px;
    color: #718096;
}

/* 下拉选择框特殊样式 */
select.form-control {
    color: #333 !important;
    cursor: pointer;
}

select.form-control:invalid:not(:focus) {
    color: transparent !important;
}

select.form-control:focus {
    color: #333 !important;
}

select.form-control option {
    color: #333;
}

select.form-control+.floating-label {
    background-color: transparent;
    padding: 0;
    z-index: 1;
}



/* ===== 卡片类 ===== */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

.card-header {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

/* ===== 表格类 ===== */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table th,
.table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #ddd;
}

/* ===== 警告框类 ===== */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d9ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* ===== 导航类 ===== */
.nav {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-right: 15px;
}

.nav-link {
    text-decoration: none;
    color: #555;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background-color: #f8f9fa;
    color: #3498db;
}

/* ===== 页面容器 ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

/* ===== 通用工具类 ===== */
.hidden {
    display: none;
}

.visible {
    display: block;
}

.border {
    border: 1px solid #ddd;
}

.border-top {
    border-top: 1px solid #ddd;
}

.border-bottom {
    border-bottom: 1px solid #ddd;
}

.border-left {
    border-left: 1px solid #ddd;
}

.border-right {
    border-right: 1px solid #ddd;
}

.rounded {
    border-radius: 4px;
}

.rounded-lg {
    border-radius: 8px;
}

.shadow-sm {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.shadow {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ===== 响应式工具 ===== */
@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }

    .flex-column-mobile {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 540px;
    }

    .hidden-mobile {
        display: none !important;
    }

    .visible-mobile {
        display: block !important;
    }
}