/* Brochure Print Styles */
.brochure-toolbar {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.brochure-toolbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toolbar-link {
  color: #475569;
  font-weight: 600;
  text-decoration: none;
}

.brochure {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.brochure-page {
  page-break-after: always;
  padding: 60px;
  min-height: 1100px;
  position: relative;
}

.brochure-page:last-child {
  page-break-after: auto;
}

.page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.page-title-zh {
  font-size: 1.4rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 3px solid #06b6d4;
  display: inline-block;
}

.page-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 24px;
  margin-bottom: 10px;
}

.page-content p, .page-content li {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 12px;
}

.page-content .lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: #1e293b;
}

.value-list {
  list-style: none;
  padding: 0;
}

.value-list li {
  padding: 10px 16px;
  background: #f1f5f9;
  border-radius: 6px;
  margin-bottom: 8px;
  border-left: 3px solid #06b6d4;
}

.services-grid-print {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.service-print {
  background: linear-gradient(135deg, #f1f5f9 0%, #fff 100%);
  padding: 20px;
  border-radius: 8px;
  border-left: 3px solid #06b6d4;
}

.service-print h4 {
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 6px;
}

.service-print p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.full-width-service {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff;
  padding: 24px;
  border-radius: 8px;
  margin-top: 16px;
}

.full-width-service h4 {
  color: #fff;
  margin-bottom: 8px;
}

.full-width-service p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
}

.industries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.industries-list span {
  background: #f1f5f9;
  color: #1e3a8a;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

.client-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.client-type {
  background: #f8fafc;
  padding: 20px;
  border-radius: 8px;
  border-left: 3px solid #ec4899;
}

.client-type strong {
  display: block;
  color: #0f172a;
  font-size: 1rem;
  margin-bottom: 8px;
}

.client-type p {
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.credentials-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.9rem;
}

.credentials-table th,
.credentials-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.credentials-table th {
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.credentials-table tbody tr:hover {
  background: #f1f5f9;
}

.credentials-table td:last-child {
  font-family: "SF Mono", Menlo, monospace;
  color: #06b6d4;
  font-size: 0.82rem;
}

/* Cover Page */
.brochure-page.cover {
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e3a8a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px 60px;
}

.cover-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(236,72,153,0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(6,182,212,0.4) 0%, transparent 50%);
}

.cover-content {
  position: relative;
  z-index: 2;
}

.cover-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 0 30px rgba(6,182,212,0.5));
}

.cover-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cover-subtitle {
  font-size: 1.8rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  font-weight: 600;
}

.cover-tagline {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
  font-weight: 600;
}

.cover-tagline-zh {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 48px;
}

.cover-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.cover-stat {
  text-align: center;
}

.cover-stat .num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #06b6d4 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cover-stat .lbl {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.cover-footer {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.cover-page-2 {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-grid-print {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.contact-block {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  border-left: 3px solid #06b6d4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-block.full {
  grid-column: 1 / -1;
}

.contact-block h4 {
  color: #0f172a;
  font-size: 1rem;
  margin-bottom: 8px;
}

.contact-block p {
  color: #475569;
  margin-bottom: 0;
  font-weight: 500;
}

.cta-print {
  margin-top: 40px;
  padding: 32px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff;
  border-radius: 8px;
  text-align: center;
}

.cta-print h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 12px;
}

.cta-print p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}

.brochure-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #cbd5e1;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Print Styles */
@media print {
  @page {
    size: A4;
    margin: 0;
  }

  body {
    background: #fff !important;
    margin: 0;
    padding: 0;
  }

  .no-print, .page-loader {
    display: none !important;
  }

  .brochure {
    margin: 0;
    box-shadow: none;
    border-radius: 0;
    max-width: none;
  }

  .brochure-page {
    padding: 50px;
    min-height: 0;
    page-break-after: always;
  }

  .brochure-page.cover {
    min-height: 100vh;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .brochure-page {
    padding: 30px 24px;
  }
  .cover-title {
    font-size: 2rem;
  }
  .cover-subtitle {
    font-size: 1.3rem;
  }
  .services-grid-print,
  .client-types,
  .contact-grid-print {
    grid-template-columns: 1fr;
  }
  .cover-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .credentials-table {
    font-size: 0.8rem;
  }
  .credentials-table th,
  .credentials-table td {
    padding: 8px;
  }
}