/* ==========================================================================
   悦通 (yueto.cyou) - 方案五：极速亮彩 UI Style System
   Vibrant Accent Colors / Flat Design / High Energy / Rounded Cards
   ========================================================================== */

:root {
  --bg-main: #F4F6F9;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFF7F5;
  --border-light: #E2E8F0;
  --border-accent: #FF5722;
  
  --color-primary: #FF5722;       /* 极速亮橘红 */
  --color-primary-hover: #F4511E;
  --color-secondary: #0066FF;     /* 极速电光蓝 */
  --color-accent: #FFC107;        /* 活力金黄 */
  --color-success: #10B981;       /* 翡翠绿 */
  
  --gradient-primary: linear-gradient(135deg, #FF5722 0%, #FF9800 100%);
  --gradient-blue: linear-gradient(135deg, #0066FF 0%, #00D2FF 100%);
  --gradient-banner: linear-gradient(90deg, #FF5722 0%, #7C3AED 100%);
  
  --text-main: #0F172A;
  --text-sub: #475569;
  --text-muted: #94A3B8;
  
  --shadow-flat: 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 32px rgba(255, 87, 34, 0.15);
  --shadow-glow: 0 8px 24px rgba(255, 87, 34, 0.35);
  
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Free Trial Top Banner (Feature 12) */
.free-trial-banner {
  background: var(--gradient-banner);
  color: #FFFFFF;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.free-trial-banner .banner-badge {
  background: var(--color-accent);
  color: #0F172A;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border-light);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-main);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid #FFEAD5;
}

.brand-name {
  color: var(--color-primary);
  font-weight: 900;
  letter-spacing: -0.02em;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-sub);
}

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

.btn-header {
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.3);
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px 0;
  text-align: center;
  background: #FFFFFF;
  border-bottom: 2px solid var(--border-light);
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: #FFF3E0;
  border: 2px solid #FFE0B2;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.hero-badge .pulse {
  width: 10px;
  height: 10px;
  background-color: var(--color-primary);
  border-radius: 50%;
  animation: pulse-anim 1.5s infinite;
}

@keyframes pulse-anim {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(0.9); opacity: 1; }
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.hero-title .bright-text {
  color: var(--color-primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-sub);
  max-width: 780px;
  margin: 0 auto 40px auto;
  line-height: 1.75;
  font-weight: 500;
}

/* 3 Parallel Hero Buttons Component */
.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 920px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  white-space: nowrap;
}

/* Button 1: Bright Orange Glow Accent */
.btn-primary-glow {
  background: var(--gradient-primary);
  color: #FFFFFF;
  border: 2px solid #FF5722;
  box-shadow: var(--shadow-glow);
}

.btn-primary-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(255, 87, 34, 0.45);
}

/* Button 2 & 3: Secondary Flat Style (Identical) */
.btn-glass {
  background: #FFFFFF;
  color: var(--text-main);
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-flat);
}

.btn-glass:hover {
  background: #F8FAFC;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.15);
}

/* Section Headings */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

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

/* Features Grid (Flat & Rounded Cards) */
.features-section {
  padding: 90px 0;
}

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

.glass-card {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-flat);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: #FFCCBC;
  background: #FFFBF9;
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  background: #FFF3E0;
  border: 2px solid #FFE0B2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* App Badges Section (Feature 9) */
.badges-section {
  padding: 20px 0 80px 0;
}

.badges-card {
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-flat);
  text-align: center;
}

.badges-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-lg);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all 0.25s ease;
}

.badge-item:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  transform: translateY(-2px);
}

/* Live Node Status Monitor */
.node-section {
  padding: 60px 0;
}

.node-card {
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-flat);
}

.node-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.node-item {
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flag-icon {
  font-size: 1.4rem;
}

.node-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.node-type {
  font-size: 0.75rem;
  color: var(--color-primary);
  background: #FFF3E0;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-top: 2px;
  display: inline-block;
  font-weight: 800;
}

.node-ping {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-success);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Pricing Grid (4 Even Number Plans) */
.pricing-section {
  padding: 90px 0;
  background: #FFFFFF;
  border-top: 2px solid var(--border-light);
  border-bottom: 2px solid var(--border-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.plan-card {
  position: relative;
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-flat);
  transition: all 0.3s ease;
}

.plan-card.recommended {
  border: 3px solid var(--color-primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
  background: #FFFDFB;
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35);
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--text-main);
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.plan-price {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-sub);
}

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

.plan-features li {
  font-size: 0.925rem;
  color: var(--text-sub);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.plan-features li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 900;
}

/* Newsletter Form Component (Feature 13) */
.newsletter-section {
  padding: 70px 0;
}

.newsletter-card {
  background: var(--gradient-blue);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.25);
}

.newsletter-card h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.newsletter-card p {
  font-size: 1.05rem;
  margin-bottom: 28px;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  min-width: 260px;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  border: none;
  font-size: 1rem;
  outline: none;
  font-family: inherit;
}

.newsletter-btn {
  padding: 14px 28px;
  background: #FFD600;
  color: #0F172A;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}

.newsletter-btn:hover {
  background: #FFC107;
  transform: translateY(-2px);
}

/* Articles SEO Section */
.articles-section {
  padding: 90px 0;
}

.article-card {
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-flat);
  transition: all 0.3s ease;
}

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

.article-tag {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-primary);
  background: #FFF3E0;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-bottom: 14px;
}

.article-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.45;
  color: var(--text-main);
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 20px;
  line-height: 1.6;
}

.article-link {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-link:hover {
  color: var(--color-secondary);
  gap: 8px;
}

/* Article Page Layout */
.article-page {
  padding: 60px 0 100px 0;
  background: var(--bg-main);
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-flat);
}

.article-body h1 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.3;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-light);
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 36px 0 16px 0;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 24px 0 12px 0;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  margin: 0 0 24px 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-cta-box {
  margin: 40px 0;
  padding: 32px;
  background: #FFF3E0;
  border: 2px solid #FFE0B2;
  border-radius: var(--radius-lg);
  text-align: center;
}

.article-cta-box h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--text-main);
}

.article-cta-box p {
  color: var(--text-sub);
  margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 90px 0;
}

.testimonial-card {
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-flat);
}

.testimonial-stars {
  color: #FFC107;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-sub);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.65;
  font-weight: 500;
}

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

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #FFFFFF;
  font-size: 1rem;
}

.user-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
}

.user-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion Section (Feature 10: FAQ Highlights) */
.faq-section {
  padding: 90px 0;
  background: #FFFFFF;
  border-top: 2px solid var(--border-light);
}

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

.faq-item {
  background: #F8FAFC;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.faq-toggle {
  font-size: 1.4rem;
  color: var(--color-primary);
  font-weight: 900;
  transition: transform 0.3s ease;
}

.faq-item.active {
  border-color: var(--color-primary);
  background: #FFFBF9;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 24px 20px 24px;
  transition: max-height 0.5s ease-in-out;
}

/* Mobile Sticky "Buy Now" CTA Button (Feature 11) */
.sticky-buy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--border-light);
  padding: 12px 20px;
  display: none;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.sticky-buy-bar .sticky-info {
  display: flex;
  flex-direction: column;
}

.sticky-buy-bar .sticky-title {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-main);
}

.sticky-buy-bar .sticky-price {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.btn-sticky {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35);
}

/* Footer Section & PBN Links Section */
.footer {
  background: #FFFFFF;
  border-top: 2px solid var(--border-light);
  padding: 48px 0 24px 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

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

/* Low-profile SEO Friend Links Bar */
.pbn-links-bar {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pbn-link {
  color: var(--text-sub);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.pbn-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan-card.recommended {
    transform: none;
  }
}

@media (max-width: 768px) {
  .sticky-buy-bar {
    display: flex;
  }
  .hero {
    padding: 50px 0 30px 0;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 0.98rem;
  }
  
  /* Hero 3 Buttons Mobile Responsive Stacking */
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    gap: 12px;
  }
  .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.98rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none;
  }
  .article-body {
    padding: 24px;
  }
}
