/* Base Styles */
:root {
  --primary-color: #8b5a2b;
  --secondary-color: #d2b48c;
  --accent-color: #4682b4;
  --text-color: #333;
  --light-text: #f5f5f5;
  --background: #f9f6f0;
  --card-bg: #fff;
  --border-color: #d3c7b1;
}

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

body {
  font-family: "Georgia", serif;
  color: var(--text-color);
  background-color: var(--background);
  line-height: 1.6;
  background-image: url("vintage-paper.jpg");
  background-attachment: fixed;
}

h1,
h2,
h3,
h4 {
  font-family: "Georgia", serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  font-size: 2.2rem;
  padding: 0 1.5rem;
  color: var(--primary-color);
  text-align: center;
}

.line {
  height: 1px;
  background-color: var(--border-color);
  flex-grow: 1;
  max-width: 100px;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--text-color);
  font-family: "Arial", sans-serif;
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

nav ul li a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 5%;
  min-height: 80vh;
  background: linear-gradient(
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0.8)
    ),
    url("vintage-background.jpg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  padding-right: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.cta-button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  background: linear-gradient(135deg, #4682b4, #6495ed);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(70, 130, 180, 0.4);
  margin: 1rem;
  min-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(70, 130, 180, 0.6);
}

/* 修复类型切换样式 */
.repair-types {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

/* 移动端滚动条样式 */
.repair-types::-webkit-scrollbar {
  height: 4px;
}

.repair-types::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

.repair-types::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 2px;
}

.repair-types::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.type-btn {
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--border-color);
  background-color: transparent;
  color: var(--text-color);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.type-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.type-btn.active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

.type-btn i {
  font-size: 1rem;
}

/* 动态内容样式 */
.dynamic-content {
  position: relative;
  min-height: 400px;
}

.content-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  pointer-events: none;
}

.content-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Hero区域的对比滑块 */
.hero-comparison-slider {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
  cursor: pointer;
}

.hero-comparison-slider:hover .slider-handle::after {
  background-color: var(--accent-color);
  color: white;
}

.hero-comparison-slider .before-image,
.hero-comparison-slider .after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-comparison-slider .before-image {
  z-index: 1;
}

.hero-comparison-slider .slider-resizer {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.hero-comparison-slider .slider-resizer .after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-width: 100%;
  transform: translateX(0);
}

.hero-comparison-slider .slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: white;
  cursor: ew-resize;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.hero-comparison-slider .slider-handle::after {
  content: "⟷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #666;
  font-weight: bold;
}

.upload-box {
  flex: 1;
  max-width: 450px;
  min-width: 300px;
  margin-left: 2rem;
  transition: all 0.3s ease;
}

/* 移动端专用upload-box */
.upload-box-mobile {
  display: none; /* PC端默认隐藏 */
  margin: 2rem auto 0;
  margin-left: 0;
}

/* PC端专用upload-box */
.upload-box-desktop {
  display: block; /* PC端默认显示 */
}

.upload-area {
  border: 2px dashed var(--border-color);
  border-radius: 10px;
  padding: 3rem 2rem;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.upload-area:hover {
  border-color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.9);
}

.upload-area i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.upload-area p {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.upload-area span {
  font-size: 0.9rem;
  color: #777;
}

/* Upload area with uploaded image */
.upload-area.uploaded {
  padding: 0;
  border: 2px solid var(--accent-color);
  overflow: hidden;
}

.uploaded-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.uploaded-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.upload-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(70, 130, 180, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.upload-area.uploaded:hover .upload-overlay {
  opacity: 1;
}

.upload-overlay .upload-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.upload-overlay p {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.upload-overlay span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Upload area uploading state */
.upload-area.uploading {
  position: relative;
  pointer-events: none;
}

.upload-area.uploading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  z-index: 5;
}

.upload-area.uploading::before {
  content: "上传中...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent-color);
}

/* Processing Modal */
.processing-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.processing-modal.show {
  opacity: 1;
}

.processing-content {
  background: white;
  padding: 3rem 2rem;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.processing-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
}

.processing-content h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.processing-content p {
  color: var(--text-color);
  font-size: 1rem;
  margin-bottom: 0;
}

/* Download Button */
.download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
  margin: 1rem;
  min-width: 200px;
}

.download-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.6);
}

.download-button img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

/* Before/After Slider */
.before-after {
  padding: 5rem 5%;
  background-color: rgba(255, 255, 255, 0.7);
}

.slider-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.slider-item {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.comparison-slider {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  cursor: pointer;
}

.comparison-slider:hover .slider-handle::after {
  background-color: var(--accent-color);
  color: white;
}

.before-image,
.after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.before-image {
  z-index: 1;
}

.slider-resizer {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.slider-resizer .after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-width: 100%;
  transform: translateX(0);
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: white;
  cursor: ew-resize;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-handle::after {
  content: "⟷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #666;
  font-weight: bold;
}

.label {
  position: absolute;
  bottom: 10px;
  padding: 5px 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.8rem;
  border-radius: 4px;
  z-index: 15;
}

.original {
  left: 10px;
}

.restored {
  right: 10px;
}

/* Features */
.features {
  display: flex;
  justify-content: space-between;
  padding: 5rem 5%;
  flex-wrap: wrap;
  gap: 2rem;
}

.feature {
  flex: 1;
  min-width: 250px;
  padding: 2rem;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.feature:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background-color: rgba(70, 130, 180, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 2rem;
  color: var(--accent-color);
}

.feature-icon img {
  width: 2.6rem;
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Testimonials */
.testimonials {
  padding: 5rem 5%;
  background-color: rgba(255, 255, 255, 0.7);
}

.testimonial-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.testimonial {
  flex: 1;
  min-width: 300px;
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  border: 1px solid var(--border-color);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  flex-grow: 1;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.stars {
  color: #ffc107;
}

.stars img {
  width: 1.5rem;
  color: #ffc107;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  color: var(--light-text);
  padding: 4rem 5% 2rem;
  border-top: 3px solid var(--primary-color);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-info {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.company-info {
  padding-right: 1rem;
}

.logo-footer {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.logo-footer img {
  height: 35px;
  margin-right: 12px;
}

.logo-footer h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 0;
}

.company-desc {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #cccccc;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-section ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #cccccc;
  font-size: 1.4rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--secondary-color);
  background: rgba(210, 180, 140, 0.2);
  transform: translateY(-2px);
}

.copyright-info {
  text-align: right;
  flex: 1;
}

.copyright-info p {
  color: #cccccc;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.filing-info {
  margin-top: 0.5rem;
}

.filing-info a {
  color: #cccccc;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.3s ease;
}

.filing-info a:hover {
  color: var(--secondary-color);
}

.filing-icon {
  font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-content {
    padding-right: 1rem;
  }

  .upload-box {
    margin-left: 1rem;
  }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2%;
  }

  .hero-content {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 3rem;
  }

  /* 隐藏PC端upload-box，显示移动端upload-box */
  .upload-box-desktop {
    display: none;
  }

  .upload-box-mobile {
    display: block;
    max-width: 100%;
    width: 100%;
    margin: 1.5rem auto 0;
  }

  .upload-area {
    min-height: 250px;
    padding: 2rem;
  }

  .slider-container {
    flex-direction: column;
    align-items: center;
  }

  .slider-item {
    max-width: 500px;
    width: 100%;
    margin-bottom: 2rem;
  }

  .repair-types {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 5%;
  }

  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    transition: left 0.3s ease;
    z-index: 999;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
  }

  nav ul li {
    margin: 1rem 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 2rem 5%;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .upload-box-desktop {
    display: none;
  }

  .upload-box-mobile {
    display: block;
    margin: 1rem auto 0;
  }

  .features,
  .testimonial-container {
    flex-direction: column;
    align-items: center;
  }

  .feature,
  .testimonial {
    max-width: 500px;
    width: 100%;
    margin-bottom: 2rem;
  }

  .hero-comparison-slider {
    height: 200px;
  }

  .upload-area {
    min-height: 200px;
  }

  .upload-area i {
    font-size: 2.5rem;
  }

  .uploaded-image-container {
    min-height: 200px;
  }

  .upload-overlay .upload-icon {
    width: 40px;
    height: 40px;
  }

  .upload-overlay p {
    font-size: 1rem;
  }

  .processing-content {
    padding: 2rem 1.5rem;
  }

  .processing-content h3 {
    font-size: 1.2rem;
  }

  /* Footer responsive styles */
  footer {
    padding: 3rem 5% 2rem;
  }

  .footer-info {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .company-info {
    text-align: center;
    padding-right: 0;
  }

  .footer-sections {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-section h4 {
    font-size: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .copyright-info {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .processing-spinner {
    width: 50px;
    height: 50px;
  }

  .download-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    min-width: auto;
    margin: 1rem 0;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1.5rem 5%;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .upload-box-desktop {
    display: none;
  }

  .upload-box-mobile {
    display: block;
    margin: 0.8rem auto 0;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    min-width: auto;
    margin: 1rem 0;
  }

  .download-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    min-width: auto;
    margin: 1rem 0;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .hero-comparison-slider {
    height: 180px;
  }

  .upload-area {
    min-height: 180px;
    padding: 1.5rem;
  }

  .upload-area p {
    font-size: 1rem;
  }

  .type-btn {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .repair-types {
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0 0.5rem;
  }

  /* Footer responsive styles for very small screens */
  footer {
    padding: 2rem 5% 1.5rem;
  }

  .logo-footer h3 {
    font-size: 1.3rem;
  }

  .company-desc {
    font-size: 0.9rem;
  }

  .footer-section h4 {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
  }

  .footer-section ul li a {
    font-size: 0.85rem;
  }

  .social-links a {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }

  .copyright-info p {
    font-size: 0.8rem;
  }

  .filing-info a {
    font-size: 0.75rem;
  }
}

/* 响应式调整 */
@media (max-width: 768px) {
  .repair-types {
    justify-content: center;
    flex-wrap: nowrap;
    padding: 0 0.5rem;
    gap: 0.5rem;
  }

  .type-btn {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: auto;
  }

  .demo-images {
    flex-direction: column;
    gap: 0.5rem;
  }

  .arrow {
    transform: rotate(90deg);
  }

  .demo-before,
  .demo-after {
    width: 100px;
    height: 100px;
  }
}

/* Loading 样式 */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--border-color);
  border-top: 5px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading .loading-overlay {
  display: flex;
}

.cta-button.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.cta-button.loading:after {
  content: "处理中...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
