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

body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.5;
}

/* Top navigation */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background: linear-gradient(135deg, #d52445, #fff);
  border-bottom: 1px solid #eee;
  
}
.logo {
  height: 40px;
}
.menu a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.menu a:hover {
  color: #cc3366;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 15% 15%;
  background: url("images/bg.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
  
}
h1,h2,p{
  text-align: left;
}


.text{
  text-align: center;
  
  
  background-repeat: no-repeat;
}
.hero h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
}
.hero p {
  font-size: 1.2em;
  margin-bottom: 25px;
}
.cta {
  background: #cc3366;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 1.1em;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 10%;
}
.cta:hover {
  background: #b32a58;
}

/* Features */
.features {
  display: flex;
  justify-content: space-around;
  padding: 60px 20px;
  background: #fafafa;
  background: linear-gradient(135deg, #ffe4ec, #fff);
}
@media (max-width: 768px) {
  .features {
    flex-direction: column;   
    align-items: center;      
  }

  .feature {
    max-width: 90%;           
    margin-bottom: 30px;      
  }
}

.feature {
  text-align: center;
  max-width: 250px;

}
.feature img {
  height: 60px;
  margin-bottom: 15px;
}
.feature h2 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #cc3366;
}
.feature p {
  font-size: 0.95em;
  color: #666;
}

/* Footer */
footer {
  background: #f0f0f0;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #555;
}
footer a {
  color: #333;          /* 修改文字颜色 */
  text-decoration: none; /* 去掉下划线 */
  margin: 0 10px;        /* 链接之间的间距 */
}

footer a:hover {
  color: #d52445;        /* 鼠标悬停时变色 */
  text-decoration: underline; /* 鼠标悬停时显示下划线 */
}

/* Trust Section */

.trust {
  padding: 60px 20px;
  background: #fff;
  text-align: center; /* 标题和内容居中 */
}

.trust h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #222;
}

.trust ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.trust ul li {
  list-style: none;
  position: relative;
  width: 280px;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
}

.trust ul li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
  position: relative;
}

.trust ul li img.trust-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* 让文字更清晰 */
  position: absolute;
  top: 0;
  left: 0;
}

.trust ul li span {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  z-index: 2;
}
.trust h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #cc3366;
  text-align: center;
}

.trust h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #cc3366;
  text-align: center;
}
.trust p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
  color: #555;
  line-height: 1.6;
  margin-bottom: 18px;

}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(135deg, #ffe4ec, #fff);
  text-align: center;
  padding: 80px 20px;
}
.cta-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #cc3366;
  text-align: center;
}
.cta-section p {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  color: #444;
  line-height: 1.6;
}
.cta-section .cta {
  background: #cc3366;
  color: #fff;
  border: none;
  padding: 14px 30px;
  font-size: 1.1em;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.cta-section .cta:hover {
  background: #b32a58;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .trust h2, .cta-section h2 {
    font-size: 1.6em;
  }
  .trust p, .cta-section p {
    font-size: 1em;
    padding: 0 10px;
  }
  .cta-section {
    padding: 60px 15px;
  }
}
.testimonials {
  padding: 60px 20px;
  background: #fafafa;
  text-align: center;
}

.testimonials h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #222;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  padding: 20px;
  max-width: 320px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: #d52445;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 2px solid #d52445;
}

.testimonial-content blockquote {
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  color: #444;
  margin: 0 0 10px;
}

.testimonial-user {
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

/* Section container */
.feature-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Single feature block */
.feature-block {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Text */
.feature-text {
  flex: 1;
}

.feature-text h2 {
  font-size: 20px;
  color: #d52445;
  margin-bottom: 10px;
}

.feature-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
}

.feature-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 18px;
}

.btn-cta {
  display: inline-block;
  padding: 12px 28px;
  background: #d52445;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.btn-cta:hover {
  background: #a91835;
}

/* Image */
.feature-image {
  flex: 1;
}

.feature-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Reverse layout */
.feature-block.reverse {
  flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 900px) {
  .feature-block,
  .feature-block.reverse {
    flex-direction: column;
    text-align: center;
  }

  .feature-text {
    order: 2;
  }

  .feature-image {
    order: 1;
  }
}

.blog {
  max-width: 750px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.7;
  background: #fff;
}

.blog h1 {
  font-size: 2rem; /* ~32px */
  margin-bottom: 1rem;
  color: #d52445; /* 品牌主色 */
  text-align: left;
}

.blog h2 {
  font-size: 1.5rem; /* ~24px */
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #222;
  border-left: 4px solid #d52445;
  padding-left: 10px;
}

.blog h3 {
  font-size: 1.25rem; /* ~20px */
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  color: #444;
}

.blog p {
  font-size: 1rem; /* ~16px */
  margin-bottom: 1.2em;
}

.blog strong {
  color: #d52445;
}

.blog ul {
  margin: 1em 0 1.5em 1.5em;
  padding-left: 1em;
}

.blog ul li {
  margin-bottom: 0.6em;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .blog {
    padding: 20px 15px;
  }
  .blog h1 {
    font-size: 1.6rem;
  }
  .blog h2 {
    font-size: 1.3rem;
  }
  .blog h3 {
    font-size: 1.1rem;
  }
  .blog p, .blog ul li {
    font-size: 0.95rem;
  }
}


.related-links {
  margin-top: 40px;
  padding: 20px;
  background: #fafafa;
  border-top: 2px solid #eee;
}

.related-links h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #d52445;
}

.related-links ul {
  list-style: none;
  padding-left: 0;
}

.related-links li {
  margin-bottom: 10px;
}

.related-links a {
  text-decoration: none;
  color: #333;
  transition: color 0.2s;
}

.related-links a:hover {
  color: #d52445;
}


.blog-image {
  margin: 30px auto;
  text-align: center;
  max-width: 800px; /* 限制宽度，避免过宽 */
}

.blog-image img {
  width: 100%;
  height: auto;
  border-radius: 12px; /* 圆角，更现代 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* 柔和阴影 */
}

.blog-image figcaption {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .blog-image {
    padding: 0 15px;
  }

  .blog-image figcaption {
    font-size: 0.9rem;
  }
}
/* Author Bio – Team */
.author-bio.team-bio {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 40px auto 0;
  padding: 22px;
  max-width: 900px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
}

.author-bio .author-logo {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  object-fit: contain;
}

.author-bio .author-info h3 {
  margin: 2px 0 6px;
  font-size: 1.15rem;
  color: #222;
}

.author-bio .author-info p {
  margin: 8px 0;
  color: #555;
  line-height: 1.6;
  font-size: 0.98rem;
}

.author-bio .author-highlights {
  margin: 10px 0 8px 0;
  padding-left: 18px;
  color: #444;
  line-height: 1.6;
}

.author-bio .author-highlights li {
  margin: 4px 0;
  position: relative;
}

.author-bio .author-highlights li::marker {
  color: #d52445; /* 品牌红 */
}

.author-bio .author-meta {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #666;
}

.author-bio .author-links a {
  color: #d52445;
  text-decoration: none;
  font-weight: 600;
}

.author-bio .author-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 720px) {
  .author-bio.team-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px;
  }
  .author-bio .author-logo {
    width: 64px;
    height: 64px;
  }
  .author-bio .author-info h3 {
    font-size: 1.1rem;
  }
  .author-bio .author-info p,
  .author-bio .author-highlights {
    font-size: 0.95rem;
    text-align: left;
  }
}

.more-blogs {
  text-align: center;
  margin-top: 20px;
}

.more-blogs a {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: #d52445; /* 保持和网站主色调一致 */
  text-decoration: none;
  border: 1px solid #d52445;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.more-blogs a:hover {
  background-color: #d52445;
  color: #fff;
}


.more-blogs {
  text-align: center;
  margin-top: 20px;
}

.more-blogs a {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: #d52445; /* 保持和网站主色调一致 */
  text-decoration: none;
  border: 1px solid #d52445;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.more-blogs a:hover {
  background-color: #d52445;
  color: #fff;
}
/* --- Author Meta Block --- */
.post-meta {
  margin: 12px 0 28px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.post-meta a {
  color: #d52445;   /* 与品牌红色保持一致 */
  text-decoration: none;
  font-weight: 600;
  margin: 0 4px;
}

.post-meta a:hover {
  text-decoration: underline;
}

.post-meta::before {
  content: "✍️ ";
  color: #d52445;
  font-size: 1rem;
  margin-right: 4px;
  vertical-align: middle;
}
/* Sección de descarga de apps */
.download-section {
  max-width: 720px;
  margin: 2.5rem auto;
  padding: 1.5rem 1.25rem;
  background: #fff7fb;
  border: 1px solid #f9d8f0;
  border-radius: 16px;
}

.download-section h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
  color: #d52445;
}

.download-section p {
  margin-bottom: 1.25rem;
}

/* Botones de descarga */
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.download-buttons .btn-cta {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}


.btn-ios {
  background: #000;
  color: #fff;
}

.btn-android {
  background: #25d366;
  color: #fff;
}

/* Hover 状态 */
.download-buttons .btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.ios-image {
  margin: 24px auto 0;
  text-align: center;
}

.ios-image img {
  max-width: 420px;      
  width: 100%;           
  height: auto;
  border-radius: 12px;   
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); 
}
.pricing-section {
  margin-top: 40px;
  padding: 24px 20px;
  border-radius: 12px;
  background: #fff7f8;
  border: 1px solid #ffd7de;
}

.pricing-section h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.pricing-section h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}

.pricing-column {
  flex: 1 1 260px;
}

.pricing-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.pricing-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.pricing-note {
  margin-top: 16px;
  font-size: 0.95rem;
  color: #555;
}

/* Responsive */
@media (max-width: 640px) {
  .pricing-section {
    padding: 20px 16px;
  }
}

.blog-list {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.blog-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 28px;
}

.blog-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.blog-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 18px 20px;
  background: #fff;
}

.blog-card h2 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.blog-card h2 a {
  color: #d52445;
  text-decoration: none;
}

.blog-card h2 a:hover {
  text-decoration: underline;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
}

.blog-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #d52445;
  text-decoration: none;
}

.blog-card-link:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .blog-list-grid {
    grid-template-columns: 1fr 1fr;
  }
}
/* Enlace del logo (no pisa estilos existentes, solo añade comportamiento opcional) */
.nav-logo {
  display: inline-flex;
  align-items: center;
}

/* Botón de registro en el header */
.nav-cta {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background-color: #d52445;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #d52445;
  cursor: pointer;
  white-space: nowrap;
  margin-left: 12px;        /* separa el botón del logo */
  transition: background-color 0.15s ease, color 0.15s ease,
              box-shadow 0.15s ease, transform 0.1s ease;
}

.nav-cta:hover {
  background-color: #ffffff;
  color: #d52445;
  box-shadow: 0 4px 10px rgba(213, 36, 69, 0.25);
  transform: translateY(-1px);
}

.nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(213, 36, 69, 0.2);
}

/* Ajuste suave en móvil SOLO para el botón，自适应但不改header布局 */
@media (max-width: 640px) {
  .nav-cta {
    font-size: 0.8rem;
    padding: 6px 14px;
    margin-left: 8px;
  }
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.lang-item {
  text-decoration: none;
  cursor: pointer;
  opacity: 0.7;
}

.lang-item:hover {
  opacity: 1;
}

.lang-active {
  font-weight: 600;
  opacity: 1;
  cursor: default;
}

.lang-separator {
  margin: 0 0.25rem;
  opacity: 0.5;
}
