/* ==========================================================================
   青云梯云机场 (QingYunti / V4Speed) - Design System & Modern Stylesheet
   Domain: qyunti.cyou
   Theme: Cyan Sky & Grassland Ladder Theme (青色背景 + 草地 + 爬梯小人云朵)
   ========================================================================== */

:root {
  --primary-hue: 185;
  --primary: #06b6d4;          /* 青色 / Cyan Accent */
  --primary-hover: #0891b2;
  --primary-light: rgba(6, 182, 212, 0.15);
  --accent: #38bdf8;           /* 天蓝色 */
  --accent-glow: rgba(6, 182, 212, 0.35);
  --grass-green: #10b981;      /* 草地绿 */
  --grass-dark: #047857;
  --gold: #f59e0b;
  --dark-bg: #09101d;          /* 结合青色的深邃夜空 */
  --dark-card: #111d33;
  --dark-card-hover: #182845;
  --border-color: rgba(6, 182, 212, 0.15);
  --border-highlight: rgba(56, 189, 248, 0.4);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1240px;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* 青色与草地色交相辉映的深色背景 */
  background: radial-gradient(circle at 50% 0%, #0e3a47 0%, #09101d 75%);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: #7dd3fc;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

.gradient-text {
  background: linear-gradient(135deg, #22d3ee 0%, #34d399 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 16, 29, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.brand-logo img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 14px var(--accent-glow);
}

.brand-logo span.tag {
  font-size: 0.7rem;
  background: linear-gradient(90deg, #06b6d4, #10b981);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
}

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

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

.nav-links a:hover,
.nav-links a.active {
  color: #38bdf8;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
  color: #ffffff;
}

.btn-secondary {
  background: var(--dark-card);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--dark-card-hover);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-recommend {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35);
  font-weight: 700;
}

.btn-recommend:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section - 青色背景 + 双列布局 + 草地底座 + 爬梯小人插图
   ========================================================================== */
.hero-section {
  padding: 3.5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
  /* 青色与天蓝色融合背景 */
  background: radial-gradient(ellipse at 70% 20%, rgba(6, 182, 212, 0.22) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(16, 185, 129, 0.18) 0%, transparent 55%),
              linear-gradient(180deg, #09101d 0%, #0d2535 60%, #063d33 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.4);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: #22d3ee;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-badge i {
  color: var(--gold);
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* 旁边的空位插图容器（小人在爬梯子，梯子上面有云朵） */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  padding: 1rem;
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  transition: var(--transition-normal);
}

.hero-illustration-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(6, 182, 212, 0.3));
  animation: floatLadder 4s ease-in-out infinite;
}

@keyframes floatLadder {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* 梯子插图旁边的动态气泡标签 */
.visual-badge {
  position: absolute;
  background: rgba(17, 29, 51, 0.92);
  border: 1px solid var(--border-highlight);
  backdrop-filter: blur(12px);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.visual-badge-top {
  top: 10px;
  right: -10px;
}

.visual-badge-bottom {
  bottom: 20px;
  left: -10px;
}

.visual-badge i {
  color: #10b981;
}

/* 草地底部过渡波浪 (Lush Grass Lawn Wave at Hero Bottom) */
.hero-grass-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 48px;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 185, 129, 0.15) 40%, var(--dark-bg) 100%);
  pointer-events: none;
}

/* Info Banner Box (Matching screenshot data) */
.info-card {
  background: linear-gradient(135deg, rgba(17, 29, 51, 0.95), rgba(9, 16, 29, 0.98));
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-top: 1rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #06b6d4, #10b981);
}

.info-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #22d3ee;
  margin-bottom: 0.65rem;
}

.info-body {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
}

.info-highlight {
  color: var(--gold);
  font-weight: 700;
}

/* Feature Grid */
.features-section {
  padding: 4.5rem 0 4rem;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.2);
}

.feature-icon {
  width: 54px;
  height: 54px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #22d3ee;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

/* Pricing Section */
.pricing-section {
  padding: 4rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
}

.pricing-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-5px);
}

.pricing-card.featured {
  background: linear-gradient(180deg, #15243b 0%, #111d33 100%);
  border: 2px solid #06b6d4;
  box-shadow: 0 10px 40px rgba(6, 182, 212, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: linear-gradient(90deg, #f59e0b, #10b981);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.plan-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-desc {
  color: var(--text-dim);
  font-size: 0.85rem;
  min-height: 38px;
  margin-bottom: 1.25rem;
}

.plan-price {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: #22d3ee;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

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

.plan-features {
  flex-grow: 1;
  margin-bottom: 1.75rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.plan-features li i {
  color: #10b981;
  font-size: 0.9rem;
}

/* Articles Section */
.articles-section {
  padding: 4rem 0;
}

.keyword-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.keyword-pill {
  background: rgba(17, 29, 51, 0.8);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.keyword-pill:hover {
  color: #22d3ee;
  border-color: #22d3ee;
  background: rgba(6, 182, 212, 0.1);
}

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

.article-card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.article-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
}

.article-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #22d3ee;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.article-card h3 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.article-card h3 a {
  color: var(--text-main);
}

.article-card h3 a:hover {
  color: #22d3ee;
}

.article-snippet {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  font-size: 0.825rem;
  color: var(--text-dim);
}

.read-more {
  color: #22d3ee;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* User Testimonials Section (用户评价) */
.reviews-section {
  padding: 4rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.user-avatar {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #06b6d4, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.user-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.user-info span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.review-stars {
  color: var(--gold);
  font-size: 0.9rem;
}

.review-text {
  color: #cbd5e1;
  font-size: 0.925rem;
  line-height: 1.65;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
}

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

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

.faq-item:hover {
  border-color: var(--border-highlight);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question i {
  color: #22d3ee;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background: rgba(9, 16, 29, 0.5);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Article Detail Styles */
.article-detail-header {
  padding: 4rem 0 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.article-detail-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.article-body {
  max-width: 860px;
  margin: 0 auto 4rem;
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  line-height: 1.85;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.article-body h2 {
  font-size: 1.6rem;
  color: var(--text-main);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.article-body h3 {
  font-size: 1.3rem;
  color: #22d3ee;
  margin: 1.5rem 0 0.75rem;
}

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

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style-type: disc;
}

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

.cta-box {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(16, 185, 129, 0.2));
  border: 1px solid #06b6d4;
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}

.cta-box h3 {
  color: var(--text-main);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Footer & PBN Friendly Links */
footer {
  margin-top: auto;
  background: #050a14;
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.footer-logo img {
  width: 28px;
  height: 28px;
}

.footer-desc {
  max-width: 600px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.friendly-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.825rem;
  color: var(--text-dim);
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 600px;
}

.friendly-links span.title {
  color: #475569;
  font-weight: 600;
}

.friendly-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition-fast);
}

.friendly-links a:hover {
  color: #22d3ee;
}

.copyright {
  font-size: 0.8rem;
  color: #475569;
  margin-top: 0.5rem;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(9, 16, 29, 0.98);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }

  .article-body {
    padding: 1.5rem;
  }

  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }
}
