 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
        
        body {
             width: 100%;
             background-color: #ffffff;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
             justify-content: center; /* 水平居中 */
        }
        
        .container {
            /* max-width: 1200px; */
            width: 100%;
            margin: 0 auto;
        }
        
        header {
            max-width: 1200px;
            background-color: #FFFFFF;
            height: 120px;
            width: 100%;
            /* border-radius: 12px; */
            /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); */
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 40px;
            position: relative;
            overflow: hidden;
               margin: 0 auto;  /* 关键：水平居中 */
        }
        
        .logo {
            font-size: 24px;
            font-weight: 600;
            color: #333333;
            display: flex;
            align-items: center;
        }
        
        .logo-icon {
            width: 64px;
            height: 64px;
            background-image: url('https://s3.eu-central-1.amazonaws.com/igoodhabit.com/img/icon.png');
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
          
              background-size: cover; /* 确保图片覆盖整个div */
  background-position: center; /* 图片居中显示 */
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-left: 20px;
            position: relative;
        }
        
        .nav-links a {
            text-decoration: none;
            color: #333333;
            font-size: 20px;
            font-weight: 600;
            padding: 10px 15px;
            border-radius: 8px;
            transition: all 0.3s ease;
            display: block;
            position: relative;
        }
        
        .nav-links a:hover {
            background-color: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
            color: #333333;
        }
        
        .nav-links a.active {
            color: #333333;
        }
        
        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            height: 3px;
            background: linear-gradient(90deg, #333333, #333333);
            border-radius: 2px;
        }
        
        .hamburger {
            display: none;
            cursor: pointer;
            background: none;
            border: none;
            outline: none;
        }
        
        .hamburger span {
            display: block;
            width: 30px;
            height: 3px;
            background-color: #333333;
            margin: 6px 0;
            border-radius: 3px;
            transition: all 0.3s ease;
        }
        
        /* 装饰元素 */
        .decoration {
            position: absolute;
            z-index: 0;
        }
        
        .circle {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: rgba(52, 152, 219, 0.1);
            top: -20px;
            right: 100px;
        }
        
        .triangle {
            width: 0;
            height: 0;
            border-left: 40px solid transparent;
            border-right: 40px solid transparent;
            border-bottom: 70px solid rgba(142, 68, 173, 0.08);
            bottom: 0;
            left: 50px;
        }
        
        /* 内容区域样式 */
        .content {
            margin-top: 0px;
            text-align: center;
            width: 100%;
            height: 658px;
            background-color: #F35756;
            overflow: hidden;
        }
        
         .content span {
            font-size: 44px;
            font-weight: 600;
            color: #FFFFFF;
            display: inline-block; /* 或 display: block; */
            align-items: center;
            margin-top: 30px;
        
        }

        .content p {
            width: 907px;
            align-items: center;
            color: #FFFFFF;
            font-size: 24px;
            line-height: 1.4;
            margin: 0 auto 0px; /* 上下边距 0，左右自动（居中），下边距 30px */
                margin-top: 20px;
        }
        
        .content div {
                width: 482px;
                align-items: center;
            height: 481px;
                margin: 0 auto 30px; /* 上下边距 0，左右自动（居中），下边距 30px */

            background-image: url('https://s3.eu-central-1.amazonaws.com/igoodhabit.com/img/2.png');
            justify-content: center;
         background-size: contain; /* 图片完整显示，不裁剪 */
    background-position: center;
    background-repeat: no-repeat;
        }
        

        .highlight {
            background: linear-gradient(120deg, rgba(52, 152, 219, 0.2), rgba(142, 68, 173, 0.2));
            padding: 3px 8px;
            border-radius: 5px;
            font-weight: 600;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            header {
                padding: 0 20px;
            }
            
            .hamburger {
                display: block;
                z-index: 10;
            }
            
            .nav-links {
                position: absolute;
                top: 120px;
                right: 0;
                width: 100%;
                background-color: #E9EDF4;
                flex-direction: column;
                align-items: center;
                padding: 20px 0;
                clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
                transition: all 0.5s ease;
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            }
            
            .nav-links.active {
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            }
            
            .nav-links li {
                margin: 15px 0;
            }
            
            .circle {
                display: none;
            }
        }

.d1{
        
    margin-top: 0px;
    text-align: center;
    width: 100%;
    height: 760px;
    background-color: #E9E9F1;    
       overflow: hidden;
}

.d1 p{
    width: 907px;
    align-items: center;
    color: rgba(0, 0, 0, 0.5);
    font-size: 28px;
    line-height: 1.4;
    margin: 0 auto 0px; /* 上下边距 0，左右自动（居中），下边距 30px */
    margin-top: 30px;         
}

.d2 {
    overflow: hidden; 
    width: 1290px;
    align-items: center;
    height: 610px;
    margin: 0 auto 30px; /* 上下边距 0，左右自动（居中），下边距 30px */
    display: flex; /* 启用 Flexbox 布局 */
    justify-content: center; /* 水平居中排列 */
    align-items: flex-end; /* 子元素与父容器底部对齐 */
    gap: 20px; /* 可选：控制子元素之间的间距 */
}

.d2 div {
    width: 400px; /* 假设每个子 div 宽度为 400px（可根据需求调整） */
    height: 482px; /* 固定高度 */
}

.d2 div:nth-child(1) {
   
background-image: url('https://s3.eu-central-1.amazonaws.com/igoodhabit.com/img/3.png');
 background-size: contain; /* 图片完整显示，不裁剪 */
    background-position: center;
    background-repeat: no-repeat;
}

.d2 div:nth-child(2) {
    margin-bottom: 80px; /* 中间 div 距离底部 20px */
    background-image: url('https://s3.eu-central-1.amazonaws.com/igoodhabit.com/img/4.png');
 background-size: contain; /* 图片完整显示，不裁剪 */
    background-position: center;
    background-repeat: no-repeat;
}

.d2 div:nth-child(3) {
   background-image: url('https://s3.eu-central-1.amazonaws.com/igoodhabit.com/img/5.png');
 background-size: contain; /* 图片完整显示，不裁剪 */
    background-position: center;
    background-repeat: no-repeat;
}

.d3 {
 
    width: 1139px;
    height: 779px;
    align-items: center;
    margin: 0 auto 30px; /* 上下边距 0，左右自动（居中），下边距 30px */
     margin-top: 30px;  
    justify-content: center; /* 水平居中排列 */
     background-image: url('https://s3.eu-central-1.amazonaws.com/igoodhabit.com/img/6.png');
 background-size: contain; /* 图片完整显示，不裁剪 */
    background-position: center;
    background-repeat: no-repeat;
}

.d4{
    width: 1200px;
    height: 926px;
    align-items: center;
    margin: 0 auto 30px; /* 上下边距 0，左右自动（居中），下边距 30px */
    margin-top: 30px; 
    justify-content: center; /* 水平居中排列 */ 
}

.d4 p{
     width: 1200px;
     text-align: center;
    align-items: center;
    color: rgba(0, 0, 0, 1);
    font-size: 48px;
    margin: 0 auto 0px; /* 上下边距 0，左右自动（居中），下边距 30px */
    margin-top: 30px;   
}
.d4 div{
    width: 976px;
    height: 830px;
    align-items: center;
   margin-left: 60px;
     margin-top: 30px;  
    justify-content: center; /* 水平居中排列 */
     background-image: url('https://s3.eu-central-1.amazonaws.com/igoodhabit.com/img/7.png');
 background-size: contain; /* 图片完整显示，不裁剪 */
    background-position: center;
    background-repeat: no-repeat;
}

.d5{
    width: 1200px;
    height: 600PX;
    align-items: center;
    margin: 0 auto 30px; /* 上下边距 0，左右自动（居中），下边距 30px */
    margin-top: 30px; 
    justify-content: center; /* 水平居中排列 */ 
}

.d5p1{
     width: 1200px;
     text-align: center;
    align-items: center;
    color: rgba(0, 0, 0, 1);
    font-size: 48px;
    margin: 0 auto 0px; /* 上下边距 0，左右自动（居中），下边距 30px */
    margin-top: 30px;   
}

.d5p2{
    width: 432px;
    align-items:start;
    color: rgba(0, 0, 0, 1);
    font-size: 32;
    margin-top: 30px;   
}
 .text-input1 {
    margin-top: 10px;
            width: 1200px;
            height: 300px;
            border: 2px solid #000;
            border-radius: 8px;
            padding: 10px;
            font-size: 16px;
            box-sizing: border-box; /* Ensures padding doesn't add to total width/height */
        }
 .text-input2 {
    margin-top: 10px;
            width: 1200px;
            height: 80px;
            border: 2px solid #000;
            border-radius: 8px;
            padding: 10px;
            font-size: 16px;
            box-sizing: border-box; /* Ensures padding doesn't add to total width/height */
        }

.submit-btn {
            width: 240px;
            height: 64px;
            background: #F35756;
            color: white;
            border: none;
            border-radius: 37px;
            font-size: 26px;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.3s;
             /* display: block; 
               justify-content: center; 
                 align-items: center; */

                     position: absolute;
    left: 50%;
    transform: translateX(-50%); /* 向左平移自身宽度的一半 */
        }
        
        .submit-btn:hover {
            background: #e04a49;
        }
        
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .modal-content {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            font-size: 20px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }


.d6{
    width: 100%;
    height: 90px;
    align-items: center;
    justify-content: center; /* 水平居中排列 */ 
    background-color: #333333;
    margin-top: 155px;

    display: flex;
}
  .d6 ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            width: 100%;
          
        }
        
        .d6 li {
            flex: 1; /* 平分宽度 */
            text-align: center;
            position: relative;
        }
        
        .d6 li:not(:last-child)::after {
            content: "";
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 2px;
            height: 50px;
            background-color: #FFFFFF;
        }
        
        .d6 a {
            color: #FFFFFF;
            font-size: 16px;
            text-decoration: none;
            display: block;
            padding: 10px;
        }
        
        .d6 a:hover {
            text-decoration: underline;
        }

.faq{
    width: 1200px;
    height: 1220px;
    align-items: center;
    justify-content: center; /* 水平居中排列 */ 
    margin: 0 auto 30px; /* 上下边距 0，左右自动（居中），下边距 30px */
    margin-top: 50px;
    border: 1px solid #EF8637;
         border-radius: 24px;
            padding: 10px;
       
            box-sizing: border-box; /* Ensures padding doesn't add to total width/height */
}


.d7{
    width: 100%;
    height: 90px;
    align-items: center;
    justify-content: center; /* 水平居中排列 */ 
    background-color: #333333;
    margin-top: 40px;

    display: flex;
}
  .d7 ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            width: 100%;
          
        }
        
        .d7 li {
            flex: 1; /* 平分宽度 */
            text-align: center;
            position: relative;
        }
        
        .d7 li:not(:last-child)::after {
            content: "";
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 2px;
            height: 50px;
            background-color: #FFFFFF;
        }
        
        .d7 a {
            color: #FFFFFF;
            font-size: 16px;
            text-decoration: none;
            display: block;
            padding: 10px;
        }
        
        .d7 a:hover {
            text-decoration: underline;
        }

.textp{
    color: #333333;
    font-size: 24px;
    font-weight: 400; 
}
.texth{
      color: #333333;
    font-size: 24px;
    font-weight: 400; 
    font-weight: bold;  
}
.privacy{
    width: 1200px;
    height: 2420px;
    align-items: center;
    justify-content: center; /* 水平居中排列 */ 
    margin: 0 auto 30px; /* 上下边距 0，左右自动（居中），下边距 30px */
    margin-top: 50px;
    border: 1px solid #EF8637;
         border-radius: 24px;
            padding: 10px;
       
            box-sizing: border-box; /* Ensures padding doesn't add to total width/height */
}