/* ==========================================================================
   牢大云 (laodayun.sbs) 官方视觉与设计系统
   Theme: Dark Gold / Tech Premium / Glassmorphism / Floating Elements
   ========================================================================== */

:root {
  --bg-main: linear-gradient(135deg, #07070a 0%, #0f0f18 50%, #161622 100%);
  --bg-card: rgba(22, 22, 34, 0.65);
  --bg-card-hover: rgba(32, 32, 50, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 215, 0, 0.15);
  --border-color-hover: rgba(255, 215, 0, 0.4);
  
  --gold-primary: #ffd700;
  --gold-secondary: #ffa751;
  --gold-gradient: linear-gradient(135deg, #FFE259 0%, #FFA751 100%);
  --gold-gradient-soft: linear-gradient(135deg, #fff3a7 0%, #ffd084 100%);
  --gold-glow: 0 0 20px rgba(255, 215, 0, 0.25);
  
  --text-main: #f0f0f5;
  --text-muted: #a0a0b8;
  --text-sub: #72728c;
  
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #07070a;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  background: var(--bg-main);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
}

/* Background Ambient Glows */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography & Gold Gradient Text */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-text-soft {
  background: var(--gold-gradient-soft);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
}

/* Floating Animations */
@keyframes floatAnimation {
  0% {
    transform: translateY(0px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.05);
  }
  50% {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 215, 0, 0.15);
  }
  100% {
    transform: translateY(0px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.05);
  }
}

.float-card {
  animation: floatAnimation 5s ease-in-out infinite;
}

.float-card-delay-1 {
  animation-delay: 1s;
}

.float-card-delay-2 {
  animation-delay: 2s;
}

.float-card-delay-3 {
  animation-delay: 3s;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--gold-glow);
  font-size: 22px;
  color: #07070a;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--gold-primary);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0a0a0f;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 215, 0, 0.5);
  background: linear-gradient(135deg, #fff07c 0%, #ffb663 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 215, 0, 0.3);
  color: var(--gold-primary);
}

.btn-recommend {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-recommend:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(59, 130, 246, 0.5);
}

/* Hero Section */
.hero {
  padding: 90px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: var(--radius-full);
  font-size: 14px;
  color: var(--gold-primary);
  margin-bottom: 28px;
}

.hero-title {
  font-size: 52px;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Real-Time Live Counter Bar */
.live-counter-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  margin-bottom: 70px;
}

.counter-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.counter-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.counter-val {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.counter-lbl {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.live-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  margin-right: 6px;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Feature Grid */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(255, 215, 0, 0.15);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #07070a;
  margin-bottom: 24px;
}

.feature-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Floating Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  backdrop-filter: blur(16px);
}

.price-card.popular {
  border-color: var(--gold-primary);
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.1) 0%, rgba(22, 22, 34, 0.8) 100%);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: #07070a;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: var(--gold-glow);
}

.price-header {
  text-align: center;
  margin-bottom: 24px;
}

.price-name {
  font-size: 22px;
  margin-bottom: 12px;
}

.price-amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-amount span {
  font-size: 14px;
  color: var(--text-sub);
  font-weight: 400;
}

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

.price-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li::before {
  content: '✓';
  color: var(--gold-primary);
  font-weight: 700;
}

/* Floating Tutorial Section */
.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tutorial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.tutorial-card:hover {
  border-color: var(--border-color-hover);
  background: var(--bg-card-hover);
}

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

.tutorial-os-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 215, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.tutorial-steps {
  margin: 16px 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.tutorial-steps li {
  margin-bottom: 8px;
}

/* SEO Articles Section */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-main);
}

.article-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.5);
}

.article-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold-primary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
  align-self: flex-start;
}

.article-title {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 12px;
  transition: var(--transition);
}

.article-card:hover .article-title {
  color: var(--gold-primary);
}

.article-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  font-size: 12px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}

/* Reviews / Testimonials */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.review-stars {
  color: var(--gold-primary);
  font-size: 16px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: italic;
}

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

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #07070a;
}

.user-info h5 {
  font-size: 15px;
}

.user-info span {
  font-size: 12px;
  color: var(--text-sub);
}

/* FAQ Accordion */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(255, 215, 0, 0.3);
}

.faq-question {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 22px;
  color: var(--gold-primary);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* Article Page Layout */
.article-page {
  padding: 60px 0;
  max-width: 900px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 40px;
  text-align: center;
}

.article-header h1 {
  font-size: 38px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  font-size: 16px;
  line-height: 1.8;
  color: #e0e0ed;
}

.article-body h2 {
  font-size: 24px;
  color: var(--gold-primary);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.article-body h3 {
  font-size: 19px;
  color: #ffffff;
  margin: 24px 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 a {
  color: var(--gold-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-body a:hover {
  color: var(--gold-secondary);
}

.article-cta {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(22, 22, 34, 0.9) 100%);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  margin: 40px 0;
}

/* Footer & PBN Link Pipeline */
footer {
  background: #040406;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 50px 0 30px;
  margin-top: 90px;
}

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

.footer-brand {
  font-size: 20px;
  font-weight: 700;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-sub);
  max-width: 600px;
}

/* PBN Friendly Links Pipeline */
.pbn-links-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  margin-top: 10px;
}

.pbn-label {
  font-size: 12px;
  color: var(--text-sub);
}

.pbn-link {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.pbn-link:hover {
  color: var(--gold-primary);
}

.copyright {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 16px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .features-grid, .tutorials-grid, .articles-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .live-counter-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 34px;
  }
  .features-grid, .tutorials-grid, .articles-grid, .reviews-grid, .pricing-grid, .live-counter-bar {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .article-body {
    padding: 24px;
  }
}
