/* ============================================
   维谦网络 - Cyberpunk Neon Design System
   ============================================ */

:root {
  --neon-green: #39FF14;
  --neon-pink: #FF00FF;
  --neon-cyan: #00F0FF;
  --bg-dark: #0a0015;
  --bg-deep: #1a0033;
  --bg-panel: #0d001a;
  --glass-bg: rgba(10, 0, 21, 0.82);
  --glass-bg-heavy: rgba(10, 0, 21, 0.92);
  --glass-border: rgba(57, 255, 20, 0.15);
  --glass-blur: blur(20px);
  --glass-blur-nav: blur(24px);
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 0 20px rgba(57, 255, 20, 0.08), 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 0 30px rgba(57, 255, 20, 0.18), 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-button: 0 0 20px rgba(57, 255, 20, 0.3), 0 4px 16px rgba(0, 0, 0, 0.3);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --text-primary: #e0ffe0;
  --text-secondary: #8aa88a;
  --text-tertiary: #4a6a4a;
  --bg-primary: #0a0015;
  --bg-white: #0d001a;
  --alipay-blue: #1677FF;
  --wechat-green: #07C160;
  --font-stack: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Consolas', 'Courier New', 'PingFang SC', 'Microsoft YaHei', monospace;
  --transition-base: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--neon-green);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

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

/* ============================================
   Floating Navigation Bar
   ============================================ */

.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 24px;
  transition: padding var(--transition-base);
}

.nav-wrapper.scrolled {
  padding: 8px 24px;
}

.navbar {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur-nav);
  -webkit-backdrop-filter: var(--glass-blur-nav);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.05), var(--shadow-soft);
  transition: all var(--transition-base);
}

.nav-wrapper.scrolled .navbar {
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.1), var(--shadow-card);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
}

.nav-logo img,
.nav-logo svg {
  width: 36px;
  height: 36px;
}

.nav-logo span {
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: all var(--transition-base);
  text-shadow: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--neon-green);
  background: rgba(57, 255, 20, 0.08);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neon-green);
  border-radius: 2px;
  transition: all var(--transition-base);
  box-shadow: 0 0 4px rgba(57, 255, 20, 0.4);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  padding: 160px 0 100px;
  background: radial-gradient(ellipse at 20% 50%, rgba(57, 255, 20, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 50%, rgba(255, 0, 255, 0.04) 0%, transparent 50%),
              linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(57, 255, 20, 0.015) 2px, rgba(57, 255, 20, 0.015) 4px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--neon-green);
  margin-bottom: 20px;
  letter-spacing: 2px;
  line-height: 1.2;
  text-shadow: 0 0 30px rgba(57, 255, 20, 0.4), 0 0 60px rgba(57, 255, 20, 0.2);
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

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

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-stack);
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  color: #0a0015;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.5), 0 6px 24px rgba(0, 0, 0, 0.4);
  color: #0a0015;
}

.btn-secondary {
  background: rgba(57, 255, 20, 0.06);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--neon-green);
  border: 1px solid rgba(57, 255, 20, 0.25);
}

.btn-secondary:hover {
  background: rgba(57, 255, 20, 0.12);
  border-color: rgba(57, 255, 20, 0.5);
  transform: translateY(-2px);
  color: var(--neon-green);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

.btn-white {
  background: rgba(57, 255, 20, 0.1);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--neon-green);
  border: 1px solid rgba(57, 255, 20, 0.3);
  font-weight: 600;
}

.btn-white:hover {
  background: rgba(57, 255, 20, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
  color: var(--neon-green);
}

.btn-outline {
  background: transparent;
  color: var(--neon-pink);
  border: 2px solid rgba(255, 0, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 0, 255, 0.1);
  border-color: rgba(255, 0, 255, 0.7);
  transform: translateY(-2px);
  color: var(--neon-pink);
  text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
}

.btn-block {
  width: 100%;
}

/* ============================================
   Section Layout
   ============================================ */

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--neon-green);
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   Glass Card Base
   ============================================ */

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

/* ============================================
   Product Grid
   ============================================ */

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

a.product-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.product-card:hover {
  color: inherit;
}

.product-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(57, 255, 20, 0.35);
}

.card-image {
  height: 180px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image-icon {
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.4));
}

.card-image-icon svg {
  width: 60px;
  height: 60px;
}

.card-sales {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(57, 255, 20, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--neon-green);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(57, 255, 20, 0.2);
}

.card-body {
  padding: 16px 20px 20px;
}

.product-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  min-height: 40px;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.card-rating .stars {
  color: var(--neon-pink);
  font-size: 14px;
  letter-spacing: 1px;
  text-shadow: 0 0 6px rgba(255, 0, 255, 0.4);
}

.card-rating .rating-count {
  font-size: 12px;
  color: var(--text-tertiary);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-price {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-price small {
  font-size: 13px;
  font-weight: 500;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  color: #0a0015;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.product-card:hover .card-btn {
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

/* ============================================
   Feature Cards
   ============================================ */

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

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  padding: 36px 28px;
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(57, 255, 20, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.15), rgba(0, 240, 255, 0.1));
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  border: 1px solid rgba(57, 255, 20, 0.2);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--neon-green);
  stroke: var(--neon-green);
  filter: drop-shadow(0 0 4px rgba(57, 255, 20, 0.4));
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--neon-green);
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
}

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

/* ============================================
   Product Detail Page
   ============================================ */

.product-detail {
  padding: 120px 0 80px;
}

.product-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 40px;
}

.product-image-area {
  background: radial-gradient(ellipse, rgba(57, 255, 20, 0.06) 0%, rgba(10, 0, 21, 0.8) 70%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 40px;
  border: 1px solid rgba(57, 255, 20, 0.1);
}

.product-image-area svg {
  width: 160px;
  height: 160px;
  opacity: 0.8;
  filter: drop-shadow(0 0 20px rgba(57, 255, 20, 0.3));
}

.product-info h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--neon-green);
  text-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

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

.product-info .detail-price {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 28px;
}

.product-info .detail-price small {
  font-size: 16px;
  font-weight: 500;
}

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

.product-features-list li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-features-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Quantity Selector */

.quantity-selector {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--bg-panel);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(57, 255, 20, 0.15);
}

.quantity-selector button {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 20px;
  color: var(--neon-green);
  cursor: pointer;
  font-family: var(--font-stack);
  transition: background var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-selector button:hover {
  background: rgba(57, 255, 20, 0.1);
}

.quantity-selector input {
  width: 56px;
  height: 44px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-stack);
  color: var(--text-primary);
  border-left: 1px solid rgba(57, 255, 20, 0.1);
  border-right: 1px solid rgba(57, 255, 20, 0.1);
}

.quantity-selector input:focus {
  outline: none;
}

.quantity-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   Order Page
   ============================================ */

.order-page {
  padding: 120px 0 80px;
}

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

.order-form-card {
  padding: 36px;
}

.order-summary-card {
  padding: 32px;
  position: sticky;
  top: 110px;
}

.form-section {
  margin-bottom: 32px;
}

.form-section:last-child {
  margin-bottom: 0;
}

.form-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--neon-green);
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
}

.form-section h3 svg {
  width: 20px;
  height: 20px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(57, 255, 20, 0.15);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-stack);
  color: var(--text-primary);
  background: var(--bg-panel);
  transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--neon-green);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.15);
  background: rgba(13, 0, 26, 0.9);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Payment Method Selection */

.payment-methods {
  display: flex;
  gap: 12px;
}

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

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

.payment-method label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(57, 255, 20, 0.1);
  background: var(--bg-panel);
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--text-secondary) !important;
  margin-bottom: 0 !important;
}

.payment-method label svg {
  width: 36px;
  height: 36px;
}

.payment-method input[type="radio"]:checked + label {
  border-color: var(--neon-green);
  background: rgba(57, 255, 20, 0.04);
  color: var(--text-primary) !important;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.1);
}

.payment-method.alipay input[type="radio"]:checked + label {
  border-color: var(--alipay-blue);
  background: rgba(22, 119, 255, 0.06);
  box-shadow: 0 0 15px rgba(22, 119, 255, 0.15);
}

.payment-method.wechat input[type="radio"]:checked + label {
  border-color: var(--wechat-green);
  background: rgba(7, 193, 96, 0.06);
  box-shadow: 0 0 15px rgba(7, 193, 96, 0.15);
}

/* Order Summary */

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(57, 255, 20, 0.08);
}

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

.order-item-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.order-item-detail {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.order-item-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--neon-green);
  white-space: nowrap;
}

.order-divider {
  height: 1px;
  background: rgba(57, 255, 20, 0.1);
  margin: 16px 0;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 4px;
}

.order-total-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.order-total-price {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Payment Page
   ============================================ */

.pay-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.pay-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 40px;
  text-align: center;
}

.pay-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-icon.alipay {
  background: rgba(22, 119, 255, 0.1);
  border: 1px solid rgba(22, 119, 255, 0.2);
}

.pay-icon.wechat {
  background: rgba(7, 193, 96, 0.1);
  border: 1px solid rgba(7, 193, 96, 0.2);
}

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

.pay-card h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--neon-green);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.pay-card .pay-amount {
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 20px 0;
}

.pay-card .pay-status {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.pay-info-table {
  width: 100%;
  margin: 24px 0;
  text-align: left;
}

.pay-info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(57, 255, 20, 0.06);
  font-size: 14px;
}

.pay-info-row .label {
  color: var(--text-secondary);
}

.pay-info-row .value {
  color: var(--text-primary);
  font-weight: 500;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(57, 255, 20, 0.15);
  border-top-color: var(--neon-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 16px auto;
}

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

.pay-success {
  color: var(--neon-green);
  text-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

.pay-fail {
  color: var(--neon-pink);
  text-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
}

/* ============================================
   Reviews Section
   ============================================ */

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

.reviews-header {
  margin-bottom: 32px;
}

.reviews-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--neon-green);
  margin-bottom: 16px;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.reviews-summary {
  display: flex;
  align-items: center;
}

.reviews-score {
  display: flex;
  align-items: center;
  gap: 12px;
}

.score-number {
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.score-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.score-stars {
  color: var(--neon-pink);
  font-size: 16px;
  letter-spacing: 2px;
  text-shadow: 0 0 6px rgba(255, 0, 255, 0.4);
}

.score-count {
  font-size: 13px;
  color: var(--text-secondary);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  padding: 24px;
}

.review-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;
  color: #0a0015;
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.review-user {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.review-time {
  font-size: 12px;
  color: var(--text-tertiary);
}

.review-stars {
  color: var(--neon-pink);
  font-size: 14px;
  letter-spacing: 1px;
  flex-shrink: 0;
  text-shadow: 0 0 4px rgba(255, 0, 255, 0.3);
}

.review-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Related Products
   ============================================ */

.related-section {
  padding: 60px 0 80px;
}

.related-section h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 32px;
  color: var(--neon-green);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

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

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--glass-bg-heavy);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid rgba(57, 255, 20, 0.15);
  padding: 48px 0 32px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 32px;
}

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

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--neon-green);
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
}

.footer-brand .footer-logo svg {
  width: 32px;
  height: 32px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 56px;
}

.footer-links-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--neon-green);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 6px rgba(57, 255, 20, 0.3);
}

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

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

.footer-links-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.footer-links-col a:hover {
  color: var(--neon-green);
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(57, 255, 20, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-tertiary);
}

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

.footer-bottom a:hover {
  color: var(--neon-green);
}

/* ============================================
   Page Transition
   ============================================ */

.page-enter {
  animation: fadeInUp 0.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.fade-in {
  animation: fadeInUp 0.5s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}

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

.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }
.stagger-7 { animation-delay: 0.35s; }
.stagger-8 { animation-delay: 0.4s; }

/* ============================================
   Responsive
   ============================================ */

@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);
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-detail-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .order-layout {
    grid-template-columns: 1fr;
  }
  .order-summary-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-wrapper {
    padding: 8px 16px;
  }
  .navbar {
    padding: 10px 20px;
    border-radius: var(--radius-lg);
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: var(--glass-bg-heavy);
    backdrop-filter: var(--glass-blur-nav);
    -webkit-backdrop-filter: var(--glass-blur-nav);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: -1;
  }
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    z-index: 999;
  }
  .nav-links a {
    font-size: 20px;
    padding: 14px 32px;
  }
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  .hero {
    padding: 130px 0 80px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero p {
    font-size: 16px;
  }
  .section {
    padding: 56px 0;
  }
  .section-header h2 {
    font-size: 28px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card-image {
    height: 160px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .related-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .related-grid .card-image {
    height: 120px;
  }
  .related-grid .card-image-icon svg {
    width: 40px;
    height: 40px;
  }
  .product-detail-card {
    padding: 24px;
  }
  .product-info h1 {
    font-size: 24px;
  }
  .review-card {
    padding: 16px;
  }
  .score-number {
    font-size: 32px;
  }
  .order-form-card,
  .order-summary-card {
    padding: 24px;
  }
  .pay-card {
    padding: 32px 24px;
  }
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  .footer-links {
    gap: 32px;
    flex-wrap: wrap;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .payment-methods {
    flex-direction: column;
  }
  .container {
    padding: 0 16px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
  .related-grid .card-image {
    height: 160px;
  }
  .product-image-area {
    min-height: 240px;
  }
  .review-header {
    flex-wrap: wrap;
  }
  .review-stars {
    margin-left: 52px;
  }
}
