/* 基础变量 */
:root {
    --color-primary: #1a1a2e;
    --color-secondary: #16213e;
    --color-accent: #0f3460;
    --color-gold: #c9a961;
    --color-gold-light: #e8d5a3;
    --color-bg: #faf9f7;
    --color-bg-alt: #f5f3f0;
    --color-text: #2d2d2d;
    --color-text-light: #666;
    --color-text-muted: #999;
    --color-white: #fff;
    --color-border: #e8e6e3;
    --color-success: #2a9d8f;
    --color-error: #c44;
    --color-urgent: #e74c3c;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif SC', Georgia, serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 顶部限时优惠条 */
.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.5rem;
    z-index: 101;
    text-align: center;
    font-size: 0.9rem;
}

.top-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.countdown {
    font-weight: bold;
    font-family: monospace;
}

.btn-top-cta {
    padding: 0.25rem 0.75rem;
    background: white;
    color: #e74c3c;
    border: none;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-top-cta:hover {
    transform: scale(1.05);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.btn-contact,
.btn-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition);
}

.btn-contact:hover,
.btn-user:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.btn-contact svg,
.btn-user svg {
    width: 18px;
    height: 18px;
}

/* 移动端菜单按钮 */
.btn-menu {
    display: none;
    padding: 0.5rem;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
}

.btn-menu svg {
    width: 24px;
    height: 24px;
    color: var(--color-text);
}

/* 移动端菜单 */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    box-shadow: var(--shadow-md);
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu a:hover {
    background: var(--color-bg-alt);
    color: var(--color-gold);
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(6rem + 36px) 2rem 4rem;
    position: relative;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    z-index: 1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

/* 社会证明 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-gold);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.feature-tag {
    padding: 0.5rem 1.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* CTA按钮 */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: var(--color-gold);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--color-gold);
    text-decoration: none;
    border: 1px solid var(--color-gold);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

.btn-primary-small {
    padding: 0.75rem 1.5rem;
    background: var(--color-gold);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.hero-guarantee svg {
    width: 18px;
    height: 18px;
    color: var(--color-success);
}

.hero-visual {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.floating-card {
    width: 180px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-2 {
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.card-image {
    height: 120px;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    background-size: cover;
    background-position: center;
}

.wedding-preview {
    background: linear-gradient(135deg, #f5ebe0 0%, #e8ddd0 100%);
    position: relative;
}

.wedding-preview::after {
    content: '👰';
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.retouch-preview {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f0 100%);
    position: relative;
}

.retouch-preview::after {
    content: '✨';
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.floating-card span {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* 通用区域样式 */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-alt {
    background: var(--color-bg-alt);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 5rem calc(50vw - 50% + 2rem);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-number {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--color-gold);
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* 样片展示区域 - 改进版 */
.samples-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.sample-item {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.sample-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.sample-images {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sample-before,
.sample-after {
    flex: 1;
    position: relative;
}

.sample-label {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 0.75rem;
    border-radius: 4px;
    z-index: 1;
}

.sample-img {
    aspect-ratio: 3/4;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
}

.sample-img.user-photo {
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
}

.sample-img.ai-photo {
    background: linear-gradient(135deg, #f5ebe0 0%, #e8d5a3 100%);
}

.sample-img.wedding-style {
    background: linear-gradient(135deg, #f8f4f0 0%, #e8e0d8 100%);
}

.sample-img.chinese-style {
    background: linear-gradient(135deg, #d42222 0%, #8b1a1a 100%);
}

.sample-img.blurry-photo {
    background: linear-gradient(135deg, #ccc 0%, #999 100%);
}

.sample-img.clear-photo {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f0 100%);
}

.sample-avatar {
    width: 50px;
    height: 50px;
    margin-bottom: 0.5rem;
}

.sample-emoji {
    font-size: 3rem;
    margin-bottom: 0.25rem;
}

.sample-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 0.8rem;
    text-align: center;
}

.sample-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sample-desc {
    font-weight: 500;
    color: var(--color-text);
}

.sample-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.sample-rating span {
    color: #ffc107;
    font-size: 0.9rem;
}

.sample-rating small {
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

/* 价格横幅 - 改进版 */
.pricing-banner {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.pricing-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.pricing-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.pricing-item.highlight {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.pricing-item.highlight:hover {
    transform: scale(1.08);
}

.pricing-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.badge-hot {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: var(--color-urgent);
    color: white;
    font-size: 0.7rem;
    border-radius: 4px;
    margin-left: 0.25rem;
}

.pricing-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
}

.pricing-original {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.pricing-unit {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

.urgency-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #fff3cd;
    color: #856404;
    font-size: 0.75rem;
    border-radius: 50px;
    margin-top: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.btn-buy-package {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-buy-package:hover,
.btn-buy-package.primary {
    background: var(--color-gold);
    color: white;
}

.btn-buy-package.primary:hover {
    background: var(--color-gold-light);
}

/* 选择状态提示 */
.selection-status {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: var(--radius-md);
    border: 1px solid #4caf50;
}

.status-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.status-text strong {
    color: var(--color-primary);
}

.btn-pay-now {
    padding: 0.75rem 1.5rem;
    background: var(--color-success);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-pay-now:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.4);
}

/* 模板网格 */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.template-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.template-card.selected {
    border-color: var(--color-gold);
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.3);
}

.template-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.template-img {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-emoji {
    font-size: 4rem;
    opacity: 0.8;
}

.template-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--color-gold);
    color: white;
    font-size: 0.75rem;
    border-radius: 50px;
    z-index: 2;
}

.template-badge.hot {
    background: #e74c3c;
}

.template-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transition: var(--transition);
}

.template-card:hover .template-overlay,
.template-card.selected .template-overlay {
    opacity: 1;
}

.btn-select,
.btn-preview {
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-select {
    background: var(--color-gold);
    color: var(--color-white);
}

.btn-select:hover {
    background: var(--color-gold-light);
    transform: scale(1.05);
}

.btn-preview {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-preview:hover {
    background: rgba(255,255,255,0.1);
}

.template-info {
    padding: 1rem;
}

.template-info h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.template-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.template-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gold);
}

.template-count {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* 服务对比 */
.service-comparison {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.comparison-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.comparison-before,
.comparison-after {
    flex: 1;
    position: relative;
}

.comparison-label {
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--color-primary);
    color: white;
    font-size: 0.75rem;
    border-radius: 4px;
}

.comparison-img {
    aspect-ratio: 4/3;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.comparison-img.blurry {
    background: linear-gradient(135deg, #ccc 0%, #999 100%);
    color: #666;
    filter: blur(1px);
}

.comparison-img.clear {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f0 100%);
    color: var(--color-text);
}

.comparison-arrow {
    font-size: 1.5rem;
    color: var(--color-gold);
    font-weight: bold;
}

/* 服务卡片 */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

.service-card.popular {
    border-color: var(--color-gold);
}

.service-badge {
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 1rem;
    background: var(--color-gold);
    color: white;
    font-size: 0.8rem;
    border-radius: 50px;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-price {
    margin-bottom: 0.5rem;
}

.service-price .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
}

.service-price .unit {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.service-batch {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
}

.batch-price {
    font-size: 0.8rem;
    color: var(--color-text-light);
    padding: 0.25rem 0.5rem;
    background: white;
    border-radius: 4px;
}

.btn-service {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-service:hover {
    background: var(--color-accent);
    transform: scale(1.02);
}

/* 图片编辑工具 */
.edit-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.edit-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    transition: var(--transition);
}

.edit-card:hover {
    box-shadow: var(--shadow-lg);
}

.edit-visual {
    flex: 0 0 40%;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.crop-demo {
    width: 80px;
    height: 80px;
    border: 2px solid var(--color-gold);
    position: relative;
}

.crop-frame {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px dashed var(--color-gold);
}

.resize-demo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.resize-box {
    border: 2px solid var(--color-gold);
    border-radius: 4px;
}

.resize-box.small {
    width: 30px;
    height: 30px;
}

.resize-box.large {
    width: 50px;
    height: 50px;
}

.resize-arrow {
    color: var(--color-gold);
    font-size: 1.5rem;
    font-weight: bold;
}

.edit-content {
    flex: 1;
    padding: 2rem;
}

.edit-icon {
    width: 50px;
    height: 50px;
    background: var(--color-bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.edit-icon svg {
    width: 24px;
    height: 24px;
}

.edit-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.edit-content p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.edit-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.price-free {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-success);
}

.price-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.btn-edit {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-edit:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

/* 上传流程引导 */
.upload-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: var(--transition);
}

.flow-step.active {
    opacity: 1;
}

.flow-step .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-border);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition);
}

.flow-step.active .step-number {
    background: var(--color-gold);
    color: white;
}

.flow-arrow {
    color: var(--color-text-muted);
    font-size: 1.5rem;
}

/* 上传区域改造 */
.upload-requirements {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.upload-requirements h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.upload-requirements ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.upload-requirements li {
    font-size: 0.9rem;
    color: var(--color-text-light);
    padding-left: 1.25rem;
    position: relative;
}

.upload-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

.upload-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.upload-box {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: var(--color-white);
    position: relative;
}

.upload-box:hover {
    border-color: var(--color-gold);
    background: rgba(201, 169, 97, 0.02);
}

.upload-box.drag-over {
    border-color: var(--color-gold);
    background: rgba(201, 169, 97, 0.05);
}

.upload-box.has-image {
    border-style: solid;
    border-color: var(--color-gold);
}

.upload-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-gold);
}

.upload-divider span {
    font-size: 2rem;
    font-weight: bold;
}

.upload-divider p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.upload-content {
    pointer-events: none;
}

.upload-box .upload-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: var(--color-gold);
}

.upload-box .upload-icon svg {
    width: 100%;
    height: 100%;
}

.upload-text {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.upload-hint {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.upload-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.upload-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.btn-remove {
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-remove:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
}

/* 上传操作按钮行 */
.upload-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.btn-delete {
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-delete:hover {
    color: var(--color-error);
    border-color: var(--color-error);
    background: rgba(204, 68, 68, 0.05);
}

.btn-delete svg {
    width: 18px;
    height: 18px;
}

/* 上传loading */
.upload-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.upload-notice {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.notice-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.notice-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-gold);
}

/* 生成进度 */
.generation-progress {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-title {
    font-weight: 500;
    color: var(--color-text);
}

.progress-percent {
    font-weight: 700;
    color: var(--color-gold);
}

.progress-bar {
    height: 8px;
    background: var(--color-bg-alt);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-status {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* 用户评价 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.review-info {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-weight: 500;
    color: var(--color-text);
}

.review-date {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.review-rating {
    color: #ffc107;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.review-text {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.review-template {
    font-size: 0.8rem;
    color: var(--color-gold);
    padding: 0.25rem 0.75rem;
    background: rgba(201, 169, 97, 0.1);
    border-radius: 50px;
    display: inline-block;
}

/* FAQ区域 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--color-bg-alt);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
    transition: var(--transition);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    padding: 0 1.5rem 1.25rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 增值服务 */
.addon-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.addon-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.addon-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-gold);
}

.addon-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.addon-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.addon-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.addon-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gold);
    display: block;
    margin-bottom: 1rem;
}

.btn-addon {
    padding: 0.6rem 1.5rem;
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    border-radius: 50px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-addon:hover {
    background: var(--color-gold);
    color: white;
}

/* 分享返利 */
.referral-banner {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.referral-content h3 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.5rem;
}

.referral-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.75rem;
}

.referral-stats {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.referral-stats strong {
    color: white;
}

.btn-referral {
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--color-gold);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-referral:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 页脚 */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 4rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand .logo-icon {
    color: var(--color-gold);
    font-size: 1.5rem;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.footer-desc {
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-contact {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.footer-legal {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

.footer-icp {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.5rem;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
}

/* 弹窗 */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal[hidden] {
    display: none;
}

/* 确保 hidden 属性正确工作 */
[hidden] {
    display: none !important;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.modal-content.modal-small {
    max-width: 350px;
}

.modal-content.modal-policy {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content.modal-large {
    max-width: 900px;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--color-text);
}

/* 支付弹窗 */
.payment-body h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.item-name {
    font-size: 0.95rem;
    color: var(--color-text);
}

.item-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gold);
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-method {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.payment-method input {
    display: none;
}

.payment-method.active,
.payment-method:hover {
    border-color: var(--color-gold);
}

.method-icon {
    font-size: 1.5rem;
}

.method-name {
    font-size: 0.85rem;
    color: var(--color-text);
}

.qr-code {
    margin-bottom: 1rem;
}

.qr-instruction {
    margin-bottom: 1rem;
}

.qr-instruction p {
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.qr-amount-display {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.qr-amount-display strong {
    color: var(--color-gold);
    font-size: 1.1rem;
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto 1rem;
    background: var(--color-white);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.qr-mock svg {
    width: 100%;
    height: 100%;
    color: var(--color-primary);
}

.payment-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
}

.payment-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(42, 157, 143, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--color-success);
}

.payment-guarantee svg {
    width: 18px;
    height: 18px;
}

/* 客服弹窗 */
.contact-body h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.contact-value {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 500;
}

.btn-copy {
    padding: 0.4rem 0.75rem;
    background: var(--color-bg-alt);
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition);
}

.btn-copy:hover {
    background: var(--color-gold);
    color: white;
}

/* 用户中心弹窗 */
.user-body h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.user-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    font-size: 0.95rem;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn.active {
    color: var(--color-gold);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-gold);
}

.order-list {
    min-height: 150px;
}

.order-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    color: var(--color-text-muted);
}

/* 政策弹窗 */
.policy-body h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    text-align: left;
}

.policy-content {
    text-align: left;
}

.policy-content h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin: 1.5rem 0 0.75rem;
}

.policy-content h4:first-child {
    margin-top: 0;
}

.policy-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-content ol {
    margin-left: 1.5rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* 编辑工具弹窗 */
.edit-body h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.edit-canvas-container {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.5rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-canvas {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/3;
    background: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.edit-placeholder-text {
    color: var(--color-text-muted);
}

.edit-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }

    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 0;
    }

    .top-banner {
        display: none;
    }

    .hero {
        padding: 5rem 1rem 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        display: none;
    }

    .btn-menu {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .btn-contact span,
    .btn-user span {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .edit-tools {
        grid-template-columns: 1fr;
    }

    .edit-card {
        flex-direction: column;
    }

    .edit-visual {
        flex: none;
        height: 150px;
    }

    .section-alt {
        padding: 3rem 1rem;
    }

    .pricing-banner {
        flex-direction: column;
        align-items: center;
    }

    .pricing-item.highlight {
        transform: none;
    }

    .upload-container {
        flex-direction: column;
    }

    .upload-divider {
        transform: rotate(90deg);
    }

    .referral-banner {
        flex-direction: column;
        text-align: center;
    }

    .payment-methods {
        flex-direction: column;
    }

    .samples-gallery {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .upload-flow {
        flex-wrap: wrap;
    }

    .flow-arrow {
        display: none;
    }

    .selection-status {
        padding: 1rem;
    }

    .status-content {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 1rem 3rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .floating-card {
        width: 140px;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .upload-notice {
        flex-direction: column;
        gap: 1rem;
    }

    .addon-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-answer {
        max-height: none !important;
    }

    .faq-item.open .faq-answer {
        max-height: none !important;
    }
}

/* ============================================
   新增样式 - 上传弹窗和支付功能
   ============================================ */

/* 上传弹窗 */
.upload-modal-body {
    max-height: 80vh;
    overflow-y: auto;
}

/* 场景标题区域 */
.upload-scene-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.scene-category {
    font-weight: 600;
}

.scene-divider {
    opacity: 0.8;
}

.scene-service {
    font-weight: 500;
}

.upload-modal-body h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.upload-modal-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.modal-flow {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.modal-upload-container {
    gap: 1rem;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    max-width: 100%;
}

.modal-upload-container.single-upload {
    max-width: 350px;
    margin: 0 auto;
}

.modal-upload-container.single-upload .upload-box {
    width: 100%;
}

.modal-upload-container .upload-box {
    height: 220px;
    min-width: 280px;
    max-width: 320px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-upload-container .upload-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-upload-container .upload-preview img {
    max-width: 180px;
    max-height: 150px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.modal-notice {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(201, 169, 97, 0.05);
    border-radius: var(--radius-sm);
}

.upload-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.upload-actions .btn-primary {
    min-width: 180px;
}

.upload-actions .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.upload-actions .btn-secondary {
    min-width: 100px;
}

/* 服务卡片选择按钮 */
.btn-service-select {
    width: 100%;
    padding: 0.875rem;
    background: var(--color-gold);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.btn-service-select:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

/* 支付弹窗 - 新样式 */
.order-info {
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.order-info-row:first-child {
    border-bottom: 1px dashed var(--color-border);
}

.order-info-row span:first-child {
    color: var(--color-text-light);
}

.order-info-row span:last-child {
    color: var(--color-text);
    font-weight: 500;
}

.payment-switch-notice {
    padding: 0.75rem;
    background: rgba(22, 119, 255, 0.05);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.payment-switch-notice p {
    font-size: 0.9rem;
    color: var(--color-text);
}

/* 支付方式 */
.payment-method {
    position: relative;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.payment-method.active {
    border-color: var(--color-gold);
    background: rgba(201, 169, 97, 0.05);
}

.method-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-icon svg {
    width: 100%;
    height: 100%;
}

.alipay-icon svg {
    color: #1677FF;
}

.wechat-icon svg {
    color: #07C160;
}

.method-recommend {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
}

/* 二维码区域 */
.qr-code-section {
    margin-bottom: 1.5rem;
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.qr-code-image {
    position: relative;
}

.qr-mock-real {
    position: relative;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.qr-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 50%;
    padding: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.qr-scan-tip {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

.qr-code-info {
    text-align: center;
}

.qr-amount {
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.qr-amount strong {
    font-size: 1.5rem;
}

.qr-tip {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.qr-order {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.qr-loading {
    padding: 3rem;
    color: var(--color-text-muted);
}

/* 支付状态 */
.payment-status {
    padding: 2rem;
}

.payment-status-content {
    text-align: center;
}

.status-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon.checking {
    background: rgba(201, 169, 97, 0.1);
}

.status-icon.success {
    background: rgba(42, 157, 143, 0.1);
    color: var(--color-success);
}

.status-icon.timeout {
    background: rgba(231, 76, 60, 0.1);
    color: var(--color-error);
}

.status-icon svg {
    width: 32px;
    height: 32px;
}

.status-icon.checking .loading-spinner {
    width: 32px;
    height: 32px;
    border-width: 3px;
}

.payment-status-content h4 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.payment-status-content p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* 支付宝PC支付 */
.alipay-pc-section {
    padding: 2rem;
}

.alipay-pc-content {
    text-align: center;
}

.alipay-logo {
    margin-bottom: 1rem;
}

.alipay-pc-content p {
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.alipay-tip {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.btn-alipay-redirect {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.875rem 2rem;
    background: #1677FF;
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.btn-alipay-redirect:hover {
    background: #0958d9;
    transform: translateY(-2px);
}

/* 支付宝支付链接按钮 */
.btn-alipay-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #1677FF;
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-alipay-link:hover {
    background: #0958d9;
    transform: translateY(-2px);
}

/* 真实支付二维码区域 */
.qr-real-payment {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-code-wrapper {
    padding: 1rem;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.qr-loading-text {
    padding: 2rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.qr-hint {
    color: var(--color-text);
    font-size: 0.95rem;
    text-align: center;
}

.qr-pay-link {
    text-align: center;
}

.qr-pay-link p {
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* PC支付区域优化 */
.alipay-pc-content h4 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin: 1rem 0 0.5rem;
}

.alipay-pc-content > p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* 支付操作按钮 */
.payment-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.payment-actions .btn-secondary,
.payment-actions .btn-primary {
    min-width: 120px;
}

/* 生成进度弹窗 */
.progress-body {
    padding: 1rem;
}

.progress-body h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.progress-tips {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(201, 169, 97, 0.05);
    border-radius: var(--radius-sm);
}

.progress-tips p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.progress-detail {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* 上传框拖拽效果 */
.upload-box.drag-over {
    border-color: var(--color-gold);
    background: rgba(201, 169, 97, 0.05);
    transform: scale(1.02);
}

.upload-box.has-image {
    border-color: var(--color-success);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .modal-upload-container {
        flex-wrap: nowrap !important;
        gap: 0.5rem;
        justify-content: center;
    }

    .modal-upload-container .upload-box {
        min-width: 0;
        flex: 1 1 45%;
        max-width: none;
        height: 160px;
        padding: 0.75rem;
    }

    .modal-upload-container.single-upload .upload-box {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
    }

    .modal-upload-container .upload-box .upload-icon {
        width: 36px;
        height: 36px;
    }

    .modal-upload-container .upload-text {
        font-size: 0.85rem;
    }

    .modal-upload-container .upload-hint {
        font-size: 0.7rem;
    }

    .modal-upload-container .upload-preview img {
        max-width: 110px;
        max-height: 90px;
    }

    .upload-divider {
        flex-shrink: 0;
    }

    .upload-divider span {
        font-size: 1.2rem;
    }

    .upload-divider p {
        font-size: 0.65rem;
        white-space: nowrap;
    }

    .upload-divider {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0 0.25rem;
    }

    .upload-divider span {
        font-size: 1.25rem;
    }

    .upload-divider p {
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .payment-methods {
        flex-direction: column;
    }

    .qr-code-container {
        padding: 1rem;
    }

    .upload-actions {
        flex-direction: column;
    }

    .upload-actions button {
        width: 100%;
    }

    /* 场景标题在移动端调整 */
    .upload-scene-header {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 480px) {
    .upload-modal-body h3 {
        font-size: 1.25rem;
    }

    .modal-flow {
        padding: 0.75rem;
    }

    .modal-flow .flow-step span {
        font-size: 0.7rem;
    }

    .modal-flow .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }

    /* 移动端上传框进一步调整 */
    .modal-upload-container {
        gap: 0.35rem;
        flex-wrap: nowrap !important;
    }

    .modal-upload-container .upload-box {
        min-width: 0;
        flex: 1 1 45%;
        max-width: none;
        height: 140px;
        padding: 0.5rem;
    }

    .modal-upload-container.single-upload {
        max-width: 260px;
    }

    .modal-upload-container.single-upload .upload-box {
        width: 100%;
    }

    .modal-upload-container .upload-box .upload-icon {
        width: 28px;
        height: 28px;
    }

    .modal-upload-container .upload-text {
        font-size: 0.75rem;
    }

    .modal-upload-container .upload-hint {
        font-size: 0.65rem;
    }

    .modal-upload-container .upload-preview img {
        max-width: 90px;
        max-height: 70px;
    }

    .upload-divider {
        flex-shrink: 0;
    }

    .upload-divider span {
        font-size: 1rem;
    }

    .upload-divider p {
        font-size: 0.6rem;
        white-space: nowrap;
    }

    .upload-actions-row {
        gap: 0.5rem;
    }

    .btn-remove {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .btn-delete {
        width: 26px;
        height: 26px;
    }

    .btn-delete svg {
        width: 12px;
        height: 12px;
    }

    /* 场景标题在移动端进一步调整 */
    .upload-scene-header {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
        gap: 0.35rem;
    }
}
