/* ============================================
   巨猿定制 - GEO优化网站
   商务极简风格 | 暖金系配色（深青蓝+蜂蜜金）
   ============================================ */

/* CSS变量 */
:root {
  --color-black: #00303F;
  --color-dark: #1a4a5a;
  --color-gray: #5a7a85;
  --color-light-gray: #8aa5ad;
  --color-border: #e0e8ea;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f8f9;
  --color-accent: #DCAE1D;
  --color-accent-dark: #b89017;
  --color-accent-light: #f0d47a;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max-width: 1200px;
  --nav-height: 70px;
}

/* 重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-dark);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-black);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-black);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
}

/* 通用容器 */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* 通用区块 */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  font-size: 2rem;
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--color-gray);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* ============================================
   导航栏
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-black);
}

.nav-logo span {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--color-gray);
  margin-left: 8px;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-menu a {
  font-size: 0.95rem;
  color: var(--color-dark);
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--color-black);
  font-weight: 700;
}

.nav-menu a.active {
  color: var(--color-accent);
  font-weight: 700;
}

.nav-cta {
  background: var(--color-accent);
  color: var(--color-black) !important;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  max-width: 210px;
}

.nav-cta::before {
  content: '';
  width: 24px;
  height: 24px;
  background: currentColor;
  -webkit-mask: url("../images/ape-logo.png") no-repeat center / contain;
  mask: url("../images/ape-logo.png") no-repeat center / contain;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.nav-cta:hover::before {
  transform: scale(1.15);
}

.nav-cta:hover {
  background: var(--color-accent-dark);
  opacity: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-black);
  transition: 0.3s;
}

/* ============================================
   英雄区域
   ============================================ */
.hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content .hero-tagline {
  font-size: 1.15rem;
  color: var(--color-gray);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
}

.hero-stat .number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-black);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-top: 6px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

/* 巨猿logo大猩猩 - 品牌记忆点 */
.btn::before {
  content: '';
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("../images/ape-logo.png") no-repeat center / contain;
  mask: url("../images/ape-logo.png") no-repeat center / contain;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.btn:hover::before {
  transform: scale(1.15);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-black);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--color-black);
  border: 2px solid var(--color-black);
}

.btn-outline:hover {
  background: var(--color-black);
  color: #fff;
}

.hero-image {
  background: var(--color-bg-alt);
  border-radius: 8px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.hero-image-placeholder {
  text-align: center;
  color: var(--color-light-gray);
  padding: 40px;
}

.hero-image-placeholder .icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

/* ============================================
   服务场景
   ============================================ */
.scenarios {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 六大理由：3个一行，两行正好6个 */
.six-reasons {
  grid-template-columns: repeat(3, 1fr);
}

.scenario-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.2s;
}

.scenario-card:hover {
  border-color: var(--color-black);
}

.scenario-card .icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scenario-card .icon svg {
  width: 36px;
  height: 36px;
}

/* 品牌文字LOGO */
.brand-logo {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  letter-spacing: 1px;
  color: var(--color-black) !important;
  font-family: "Arial Black", "Helvetica Neue", sans-serif;
  height: 40px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* 品牌图片LOGO */
.brand-logo-img {
  height: 40px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.brand-logo-img img {
  max-height: 36px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.scenario-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.scenario-card p {
  font-size: 0.9rem;
  color: var(--color-gray);
  margin-bottom: 0;
}

/* ============================================
   产品卡片
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.product-card:hover {
  border-color: var(--color-black);
}

.product-image {
  aspect-ratio: 1;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-border);
}

.product-image .placeholder {
  color: var(--color-light-gray);
  font-size: 0.9rem;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.product-info .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 8px;
}

.product-info .desc {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-bottom: 0;
}

/* ============================================
   工艺对比表
   ============================================ */
.process-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.process-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.process-table th,
.process-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.process-table th {
  background: var(--color-bg-alt);
  font-weight: 700;
  color: var(--color-black);
  white-space: nowrap;
}

.process-table tr:last-child td {
  border-bottom: none;
}

.process-table tr:hover td {
  background: var(--color-bg-alt);
}

/* ============================================
   案例卡片
   ============================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.case-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.case-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.case-image {
  aspect-ratio: 3/4;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  position: relative;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #fff;
  transform-origin: center center;
  cursor: pointer;
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-image .placeholder {
  color: var(--color-light-gray);
  font-size: 0.85rem;
  text-align: center;
  padding: 10px;
}

.case-info {
  padding: 16px;
}

.case-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 3px 10px;
  background: var(--color-bg-alt);
  border-radius: 4px;
  color: var(--color-gray);
  margin-bottom: 8px;
}

.case-info h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-meta {
  font-size: 0.8rem;
  color: var(--color-gray);
  margin-bottom: 8px;
}

.case-meta span {
  margin-right: 12px;
}

.case-info p {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-bottom: 0;
  line-height: 1.5;
}

.case-date {
  font-size: 0.75rem;
  color: var(--color-light-gray);
  margin-bottom: 0;
}

/* ============================================
   FAQ折叠
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question:hover {
  background: var(--color-bg-alt);
}

.faq-question .arrow {
  font-size: 1.2rem;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question .arrow {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-answer-inner p {
  margin-bottom: 0;
}

/* ============================================
   博客卡片
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.blog-card:hover {
  border-color: var(--color-black);
}

.blog-image {
  aspect-ratio: 16/9;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-border);
}

.blog-image .placeholder {
  color: var(--color-light-gray);
  font-size: 0.9rem;
}

.blog-info {
  padding: 24px;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--color-light-gray);
  margin-bottom: 8px;
}

.blog-info h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.blog-info p {
  font-size: 0.9rem;
  color: var(--color-gray);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   联系区域
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item .icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.contact-item .text h4 {
  font-size: 0.9rem;
  color: var(--color-gray);
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-item .text p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 0;
}

.contact-form {
  background: var(--color-bg-alt);
  padding: 32px;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--color-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-black);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ============================================
   页脚
   ============================================ */
.footer {
  background: var(--color-bg-alt);
  color: var(--color-gray);
  padding: 60px 0 24px;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--color-black);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.footer-col h4 {
  color: var(--color-black);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--color-gray);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* ============================================
   页面标题区（内页）
   ============================================ */
.page-header {
  padding: calc(var(--nav-height) + 60px) 0 40px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--color-gray);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-light-gray);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--color-gray);
}

/* ============================================
   关于我们 - 时间线
   ============================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  display: flex;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-content {
  width: 45%;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 12px;
  height: 12px;
  background: var(--color-black);
  border-radius: 50%;
  transform: translateX(-50%);
}

.timeline-year {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--color-gray);
  margin-bottom: 0;
}

/* ============================================
   产品详情参数
   ============================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.product-detail-image {
  aspect-ratio: 1;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-image .placeholder {
  color: var(--color-light-gray);
}

.product-specs {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.product-specs th,
.product-specs td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.product-specs th {
  width: 40%;
  color: var(--color-gray);
  font-weight: 500;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scenarios {
    grid-template-columns: repeat(2, 1fr);
  }
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  
  .section {
    padding: 48px 0;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
    gap: 16px;
  }
  
  .nav-menu.open {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-stats {
    gap: 24px;
  }
  
  .hero-stat .number {
    font-size: 1.8rem;
  }
  
  .products-grid,
  .scenarios,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .case-info {
    padding: 12px;
  }
  
  .case-info h3 {
    font-size: 0.85rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   服务流程
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.process-step {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  position: relative;
}

.process-step .step-number {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-black);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--color-gray);
  margin-bottom: 0;
}

/* ============================================
   卡片链接
   ============================================ */
.card-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

/* ============================================
   响应式：平板
   ============================================ */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .six-reasons {
    grid-template-columns: repeat(2, 1fr);
  }
}

.case-image {
  position: relative;
}
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    justify-content: flex-end;
  }
  
  .timeline-content {
    width: calc(100% - 50px);
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================
   案例图片自适应
   ============================================ */
.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-date {
  font-size: 0.8rem;
  color: var(--color-light-gray);
  margin-bottom: 0;
}

/* ============================================
   分页
   ============================================ */
#pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-btn {
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-dark);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.2s;
}

.page-btn:hover:not(.disabled):not(.active) {
  border-color: var(--color-black);
  background: var(--color-bg-alt);
}

.page-btn.active {
  background: var(--color-accent);
  color: var(--color-black);
  border-color: var(--color-accent);
  font-weight: 600;
}

.page-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-ellipsis {
  padding: 8px 4px;
  color: var(--color-light-gray);
}
