:root {
  --bg-color: #0d0d12;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --accent-color: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.6);
  --gradient-1: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  --gradient-2: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --font-family: 'Sora', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Background Glows */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.5;
  animation: float 20s infinite ease-in-out alternate;
}

.glow-1 {
  width: 40vw;
  height: 40vw;
  background: rgba(99, 102, 241, 0.3);
  top: -10vw;
  left: -10vw;
}

.glow-2 {
  width: 30vw;
  height: 30vw;
  background: rgba(168, 85, 247, 0.2);
  bottom: 0vw;
  right: -5vw;
  animation-delay: -5s;
}

.glow-3 {
  width: 25vw;
  height: 25vw;
  background: rgba(236, 72, 153, 0.15);
  top: 40%;
  left: 40%;
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

/* Typography & General */
a {
  text-decoration: none;
  color: inherit;
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

/* Glass & Components */
.glass-effect,
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.button-gradient {
  background: var(--gradient-1);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.button-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.button-glass {
  background: var(--glass-bg);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  transition: var(--transition-smooth);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Header */
.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo-wrapper img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .site-header {
    padding: 0.75rem 1rem;
    width: 95%;
  }
}

/* Page Shell & Main */
.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  padding-top: 8rem;
}

/* Hero Section */
.hero-premium {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  width: 100%;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-color);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-top: 2rem;
  perspective: 1000px;
}

.hero-shot {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  padding: 8px;
  transform: rotateX(5deg) scale(0.95);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-shot:hover {
  transform: rotateX(0deg) scale(1);
}

.window-controls {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 16px 16px 0 0;
}

.window-controls i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
}

.window-controls i:nth-child(2) {
  background: #ffbd2e;
}

.window-controls i:nth-child(3) {
  background: #27c93f;
}

.hero-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 16px 16px;
}

.floating-badge {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 1rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  animation: float-badge 6s infinite ease-in-out alternate;
}

.badge-1 {
  top: -20px;
  left: -20px;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 40px;
  right: -30px;
  animation-delay: -3s;
}

@keyframes float-badge {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-20px);
  }
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-heading {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-heading h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Overview Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card-mini {
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card-mini:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.product-card-mini .badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.product-card-mini h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.price-tag {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-right: 0.5rem;
}

/* New CSS items for rich content mapping */
.scenarios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.scenario-tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  color: #e2e8f0;
}

.scenario-tag:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mini-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.mini-features li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  padding-left: 1.2rem;
  position: relative;
}

.mini-features li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 0.8rem;
}

.advanced-list {
  list-style: none;
}

.advanced-list li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.advanced-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.advanced-list strong {
  color: var(--text-primary);
}

.bonus-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.bonus-header {
  margin-bottom: 0.5rem;
}

.bonus-header strong {
  color: #ec4899;
  font-size: 1.1rem;
}

.plugin-features-box {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Detail Showcase */
.details-stack {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.detail-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.detail-item:nth-child(even) {
  direction: rtl;
}

.detail-item:nth-child(even)>* {
  direction: ltr;
}

@media (max-width: 900px) {
  .detail-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-img-wrap {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  cursor: zoom-in;
}

.main-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.main-img-wrap:hover img {
  transform: scale(1.02);
}

.gallery-thumbs {
  display: flex;
  gap: 1rem;
}

.thumb {
  width: 80px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb.active,
.thumb:hover {
  opacity: 1;
  border-color: var(--accent-color);
}

.detail-info .badge {
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.detail-info h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.detail-info .meta-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.detail-info .meta-tags span {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  font-size: 0.85rem;
  color: #c4b5fd;
}

/* Pricing Grid */
.pricing-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.plan-card {
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card.popular {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}

.plan-card.popular::before {
  content: "推荐之选";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gradient-1);
  padding: 0.4rem 1.5rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: #fff;
}

.plan-features {
  flex-grow: 1;
  margin-bottom: 2rem;
  list-style: none;
}

.plan-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.plan-features li::before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
}

.plan-bonus {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 2rem;
}

.plan-bonus strong {
  color: #34d399;
  display: block;
  margin-bottom: 0.2rem;
}

/* Contact Section */
.contact-box {
  padding: 4rem;
  border-radius: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.contact-copy {
  flex: 1;
}

.contact-copy h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-details {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
}

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

.contact-item .value {
  font-weight: 700;
  font-size: 1.1rem;
}

.contact-qr {
  text-align: center;
}

.qr-wrapper {
  background: #fff;
  padding: 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  width: 220px;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.qr-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
  animation: scan 2s infinite ease-in-out;
}

@keyframes scan {
  0% {
    top: 0;
  }

  100% {
    top: 100%;
  }
}

@media(max-width: 900px) {
  .contact-box {
    flex-direction: column;
    padding: 2.5rem;
    text-align: center;
  }

  .contact-item {
    flex-direction: column;
    gap: 0.2rem;
  }
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

.developer-note {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  opacity: 0.6;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 1001;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.8;
}

.lightbox-close:hover {
  opacity: 1;
}

#lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}