html {
  scroll-padding-top: 81px;
}

html, body {
  scroll-behavior: smooth; 
}

.sidebar-nav {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}

.sidebar-nav.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.sidebar-toggle {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.sidebar-toggle:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.sidebar-toggle svg {
  color: #333;
  transition: color 0.3s ease;
}

.sidebar-content {
  position: absolute;
  top: 60px;
  left: 0px;
  width: 200px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(20px);
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.sidebar-nav.collapsed .sidebar-content {
  transform: translateX(-20px);
  opacity: 0;
  visibility: hidden;
}

.sidebar-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.sidebar-close {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border: none;
}

.sidebar-close:active {
    border: none;
}


.sidebar-close:focus {
  outline: none; 
  box-shadow: none;
}

.sidebar-close svg {
  color: #666;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-menu li:last-child {
  border-bottom: none;
}

.sidebar-menu a {
  display: block;
  padding: 16px 24px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

.sidebar-menu a:hover {
  background-color: rgba(144, 58, 230, 0.08);
  color: #903AE6;
  text-decoration: none;
}

.sidebar-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #903AE6;
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.sidebar-menu a:hover::before {
  transform: scaleY(1);
}

/* 响应式设计 */
/* @media (max-width: 768px) {
  .sidebar-nav {
    top: 15px;
    left: 15px;
  }
  
  .sidebar-toggle {
    width: 45px;
    height: 45px;
  }
  
  .sidebar-content {
    width: 260px;
    left: 55px;
  }
} */

/* @media (max-width: 480px) {
  .sidebar-content {
    width: calc(100vw - 90px);
    max-width: 280px;
  }
} */

.navbar-expand-lg .navbar-nav .dropdown-menu {
    z-index: 1021;
}


.navbarMainContent .navbar-nav .nav-item:first-child .nav-link {
    color: #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.navbar-light .navbar-nav .nav-link {
    color: #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.navbarMainContent {
    padding-top: 1.75rem;
    padding-bottom: 0.8125rem;
    background-color: #ffffff;
    box-shadow: none;
}

header {
    padding: 0 40px;
    padding-top: 60px;
    padding-bottom: 70px;
    background: var(--gradient, linear-gradient(270deg, #903AE6 0%, #055BCF 100%));
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(-30px);
    animation: headerFadeIn 1s ease forwards;
}

@keyframes headerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


header h1 {
    color: #ffffff;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 70px;
    margin-top: 0;
    margin-bottom: 30px;
}

.header-function {
    color: rgba(255, 255, 255, 0.90);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    gap: 100px;
    margin-bottom: 43px;
}



.header-function span {
    display: flex;
    align-items: center;
    gap: 5px;
}

header h2 {
    color: #FFFFFFE5;
    text-align: center;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    margin-bottom: 40px;
}

header h2 span {
    color: #FFFFFFE5;
    text-align: center;
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: 27px;
}

header .macos {
    width: 940px;
    height: 216px;
    flex-shrink: 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.40);
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 6px 28px 0 rgba(0, 122, 255, 0.18);
    padding: 30px;
    padding-bottom: 20px;
}

header .macos .col-3 {
    display: flex;
    align-items: center;
    justify-content: center;
}

header .macos ul {
    color: #141414;
    font-size: 15px;
    font-style: normal;
    font-weight: 510;
    line-height: 38px;
    /* 253.333% */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

header .macos ul li {
    list-style: disc;
    cursor: pointer;
}

header .macos ul li a {
    color: #141414;
}

.header-step .row {
    margin-left: 0;
    margin-right: 0;
}

.header-step {
    padding-top: 100px;
    padding-bottom: 80px;
    text-align: center;
}

.header-step-title {
    color: #141414;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.header-step-subtitle {
    color: #141414;
    text-align: center;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    /* 189.474% */
}

.header-step-desc {
    color: #2D3342;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    /* 178.571% */
    margin-bottom: 0;
}

.header-step-list {
    margin-top: 67px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}

.header-step-arrow {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 34px;
    margin-right: 30px;
}

.arrow-top {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background-color: #F7F9FD;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.arrow-down {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background-color: #E3EBF9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.header-step-list-left {
    gap: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 422px;
    margin-right: 50px;
}


.header-step-list-left-item-show {
    display: flex;
    align-items: center;
    text-align: left;
    color: #161C2D;
    font-size: 17px;
    font-style: normal;
    line-height: normal;
    border-radius: 28px;
    background: rgba(227, 235, 249, 0.30);
    max-width: 422px;
    flex-shrink: 0;
    padding: 30px 37px 30px 28px;
    cursor: pointer;
    overflow: hidden;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s ease;
    transform-origin: 0 50%;
    /* 左起点缩放 */
    will-change: transform, opacity;
    /* GPU加速 */
    opacity: 0;
    flex-direction: column;
    position: relative;
}

.header-step-list-left-item-show::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(68, 135, 237, 0.8) 0%, rgba(68, 135, 237, 0.6) 70%, transparent 100%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

.header-step-list-left-item-show.ripple-effect::before {
    animation: rippleAnimation 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes rippleAnimation {
    0% {
        width: 0;
        height: 0;
        top: 0;
        left: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        width: 600px;
        height: 600px;
        top: -150px;
        left: -150px;
        opacity: 0;
    }
}

.header-step-list-left-item-show>* {
    position: relative;
    z-index: 2;
}

.header-step-list-left-item-show.active {
    border-radius: 28px;
    background: #E3EBF9;
}



.header-step-list-left-item-show .short-text {
    color: #666;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    /* 166.667% */
}

.header-step-list-left-item-show .long-text {
    color: #141414;
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: 27px;
    /* 158.824% */
}

.header-step-list-left-item-show svg {
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    /* 文字过渡比div过渡更慢 */
}

.header-step-list-left-item-show.showing {
    transform: scaleX(1) scaleY(1);
    opacity: 1;
}

.header-step-list-left-item-show.showing .long-text {
    width: 357px;
    opacity: 1;
}

.header-step-list-right {
    position: relative;
    width: 739px;
    height: 447px;
    flex-shrink: 0;
    overflow: hidden;
}

.header-step-list-right img {
    position: absolute;
    top: 0;
    left: 0;
    width: 739px;
    height: 447px;
    flex-shrink: 0;
    border-radius: 20px;
    /* filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.40)); */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(0);
    opacity: 1;
}

.header-step-list-right img.slide-out-left {
    transform: translateX(-150px) !important;
    opacity: 0 !important;
}

.header-step-list-right img.slide-in-right {
    transform: translateX(150px) !important;
    opacity: 0 !important;
}

.header-step-list-right img.slide-in-active {
    transform: translateX(0) !important;
    opacity: 1 !important;
}

.header-step a {
    margin-top: 59px;
    margin-bottom: 56px;
}


.overview {
    background: rgba(68, 135, 237, 0.03);
    padding: 100px 0;
}

.overview h2 {
    color: #141414;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 30px;
}

.overview-subtitle {
    color: #141414;
    text-align: center;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    /* 189.474% */
    margin-bottom: 50px;
}

.installer-table {
    max-width: 1088px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.table-header {
    border-radius: 70px;
    background: #4487ED;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr 2fr;
    padding: 0;
}

.header-cell {
    padding: 20px 16px;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    justify-content: flex-start;
    text-align: left;
}

.header-cell:first-child {
    justify-content: center;
    text-align: center;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr 2fr;
    border-bottom: 1px dashed rgba(68, 135, 237, 0.50);
    ;
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell {
    padding: 20px 16px;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    /* 187.5% */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.table-cell:first-child {
    justify-content: center;
    text-align: center;
}

.file-type {
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

@media (max-width: 1380px) {
    .header-step {
        width: 100%;
    }
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .header-step-list {
        padding: 0 20px;
    }

    .header-step-list-content {
        gap: 40px;
    }

    .header-step-list-left {
        max-width: 500px;
    }

    .header-step-list-right {
        max-width: 400px;
    }
}

@media (max-width: 1200px) {
    .header-step-list {
        padding: 0 15px;
    }

    .header-step-list-content {
        gap: 30px;
        flex-direction: column;
        align-items: center;
    }

    .header-step-list-left {
        width: 100%;
        max-width: 600px;
        text-align: center;
    }

    .header-step-list-right {
        width: 100%;
        max-width: 500px;
    }
}

/* 表格滚动容器 */
.table-scroll-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
}

/* 在767px以下启用水平滚动 */
@media (max-width: 767px) {
  .table-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
  }
  
  .table-scroll-container::-webkit-scrollbar {
    height: 6px;
  }
  
  .table-scroll-container::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .table-scroll-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
  }
  
  .installer-table {
    min-width: 600px; /* 确保表格有足够宽度触发滚动 */
    display: table;
    width: 100%;
  }
  
  .table-header,
  .table-row {
    display: table-row;
    width: 100%;
  }
  
  .header-cell,
  .table-cell {
    display: table-cell;
    padding: 15px 10px;
    vertical-align: middle;
    white-space: nowrap; /* 防止文字换行 */
    min-width: 120px; /* 确保每列有最小宽度 */
  }
  
  .header-cell:first-child,
  .table-cell:first-child {
    min-width: 80px;
  }
  
  .header-cell:last-child,
  .table-cell:last-child {
    min-width: 150px;
  }
}
@media (max-width: 768px) {
    .installer-table {
        margin: 0 16px;
    }

    .table-header,
    .table-row {
        grid-template-columns: 1fr;
    }

    .header-cell,
    .table-cell {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        text-align: left;
        justify-content: flex-start;
    }

    .table-cell {
        border-bottom: 1px solid #f0f0f0;
    }

    .header-cell:before,
    .table-cell:before {
        font-weight: 600;
        margin-right: 10px;
        min-width: 100px;
        display: inline-block;
    }
}

.download-banner {
    padding: 54px 0;
    background: var(--banner, linear-gradient(270deg, #903AE6 0%, #055BCF 100%));
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-banner p {
    color: #FFF;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 46px;
    /* 176.923% */
    margin-bottom: 0;
    max-width: 858px;
    text-align: center;
    padding: 0 30px;
}

.download-banner p span {
    color: #FFF;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 46px;
}

.download-banner a {
    display: inline-flex;
    padding: 24px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0 6px 30px 0 rgba(59, 81, 203, 0.45);
    color: #075ACF;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    transition: all 0.3s;
}

.download-banner a:hover {
    box-shadow: 0 6px 30px 0 rgba(59, 81, 203, 0.80);
    text-decoration: none;
    color: #075ACF;
}

.download-btn {
    gap: 10px;
    display: inline-flex;
    padding: 24px 30px;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border-radius: 12px;
    background: #007AFF;
    box-shadow: 0 6px 30px 0 rgba(0, 122, 255, 0.44);
    transition: all 0.3s;
}

.download-btn:hover {
    box-shadow: 0 6px 30px 0 rgba(0, 122, 255, 0.80);
    text-decoration: none;
    color: white;
}

.macos-content {
    padding: 120px 0 70px 0;
}

.macos-list {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.macos-list:not(:last-child) {
    margin-bottom: 100px;
}

.macos-list h2 {
    color: #141414;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 60px;
}

.macos-list-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 958px;
    gap: 60px;
}

.macos-list-content-left {
    border-radius: 0 0 20px 30px;
    background: rgba(169, 128, 98, 0.10);
    width: 410px;
    /* height: 570px; */
    flex-shrink: 0;
    box-sizing: border-box;
    border-radius: 20px;
}

.macos-list-content-left-1 {
    background: rgba(231, 242, 250, 0.60);
}

.macos-list-content-left-2 {
    background: rgba(166, 126, 160, 0.10);
}

.macos-list-content-left-3 {
    background: rgba(123, 159, 63, 0.10);
}

.macos-list-content-left-4 {
    background: rgba(253, 149, 28, 0.10);
}

.macos-list-content-left-5 {
    background: rgba(209, 116, 243, 0.10);
}

.macos-list-content-left-6 {
    background: rgba(247, 104, 156, 0.10);
}

.macos-list-content-top {
    text-align: center;
}

.macos-list-content-top img {
    width: 100%;
}

.macos-list-content-bottom {
    padding: 22px 46px 36px 34px;
    min-height: 370px;
}

.release-info .info-item {
    font-size: 14px;
    line-height: 1.4;
}

.release-info .label {
    color: #000;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
    /* 200% */
}

.release-info .value {
    color: #000;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.mac-list {
    padding-left: 0;
}

.mac-item {
    color: #000;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.release-info a {
    color: #007AFF;
    text-decoration: none;
}

.release-info a:hover {
    text-decoration: underline;
}

.macos-list-content-right {
    flex: 1;
}

.download-section h3 {
    color: #000;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.official-section {
    margin-bottom: 40px;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: white;
    padding: 11px 26px 13px 18px;
    border-radius: 10px;
    text-decoration: none;
    gap: 15px;
    transition: all 0.3s;
    min-width: 260px;
}

.app-store-btn:hover {
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.30);
}

.app-store-btn.disabled {
    cursor: not-allowed;
}

.app-store-btn.disabled:hover {
    box-shadow: none;
    cursor: not-allowed;
}

.btn-text-small {
    color: #FFF;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.btn-text-large {
    color: #FFF;
    font-size: 21px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px;
}

.other-sources {
    margin-bottom: 42px;
}

.download-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.download-btn-green {
    border-radius: 8px;
    background: linear-gradient(180deg, #00D66D 0%, #01B75D 100%);
    color: #FFF;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: inline-flex;
    padding: 10px 16px 13px 16px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    min-height: 60px;
    min-width: 260px;
}

.download-btn-green:hover {
    color: #FFF;
    text-decoration: none;
    box-shadow: 0 6px 16px 0 rgba(0, 191, 97, 0.50);
}

.download-btn-green span {
    font-size: 13px;
}

.download-btn-green strong {
    font-size: 14px;
}

/* .guides-section {
    padding-top: 20px;
} */

.guide-item:first-child {
    margin-bottom: 40px;
}

.guide-item h4 {
    color: #000;
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 10px;
}

.guide-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 13px;
}

.guide-item li {
    margin-bottom: 0px;
}

.guide-item a {
    color: #007AFF;
    text-decoration: none;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.guide-item a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .macos-list-content {
        flex-direction: column;
        max-width: 100%;
        padding: 0 20px;
    }

    .macos-list-content-left {
        width: 100%;
        border-radius: 20px 20px 0 0;
        margin-bottom: 0;
    }

    .macos-list-content-right {
        width: 100%;
        border-radius: 0 0 20px 20px;
    }

    .download-buttons {
        grid-template-columns: 1fr;
    }

    .macos-list h2 {
        font-size: 36px;
    }
}

.macos-old {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 100px;
    padding-bottom: 30px;
    background: linear-gradient(180deg, #F8F8F8 0%, #FFF 100%);
}

.macos-old h2 {
    color: #141414;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 30px;
}

.macos-old h3 {
    color: #141414;
    text-align: center;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    /* 189.474% */
    width: 821px;
    margin-bottom: 80px;
}

.macos-old-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
}

/* #oldmacos-4-download-buttons .download-btn-green:nth-child(1) strong {
    font-size: 12px;
} */


.macos-old-content-right {
    flex: 1;
    text-align: start;
    max-width: 488px;
}

.macos-old-content-right h4 {
    color: #000;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 32px;
}

.macos-old-content-right .p1 {
    color: #000;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 40px;
}

.macos-old-content-right .first-p1 {
    margin-bottom: 50px;
}



.macos-old-content-right .p2 {
    color: #000;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 12px;
}


.macos-old-content-right h3 {
    text-align: start;
}

.macos-old-content-right .other-sources {
    margin-bottom: 70px;
}

.download-btn-green p {
    color: #FFF;
    text-align: center;
    font-size: 19px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0;
}

.how-to {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.how-to-1 {
    padding-top: 100px;
    padding-bottom: 40px;
    background: rgba(68, 135, 237, 0.03);
}

.how-to h2 {
    color: #141414;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 30px;
}

.how-to h3 {
    color: #141414;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    margin-bottom: 46px;
    text-align: center;
}

.how-to h3 a {
    color: #007AFF;
    text-align: center;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    /* 189.474% */
    text-decoration: underline;
}

.how-to-content {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    max-width: 600px;
    width: 100%;
    margin-bottom: 44px;
    margin-left: 100px;
}

.how-to-content-right p {
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    /* 180% */
}

.how-to-content-right ul {
    padding-left: 20px;
}

.how-to-content-right li {
    list-style: disc;
    color: #141414;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    /* 240% */
}

.how-to-2 {
    padding-top: 100px;
    padding-bottom: 40px;
    background: linear-gradient(180deg, #D4CAF0 0%, #FFF 100%);
}

.how-to-3 {
    padding-top: 100px;
    padding-bottom: 40px;
    background: linear-gradient(180deg, #8ED2FF 0%, #FFF 100%);
}

.faq {
    background: #F2F2F2;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.faq h2 {
    color: #141414;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 60px;
}

.faq-card {
    max-width: 940px;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px 40px 40px 32px;
    align-items: flex-start;
    gap: 14px;
    border-radius: 8px;
    background: var(--Background-bg-primary, #FFF);
    margin: 0 auto;
    margin-bottom: 14px;
}

.faq-card-question {
    color: #141414;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    /* 26.4px */
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 14px;
}

.faq-card p {
    margin-bottom: 0;
    flex: 1;
}

.faq-card svg {
    min-width: 31px;
}

.faq-card-answer {
    color: #555;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    /* 23.8px */
    width: 100%;
    opacity: 1;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 14px;
}

.faq-card-answer-content {
    flex: 1;
    max-width: 806px;
}

.faq-card-answer p:not(:last-child) {
    margin-bottom: 21px;
}

.faq-card-answer ol {
    counter-reset: item;
    padding-left: 0;
    margin: 0;
}

.faq-card-answer ol li {
    display: block;
    padding-left: 25px;
    position: relative;
}

.faq-card-answer ol li:not(:last-child) {
    margin-bottom: 21px;
}

.faq-card-answer ol li:before {
    content: counter(item) ".";
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    color: #555;
    font-size: 17px;
}

.faq-card-show {
    width: 3px;
    height: 20px;
    background: #333;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

/* 响应式设计 */

/* 1400px 断点 - 保持横向布局 */
@media (max-width: 1400px) {
    .header-step {
        padding: 80px 20px 60px;
    }

    .header-step-title {
        font-size: 42px;
    }

    .header-step-list {
        padding: 0 20px;
    }

    .header-step-list-left {
        width: 422px;
    }

    .header-step-list-right {
        width: 50%;
        max-width: 550px;
        height: 330px;
    }

    .header-step-list-right img {
        width: 100%;
        height: 330px;
        object-fit: cover;
    }

    .macos-old {
        padding: 80px 20px 30px;
    }

    .macos-old h2 {
        font-size: 42px;
    }

    .macos-old h3 {
        width: 90%;
        max-width: 700px;
    }

    .overview {
        padding: 80px 20px;
    }

    .overview h2 {
        font-size: 42px;
    }

    .how-to h2 {
        font-size: 42px;
    }

    .how-to-content {
        margin-left: 50px;
        max-width: 600px;
    }
}

/* 1200px 断点 */
@media (max-width: 1200px) {
    .header-step-list {
        gap: 40px;
    }
    .download-banner {
        flex-direction: column;
    }

    .macos-list-content {
        flex-direction: column;
    }

    .macos-old-content {
        gap: 20px;
        padding: 0 20px;
    }

    .how-to-content {
        margin-left: 20px;
    }
}

/* 1024px 断点 - 切换为竖向布局 */
@media (max-width: 1024px) {
    .header-step-list-left {
        margin-right: 0;
    }
    .header-step {
        padding: 70px 20px 50px;
    }

    .header-step-title {
        font-size: 38px;
    }

    .header-step-list {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .header-step-list-left {
        max-width: 500px;
        text-align: center;
    }

    .header-step-list-right {
        width: 100%;
        max-width: 500px;
        height: 300px;
    }

    .header-step-list-right img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .header-step-arrow {
        display: none;
    }
}

/* 992px 断点 */
@media (max-width: 992px) {
    .header-step {
        padding: 60px 15px 40px;
    }

    .header-step-title {
        font-size: 36px;
    }

    .header-step-subtitle {
        font-size: 17px;
        line-height: 32px;
    }

    .header-step-desc {
        font-size: 24px;
        line-height: 42px;
    }

    .header-step-list-right {
        height: 280px;
        max-width: 450px;
    }

    .header-step-list-right img {
        height: auto;
        object-fit: cover;
    }

    .macos-old h2 {
        font-size: 36px;
    }

    .macos-old h3 {
        font-size: 17px;
        line-height: 32px;
    }

    .overview h2 {
        font-size: 36px;
    }

    .how-to h2 {
        font-size: 36px;
    }

    .how-to h3 {
        font-size: 17px;
        line-height: 32px;
    }
}

/* 768px 断点 */
@media (max-width: 768px) {
    .table-header {
        border-radius: 0;
    }

    .installer-table {
        border-radius: 0;
    }

    .header-step-list-left-item-show {
        text-align: center;
    }

    .header-step {
        padding: 50px 15px 30px;
    }

    .header-step-title {
        font-size: 32px;
    }

    .header-step-subtitle {
        font-size: 16px;
        line-height: 28px;
    }

    .header-step-desc {
        font-size: 20px;
        line-height: 36px;
    }

    .header-step-list {
        margin-top: 40px;
        padding: 0;
    }

    .header-step-list-right {
        height: 300px;
        max-width: 400px;
    }

    .header-step-list-right img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .how-to-content-right ul {
        padding-left: 0px;
    }

    .how-to-content {
        margin-left: 10px;
        flex-direction: column;
        gap: 15px;
    }

    .download-banner {
        flex-direction: column;
    }

    .header-cell:first-child {
        text-align: left;
    }

    .table-cell:first-child {
        justify-content: start;
        text-align: left;
    }

    .macos-old {
        padding: 50px 15px 30px;
    }

    .macos-old h2 {
        font-size: 32px;
    }

    .macos-old h3 {
        width: 100%;
        font-size: 16px;
        line-height: 28px;
    }

    .macos-old-content {
        flex-direction: column;
        gap: 30px;
    }

    .macos-old-content-right {
        max-width: 100%;
    }

    .overview {
        padding: 50px 15px;
    }

    .overview h2 {
        font-size: 32px;
    }

    .how-to-1,
    .how-to-2,
    .how-to-3 {
        padding: 50px 15px 30px;
    }

    .how-to h2 {
        font-size: 32px;
    }

    .how-to h3 {
        font-size: 16px;
        line-height: 28px;
    }
}

/* 576px 断点 */
@media (max-width: 576px) {
    header h1 {
    font-size: 30px;
}
.header-function {
    gap: 30px;
}
    .download-btn {
        width: 90%;
    }
    .header-step .download-btn {
        width: 100%;
    }
    .how-to-content-right li {
        list-style: none;
    }
    .header-step-list-left {
        width: 100%;
    }
    .header-step {
        padding: 40px 10px 20px;
    }

    .header-step-title {
        font-size: 28px;
    }

    .header-step-subtitle {
        font-size: 15px;
        line-height: 26px;
    }

    .header-step-desc {
        font-size: 18px;
        line-height: 32px;
    }

    .header-step-list {
        margin-top: 30px;
    }

    .header-step-list-right {
        /* height: 200px; */
        max-width: 100%;
    }

    .header-step-list-right img {
        height: auto;
        object-fit: cover;
    }

    .header-step-list-left-item {
        width: 100%;
        max-width: 300px;
    }

    .header-step-list-left-item-show {
        max-width: 100%;
        padding: 20px 25px 20px 20px;
    }

    .macos-old {
        padding: 40px 10px 20px;
    }

    .macos-old h2 {
        font-size: 28px;
    }

    .macos-old h3 {
        font-size: 15px;
        line-height: 26px;
    }

    .macos-old-content-right h4 {
        font-size: 24px;
    }

    .overview {
        padding: 40px 10px;
    }

    .overview h2 {
        font-size: 28px;
    }

    .how-to-1,
    .how-to-2,
    .how-to-3 {
        padding: 40px 10px 20px;
    }

    .how-to h2 {
        font-size: 28px;
    }

    .how-to h3 {
        font-size: 15px;
        line-height: 26px;
    }

    .how-to-content {
        padding-left: 30px;
        padding-right: 30px;
        margin-left: 0px;
        max-width: 100%;
    }

    .how-to-content-right p {
        font-size: 18px;
        line-height: 32px;
    }

    .how-to-content-right li {
        font-size: 14px;
        line-height: 32px;
    }
}