/* XSUS Cloud - 曜石黑金与赤焰极速 (Cyber Flame & Vivid Orange Design System) */
:root {
  --bg-main: #06060a;
  --bg-card: rgba(18, 14, 24, 0.84);
  --bg-card-hover: rgba(28, 20, 36, 0.96);
  --bg-glass: rgba(10, 8, 16, 0.88);
  
  --border-color: rgba(255, 94, 0, 0.25);
  --border-accent: rgba(255, 94, 0, 0.6);
  --border-flame: rgba(255, 51, 102, 0.5);
  
  --flame-red: #ff3366;
  --flame-orange: #ff5e00;
  --flame-amber: #ffb700;
  --flame-gradient: linear-gradient(135deg, #ff3366 0%, #ff5e00 50%, #ffb700 100%);
  --hero-title-gradient: linear-gradient(135deg, #ffffff 0%, #ffe600 45%, #ff5e00 100%);
  
  --gold-primary: #f59e0b;
  --purple-accent: #a855f7;
  --recommend-gradient: linear-gradient(135deg, #10b981 0%, #047857 100%);

  --text-main: #f8fafc;
  --text-muted: #d1d5db;
  --text-dim: #9ca3af;
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --shadow-flame: 0 0 30px rgba(255, 94, 0, 0.35);
  --shadow-gold: 0 0 25px rgba(245, 158, 11, 0.25);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.65);
  
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: 
    radial-gradient(circle at 15% 15%, rgba(255, 51, 102, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(255, 94, 0, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(168, 85, 247, 0.12) 0%, transparent 55%),
    #06060a;
  background-attachment: fixed;
}

a {
  color: #ff9900;
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: #ffb700;
}

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

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--flame-orange);
  box-shadow: var(--shadow-flame);
  transition: transform 0.3s ease;
}

.brand img:hover {
  transform: scale(1.08) rotate(3deg);
}

.brand span {
  background: var(--flame-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 94, 0, 0.4));
}

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

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

.nav-links a:hover {
  color: #ffb700;
  text-shadow: 0 0 12px rgba(255, 183, 0, 0.5);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--flame-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 94, 0, 0.45);
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 94, 0, 0.7);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 94, 0, 0.15);
  border-color: var(--flame-orange);
  color: #ffb700;
}

.btn-recommend {
  background: var(--recommend-gradient);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.btn-recommend:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.6);
  color: #fff;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffb700;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero Section - Redesigned Flame Title */
.hero {
  padding: 85px 0 60px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 22px;
  border-radius: 30px;
  background: rgba(255, 94, 0, 0.14);
  border: 1px solid rgba(255, 94, 0, 0.45);
  color: #ffb700;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 28px;
  box-shadow: 0 0 18px rgba(255, 94, 0, 0.25);
}

.hero h1 {
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 22px;
  letter-spacing: -0.8px;
  background: var(--flame-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(255, 94, 0, 0.4));
}

.hero h1 span {
  display: block;
  font-size: 2.7rem;
  margin-top: 6px;
  background: var(--hero-title-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 230, 0, 0.3));
}

.hero p {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

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

.keyword-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.keyword-tag {
  font-size: 0.84rem;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(255, 94, 0, 0.1);
  color: var(--text-dim);
  border: 1px solid rgba(255, 94, 0, 0.2);
  transition: all 0.2s ease;
}

.keyword-tag:hover {
  border-color: var(--flame-orange);
  color: #ffb700;
}

/* Sections Global */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #ffb700 50%, #ff5e00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(255, 94, 0, 0.2));
}

.section-title p {
  color: var(--text-dim);
  font-size: 1.05rem;
}

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

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.price-card:hover {
  transform: translateY(-7px);
  border-color: var(--flame-orange);
  box-shadow: var(--shadow-flame);
  background: var(--bg-card-hover);
}

.price-card.featured {
  border: 1.5px solid var(--flame-orange);
  background: rgba(32, 18, 30, 0.92);
  box-shadow: 0 0 35px rgba(255, 94, 0, 0.35);
}

.price-card.featured:hover {
  box-shadow: 0 0 45px rgba(255, 94, 0, 0.55);
}

.price-badge {
  position: absolute;
  top: -14px;
  right: 22px;
  background: var(--flame-gradient);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(255, 94, 0, 0.45);
}

.price-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.price-desc {
  font-size: 0.86rem;
  color: var(--text-dim);
  margin-bottom: 22px;
}

.price-amount {
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffb700;
  margin-bottom: 22px;
}

.price-amount span {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 400;
}

.price-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.price-features li {
  margin-bottom: 13px;
  font-size: 0.94rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li::before {
  content: "🔥";
  font-size: 0.85rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 94, 0, 0.2);
  padding: 30px;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.feature-box:hover {
  border-color: var(--flame-orange);
  box-shadow: var(--shadow-flame);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(255, 94, 0, 0.4));
}

.feature-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-box p {
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Articles Hub Section */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

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

.article-meta {
  font-size: 0.82rem;
  color: #ffb700;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.article-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.45;
}

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

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

.article-excerpt {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 22px;
}

.article-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ff9900;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Customer Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 94, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

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

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--flame-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 94, 0, 0.4);
}

.user-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

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

.stars {
  color: #ffb700;
  margin-bottom: 12px;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-question {
  padding: 22px 26px;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  color: var(--text-main);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--flame-orange);
  transition: transform 0.25s ease;
}

.faq-item.open {
  border-color: var(--flame-orange);
  box-shadow: var(--shadow-flame);
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 26px 22px 26px;
}

/* Single Article Styling */
.article-page {
  padding: 60px 0 90px;
}

.article-container {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 46px;
  box-shadow: var(--shadow-card);
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 26px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.article-header-title {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 18px;
  background: var(--flame-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(255, 94, 0, 0.3));
}

.article-header-meta {
  display: flex;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 22px;
  margin-bottom: 34px;
}

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

.article-body h2 {
  font-size: 1.55rem;
  color: #ffb700;
  margin: 40px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 94, 0, 0.25);
}

.article-body h3 {
  font-size: 1.22rem;
  color: var(--text-main);
  margin: 26px 0 14px;
}

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

.article-body ul, .article-body ol {
  margin-bottom: 22px;
  padding-left: 26px;
}

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

.article-cta-box {
  background: linear-gradient(135deg, rgba(255, 94, 0, 0.15) 0%, rgba(255, 51, 102, 0.18) 100%);
  border: 1px solid var(--flame-orange);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 44px 0;
  text-align: center;
  box-shadow: var(--shadow-flame);
}

.article-cta-box h4 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #ffb700;
}

.article-cta-box p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

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

.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: #ffb700;
}

/* Low profile PBN Link Section - Task 2 compliant */
.friendly-links-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 94, 0, 0.2);
}

.friendly-links-section span {
  color: #475569;
  font-size: 0.8rem;
}

.friendly-links-section a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s ease;
}

.friendly-links-section a:hover {
  color: #ffb700;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero h1 span {
    font-size: 1.8rem;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0d0812;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .article-container {
    padding: 26px;
  }
}
