/* === AI SEO 官网模板 v2 — 基于UI设计师Figma设计稿 === */

/* --- CSS 变量 --- */
:root {
  --color-primary: #3A42FA;
  --color-primary-hover: #2D35D6;
  --color-dark: #1D2138;
  --color-dark-light: #292C45;
  --color-text: #1D2138;
  --color-text-secondary: #666666;
  --color-text-muted: #999999;
  --color-bg: #F7F8FC;
  --color-white: #FFFFFF;
  --color-border: #E8EAF0;
  --color-shadow: rgba(0, 0, 0, 0.05);
  --font-family: "Microsoft YaHei", "SimHei";
  --container-width: 1200px;
  --mobile-shell-width: 100%;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 50px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Header / Navbar
   ============================================ */
.site-header {
  background: var(--color-white);
  padding: 0;
  height: 96px;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

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

.main-nav a {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.router-link-active {
  color: var(--color-primary);
  font-weight: 500;
}

/* ============================================
   Main Content
   ============================================ */
.site-main {
  min-height: 60vh;
}

/* ============================================
   Hero / Banner
   ============================================ */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #3A42FA 100%);
  padding: 100px 0 120px;
  text-align: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero h1 {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--color-white);
  position: relative;
  letter-spacing: 1px;
}

.hero .industry {
  color: rgba(255, 255, 255, 0.85);
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 400;
}

.hero .description {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
}

/* ============================================
   Section 通用
   ============================================ */
.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--color-border);
}

.section h1 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 32px;
  color: var(--color-text);
  letter-spacing: 0.5px;
}

.section h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--color-text);
}

.section h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--color-text);
}

.section p {
  margin-bottom: 14px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ============================================
   Service Cards（首页/服务页通用）
   ============================================ */
.service-cards {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  flex: 1;
  background: linear-gradient(135deg, #f0f2ff 0%, #e8eafc 100%);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.service-card h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* 服务流程 */
.service-process {
  margin-top: 32px;
}

.service-process h2 {
  text-align: center;
  margin-bottom: 40px;
}

.service-process ol {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  position: relative;
}

.service-process li {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.service-process li::before {
  content: attr(data-step);
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 20px;
  font-weight: 700;
  line-height: 56px;
  margin: 0 auto 12px;
}

.service-process li strong {
  display: block;
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 4px;
}

.service-process li::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 36px);
  width: calc(100% - 72px);
  height: 2px;
  background: var(--color-border);
}

.service-process li:last-child::after {
  display: none;
}

/* ============================================
   Articles / News
   ============================================ */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 32px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(31, 40, 72, 0.04);
  overflow: hidden;
}

.articles-preview .article-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.article-card {
  padding: 28px 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  transition: var(--transition);
  border: 0;
  border-bottom: 1px solid #edf0f6;
  color: inherit;
  text-decoration: none;
}

.article-card:hover {
  box-shadow: none;
  transform: none;
  background: #fbfcff;
}

.article-card:last-child {
  border-bottom: 0;
}

.article-card .date-badge {
  width: 88px;
  min-width: 88px;
  height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f7f7f8;
  color: #202532;
  border-radius: 8px;
  padding: 0;
  text-align: center;
  flex-shrink: 0;
}

.article-card .date-badge .day {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.article-card .date-badge .month {
  margin-top: 12px;
  color: #7d838f;
  font-size: 15px;
  line-height: 1;
  font-weight: 400;
  display: block;
}

.article-card .card-content {
  flex: 1;
  min-width: 0;
}

.article-card h2,
.article-card h3 {
  font-size: 25px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--color-text);
  line-height: 1.55;
}

.article-card .card-summary {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card .meta {
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.article-card .meta time {
  margin-right: 16px;
}

/* ============================================
   Article Detail
   ============================================ */
.article-detail .article-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--color-border);
}

.article-detail .article-header h1 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.4;
}

.article-detail .abstract {
  background: rgba(58, 66, 250, 0.04);
  border-left: 4px solid var(--color-primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 32px;
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.article-detail .article-body {
  font-size: 17px;
  line-height: 2;
  color: var(--color-text);
}

.article-detail .article-body img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.article-detail .original-url {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text-muted);
}

.article-detail .article-footer {
  margin-top: 40px;
}

.article-detail .article-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 500;
}

.article-detail .article-footer a:hover {
  color: var(--color-primary-hover);
}

/* ============================================
   FAQ
   ============================================ */
.faq-content {
  font-size: 16px;
  line-height: 1.8;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
}

.faq-card .faq-question {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-text);
}

.faq-card .faq-answer {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.85;
  white-space: pre-line;
}

.faq-card .faq-question-row,
.faq-card .faq-answer-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 13px;
  align-items: start;
}

.faq-card .faq-question-row strong {
  color: #202532;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 700;
}

.faq-card .faq-answer-row {
  margin-top: 10px;
}

.faq-card .faq-answer-row span:last-child {
  color: #5f6573;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 500;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.faq-preview-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.faq-preview-item {
  margin: 0;
  padding: 14px 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  line-height: 1.65;
  box-shadow: var(--shadow-card);
}

/* ============================================
   Contact
   ============================================ */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.info-item {
  padding: 24px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.info-item:hover {
  box-shadow: var(--shadow-card-hover);
}

.info-item h3 {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-item p {
  font-size: 18px;
  color: var(--color-text);
  font-weight: 500;
}

.info-item a {
  color: var(--color-primary);
}

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

/* ============================================
   CTA (Call To Action)
   ============================================ */
.cta {
  background: linear-gradient(135deg, #1D2138 0%, #2D3556 100%);
  color: var(--color-white);
  text-align: center;
}

.cta h2 {
  color: var(--color-white);
  font-size: 32px;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 500;
  margin-top: 20px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(58, 66, 250, 0.4);
}

/* More link */
.more {
  margin-top: 20px;
}

.more a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

/* ============================================
   Services Page
   ============================================ */
.service-page {
  border-bottom: 0;
  background: #f4f6fb;
}

.service-page .container {
  max-width: 980px;
  padding: 58px 44px 52px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.service-page h1 {
  margin: 0 0 30px;
  text-align: center;
  color: #202536;
  font-size: 28px;
  line-height: 1.45;
  font-weight: 700;
}

.service-page .service-cards {
  margin: 0 0 46px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.service-page .service-card,
.service-page .services-content {
  padding: 44px 32px;
  border-radius: 28px;
  background: #ededff;
  text-align: center;
  box-shadow: none;
}

.service-page .service-card:hover {
  transform: none;
  box-shadow: none;
}

.service-page .service-card h3,
.service-page .services-content h2 {
  margin: 0 0 15px;
  color: #202536;
  font-size: 23px;
  line-height: 1.45;
  font-weight: 700;
}

.service-page .service-card p,
.service-page .services-content p {
  margin: 0;
  color: #5d6370;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 500;
}

.service-page .service-process {
  max-width: 720px;
  margin: 2px auto 0;
}

.service-page .service-process h2 {
  margin: 0 0 30px;
  color: #202536;
  font-size: 28px;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
}

.service-page .service-process-list {
  list-style: none;
  display: grid;
  gap: 23px;
  margin: 0;
  padding: 0;
}

.service-page .service-process-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 22px;
  align-items: center;
  flex: none;
  padding: 0;
  text-align: left;
  position: relative;
}

.service-page .service-process li::before,
.service-page .service-process li::after {
  display: none;
}

.service-page .service-process-index {
  width: 49px;
  height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #3440f6;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
}

.service-page .service-process-text {
  display: grid;
  gap: 2px;
}

.service-page .service-process-text strong {
  color: #202536;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
}

.service-page .service-process-text small {
  color: #4f5664;
  font-size: 16px;
  line-height: 1.5;
}

.service-detail-cta {
  margin-top: 44px;
  padding: 35px 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, #3c44f4 0%, #8210f9 100%);
  text-align: center;
}

.service-detail-cta p {
  margin: 0 0 17px;
  color: #fff;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 500;
}

.service-detail-button {
  min-width: 132px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: #3c44f4;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--color-dark);
  padding: 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer .container {
  padding-top: 32px;
  padding-bottom: 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-contact {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255, 255, 255, 0.5);
  fill: none;
}

.footer-copyright {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  padding-top: 4px;
}

.footer-copyright a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-copyright a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Page Title Banner（内页顶部）
   ============================================ */
.page-banner {
  background: linear-gradient(135deg, #1D2138 0%, #2D3556 100%);
  padding: 48px 0;
  text-align: center;
  color: var(--color-white);
}

.page-banner h1 {
  color: var(--color-white);
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 8px;
}

.page-banner .subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ============================================
   Empty State
   ============================================ */
.empty {
  color: var(--color-text-muted);
  text-align: center;
  padding: 60px 0;
  font-size: 16px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  :root {
    --container-width: 100%;
  }

  .container {
    padding: 0 16px;
  }

  .site-header {
    height: auto;
    padding: 12px 0;
  }

  .site-header .container {
    flex-direction: column;
    gap: 12px;
  }

  .main-nav {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav a {
    font-size: 14px;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero .description {
    font-size: 18px;
  }

  .section {
    padding: 40px 0;
  }

  .section h1 {
    font-size: 28px;
  }

  .faq-card {
    padding: 20px 18px;
  }

  .faq-card .faq-question {
    font-size: 18px;
  }

  .faq-card .faq-question-row,
  .faq-card .faq-answer-row {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 11px;
  }

  .faq-card .faq-question-row strong {
    font-size: 15px;
  }

  .faq-card .faq-answer-row span:last-child {
    font-size: 14px;
  }

  .faq-preview-item {
    padding: 12px 14px;
  }

  .articles-preview .article-list {
    grid-template-columns: 1fr;
  }

  .article-index-page {
    padding: 16px 7px 0;
  }

  .article-index-page .container {
    padding: 0;
  }

  .article-index-title {
    display: none;
  }

  .article-list {
    padding: 0 18px;
    border-radius: 8px;
  }

  .article-card {
    flex-direction: row;
    gap: 17px;
    padding: 18px 0;
  }

  .article-card .date-badge {
    width: 73px;
    min-width: 73px;
    height: 82px;
    padding: 0;
  }

  .article-card .date-badge .day {
    font-size: 36px;
  }

  .article-card .date-badge .month {
    margin-top: 10px;
    font-size: 14px;
  }

  .article-card h2,
  .article-card h3 {
    margin-top: 1px;
    font-size: 18px;
    line-height: 1.58;
  }

  .article-card .card-summary {
    display: none;
  }

  .service-cards {
    flex-direction: column;
  }

  .service-process ol {
    flex-direction: column;
    gap: 24px;
  }

  .service-process li::after {
    display: none;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-contact {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .hero .industry {
    font-size: 16px;
  }

  .hero .description {
    font-size: 15px;
  }
}

/* ============================================
   Klepsy homepage: desktop default + phone reference
   ============================================ */
html,
body {
  background: #1c2338;
}

.website-layout {
  max-width: none;
  min-height: 100vh;
  margin: 0;
  background: #f4f6fb;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.site-main {
  max-width: none;
  margin: 0;
  background: #f4f6fb;
  flex: 1 0 auto;
}

.site-header {
  height: 96px;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  max-width: var(--container-width);
  height: 100%;
  padding: 0 24px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1f2437;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-logo {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  flex: none;
}

.main-nav {
  height: auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 48px;
  flex-wrap: nowrap;
  overflow: visible;
  background: transparent;
}

.main-nav a {
  flex: 0 0 auto;
  padding: 0;
  border-radius: 0;
  color: #262b38;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.router-link-active {
  background: transparent;
  color: var(--color-primary);
  font-weight: 500;
}

.mobile-home-page {
  color: #252939;
  background: #f4f6fb;
}

.home-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 36%, rgba(0, 214, 172, 0.62), transparent 42%),
    radial-gradient(circle at 8% 16%, rgba(61, 177, 255, 0.58), transparent 46%),
    linear-gradient(128deg, #dff1ff 0%, #87e9ed 48%, #28dfad 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, transparent 0 41%, rgba(255, 255, 255, 0.28) 42%, transparent 44%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 13% 88%, rgba(255, 255, 255, 0.55), transparent 32%);
  background-size: auto, 24px 24px, auto;
  opacity: 0.75;
}

.home-hero-text {
  position: relative;
  z-index: 1;
  text-align: center;
}

.home-hero-title {
  margin: 0;
  color: #12182b;
  font-size: 48px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0;
}

.home-hero-title-line {
  display: block;
}

.home-hero p {
  margin: 22px 0 0;
  color: #2d3548;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 500;
}

.home-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 64px 24px;
  border: 0;
  background: #f4f6fb;
}

.home-section h2 {
  margin: 0;
  color: #1f2434;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
}

.home-services h2,
.home-about h2 {
  text-align: center;
}

.home-service-list {
  margin-top: 30px;
  display: grid;
  gap: 24px;
}

.home-service-card {
  padding: 40px 32px;
  border-radius: 24px;
  background: #ededff;
  text-align: center;
  box-shadow: none;
}

.home-service-card h3 {
  margin: 0 0 14px;
  color: #202536;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
}

.home-service-card p {
  margin: 0;
  color: #5e6370;
  font-size: 16px;
  line-height: 1.72;
  font-weight: 500;
}

.home-about p {
  max-width: 820px;
  margin: 24px auto 0;
  color: #394052;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 500;
  text-align: center;
  white-space: pre-line;
}

.home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-section-head a {
  color: #4652f4;
  font-size: 15px;
  font-weight: 700;
}

.home-news,
.home-faq {
  max-width: 876px;
}

.home-news {
  padding-top: 40px;
  padding-bottom: 26px;
}

.home-faq {
  padding-top: 24px;
  padding-bottom: 63px;
}

.home-news .home-section-head,
.home-faq .home-section-head {
  height: 30px;
}

.home-news .home-section-head h2,
.home-faq .home-section-head h2 {
  font-size: 22px;
  line-height: 1;
}

.home-news .home-section-head a,
.home-faq .home-section-head a {
  color: #3440f6;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.home-news-card {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
}

.home-faq-card {
  margin-top: 14px;
  padding: 13px 18px;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.home-empty {
  margin: 18px 0 0;
  padding: 42px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(43, 55, 98, 0.04);
}

.home-news-item {
  min-height: 84px;
  padding: 10px 12px 10px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid #edf0f6;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.home-news-item:last-child {
  border-bottom: 0;
}

.home-date-box {
  width: 64px;
  min-width: 64px;
  height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #f7f7f8;
  border-right: 0;
}

.home-date-box strong {
  color: #222632;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}

.home-date-box small {
  margin-top: 7px;
  color: #7e8490;
  font-size: 12px;
  line-height: 1;
}

.home-news-text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-news-title {
  color: #202533;
  font-size: 15px;
  line-height: 1.42;
  font-weight: 700;
  max-width: 100%;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-news-tag {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 18px;
  padding: 0 7px;
  border-radius: 4px;
  background: #eef0ff;
  color: #5d64ff;
  font-size: 11px;
  line-height: 18px;
  font-weight: 500;
}

.home-news-summary {
  margin-top: 8px;
  color: #6d7380;
  font-size: 11px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-faq-item {
  min-height: 0;
  padding: 0 0 12px;
  border-bottom: 0;
}

.home-faq-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.home-faq-question,
.home-faq-answer {
  margin: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 13px;
  align-items: center;
  min-height: 28px;
}

.home-faq-answer {
  margin-top: 7px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}

.faq-icon-q {
  background: #6264f6;
}

.faq-icon-a {
  background: #ff985f;
}

.home-faq-question strong {
  color: #202532;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-faq-answer span:last-child {
  color: #4d5564;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.about-content {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 40px 48px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.about-content h1 {
  margin: 0 0 18px;
  color: #202536;
  font-size: 28px;
  line-height: 1.45;
  font-weight: 700;
}

.about-content p {
  margin: 0;
  color: #4f5564;
  font-size: 17px;
  line-height: 2;
  white-space: pre-line;
}

.contact-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 38px 44px 42px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-panel h2 {
  margin: 0 0 13px;
  color: #202536;
  font-size: 28px;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
}

.contact-person {
  margin: 0 0 24px;
  color: #202536;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
}

.contact-lines {
  display: grid;
  gap: 20px;
}

.contact-line {
  margin: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  color: #4b5262;
  font-size: 18px;
  line-height: 1.55;
  word-break: break-word;
}

.contact-line a {
  color: inherit;
}

.contact-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #3c44f4;
  color: #fff;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

/*
  留言表单模板样式说明：
  1. 这里是官网模板源码，长期修改表单 UI 应改这个文件，不要直接改 .output/public。
  2. .output/public 是 Nuxt 生成后的静态产物，每次“生成/发布官网”都会被重新覆盖。
  3. 修改本段样式后，需要在服务器重新生成/发布官网，线上已生成站点才会同步新样式。
  4. 本段只负责右侧留言表单和收起按钮，尽量不要在这里改新闻、底部、首页等非表单样式。
*/
.inquiry-widget {
  /* 全屏固定容器只用来承载表单浮层，本身不拦截页面点击。 */
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
}

.inquiry-float-tab {
  /* 表单关闭后显示的右侧竖向入口，需要重新开启点击事件。 */
  pointer-events: auto;
  position: fixed;
  right: calc(100% - 100vw);
  top: 63.5%;
  width: 47px;
  height: 156px;
  padding: 17px 0 15px;
  border: 0;
  border-radius: 18px 0 0 18px;
  background: #3443ff;
  color: #fff;
  box-shadow: none;
  transform: translateY(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
}

.inquiry-float-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.inquiry-float-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
}

.inquiry-dialog {
  /* 主表单面板固定在页面右下角，覆盖所有页面使用同一套模板样式。 */
  pointer-events: auto;
  position: fixed;
  right: 0;
  bottom: 84px;
  width: 26.65vw;
  min-width: 330px;
  max-width: 440px;
  /*
    固定表单高度：
    - 设计稿表单高度约为 324px；
    - 如果只用内容自适应，服务器字体、浏览器缩放或 label 换行都会把容器撑高；
    - 高度固定后，上传模板并重新生成官网时，各页面的表单高度保持一致。
  */
  height: 324px;
  min-height: 324px;
  padding: 37px 24px 24px;
  border: 1px solid #d8efff;
  border-radius: 12px 0 0 12px;
  background: linear-gradient(180deg, #e3f6ff 0%, #f9feff 76%);
  box-shadow: 0 8px 16px rgba(33, 75, 114, 0.18);
}

.inquiry-dialog.is-success {
  /* 提交成功态比表单态更空，需要单独保留成功图标和文字的垂直空间。 */
  min-height: 386px;
  padding: 0 24px;
}

.inquiry-close {
  position: absolute;
  top: 13px;
  right: 14px;
  width: 18px;
  height: 18px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #667085;
  font-size: 18px;
  line-height: 18px;
  font-weight: 300;
  cursor: pointer;
}

.inquiry-dialog h2 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
}

.inquiry-dialog-desc {
  margin: 7px 0 15px;
  color: #5f6877;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.inquiry-dialog-form {
  display: grid;
  gap: 9px;
}

.inquiry-dialog-field {
  /* 左列给 label，右列给输入控件；72px 是为了保证“联系电话”四个字不换行。 */
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 9px;
  align-items: center;
  color: #111827;
  font-size: 12px;
  line-height: 1.35;
}

.inquiry-dialog-field span {
  text-align: left;
}

.inquiry-field-label {
  /* label 内部拆成星号列 + 文案列，保证必填星号和三行标签文案左侧对齐。 */
  display: grid;
  grid-template-columns: 8px 4em;
  column-gap: 5px;
  align-items: start;
  min-width: 72px;
}

.inquiry-dialog-field b {
  margin: 0;
  color: #f04438;
  font-weight: 700;
}

.inquiry-field-label:not(.is-required) b {
  /* 非必填项隐藏星号但保留占位，避免“需求描述”相对前两项向左偏移。 */
  visibility: hidden;
}

.inquiry-field-label > span {
  /* 四字 label 固定为 4em，防止服务器字体差异导致“联系电话”断行。 */
  display: block;
  min-width: 4em;
  text-align: left;
  white-space: nowrap;
}

.inquiry-field-label em {
  display: block;
  margin-top: 2px;
}

.inquiry-dialog-field em {
  color: #667085;
  font-style: normal;
}

.inquiry-dialog-field input,
.inquiry-dialog-field textarea {
  width: 100%;
  border: 1px solid #d6e0ef;
  border-radius: 5px;
  padding: 0 11px;
  font: inherit;
  color: #202536;
  background: rgba(255, 255, 255, 0.42);
  outline: none;
}

.inquiry-dialog-field input:focus,
.inquiry-dialog-field textarea:focus {
  border-color: #9fc4ff;
  background: #fff;
}

.inquiry-dialog-field.has-error input,
.inquiry-dialog-field.has-error textarea {
  border-color: #ff4d4f;
  color: #ff4d4f;
  background: rgba(255, 255, 255, 0.55);
}

.inquiry-dialog-field input {
  height: 34px;
}

.inquiry-dialog-field textarea {
  height: 51px;
  padding: 10px 11px 18px;
  resize: none;
}

.inquiry-dialog-field input::placeholder,
.inquiry-dialog-field textarea::placeholder {
  color: #9aa4b5;
}

.inquiry-textarea-wrap {
  position: relative;
  display: block;
}

.inquiry-dialog-field .inquiry-textarea-wrap {
  text-align: left;
}

.inquiry-char-tip {
  position: absolute;
  right: 9px;
  bottom: 5px;
  color: #c4cad5;
  font-size: 9px;
  line-height: 1;
  font-style: normal;
}

.inquiry-description-field.has-warning textarea {
  border-color: #ff4d4f;
}

.inquiry-description-field.has-warning .inquiry-char-tip {
  color: #ff4d4f;
}

.inquiry-dialog-submit {
  justify-self: center;
  width: 165px;
  height: 37px;
  margin-top: 5px;
  border: 0;
  border-radius: 7px;
  background: #3842f5;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
}

.inquiry-dialog-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.inquiry-message,
.inquiry-error {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}

.inquiry-message {
  color: #16794c;
}

.inquiry-error {
  color: #d93025;
}

.inquiry-error-banner {
  /* 顶部错误提示固定在标题上方，避免接口失败时把表单整体向下挤压。 */
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  margin: 0;
  color: #ff3434;
  font-size: 12px;
  line-height: 1;
  text-align: center;
}

.inquiry-error-banner::before {
  /* 设计稿里的红色感叹号图标，用 CSS 画，避免额外图片资源。 */
  content: "!";
  width: 12px;
  height: 12px;
  margin-right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
}

.inquiry-success {
  /* 成功态内容居中偏上，和设计图的绿色勾选提示保持一致。 */
  min-height: 384px;
  padding-top: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.inquiry-success-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #27ad68;
  color: #fff;
  font-size: 25px;
  line-height: 1;
  font-weight: 500;
}

.inquiry-success h2 {
  margin-top: 13px;
  color: #1fad63;
  font-size: 16px;
}

.inquiry-success p {
  margin: 14px 0 0;
  color: #3d4658;
  font-size: 13px;
  line-height: 1.5;
}

@media (min-width: 769px) {
  .home-hero {
    min-height: 360px;
  }

  .home-service-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .website-layout {
    width: 100%;
    max-width: 375px;
    min-height: 100vh;
    margin: 0 auto;
    background: #f4f6fb;
    overflow: hidden;
  }

  .site-main {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
    background: #f4f6fb;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: auto;
    padding: 0;
    background: #fff;
    border-bottom: 0;
  }

  .site-header .container {
    width: 100%;
    max-width: 375px;
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .logo {
    height: 62px;
    padding: 0 17px;
    gap: 9px;
    font-size: 15px;
  }

  .brand-logo {
    width: 26px;
    height: 26px;
  }

  .main-nav {
    height: 48px;
    padding: 0 14px;
    justify-content: space-between;
    gap: 0;
    overflow-x: auto;
    background: #f6f7fb;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    padding: 7px 11px;
    border-radius: 18px;
    color: #262b38;
    font-size: 13px;
    font-weight: 500;
  }

  .main-nav a:hover,
  .main-nav a.router-link-active {
    background: #3c44f4;
    color: #fff;
    font-weight: 600;
  }

  .home-hero {
    min-height: 196px;
    padding: 42px 18px 44px;
  }

  .home-hero::before {
    background-size: auto, 18px 18px, auto;
  }

  .home-hero-title {
    font-size: 27px;
    line-height: 1.48;
  }

  .home-hero p {
    margin-top: 18px;
    font-size: 14px;
  }

  .home-section {
    max-width: none;
    padding: 28px 14px;
  }

  .home-section h2 {
    font-size: 19px;
  }

  .home-service-list {
    margin-top: 18px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-service-card {
    padding: 28px 18px 29px;
  }

  .home-service-card h3 {
    margin-bottom: 13px;
    font-size: 17px;
  }

  .home-service-card p {
    font-size: 14px;
  }

  .home-about {
    padding-top: 25px;
  }

  .home-about p {
    margin-top: 19px;
    font-size: 14px;
    line-height: 1.72;
  }

  .home-news,
  .home-faq {
    max-width: none;
    padding: 18px 14px 0;
  }

  .home-section-head {
    height: 32px;
  }

  .home-section-head h2,
  .home-news .home-section-head h2,
  .home-faq .home-section-head h2 {
    font-size: 18px;
  }

  .home-section-head a,
  .home-news .home-section-head a,
  .home-faq .home-section-head a {
    font-size: 13px;
  }

  .home-news-card {
    margin-top: 7px;
    grid-template-columns: 1fr;
    gap: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
  }

  .home-faq-card {
    margin-top: 7px;
    padding: 10px 14px;
    border-radius: 5px;
  }

  .home-empty {
    margin-top: 7px;
    padding: 34px 14px;
    border-radius: 5px;
  }

  .home-news-item {
    min-height: 84px;
    padding: 10px 12px 10px 14px;
    gap: 14px;
  }

  .home-date-box {
    width: 64px;
    min-width: 64px;
    align-self: auto;
    height: 72px;
    border-radius: 6px;
  }

  .home-date-box strong {
    font-size: 27px;
  }

  .home-date-box small {
    margin-top: 7px;
    font-size: 12px;
  }

  .home-news-title {
    font-size: 15px;
  }

  .home-news-summary {
    margin-top: 7px;
    font-size: 11px;
  }

  .home-faq {
    padding-bottom: 22px;
  }

  .home-faq-item {
    padding: 0 0 10px;
  }

  .home-faq-question,
  .home-faq-answer {
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 12px;
  }

  .home-faq-answer {
    margin-top: 6px;
  }

  .faq-icon {
    width: 28px;
    height: 28px;
  }

  .home-faq-question strong {
    font-size: 16px;
  }

  .home-faq-answer span:last-child {
    font-size: 14px;
  }

  .service-page {
    padding: 7px 7px 0;
    background: #f4f6fb;
  }

  .service-page .container {
    padding: 33px 24px 20px;
    border-radius: 0;
    box-shadow: none;
  }

  .service-page h1 {
    margin-bottom: 24px;
    font-size: 23px;
  }

  .service-page .service-cards {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }

  .service-page .service-card,
  .service-page .services-content {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .service-page .service-card h3,
  .service-page .services-content h2 {
    font-size: 19px;
  }

  .service-page .service-card p,
  .service-page .services-content p {
    font-size: 15px;
    line-height: 1.82;
  }

  .service-page .service-process h2 {
    margin-bottom: 26px;
    font-size: 23px;
  }

  .service-page .service-process-list {
    gap: 22px;
  }

  .service-page .service-process-item {
    grid-template-columns: 49px minmax(0, 1fr);
    column-gap: 18px;
  }

  .service-page .service-process-index {
    width: 43px;
    height: 43px;
    font-size: 18px;
  }

  .service-page .service-process-text strong {
    font-size: 20px;
  }

  .service-page .service-process-text small {
    font-size: 15px;
  }

  .service-detail-cta {
    margin-top: 34px;
    padding: 31px 20px 32px;
    border-radius: 24px;
  }

  .service-detail-cta p {
    margin-bottom: 17px;
    font-size: 21px;
  }

  .service-detail-button {
    min-width: 117px;
    min-height: 39px;
    font-size: 16px;
  }

  .about-content {
    margin-bottom: 28px;
    padding: 32px 22px;
    border-radius: 0;
    text-align: left;
  }

  .faq-page-title {
    display: none;
  }

  .about-content h1 {
    text-align: center;
  }

  .about-content h1 {
    font-size: 22px;
  }

  .about-content p {
    font-size: 15px;
    line-height: 1.9;
  }

  .contact-panel {
    padding: 33px 22px 36px;
    border-radius: 0;
  }

  .contact-panel h2 {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .contact-person {
    margin-bottom: 22px;
    font-size: 18px;
  }

  .contact-lines {
    gap: 18px;
  }

  .contact-line {
    grid-template-columns: 35px minmax(0, 1fr);
    column-gap: 13px;
    font-size: 16px;
  }

  .contact-icon {
    width: 31px;
    height: 31px;
  }

  .contact-icon svg {
    width: 18px;
    height: 18px;
  }

  .inquiry-float-tab {
    top: 50%;
    width: 42px;
    height: 128px;
    min-height: 128px;
    border-radius: 16px 0 0 16px;
  }

  .inquiry-float-text {
    font-size: 12px;
  }

  .inquiry-dialog {
    /* 窄屏时面板从右侧贴边改为左右留 14px，避免压到浏览器滚动条。 */
    top: auto;
    right: 14px;
    bottom: 22px;
    width: calc(100vw - 28px);
    /*
      窄屏同样固定高度：
      - 防止移动端/窄视口下内容自适应变高；
      - max-height 仍保留，极端小屏可滚动，不会超出视口。
    */
    height: 324px;
    min-height: 324px;
    max-height: calc(100vh - 44px);
    padding: 30px 18px 26px;
    border-radius: 12px;
    overflow: auto;
  }

  .inquiry-dialog-field {
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 10px;
  }

  .inquiry-dialog-submit {
    margin-top: 10px;
  }
}
