/* ==========================================================================
   一分机场 (yifenjic.homes) - Enhanced Isometric Visual Design System
   Color Palette & Background Reference: Deep Isometric Purple + Neon Cyan + Gold Airship Accent
   ========================================================================== */

:root {
  --bg-dark: #0D071E;
  --bg-gradient: linear-gradient(145deg, #0D071E 0%, #1A0C3B 45%, #2A1155 100%);
  --bg-card: rgba(30, 16, 64, 0.72);
  --bg-card-hover: rgba(45, 23, 94, 0.88);
  --bg-header: rgba(13, 7, 30, 0.88);
  
  --primary-cyan: #00F7FF;
  --primary-blue: #3B82F6;
  --primary-purple: #8E2DE2;
  --primary-violet: #4A00E0;
  
  /* Gold/Yellow accent directly inspired by the floating airship & coin in Image 1 */
  --accent-gold: #FFB703;
  --accent-gold-glow: rgba(255, 183, 3, 0.4);
  --accent-pink: #FF007F;
  
  --text-main: #FFFFFF;
  --text-muted: #B3B0D6;
  --text-dim: #7C78A6;
  
  --border-light: rgba(161, 0, 242, 0.22);
  --border-glow: rgba(0, 247, 255, 0.5);
  
  --gradient-cyan: linear-gradient(135deg, #00F7FF 0%, #0088FF 100%);
  --gradient-purple: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
  --gradient-gold: linear-gradient(135deg, #FFD000 0%, #FF8800 100%);

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-glow-cyan: 0 0 30px rgba(0, 247, 255, 0.3);
  --shadow-glow-purple: 0 0 35px rgba(142, 45, 226, 0.35);
  --transition-fast: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  background: var(--bg-dark);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Isometric Grid Overlay & Particle Canvas */
.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(142, 45, 226, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 45, 226, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  pointer-events: none;
  transform: perspective(600px) rotateX(15deg);
  transform-origin: top center;
}

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

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

a:hover {
  color: #70f9ff;
  text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.gradient-text {
  background: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(0, 247, 255, 0.12);
  color: var(--primary-cyan);
  border: 1px solid rgba(0, 247, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 247, 255, 0.2);
}

.badge-gold {
  background: rgba(255, 183, 3, 0.15);
  color: var(--accent-gold);
  border-color: rgba(255, 183, 3, 0.4);
}

.badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00E676;
  box-shadow: 0 0 12px #00E676;
  animation: pulse 1.8s infinite;
}

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

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.4), transparent);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 247, 255, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), var(--shadow-glow-cyan);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-cyan);
  color: #0A051B;
  box-shadow: 0 4px 22px rgba(0, 247, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 247, 255, 0.65);
  color: #0A051B;
}

.btn-gold {
  background: var(--gradient-gold);
  color: #0A051B;
  box-shadow: 0 4px 20px rgba(255, 183, 3, 0.4);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255, 183, 3, 0.65);
  color: #0A051B;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

/* Header Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  height: 76px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-cyan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A051B;
  font-size: 1.3rem;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.5);
}

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

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

.nav-links a:hover {
  color: var(--primary-cyan);
}

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

/* Hero Section & Isometric Visual Container */
.hero-section {
  padding: 150px 0 90px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.3rem;
  line-height: 1.15;
  margin: 20px 0;
}

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

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-visual-wrapper {
  position: relative;
  width: 100%;
}

/* Dynamic Floating Isometric Graphic Elements (Airship / Cubes / Beams) */
.isometric-hero-svg {
  width: 100%;
  height: auto;
  max-height: 480px;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
}

/* CSS Keyframe Animations for Floating Dynamic Airship & Isometric Cubes */
@keyframes floatAirship {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(1.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatCubeSlow {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

@keyframes floatCubeFast {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(-3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulseLightBeam {
  0%, 100% { opacity: 0.3; transform: scaleY(0.95); }
  50% { opacity: 0.9; transform: scaleY(1.05); }
}

@keyframes waveDash {
  to { stroke-dashoffset: -100; }
}

.animated-airship {
  animation: floatAirship 5.5s ease-in-out infinite;
  transform-origin: center;
}

.animated-cube-1 {
  animation: floatCubeSlow 4s ease-in-out infinite;
}

.animated-cube-2 {
  animation: floatCubeFast 3.2s ease-in-out infinite 0.5s;
}

.animated-light-beam {
  animation: pulseLightBeam 2.8s ease-in-out infinite;
  transform-origin: bottom center;
}

.animated-graph-line {
  stroke-dasharray: 20;
  animation: waveDash 3s linear infinite;
}

/* Live SLA Status Monitor Card */
.sla-card {
  background: rgba(22, 12, 48, 0.88);
  border: 1px solid rgba(0, 247, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(142, 45, 226, 0.3);
  margin-top: 24px;
}

.sla-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.sla-title {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sla-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.metric-item {
  background: rgba(255, 255, 255, 0.035);
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary-cyan);
  margin-top: 4px;
}

.node-ping-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ping-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 6px;
}

.ping-flag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ping-latency {
  color: #00E676;
  font-weight: 700;
  font-family: monospace;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 55px;
}

.section-header h2 {
  font-size: 2.4rem;
  margin: 14px 0;
}

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

/* Section Container Paddings */
.section-padding {
  padding: 95px 0;
  position: relative;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 247, 255, 0.12);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 247, 255, 0.25);
  box-shadow: 0 0 15px rgba(0, 247, 255, 0.15);
}

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

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

/* Pricing Section (Matrix & Cards) */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 44px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border-light);
}

.tab-btn {
  padding: 11px 26px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn.active {
  background: var(--gradient-cyan);
  color: #0A051B;
  box-shadow: 0 4px 18px rgba(0, 247, 255, 0.4);
}

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

.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 40px rgba(0, 247, 255, 0.25);
  background: rgba(38, 19, 82, 0.88);
}

.featured-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient-gold);
  color: #0A051B;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(255, 183, 3, 0.4);
}

.plan-title {
  font-size: 1.55rem;
  margin-bottom: 6px;
}

.plan-flow {
  color: var(--primary-cyan);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.plan-price-box {
  margin-bottom: 24px;
}

.price-currency {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
}

.price-val {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

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

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

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan-features-list li svg {
  color: var(--primary-cyan);
  flex-shrink: 0;
}

/* Pricing Table Matrix */
.pricing-table-container {
  margin-top: 50px;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  min-width: 650px;
}

.pricing-table th, .pricing-table td {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-table th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-main);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* User Scenarios Grid */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 26px;
}

.scenario-card h3 {
  font-size: 1.3rem;
  margin: 12px 0 8px;
}

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

.scenario-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.scenario-tag {
  background: rgba(255, 255, 255, 0.07);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

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

.faq-question {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.12rem;
  font-weight: 600;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--primary-cyan);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 26px 22px;
  transition: max-height 0.35s cubic-bezier(1, 0, 1, 0);
}

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

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card h3 {
  font-size: 1.22rem;
  margin: 12px 0 10px;
  line-height: 1.4;
}

.article-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
  margin-bottom: 22px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

/* Footer Section */
.site-footer {
  background: #080314;
  border-top: 1px solid var(--border-light);
  padding: 75px 0 35px;
  margin-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 55px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 16px;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 1.08rem;
  margin-bottom: 22px;
  color: var(--text-main);
}

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

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

.footer-links a:hover {
  color: var(--primary-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* Article Template Page Specific Styles */
.article-page {
  padding-top: 130px;
  padding-bottom: 90px;
}

.article-container {
  max-width: 920px;
  margin: 0 auto;
}

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

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

.article-header {
  margin-bottom: 44px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 32px;
}

.article-header h1 {
  font-size: 2.5rem;
  margin: 18px 0;
  line-height: 1.25;
}

.article-info-bar {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.article-content {
  color: #D6D5EA;
  font-size: 1.06rem;
  line-height: 1.88;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 44px 0 18px;
  color: var(--text-main);
  border-left: 4px solid var(--primary-cyan);
  padding-left: 16px;
}

.article-content h3 {
  font-size: 1.38rem;
  margin: 30px 0 14px;
  color: var(--text-main);
}

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

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

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

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-content th, .article-content td {
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.96rem;
}

.article-content th {
  background: rgba(255, 255, 255, 0.06);
  color: var(--primary-cyan);
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(0, 247, 255, 0.16), rgba(142, 45, 226, 0.16));
  border: 1px solid var(--primary-cyan);
  border-radius: var(--radius-md);
  padding: 36px;
  text-align: center;
  margin: 55px 0;
  box-shadow: var(--shadow-glow-cyan);
}

.article-cta-box h3 {
  font-size: 1.65rem;
  margin-bottom: 14px;
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-content h1 {
    font-size: 2.3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
}
