:root {
    --primary: #FF5A00;
    --dark-bg: #0a0a0a;
    --card-bg: #151515;
    --border: #333;
    --text: #e0e0e0;
    --text-light: #aaa;
}
/* font-awesome-local.css */
/* 修改字体路径指向本地文件 */
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("./webfonts/fa-brands-400.woff2") format("woff2"),
    url("./webfonts/fa-brands-400.woff") format("woff"),
    url("./webfonts/fa-brands-400.ttf") format("truetype");
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("./webfonts/fa-regular-400.woff2") format("woff2"),
    url("./webfonts/fa-regular-400.woff") format("woff"),
    url("./webfonts/fa-regular-400.ttf") format("truetype");
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("./webfonts/fa-solid-900.woff2") format("woff2"),
    url("./webfonts/fa-solid-900.woff") format("woff"),
    url("./webfonts/fa-solid-900.ttf") format("truetype");
}

@font-face {
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("./webfonts/fa-v4compatibility.woff2") format("woff2"),
    url("./webfonts/fa-v4compatibility.woff") format("woff"),
    url("./webfonts/fa-v4compatibility.ttf") format("truetype");
}

/* 图标样式类 - 您需要从原始CSS中复制完整内容 */
.fa {
    font-family: var(--fa-style-family, "Font Awesome 6 Free");
    font-weight: var(--fa-style, 900);
}

.fa-solid,
.fas {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.fa-regular,
.far {
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
}

.fa-brands,
.fab {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400;
}

/* 具体图标定义 - 您需要复制完整版本或只复制您需要的部分 */
.fa-globe-americas:before { content: "\f57d"; }
.fa-building:before { content: "\f1ad"; }
.fa-envelope:before { content: "\f0e0"; }
.fa-phone:before { content: "\f095"; }
.fa-flag:before { content: "\f024"; }
.fa-box:before { content: "\f466"; }
.fa-comment-dots:before { content: "\f4ad"; }
.fa-shield-alt:before { content: "\f3ed"; }
.fa-paper-plane:before { content: "\f1d8"; }
.fa-check-circle:before { content: "\f058"; }
.fa-spinner:before { content: "\f110"; }
.fa-search:before { content: "\f002"; }
.fa-headset:before { content: "\f590"; }
.fa-clock:before { content: "\f017"; }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
    background-image:
            radial-gradient(circle at 10% 20%, rgba(40, 40, 60, 0.5) 0%, transparent 40%),
            radial-gradient(circle at 90% 80%, rgba(30, 50, 40, 0.4) 0%, transparent 40%);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
}

.header {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.header h1 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.header p {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-container {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #f0f0f0;
    font-weight: 600;
    font-size: 0.95rem;
}

.required::after {
    content: " *";
    color: #ff5555;
}

input, select, textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(30, 30, 35, 0.8);
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.15);
    background-color: rgba(35, 35, 40, 0.9);
}

input::placeholder, textarea::placeholder {
    color: #777;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cccccc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.privacy-section {
    background-color: rgba(25, 25, 30, 0.8);
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 4px solid var(--primary);
}

.privacy-section h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-content {
    max-height: 150px;
    overflow-y: auto;
    padding: 15px;
    background-color: rgba(20, 20, 25, 0.8);
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light);
    margin-bottom: 15px;
}

.privacy-content p {
    margin-bottom: 10px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
}

.checkbox-group input {
    width: 18px;
    margin-top: 4px;
    margin-right: 10px;
}

.checkbox-group label {
    font-size: 0.9rem;
    font-weight: normal;
    line-height: 1.4;
}

.checkbox-group a {
    color: var(--primary);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, #FF5A00 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(0deg, #c80000 0%, #c80000 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 0, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: #444;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(10, 10, 15, 0.8);
    color: var(--text-light);
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
}

.success-message {
    display: none;
    background-color: rgba(30, 60, 30, 0.9);
    color: #a0e8a0;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    border-left: 4px solid #4CAF50;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .header {
        padding: 20px;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .form-container {
        padding: 20px;
    }

    .container {
        border-radius: 12px;
    }

    body {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.3rem;
    }

    .header p {
        font-size: 0.9rem;
    }

    .form-container {
        padding: 15px;
    }

    input, select, textarea {
        padding: 12px 14px;
    }

    .privacy-section {
        padding: 15px;
    }
}

.form-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.form-icon i {
    color: var(--primary);
    font-size: 0.9rem;
}
.error-message {
    color: #ff5555;
    font-size: 0.9em;
    margin-top: 5px;
    display: none;
}
.error-highlight {
    border: 1px solid #ff5555 !important;
    padding: 8px;
    border-radius: 4px;
    background-color: rgba(255, 85, 85, 0.05);
}

/* 新增错误提示样式 */
.error-highlight {
    border: 1px solid #ff5555 !important;
    padding: 8px;
    border-radius: 4px;
    background-color: rgba(255, 85, 85, 0.05);
}

/* 新增：隐私协议弹出框样式 */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.privacy-modal.active {
    display: flex;
}

.privacy-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid #333;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
    animation: slideUp 0.3s ease;
}

.privacy-modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #333;
    background: linear-gradient(135deg, #252525 0%, #151515 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.privacy-modal-header h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.privacy-modal-close {
    background: none;
    border: 1px solid #444;
    color: #aaa;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.privacy-modal-close:hover {
    color: #fff;
    border-color: #FF5A00;
    background-color: rgba(255, 90, 0, 0.1);
}

.privacy-modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: 60vh;
    color: #e0e0e0;
    line-height: 1.7;
}

.privacy-modal-body h4 {
    color: #fff;
    margin: 25px 0 15px 0;
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.privacy-modal-body p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.privacy-modal-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-modal-body li {
    margin-bottom: 10px;
}

.privacy-link {
    color: #FF5A00;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 600;
}

.privacy-link:hover {
    color: #ff8a00;
    text-decoration: underline;
}

/* 滚动条样式 */
.privacy-modal-body::-webkit-scrollbar {
    width: 8px;
}

.privacy-modal-body::-webkit-scrollbar-track {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 4px;
}

.privacy-modal-body::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.privacy-modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 错误提示样式 */
.error-highlight {
    border: 1px solid #ff5555 !important;
    padding: 8px;
    border-radius: 4px;
    background-color: rgba(255, 85, 85, 0.05);
}

.error-message {
    color: #ff5555;
    font-size: 0.9em;
    margin-top: 5px;
    display: none;
}
/* 设置所有复选框的选中颜色 */
input[type="checkbox"] {
    accent-color: #FF5A00; /* 使用你的主题橙色 */
}

/* 或者只设置特定复选框 */
#privacyAgreement {
    accent-color: #FF5A00;
}
.slideshow-container {
    position: relative;
    width: 100%;
    height: 768px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 指示器样式 */
.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: white;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.slide-nav:hover {
    background: rgba(0,0,0,0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}