/* 渐入动画样式 */
.homepage {
  /* Hero Section 特殊处理 */
  .hero.fade-in {
    transform: translateY(0);
    opacity: 0;
  }

  .hero.fade-in-visible {
    opacity: 1;
  }

  body {
    font-family: "PingFang SC", system-ui, -apple-system, "Segoe UI", Roboto,
      Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.5;
  }

  /* 通用样式 */
  .text-center {
    text-align: center;
  }

  /* Hero Section */
  .hero {
    padding-top: 5rem;
    margin-top: -4.5rem;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(240, 249, 255, 1) 100%
    );
    position: relative;
    overflow: hidden;
    /* min-height: 100vh; */
  }

  .hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .hero-text {
    max-width: 600px;
  }

  .hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(
      135deg,
      var(--text-dark) 0%,
      var(--primary-color) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s ease infinite;
  }

  @keyframes gradientText {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  .hero p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
  }

  .hero-image {
    /* width: 100%; */
    /* width: 500px; */
    margin-left: auto;
    position: relative;
  }

  .hero-image img {
    width: 100%;
    width: 500px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  }

  .hero-buttons {
    display: flex;
    gap: 1rem;
  }

  /* 按钮样式 */
  .btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .btn-primary {
    background-color: var(--primary-color);
    border-radius: 1000px;
    color: white;
  }

  .btn-primary:hover {
    background-color: var(--primary-hover);
  }

  .btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 100px;
    background: transparent;
  }

  .btn-outline:hover {
    background-color: rgba(37, 99, 235, 0.1);
  }

  /* 解决方案样式 */
  .solutions,
  .matrix {
    padding: 4rem 0;
  }

  .solutions {
    background-color: var(--bg-white);
  }

  .matrix {
    background-color: var(--bg-light);
  }

  .solution-card.full-width {
    background-color: transparent;
    padding: 0;
    transition: none;
  }

  .solution-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
  }

  @media (min-width: 1024px) {
    .solution-content {
      grid-template-columns: 1.2fr 0.8fr;
    }

    .solution-content.reverse {
      grid-template-columns: 0.8fr 1.2fr;
    }
  }

  .solution-content.reverse {
    direction: rtl;
  }

  .solution-content.reverse > * {
    direction: ltr;
  }

  .solution-text {
    padding: 1rem 2rem;
  }

  .solution-desc {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 400;
  }

  .solution-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .solution-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* Matrix特有样式 */
  .matrix-features {
    margin-top: 3rem;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .feature-box {
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
  }

  .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }

  .feature-box i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }

  .feature-box h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .feature-box p {
    color: var(--text-gray);
    font-size: 0.875rem;
  }

  .matrix-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }

  /* AI直播解决方案特有样式 */
  .solutions .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
  }

  .solutions .feature-box {
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    text-align: center;
    height: 100%;
    border: 1px solid #f0f0f0;
  }

  .solutions .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
  }

  .solutions .feature-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
  }

  .solutions .feature-box h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
  }

  .solutions .feature-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .solutions .feature-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .solutions .feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
  }

  .solutions .feature-icon {
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    background: #f9f7ff;
    border-radius: 50%;
    border: 1px solid #f9f7ff;
  }

  .solutions .feature-icon img {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .solutions .feature-icon .icon-default {
    opacity: 1;
  }

  .solutions .feature-icon .icon-hover {
    opacity: 0;
  }

  .solutions .feature-box:hover .feature-icon .icon-default {
    opacity: 0;
  }

  .solutions .feature-box:hover .feature-icon .icon-hover {
    opacity: 1;
  }

  /* 弹框样式 */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .modal.show {
    display: flex;
    opacity: 1;
  }

  /* .dialog__content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    margin: auto;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
  }

  .dialog--open .dialog__content {
    transform: translateY(0);
  } */

  /* 下载弹框样式 */
  .download-modal {
    margin: auto;
    max-width: 600px;
    width: 90%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    padding: 2rem;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
  }

  .download-modal .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
  }

  .download-modal .close-btn:hover {
    color: #333;
  }

  .download-modal .modal-body {
    display: flex;
    gap: 2rem;
    justify-content: center;
  }

  .download-modal .platform-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
  }

  .download-modal .platform-icon {
    margin-bottom: 1rem;
  }

  .download-modal .platform-icon i {
    font-size: 3rem;
    color: #2d3949;
  }

  .download-modal .platform-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #2d3949;
    margin-bottom: 1.5rem;
  }

  .download-modal .download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .download-modal .download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 400;
    border-radius: 9999px;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
  }

  .download-modal .download-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
  }

  .download-modal .download-button i {
    font-size: 1rem;
  }

  /* 客户案例标签页样式 */
  .success-case-section {
    padding-top: 4rem;
  }

  .tab-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
  }

  .tab-btn {
    padding: 0.5rem 0;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.1rem;
    padding: 0 20px;
  }

  .tab-btn::after {
    content: "";
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }

  .tab-btn:hover {
    color: var(--primary-color);
  }

  .tab-btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .tab-btn.active {
    color: var(--primary-color);
  }

  .tab-btn.active::after {
    transform: scaleX(1);
  }

  .tab-content {
    position: relative;
    min-height: 400px;
  }

  .tab-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
  }

  .tab-item.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .case-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    padding: 2rem;
  }

  .case-image {
    border-radius: 0.5rem;
    overflow: hidden;
    max-height: 20rem;
  }

  .case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .case-item:hover .case-image img {
    transform: scale(1.05);
  }

  .case-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .case-text h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
  }

  .case-text p {
    color: var(--text-gray);
    line-height: 1.6;
  }

  .case-bg,
  .case-plan,
  .case-result {
    position: relative;
    padding-left: 1.5rem;
  }

  .case-bg::before,
  .case-plan::before,
  .case-result::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
  }

  .more-cases {
    text-align: center;
    margin-top: 3rem;
  }

  .more-cases a::after {
    content: "→";
    transition: transform 0.3s ease;
  }

  .more-cases a:hover::after {
    transform: translateX(4px);
  }
  @media (min-width: 1024px) {
    .hero-image {
      height: 500px;
    }
  }
  /* 响应式设计 */
  @media (max-width: 1024px) {
    .hero-content {
      grid-template-columns: 1fr;
      gap: 2rem;
      text-align: center;
    }

    .hero-buttons {
      flex-direction: column;
      align-items: center;
    }
    .btn {
      width: 100%;
      max-width: 300px;
      text-align: center;
    }
    .hero-text {
      max-width: 100%;
    }

    .solution-image,
    .hero-image {
      max-width: 400px;
      margin: 0 auto;
    }

    .hero h1 {
      font-size: 3rem;
    }

    .solutions .feature-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    .hero {
      padding-top: 6rem;
      padding-bottom: 3rem;
    }

    .hero h1 {
      font-size: 2rem;
    }

    .section-title {
      font-size: 1.9rem;
    }

    .hero p {
      font-size: 1rem;
    }

    .solution-image,
    .hero-image {
      max-width: 300px;
    }

    .tab-buttons {
      gap: 1rem;
      padding-bottom: 0.5rem;
    }

    .tab-btn {
      font-size: 1rem;
      padding: 0.25rem 0;
    }

    .tab-btn::after {
      bottom: -0.5rem;
    }

    .case-text h3 {
      font-size: 1.25rem;
    }

    .more-cases {
      margin-top: 2rem;
    }

    .solutions .feature-grid {
      grid-template-columns: 1fr;
    }

    .solutions .feature-box {
      padding: 1.5rem;
    }

    .download-modal {
      padding: 1.5rem;
    }

    .download-modal .modal-body {
      flex-direction: column;
    }

    .download-modal .platform-section {
      padding: 1rem 0;
    }

    .download-modal .download-button {
      min-width: 100%;
    }
  }

  @media (max-width: 640px) {
    .case-item {
      grid-template-columns: 1fr;
    }
  }
}
.casepage {
  .cases-container {
    padding: 80px 0;
    min-height: calc(100vh - 200px);
  }

  .cases-wrapper {
    display: flex;
    gap: 40px;
    position: relative;
  }

  .cases-tabs {
    flex: 0 0 240px;
    position: sticky;
    top: 100px;
    height: fit-content;
  }

  .cases-content {
    flex: 1;
  }

  .tab-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    text-align: left;
    background: none;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    position: relative;
  }

  .tab-btn:hover {
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary-color);
  }

  .tab-btn.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    font-weight: 500;
  }

  .tab-btn.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 0 4px 4px 0;
  }

  .tab-item {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .tab-item.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
  }

  .case-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    padding-bottom: 40px;
  }

  .case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
  }

  .case-brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 20px 0 20px;
  }

  .case-image {
    max-width: 100px;
    height: 70px;
    position: relative;
    /* background: #f8f9fa; */
    overflow: hidden;
  }

  .case-image img {
    width: 100%;
    max-height: 70px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .case-card:hover .case-image img {
    transform: scale(1.05);
  }

  .case-content {
    padding: 20px;
  }

  .case-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
  }

  .case-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 12px;
    margin-top: 8px;
    position: absolute;
    bottom: 16px;
    left: 20px;
  }

  @media (max-width: 1024px) {
    .cases-wrapper {
      flex-direction: column;
      gap: 24px;
    }

    .cases-tabs {
      flex: none;
      position: relative;
      top: 0;
      width: 100%;
    }

    .tab-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      padding: 0;
      margin: 0;
      width: 100%;
    }

    .tab-btn {
      flex: 0 0 auto;
      width: auto;
      margin: 0;
      padding: 12px 20px;
      text-align: center;
      border-radius: 8px;
      background: #f8f9fa;
      border: 1px solid #e5e7eb;
    }

    .tab-btn:hover {
      background: rgba(37, 99, 235, 0.05);
      border-color: rgba(37, 99, 235, 0.2);
    }

    .tab-btn.active {
      background: rgba(37, 99, 235, 0.1);
      border-color: var(--primary-color);
    }

    .tab-btn.active::before {
      display: none;
    }
  }

  @media (max-width: 600px) {
    .cases-container {
      padding: 40px 0;
    }

    .tab-buttons {
      flex-direction: column;
    }

    .tab-btn {
      width: 100%;
      text-align: left;
    }

    .case-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .case-content {
      padding: 16px;
    }

    .tab-btn {
      padding: 10px 16px;
      font-size: 14px;
    }
  }

  /* 确保内容在过渡时不会影响布局 */
  .tab-content {
    min-height: 200px;
    position: relative;
  }

  .tab-item {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
  }

  .tab-item.active {
    position: relative;
  }

  /* 添加从 cases.js 移过来的样式 */
  .case-fallback {
    width: 70px;
    height: 70px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    border-radius: 50%;
    line-height: 1.4;
    text-align: center;
  }

  .case-fallback span {
    display: block;
  }

  .video-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #f5f5f5;
    border: none;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 16px;
    right: 20px;
  }

  .video-btn:hover {
    background: #e0e0e0;
  }

  .video-btn i {
    margin-right: 6px;
  }
}

.aboutpage {
  .about-hero {
    color: var(--dark-color);
    padding: 80px 0 0px;
    position: relative;
    overflow: hidden;
  }

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

  .about-hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
  }

  .about-hero h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
  }

  .about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--dark-color);
  }

  .mission-vision {
    padding: 80px 0;
  }

  .mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
  }

  .mission-card,
  .vision-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .mission-card:hover,
  .vision-card:hover {
    transform: translateY(-5px);
  }

  .card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
  }

  .mission-card h3,
  .vision-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
  }

  .mission-card p,
  .vision-card p {
    color: var(--dark-color);
    line-height: 1.8;
    font-size: 1.1rem;
  }

  .company-culture {
    padding: 40px 0;
    /* background: #f5f7fa; */
  }

  .culture-content {
    line-height: 1.9;
    /* color: #666; */
  }

  .culture-image {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .culture-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: var(--border-radius);
  }

  .culture-text p {
    color: var(--dark-color);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .culture-content {
    margin: 0 auto;
  }
  .culture-content p {
    display: flex;
    text-indent: 2em;
  }
  .culture-content .label {
    font-weight: bold;
    color: #333;
    display: inline-block;
    /* width: 70px; */
    /* text-align: right; */
    text-indent: 0;
  }
  .culture-content .content {
    display: inline-block;
    width: calc(100% - 100px);
    text-align: left;
    text-indent: 0;
  }

  @media (max-width: 600px) {
    .about-hero {
      padding: 40px 0;
    }

    .about-hero-content {
      flex-direction: column;
      text-align: center;
    }

    .about-hero-text {
      text-align: center;
    }

    .about-hero h1 {
      font-size: 2.5rem;
    }

    .partners-logos {
      gap: 20px;
    }

    .partners-logos img {
      max-width: 120px;
    }
  }

  /* 添加新的样式 */
  .service-core {
    padding: 20px 0;
    background: #fff;
  }

  .service-core .section-title {
    font-size: 25px;
    text-align: left;
  }

  .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
  }

  .service-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid #f0f0f0;
  }

  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .service-card-content {
    flex: 1;
    margin-right: 24px;
  }

  .service-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
  }

  .service-card:nth-child(1) .service-icon-wrapper {
    background: rgba(255, 148, 148, 0.1);
  }

  .service-card:nth-child(2) .service-icon-wrapper {
    background: rgba(100, 169, 255, 0.1);
  }

  .service-card:nth-child(3) .service-icon-wrapper {
    background: rgba(255, 184, 0, 0.1);
  }

  .service-card:nth-child(4) .service-icon-wrapper {
    background: rgba(87, 202, 132, 0.1);
  }

  .service-icon {
    font-size: 24px;
    color: #333;
  }

  .service-card:nth-child(1) .service-icon {
    color: #ff9494;
  }

  .service-card:nth-child(2) .service-icon {
    color: #64a9ff;
  }

  .service-card:nth-child(3) .service-icon {
    color: #ffb800;
  }

  .service-card:nth-child(4) .service-icon {
    color: #57ca84;
  }

  .service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
  }

  .service-text {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
  }

  @media (max-width: 768px) {
    .service-grid {
      grid-template-columns: 1fr;
    }
    .service-card {
      margin: 0 16px;
    }
  }
}
/* modal css */
.video-modal {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.video-modal.active {
  display: block;
}

.phone-frame {
  background: #111;
  border-radius: 30px;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.phone-header {
  height: 24px;
  background: #000;
  border-radius: 20px 20px 0 0;
  position: relative;
}

.phone-header::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 8px;
  background: #222;
  border-radius: 4px;
}

.phone-content {
  width: 300px;
  height: 600px;
  background: #000;
  overflow: hidden;
}

.phone-content video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-footer {
  height: 40px;
  background: #000;
  border-radius: 0 0 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-video {
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: #666;
  border-radius: 100px;
  background: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
  font-size: 18px;
}

.close-video:hover {
  color: var(--primary-color);
}

/* dialog基础样式 */
.dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 1000;
}

.dialog__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.dialog__container {
  position: relative;
  background: white;
  width: 80%;
  max-width: 600px;
  margin: 10rem auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s ease;
}

/* 打开状态 */
.dialog--open {
  display: block;
}

.dialog--open .dialog__container {
  transform: translateY(0);
  opacity: 1;
}

/* 响应式 */
@media (max-width: 768px) {
  .dialog__container {
    width: 95%;
    margin: 1rem auto;
  }
}
.download-modal {
  max-width: 800px;
  width: 90%;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  padding: 2rem;
  position: relative;
}

.download-modal .dialog__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.download-modal .dialog__close:hover {
  color: #333;
}

.download-modal .dialog__content {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.download-modal .platform-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.download-modal .platform-icon {
  margin-bottom: 1rem;
}

.download-modal .platform-icon i {
  font-size: 3rem;
  color: #2d3949;
}

.download-modal .platform-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: #2d3949;
  margin-bottom: 1.5rem;
}

.download-modal .download-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.download-modal .download-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  font-weight: 400;
  border-radius: 9999px;
  transition: all 0.3s ease;
  min-width: 180px;
  justify-content: center;
}

.download-modal .download-button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.download-modal .download-button i {
  font-size: 1rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 添加呼吸灯效果 */
.breathing-text {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.breathing-light {
  position: relative;
  width: 12px;
  height: 12px;
  /* margin-left: 10px; */
}

.breathing-light::before,
.breathing-light::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.breathing-light::before {
  width: 12px;
  height: 12px;
  background-color: var(--warning-color);
  opacity: 0.3;
  animation: pulse 3s ease-in-out infinite;
}

.breathing-light::after {
  width: 6px;
  height: 6px;
  background-color: var(--warning-color);
  opacity: 0.6;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0.1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
}
