/* Pop Art Halftone Dots (波普网点撞色) Theme - High Performance Optimized */
:root {
  --pop-bg: #fff800;
  --pop-surface: #ffffff;
  --pop-card: #00e5ff;
  --pop-pink: #ff007f;
  --pop-yellow: #ffe600;
  --pop-cyan: #00e5ff;
  --pop-dark: #111111;
  --pop-border: #000000;
  --pop-text: #000000;
  --pop-muted: #444444;
  --pop-shadow: 5px 5px 0px #000000;
  --pop-shadow-lg: 8px 8px 0px #000000;
}

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

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #ffffff;
  color: var(--pop-text);
  line-height: 1.6;
  background-image: radial-gradient(#000000 18%, transparent 18%);
  background-size: 16px 16px;
  background-position: 0 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--pop-yellow);
  border-bottom: 4px solid var(--pop-border);
  box-shadow: 0 4px 0px #000000;
  will-change: transform;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--pop-text);
  text-transform: uppercase;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--pop-pink);
  border: 3px solid var(--pop-border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 3px 3px 0px #000000;
  transform: rotate(-3deg);
}

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

.nav-link {
  font-size: 15px;
  font-weight: 800;
  color: var(--pop-text);
  padding: 6px 12px;
  background: var(--pop-surface);
  border: 2px solid var(--pop-border);
  box-shadow: 2px 2px 0px #000000;
}

.nav-link:hover, .nav-link.active {
  background: var(--pop-cyan);
  transform: translate3d(-2px, -2px, 0);
  box-shadow: 4px 4px 0px #000000;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  border: 3px solid var(--pop-border);
  position: relative;
  text-transform: uppercase;
  will-change: transform;
}

.btn-primary {
  background: var(--pop-pink);
  color: #ffffff;
  box-shadow: var(--pop-shadow);
}

.btn-primary:hover {
  background: var(--pop-cyan);
  color: #000000;
  transform: translate3d(-3px, -3px, 0);
  box-shadow: 8px 8px 0px #000000;
}

.btn-outline {
  background: var(--pop-surface);
  color: var(--pop-text);
  box-shadow: var(--pop-shadow);
}

.btn-outline:hover {
  background: var(--pop-yellow);
  transform: translate3d(-3px, -3px, 0);
  box-shadow: 8px 8px 0px #000000;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  background: var(--pop-surface);
  border-bottom: 4px solid var(--pop-border);
}

.pop-badge {
  display: inline-block;
  padding: 6px 20px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--pop-pink);
  border: 3px solid var(--pop-border);
  box-shadow: 4px 4px 0px #000000;
  margin-bottom: 24px;
  transform: rotate(-1deg);
}

.hero-title {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--pop-text);
}

.hero-title span {
  background: var(--pop-yellow);
  padding: 2px 10px;
  border: 3px solid var(--pop-border);
  box-shadow: 4px 4px 0px #000000;
  display: inline-block;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--pop-muted);
  max-width: 780px;
  margin: 0 auto 40px;
  line-height: 1.7;
  background: #ffffff;
  padding: 16px 24px;
  border: 3px solid #000;
  box-shadow: 4px 4px 0px #000;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Pop Showcase Grid */
.pop-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pop-card {
  background: var(--pop-surface);
  border: 3px solid var(--pop-border);
  padding: 14px;
  box-shadow: var(--pop-shadow-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.pop-card:hover {
  transform: translate3d(-4px, -4px, 0);
  box-shadow: 12px 12px 0px #000000;
}

.pop-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  border: 2px solid var(--pop-border);
  content-visibility: auto;
}

.pop-card-label {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 900;
  color: var(--pop-text);
  text-align: center;
  background: var(--pop-yellow);
  padding: 6px;
  border: 2px solid #000;
}

/* Sections - Performance Render Optimization */
.section {
  padding: 80px 0;
  border-bottom: 4px solid var(--pop-border);
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
  background: #ffffff;
}

.section-panel {
  background: var(--pop-yellow);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--pop-text);
  display: inline-block;
  background: var(--pop-cyan);
  padding: 6px 20px;
  border: 3px solid #000;
  box-shadow: 4px 4px 0px #000;
}

.section-title p {
  color: var(--pop-text);
  font-size: 16px;
  font-weight: 700;
  margin-top: 12px;
}

/* 3x3 Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--pop-surface);
  border: 3px solid var(--pop-border);
  padding: 32px 24px;
  position: relative;
  box-shadow: var(--pop-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translate3d(-3px, -3px, 0);
  box-shadow: 8px 8px 0px #000000;
  background: var(--pop-cyan);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--pop-pink);
  border: 3px solid var(--pop-border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 20px;
  box-shadow: 3px 3px 0px #000000;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 900;
  color: var(--pop-text);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  font-weight: 600;
  color: var(--pop-muted);
  line-height: 1.6;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--pop-surface);
  border: 3px solid var(--pop-border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--pop-shadow-lg);
}

.blog-date {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  color: #ffffff;
  background: var(--pop-dark);
  padding: 4px 10px;
  border: 2px solid #000;
  margin-bottom: 14px;
}

.blog-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--pop-text);
  margin-bottom: 12px;
}

.blog-card p {
  font-size: 14px;
  font-weight: 600;
  color: var(--pop-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.blog-link {
  font-size: 15px;
  font-weight: 900;
  color: var(--pop-pink);
}

.blog-link:hover {
  color: var(--pop-text);
  text-decoration: underline;
}

.more-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--pop-surface);
  border: 3px solid var(--pop-border);
  padding: 24px 30px;
  box-shadow: var(--pop-shadow);
}

.faq-question {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--pop-text);
  background: var(--pop-cyan);
  padding: 6px 12px;
  border: 2px solid #000;
  display: inline-block;
}

.faq-answer {
  font-size: 14px;
  font-weight: 600;
  color: var(--pop-muted);
  line-height: 1.7;
  margin-top: 10px;
}

/* Download Page Specific */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.download-card {
  background: var(--pop-surface);
  border: 3px solid var(--pop-border);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--pop-shadow-lg);
}

.download-card-icon {
  font-size: 42px;
  margin-bottom: 16px;
}

.download-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--pop-text);
  margin-bottom: 12px;
}

.download-card p {
  font-size: 14px;
  font-weight: 600;
  color: var(--pop-muted);
  margin-bottom: 24px;
}

.download-web-banner {
  background: var(--pop-pink);
  color: #ffffff;
  border: 3px solid var(--pop-border);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--pop-shadow-lg);
}

.download-web-banner h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #ffffff;
}

.download-web-banner p {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--pop-dark);
  color: #ffffff;
  padding: 70px 0 30px;
  border-top: 4px solid var(--pop-border);
}

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

.footer-col h4 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--pop-yellow);
  letter-spacing: 1px;
}

.footer-col p {
  font-size: 14px;
  color: #cccccc;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #cccccc;
  font-weight: 700;
}

.footer-col ul li a:hover {
  color: var(--pop-cyan);
}

.footer-copyright {
  border-top: 2px solid #333333;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #888888;
  font-weight: 700;
}

@media (max-width: 992px) {
  .pop-showcase, .features-grid, .download-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .download-web-banner {
    flex-direction: column;
    text-align: center;
  }
}
