﻿/*
 * FIGURE3D - Shared Styles
 * Clean regenerated version
 */

/* ======================== */
/* Anti-Flicker Loading     */
/* ======================== */
.page-loading {
    opacity: 0;
    visibility: hidden;
}

.page-ready {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease-out;
}

/* ======================== */
/* CSS Variables & Base     */
/* ======================== */
:root {
    --primary: #00f5d4;
    --secondary: #7b2cbf;
    --accent: #f72585;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 35, 0.8);
    --text-light: #e8e8e8;
    --text-muted: rgba(232, 232, 232, 0.6);
    --gradient-primary: linear-gradient(135deg, #00f5d4, #7b2cbf);
    --gradient-accent: linear-gradient(135deg, #f72585, #b5179e);
    --shadow-glow: 0 0 30px rgba(0, 245, 212, 0.3);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ======================== */
/* Responsive Utilities     */
/* ======================== */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block !important;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ======================== */
/* Custom Scrollbar         */
/* ======================== */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00d4b8, #6b24a8);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(255, 255, 255, 0.05);
}

/* 图片区域横向滚动条特殊样式 */
.order-images::-webkit-scrollbar {
    height: 6px;
}

.order-images::-webkit-scrollbar-track {
    background: rgba(0, 245, 212, 0.1);
    border-radius: 3px;
    margin: 0 8px;
}

.order-images::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* RTL Support */
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

/* ======================== */
/* Background Animation     */
/* ======================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(0, 245, 212, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(123, 44, 191, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(247, 37, 133, 0.05) 0%, transparent 60%),
        var(--bg-dark);
}

/* ======================== */
/* Navigation               */
/* ======================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(10, 10, 15, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 245, 212, 0.1);
    /* macOS Chrome 优化: 强制GPU加速 */
    transform: translateZ(0);
    will-change: transform;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.logo-mini {
    font-size: 0.9em;
    font-weight: 500;
    text-transform: lowercase;
    background: linear-gradient(135deg, #7b2cbf, #b5179e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-3d {
    font-size: 1.1em;
    font-weight: 900;
    background: linear-gradient(135deg, #00f5d4 0%, #fff 50%, #00f5d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 8px rgba(0, 245, 212, 0.5));
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ======================== */
/* Language Selector        */
/* ======================== */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 245, 212, 0.2);
    border-radius: 25px;
    padding: 8px 16px;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(0, 245, 212, 0.1);
    border-color: var(--primary);
}

.lang-flag {
    font-size: 1.2rem;
}

.lang-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.lang-selector.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(20, 20, 35, 0.98);
    border: 1px solid rgba(0, 245, 212, 0.2);
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 1001;
}

.lang-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-option:hover {
    background: rgba(0, 245, 212, 0.1);
}

.lang-option.active {
    background: rgba(0, 245, 212, 0.15);
    color: var(--primary);
}

.lang-name {
    font-size: 0.9rem;
    white-space: nowrap;
}

/* ======================== */
/* Mobile Menu              */
/* ======================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 1.5rem 2rem;
    display: none;
    flex-direction: column;
    z-index: 999;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.mobile-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.25s ease;
    background: transparent;
    border: 1px solid transparent;
}

.mobile-nav a i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    color: var(--primary);
    opacity: 0.8;
}

.mobile-nav a:hover,
.mobile-nav a:active {
    background: rgba(0, 245, 212, 0.08);
    border-color: rgba(0, 245, 212, 0.15);
    color: var(--primary);
    transform: translateX(4px);
}

.mobile-nav a:hover i,
.mobile-nav a:active i {
    opacity: 1;
}

/* 移动端导航分割线 */
.mobile-nav-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 0.75rem 0;
}

/* 移动端导航底部按钮区 */
.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.mobile-nav-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 12px;
}

.mobile-nav-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
}

.mobile-nav-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.mobile-nav-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    color: #000;
    font-weight: 600;
}

/* 移动端导航激活状态 */
.mobile-nav a.active {
    background: rgba(0, 245, 212, 0.1);
    border-color: rgba(0, 245, 212, 0.2);
    color: var(--primary);
}

.mobile-nav a.active i {
    opacity: 1;
}

/* ======================== */
/* Hero Section             */
/* ======================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 80px;
    position: relative;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid rgba(0, 245, 212, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #00f5d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    max-width: 550px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 245, 212, 0.2), 0 0 80px rgba(123, 44, 191, 0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: heroFloat 6s ease-in-out infinite;
}

.hero-image:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 245, 212, 0.3), 0 0 100px rgba(123, 44, 191, 0.25);
}

/* ======================== */
/* 幻灯片效果               */
/* ======================== */
.card-stack {
    position: relative;
    width: 700px;
    height: 580px;
    margin: 0 auto;
}

/* 默认状态：所有卡片在后面 */
.hero-card {
    position: absolute;
    width: 400px;
    height: 520px;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%) scale(0.85);
    -ms-transform: translate(-50%, -50%) scale(0.85);
    transform: translate(-50%, -50%) scale(0.85);
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    -webkit-transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    -moz-transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    -o-transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    border: 4px solid rgba(255, 255, 255, 0.2);
    max-width: 100%;
    background-color: #1a1a2e;
    opacity: 0.6;
    z-index: 1;
    cursor: pointer;
}

/* 最左侧位置 */
.hero-card.slide-far-left {
    -webkit-transform: translate(-50%, -50%) translateX(-300px) scale(0.72) rotate(-10deg);
    -ms-transform: translate(-50%, -50%) translateX(-300px) scale(0.72) rotate(-10deg);
    transform: translate(-50%, -50%) translateX(-300px) scale(0.72) rotate(-10deg);
    opacity: 0.5;
    z-index: 0;
}

/* 左侧位置 */
.hero-card.slide-left {
    -webkit-transform: translate(-50%, -50%) translateX(-170px) scale(0.88) rotate(-5deg);
    -ms-transform: translate(-50%, -50%) translateX(-170px) scale(0.88) rotate(-5deg);
    transform: translate(-50%, -50%) translateX(-170px) scale(0.88) rotate(-5deg);
    opacity: 0.78;
    z-index: 1;
}

/* 右侧位置 */
.hero-card.slide-right {
    -webkit-transform: translate(-50%, -50%) translateX(170px) scale(0.88) rotate(5deg);
    -ms-transform: translate(-50%, -50%) translateX(170px) scale(0.88) rotate(5deg);
    transform: translate(-50%, -50%) translateX(170px) scale(0.88) rotate(5deg);
    opacity: 0.78;
    z-index: 1;
}

/* 最右侧位置 */
.hero-card.slide-far-right {
    -webkit-transform: translate(-50%, -50%) translateX(300px) scale(0.72) rotate(10deg);
    -ms-transform: translate(-50%, -50%) translateX(300px) scale(0.72) rotate(10deg);
    transform: translate(-50%, -50%) translateX(300px) scale(0.72) rotate(10deg);
    opacity: 0.5;
    z-index: 0;
}

/* 当前活动卡片 - 居中放大 */
.hero-card.slide-active {
    -webkit-transform: translate(-50%, -50%) scale(1.05);
    -ms-transform: translate(-50%, -50%) scale(1.05);
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 245, 212, 0.4);
    border-color: rgba(0, 245, 212, 0.4);
}

/* 隐藏的卡片（备用，当前不使用） */
.hero-card.slide-hidden {
    -webkit-transform: translate(-50%, -50%) scale(0.6);
    -ms-transform: translate(-50%, -50%) scale(0.6);
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0 !important;
    visibility: hidden;
    z-index: 0;
    pointer-events: none;
}

/* 悬停效果 */
.hero-card:hover {
    opacity: 1 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 245, 212, 0.5);
}

.hero-card.slide-active:hover {
    -webkit-transform: translate(-50%, -50%) scale(1.1);
    -ms-transform: translate(-50%, -50%) scale(1.1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* 幻灯片指示器 */
.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.slide-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(0, 245, 212, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-indicator:hover {
    background: rgba(0, 245, 212, 0.5);
}

.slide-indicator.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}

/* 浮动动画 */
.card-stack {
    -webkit-animation: cardStackFloat 6s ease-in-out infinite;
    animation: cardStackFloat 6s ease-in-out infinite;
}

@-webkit-keyframes cardStackFloat {

    0%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    50% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}

@keyframes cardStackFloat {

    0%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    50% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .card-stack {
        width: 380px;
        height: 480px;
    }

    .hero-card {
        width: 280px;
        height: 370px;
    }

    .card-3 {
        -webkit-transform: translate(-50%, -50%) translateX(-70px) rotate(-10deg);
        transform: translate(-50%, -50%) translateX(-70px) rotate(-10deg);
    }

    .card-2 {
        -webkit-transform: translate(-50%, -50%) translateY(-10px);
        transform: translate(-50%, -50%) translateY(-10px);
    }

    .card-1 {
        -webkit-transform: translate(-50%, -50%) translateX(70px) rotate(10deg);
        transform: translate(-50%, -50%) translateX(70px) rotate(10deg);
    }
}

@media (max-width: 768px) {
    .card-stack {
        width: 320px;
        height: 400px;
    }

    .hero-card {
        width: 240px;
        height: 310px;
    }

    .card-3 {
        -webkit-transform: translate(-50%, -50%) translateX(-40px) rotate(-8deg);
        transform: translate(-50%, -50%) translateX(-40px) rotate(-8deg);
    }

    .card-1 {
        -webkit-transform: translate(-50%, -50%) translateX(40px) rotate(8deg);
        transform: translate(-50%, -50%) translateX(40px) rotate(8deg);
    }

    .card-stack:hover .card-3 {
        -webkit-transform: translate(-50%, -50%) translateX(-80px) rotate(-14deg) scale(0.92);
        transform: translate(-50%, -50%) translateX(-80px) rotate(-14deg) scale(0.92);
    }

    .card-stack:hover .card-1 {
        -webkit-transform: translate(-50%, -50%) translateX(80px) rotate(14deg) scale(0.92);
        transform: translate(-50%, -50%) translateX(80px) rotate(14deg) scale(0.92);
    }
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ======================== */
/* Buttons                  */
/* ======================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #000;
    box-shadow: 0 5px 20px rgba(0, 245, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 245, 212, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 245, 212, 0.1);
    transform: translateY(-3px);
}

/* ======================== */
/* Section Headers          */
/* ======================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ======================== */
/* Features Section         */
/* ======================== */
.features {
    padding: 100px 5%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 245, 212, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ======================== */
/* Gallery Section          */
/* ======================== */
.gallery {
    padding: 100px 5%;
    background: rgba(0, 0, 0, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 1;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 1px solid rgba(0, 245, 212, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ======================== */
/* Order Section            */
/* ======================== */
.order-section {
    padding: 100px 5%;
}

.order-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid rgba(0, 245, 212, 0.1);
    border-radius: 24px;
    padding: 3rem;
}

.order-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: var(--transition);
}

.step.active {
    opacity: 1;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: var(--transition);
}

.step.active .step-num {
    background: var(--gradient-primary);
    color: #000;
}

.step span:last-child {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ======================== */
/* Form Styles              */
/* ======================== */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 245, 212, 0.2);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.2);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.error-msg {
    display: none;
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* ======================== */
/* Upload Zone              */
/* ======================== */
.upload-zone {
    border: 2px dashed rgba(0, 245, 212, 0.3);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--primary);
    background: rgba(0, 245, 212, 0.05);
}

.upload-zone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.upload-zone h3 {
    margin-bottom: 0.5rem;
}

.upload-zone p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.preview-container {
    display: none;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.preview-container.show {
    display: flex;
}

.preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0, 245, 212, 0.3);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-item .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ======================== */
/* Style & Size Options     */
/* ======================== */
.style-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem;
}

.style-option {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.style-option:hover {
    border-color: rgba(0, 245, 212, 0.3);
}

.style-option.selected {
    border-color: var(--primary);
    background: rgba(0, 245, 212, 0.1);
}

.style-option input {
    display: none;
}

.style-icon {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
}

.style-option h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.style-option p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.size-option {
    flex: 1;
    min-width: 120px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.2rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.size-option:hover {
    border-color: rgba(0, 245, 212, 0.3);
    background: rgba(0, 245, 212, 0.05);
}

.size-option.selected {
    border-color: var(--primary);
    background: rgba(0, 245, 212, 0.1);
}

.size-option input {
    display: none;
}

.size-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.size-price {
    font-weight: 600;
    margin-top: 0.5rem;
    color: var(--text-light);
}

/* ======================== */
/* Material Info            */
/* ======================== */
.material-info {
    display: flex;
    gap: 1.5rem;
    background: rgba(0, 245, 212, 0.05);
    border: 1px solid rgba(0, 245, 212, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.material-icon {
    font-size: 2.5rem;
}

.material-text h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.material-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ======================== */
/* Price Summary            */
/* ======================== */
.price-summary {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.price-total {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.price-total .amount {
    color: var(--primary);
}

/* ======================== */
/* Submit Button            */
/* ======================== */
.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    border: none;
    border-radius: 16px;
    color: #000;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 245, 212, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 按钮点击加载动画 */
.submit-btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    margin-left: -12px;
    margin-top: -12px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: submitBtnSpin 0.8s linear infinite;
}

@keyframes submitBtnSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 按钮成功动画 */
.submit-btn.success {
    background: linear-gradient(135deg, #00f5d4, #00c9a7);
    animation: submitBtnPulse 0.6s ease-out;
}

@keyframes submitBtnPulse {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(0.95);
    }

    60% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

/* 按钮点击波纹效果 */
.submit-btn:active:not(:disabled):not(.loading) {
    transform: scale(0.98);
}

/* ======================== */
/* Footer                   */
/* ======================== */
footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 60px 5% 30px;
    border-top: 1px solid rgba(0, 245, 212, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ======================== */
/* Fade In Animation        */
/* ======================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================== */
/* Orders Page Styles       */
/* ======================== */
.main-content {
    padding: 120px 5% 60px;
    /* 移除max-width限制，让订单卡片100%平铺 */
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    color: var(--text-muted);
}

/* Email Section */
.email-section {
    background: var(--bg-card);
    border: 1px solid rgba(0, 245, 212, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin: 0 auto 2rem;
    max-width: 1200px;
}

#ordersContainer {
    max-width: 1200px;
    margin: 0 auto;
}

.email-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.email-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.email-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 245, 212, 0.2);
    border-radius: 25px;
    padding: 10px 18px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.email-tag:hover {
    border-color: var(--primary);
    background: rgba(0, 245, 212, 0.1);
}

.email-tag.selected {
    background: rgba(0, 245, 212, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

.email-tag .check-icon::before {
    content: '';
}

.email-tag.selected .check-icon::before {
    content: '✓ ';
}

.email-input-group {
    display: flex;
    gap: 1rem;
}

.email-input-group input {
    flex: 1;
}

/* Orders Grid */
.orders-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    /* 移除max-width，让卡片100%平铺 */
    margin: 0 auto;
}

.order-card {
    background: linear-gradient(165deg, rgba(20, 20, 40, 0.96), rgba(10, 10, 20, 0.98));
    border: 1px solid rgba(0, 245, 212, 0.15);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4),
        0 0 1px rgba(0, 245, 212, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* 顶部渐变装饰条 */
.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            var(--primary) 0%,
            var(--secondary) 35%,
            var(--accent) 65%,
            var(--primary) 100%);
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* 背景光晕效果 */
.order-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 245, 212, 0.06) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.order-card:hover::after {
    opacity: 1;
}

.order-card:hover {
    border-color: rgba(0, 245, 212, 0.4);
    box-shadow:
        0 12px 40px rgba(0, 245, 212, 0.15),
        0 0 60px rgba(123, 44, 191, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 1.5rem;
    position: relative;
}

.order-info-left {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
}

.order-info-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.order-id {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), #9d4edd, #b5179e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.15rem;
    letter-spacing: 1.2px;
    filter: drop-shadow(0 0 20px rgba(0, 245, 212, 0.3));
}

.order-email {
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.8;
}

.order-date {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.06), rgba(123, 44, 191, 0.06));
    padding: 7px 15px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.order-date:hover {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.12), rgba(123, 44, 191, 0.12));
    border-color: rgba(0, 245, 212, 0.2);
    transform: translateX(-2px);
}

/* Order Body Layout - 单行横向布局 */
.order-body {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    /* 改为center垂直居中 */
    flex-wrap: nowrap;
    /* 不换行 */
}

/* PC端图片区域优化 - 占据60% (3/5) */
.order-images {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    flex: 3;
    /* 3/5比例 */
    overflow-x: auto;
    overflow-y: hidden;
    min-width: 0;
    /* 防止flex溢出 */
    padding: 4px 0;
}

.order-image {
    width: 80px;
    /* 固定小尺寸 */
    height: 80px;
    flex-shrink: 0;
    /* 不缩小 */
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30, 30, 50, 0.8), rgba(20, 20, 35, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 245, 212, 0.08);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.order-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.order-image:hover {
    border-color: rgba(0, 245, 212, 0.5);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 245, 212, 0.25);
    z-index: 10;
    cursor: pointer;
}

.order-image:hover::before {
    opacity: 1;
}

.order-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.order-image:hover img {
    transform: scale(1.12);
}

.order-image.more,
.order-image.empty {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.12), rgba(123, 44, 191, 0.12));
    color: var(--primary);
    font-weight: 600;
    font-size: 1.2rem;
    border: 2px dashed rgba(0, 245, 212, 0.25);
}

/* 图片容器 - 包含展示图片和用户上传图片 */
.order-images-container {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* 图片分类区域 */
.images-category {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-label i {
    font-size: 0.9rem;
}

/* 设计预览区域 - 高亮展示 */
.images-category.display-images .category-label {
    color: var(--primary);
    text-shadow: 0 0 12px rgba(0, 245, 212, 0.4);
}

.images-category.display-images .order-images {
    padding: 12px;
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.08), rgba(123, 44, 191, 0.08));
    border: 1px solid rgba(0, 245, 212, 0.2);
    border-radius: 16px;
}

.images-category.display-images .order-image.display {
    width: 100px;
    height: 100px;
    border-color: rgba(0, 245, 212, 0.3);
    box-shadow: 0 4px 20px rgba(0, 245, 212, 0.2);
}

/* 用户上传图片区域 - 较小展示 */
.images-category.user-images .order-images.user {
    opacity: 0.8;
}

.images-category.user-images .order-image {
    width: 60px;
    height: 60px;
    opacity: 0.7;
}

.images-category.user-images .order-image:hover {
    opacity: 1;
}

/* 等待制作提示动画 */
.images-category.waiting-message {
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.05), rgba(123, 44, 191, 0.05));
    border: 1px dashed rgba(0, 245, 212, 0.25);
    border-radius: 16px;
    text-align: center;
}

.waiting-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.waiting-content::before {
    content: '\f0d0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1) rotate(10deg);
        opacity: 1;
    }
}

.waiting-animation {
    display: flex;
    gap: 6px;
}

.waiting-animation .dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.waiting-animation .dot:nth-child(1) {
    animation-delay: 0s;
}

.waiting-animation .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.waiting-animation .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBounce {

    0%,
    80%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.waiting-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .order-images-container {
        flex: 1;
        width: 100%;
    }

    .images-category.display-images .order-image.display {
        width: 80px;
        height: 80px;
    }

    .images-category.user-images .order-image {
        width: 50px;
        height: 50px;
    }
}

/* 订单底部付款区域 */
.order-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
}

.pay-now-btn {
    display: inline-flex;
    align-items: stretch;
    padding: 6px 12px;
    background: linear-gradient(135deg, #00f5d4 0%, #00c9a7 50%, #7b2cbf 100%);
    background-size: 200% 200%;
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 20px rgba(0, 245, 212, 0.4),
        0 0 40px rgba(0, 245, 212, 0.2);
    animation: payBtnGlow 3s ease infinite;
    position: relative;
    overflow: hidden;
    min-width: 280px;
}

.pay-now-btn .btn-price {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 8px 18px;
}

.pay-now-btn .btn-divider {
    width: 2px;
    align-self: center;
    height: 18px;
    background: rgba(0, 0, 0, 0.2);
}

.pay-now-btn .btn-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 18px;
    white-space: nowrap;
}

.pay-now-btn .btn-content i {
    font-size: 1.1rem;
}

.pay-now-btn .btn-content span {
    font-size: 1.05rem;
}

.pay-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: payBtnShine 2s ease infinite;
}

@keyframes payBtnGlow {

    0%,
    100% {
        background-position: 0% 50%;
        box-shadow: 0 4px 20px rgba(0, 245, 212, 0.4), 0 0 40px rgba(0, 245, 212, 0.2);
    }

    50% {
        background-position: 100% 50%;
        box-shadow: 0 4px 30px rgba(123, 44, 191, 0.5), 0 0 60px rgba(123, 44, 191, 0.3);
    }
}

@keyframes payBtnShine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.pay-now-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 30px rgba(0, 245, 212, 0.5),
        0 0 60px rgba(0, 245, 212, 0.3);
}

.pay-now-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.pay-now-btn i:first-child {
    font-size: 1.2rem;
}

.pay-now-btn i:last-child {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.pay-now-btn:hover i:last-child {
    transform: translateX(4px);
}

/* 移动端付款按钮调整 */
@media (max-width: 560px) {
    .order-footer {
        justify-content: center;
    }

    .pay-now-btn {
        width: 100%;
        justify-content: center;
        padding: 2px 24px;
    }
}

/* PC端详情区域优化 - 占据40% (2/5) */
.order-details {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.8rem;
    flex: 2;
    /* 2/5比例 */
    align-items: center;
    min-width: 0;
    /* 防止flex溢出 */
    background: transparent;
    padding: 0;
    border: none;
}



.detail-row {
    display: inline-flex;
    /* 改为inline-flex */
    align-items: center;
    /* 居中对齐 */
    padding: 0.5rem 1rem;
    border-radius: 20px;
    /* 更圆润 */
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    gap: 0.5rem;
    /* label和value之间的间距 */
    white-space: nowrap;
    /* 不换行 */
}

.detail-row:hover {
    background: rgba(0, 245, 212, 0.05);
    border-color: rgba(0, 245, 212, 0.2);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    flex-shrink: 0;
}

.detail-label::before {
    content: '';
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    box-shadow: 0 0 6px var(--primary);
    flex-shrink: 0;
}

.detail-value {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    /* 加粗突出 */
    white-space: nowrap;
    /* 不换行 */
    overflow: hidden;
    text-overflow: ellipsis;
    /* 超出显示省略号 */
    max-width: 200px;
    /* 限制最大宽度 */
}

.style-badge {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.2), rgba(123, 44, 191, 0.2));
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(0, 245, 212, 0.35);
    text-shadow: 0 0 12px rgba(0, 245, 212, 0.5);
    box-shadow: 0 3px 12px rgba(0, 245, 212, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    letter-spacing: 0.3px;
}

.size-badge {
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.2), rgba(181, 23, 158, 0.2));
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(247, 37, 133, 0.35);
    text-shadow: 0 0 10px rgba(247, 37, 133, 0.4);
    box-shadow: 0 3px 12px rgba(247, 37, 133, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    letter-spacing: 0.3px;
}

.order-status-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border-radius: 28px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.6px;
    white-space: nowrap;
    overflow: hidden;
    background: linear-gradient(135deg, var(--badge-color) 0%, var(--badge-color-dark) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.28),
        0 3px 10px var(--badge-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.25);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-status-badge:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.35),
        0 5px 15px var(--badge-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.order-status-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.6s ease;
}

.order-status-badge:hover::before {
    left: 100%;
}

/* 状态图标 */
.status-icon {
    font-size: 0.6rem;
    opacity: 0.95;
    animation: statusIconPulse 2.5s ease-in-out infinite;
}

@keyframes statusIconPulse {

    0%,
    100% {
        opacity: 0.75;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

.status-text {
    position: relative;
    z-index: 1;
}

/* PC端宽屏优化 */
@media (min-width: 1024px) {
    /* 移除max-width限制，让卡片100%平铺 */

    .order-card {
        padding: 2.5rem 3rem;
    }

    .order-images {
        flex: 3;
        max-width: none;
        /* Ensure images inside don't break layout */
        gap: 12px;
    }

    .order-image {
        width: 100px;
        height: 100px;
    }

    .order-details {
        flex: 2;
        max-width: none;
        min-width: 0;
    }
}

/* 中等屏幕优化 */
@media (max-width: 768px) {
    .order-body {
        flex-direction: column;
        gap: 2rem;
    }

    .order-images {
        max-width: 100%;
        min-width: 100%;
    }

    .order-details {
        flex: 1;
        max-width: 100%;
        min-width: 100%;
    }
}

/* Responsive Order Cards */
@media (max-width: 560px) {
    .orders-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .order-card {
        padding: 1.5rem;
        border-radius: 18px;
    }

    /* 移动端header布局调整 */
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .order-info-left {
        width: 100%;
    }

    .order-info-right {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    /* 移动端状态徽章样式调整 */
    .order-status-badge {
        padding: 7px 16px;
        font-size: 0.8rem;
    }

    .order-date {
        font-size: 0.75rem;
        padding: 6px 13px;
    }

    .order-body {
        flex-direction: column;
        gap: 1.5rem;
    }

    .order-images {
        max-width: 100%;
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 10px;
    }

    .order-image {
        width: 70px;
        height: 70px;
        border-radius: 10px;
    }

    .order-details {
        padding: 1rem;
    }

    .detail-row {
        padding: 0.6rem 0.8rem;
    }
}

/* Empty & Loading States */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 245, 212, 0.1);
    border-radius: 20px;
}

.empty-state .icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.loading {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 245, 212, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ======================== */
/* Image Viewer Modal       */
/* ======================== */
.image-viewer-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-viewer-modal.show {
    opacity: 1;
    visibility: visible;
}

.viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
}

.viewer-container {
    position: relative;
    width: 90vw;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(20, 20, 35, 0.9);
    border-radius: 16px 16px 0 0;
    border: 1px solid rgba(0, 245, 212, 0.2);
    border-bottom: none;
}

.viewer-title {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
}

.viewer-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.viewer-close:hover {
    background: rgba(247, 37, 133, 0.3);
    color: var(--accent);
    transform: rotate(90deg);
}

.viewer-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(10, 10, 20, 0.95);
    border-left: 1px solid rgba(0, 245, 212, 0.2);
    border-right: 1px solid rgba(0, 245, 212, 0.2);
    overflow: hidden;
}

.viewer-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    overflow: auto;
}

.viewer-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(0, 245, 212, 0.15);
    color: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
    z-index: 10;
}

.viewer-nav:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.viewer-nav.prev {
    left: 20px;
}

.viewer-nav.next {
    right: 20px;
}

.viewer-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(20, 20, 35, 0.9);
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(0, 245, 212, 0.2);
    border-top: none;
}

.viewer-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 245, 212, 0.3);
    background: rgba(0, 245, 212, 0.1);
    color: var(--primary);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.viewer-btn:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 245, 212, 0.3);
}

.viewer-zoom-level {
    padding: 0 12px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.viewer-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 8px;
}

.viewer-counter {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-light);
    font-size: 13px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .viewer-container {
        width: 100vw;
        height: 100vh;
        max-width: none;
    }

    .viewer-header {
        border-radius: 0;
    }

    .viewer-toolbar {
        border-radius: 0;
        padding: 12px;
        gap: 6px;
        flex-wrap: wrap;
    }

    .viewer-btn {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .viewer-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .viewer-nav.prev {
        left: 10px;
    }

    .viewer-nav.next {
        right: 10px;
    }
}

/* ======================== */
/* Toast Notification       */
/* ======================== */
.custom-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #00f5d4, #7b2cbf);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 30px rgba(0, 245, 212, 0.35);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    pointer-events: none;
    text-align: center;
}

.custom-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

/* ======================== */
/* Warning Modal            */
/* ======================== */
.warning-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.warning-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.warning-modal {
    background: linear-gradient(135deg, rgba(40, 20, 60, 0.98), rgba(20, 10, 40, 0.98));
    border: 1px solid rgba(247, 37, 133, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 400px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.warning-modal-overlay.show .warning-modal {
    transform: scale(1);
}

.warning-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.warning-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.warning-message {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.warning-btn {
    background: var(--gradient-accent);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.warning-btn:hover {
    transform: scale(1.05);
}

/* ======================== */
/* Chat Guide Bubble        */
/* ======================== */
.chat-guide-bubble {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: linear-gradient(135deg, #f72585, #b5179e);
    color: white;
    padding: 15px 20px;
    border-radius: 16px 16px 5px 16px;
    box-shadow: 0 5px 20px rgba(247, 37, 133, 0.4);
    z-index: 2147483647;
    max-width: 280px;
    display: none;
    animation: float-guide 3s infinite ease-in-out;
    cursor: pointer;
}

.chat-guide-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    border-width: 10px 10px 0 0;
    border-style: solid;
    border-color: #f72585 transparent transparent transparent;
}

@keyframes float-guide {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ======================== */
/* Responsive Design        */
/* ======================== */
@media (max-width: 1024px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero p {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        max-width: 400px;
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-visual {
        display: none;
    }

    .order-container {
        padding: 1.5rem;
    }

    .order-steps {
        flex-wrap: nowrap;
        gap: 0.3rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .step {
        flex: 1;
        gap: 0.3rem;
    }

    .step-num {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .step span:last-child {
        font-size: 0.65rem;
    }

    /* 表单区域手机端间距优化 */
    .form-group {
        margin-bottom: 1.2rem;
    }

    .form-group label {
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    textarea {
        min-height: 80px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
        text-align: left;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .footer-brand p {
        max-width: none;
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .footer-links {
        margin-bottom: 0;
    }

    .footer-links h4 {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .footer-links a {
        font-size: 0.85rem;
        padding: 0.3rem 0;
        margin-bottom: 0.2rem;
        display: flex;
        align-items: center;
        gap: 0.4rem;
        white-space: nowrap;
    }

    .footer-links a i {
        flex-shrink: 0;
    }

    .order-body {
        flex-direction: column;
    }

    .order-images {
        justify-content: flex-start;
    }

    .email-input-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .lang-btn {
        padding: 6px 10px;
    }

    .lang-text {
        display: none;
    }

    /* 移动端语言下拉菜单修复 */
    .lang-dropdown {
        min-width: 140px;
        right: -10px;
    }

    .lang-option {
        padding: 8px 10px;
        white-space: nowrap;
    }

    .lang-name {
        font-size: 0.85rem;
    }

    /* 上传区域手机端缩小 */
    .upload-zone {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .upload-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .upload-zone h3 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }

    .upload-zone p {
        font-size: 0.8rem;
    }

    .style-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .style-option {
        padding: 0.6rem 0.4rem;
    }

    .style-icon {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }

    .style-option h4 {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
    }

    .style-option p {
        font-size: 0.65rem;
        display: none;
    }

    .size-options {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }

    .size-option {
        min-width: unset;
        padding: 0.8rem 0.5rem;
    }

    .size-value {
        font-size: 1.1rem;
    }

    .size-label {
        font-size: 0.7rem;
    }

    .size-price {
        font-size: 0.85rem;
    }

    .order-container {
        padding: 1.5rem;
    }

    .order-steps {
        gap: 0.3rem;
    }

    .step span:last-child {
        font-size: 0.75rem;
    }

    .step-num {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* ======================== */
/* FAQ Page Styles          */
/* ======================== */
html {
    scroll-behavior: smooth;
}

.faq-page-section {
    padding: 120px 5% 80px;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 80vh;
}

/* FAQ Quick Navigation */
.faq-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.faq-nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(20, 20, 35, 0.6);
    border: 1px solid rgba(0, 245, 212, 0.2);
    border-radius: 50px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.faq-nav a:hover {
    background: rgba(0, 245, 212, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.faq-nav a i {
    font-size: 1rem;
    color: var(--primary);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-category {
    background: rgba(20, 20, 35, 0.6);
    border: 1px solid rgba(0, 245, 212, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.faq-category h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-category h3 i {
    font-size: 1.2rem;
    color: var(--accent);
}

.faq-category h3::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    padding: 1rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease;
    opacity: 0;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Active State */
.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
}

.faq-cta {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-cta h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.faq-cta p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.faq-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.faq-cta-buttons .btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.faq-cta-buttons .btn-secondary:hover {
    background: var(--primary);
    color: #000;
}

.faq-cta-buttons .btn-secondary i {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .faq-page-section {
        padding: 100px 5% 60px;
    }

    .faq-nav {
        gap: 0.5rem;
    }

    .faq-nav a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .faq-category {
        padding: 1.5rem;
    }

    .faq-category h3 {
        font-size: 1.3rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }

    .faq-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .faq-cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ======================== */
/* Features Section Mobile  */
/* ======================== */
@media (max-width: 768px) {
    .features {
        padding: 60px 4%;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .feature-card {
        padding: 1.2rem;
        border-radius: 12px;
    }

    .feature-icon {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .feature-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .feature-card p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

@media (max-width: 400px) {
    .features-grid {
        gap: 0.6rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-icon {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }

    .feature-card h3 {
        font-size: 0.85rem;
    }

    .feature-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* ======================== */
/* Reviews Page             */
/* ======================== */
.reviews-hero {
    padding: 120px 5% 60px;
    text-align: center;
}

.reviews-hero .section-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reviews-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 245, 212, 0.1);
    border-radius: 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number i {
    font-size: 1.5rem;
    color: #ffd700;
    -webkit-text-fill-color: #ffd700;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.reviews-section {
    padding: 60px 5%;
}

/* PC: Single column list layout (feed style) */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    /* Limit width for readability in single column */
    margin: 0 auto;
}

/* Multi-column media queries removed as user requested single column everywhere */

.review-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 245, 212, 0.1);
    border-radius: 16px;
    padding: 2rem;
    /* Increased padding for list view */
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.review-text {
    flex-grow: 1;
    /* Pushes footer to bottom if card is stretched */
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 245, 212, 0.3);
    box-shadow: 0 10px 30px rgba(0, 245, 212, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #000;
    flex-shrink: 0;
    overflow: hidden;
}

.review-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-info {
    flex: 1;
}

.review-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.review-meta .fi {
    font-size: 1rem;
}

.review-rating {
    font-size: 1.2rem;
    color: #ffd700;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.review-product {
    font-size: 0.85rem;
    color: var(--primary);
}

.review-product i {
    margin-right: 0.3rem;
}


.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Review Media Styles */
.review-media {
    position: relative;
    margin: 1rem 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.review-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: var(--transition);
}

.review-image:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.review-video {
    width: 100%;
    height: 250px;
    display: block;
    border-radius: 12px;
}

.review-media-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 245, 212, 0.9);
    color: #000;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.review-media-badge i {
    font-size: 0.85rem;
}

/* Multi-media Gallery Styles */
.review-media-gallery {
    position: relative;
    margin: 1rem 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.media-container {
    position: relative;
    min-height: 200px;
}

.media-item {
    display: none;
    width: 100%;
}

.media-item:first-child {
    display: block;
}

.media-item.media-image img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: var(--transition);
}

.media-item.media-image img:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.media-item.media-video iframe {
    width: 100%;
    height: 280px;
    display: block;
    border-radius: 0;
}

/* Navigation Buttons */
.media-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 245, 212, 0.85);
    border: none;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.media-nav:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.media-prev {
    left: 10px;
}

.media-next {
    right: 10px;
}

/* Media Indicators (Dots) */
.media-indicators {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.media-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.media-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.media-dot.active {
    background: var(--primary);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
    .media-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .media-prev {
        left: 8px;
    }

    .media-next {
        right: 8px;
    }

    .media-item.media-image img {
        max-height: 280px;
    }

    .media-item.media-video iframe {
        height: 220px;
    }

    .media-indicators {
        bottom: 40px;
    }

    .media-dot {
        width: 8px;
        height: 8px;
    }
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.reviews-cta {
    text-align: center;
    padding: 60px 5%;
    background: linear-gradient(180deg, transparent, rgba(0, 245, 212, 0.05));
}

.reviews-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reviews-cta p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.reviews-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ======================== */
/* Homepage Testimonials    */
/* ======================== */
.testimonials {
    padding: 100px 5%;
    background: linear-gradient(180deg, transparent, rgba(123, 44, 191, 0.05), transparent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid rgba(123, 44, 191, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: var(--transition);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: rgba(0, 245, 212, 0.15);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 245, 212, 0.4);
    box-shadow: 0 20px 50px rgba(0, 245, 212, 0.15);
}

.testimonial-rating {
    font-size: 1.1rem;
    color: #ffd700;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.testimonial-info span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.testimonials-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Pagination Styles */
.reviews-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 1.5rem;
}

.pagination-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid rgba(0, 245, 212, 0.3);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: scale(1.1);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
    min-width: 80px;
    text-align: center;
}

.pagination-info span {
    color: var(--primary);
    font-weight: 700;
}

/* Reviews Page Responsive */
@media (max-width: 768px) {
    .reviews-stats {
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* .reviews-grid handled in main block */

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}