/* ==========================================================================
   Global Style System - 魔戒 (MoJie) · mojienet.lol
   Template 100 极光流幕 & Framework 45 电路拓扑
   ========================================================================== */

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  line-height: 1.65;
  background-color: var(--aurora-bg-deep);
  color: var(--aurora-text-main);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
}

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

/* SECTION UTILITIES */
.section {
  position: relative;
  padding: 96px 0;
  z-index: 10;
}

.section-alt {
  background: rgba(8, 14, 26, 0.45);
  border-top: 1px solid rgba(6, 182, 212, 0.08);
  border-bottom: 1px solid rgba(6, 182, 212, 0.08);
}

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

.section-tag {
  font-family: var(--aurora-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--aurora-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.section-desc {
  font-size: 16px;
  color: var(--aurora-text-muted);
  max-width: 720px;
  margin: 14px auto 0;
  line-height: 1.6;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 8, 17, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(6, 182, 212, 0.12);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(4, 7, 15, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand-img {
  height: 40px;
  width: auto;
}

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

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--aurora-text-muted);
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--aurora-emerald), var(--aurora-cyan));
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav-login {
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: #38bdf8;
  transition: all 0.2s ease;
}

.btn-nav-login:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--aurora-cyan);
  color: #ffffff;
}

.btn-nav-cta {
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--aurora-emerald), var(--aurora-cyan));
  color: #030a14;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
  transition: all 0.2s ease;
}

.btn-nav-cta:hover {
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 6px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 8, 17, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  border-top: 1px solid rgba(6, 182, 212, 0.15);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-nav-link {
  font-size: 18px;
  font-weight: 600;
  color: #e2e8f0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 160px 0 100px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  z-index: 10;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge-wrap {
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.18;
  color: #ffffff;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.hero-title-gradient {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 17px;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-lead strong {
  color: #38bdf8;
  font-weight: 600;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
  padding: 18px 20px;
  background: rgba(10, 20, 36, 0.55);
  border: 1px solid rgba(6, 182, 212, 0.16);
  border-radius: 14px;
}

.hero-stat-item {
  text-align: left;
}

.hero-stat-val {
  font-family: var(--aurora-font-mono);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.hero-stat-val.gold { color: #f59e0b; }
.hero-stat-val.emerald { color: #10b981; }
.hero-stat-val.cyan { color: #06b6d4; }

.hero-stat-lbl {
  font-size: 12px;
  color: var(--aurora-text-muted);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-visual-card {
  position: relative;
  padding: 24px;
  background: radial-gradient(circle at 50% 40%, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.05) 50%, rgba(5, 8, 17, 0.8) 100%);
  border: 1px solid rgba(6, 182, 212, 0.28);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(6, 182, 212, 0.15);
}

.hero-preview-ring {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  position: relative;
}

.hero-ring-halo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 10px solid #f59e0b;
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.5), inset 0 0 25px rgba(16, 185, 129, 0.4);
  position: relative;
  animation: ringHaloSpin 18s linear infinite;
}

@keyframes ringHaloSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-node-feed {
  background: rgba(6, 12, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px;
  font-family: var(--aurora-font-mono);
  font-size: 12px;
}

.feed-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feed-row:last-child {
  border-bottom: none;
}

.feed-green { color: #34d399; }
.feed-cyan { color: #38bdf8; }

/* ==========================================================================
   EDITORIAL ESSAY SECTION (爱因斯坦级深度剖析特稿)
   ========================================================================== */
.editorial-container {
  max-width: 1080px;
  margin: 0 auto;
}

.editorial-card {
  background: linear-gradient(145deg, rgba(14, 25, 45, 0.85) 0%, rgba(8, 14, 26, 0.95) 100%);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(16, 185, 129, 0.08);
}

.editorial-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(6, 182, 212, 0.15);
}

.editorial-author-chip {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #050811;
  font-size: 18px;
}

.author-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.author-info p {
  font-size: 12px;
  color: var(--aurora-text-muted);
}

.editorial-headline {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 24px;
}

.editorial-body {
  font-size: 16px;
  line-height: 1.85;
  color: #cbd5e1;
}

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

.editorial-body strong {
  color: #38bdf8;
  font-weight: 600;
}

.editorial-callout {
  margin: 28px 0;
  padding: 22px 26px;
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--aurora-emerald);
  border-radius: 0 12px 12px 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: #e2e8f0;
}

.editorial-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

.editorial-subcard {
  padding: 20px;
  background: rgba(8, 15, 27, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.editorial-subcard h5 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.editorial-subcard p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--aurora-text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   PRICING SECTION (魔戒官方全系列 7 大套餐)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.pricing-card {
  background: rgba(13, 23, 41, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 18px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--aurora-cyan);
  box-shadow: 0 20px 45px -10px rgba(6, 182, 212, 0.3);
}

.pricing-card.featured {
  background: linear-gradient(160deg, rgba(16, 32, 58, 0.95) 0%, rgba(10, 18, 34, 0.95) 100%);
  border: 2px solid var(--aurora-gold);
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.25);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #000;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
  letter-spacing: 0.5px;
}

.pricing-header {
  margin-bottom: 20px;
}

.plan-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.plan-subtitle {
  font-size: 13px;
  color: var(--aurora-text-muted);
}

.pricing-amount-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 16px 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--aurora-emerald);
}

.price-num {
  font-size: 44px;
  font-weight: 900;
  font-family: var(--aurora-font-mono);
  color: #ffffff;
  line-height: 1;
}

.pricing-card.featured .price-num {
  color: #f59e0b;
}

.price-period {
  font-size: 14px;
  color: var(--aurora-text-dim);
}

.plan-efficiency-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 8px;
  font-size: 12.5px;
  font-family: var(--aurora-font-mono);
  color: #38bdf8;
  margin-bottom: 22px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #cbd5e1;
}

.plan-features svg {
  width: 18px;
  height: 18px;
  color: var(--aurora-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-action {
  margin-top: auto;
}

.pricing-foot-note {
  text-align: center;
  margin-top: 36px;
  font-size: 14px;
  color: var(--aurora-text-muted);
}

/* ==========================================================================
   FEATURES MATRIX SECTION
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box {
  padding: 30px;
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.25));
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.feature-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--aurora-text-muted);
}

/* ==========================================================================
   ARTICLES SHOWCASE SECTION
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.article-card-tag {
  font-family: var(--aurora-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--aurora-cyan);
  margin-bottom: 12px;
}

.article-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.article-card:hover .article-card-title {
  color: #38bdf8;
}

.article-card-excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--aurora-text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  color: var(--aurora-text-dim);
}

.article-card-link {
  color: var(--aurora-emerald);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.article-card:hover .article-card-link {
  transform: translateX(4px);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(12, 22, 38, 0.7);
  border: 1px solid rgba(6, 182, 212, 0.16);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(6, 182, 212, 0.35);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-item.active .faq-question {
  color: #38bdf8;
}

.faq-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--aurora-cyan);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 24px;
  font-size: 15px;
  line-height: 1.75;
  color: #cbd5e1;
}

.faq-item.active .faq-answer {
  padding-bottom: 22px;
}

.faq-answer p {
  margin-bottom: 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   COMMUNITY REVIEWS SECTION
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  padding: 26px;
}

.review-stars {
  color: #fbbf24;
  margin-bottom: 14px;
  font-size: 16px;
}

.review-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: #e2e8f0;
  margin-bottom: 20px;
}

.review-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-badge-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #38bdf8;
}

.user-detail h5 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.user-detail span {
  font-size: 12px;
  color: var(--aurora-text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  background: #03050c;
  border-top: 1px solid rgba(6, 182, 212, 0.15);
  padding: 64px 0 32px;
}

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

.footer-brand-p {
  font-size: 14px;
  color: var(--aurora-text-muted);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 320px;
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 13.5px;
  color: var(--aurora-text-muted);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #38bdf8;
}

.footer-bottom-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  color: var(--aurora-text-dim);
}

.footer-seo-identity {
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  font-size: 12px;
  color: #64748b;
  text-align: center;
  line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid,
  .features-grid,
  .articles-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .btn-nav-login {
    display: none;
  }
  .hamburger-btn {
    display: block;
  }
  .pricing-grid,
  .features-grid,
  .articles-grid,
  .reviews-grid,
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .editorial-card {
    padding: 28px 20px;
  }
  .editorial-grid-2col {
    grid-template-columns: 1fr;
  }
}
