/* ==========================================================================
   Zeo Player Landing Page
   ========================================================================== */

:root {
  --bg-page: #d9e3da;
  --bg-card: #e6ede7;
  --bg-card-hover: #edf3ee;
  --bg-footer: #ccd8ce;

  --border-subtle: rgba(40, 60, 45, 0.12);
  --border-medium: rgba(40, 60, 45, 0.2);
  --border-bright: rgba(40, 60, 45, 0.32);

  --text-main: #232a26;
  --text-muted: #4d564f;
  --text-dim: #7a857c;

  --emerald-main: #10b981;
  --emerald-deep: #047857;
  --emerald-pill-bg: rgba(16, 185, 129, 0.12);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Monaco, Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --container-max: 1180px;
}

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

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

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 背景网格与光晕 */
.tech-grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  z-index: 0;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.orb-primary {
  top: -150px;
  left: 20%;
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(16, 185, 129, 0.05) 70%, transparent 100%);
}

.orb-secondary {
  top: 40%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 72px 24px;
  position: relative;
  z-index: 1;
}

/* 顶栏 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(217, 227, 218, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo {
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-item:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.3);
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #0d9c6e;
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.07);
  border-color: var(--border-bright);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.btn-outline:hover {
  color: var(--text-main);
  border-color: var(--border-medium);
}

.btn-icon { padding: 8px; }
.btn-sm { padding: 6px 14px; font-size: 0.82rem; }
.btn-lg { padding: 12px 24px; font-size: 1rem; border-radius: var(--radius-md); }

/* Hero */
.hero-section {
  padding-top: 48px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--emerald-pill-bg);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 9999px;
  font-size: 0.8rem;
  color: var(--emerald-deep);
  margin-bottom: 24px;
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--emerald-main);
  box-shadow: 0 0 10px var(--emerald-main);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #047857 10%, #10b981 60%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

/* 截图外框 */
.workbench-window-frame {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  box-shadow: 0 24px 60px rgba(40, 60, 45, 0.2);
  overflow: hidden;
}

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

/* 节标题 */
.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--emerald-deep);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* 功能列表 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-group {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s ease;
}

.feature-group:hover {
  border-color: var(--border-medium);
}

.feature-group-title {
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--emerald-deep);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--emerald-main);
}

.feature-list strong {
  display: block;
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.feature-list code,
.download-note code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--emerald-deep);
}

/* 截图 */
.shots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.shot-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.shot-card:hover {
  border-color: var(--border-medium);
}

.shot-card img {
  width: 100%;
  height: auto;
  display: block;
}

.shot-card figcaption {
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
}

/* 下载 */
.download-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s ease;
}

.download-card:hover {
  border-color: var(--border-medium);
}

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

.platform-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platform-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.platform-tag {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

.download-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  min-height: 3.3em;
}

.download-btn {
  width: 100%;
}

.download-note {
  text-align: center;
  margin: 28px auto 0;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 640px;
}

/* 页脚 */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-footer);
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 44px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.footer-tagline {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--emerald-deep);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 18px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

/* 响应式 */
@media (max-width: 860px) {
  .features-grid,
  .shots-grid,
  .download-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .download-desc {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .nav-links {
    display: none;
  }

  .section-container {
    padding: 52px 18px;
  }
}
