/**
 * Landing Page 自定义样式
 * 
 * 补充 Tailwind CSS 的自定义样式和动画
 */

/* 全局样式 */
* {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/* 导航链接样式 */
.nav-link {
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-cta-btn,
.nav-cta-btn:hover,
.nav-cta-btn:focus-visible,
.hero-cta-primary,
.hero-cta-primary:hover,
.hero-cta-primary:focus-visible {
    text-decoration: none;
}

.nav-link:focus-visible,
.nav-cta-btn:focus-visible,
.hero-cta-primary:focus-visible {
    outline: 3px solid rgba(229, 77, 66, 0.34);
    outline-offset: 3px;
}

/* 语言切换按钮 */
.lang-btn {
    border: 0;
    cursor: pointer;
    color: #4B5563;
}

.lang-btn.active {
    background: #ffffff;
    color: #9333EA;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar.nav-scrolled .nav-text {
    color: #1F2937;
}

.navbar.nav-scrolled .nav-link,
.navbar.nav-scrolled .lang-btn {
    color: #4B5563;
}

.navbar.nav-scrolled .nav-link:hover,
.navbar.nav-scrolled .lang-btn:hover {
    color: #E54D42;
}

.nav-brand-text {
    white-space: nowrap;
    letter-spacing: 0;
}

.mobile-menu-button {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    height: 2.5rem;
    justify-content: center;
    padding: 0;
    width: 2.5rem;
}

.mobile-menu-language {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

/* 移动端菜单白底独立面板 */
.mobile-menu-panel {
    position: relative;
    z-index: 60;
    margin-top: 0.75rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* 移动端菜单遮罩：覆盖首屏内容，避免菜单与 Hero 视觉重叠 */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(17, 24, 39, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.hero-title-line {
    display: block;
    white-space: nowrap;
}

.hero-highlight-crayon {
    color: #E54D42;
    position: relative;
}

.hero-highlight-crayon::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #F7C948, #E54D42);
    opacity: 0.25;
    border-radius: 4px;
    z-index: -1;
}

/* Hero 区域渐变背景动画 */
.hero-section {
    background: linear-gradient(135deg, #FFF9F0 0%, #FFF5E6 30%, #FEF3E2 60%, #FFFBF5 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='paper' width='200' height='200' patternUnits='userSpaceOnUse'%3E%3Crect width='200' height='200' fill='%23FFFDF8'/%3E%3Cpath d='M0 0h200v200H0z' fill='none' stroke='%23f0e6d3' stroke-width='0.5' opacity='0.3'/%3E%3Ccircle cx='30' cy='50' r='1' fill='%23E54D42' opacity='0.15'/%3E%3Ccircle cx='150' cy='80' r='1.5' fill='%23F7C948' opacity='0.12'/%3E%3Ccircle cx='80' cy='160' r='1' fill='%2348BB78' opacity='0.12'/%3E%3Ccircle cx='170' cy='140' r='0.8' fill='%234299E1' opacity='0.1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='200' height='200' fill='url(%23paper)'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 漂浮装饰元素 */
.float-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    pointer-events: none;
}

.float-element.circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    top: -100px;
    right: 10%;
    animation: float1 20s ease-in-out infinite;
}

.float-element.circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 70%);
    bottom: 20%;
    left: 5%;
    animation: float2 25s ease-in-out infinite;
}

.float-element.circle-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 70%);
    top: 40%;
    right: 30%;
    animation: float3 18s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-30px, 40px) rotate(90deg); }
    50% { transform: translate(0, 80px) rotate(180deg); }
    75% { transform: translate(30px, 40px) rotate(270deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(40px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, -60px) rotate(240deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -30px) scale(1.1); }
}

/* 漂浮图标装饰 */
.float-icon {
    position: absolute;
    font-size: 24px;
    opacity: 0.15;
    animation: floatIcon 15s ease-in-out infinite;
}

.float-icon:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.float-icon:nth-child(2) { top: 25%; right: 15%; animation-delay: 3s; }
.float-icon:nth-child(3) { top: 60%; left: 20%; animation-delay: 6s; }
.float-icon:nth-child(4) { top: 70%; right: 25%; animation-delay: 9s; }
.float-icon:nth-child(5) { top: 85%; left: 15%; animation-delay: 12s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* 反向漂浮（Hero 装饰图标） */
.float-element-reverse {
    animation: floatReverse 16s ease-in-out infinite;
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(18px) rotate(-8deg); }
}

/* 淡入动画 */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

/* 能力说明区域 */
.capability-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f3f4f6;
    color: #374151;
    font-size: 1.25rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-label {
    color: #6B7280;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* 功能卡片样式 */
.feature-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.1);
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(0);
}

.feature-card:hover {
    box-shadow: 0 20px 25px rgba(15, 23, 42, 0.14);
    transform: translateY(-8px);
}

.feature-icon {
    align-items: center;
    border-radius: 9999px;
    display: flex;
    height: 4rem;
    justify-content: center;
    margin: 0 auto 1.5rem;
    width: 4rem;
}

/* 优势项样式 */
.advantage-item {
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.advantage-item:hover {
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.1);
}

/* FAQ 样式 */
.faq-item {
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.faq-question {
    align-items: center;
    background: transparent;
    border: 0;
    color: #1F2937;
    cursor: pointer;
    display: flex;
    font-weight: 600;
    justify-content: space-between;
    padding: 1.5rem;
    text-align: left;
    width: 100%;
}

.faq-question:hover {
    background: #F9FAFB;
}

.faq-question i {
    color: #9333EA;
    transition: transform 0.3s ease;
}

.faq-answer {
    color: #4B5563;
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: all 0.3s ease;
}

.faq-answer.active {
    max-height: 24rem;
    padding-bottom: 1.5rem;
}

/* 表单样式增强 */
input:focus,
textarea:focus {
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #9CA3AF;
}

/* 按钮悬停效果 */
button {
    transition: all 0.3s ease;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .nav-brand-text {
        font-size: 1.125rem;
        line-height: 1.5rem;
    }

    .nav-actions {
        display: none !important;
    }

    .hero-section {
        padding-top: 80px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-section .grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        min-height: auto;
    }

    .hero-section .grid > * {
        min-width: 0;
        max-width: 100%;
    }

    .hero-section .hero-title-line {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .hero-section .hero-cta-primary {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0.875rem 1rem;
        text-align: center;
        white-space: normal;
    }

    .hero-section .hero-cta-primary span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    /* 报告卡在移动端保留展示（已由 .report-card 收窄内边距） */

    .feature-card {
        padding: 24px;
    }

    .faq-question {
        padding: 16px;
    }
}

/* 下滑指示箭头 */
.hero-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollHintBounce 2s ease-in-out infinite;
    opacity: 0.6;
    color: #9ca3af;
    font-size: 1.5rem;
}

@keyframes scrollHintBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* 滚动条样式（仅 Webkit 浏览器） */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 加载动画 */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* 渐变文字效果 */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 卡片悬停发光效果 */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 0.5;
}

/* 平滑过渡 */
* {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* 打印样式 */
@media print {
    nav,
    footer,
    #trial {
        display: none;
    }
    
    .hero-section {
        background: white;
        color: black;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .hero-section {
        background: #000;
    }
    
    .feature-card {
        border: 2px solid #000;
    }
    
    .navbar.nav-scrolled {
        background: #ffffff;
        border-bottom: 2px solid #000;
    }
}

/* 减少动画模式支持 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 深色模式支持（可选） */
@media (prefers-color-scheme: dark) {
    /* 如果需要深色模式，可以在这里添加样式 */
}

/* ============== 联系我们表单样式 ============== */

/* 联系表单下拉选择框样式 */
#contactForm select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

#contactForm select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%239333EA' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
}

/* 复选框样式 */
#contactConsent {
    accent-color: #9333EA;
}

/* 联系表单提交结果样式 */
#contactResult {
    animation: slideIn 0.3s ease-out;
}

body.contact-modal-open {
    overflow: hidden;
}

.contact-result-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.contact-result-modal.hidden {
    display: none;
}

.contact-result-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(6px);
}

.contact-result-modal__panel {
    position: relative;
    width: min(100%, 520px);
    padding: 32px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
    animation: contactModalIn 0.22s ease-out;
}

.contact-result-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-result-modal__close:hover,
.contact-result-modal__close:focus {
    background: #eef2ff;
    color: #4f46e5;
}

.contact-result-modal__icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 999px;
    font-size: 28px;
}

.contact-result-modal--success .contact-result-modal__icon {
    background: #dcfce7;
    color: #16a34a;
}

.contact-result-modal--duplicate .contact-result-modal__icon {
    background: #dbeafe;
    color: #2563eb;
}

.contact-result-modal__title {
    margin: 0 40px 10px 0;
    color: #111827;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}

.contact-result-modal__message {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.65;
}

.contact-result-modal__submission {
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f8fafc;
    color: #475569;
    font-size: 14px;
}

.contact-result-modal__submission-id {
    display: block;
    margin-top: 6px;
    color: #111827;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
    font-weight: 700;
    letter-spacing: 0.02em;
    word-break: break-all;
}

.contact-result-modal__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 26px;
}

.contact-result-modal__confirm {
    min-width: 112px;
    border: 0;
    border-radius: 12px;
    background: #7c3aed;
    color: #ffffff;
    padding: 12px 22px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-result-modal__confirm:hover,
.contact-result-modal__confirm:focus {
    background: #6d28d9;
    transform: translateY(-1px);
}

@keyframes contactModalIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 成功状态 */
#contactResult.bg-green-50 {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

/* 重复请求状态 */
#contactResult.bg-blue-50 {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

/* 速率限制状态 */
#contactResult.bg-yellow-50 {
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
}

/* 同意隐私政策提示状态 */
#contactResult.bg-orange-50 {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

/* ============================================================
   Landing 首屏对比度与报告卡修复（2026-06-08 UI Review）
   说明：本项目使用精简版 tailwind-lite.css，原 Hero 大量依赖
   未定义的工具类（bg-red-500 / bg-gradient-to-r / glass-card 等），
   导致按钮无背景、文字白底白字、浮层 0.2 透明度近乎不可见。
   下方用显式品牌色类替代，保证可读性。
   ============================================================ */

/* 导航栏 CTA：实色品牌红，白字高对比 */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E54D42;
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(229, 77, 66, 0.28);
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta-btn:hover {
    background: #C53B30;
    transform: translateY(-1px);
    color: #ffffff;
}

.nav-cta-btn--block {
    display: block;
    text-align: center;
    padding: 0.625rem 1rem;
}

/* Hero 资质徽标：实底浅琥珀，深字可读 */
.hero-badge {
    background: #FDECC8;
    border: 1px solid rgba(229, 77, 66, 0.18);
}

.hero-badge span:not(.bg-green-500) {
    color: #92400E;
    font-weight: 500;
}

/* Hero 主 CTA：实色渐变背景 + 白字，行动指令清晰 */
.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #E54D42 0%, #F08A3C 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 10px 24px rgba(229, 77, 66, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 30px rgba(229, 77, 66, 0.4);
    color: #ffffff;
}

.hero-cta-primary i {
    color: #ffffff;
    font-size: 1rem;
}

/* ---------- AI 评分报告卡（单一主卡，去除孤立浮层） ---------- */
.report-preview {
    display: flex;
    justify-content: center;
}

.report-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid #F0E6D8;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 18px 40px rgba(146, 64, 14, 0.12);
}

.report-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.report-card__title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.report-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: linear-gradient(135deg, #FBBF24 0%, #F97316 100%);
    color: #ffffff;
}

.report-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

.report-card__time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #16A34A;
    margin: 0.125rem 0 0;
}

/* 综合评分 badge：收回卡片内部，不再孤立漂浮 */
.report-card__overall {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 4rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.875rem;
    background: #FEF3E2;
    border: 1px solid #FBD9A5;
}

.report-card__overall-label {
    font-size: 0.7rem;
    color: #B45309;
    font-weight: 500;
    line-height: 1;
}

.report-card__overall-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: #E54D42;
    line-height: 1.1;
}

.report-card__art {
    border-radius: 1rem;
    overflow: hidden;
    margin: 0 auto 1.25rem;
    width: 60%;
    border: 1px solid #F0E6D8;
    background: #FAFAF8;
    /* Reason: 固定原图精确比例占位，图片到达前预留空间，防 CLS 布局抖动 */
    aspect-ratio: 1876 / 1626;
}

/* 评分条：统一对齐网格，标签 + 进度条 + 数字 */
.report-card__bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.score-row {
    display: grid;
    grid-template-columns: 4.5rem 1fr 2rem;
    align-items: center;
    gap: 0.75rem;
}

.score-row__label {
    font-size: 0.8125rem;
    color: #4B5563;
    white-space: nowrap;
}

.score-row__track {
    display: block;
    height: 0.5rem;
    border-radius: 9999px;
    background: #EDE9E3;
    overflow: hidden;
}

.score-row__fill {
    display: block;
    height: 100%;
    border-radius: 9999px;
}

.score-row__fill--creativity { background: linear-gradient(90deg, #A855F7, #C084FC); }
.score-row__fill--color { background: linear-gradient(90deg, #3B82F6, #60A5FA); }
.score-row__fill--composition { background: linear-gradient(90deg, #10B981, #34D399); }

.score-row__value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1F2937;
    text-align: right;
}

/* 专业建议：底部点评行，替代悬浮遮挡浮层 */
.report-card__comment {
    background: #FFF8F0;
    border: 1px solid #F6E4CC;
    border-radius: 0.875rem;
    padding: 0.875rem 1rem;
}

.report-card__comment-label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #B45309;
    margin-bottom: 0.375rem;
}

.report-card__comment p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #4B5563;
}

/* 入场动画（替代未定义的 slide-in-card） */
.slide-in-card {
    animation: reportCardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

/* 移动端：报告卡保持显示，压缩图片高度并收紧间距，
   让综合分、评分条与专业建议尽量落在首屏 */
@media (max-width: 768px) {
    .report-card {
        max-width: 100%;
        padding: 1.25rem;
    }
    /* 画作预览限高，避免占满首屏；居中裁切保持美观 */
    .report-card__art {
        width: 100%;
        max-height: 180px;
        margin-bottom: 1rem;
    }
    .report-card__art img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        object-position: center;
    }
    .report-card__head {
        margin-bottom: 1rem;
    }
    .report-card__bars {
        gap: 0.625rem;
        margin-bottom: 1rem;
    }
}

/* 错误状态 */
#contactResult.bg-red-50 {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

/* 提交编号样式 */
#contactResult .font-mono {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
    letter-spacing: 0.05em;
}

/* 提交按钮加载状态 */
#contactSubmitBtn:disabled {
    position: relative;
}

#contactSubmitBtn:disabled::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* 表单输入框焦点增强 */
#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
    border-color: #9333EA;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

/* 表单标签样式 */
#contactForm label {
    font-weight: 500;
    color: #374151;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #contactForm {
        padding: 24px;
    }
    
    #contactResult {
        padding: 16px;
    }
    
    #contactResult .text-2xl {
        font-size: 1.25rem;
    }

    .contact-result-modal {
        align-items: flex-end;
        padding: 16px;
    }

    .contact-result-modal__panel {
        padding: 28px 22px 22px;
        border-radius: 20px;
    }

    .contact-result-modal__title {
        font-size: 23px;
    }

    .contact-result-modal__message {
        font-size: 16px;
    }

    .contact-result-modal__actions {
        justify-content: stretch;
    }

    .contact-result-modal__confirm {
        width: 100%;
    }
}

/* Editorial product proof: three distinct bands, one report sample. */
.product-proof { padding: 6rem 1.5rem; }
.product-proof__inner { width: min(1120px, 100%); margin: 0 auto; }
.product-proof h3 {
    margin: 0;
    color: #172033;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 850;
    line-height: 1.08;
}
.product-proof__lead {
    max-width: 62ch;
    margin: 1.35rem 0 0;
    color: #526078;
    font-size: 1.08rem;
    line-height: 1.75;
}
.product-proof--score { background: #f5f8ff; }
.product-proof--score .product-proof__inner {
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5rem);
}
.proof-score-visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(30, 64, 175, .14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(30, 64, 175, .12);
}
.proof-score-visual img { width: 100%; height: auto; display: block; }
.proof-score-overall {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    min-width: 5.5rem;
    display: grid;
    gap: .1rem;
    padding: .7rem .85rem;
    border-radius: 8px;
    color: #172554;
    background: rgba(255,255,255,.94);
    box-shadow: 0 8px 24px rgba(15,23,42,.16);
}
.proof-score-overall span { color: #64748b; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.proof-score-overall strong { color: #e44b4b; font-size: 2rem; line-height: 1; }
.product-proof__kicker { margin: 0 0 1rem; color: #e44b4b; font-size: .82rem; font-weight: 800; }
.proof-dimensions {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 2rem;
    border-block: 1px solid #ced7e6;
}
.proof-dimensions span { min-width: 0; display: grid; gap: .35rem; padding: 1rem .55rem; border-right: 1px solid #ced7e6; }
.proof-dimensions span:last-child { border-right: 0; }
.proof-dimensions b { overflow: hidden; color: #64748b; font-size: .7rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.proof-dimensions strong { color: #273b69; font-size: 1.25rem; }
.proof-excerpts { display: grid; margin-top: 1.25rem; border-top: 1px solid #ced7e6; }
.proof-excerpts p { display: grid; grid-template-columns: minmax(6.5rem, auto) 1fr; gap: 1rem; margin: 0; padding: 1rem 0; border-bottom: 1px solid #ced7e6; }
.proof-excerpts span { color: #e44b4b; font-size: .78rem; font-weight: 800; }
.proof-excerpts strong { color: #334155; font-size: .92rem; font-weight: 600; line-height: 1.55; }

.product-proof--compare { color: #fff; background: #172033; }
.product-proof__inner--compare {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(380px, 1.2fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 6rem);
}
.product-proof--compare h3 { color: #fff; }
.product-proof--compare .product-proof__lead { color: #c7d2e5; }
.proof-compare-points { display: grid; margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.proof-compare-points li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.18); color: #e6edf9; line-height: 1.55; }
.proof-compare-points i { margin-top: .25rem; color: #f7b84b; }
.proof-compare-stage {
    position: relative;
    min-height: 390px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    background: #202c43;
}
.proof-compare-art { position: relative; min-width: 0; overflow: hidden; }
.proof-compare-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.proof-compare-art > span { position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .7rem; border-radius: 6px; color: #172033; background: rgba(255,255,255,.94); font-size: .78rem; font-weight: 800; }
.proof-compare-divider { position: absolute; top: 0; bottom: 0; left: 60%; z-index: 2; width: 2px; background: #fff; }
.proof-compare-divider span { position: absolute; top: 50%; left: 50%; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; color: #172033; background: #fff; transform: translate(-50%,-50%); }
.proof-compare-reference { display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: 2rem; background: #263653; }
.proof-compare-reference > i { color: #f7b84b; font-size: 2rem; }
.proof-compare-reference strong { color: #fff; font-size: 1.25rem; }
.proof-compare-reference p { margin: 0; color: #c7d2e5; line-height: 1.65; }

.product-proof--trust { background: #fff8f0; }
.product-proof__inner--trust { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); align-items: start; gap: clamp(3rem,8vw,7rem); }
.proof-trust-heading p { max-width: 50ch; margin: 1.4rem 0 1.5rem; color: #625a50; line-height: 1.7; }
.proof-trust-heading a { color: #b8324a; font-weight: 800; text-decoration: underline; text-underline-offset: .3rem; }
.proof-evidence-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #d9cfc2; }
.proof-evidence-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid #d9cfc2; }
.proof-evidence-list > li > span { color: #b8324a; font-size: .78rem; font-weight: 850; }
.proof-evidence-list strong { color: #312e2a; font-size: 1.08rem; }
.proof-evidence-list p { margin: .45rem 0 0; color: #625a50; line-height: 1.65; }

.growth-cta-band {
    padding: 3rem 0;
    border-block: 1px solid #fed7aa;
    background: #fff7ed;
}

.growth-cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.growth-cta-band h2 {
    margin: .35rem 0 .65rem;
    color: #1f2937;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
}

.growth-cta-band p:not(.product-proof__kicker) {
    max-width: 42rem;
    margin: 0;
    color: #4b5563;
}

.growth-cta-band .hero-cta-primary { flex: 0 0 auto; }

@media (max-width: 820px) {
    .product-proof { padding: 4.5rem 1.25rem; }
    .product-proof--score .product-proof__inner,
    .product-proof__inner--compare,
    .product-proof__inner--trust { grid-template-columns: 1fr; gap: 2.5rem; }
    .proof-score-visual { max-width: 560px; }
    .proof-compare-stage { min-height: 340px; }
    .growth-cta-band__inner { align-items: stretch; flex-direction: column; }
    .growth-cta-band .hero-cta-primary { justify-content: center; width: 100%; }
}

@media (max-width: 520px) {
    .product-proof { padding: 3.75rem 1rem; }
    .product-proof h3 { font-size: 2rem; }
    .proof-dimensions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .proof-dimensions span:nth-child(3) { border-right: 0; }
    .proof-dimensions span:nth-child(n+4) { border-top: 1px solid #ced7e6; }
    .proof-excerpts p { grid-template-columns: 1fr; gap: .35rem; }
    .proof-compare-stage { min-height: 0; grid-template-columns: 1fr; }
    .proof-compare-art { aspect-ratio: 6/5; }
    .proof-compare-divider { display: none; }
    .proof-compare-reference { padding: 1.5rem; }
    .proof-evidence-list li { grid-template-columns: 2.25rem 1fr; gap: .75rem; }
}
