/* 91POAPP 官网样式 - 91pro.mom */
:root {
  --bg-primary: #0a0a14;
  --bg-secondary: #12121f;
  --bg-card: #1a1a2e;
  --accent-orange: #ff6b00;
  --accent-orange-light: #ff8533;
  --accent-blue: #4facfe;
  --accent-purple: #a855f7;
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b80;
  --border-color: #2a2a40;
  --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #0a0a14 50%, #1a0a2e 100%);
  --gradient-btn: linear-gradient(135deg, #ff6b00, #ff8533);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --max-width: 1200px;
  --header-height: 64px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-orange);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 20, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-text span {
  color: var(--accent-orange);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--accent-orange);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient-btn);
  color: #fff !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px;
  z-index: 999;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 12px 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  font-size: 1rem;
}

.nav-mobile a:last-child {
  border-bottom: none;
}

/* Hero */
.hero {
  background: var(--gradient-hero);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-content h1 em {
  color: var(--accent-orange);
  font-style: normal;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: transparent;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange) !important;
}

.hero-phone {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 3px #2a2a40;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-orange);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Screenshot Gallery */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.screenshot-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: transform 0.2s;
}

.screenshot-item:hover {
  transform: scale(1.03);
}

.screenshot-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.screenshot-item figcaption {
  padding: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Content Article */
.content-article {
  max-width: 900px;
  margin: 0 auto;
}

.content-article h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-orange);
  display: inline-block;
}

.content-article h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--accent-orange-light);
}

.content-article p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  text-align: justify;
}

.content-article ul,
.content-article ol {
  margin: 16px 0 16px 24px;
  color: var(--text-secondary);
}

.content-article li {
  margin-bottom: 8px;
}

.content-article a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.step-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--gradient-btn);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-item h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.step-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
}

.faq-question {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent-orange);
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 64px 0;
  background: linear-gradient(135deg, #1a0a2e, #0a0a14);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cta-section h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Page Header (sub pages) */
.page-header {
  padding: 48px 0 32px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.page-header .breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-header .breadcrumb a {
  color: var(--text-muted);
}

.page-content {
  padding: 48px 0 72px;
}

.page-content .content-article h2 {
  font-size: 1.4rem;
}

/* Error Pages */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.error-page h1 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.error-page p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Two column layout for content + image */
.content-with-image {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  margin: 32px 0;
}

.content-with-image img {
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

/* Category tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.tag {
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .screenshot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .content-with-image {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    padding: 40px 0 60px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 1.75rem;
  }
  .hero-badges {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-phone {
    order: -1;
  }
  .phone-frame {
    width: 220px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .section {
    padding: 48px 0;
  }
  .section-header h2 {
    font-size: 1.5rem;
  }
  .error-code {
    font-size: 5rem;
  }
}

@media (max-width: 480px) {
  .screenshot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
}
