/* 海獭机场 Professional Dark Theme CSS */
:root {
  --bg-dark: #071C2B;
  --bg-darker: #04121E;
  --bg-card: rgba(16, 42, 67, 0.65);
  --bg-card-hover: rgba(24, 58, 90, 0.85);
  --text-main: #E2F1FF;
  --text-sub: #90CDF4;
  --text-muted: #637896;
  --accent-cyan: #4FD1C5;
  --accent-silver: #BEE3F8;
  --accent-gold: #F6AD55;
  --accent-otter: #D69E2E;
  --border-moon: rgba(190, 227, 248, 0.15);
  --border-moon-glow: rgba(79, 209, 197, 0.4);
  --shadow-moon: 0 10px 30px -5px rgba(7, 28, 43, 0.8), 0 0 20px rgba(79, 209, 197, 0.15);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --font-family: 'Outfit', -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-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #102A43 0%, #071C2B 70%, #04121E 100%);
  min-height: 100vh;
  position: relative;
}

/* Background Canvas & Stars */
#starfield-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 28, 43, 0.75);
  border-bottom: 1px solid var(--border-moon);
  transition: all 0.3s ease;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.brand-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: radial-gradient(circle at 30% 30%, #4FD1C5, #102A43);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 0 15px rgba(79, 209, 197, 0.3);
}

.brand-logo .logo-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--text-main);
  stroke-width: 2;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-sub);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(79, 209, 197, 0.5);
}

.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #4FD1C5 0%, #319795 100%);
  color: #04121E;
  box-shadow: 0 4px 20px rgba(79, 209, 197, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(79, 209, 197, 0.5);
  background: linear-gradient(135deg, #63E6BE 0%, #38B2AC 100%);
}

.btn-secondary {
  background: rgba(16, 42, 67, 0.8);
  color: var(--text-main);
  border: 1px solid var(--border-moon);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(79, 209, 197, 0.1);
  border: 1px solid rgba(79, 209, 197, 0.25);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #FFFFFF 0%, #90CDF4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-sub);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-moon);
}

.stat-item .stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-silver);
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sea Otter Visual Component */
.hero-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-moon);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  padding: 30px;
  box-shadow: var(--shadow-moon);
  position: relative;
}

.otter-scene {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-md);
  background: radial-gradient(ellipse at 50% 80%, #102A43 0%, #071C2B 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(186, 218, 245, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.otter-img-container {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.otter-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(7, 28, 43, 0.8));
  transition: transform 0.5s ease;
}

.moon-glow-ring {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 209, 197, 0.3) 0%, rgba(79, 209, 197, 0) 70%);
  pointer-events: none;
}

.node-waterways {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  z-index: 5;
}

.buoy-btn {
  background: rgba(7, 28, 43, 0.8);
  border: 1px solid var(--border-moon);
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--text-sub);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.buoy-btn:hover, .buoy-btn.active {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(79, 209, 197, 0.15);
  box-shadow: 0 0 12px rgba(79, 209, 197, 0.3);
}

.buoy-btn .buoy-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #637896;
}

.buoy-btn.active .buoy-dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.ping-panel {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 28, 43, 0.6);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  border: 1px solid var(--border-moon);
}

.ping-status {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ping-value {
  font-weight: 700;
  color: var(--accent-cyan);
}

/* Section Headings */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-subtitle {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #FFFFFF 0%, #BEE3F8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--text-sub);
  font-size: 1.05rem;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Feature Card */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-moon);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-moon-glow);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-moon);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(79, 209, 197, 0.1);
  border: 1px solid rgba(79, 209, 197, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-cyan);
  fill: none;
  stroke-width: 2;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pricing Section */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-moon);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  backdrop-filter: blur(12px);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--accent-cyan);
  background: rgba(16, 42, 67, 0.85);
  box-shadow: 0 0 30px rgba(79, 209, 197, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, #4FD1C5, #319795);
  color: #04121E;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 36px;
  flex: 1;
}

.plan-features li {
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-cyan);
  flex-shrink: 0;
}

/* Audience Cards */
.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-moon);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.audience-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
}

.audience-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(246, 173, 85, 0.1);
  border: 1px solid rgba(246, 173, 85, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.audience-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-gold);
  fill: none;
  stroke-width: 2;
}

/* Step Component */
.tutorial-step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-moon);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
}

.step-num {
  position: absolute;
  top: -15px;
  left: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-cyan);
  color: #04121E;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.step-card h4 {
  font-size: 1.15rem;
  margin-top: 10px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-moon);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--text-main);
  user-select: none;
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-icon {
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
  stroke: var(--accent-cyan);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
  transition: max-height 0.5s ease-in-out, padding 0.3s ease;
}

/* Article Cards */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-moon);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-moon);
}

.article-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-tag {
  color: var(--accent-cyan);
  font-weight: 600;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  line-height: 1.4;
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-link:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-moon);
  padding: 70px 0 30px;
  margin-top: 100px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 50px;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(186, 218, 245, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--text-main);
}

/* Page Article Detail Specifics */
.article-header {
  padding: 140px 0 40px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-sub);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent-cyan);
}

.article-content {
  max-width: 860px;
  margin: 0 auto 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-moon);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  backdrop-filter: blur(16px);
  color: #D0E6FF;
}

.article-content h1 {
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 24px;
  line-height: 1.3;
}

.article-content h2 {
  font-size: 1.5rem;
  color: var(--text-main);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-moon);
}

.article-content h3 {
  font-size: 1.2rem;
  color: var(--accent-silver);
  margin: 24px 0 12px;
}

.article-content p {
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 1.02rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  background: rgba(79, 209, 197, 0.08);
  border-left: 4px solid var(--accent-cyan);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-sub);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.article-content th, .article-content td {
  border: 1px solid var(--border-moon);
  padding: 12px 16px;
  text-align: left;
}

.article-content th {
  background: rgba(16, 42, 67, 0.9);
  color: var(--accent-cyan);
}

.related-box {
  background: rgba(7, 28, 43, 0.6);
  border: 1px solid var(--border-moon);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 40px;
}

.related-box h4 {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.related-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.related-links-grid a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  display: block;
}

.related-links-grid a:hover {
  color: var(--accent-cyan);
}

/* Responsive Utilities */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tutorial-step-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 2.2rem; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .article-content { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-links-grid { grid-template-columns: 1fr; }
}
