:root {
    --aurora-purple: #6B21A8;
    --aurora-blue: #3B82F6;
    --aurora-green: #10B981;
    --aurora-deep-purple: #9333EA;
    --aurora-deep-blue: #1E40AF;
    --aurora-deep-green: #065F46;
    --bg-dark: #0F0B2E;
    --bg-darker: #0a0820;
    --bg-card: rgba(15, 11, 46, 0.6);
    --bg-card-hover: rgba(15, 11, 46, 0.8);
    --bg-nav: rgba(15, 11, 46, 0.85);
    --text-primary: #f0f0ff;
    --text-secondary: rgba(240, 240, 255, 0.7);
    --text-muted: rgba(240, 240, 255, 0.5);
    --border-glow: rgba(107, 33, 168, 0.3);
    --gradient-aurora: linear-gradient(135deg, #6B21A8 0%, #3B82F6 50%, #10B981 100%);
    --gradient-aurora-reverse: linear-gradient(135deg, #10B981 0%, #3B82F6 50%, #6B21A8 100%);
    --gradient-btn: linear-gradient(90deg, #6B21A8, #3B82F6, #10B981);
    --shadow-glow: 0 0 30px rgba(107, 33, 168, 0.2), 0 0 60px rgba(59, 130, 246, 0.1);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
    --font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--aurora-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--aurora-green);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ 导航栏 ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(107, 33, 168, 0.15);
    transition: var(--transition);
    padding: 0 20px;
}

.navbar.scrolled {
    background: rgba(10, 8, 32, 0.95);
    box-shadow: 0 4px 30px rgba(107, 33, 168, 0.15);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.navbar-logo svg {
    flex-shrink: 0;
}

.navbar-logo span {
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar-menu a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-aurora);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--text-primary);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    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);
}

/* ============ Hero区域 ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(107, 33, 168, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 60%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    animation: auroraShift 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes auroraShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-5%, 3%) rotate(2deg); }
    66% { transform: translate(3%, -2%) rotate(-1deg); }
}

.hero-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-stars::before,
.hero-stars::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: white;
    animation: twinkle 3s ease-in-out infinite;
}

.hero-stars::before {
    width: 2px;
    height: 2px;
    top: 20%;
    left: 15%;
    box-shadow:
        60vw 10vh 0 0 rgba(255,255,255,0.3),
        20vw 40vh 0 0 rgba(255,255,255,0.2),
        80vw 30vh 0 0 rgba(255,255,255,0.4),
        40vw 60vh 0 0 rgba(255,255,255,0.2),
        90vw 50vh 0 0 rgba(255,255,255,0.3),
        10vw 70vh 0 0 rgba(255,255,255,0.15),
        70vw 80vh 0 0 rgba(255,255,255,0.25),
        30vw 15vh 0 0 rgba(255,255,255,0.35),
        55vw 45vh 0 0 rgba(255,255,255,0.2),
        85vw 70vh 0 0 rgba(255,255,255,0.3);
}

.hero-stars::after {
    width: 1px;
    height: 1px;
    top: 10%;
    left: 50%;
    box-shadow:
        -30vw 20vh 0 0 rgba(255,255,255,0.2),
        15vw 55vh 0 0 rgba(255,255,255,0.3),
        -40vw 70vh 0 0 rgba(255,255,255,0.15),
        25vw 35vh 0 0 rgba(255,255,255,0.25),
        -15vw 45vh 0 0 rgba(255,255,255,0.2),
        35vw 10vh 0 0 rgba(255,255,255,0.3),
        -25vw 85vh 0 0 rgba(255,255,255,0.2),
        45vw 75vh 0 0 rgba(255,255,255,0.15);
    animation-delay: 1.5s;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.btn-primary {
    background: var(--gradient-btn);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 33, 168, 0.3);
    background-size: 200% 100%;
    animation: gradientFlow 3s ease infinite;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 33, 168, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(107, 33, 168, 0.5);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(107, 33, 168, 0.15);
    border-color: var(--aurora-purple);
    color: white;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ============ 玻璃态卡片 ============ */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(107, 33, 168, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(107, 33, 168, 0.3);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

/* ============ 产品网格 ============ */
.section {
    padding: 80px 0;
    position: relative;
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(15,11,46,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(107,33,168,0.2);
  transition: all 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 12px 40px rgba(107,33,168,0.2);
}

.card-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.card-image-icon { width: 80px; height: 80px; }
.card-image-icon svg { width: 100%; height: 100%; }
.card-sales {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.card-body {
  padding: 20px;
}
.card-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: #E0E0FF;
  margin-bottom: 8px;
}
.card-desc {
  font-size: 14px;
  color: rgba(200,200,255,0.7);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.card-rating .stars { color: #FBBF24; font-size: 14px; }
.card-rating .rating-count { font-size: 12px; color: rgba(200,200,255,0.5); }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(107,33,168,0.15);
}
.card-price {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #6B21A8, #3B82F6, #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.card-price small { font-size: 14px; }
.card-btn {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  background: linear-gradient(135deg, #6B21A8, #3B82F6);
  color: #fff;
  transition: all 0.3s;
}
.product-card:hover .card-btn {
  background: linear-gradient(135deg, #3B82F6, #10B981);
  box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}

/* ============ 产品详情 ============ */
.product-detail {
    padding: 100px 0 60px;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-detail-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-detail-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(107, 33, 168, 0.2);
    pointer-events: none;
}

.product-detail-info h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.product-detail-info .price {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.product-detail-info .price small {
    font-size: 1rem;
    font-weight: 400;
}

.product-detail-info .desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.product-detail-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.product-detail-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-detail-stats .rating-val {
    color: #fbbf24;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(107, 33, 168, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '✦';
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.8rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 24px;
}

.quantity-selector label {
    margin-right: 16px;
    font-weight: 500;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid rgba(107, 33, 168, 0.3);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-selector button:first-of-type {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.quantity-selector button:last-of-type {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.quantity-selector button:hover {
    background: rgba(107, 33, 168, 0.2);
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid rgba(107, 33, 168, 0.3);
    border-left: none;
    border-right: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    -moz-appearance: textfield;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ============ 评价区域 ============ */
.reviews-section {
    margin-top: 60px;
}

.reviews-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.review-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 24px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(107, 33, 168, 0.15);
}

.review-summary .big-rating {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.review-summary .stars {
    color: #fbbf24;
    font-size: 1.2rem;
}

.review-summary .count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.review-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(107, 33, 168, 0.1);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.review-card:hover {
    border-color: rgba(107, 33, 168, 0.25);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    flex-shrink: 0;
}

.review-card-header .name {
    font-weight: 600;
    font-size: 0.95rem;
}

.review-card-header .time {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: auto;
}

.review-card-header .stars {
    color: #fbbf24;
    font-size: 0.85rem;
}

.review-card .text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============ 特色功能卡片 ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(107, 33, 168, 0.15);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(107, 33, 168, 0.35);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.feature-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: var(--radius-md);
    background: var(--gradient-aurora);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============ 相关推荐 ============ */
.related-products {
    margin-top: 60px;
}

.related-products h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ============ 订单页面 ============ */
.order-page {
    padding: 100px 0 60px;
    min-height: 100vh;
}

.order-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.order-form-section {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(107, 33, 168, 0.15);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.order-form-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(107, 33, 168, 0.15);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group label .required {
    color: #ef4444;
    margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 11, 46, 0.4);
    border: 1px solid rgba(107, 33, 168, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-family);
    transition: var(--transition);
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--aurora-purple);
    box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.15);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* 支付方式选择 */
.payment-methods {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.payment-option {
    flex: 1;
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: rgba(15, 11, 46, 0.4);
    border: 2px solid rgba(107, 33, 168, 0.2);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-secondary);
}

.payment-option input[type="radio"]:checked + label {
    border-color: var(--aurora-purple);
    background: rgba(107, 33, 168, 0.1);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(107, 33, 168, 0.2);
}

.payment-option label:hover {
    border-color: rgba(107, 33, 168, 0.4);
}

/* 订单摘要 */
.order-summary {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(107, 33, 168, 0.15);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: sticky;
    top: 90px;
}

.order-summary h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(107, 33, 168, 0.15);
}

.order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(107, 33, 168, 0.1);
}

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.order-item-info {
    flex: 1;
}

.order-item-info .name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.order-item-info .unit-price {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.order-total-line {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.order-total-line.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    border-top: 1px solid rgba(107, 33, 168, 0.2);
    margin-top: 8px;
    padding-top: 16px;
}

.order-total-line.total .amount {
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ 支付页面 ============ */
.pay-page {
    padding: 100px 0 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pay-result {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.pay-result .icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.pay-result .icon-circle.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.2));
    border: 2px solid rgba(16, 185, 129, 0.4);
}

.pay-result .icon-circle.fail {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(107, 33, 168, 0.2));
    border: 2px solid rgba(239, 68, 68, 0.4);
}

.pay-result h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.pay-result p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.pay-result .btn {
    margin-top: 24px;
}

/* ============ 关于我们 ============ */
.about-hero {
    position: relative;
    padding: 140px 20px 80px;
    text-align: center;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(107, 33, 168, 0.2) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.about-hero p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-section {
    padding: 60px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-advantages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.about-advantage-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(107, 33, 168, 0.15);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.about-advantage-card:hover {
    border-color: rgba(107, 33, 168, 0.35);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.about-advantage-card .num {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.about-advantage-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-advantage-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============ 联系我们 ============ */
.contact-hero {
    position: relative;
    padding: 140px 20px 80px;
    text-align: center;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 50%, rgba(107, 33, 168, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.contact-hero p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(107, 33, 168, 0.15);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(107, 33, 168, 0.35);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.contact-card .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--gradient-aurora);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-section {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(107, 33, 168, 0.15);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.contact-form-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-info-section {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(107, 33, 168, 0.15);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.contact-info-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(107, 33, 168, 0.1);
}

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

.contact-info-item .icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(107, 33, 168, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============ 隐私政策 ============ */
.privacy-hero {
    position: relative;
    padding: 140px 20px 60px;
    text-align: center;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.privacy-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.privacy-hero p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0 80px;
}

.privacy-section {
    margin-bottom: 36px;
}

.privacy-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 3px solid;
    border-image: var(--gradient-aurora) 1;
}

.privacy-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ============ 页脚 ============ */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(107, 33, 168, 0.15);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(107, 33, 168, 0.1);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--aurora-blue);
}

/* ============ AI客服 ============ */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.chat-toggle-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-btn);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(107, 33, 168, 0.4);
    transition: var(--transition);
    font-size: 1.5rem;
    background-size: 200% 100%;
    animation: gradientFlow 3s ease infinite;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(107, 33, 168, 0.5);
}

.chat-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    height: 480px;
    background: rgba(15, 11, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(107, 33, 168, 0.2);
    border-radius: var(--radius-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.chat-panel.active {
    display: flex;
}

.chat-header {
    padding: 16px 20px;
    background: var(--gradient-aurora);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.chat-header .close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    opacity: 0.8;
    transition: var(--transition);
}

.chat-header .close-chat:hover {
    opacity: 1;
}

.chat-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
}

.chat-message.bot {
    justify-content: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message .bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-message.bot .bubble {
    background: rgba(107, 33, 168, 0.15);
    border: 1px solid rgba(107, 33, 168, 0.2);
    color: var(--text-primary);
}

.chat-message.user .bubble {
    background: var(--gradient-aurora);
    color: white;
}

.chat-quick-replies {
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(107, 33, 168, 0.15);
}

.chat-quick-replies button {
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(107, 33, 168, 0.15);
    border: 1px solid rgba(107, 33, 168, 0.25);
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.chat-quick-replies button:hover {
    background: rgba(107, 33, 168, 0.25);
    color: var(--text-primary);
    border-color: var(--aurora-purple);
}

.chat-input-area {
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-top: 1px solid rgba(107, 33, 168, 0.15);
}

.chat-input-area input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(15, 11, 46, 0.6);
    border: 1px solid rgba(107, 33, 168, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
}

.chat-input-area input:focus {
    border-color: var(--aurora-purple);
}

.chat-input-area button {
    padding: 10px 16px;
    background: var(--gradient-btn);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.chat-input-area button:hover {
    opacity: 0.9;
}

/* ============ 返回顶部 ============ */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(107, 33, 168, 0.3);
    color: var(--text-primary);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    transition: var(--transition);
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background: rgba(107, 33, 168, 0.2);
    border-color: var(--aurora-purple);
    transform: translateY(-2px);
}

/* ============ 动画 ============ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============ 响应式 ============ */
@media (max-width: 1200px) {
    .container { max-width: 960px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

    .order-layout {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 8, 32, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-bottom: 1px solid rgba(107, 33, 168, 0.15);
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-menu li {
        width: 100%;
    }

    .navbar-menu a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid rgba(107, 33, 168, 0.1);
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-detail-image {
        height: 280px;
    }

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

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

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

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .chat-panel {
        width: 320px;
        height: 420px;
        right: -8px;
    }

    .about-hero h1,
    .contact-hero h1,
    .privacy-hero h1 {
        font-size: 2.2rem;
    }

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

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

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

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

    .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

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

    .about-advantages {
        grid-template-columns: 1fr;
    }

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

    .product-detail-info .price {
        font-size: 2rem;
    }

    .chat-panel {
        width: calc(100vw - 32px);
        right: -8px;
    }

    .order-form-section,
    .order-summary {
        padding: 20px;
    }
}
