﻿:root {
  --primary: #1f3c88;
  --primary-light: #4a6cf7;
  --accent: #1fb6ff;
  --accent-soft: #e4f6ff;
  --text: #1c2540;
  --muted: #6f7b9b;
  --border: #dbe3fb;
  --background: #f4f7ff;
  --surface: #ffffff;
  --surface-alt: #f1f5ff;
  --shadow: 0 18px 40px rgba(31, 60, 136, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--background);
}

body {
  margin: 0;
  line-height: 1.6;
  background: radial-gradient(120% 120% at 12% -10%, rgba(31, 60, 136, 0.12), transparent 50%), linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 255, 0.95));
  color: var(--text);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(55% 55% at 85% 10%, rgba(79, 166, 255, 0.12), transparent 65%), radial-gradient(45% 45% at 10% 90%, rgba(31, 182, 255, 0.12), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.muted {
  color: var(--muted);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--primary-light);
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.header {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(31, 60, 136, 0.08);
  box-shadow: 0 14px 36px rgba(31, 60, 136, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.navbar .logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.navbar nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(241, 245, 255, 0.9);
  border: 1px solid rgba(219, 227, 251, 0.8);
}

.navbar nav a {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 520;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.navbar nav a.active,
.navbar nav a:hover {
  color: var(--primary);
  background: rgba(74, 108, 247, 0.15);
  transform: translateY(-1px);
}

.navbar nav a.button {
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  color: #fff;
  box-shadow: 0 18px 36px rgba(31, 60, 136, 0.2);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: 4rem;
  margin: 3.5rem 0;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(225, 235, 255, 0.9));
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(31, 60, 136, 0.08);
}

.hero::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at center, rgba(31, 182, 255, 0.24), rgba(31, 182, 255, 0));
  top: -180px;
  right: -120px;
  filter: blur(6px);
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at center, rgba(74, 108, 247, 0.22), rgba(74, 108, 247, 0));
  bottom: -140px;
  left: -80px;
  filter: blur(4px);
  z-index: -1;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5.2vw, 3.6rem);
  margin: 0 0 1.2rem;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.hero-content p {
  color: var(--muted);
  margin-bottom: 2.2rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.hero-metrics {
  display: grid;
  gap: 0.8rem;
}

.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.1rem;
  border-radius: 16px;
  background: rgba(241, 245, 255, 0.85);
  color: var(--primary);
  font-weight: 600;
  border: 1px solid rgba(74, 108, 247, 0.18);
}

.metric strong {
  font-size: 1.3rem;
  color: var(--primary-light);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(31, 182, 255, 0.15);
  color: var(--primary);
  font-weight: 600;
  width: max-content;
}

.hero-products {
  display: grid;
  gap: 1.6rem;
}

.hero-product-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  padding: 1.8rem;
  box-shadow: 0 18px 42px rgba(31, 60, 136, 0.12);
  display: grid;
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(74, 108, 247, 0.12);
}

.hero-product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(31, 182, 255, 0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: -1;
}

.hero-product-card:hover::after {
  opacity: 1;
}

.hero-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(31, 60, 136, 0.2);
}

.hero-product-card .tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  background: rgba(31, 182, 255, 0.15);
  color: var(--primary-light);
  font-size: 0.76rem;
  font-weight: 620;
  letter-spacing: 0.04em;
}

.hero-product-card h3 {
  margin: 0;
  color: var(--primary);
}

.hero-product-card p {
  margin: 0;
  color: var(--muted);
}

.hero-product-card .price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.hero-product-card .price {
  font-size: 1.2rem;
  font-weight: 650;
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  color: #fff;
  box-shadow: 0 22px 40px rgba(74, 108, 247, 0.22);
}

.button-outline {
  border: 1px solid rgba(74, 108, 247, 0.2);
  color: var(--primary);
  background: rgba(245, 248, 255, 0.9);
}

.button-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.92rem;
}

.button:hover {
  transform: translateY(-3px);
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
}

.section-title h2 {
  font-size: 1.85rem;
  margin: 0;
  color: var(--primary);
}

.section-title a {
  color: var(--primary-light);
  font-weight: 600;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}

.card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: 0 18px 40px rgba(31, 60, 136, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(74, 108, 247, 0.12);
}

.card .card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, rgba(74, 108, 247, 0.12), rgba(31, 182, 255, 0.08));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(74, 108, 247, 0.08);
}

.card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.32s ease;
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(74, 108, 247, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: -1;
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 26px 52px rgba(31, 60, 136, 0.18);
}

.card:hover::after {
  opacity: 1;
}

.card .tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  background: rgba(31, 182, 255, 0.14);
  color: var(--primary-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
}

.card h3 {
  margin: 0.4rem 0;
  font-size: 1.2rem;
  color: var(--primary);
}

.price {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--accent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.rating {
  color: #f4b000;
}

.banner {
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.95), rgba(225, 233, 255, 0.9));
  border-radius: 26px;
  padding: 2.6rem;
  display: grid;
  gap: 1.1rem;
  border: 1px solid rgba(74, 108, 247, 0.12);
}

.band {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: rgba(31, 182, 255, 0.14);
  color: var(--primary);
  font-weight: 600;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0;
}

.filter {
  padding: 0.65rem 1.4rem;
  border-radius: 14px;
  border: 1px solid rgba(74, 108, 247, 0.18);
  background: rgba(241, 245, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 520;
  color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.filter.active,
.filter:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 28px rgba(74, 108, 247, 0.28);
}

.product-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.4rem;
  margin-top: 2.4rem;
}

.product-gallery {
  background: radial-gradient(circle at top, rgba(31, 182, 255, 0.22), rgba(236, 242, 255, 0.95));
  border-radius: 28px;
  padding: 2.4rem;
  box-shadow: 0 22px 46px rgba(31, 60, 136, 0.16);
  min-height: 420px;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid rgba(74, 108, 247, 0.12);
}

.product-info {
  display: grid;
  gap: 1.7rem;
}

.product-info .price-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.product-cta {
  display: grid;
  gap: 1.2rem;
}

.product-info .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-weight: 520;
}

.feature-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
}

.page-hero {
  margin-top: 2.8rem;
  margin-bottom: 2.4rem;
  padding: 2.6rem 2.8rem;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(225, 235, 255, 0.9));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(74, 108, 247, 0.12);
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at center, rgba(31, 182, 255, 0.16), transparent 65%);
}

.page-hero h1 {
  margin: 0 0 0.8rem;
  font-size: 2rem;
  color: var(--primary);
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.shop-card {
  display: grid;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  padding: 1.8rem;
  box-shadow: 0 18px 40px rgba(31, 60, 136, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(74, 108, 247, 0.12);
}

.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px rgba(31, 60, 136, 0.18);
}

.shop-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.shop-detail {
  display: grid;
  gap: 2.6rem;
  margin: 2.6rem 0;
}

.shop-header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  padding: 2.4rem;
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(31, 60, 136, 0.16);
  border: 1px solid rgba(74, 108, 247, 0.12);
}

.shop-summary {
  display: grid;
  gap: 0.75rem;
}

.shop-stat {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  color: var(--muted);
}

.shop-stat span {
  font-size: 1.45rem;
  font-weight: 650;
  color: var(--primary-light);
}

.auth-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.8rem;
  margin: 3.5rem 0;
  align-items: center;
}

.auth-card {
  background: rgba(255, 255, 255, 0.96);
  padding: 2.6rem;
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(31, 60, 136, 0.14);
  display: grid;
  gap: 1.5rem;
  border: 1px solid rgba(74, 108, 247, 0.12);
}

.auth-card h2 {
  margin-top: 0;
  color: var(--primary);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(74, 108, 247, 0.24);
  background: rgba(250, 252, 255, 0.95);
  font-size: 1rem;
  color: var(--text);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(74, 108, 247, 0.18);
}

.form-helper {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer {
  background: rgba(241, 245, 255, 0.96);
  margin-top: 5rem;
  padding: 2.6rem 0;
  border-top: 1px solid rgba(74, 108, 247, 0.12);
  box-shadow: 0 -14px 30px rgba(31, 60, 136, 0.12);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.8rem;
}

.footer h4 {
  margin-top: 0;
  color: var(--primary);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tag-chip {
  padding: 0.4rem 1rem;
  background: rgba(31, 182, 255, 0.14);
  border-radius: 999px;
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
}

.breadcrumbs {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 1.2rem 0;
}

.breadcrumbs span.active {
  color: var(--primary-light);
  font-weight: 620;
}

.tabs {
  display: flex;
  gap: 1.2rem;
  border-bottom: 1px solid rgba(74, 108, 247, 0.15);
  margin: 2.4rem 0 1.7rem;
}

.tab {
  padding: 0.75rem 0;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  letter-spacing: 0.02em;
}

.tab.active {
  color: var(--primary-light);
}

.tab.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: 999px;
}

.highlight {
  background: var(--accent-soft);
  color: #0f7491;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.8rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 1.6rem;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(31, 60, 136, 0.12);
  display: grid;
  gap: 0.6rem;
  border: 1px solid rgba(74, 108, 247, 0.12);
}

@media (max-width: 880px) {
  .navbar nav {
    display: none;
  }

  .hero {
    padding: 3rem;
  }
}

@media (max-width: 600px) {
  .hero,
  .page-hero {
    padding: 2.6rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-products {
    gap: 1.2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}


