/* PorscheNext 字体（从 HosionRAG 项目引入） */
@font-face {
  font-family: "PorscheNext";
  src: url("/assets/fonts/porsche-next-latin-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PorscheNext";
  src: url("/assets/fonts/porsche-next-latin-semi-bold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PorscheNext";
  src: url("/assets/fonts/porsche-next-latin-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
    --bg: #0f172a;
    --surface: #1e293b;
    --surface-light: #334155;
    --primary: #6366f1;
    --primary-light: #818cf8;
    --accent: #0ea5e9;
    --text: #f1f5f9;
    --text-secondary: #94a8c0;
    --border: #334155;
    --success: #10b981;
    --cosplay: #ec4899;
    --design: #f97316;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --bg-input: #1e293b;
    --border-color: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PorscheNext', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    /* 固定垂直滚动条占位：滚动条始终占位（内容不足时不可见但保留宽度），
       弹框开/关切换 overflow 时滚动条不出现/消失，页面宽度恒定，消除晃动 */
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography 排版样式 */
.text-display {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-h1 {
    font-size: 2.5rem;
}

.text-h2 {
    font-size: 2rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-code {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    background: rgba(99, 102, 241, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--primary-light);
}

/* Buttons 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
    background: var(--surface-light);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface);
    border-color: var(--primary);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-block {
    width: 100%;
    height: 46px;
    font-size: 16px;
    font-weight: 400;
}

/* Hero 头部区域 */
.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(90deg, #f1f5f9, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.formats {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.format-tag {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Section 通用区块样式 */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-title h2 {
    font-size: 2.25rem;
    background: linear-gradient(90deg, #f1f5f9, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 16px auto 0;
}

/* Upload Zone 上传区域 */
.upload-zone {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(12px);
}

.upload-zone.dragover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.15);
}

.upload-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.lucide-icon {
    width: 24px;
    height: 24px;
}

.upload-zone h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.upload-zone p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Quote Panel 报价面板 */
.quote-panel {
    display: none;
    max-width: 800px;
    margin: 48px auto 0;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.quote-header {
    background: rgba(15, 23, 42, 0.8);
    padding: 20px 32px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-body {
    padding: 32px;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px 24px;
    margin-bottom: 24px;
}

.quote-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.quote-value {
    font-weight: 600;
    text-align: right;
}

.quote-select {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 10px 16px;
    border-radius: 6px;
    font-family: 'PorscheNext', sans-serif;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
}

.price-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    margin-top: 24px;
}

.total-label {
    font-size: 1.125rem;
    font-weight: 600;
}

.total-price {
    font-size: 1.875rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Services 服务板块 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

/* COSPLAY动效 */
.service-card.cosplay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(236, 72, 153, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.1) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.service-card.cosplay:hover::before {
    opacity: 1;
}

/* 设计服务动效 */
.service-card.design::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(249, 115, 22, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(232, 121, 249, 0.1) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.service-card.design:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #6366f1;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-icon.design {
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
}

.service-icon.electronic {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}

.service-icon.batch {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.service-icon.delivery {
    background: rgba(14, 165, 233, 0.12);
    color: #0ea5e9;
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

/* Service Badges 服务徽章 */
.service-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 48px;
    padding: 28px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.badge-icon {
    width: 20px;
    height: 20px;
}

.badge-primary .badge-icon {
    color: var(--primary);
}

.badge-accent .badge-icon {
    color: var(--accent);
}

.badge-success .badge-icon {
    color: var(--success);
}

/* 水平滑动案例库 */
.cases-section {
    padding: 100px 0 80px;
}

.cases-container {
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 10px;
}

.cases-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.cases-page {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.case-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.case-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.case-img {
    width: 100%;
    height: 0;
    padding-top: 75%;
    /* 4:3 比例 */
    position: relative;
    overflow: hidden;
}

.case-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.case-item:hover .case-img img {
    transform: scale(1.05);
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.case-meta {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.case-meta span::before {
    content: '•';
    margin-right: 6px;
}

/* 分页控制器 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

.page-btn:hover:not(.active) {
    background: rgba(99, 102, 241, 0.2);
}

/* Form Styles 表单样式 */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 13px;
    letter-spacing: 0.01em;
}

.form-control,
.form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-input);
    color: var(--text);
    font-family: 'PorscheNext', sans-serif;
    font-size: 15px;
    font-weight: 400;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    line-height: 1.5;
}

.form-control::placeholder,
.form-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.form-control:focus,
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

textarea.form-control {
    resize: vertical;
}

.input-with-btn {
    display: flex;
    gap: 8px;
    align-items: center;
}

.input-with-btn .form-control {
    flex: 1;
    min-width: 0;
    /* 防止 flex shrink 失效 */
}

.input-with-btn .btn {
    flex-shrink: 0;
    height: 42px;
    padding: 0 16px;
    font-size: 14px;
}

/* 验证码输入框+按钮样式 */
.code-input-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

#register-code {
    flex: 1;
    height: 44px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    padding: 0 16px;
}

/* 获取验证码按钮 */
.btn-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.btn-code:hover:not(:disabled) {
    background: var(--primary-light);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-code:disabled {
    background: var(--surface-light);
    color: var(--text-secondary);
    cursor: not-allowed;
    box-shadow: none;
}

.help-text,
.form-help {
    font-size: 0.8em;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.5;
}

.form-footer-hint {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed var(--border);
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Order Query 订单查询 */
.order-query {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
}

/* Footer 页脚 */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    margin-bottom: 64px;
}

.footer h3 {
    font-size: 1.375rem;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary);
}

.contact-list,
.link-list {
    list-style: none;
}

.contact-list li,
.link-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--primary-light);
    margin-top: 4px;
}

.copyright {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* 上传区域加载动画 */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
}

.spinner {
    animation: spin 1s linear infinite;
    transform-origin: center;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loading-indicator p {
    margin: 0;
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards 0.2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* 登录/注册模态框 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: #0f172a;
    /* slate-900 */
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    padding: 32px;
    max-width: 420px;
    width: 90%;
    margin: 8vh auto;
    color: #e2e8f0;
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 1;
}

/* 模态框选项卡样式 */
.auth-tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.auth-tab {
    flex: 1;
    padding: 11px 12px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    font-family: 'PorscheNext', sans-serif;
}

.auth-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 700;
}

.auth-tab:hover:not(.active) {
    color: var(--text);
}

/* 模态框面板样式 */
.auth-panel {
    display: none;
}

.auth-panel.active {
    display: block;
}

/* 模态框关闭按钮 */
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    /* slate-800 */
    color: #94a8c0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: #334155;
    /* slate-700 */
    color: var(--primary);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 表单选项样式 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    color: #cbd5e1;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    margin-right: 8px;
    accent-color: var(--primary);
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* 登录按钮样式强化 */
#login-form .btn-primary {
    width: 100%;
    padding: 0.85rem;
    background: var(--primary);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

#login-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

#login-form .btn-primary:active {
    transform: translateY(0);
}

/* 右侧历史报价面板 */
.history-panel {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* 历史图标按钮 */
.history-toggle {
    width: 80px;
    height: 50px;
    border: none;
    border-radius: 8px 0 0 8px;
    background: #1e293b;
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: background 0.3s;
    font-size: 10px;
    white-space: nowrap;
    padding: 4px;
}

.history-toggle:hover {
    background: #334155;
}

.toggle-label {
    font-size: 10px;
    line-height: 1;
}

/* 历史列表容器 */
.history-list {
    background: white;
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    max-height: 600px;
    overflow-y: auto;
    display: none;
    margin-right: 50px;
    padding: 16px;
}

.history-list.show {
    display: block;
}

/* 历史列表头部 */
.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.history-header h4 {
    margin: 0;
    font-size: 16px;
    color: #1e293b;
}

.clear-history {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
}

/* 历史项样式 */
.history-item {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #eee;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.history-item:hover {
    background: #f8fafc;
}

.history-item .model-name {
    font-weight: 400;
    color: #1e293b;
    margin-bottom: 4px;
}

.history-item .model-price {
    color: #ef4444;
    font-weight: 600;
}

.history-item .model-time {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

/* 空历史提示 */
.empty-history {
    text-align: center;
    color: #64748b;
    padding: 24px 0;
    font-size: 14px;
}

/* 订单号样式 */
.quote-item {
    display: flex;
}

.quote-item .model-order {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0;
}

.history-item .model-order {
    font-size: 11px;
    color: #64748b;
    margin: 2px 0;
}

/* 统一select下拉框样式 */
select {
    height: 32px;
    line-height: 32px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
}

/* 报价面板select适配 */
.quote-select {
    width: 100%;
    box-sizing: border-box;
}

/* select聚焦样式 */
select:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.1);
}

/* 电子风格强化样式 */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(20, 30, 50, 0.98) 100%);
    z-index: -1;
}

/* 芯片/电子图标样式优化 */
.service-icon.electronic svg {
    color: #60a5fa;
    /* 科技蓝 */
    stroke-width: 1.8;
}

.upload-zone .upload-icon svg {
    color: #34d399;
    /* 活力绿 */
    width: 48px;
    height: 48px;
}

/* 案例卡片hover效果强化 */
.case-item {
    transition: all 0.3s ease;
    border: 1px solid rgba(96, 165, 250, 0.1);
}

.case-item:hover {
    transform: translateY(-5px);
    border-color: #60a5fa;
    box-shadow: 0 10px 25px -5px rgba(96, 165, 250, 0.1);
}

/* 按钮样式优化 */
.btn-primary {
    background: linear-gradient(to right, #3b82f6, #60a5fa);
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(to right, #2563eb, #3b82f6);
}

/* 免责声明样式 */
.disclaimer {
    font-size: 0.875rem;
    color: #ef4444;
    margin-top: 8px;
    font-style: italic;
}

/* 核心免责声明样式 */
.core-disclaimer {
    font-size: 0.875rem;
    color: #ef4444;
    line-height: 1.5;
    font-style: italic;
    text-align: center;
    margin: 16px 0;
}

/* 响应式样式 */
@media (max-width: 1023px) {
    .cases-page {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .cases-page {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 10vh auto;
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .input-with-btn {
        flex-direction: column;
        align-items: stretch;
    }

    .input-with-btn .btn {
        height: 44px;
    }

    .form-footer-hint {
        margin-top: 20px;
        padding-top: 16px;
    }

    /* 移动端验证码布局适配 */
    .code-input-group {
        gap: 6px;
    }

    .btn-code {
        padding: 0 12px;
        font-size: 13px;
    }
}
/* 图形验证码（登录 / 注册） */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-row .form-input {
  flex: 1 1 auto;
  min-width: 0;
}

.captcha-img {
  flex: 0 0 auto;
  width: 110px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  cursor: pointer;
  user-select: none;
  object-fit: cover;
  background: #131c2e;
}
