/* ==========================================================================
   Gatern (gatern.cyou) - Visual Design System & Core Stylesheet
   Design Attributes: Light Cyan Glow, 3D Rainbow Typography, Glassmorphism, 
   Vertical Auto Price Scroll, Horizontal Testimonial Marquee.
   ========================================================================== */

:root {
  --font-main: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  
  /* Color Tokens - 4.指令 背景图要有浅青色 (Light Cyan Theme) */
  --bg-primary: #0a1118;
  --bg-secondary: #111d27;
  --cyan-glow: #e6fffa;
  --cyan-primary: #00f2fe;
  --cyan-secondary: #4facfe;
  --cyan-accent: #00d2ff;
  --cyan-dark: #003b46;
  --light-cyan-mesh: radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.18) 0%, rgba(230, 255, 250, 0.08) 35%, rgba(10, 17, 24, 0.95) 80%);
  
  /* Cards & Glassmorphism */
  --glass-bg: rgba(17, 29, 39, 0.7);
  --glass-border: rgba(0, 242, 254, 0.25);
  --glass-hover-border: rgba(0, 242, 254, 0.6);
  --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  
  /* Text Colors */
  --text-main: #f0f6fc;
  --text-muted: #94a3b8;
  --text-sub: #cbd5e1;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  background-image: var(--light-cyan-mesh);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Cyan Light Elements */
.ambient-light-cyan {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0, 242, 254, 0.25) 0%, rgba(230, 255, 250, 0.12) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.ambient-cyan-orb {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.2) 0%, rgba(0, 242, 254, 0.05) 60%, transparent 80%);
  filter: blur(60px);
  pointer-events: none;
  animation: floatOrb 12s infinite alternate ease-in-out;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 80px) scale(1.1); }
  100% { transform: translate(-40px, 120px) scale(0.95); }
}

/* 5.指令 字体渐变彩虹色3d展示 (3D Rainbow Gradient Text) */
.rainbow-3d-text {
  font-weight: 900;
  background: linear-gradient(135deg, #ff2a6d 0%, #ffc000 20%, #00e5ff 40%, #00ff87 60%, #9d4edd 80%, #ff2a6d 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowShift 6s linear infinite;
  position: relative;
  display: inline-block;
  text-shadow: 
    0px 2px 0px rgba(0, 242, 254, 0.4),
    0px 4px 0px rgba(79, 172, 254, 0.3),
    0px 6px 1px rgba(0, 0, 0, 0.5),
    0px 10px 20px rgba(0, 242, 254, 0.35);
  letter-spacing: -0.02em;
}

@keyframes rainbowShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Base Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Header Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(10, 17, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.brand-logo svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.8));
}

.brand-logo span.cyan-text {
  color: var(--cyan-primary);
  text-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
}

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

.nav-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--cyan-primary);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--cyan-primary) 0%, #0099ff 100%);
  color: #04090d;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4), 0 0 0 2px rgba(230, 255, 250, 0.3);
  transition: var(--transition-bounce);
  cursor: pointer;
  border: none;
}

.btn-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.5);
  color: #000;
}

.btn-cta-secondary {
  background: rgba(0, 242, 254, 0.1);
  color: var(--cyan-primary);
  border: 1px solid rgba(0, 242, 254, 0.4);
  box-shadow: none;
}

.btn-cta-secondary:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--cyan-primary);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

/* Hero Section */
.hero-section {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--cyan-primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.hero-cta-group {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.25rem;
  backdrop-filter: blur(10px);
  text-align: center;
  transition: var(--transition-normal);
}

.stat-card:hover {
  border-color: var(--cyan-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.2);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan-primary);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 1.指令 生产icon - Feature Grid */
.features-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-primary), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-hover-border);
  box-shadow: var(--glass-shadow), 0 0 25px rgba(0, 242, 254, 0.25);
}

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

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.feature-icon-wrapper svg {
  width: 30px;
  height: 30px;
  color: var(--cyan-primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 3.指令 价格表直排自动上下展示 (Vertical Auto Scroll Price Column) */
.pricing-section {
  padding: 80px 0;
  position: relative;
}

.pricing-viewport-wrapper {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(13, 23, 33, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.15);
  padding: 1.5rem;
}

.pricing-viewport-wrapper::before,
.pricing-viewport-wrapper::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 5;
  pointer-events: none;
}

.pricing-viewport-wrapper::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(13, 23, 33, 1), transparent);
}

.pricing-viewport-wrapper::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(13, 23, 33, 1), transparent);
}

.pricing-scroll-container {
  height: 460px;
  overflow-y: hidden;
  position: relative;
}

.pricing-cards-track {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: verticalPriceScroll 22s linear infinite;
}

.pricing-scroll-container:hover .pricing-cards-track {
  animation-play-state: paused;
}

@keyframes verticalPriceScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(calc(-50% - 0.625rem)); }
}

.price-row-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: var(--transition-fast);
  backdrop-filter: blur(10px);
}

.price-row-card.popular {
  border-color: var(--cyan-primary);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(17, 29, 39, 0.9) 100%);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.price-plan-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.plan-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.plan-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price-tag {
  text-align: right;
}

.price-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cyan-primary);
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price-features-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.price-features-list li {
  font-size: 0.88rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.price-features-list li svg {
  width: 16px;
  height: 16px;
  color: var(--cyan-primary);
}

/* Articles Matrix Section */
.articles-section {
  padding: 80px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
  text-decoration: none;
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan-primary);
  box-shadow: 0 12px 30px rgba(0, 242, 254, 0.25);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--cyan-primary);
  margin-bottom: 0.75rem;
}

.article-tag {
  background: rgba(0, 242, 254, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.article-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.article-link-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.article-link-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

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

/* 6.指令 客户评论 平排左右自动展示 (Horizontal Testimonial Marquee) */
.reviews-section {
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

.reviews-marquee-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.reviews-marquee-wrapper::before,
.reviews-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 5;
  pointer-events: none;
}

.reviews-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.reviews-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  animation: horizontalMarquee 28s linear infinite;
  white-space: nowrap;
}

.reviews-marquee-wrapper:hover .reviews-track {
  animation-play-state: paused;
}

@keyframes horizontalMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-card {
  flex: 0 0 360px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  white-space: normal;
}

.review-card:hover {
  border-color: var(--cyan-primary);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.2);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-primary), #0066ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.review-user-info {
  display: flex;
  flex-direction: column;
}

.review-username {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}

.review-user-tag {
  font-size: 0.8rem;
  color: var(--cyan-primary);
}

.review-stars {
  color: #ffc107;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.review-text {
  color: var(--text-sub);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--cyan-primary);
  box-shadow: 0 5px 20px rgba(0, 242, 254, 0.15);
}

.faq-question {
  padding: 1.5rem 1.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  color: var(--cyan-primary);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 1.75rem 1.5rem 1.75rem;
  transition: max-height 0.3s ease-in-out, padding 0.3s ease;
}

/* PBN Footer Requirements (核心任务 2) */
.site-footer {
  background: rgba(7, 12, 18, 0.95);
  border-top: 1px solid rgba(0, 242, 254, 0.2);
  padding: 60px 0 30px;
  text-align: center;
  position: relative;
  z-index: 10;
}

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

.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 500px;
}

/* PBN DoFollow Friend Links Box */
.pbn-friend-links {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: rgba(0, 242, 254, 0.04);
  border: 1px dashed rgba(0, 242, 254, 0.2);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pbn-friend-links span.pbn-label {
  font-weight: 600;
  color: var(--text-sub);
}

.pbn-friend-links a {
  color: var(--cyan-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

.pbn-friend-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.8);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  padding-top: 1.5rem;
  margin-top: 1rem;
}

/* Article Page Layout Styles */
.article-page {
  padding: 140px 0 80px;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--cyan-primary);
  text-decoration: none;
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 1rem;
}

.article-body {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
  color: var(--text-sub);
  font-size: 1.05rem;
  line-height: 1.8;
  backdrop-filter: blur(12px);
}

.article-body h2 {
  font-size: 1.75rem;
  color: #fff;
  margin: 2rem 0 1rem;
  border-left: 4px solid var(--cyan-primary);
  padding-left: 1rem;
}

.article-body h3 {
  font-size: 1.3rem;
  color: var(--cyan-primary);
  margin: 1.5rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(0, 102, 255, 0.15) 100%);
  border: 1px solid var(--cyan-primary);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin: 3rem 0;
}

.article-cta-box h3 {
  color: #fff;
  margin-bottom: 0.75rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-row-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .price-features-list {
    flex-direction: column;
    gap: 0.5rem;
  }
  .nav-links {
    display: none;
  }
  .article-body {
    padding: 1.5rem;
  }
}
