/* ========================================
   VNEX 视觉未来 - 浅色主题主样式
   参考：像素蛋糕 / FixThePhoto / RetouchMe
   ======================================== */

/* === CSS Variables === */
:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #eef2ff;
    --primary-soft: #e0e7ff;
    --accent: #06b6d4;
    --accent-light: #ecfeff;
    --bg: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-gray: #f1f5f9;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.12);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Helvetica Neue', sans-serif;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
}

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 24px; border-radius: var(--radius);
    font-size: 15px; font-weight: 600; cursor: pointer;
    border: 1.5px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    font-family: var(--font);
    letter-spacing: -0.01em;
}
.btn-primary {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-hover); border-color: var(--primary-hover);
    color: #fff; transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.35);
}
.btn-outline {
    background: transparent; border-color: var(--primary); color: var(--primary);
}
.btn-outline:hover { background: var(--primary-light); color: var(--primary-hover); }
.btn-white { background: #fff; border-color: var(--border); color: var(--text); }
.btn-white:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-md); }
.btn-lg { padding: 14px 36px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* === Header === */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
}
.header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}

.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--text); }
.logo-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; font-weight: 900;
}
.logo-sub { color: var(--text-muted); font-weight: 400; font-size: 14px; margin-left: 2px; }

.nav { display: flex; gap: 2px; }
.nav a {
    padding: 8px 18px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 500;
    color: var(--text-secondary); transition: all var(--transition);
}
.nav a:hover { color: var(--text); background: var(--bg-gray); }
.nav a.active { color: var(--primary); background: var(--primary-light); font-weight: 600; }

/* === Header Actions (登录/注册/用户菜单) === */
.header-actions {
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0;
}

/* 用户菜单 */
.user-menu { position: relative; }
.user-menu-toggle {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 12px 6px 6px; border-radius: 50px;
    background: var(--bg-gray); border: 1px solid var(--border);
    cursor: pointer; font-family: var(--font); font-size: 13px;
    color: var(--text); font-weight: 500;
    transition: all var(--transition);
}
.user-menu-toggle:hover { background: var(--primary-light); border-color: var(--primary-soft); }
.user-avatar-sm {
    width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700;
}
.user-name-sm { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.user-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
    min-width: 180px; padding: 8px;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 200;
}
.user-menu.open .user-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: var(--radius-sm);
    font-size: 14px; color: var(--text-secondary); font-weight: 500;
    text-decoration: none; transition: all 0.15s ease;
}
.dropdown-item:hover { background: var(--bg); color: var(--text); }
.dropdown-item span { font-size: 16px; }
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }
.logout-item { color: var(--danger); }
.logout-item:hover { background: var(--danger-light); color: var(--danger); }

.menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; border-radius: var(--radius-sm); }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 3px; transition: var(--transition); }
.menu-toggle:hover { background: var(--bg-gray); }

/* === Hero === */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg) 100%);
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero-content { max-width: 560px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 50px;
    background: var(--primary-light); color: var(--primary);
    font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.3); } }

.hero-title { font-size: 48px; font-weight: 900; line-height: 1.2; letter-spacing: -0.03em; color: var(--text); }
.hero-title .brand { color: var(--primary); }
.hero-title .sub { display: block; font-size: 24px; font-weight: 500; color: var(--text-secondary); margin-top: 8px; }
.hero-desc { font-size: 18px; color: var(--text-secondary); margin-top: 20px; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; }

.hero-stats { display: flex; gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.hero-stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--text); }
.hero-stat span { font-size: 13px; color: var(--text-muted); }

.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-showcase {
    position: relative; width: 100%; max-width: 440px;
}
.hero-card {
    background: var(--bg-white); border-radius: var(--radius-xl);
    padding: 28px; box-shadow: var(--shadow-xl); position: relative;
}
.hero-card-img {
    width: 100%; aspect-ratio: 4/3; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--primary-light) 25%, #ede9fe 50%, #fae8ff 75%, var(--primary-soft) 100%);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-card-img svg { width: 80px; height: 80px; opacity: 0.3; }
.hero-card-info { margin-top: 16px; }
.hero-card-info .tag {
    display: inline-block; padding: 4px 12px; border-radius: 50px;
    background: var(--primary-light); color: var(--primary); font-size: 12px; font-weight: 600;
}
.hero-card-info h4 { font-size: 18px; font-weight: 700; margin: 8px 0 4px; }
.hero-card-info p { font-size: 13px; color: var(--text-muted); }

.hero-float {
    position: absolute; top: -20px; right: -20px;
    background: var(--bg-white); border-radius: var(--radius-lg);
    padding: 16px 20px; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 10px;
}
.hero-float-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px;
}

/* === Section Common === */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-badge {
    display: inline-block; padding: 5px 14px; border-radius: 50px;
    background: var(--primary-light); color: var(--primary);
    font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
    margin-bottom: 16px;
}
.section-title { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-bottom: 12px; }
.section-sub { color: var(--text-secondary); font-size: 17px; max-width: 600px; margin: 0 auto; }

/* === Services Grid === */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.service-card {
    background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 36px 28px; transition: all var(--transition);
    text-decoration: none; color: var(--text); display: block;
    position: relative; overflow: hidden;
}
.service-card:hover {
    border-color: var(--primary-soft); box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0; transition: opacity var(--transition);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px; font-size: 24px;
}
.service-card:nth-child(2) .service-icon { background: #ecfdf5; }
.service-card:nth-child(3) .service-icon { background: #fef3c7; }

.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.service-card > p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 18px; min-height: 48px; }
.service-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--primary); font-weight: 600; font-size: 14px;
}
.service-link::after { content: '→'; transition: transform var(--transition); }
.service-card:hover .service-link::after { transform: translateX(4px); }

/* === Why Us === */
.why-us { background: var(--bg-white); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-item {
    text-align: center; padding: 36px 20px; border-radius: var(--radius-lg);
    background: var(--bg); border: 1px solid var(--border-light);
    transition: all var(--transition);
}
.feature-item:hover { background: var(--bg-white); border-color: var(--primary-soft); box-shadow: var(--shadow); }
.feature-icon {
    width: 48px; height: 48px; border-radius: 12px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.feature-icon.safety { background: #eef2ff; }
.feature-icon.quality { background: #ecfdf5; }
.feature-icon.speed { background: #fef3c7; }
.feature-icon.pure { background: #fce7f3; }
.feature-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature-item p { color: var(--text-muted); font-size: 14px; }

/* === CTA === */
.cta {
    text-align: center; background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-light) 100%);
}
.cta h2 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.cta p { color: var(--text-secondary); margin-bottom: 28px; font-size: 17px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; }

/* === Page Hero === */
.page-hero {
    padding: 56px 0 36px; text-align: center;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg) 100%);
}
.page-hero h1 { font-size: 40px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 8px; }
.page-hero p { color: var(--text-secondary); font-size: 17px; }

/* ================================
   AI 智能生图页
   ================================ */

/* Features Bar */
.features-bar { padding: 0 0 36px; }
.features-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.feature-tag {
    background: var(--bg-white); border: 1px solid var(--border);
    padding: 10px 22px; border-radius: 50px; font-size: 14px; font-weight: 500;
    color: var(--text-secondary); transition: all var(--transition);
}
.feature-tag:hover { border-color: var(--primary-soft); color: var(--primary); }

/* Generator Container */
.ai-generator { padding-top: 0; }
.generator-container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start;
}

.generator-form {
    background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-xl);
    padding: 36px; box-shadow: var(--shadow-sm);
}
.generator-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.generator-form > p { color: var(--text-muted); margin-bottom: 24px; font-size: 14px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 13px; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

input[type="text"], input[type="email"], input[type="password"], input[type="url"],
textarea, select {
    width: 100%; padding: 10px 14px;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    color: var(--text); font-size: 14px; font-family: var(--font);
    transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
select { cursor: pointer; }
.required { color: var(--danger); }

/* Generator Preview */
.generator-preview {
    background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-xl);
    min-height: 420px; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm); overflow: hidden;
}
.preview-placeholder { text-align: center; padding: 40px; }
.preview-placeholder .ph-graphic {
    width: 120px; height: 120px; margin: 0 auto 20px; border-radius: var(--radius-lg);
    background: var(--primary-light); display: flex; align-items: center; justify-content: center;
    font-size: 48px; color: var(--primary);
}
.preview-placeholder p { color: var(--text-muted); font-size: 14px; }

.preview-result { padding: 24px; width: 100%; text-align: center; }
.preview-result img { border-radius: var(--radius-lg); margin-bottom: 16px; width: 100%; box-shadow: var(--shadow-md); }
.preview-actions { display: flex; gap: 10px; justify-content: center; }

/* AI Gallery Showcase */
.ai-showcase { background: var(--bg-white); padding: 60px 0 80px; }
.ai-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.gallery-item {
    border-radius: var(--radius); overflow: hidden;
    background: var(--bg-gray); aspect-ratio: 1;
    cursor: pointer; position: relative; transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover { box-shadow: var(--shadow-lg); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5));
    display: flex; align-items: flex-end; padding: 14px; opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
    color: #fff; font-size: 13px; font-weight: 500;
    background: rgba(255,255,255,0.2); backdrop-filter: blur(4px);
    padding: 4px 10px; border-radius: 50px;
}

/* Steps */
.steps { background: var(--bg-white); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-item {
    text-align: center; padding: 28px 20px; border-radius: var(--radius-lg);
    background: var(--bg); position: relative;
}
.step-num {
    font-size: 40px; font-weight: 900; color: var(--primary); opacity: 0.08;
    position: absolute; top: 8px; right: 16px;
}
.step-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; position: relative; }
.step-item p { color: var(--text-muted); font-size: 14px; position: relative; }
.steps-note { text-align: center; margin-top: 32px; color: var(--text-muted); font-size: 14px; }

/* ================================
   人工精修页 - Before/After 对比
   ================================ */

/* Retouch Services */
.retouch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.retouch-card {
    background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 28px 22px; transition: all var(--transition); cursor: pointer;
}
.retouch-card:hover { border-color: var(--primary-soft); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.retouch-icon {
    width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 14px;
}
.retouch-card:nth-child(1) .retouch-icon { background: #eef2ff; }
.retouch-card:nth-child(2) .retouch-icon { background: #ecfdf5; }
.retouch-card:nth-child(3) .retouch-icon { background: #fef3c7; }
.retouch-card:nth-child(4) .retouch-icon { background: #fce7f3; }
.retouch-card:nth-child(5) .retouch-icon { background: #e0e7ff; }
.retouch-card:nth-child(6) .retouch-icon { background: #f0fdf4; }
.retouch-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.retouch-card p { color: var(--text-muted); font-size: 13px; line-height: 1.6; }

/* Before/After Comparison Section */
.comparison-section { background: var(--bg-white); padding: 60px 0 80px; }
.comparison-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.comparison-item {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; transition: all var(--transition);
}
.comparison-item:hover { box-shadow: var(--shadow-lg); border-color: var(--primary-soft); }

.comparison-slider-wrap {
    position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: ew-resize;
    user-select: none; -webkit-user-select: none;
}

.comparison-before, .comparison-after {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.comparison-before img, .comparison-after img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.comparison-after {
    clip-path: inset(0 50% 0 0); /* will be updated by JS, shows left portion */
}

.comparison-handle {
    position: absolute; top: 0; bottom: 0; width: 3px;
    background: #fff; cursor: ew-resize;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    z-index: 2;
}
.comparison-handle::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 20px; background-repeat: no-repeat; background-position: center;
}
.comparison-handle:hover::after { transform: translate(-50%, -50%) scale(1.1); }

.comparison-labels {
    position: absolute; bottom: 12px;
    display: flex; gap: 8px; z-index: 3; pointer-events: none;
    left: 12px; right: 12px; justify-content: space-between;
}
.comparison-labels span {
    padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.label-before { background: rgba(0,0,0,0.6); color: #fff; }
.label-after { background: rgba(99,102,241,0.85); color: #fff; }

.comparison-info { padding: 16px 18px; }
.comparison-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.comparison-info p { font-size: 13px; color: var(--text-muted); }

/* Workflow */
.workflow { background: var(--bg-white); }
.workflow-steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.wf-step { text-align: center; width: 120px; }
.wf-icon {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px; font-size: 22px; transition: all var(--transition);
}
.wf-step:hover .wf-icon { background: var(--primary); color: #fff; transform: scale(1.08); }
.wf-step h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.wf-step p { font-size: 12px; color: var(--text-muted); }
.wf-divider {
    width: 40px; height: 2px; background: var(--border);
    margin-top: 26px; flex-shrink: 0;
}
.workflow-cta { text-align: center; margin-top: 44px; }

/* ================================
   用户中心 / 登录注册
   ================================ */

/* 用户布局 */
.user-section { padding: 40px 0 60px; }
.user-container { display: flex; gap: 28px; align-items: flex-start; }
.user-sidebar { width: 240px; flex-shrink: 0; }
.user-content { flex: 1; min-width: 0; }

.user-sidebar .user-info {
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px; text-align: center; margin-bottom: 12px;
    position: relative; overflow: visible; z-index: 10;
}
.user-sidebar .avatar {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin: 0 auto 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.user-sidebar h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.user-sidebar p { font-size: 13px; color: var(--text-muted); }

/* 头像卡片 - 可点击展开下拉 */
.user-sidebar .avatar-card {
    cursor: pointer; position: relative;
    padding: 4px; margin: -4px; border-radius: var(--radius);
    transition: background 0.15s ease;
}
.user-sidebar .avatar-card:hover {
    background: var(--bg-gray);
}
.user-sidebar .avatar-card h3 {
    display: inline-flex; align-items: center; gap: 5px;
}
.user-sidebar .avatar-toggle-icon {
    color: var(--text-muted); transition: transform 0.2s ease; flex-shrink: 0;
}
.user-sidebar .user-info.open .avatar-toggle-icon {
    transform: rotate(180deg);
}
.user-sidebar .user-info.open .avatar {
    transform: scale(1.05);
    box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}

/* 头像下拉菜单 */
.user-sidebar .avatar-dropdown {
    position: absolute; top: calc(100% - 8px); left: 50%; transform: translateX(-50%);
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
    min-width: 210px; padding: 8px; z-index: 20;
    opacity: 0; visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    transform: translateX(-50%) translateY(-6px);
}
.user-sidebar .user-info.open .avatar-dropdown {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.user-sidebar .dropdown-info-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 14px; font-size: 13px; border-radius: var(--radius-sm);
    transition: background 0.1s ease;
}
.user-sidebar .dropdown-info-item:hover {
    background: var(--bg);
}
.user-sidebar .dropdown-info-item .info-label {
    color: var(--text-muted); font-weight: 500; white-space: nowrap;
}
.user-sidebar .dropdown-info-item .info-value {
    color: var(--text); font-weight: 500; text-align: right;
    max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.user-sidebar .dropdown-divider {
    height: 1px; background: var(--border); margin: 6px 8px;
}
.user-sidebar .dropdown-logout {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600; color: var(--danger);
    text-decoration: none; transition: all 0.15s ease;
}
.user-sidebar .dropdown-logout:hover {
    background: var(--danger-light); color: var(--danger);
}

.user-sidebar .nav-menu {
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
}
.user-sidebar .nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 20px; font-size: 14px; font-weight: 500;
    color: var(--text-secondary); border-bottom: 1px solid var(--border-light);
    transition: all 0.15s ease; text-decoration: none;
}
.user-sidebar .nav-item:last-child { border-bottom: none; }
.user-sidebar .nav-item:hover { background: var(--bg); color: var(--text); }
.user-sidebar .nav-item.active { color: var(--primary); background: var(--primary-light); font-weight: 600; border-right: 3px solid var(--primary); }
.user-sidebar .nav-item.logout { color: var(--danger); }
.user-sidebar .nav-item.logout:hover { background: var(--danger-light); }

/* 仪表盘概览 */
.dashboard-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    margin-bottom: 24px;
}
.dash-card {
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px 24px;
    transition: all var(--transition);
}
.dash-card:hover { box-shadow: var(--shadow-md); }
.dash-card .dash-icon { font-size: 28px; margin-bottom: 8px; }
.dash-card .dash-label { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.dash-card .dash-value { font-size: 24px; font-weight: 800; color: var(--text); }
.dash-card.accent .dash-value { color: var(--primary); }
.dash-card.success .dash-value { color: var(--success); }
.dash-actions {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.dash-action {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 20px 14px; background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); font-size: 14px; font-weight: 600;
    color: var(--text-secondary); cursor: pointer; text-decoration: none;
    transition: all var(--transition);
}
.dash-action:hover { border-color: var(--primary-soft); color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.dash-action .action-icon { font-size: 28px; }

/* 钱包卡片 */
.wallet-card {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border-radius: var(--radius-xl); padding: 32px; color: #fff;
    margin-bottom: 28px;
}
.wallet-card h2 { font-size: 18px; font-weight: 600; margin-bottom: 4px; opacity: 0.9; }
.wallet-balance { margin: 20px 0; }
.balance-symbol { font-size: 20px; font-weight: 300; }
.balance-number { font-size: 42px; font-weight: 900; letter-spacing: -0.02em; }
.balance-label { font-size: 14px; opacity: 0.75; margin-top: 4px; }
.wallet-stats {
    display: flex; gap: 24px; padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.wallet-stats .stat-item { flex: 1; }
.wallet-stats .stat-value { display: block; font-size: 18px; font-weight: 700; }
.wallet-stats .stat-label { display: block; font-size: 12px; opacity: 0.7; margin-top: 2px; }
.wallet-actions { margin-top: 24px; }
.wallet-actions .btn { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.wallet-actions .btn:hover { background: rgba(255,255,255,0.3); }

/* 充值表单 */
.recharge-form-section {
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px;
}
.recharge-form-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.amount-options { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.amount-btn {
    padding: 8px 16px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); background: var(--bg-white);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all var(--transition); font-family: var(--font);
    color: var(--text-secondary);
}
.amount-btn:hover, .amount-btn.active {
    border-color: var(--primary); color: var(--primary);
    background: var(--primary-light);
}
.qrcode-section { margin-top: 20px; }
.qrcode-tabs { display: flex; gap: 0; margin-bottom: 16px; }
.qrcode-tab {
    flex: 1; padding: 10px; text-align: center;
    border: 1px solid var(--border); background: var(--bg);
    cursor: pointer; font-size: 13px; font-weight: 600;
    font-family: var(--font); transition: all var(--transition);
    color: var(--text-secondary);
}
.qrcode-tab:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.qrcode-tab:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.qrcode-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.qrcode-img { max-width: 260px; margin: 0 auto; border-radius: var(--radius); }
.payment-note {
    background: var(--warning-light); border-radius: var(--radius-sm);
    padding: 14px 18px; font-size: 13px; color: var(--text-secondary);
    margin: 16px 0; line-height: 1.8;
}
.payment-note strong { color: var(--text); }

/* 记录表格 */
.record-table {
    width: 100%; border-collapse: collapse; font-size: 14px;
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
}
.record-table th {
    background: var(--bg); text-align: left; padding: 12px 16px;
    font-weight: 600; color: var(--text-secondary); font-size: 13px;
    border-bottom: 1px solid var(--border);
}
.record-table td {
    padding: 12px 16px; color: var(--text); border-bottom: 1px solid var(--border-light);
}
.record-table tr:last-child td { border-bottom: none; }
.record-table tr:hover td { background: var(--bg); }
.status-pending {
    display: inline-block; padding: 3px 10px; border-radius: 50px;
    font-size: 12px; font-weight: 600;
    background: var(--warning-light); color: var(--warning);
}
.status-success {
    display: inline-block; padding: 3px 10px; border-radius: 50px;
    font-size: 12px; font-weight: 600;
    background: var(--success-light); color: var(--success);
}
.status-error {
    display: inline-block; padding: 3px 10px; border-radius: 50px;
    font-size: 12px; font-weight: 600;
    background: var(--danger-light); color: var(--danger);
}

/* 账户设置表单 */
.settings-section {
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px;
    margin-bottom: 16px;
}
.settings-section h3 { font-size: 17px; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }

/* 登录/注册 */
.auth-section { padding: 40px 0 60px; }
.auth-container {
    max-width: 440px; margin: 0 auto;
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 36px 32px;
    box-shadow: var(--shadow-lg);
}
.auth-tabs { display: flex; gap: 0; margin-bottom: 28px; }
.auth-tab {
    flex: 1; padding: 12px; text-align: center;
    background: var(--bg); border: 1px solid var(--border);
    cursor: pointer; font-size: 15px; font-weight: 600;
    font-family: var(--font); transition: all var(--transition);
    color: var(--text-secondary);
}
.auth-tab:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.auth-tab:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.auth-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.auth-note { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-muted); }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
    border-radius: var(--radius); font-size: 15px; font-family: var(--font);
    background: var(--bg-white); color: var(--text);
    transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.file-upload { position: relative; }
.file-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.file-placeholder {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 28px; border: 2px dashed var(--border); border-radius: var(--radius);
    cursor: pointer; transition: border-color var(--transition);
    color: var(--text-muted);
}
.file-placeholder:hover { border-color: var(--primary); }
.file-placeholder .file-icon { font-size: 32px; }
.file-placeholder span { font-size: 14px; font-weight: 500; }
.file-placeholder small { font-size: 12px; }
.file-preview { position: relative; }
.file-preview img { width: 100%; max-height: 200px; object-fit: contain; border-radius: var(--radius); }
.file-remove {
    position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%;
    background: var(--danger); color: #fff; border: none; cursor: pointer;
    font-size: 14px; display: flex; align-items: center; justify-content: center;
}

/* Alert */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: var(--success-light); color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: var(--danger-light); color: #991b1b; border: 1px solid #fecaca; }
.alert-icon { font-size: 18px; flex-shrink: 0; }

/* Empty state */
.empty-state { text-align: center; padding: 48px 20px; }
.empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state p { color: var(--text-muted); font-size: 14px; }

/* Section header */
.section-header { margin-bottom: 20px; }
.section-header h2 { font-size: 20px; font-weight: 700; color: var(--text); }

/* 响应式：用户中心 */
@media (max-width: 768px) {
    .user-container { flex-direction: column; }
    .user-sidebar { width: 100%; }
    .dashboard-grid, .dash-actions { grid-template-columns: 1fr 1fr; }
    .form-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .dashboard-grid, .dash-actions { grid-template-columns: 1fr; }
    .wallet-card { padding: 24px; }
    .balance-number { font-size: 32px; }
    .record-table { font-size: 12px; }
    .record-table th, .record-table td { padding: 8px 10px; }
    .auth-container { padding: 24px 20px; }
}

/* ================================
   案例展示页
   ================================ */

.case-filter { padding: 0 0 30px; }
.filter-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.filter-tab {
    padding: 8px 20px; border-radius: 50px; font-size: 14px; font-weight: 500;
    border: 1px solid var(--border); color: var(--text-secondary);
    transition: all var(--transition); background: var(--bg-white);
}
.filter-tab:hover { border-color: var(--primary-soft); color: var(--primary); }
.filter-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.case-grid-section { padding-top: 0; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.case-card {
    background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; transition: all var(--transition);
}
.case-card:hover { border-color: var(--primary-soft); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.case-image {
    position: relative; overflow: hidden; aspect-ratio: 4/3;
    background: var(--bg-gray); cursor: pointer;
}
.case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.case-card:hover .case-image img { transform: scale(1.04); }
.case-image .case-zoom {
    position: absolute; inset: 0; background: rgba(0,0,0,0.3);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity var(--transition);
}
.case-card:hover .case-zoom { opacity: 1; }
.case-zoom span {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--primary);
}
.case-info { padding: 16px 18px; }
.case-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.case-info p { color: var(--text-muted); font-size: 13px; line-height: 1.5; margin-bottom: 10px; }
.case-type-badge {
    display: inline-block; padding: 3px 10px; border-radius: 50px;
    font-size: 11px; font-weight: 600; background: var(--primary-light); color: var(--primary);
}

/* Lightbox */
.lightbox {
    display: none; position: fixed; inset: 0; z-index: 1000;
    background: rgba(15,23,42,0.95); align-items: center; justify-content: center; flex-direction: column;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }
.lightbox p { margin-top: 16px; color: rgba(255,255,255,0.7); font-size: 15px; }
.lightbox-close {
    position: absolute; top: 28px; right: 36px;
    font-size: 36px; color: #fff; cursor: pointer; background: rgba(255,255,255,0.1);
    width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ================================
   在线下单页
   ================================ */

.order-form-section { padding-top: 0; }
.order-container { max-width: 640px; margin: 0 auto; }
.order-form {
    background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-xl);
    padding: 40px; box-shadow: var(--shadow-sm);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.file-upload { position: relative; }
.file-upload input[type="file"] {
    position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 1;
}
.file-placeholder {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 36px; border: 2px dashed var(--border); border-radius: var(--radius);
    color: var(--text-muted); font-size: 14px; transition: all var(--transition);
    background: var(--bg);
}
.file-placeholder:hover { border-color: var(--primary); background: var(--primary-light); }
.file-placeholder .file-icon-text { font-size: 32px; }
.file-placeholder small { font-size: 12px; color: var(--text-light); }

.file-preview { position: relative; }
.file-preview img { border-radius: var(--radius); }
.file-remove {
    position: absolute; top: 8px; right: 8px;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--danger); color: #fff; border: none; cursor: pointer;
    font-size: 14px; display: flex; align-items: center; justify-content: center;
    transition: opacity var(--transition);
}
.file-remove:hover { opacity: 0.85; }

.form-note { text-align: center; margin-top: 16px; color: var(--text-muted); font-size: 12px; }

/* Alerts */
.alert { display: flex; align-items: flex-start; gap: 14px; padding: 20px 24px; border-radius: var(--radius-lg); margin-bottom: 24px; }
.alert-success { background: var(--success-light); border: 1px solid #a7f3d0; }
.alert-error { background: var(--danger-light); border: 1px solid #fecaca; }
.alert-icon { font-size: 28px; flex-shrink: 0; }

/* Empty State */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state p { color: var(--text-muted); font-size: 16px; }

/* ================================
   Footer - Modern Premium Design
   ================================ */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    margin-top: auto;
}
.footer a { color: #cbd5e1; }
.footer a:hover { color: #fff; }

/* Main */
.footer-main {
    padding: 64px 0 48px;
}
.footer-row {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
    gap: 48px;
}
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 20px;
}

/* Brand/Info */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    color: #fff;
}
.footer-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}
.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 20px;
    max-width: 300px;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.25s;
}
.footer-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Nav Links */
.footer-nav ul {
    list-style: none;
}
.footer-nav li {
    margin-bottom: 10px;
}
.footer-nav a {
    display: inline-block;
    font-size: 14px;
    color: #94a3b8;
    transition: all 0.2s;
    position: relative;
}
.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.25s;
}
.footer-nav a:hover {
    color: #fff;
}
.footer-nav a:hover::after {
    width: 100%;
}

/* Guarantee */
.guarantee-list {
    list-style: none;
}
.guarantee-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}
.guarantee-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(99,102,241,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-top: 1px;
}

/* Contact */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.contact-item:hover {
    color: #fff;
}
.contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}
.contact-qrcode {
    margin-top: 8px;
}
.contact-qrcode img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.1);
}
.contact-qrcode span {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 6px;
    text-align: center;
}

/* Bottom Bar */
.footer-bar {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 16px 0;
    font-size: 13px;
    color: #64748b;
}
.footer-bar .container {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-bar-sep {
    color: rgba(255,255,255,0.1);
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 1024px) {
    .generator-container { grid-template-columns: 1fr; }
    .ai-gallery { grid-template-columns: repeat(2, 1fr); }
    .comparison-showcase { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-title { font-size: 36px; }
    .hero-title .sub { font-size: 18px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .section-title { font-size: 28px; }
    .services-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .retouch-grid { grid-template-columns: repeat(2, 1fr); }
    .comparison-showcase { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-row { grid-template-columns: 1fr 1fr; gap: 32px; }
    .workflow-steps { flex-direction: column; align-items: center; gap: 16px; }
    .wf-divider { width: 2px; height: 24px; margin-top: 0; }
    .form-row-2 { grid-template-columns: 1fr; }
    .menu-toggle { display: flex; }
    .header-actions { margin-left: auto; gap: 6px; }
    .header-actions .btn-sm { padding: 5px 10px; font-size: 12px; }
    .nav {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        background: var(--bg-white); border-bottom: 1px solid var(--border);
        flex-direction: column; padding: 12px; box-shadow: var(--shadow-lg);
    }
    .nav.active { display: flex; }
    .ai-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .case-grid, .retouch-grid, .features-grid, .steps-grid, .comparison-showcase { grid-template-columns: 1fr; }
    .order-form { padding: 24px; }
    .ai-gallery { grid-template-columns: 1fr; }
    .footer-row { grid-template-columns: 1fr; gap: 28px; }
}
