/* ========================================
   设计系统 - 变量定义 (Glassmorphism Upgrade)
   ======================================== */
:root {
    /* 主色调 - 增强饱和度与层次 (Brighter) */
    --primary: #38BFA7;
    --primary-light: #64D2C1;
    --primary-dark: #2C9688;
    --primary-gradient: linear-gradient(135deg, #38BFA7 0%, #2C9688 100%);
    --accent: #F4D03F;

    /* 成功/警告/错误 */
    --success: #38BFA7;
    --warning: #F5B041;
    --error: #EC7063;

    /* 玻璃拟态系统 */
    --glass-surface: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --glass-blur: blur(12px);

    /* 中性色 */
    --background: #F0F4F8;
    --surface: #FFFFFF;
    --surface-secondary: #F8FAFC;
    --border: rgba(226, 232, 240, 0.8);
    --border-light: rgba(241, 245, 249, 0.6);

    /* 文字颜色 */
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-tertiary: #94A3B8;
    --text-inverse: #FFFFFF;

    /* 阴影 - 更加弥散柔和 */
    --shadow-sm: 0 2px 4px rgba(148, 163, 184, 0.05);
    --shadow-md: 0 6px 12px rgba(148, 163, 184, 0.08);
    --shadow-lg: 0 12px 24px -4px rgba(148, 163, 184, 0.12);
    --shadow-xl: 0 24px 48px -12px rgba(148, 163, 184, 0.18);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* 间距 */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* 过渡 */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* 字体 */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 32px;
    --font-size-4xl: 42px;
}

/* ========================================
   全局样式重置
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 15% 50%, rgba(42, 157, 143, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(38, 70, 83, 0.08), transparent 25%),
        linear-gradient(135deg, #FDFBF7 0%, #EEF2FF 100%);
    background-attachment: fixed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ========================================
   应用容器
   ======================================== */
.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   进度指示器
   ======================================== */
.progress-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border-bottom: 1px solid var(--border-light);
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    width: 12.5%;
    transition: width var(--transition-slow);
}

.progress-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 50px;
    text-align: right;
}

.progress-text span:first-child {
    color: var(--primary);
}

/* ========================================
   页面容器
   ======================================== */
.pages-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.page {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: var(--space-xl) var(--space-lg);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all var(--transition-slow);
}

.page.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.page.prev {
    transform: translateX(-100%);
}

.page-content {
    width: 100%;
    max-width: 720px;
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   封面页
   ======================================== */
.cover-page {
    text-align: center;
    padding-top: var(--space-2xl);
}

.cover-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-xl);
    animation: float 3s ease-in-out infinite;
}

.cover-icon svg {
    width: 100%;
    height: 100%;
}

.cover-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.5px;
}

.cover-description {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-md);
    text-align: left;
}

.cover-description p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.cover-description p:last-child {
    margin-bottom: 0;
}

.cover-description p.highlight {
    color: var(--text-primary);
    font-weight: 500;
}

.btn-start {
    min-width: 200px;
    font-size: var(--font-size-lg);
    padding: var(--space-md) var(--space-xl);
}

/* ========================================
   区块标题
   ======================================== */
.section-badge {
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--text-inverse);
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.3px;
}

/* ========================================
   信息卡片（公司介绍页）
   ======================================== */
.info-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
}

.info-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-light);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item:first-child {
    padding-top: 0;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--surface-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.info-content h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.info-content p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
    margin-bottom: 4px;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

.info-list li strong {
    color: var(--text-primary);
}

.info-item.highlight-item {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(90, 200, 250, 0.05) 100%);
    margin: var(--space-md) calc(var(--space-lg) * -1);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border-bottom: none;
}

.info-item.highlight-item .info-icon {
    background: var(--primary-gradient);
}

.info-item.highlight-item .info-icon svg {
    stroke: white;
}

/* ========================================
   表单样式
   ======================================== */
.form-group {
    margin-bottom: var(--space-xl);
}

.form-group.large {
    margin-bottom: var(--space-2xl);
}

.form-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.label-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: var(--primary-gradient);
    color: var(--text-inverse);
    font-size: var(--font-size-xs);
    font-weight: 700;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.form-hint {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--space-md);
    padding-left: 36px;
}

.form-input,
.form-textarea {
    width: 100%;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--text-primary);
    transition: all var(--transition-fast);
    outline: none;
    line-height: 1.6;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.form-input:hover,
.form-textarea:hover {
    border-color: var(--primary-light);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
    transform: scale(1.005);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-tertiary);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* ========================================
   福利列表
   ======================================== */
.benefits-list {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.benefit-item:hover {
    background: var(--surface-secondary);
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    transition: transform var(--transition-normal);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(90, 200, 250, 0.1) 100%);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
}

.benefit-text {
    flex: 1;
}

.benefit-text strong {
    display: block;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.benefit-text span {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   双向了解页
   ======================================== */
.mutual-understanding {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.understanding-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto var(--space-xl) auto;
}

.understanding-icon svg {
    width: 100%;
    height: 100%;
}

/* ========================================
   感谢页
   ======================================== */
.thank-you-page {
    text-align: center;
    padding-top: var(--space-3xl);
}

.success-animation {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-xl);
}

.checkmark {
    width: 100%;
    height: 100%;
}

.checkmark-circle {
    stroke-dasharray: 340;
    stroke-dashoffset: 340;
    animation: checkmarkCircle 0.6s ease-out forwards;
}

.checkmark-check {
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: checkmarkCheck 0.4s 0.5s ease-out forwards;
}

.thank-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.thank-description {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.8;
}

.thank-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

.copy-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--text-primary);
    color: var(--text-inverse);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.copy-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.error-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--error);
    color: var(--text-inverse);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.error-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ========================================
   按钮样式
   ======================================== */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 122, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 122, 255, 0.05);
}

.btn-secondary:active {
    transform: scale(0.98);
}

.btn-submit {
    background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(52, 199, 89, 0.3);
}

.btn-submit:hover {
    box-shadow: 0 6px 24px rgba(52, 199, 89, 0.4);
}

/* 按钮禁用状态 */
.btn-primary:disabled,
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* 加载动画 - 统一定义在 animations.css */

/* ========================================
   必填标记
   ======================================== */
.required-mark {
    color: var(--error);
    margin-left: 4px;
    font-weight: 400;
}

/* ========================================
   页码导航指示器
   ======================================== */
.page-indicators {
    position: fixed;
    right: var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    z-index: 99;
}

.page-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.page-dot:hover {
    border-color: var(--primary-light);
    transform: scale(1.2);
}

.page-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-dot.visited {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

/* 手机端隐藏页码导航 */
@media (max-width: 768px) {
    .page-indicators {
        display: none;
    }
}

/* ========================================
   自动保存提示（进度条闪绿）
   ======================================== */
.progress-fill.saved-pulse {
    background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
    transition: background 0.3s ease;
}


/* ========================================
   确认弹窗
   ======================================== */
.confirm-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.confirm-modal.show {
    opacity: 1;
    visibility: visible;
}

.confirm-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.confirm-modal-content {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.confirm-modal.show .confirm-modal-content {
    transform: scale(1);
}

.confirm-modal-icon {
    margin-bottom: var(--space-md);
}

.confirm-modal-icon svg {
    stroke: var(--warning);
}

.confirm-modal-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.confirm-modal-message {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.confirm-modal-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.confirm-modal-actions button {
    flex: 1;
    max-width: 140px;
}

/* 危险按钮 */
.btn-danger {
    background: linear-gradient(135deg, var(--error) 0%, #E74C3C 100%) !important;
    box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3) !important;
}

.btn-danger:hover {
    box-shadow: 0 6px 24px rgba(231, 76, 60, 0.4) !important;
}

/* ========================================
   页面导航
   ======================================== */
.page-nav {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-light);
}

.page-nav .btn-secondary {
    flex: 0 0 auto;
}

.page-nav .btn-primary {
    flex: 1;
    max-width: 200px;
    margin-left: auto;
}

/* ========================================
   AI 工具使用了解
   ======================================== */
.ai-tools-page-desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.ai-tools-category {
    margin-bottom: var(--space-xl);
}

.ai-tools-category-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(56, 191, 167, 0.2);
}

.ai-tools-category-title svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary);
    flex-shrink: 0;
}

.ai-tools-list {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    max-width: 540px;
}

.ai-tool-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition-fast);
}

.ai-tool-item:last-child {
    border-bottom: none;
}

.ai-tool-item:hover {
    background: var(--surface-secondary);
}

.ai-tool-item.checked {
    background: rgba(56, 191, 167, 0.04);
}

/* 自定义复选框 */
.ai-tool-checkbox {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    cursor: pointer;
}

.ai-tool-checkbox input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
    margin: 0;
}

.ai-tool-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 6px;
    background: var(--surface);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-tool-checkbox input:checked+.checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.ai-tool-checkbox .checkmark::after {
    content: '';
    display: none;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.ai-tool-checkbox input:checked+.checkmark::after {
    display: block;
}

/* 工具名称 */
.ai-tool-name {
    flex: 1;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

/* 星级评分 */
.ai-tool-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.ai-tool-item.checked .ai-tool-stars {
    opacity: 1;
    max-width: 220px;
}

/* 星级提示标签 */
.ai-tool-stars-label {
    font-size: 11px;
    color: #888;
    font-weight: 500;
    margin-right: 4px;
    white-space: nowrap;
}

.ai-tool-item.checked .ai-tool-stars-label {
    color: #c59000;
    font-weight: 600;
}

.star-btn {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    transition: transform var(--transition-fast);
    line-height: 1;
}

.star-btn:hover {
    transform: scale(1.25);
}

.star-btn svg {
    width: 20px;
    height: 20px;
    transition: all var(--transition-fast);
}

.star-btn .star-empty {
    fill: none;
    stroke: #DAA520;
    stroke-width: 1.5;
    opacity: 0.4;
}

.star-btn:hover .star-empty {
    opacity: 0.8;
    stroke: var(--accent);
}

.star-btn .star-filled {
    display: none;
    fill: var(--accent);
    stroke: #DAA520;
    stroke-width: 1;
    filter: drop-shadow(0 1px 2px rgba(244, 208, 63, 0.4));
}

.star-btn.active .star-empty {
    display: none;
}

.star-btn.active .star-filled {
    display: block;
}

/* 星级未选错误状态 */
.ai-tool-item.rating-error {
    background: rgba(236, 112, 99, 0.08);
    animation: ratingShake 0.4s ease;
}

.ai-tool-item.rating-error .ai-tool-stars-label {
    color: var(--error) !important;
    font-weight: 600;
}

@keyframes ratingShake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-4px);
    }

    40% {
        transform: translateX(4px);
    }

    60% {
        transform: translateX(-3px);
    }

    80% {
        transform: translateX(3px);
    }
}

/* ========================================
   响应式设计
   ======================================== */

/* 大屏幕 PC (> 1200px) */
@media (min-width: 1200px) {
    .page-content {
        max-width: 800px;
    }

    .cover-description p {
        font-size: var(--font-size-lg);
    }

    .info-content p {
        font-size: var(--font-size-base);
    }
}

/* 平板横屏 (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .page-content {
        max-width: 680px;
    }

    .page {
        padding: var(--space-xl) var(--space-xl);
    }
}

/* 平板竖屏 (481px - 768px) */
@media (max-width: 768px) {
    :root {
        --font-size-3xl: 28px;
        --font-size-2xl: 22px;
    }

    .page-content {
        max-width: 100%;
    }

    .page {
        padding: var(--space-lg) var(--space-lg);
    }

    .cover-icon {
        width: 100px;
        height: 100px;
    }

    .cover-description {
        padding: var(--space-lg);
    }

    .cover-description p {
        font-size: var(--font-size-base);
    }

    .info-item.highlight-item {
        margin: var(--space-md) calc(var(--space-lg) * -1 + 8px);
    }

    .benefit-item {
        padding: var(--space-sm) var(--space-md);
    }
}

/* 手机 (< 480px) */
@media (max-width: 480px) {
    :root {
        --font-size-3xl: 24px;
        --font-size-2xl: 20px;
        --font-size-xl: 18px;
        --space-xl: 24px;
        --space-lg: 20px;
    }

    .progress-header {
        padding: var(--space-sm) var(--space-md);
    }

    .page {
        padding: var(--space-md) var(--space-md);
        top: 52px;
    }

    .pages-container {
        padding-top: 52px;
    }

    .cover-page {
        padding-top: var(--space-lg);
    }

    .cover-icon {
        width: 80px;
        height: 80px;
    }

    .cover-title {
        margin-bottom: var(--space-lg);
    }

    .cover-description {
        padding: var(--space-md);
    }

    .cover-description p {
        font-size: var(--font-size-sm);
        margin-bottom: var(--space-sm);
        line-height: 1.7;
    }

    .section-title {
        margin-bottom: var(--space-lg);
    }

    .info-card {
        padding: var(--space-md);
    }

    .info-icon {
        width: 40px;
        height: 40px;
    }

    .info-icon svg {
        width: 20px;
        height: 20px;
    }

    .info-content h3 {
        font-size: var(--font-size-sm);
    }

    .info-content p {
        font-size: var(--font-size-xs);
    }

    .info-item.highlight-item {
        margin: var(--space-sm) calc(var(--space-md) * -1);
        padding: var(--space-md);
    }

    .form-group {
        margin-bottom: var(--space-xl);
    }

    .form-label {
        font-size: var(--font-size-base);
        margin-bottom: var(--space-sm);
        display: block;
    }

    .label-number {
        min-width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .form-hint {
        font-size: var(--font-size-xs);
        padding-left: 32px;
    }

    .form-input,
    .form-textarea {
        padding: var(--space-md);
        font-size: var(--font-size-base);
        line-height: 1.5;
    }

    .benefits-list {
        padding: var(--space-sm);
    }

    .benefit-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .benefit-text strong {
        font-size: var(--font-size-sm);
    }

    .benefit-text span {
        font-size: var(--font-size-xs);
    }

    .page-nav {
        flex-wrap: wrap;
        gap: var(--space-sm);
        margin-top: var(--space-lg);
        padding-top: var(--space-lg);
    }

    .page-nav .btn-secondary,
    .page-nav .btn-primary {
        flex: 1;
        max-width: none;
        padding: var(--space-sm) var(--space-md);
        font-size: var(--font-size-sm);
    }

    .btn-start {
        min-width: 160px;
        font-size: var(--font-size-base);
        padding: var(--space-sm) var(--space-lg);
    }

    .thank-actions {
        width: 100%;
    }

    .thank-actions button {
        width: 100%;
    }

    .success-animation {
        width: 80px;
        height: 80px;
    }

    .thank-title {
        font-size: var(--font-size-xl);
    }

    .thank-description {
        font-size: var(--font-size-sm);
    }

    .understanding-icon {
        width: 100px;
        height: 100px;
    }

    /* AI 工具列表移动端适配 */
    .ai-tool-item {
        padding: var(--space-sm) var(--space-md);
        gap: var(--space-xs) var(--space-sm);
        flex-wrap: wrap;
    }

    .ai-tool-name {
        font-size: var(--font-size-xs);
        flex: 1;
    }

    .star-btn svg {
        width: 18px;
        height: 18px;
    }

    .ai-tool-item.checked .ai-tool-stars {
        max-width: none;
        flex-basis: 100%;
        padding-left: 28px;
        margin-top: 2px;
    }

    .ai-tool-checkbox {
        width: 20px;
        height: 20px;
    }

    .ai-tool-checkbox .checkmark {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   滚动条美化
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

/* ========================================
   选中样式
   ======================================== */
::selection {
    background: rgba(0, 122, 255, 0.2);
    color: var(--text-primary);
}