/* 
  悠兔机场 (youtu-jichang.sbs) 视觉设计系统
  风格：浅色全息糖果晶片 (Pastel Holo-Foil & Sugar Glaze)
  视觉核心：浅粉蓝梦幻偏光、糖霜高光、Y2K 甜酷科技
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
  --bg-base: #f7f9fe;
  --bg-gradient: radial-gradient(circle at 15% 15%, rgba(255, 218, 233, 0.5) 0%, rgba(200, 230, 255, 0.4) 45%, rgba(245, 243, 255, 0.8) 100%);
  
  --holo-pink: #ff94b9;
  --holo-cyan: #52c5ff;
  --holo-purple: #9d8ec7;
  --holo-yellow: #ffe17d;
  
  --text-main: #2b2638;
  --text-muted: #6c667e;
  --text-light: #8e88a0;
  
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-hover: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.95);
  --glass-shadow: 0 12px 40px -10px rgba(180, 160, 210, 0.25), 0 4px 12px rgba(255, 255, 255, 0.8) inset;
  
  --card-radius: 24px;
  --pill-radius: 999px;
  
  --font-main: 'Noto Sans SC', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-fast: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global Styles */
*, *::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-base);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Dynamic Ambient Particles Background */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: 
    radial-gradient(circle at 70% 20%, rgba(255, 180, 210, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(130, 210, 255, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(220, 200, 255, 0.2) 0%, transparent 35%);
  pointer-events: none;
  z-index: -1;
  animation: floatAmbient 18s ease-in-out infinite alternate;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-20px, 30px) rotate(2deg); }
  100% { transform: translate(20px, -20px) rotate(-2deg); }
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Holo-Foil Stream Glow Container */
.holo-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.holo-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--card-radius) + 2px);
  background: conic-gradient(
    from 180deg at 50% 50%,
    rgba(255, 160, 200, 0.8) 0deg,
    rgba(140, 220, 255, 0.8) 90deg,
    rgba(210, 180, 255, 0.8) 180deg,
    rgba(255, 230, 160, 0.8) 270deg,
    rgba(255, 160, 200, 0.8) 360deg
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.holo-card:hover {
  background: var(--glass-bg-hover);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 45px -12px rgba(220, 150, 200, 0.35), 0 0 20px rgba(130, 210, 255, 0.4);
}

.holo-card:hover::before {
  opacity: 1;
  animation: rotateHolo 6s linear infinite;
}

@keyframes rotateHolo {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Sugar Glaze Specular Highlight Effect */
.sugar-glaze-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #ff7ba7 0%, #4da2ff 50%, #956aff 100%);
  background-size: 200% 200%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--pill-radius);
  box-shadow: 0 8px 24px -4px rgba(255, 110, 160, 0.4), 0 2px 6px rgba(255, 255, 255, 0.6) inset;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.sugar-glaze-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: rotate(30deg);
  transition: all 0.6s ease;
}

.sugar-glaze-btn:hover {
  background-position: 100% 0%;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px -4px rgba(77, 162, 255, 0.5), 0 0 16px rgba(255, 255, 255, 0.9);
}

.sugar-glaze-btn:hover::after {
  left: 130%;
}

.sugar-glaze-btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: #3b3054;
  border: 1.5px solid rgba(220, 190, 240, 0.8);
  box-shadow: 0 4px 16px rgba(180, 160, 210, 0.15);
}

.sugar-glaze-btn-secondary:hover {
  background: #ffffff;
  color: #ff5599;
  border-color: #ff85be;
  box-shadow: 0 8px 24px rgba(255, 133, 190, 0.25);
}

/* Y2K Badge */
.y2k-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--pill-radius);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 148, 185, 0.5);
  color: #d63384;
  box-shadow: 0 4px 12px rgba(255, 148, 185, 0.2);
}

.y2k-badge-cyan {
  border-color: rgba(82, 197, 255, 0.5);
  color: #0077c8;
  box-shadow: 0 4px 12px rgba(82, 197, 255, 0.2);
}

/* Header Navbar */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 92%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--pill-radius);
  box-shadow: 0 10px 30px -6px rgba(190, 170, 220, 0.2);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #2b223d;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(255, 120, 170, 0.3));
}

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

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

.nav-links a:hover {
  color: #ff4893;
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.95rem;
}

/* Main Container */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Hero Section */
.hero {
  padding: 160px 0 90px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 20px 0;
  background: linear-gradient(135deg, #2a1f42 0%, #ff4b91 40%, #2f80ed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(220, 200, 235, 0.4);
}

.stat-item h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ff3b85;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper img {
  width: 100%;
  max-width: 480px;
  border-radius: 32px;
  box-shadow: 0 20px 50px -10px rgba(255, 130, 180, 0.35);
  animation: floatHero 6s ease-in-out infinite alternate;
}

@keyframes floatHero {
  0% { transform: translateY(0); }
  100% { transform: translateY(-16px); }
}

/* Section Common */
.section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #2b223d;
  margin: 12px 0;
}

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

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

.feature-card {
  padding: 36px 28px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 140, 180, 0.2), rgba(120, 200, 255, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2b223d;
}

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

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.popular {
  border: 2px solid rgba(255, 90, 150, 0.7);
  box-shadow: 0 20px 50px -10px rgba(255, 100, 160, 0.35);
  transform: scale(1.03);
}

.popular-tag {
  position: absolute;
  top: 16px;
  right: 20px;
  background: linear-gradient(135deg, #ff4985, #ff8066);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--pill-radius);
  box-shadow: 0 4px 12px rgba(255, 73, 133, 0.4);
}

.plan-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2b223d;
}

.plan-price {
  margin: 20px 0 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price .currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ff3b85;
}

.plan-price .amount {
  font-size: 3rem;
  font-weight: 900;
  color: #ff3b85;
}

.plan-sub {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(220, 200, 235, 0.6);
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.plan-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(120, 210, 255, 0.25);
  color: #0088cc;
  font-weight: 900;
  font-size: 0.8rem;
}

/* Tutorials Section */
.tutorial-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tutorial-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: var(--pill-radius);
  border: 1px solid rgba(220, 200, 235, 0.6);
  background: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
  background: #ffffff;
  color: #ff3b85;
  border-color: #ff94b9;
  box-shadow: 0 4px 14px rgba(255, 148, 185, 0.3);
}

.tutorial-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff85b3, #4da2ff);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #2b223d;
}

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

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

.review-card {
  padding: 28px;
}

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

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd3e2, #bce3ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ff3b85;
}

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

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

.stars {
  color: #ffb800;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

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

.faq-item {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: var(--transition-fast);
}

.faq-question {
  padding: 22px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2b223d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: #ff3b85;
  transition: transform 0.3s ease;
}

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

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

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

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

.article-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.article-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2b223d;
  line-height: 1.4;
}

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

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

.article-link:hover {
  text-decoration: underline;
}

/* Article Detail Layout */
.article-detail-container {
  padding: 140px 0 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.article-body {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  border-radius: var(--card-radius);
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--glass-shadow);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

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

.breadcrumb a:hover {
  color: #ff3b85;
}

.article-header h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #2b223d;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-info-bar {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(220, 200, 235, 0.5);
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #3b344a;
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #2b223d;
  margin: 40px 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 148, 185, 0.3);
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2b223d;
  margin: 28px 0 14px;
}

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

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

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

.article-content blockquote {
  background: rgba(255, 235, 245, 0.6);
  border-left: 4px solid #ff5599;
  padding: 16px 24px;
  border-radius: 0 16px 16px 0;
  margin: 24px 0;
  font-size: 0.98rem;
  color: #4a3854;
}

.article-cta-box {
  margin: 40px 0;
  padding: 32px;
  background: linear-gradient(135deg, rgba(255, 240, 248, 0.9), rgba(230, 245, 255, 0.9));
  border-radius: 20px;
  border: 1px solid rgba(255, 180, 210, 0.6);
  text-align: center;
}

.article-cta-box h3 {
  margin-top: 0;
  color: #ff3b85;
}

/* Sidebar */
.sidebar-widget {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #2b223d;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(130, 210, 255, 0.4);
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.sidebar-links a:hover {
  color: #ff3b85;
}

/* Footer */
.footer {
  background: rgba(240, 235, 250, 0.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  padding: 60px 0 30px;
  margin-top: 100px;
}

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

.footer-brand h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #2b223d;
  margin-bottom: 12px;
}

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

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #2b223d;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(210, 190, 230, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 16px;
}

/* Floating Sticky CTA Bar for Mobile/Desktop */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.floating-cta .sugar-glaze-btn {
  box-shadow: 0 10px 30px rgba(255, 75, 145, 0.45);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 130px;
  }
  .hero-content p {
    margin: 0 auto 32px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.popular {
    transform: none;
  }
  .tutorial-wrapper {
    grid-template-columns: 1fr;
  }
  .article-detail-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 10px 16px;
  }
  .nav-links {
    display: none; /* Mobile menu handled via JS if expanded */
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
