/* 纸巾云机场官网 视觉规范 - 基于图2温润现代风 + 图1精美套餐设计 */
:root {
  --bg-primary: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-secondary: #F2EDE4;
  --text-main: #1C1917;
  --text-muted: #78716C;
  --text-light: #A8A29E;
  
  --accent-orange: #E06D37;
  --accent-orange-hover: #C95A26;
  --accent-green: #2D5A27;
  --accent-green-light: #E8F2E6;
  --accent-yellow: #EEB841;
  --accent-pink: #FF5B87;
  --accent-pink-bg: #FFF0F4;

  --border-color: #E7E2D9;
  --shadow-sm: 0 2px 8px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(28, 25, 23, 0.07), 0 8px 10px -6px rgba(28, 25, 23, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(224, 109, 55, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.04);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

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

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

/* 动态背景点缀 */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

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

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(231, 226, 217, 0.7);
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-main);
}

.logo-badge {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink));
  color: #FFF;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

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

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

.nav-links a:hover {
  color: var(--accent-orange);
}

.nav-cta {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-orange);
  color: #FFF;
  box-shadow: 0 4px 14px rgba(224, 109, 55, 0.35);
}

.btn-primary:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 109, 55, 0.45);
}

.btn-secondary {
  background: #FFF;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  color: var(--accent-orange);
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #FFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--accent-green);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(45, 90, 39, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(45, 90, 39, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(45, 90, 39, 0); }
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero h1 span {
  color: var(--accent-orange);
  position: relative;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-actions .btn {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.badge-item {
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 图2 风格微观UI演示卡片 */
.demo-card-wrap {
  margin: 40px auto 0;
  max-width: 440px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  text-align: left;
}

.demo-status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-orange { background: #FFDED0; }
.circle-orange-inner { width: 14px; height: 14px; background: var(--accent-orange); border-radius: 50%; }

.circle-green { background: #DDF0DC; }
.circle-green-inner { width: 14px; height: 14px; background: var(--accent-green); border-radius: 50%; }

.demo-bar-title {
  height: 12px;
  background: var(--accent-green);
  border-radius: var(--radius-full);
  width: 50%;
  margin-bottom: 12px;
}

.demo-bar-sub {
  height: 8px;
  background: #E5E7EB;
  border-radius: var(--radius-full);
  width: 70%;
  margin-bottom: 24px;
}

.demo-btn-main {
  background: var(--accent-orange);
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(224, 109, 55, 0.3);
  transition: transform 0.2s ease;
}

.demo-btn-main:hover {
  transform: scale(1.02);
}

.color-bar-indicator {
  display: flex;
  height: 8px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 32px;
}

.cb-1 { flex: 2; background: var(--accent-green); }
.cb-2 { flex: 3; background: var(--accent-orange); }
.cb-3 { flex: 2; background: var(--accent-yellow); }

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

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

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

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

.feature-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* Pricing Section - 按照图1精确重现 */
.pricing-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #FFF 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
}

.pricing-card {
  background: var(--bg-card);
  border-radius: 28px;
  padding: 40px 32px 32px;
  border: 2px solid #F3EAE1;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pricing-card.popular {
  border-color: var(--accent-pink);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FF6B8B, #FF477E);
  color: #FFF;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 71, 126, 0.3);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.pricing-badge.flagship {
  background: linear-gradient(135deg, #FF9F43, #FF7979);
}

.pricing-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  color: var(--text-main);
  margin-bottom: 6px;
}

.pricing-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.pricing-price {
  text-align: center;
  margin-bottom: 28px;
  color: var(--accent-pink);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.pricing-card.popular .pricing-price {
  color: var(--accent-pink);
}

.pricing-price .currency {
  font-size: 1.6rem;
  font-weight: 700;
}

.pricing-price .amount {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
}

.pricing-price .unit {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #4B5563;
  margin-bottom: 14px;
}

.pricing-features li .icon {
  font-size: 1.1rem;
}

.pricing-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--border-color);
  background: #FFF;
  color: var(--text-main);
  transition: all 0.25s ease;
  display: block;
}

.pricing-card.popular .pricing-btn {
  background: linear-gradient(135deg, #FF6584, #FF477E);
  color: #FFF;
  border: none;
  box-shadow: 0 6px 20px rgba(255, 71, 126, 0.4);
}

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

/* Tutorials & Tab Container */
.tabs-header {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: #FFF;
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--accent-orange);
  color: #FFF;
  border-color: var(--accent-orange);
}

.tab-content {
  display: none;
  background: var(--bg-card);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tutorial-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--bg-primary);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.step-number {
  width: 36px;
  height: 36px;
  background: var(--accent-orange);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

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

.faq-item.active {
  border-color: var(--accent-orange);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent-orange);
  transition: transform 0.2s;
}

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

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

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

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

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

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

.article-tag {
  display: inline-block;
  background: var(--accent-green-light);
  color: var(--accent-green);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  width: fit-content;
}

.article-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-card h3 a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s;
}

.article-card h3 a:hover {
  color: var(--accent-orange);
}

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

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-light);
  border-top: 1px solid #F3F4F6;
  padding-top: 14px;
}

.read-more {
  color: var(--accent-orange);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Floating Banner CTA */
.floating-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: rgba(28, 25, 23, 0.92);
  backdrop-filter: blur(8px);
  color: #FFF;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.floating-bar p {
  font-size: 0.9rem;
  font-weight: 500;
}

.floating-bar .btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
  background: var(--accent-orange);
  color: #FFF;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
}

/* Article Detail Page Layout */
.article-container {
  max-width: 880px;
  margin: 40px auto 80px;
  background: var(--bg-card);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .article-container {
    padding: 24px;
    margin: 20px 12px 60px;
  }
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--accent-orange);
  text-decoration: none;
}

.article-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-main);
}

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

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

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--text-main);
  border-left: 4px solid var(--accent-orange);
  padding-left: 12px;
}

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

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

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

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

.cta-box {
  background: linear-gradient(135deg, #FFF7ED, #FFEDD5);
  border: 1px solid #FDBA74;
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.cta-box h3 {
  font-size: 1.4rem;
  color: #9A3412;
  margin-bottom: 10px;
}

.cta-box p {
  color: #C2410C;
  font-size: 0.98rem;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: #1C1917;
  color: #A8A29E;
  padding: 60px 0 30px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  color: #FFF;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #A8A29E;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #FFF;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #292524;
  padding-top: 24px;
  color: #78716C;
}
