/* 掌中世界 - 专属黑金奢华科技 CSS 样式表 */
:root {
  --bg-main: #0a0a0d;
  --bg-card: rgba(18, 18, 24, 0.75);
  --bg-card-hover: rgba(28, 28, 38, 0.85);
  --gold-primary: #d4af37;
  --gold-light: #f5d77f;
  --gold-dark: #aa8210;
  --gold-gradient: linear-gradient(135deg, #f7db8c 0%, #d4af37 50%, #997415 100%);
  --gold-button-gradient: linear-gradient(180deg, #dfb74a 0%, #b88a1e 100%);
  --text-main: #f0f0f5;
  --text-muted: #a0a0b0;
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-gold-bright: rgba(245, 215, 127, 0.6);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.15);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  background-image: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0, rgba(255, 255, 255, 0.015) 1px, transparent 0, transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  background-size: 20px 20px, 100% 100%;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding: 15px 0;
}

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

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

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
  object-fit: cover;
}

.logo-title {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

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

.nav-links a {
  font-size: 0.95rem;
  color: #c8c8d8;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--gold-light);
  text-shadow: 0 0 8px rgba(245, 215, 127, 0.4);
}

.btn-nav {
  padding: 8px 18px;
  background: var(--gold-button-gradient);
  color: #0d0d0f;
  font-weight: 700;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 215, 127, 0.5);
}

/* Hero Section */
.hero-section {
  padding: 160px 0 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--gold-button-gradient);
  color: #0c0c0e;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 30px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  cursor: pointer;
  border: 1px solid var(--gold-light);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(245, 215, 127, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 30px;
  border: 1px solid var(--border-gold-bright);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.25);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  max-width: 480px;
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.25), 0 0 120px rgba(0, 180, 255, 0.15);
  animation: floatOrb 6s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-15px) rotate(5deg); }
}

/* Common Section Layout */
.section {
  padding: 90px 0;
}

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

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Feature Cards Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 32px 28px;
  backdrop-filter: blur(10px);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-primary);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.15);
}

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

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  display: inline-block;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #fff;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.pricing-card.popular {
  border: 2px solid var(--gold-primary);
  background: rgba(26, 24, 20, 0.85);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.25);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-button-gradient);
  color: #0c0c0e;
  padding: 4px 16px;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 16px;
}

.price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #d0d0e0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: "✓";
  color: var(--gold-primary);
  font-weight: bold;
}

/* Articles List Grid */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.article-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.article-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.article-card h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-link {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-link:hover {
  color: var(--gold-light);
  gap: 10px;
}

/* User Reviews Section */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 28px;
  position: relative;
}

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

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 800;
  font-size: 1.1rem;
}

.reviewer-info h4 {
  color: #fff;
  font-size: 1.05rem;
}

.reviewer-info span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.stars {
  color: #ffd700;
  margin-bottom: 12px;
}

.review-card p {
  color: #d0d0e0;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  display: none;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer & PBN Links (Core Task 2) */
footer {
  background: #060608;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 50px 0 30px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.footer-brand span {
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtle, elegant PBN friendly links area */
.friend-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.friend-links-title {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.friend-links a {
  font-size: 0.85rem;
  color: #8a8a9e;
  transition: color 0.2s ease;
}

.friend-links a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.copyright {
  font-size: 0.85rem;
  color: #666677;
  margin-top: 15px;
}

/* Article Detail Pages Specific Style */
.article-detail {
  padding: 140px 0 80px;
  max-width: 880px;
  margin: 0 auto;
}

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

.breadcrumb a {
  color: var(--gold-primary);
}

.article-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.article-meta {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-gold);
}

.article-body {
  color: #d8d8e5;
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-body h2 {
  font-size: 1.6rem;
  color: var(--gold-light);
  margin: 36px 0 16px;
  border-left: 4px solid var(--gold-primary);
  padding-left: 12px;
}

.article-body h3 {
  font-size: 1.3rem;
  color: #fff;
  margin: 28px 0 12px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  background: rgba(212, 175, 55, 0.08);
  border-left: 4px solid var(--gold-primary);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  color: #e0e0f0;
  font-style: italic;
}

.article-cta {
  background: linear-gradient(135deg, rgba(20, 20, 28, 0.9) 0%, rgba(35, 30, 20, 0.9) 100%);
  border: 1px solid var(--gold-primary);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.article-cta h3 {
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.article-cta p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p {
    margin: 0 auto 36px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple responsive */
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
}

/* ==========================================
   客户端下载弹窗 (Download Modal) 样式
   ========================================== */
.download-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.download-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.download-modal-container {
  background: linear-gradient(145deg, rgba(24, 24, 32, 0.98) 0%, rgba(14, 14, 20, 0.98) 100%);
  border: 1px solid var(--border-gold-bright);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  padding: 36px 30px 30px;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s ease;
  color: var(--text-main);
  text-align: center;
}

.download-modal-overlay.active .download-modal-container {
  transform: translateY(0) scale(1);
}

.download-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.download-modal-close:hover,
.download-modal-close:focus-visible {
  color: var(--gold-light);
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.15);
  outline: none;
}

.download-modal-header {
  margin-bottom: 24px;
}

.download-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.download-modal-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.download-modal-platforms {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.download-platform-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.25s ease;
}

.download-platform-btn:hover,
.download-platform-btn:focus-visible {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.15);
  outline: none;
}

.platform-btn-left {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.platform-icon {
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.platform-info strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 700;
}

.platform-info span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.platform-btn-arrow {
  color: var(--gold-primary);
  font-size: 18px;
  font-weight: bold;
}

.download-modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

