/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f9e;
    --primary-dark: #1e4577;
    --secondary-color: #e74c3c;
    --success-color: #27ae60;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e6ed;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    min-height: 100vh;
    padding: 15px;
    line-height: 1.5;
    color: var(--text-dark);
    position: relative;
    overflow-x: hidden;
}

/* 视频背景 */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 15px;
    position: relative;
    z-index: 1;
}

/* 进度条样式 */
.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(44, 95, 158, 0.2);
}

.progress-step.completed .step-circle {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.step-label {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: var(--border-color);
    margin: 0 10px;
    position: relative;
    top: -15px;
}

/* 表单步骤 */
.form-wrapper {
    position: relative;
    min-height: 400px;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 步骤头部 */
.step-header {
    text-align: center;
    margin-bottom: 20px;
}

.icon-book {
    font-size: 48px;
    margin-bottom: 12px;
    animation: bounce 2s infinite;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.icon-book i {
    display: inline-block;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.step-header h1 {
    font-size: 26px;
    color: var(--bg-white);
    margin-bottom: 8px;
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* 问题卡片 */
.question-card {
    background: var(--bg-white);
    border-radius: 18px;
    padding: 25px 30px;
    box-shadow: var(--shadow-lg);
}

.question-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.question-title {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 600;
}

/* 选项样式 */
.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.option-card {
    position: relative;
    cursor: pointer;
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.option-card input[type="radio"]:checked + .option-content {
    background: linear-gradient(135deg, rgba(44, 95, 158, 0.1), rgba(30, 69, 119, 0.1));
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 95, 158, 0.2);
}

.option-card:hover .option-content {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.option-icon {
    font-size: 22px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--primary-color);
}

.option-icon i {
    display: inline-block;
}

/* 按钮样式 */
.btn-next,
.btn-back,
.btn-cta {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-next {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-next:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-next:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
}

.btn-group {
    display: flex;
    gap: 15px;
}

.btn-back {
    flex: 1;
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-back:hover {
    background: var(--border-color);
}

.btn-group .btn-next {
    flex: 2;
}

/* 成功页面 */
.success-card {
    background: var(--bg-white);
    border-radius: 18px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.success-icon {
    font-size: 56px;
    margin-bottom: 15px;
    animation: scaleUp 0.5s ease;
    color: var(--success-color);
}

.success-icon i {
    display: inline-block;
}

@keyframes scaleUp {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-title {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.4;
    font-weight: 700;
}

.benefits-section {
    text-align: left;
    margin-bottom: 25px;
}

.benefits-intro {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 18px;
    font-weight: 600;
}

.benefit-item {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.benefit-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.benefit-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-dark);
}

.btn-cta {
    width: 100%;
    background: linear-gradient(135deg, #06c755, #05a847);
    color: white;
    font-size: 17px;
    padding: 16px 32px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-icon {
    font-size: 20px;
}

/* 合规说明 */
.compliance-section {
    text-align: left;
    background: var(--bg-light);
    padding: 18px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.compliance-section h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.compliance-section ul {
    list-style: none;
    padding: 0;
}

.compliance-section li {
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.compliance-section li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 页脚 */
.footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.footer p {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 13px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* ======================================
   政策页面样式
   ====================================== */

.policy-wrapper {
    background: var(--bg-white);
    border-radius: 18px;
    padding: 35px 40px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 25px;
}

.policy-header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.back-link {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-dark);
    transform: translateX(-5px);
}

.back-link i {
    font-size: 16px;
}

.policy-icon {
    font-size: 56px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.policy-icon i {
    display: inline-block;
}

.policy-header h1 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.update-date {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 35px;
}

.policy-section h2 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-section h2 i {
    color: var(--primary-color);
    font-size: 22px;
}

.policy-section p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.policy-section ul,
.policy-section ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.policy-section li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.policy-section ul li {
    list-style: disc;
}

.policy-section ol li {
    list-style: decimal;
}

.policy-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

.note {
    background: linear-gradient(135deg, rgba(44, 95, 158, 0.08), rgba(30, 69, 119, 0.08));
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
}

.note i {
    color: var(--primary-color);
    margin-right: 8px;
}

.contact-box {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
}

.contact-box p {
    margin-bottom: 8px;
    font-size: 15px;
}

.contact-box p:last-child {
    margin-bottom: 0;
}

.contact-box i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 20px;
    display: inline-block;
}

.policy-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.policy-footer p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.policy-footer .thank-you {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.6;
}

.btn-return {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-return:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-return i {
    font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 20px 10px;
    }

    .progress-bar {
        padding: 20px 15px;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .step-label {
        font-size: 11px;
    }

    .progress-line {
        margin: 0 5px;
    }

    .step-header h1 {
        font-size: 24px;
    }

    .icon-book {
        font-size: 48px;
    }

    .question-card {
        padding: 25px 20px;
    }

    .question-title {
        font-size: 18px;
    }

    .option-content {
        padding: 15px 20px;
        font-size: 16px;
    }

    .btn-next,
    .btn-back,
    .btn-cta {
        padding: 14px 30px;
        font-size: 16px;
    }

    .success-card {
        padding: 30px 20px;
    }

    .success-title {
        font-size: 22px;
    }

    .benefit-item {
        padding: 15px;
        gap: 15px;
    }

    .benefit-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .benefit-text {
        font-size: 14px;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn-group .btn-next {
        flex: 1;
    }

    /* 政策页面响应式 */
    .policy-wrapper {
        padding: 25px 20px;
    }

    .policy-header {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    .back-link {
        position: static;
        display: flex;
        justify-content: flex-start;
        margin-bottom: 20px;
    }

    .policy-icon {
        font-size: 48px;
    }

    .policy-header h1 {
        font-size: 26px;
    }

    .policy-section h2 {
        font-size: 18px;
        flex-wrap: wrap;
    }

    .policy-section h2 i {
        font-size: 20px;
    }

    .policy-section p,
    .policy-section li {
        font-size: 14px;
    }

    .contact-box {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .progress-bar {
        padding: 15px 10px;
    }

    .step-label {
        display: none;
    }

    .question-card {
        padding: 20px 15px;
    }

    .success-card {
        padding: 25px 15px;
    }

    /* 政策页面小屏幕优化 */
    .policy-wrapper {
        padding: 20px 15px;
    }

    .policy-header h1 {
        font-size: 22px;
    }

    .policy-icon {
        font-size: 42px;
    }

    .policy-section {
        margin-bottom: 25px;
    }

    .policy-section h2 {
        font-size: 17px;
    }

    .back-link {
        font-size: 13px;
    }
}

