/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

div.main {
    /* * */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* body */
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

div.main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
/* .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
} */


div.main .logo img {
    height: 40px;
}



div.main .nav-buttons {
    display: flex;
    gap: 10px;
}

div.main .btn {
    padding: 10px 28px;
    border-radius: 5px;
    text-decoration: none;
    margin: 0px 5px;
    font-size: 18px;
    font-weight: 800;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

div.main .btn-test2{
    display: block;
  background: linear-gradient(270deg, #004CFF 0%, #1A8DFF 100%);
    color: #fff;
    padding: 8px 24px;
    border-radius: 5px;
    box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.4), 0 2px 5px -3px rgba(0, 0, 0, 0.3), inset 0 -3px 0px 0px rgba(0, 0, 0, 0.2);
       margin: 0px 5px;
      text-decoration: none;
       cursor: pointer;
}




div.main .btn-test {
        padding: 10px 36px;
     font-size: 1.2rem;
      text-decoration: none;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 1px;
        margin:0px 5px;
        border: 1px solid rgb(255, 255, 255);
}

div.main .btn-test:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

div.main .btn-primary {
    background: #004CFF;
    color: white;
}

div.main .btn-secondary {
    background: #28a745;
    color: white;
}

div.main .btn-accent {
    background: #6f42c1;
    color: white;
}

div.main .btn-forth {
    background: #3c3250;
    color: white;
}

div.main .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

div.main .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

div.main .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero 区域 */
div.main .hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #E6F3FF 0%, #B3D9FF 50%, #87CEEB 100%);
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

div.main .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="300" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat;
    background-size: cover;
    opacity: 0.3;
}

div.main .hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center; /* 内容顶部对齐 */
  justify-items:center;
  position: relative;
  z-index: 1;
}

div.main .hero-container2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center; /* 内容顶部对齐 */
  justify-items:center;
  position: relative;
  z-index: 1;
}


div.main .hero-content {
    text-align: center;
}

div.main .hero-content2 {
    text-align: center;
}

div.main .hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

div.main .hero-title2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

div.main .hero-description2{
    font-size: 1.2rem;
    text-align: start;
    line-height: 2.0;
}

div.main .hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

div.main .header-pic{
    max-width: 1000px;
}

/* 设备展示 */
div.main .hero-devices {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.4s both;
}

div.main .device-group {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

div.main .device {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

div.main .device:hover {
    transform: translateY(-10px);
}

div.main .phone-left, .phone-right {
    width: 180px;
    height: 320px;
    background: #333;
    border-radius: 25px;
    padding: 20px 15px;
}

div.main .laptop {
    width: 400px;
    height: 280px;
    background: #333;
    border-radius: 15px;
    padding: 15px;
    position: relative;
}

div.main .screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #87CEEB, #B3D9FF);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

div.main .window-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 10px;
}

div.main .window-controls {
    display: flex;
    gap: 5px;
}

div.main .control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

div.main .minimize { background: #ffc107; }
div.main .maximize { background: #28a745; }
div.main .close { background: #dc3545; }

div.main .laptop-content {
    margin-top: 30px;
    padding: 20px;
}

div.main .app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

div.main .app-item {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

div.main .game1 { background: linear-gradient(45deg, #ff6b6b, #ffa500); }
div.main .clock { background: linear-gradient(45deg, #4ecdc4, #44a08d); }
div.main .game2 { background: linear-gradient(45deg, #a8edea, #fed6e3); }

div.main .music-player, div.main .video-player {
    text-align: center;
    color: white;
    padding: 20px;
}

div.main .music-icon, div.main .video-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

div.main .waveform {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin: 20px 0;
}

div.main .waveform span {
    width: 4px;
    height: 20px;
    background: white;
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite;
}

div.main .waveform span:nth-child(2) { animation-delay: 0.1s; }
div.main .waveform span:nth-child(3) { animation-delay: 0.2s; }
div.main .waveform span:nth-child(4) { animation-delay: 0.3s; }
div.main .waveform span:nth-child(5) { animation-delay: 0.4s; }

div.main .controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

div.main .controls button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

div.main .controls button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 下载区域 */
div.main .download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #E6F3FF 0%, #B3D9FF 100%);
}

div.main .download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

div.main .download-item {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    cursor: pointer;
}

div.main .download-item:hover {
    transform: translateY(-10px);
}

div.main .download-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

div.main .download-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

div.main .download-item p {
    color: #666;
    font-size: 0.9rem;
}

div.main .version-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b6b;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

div.main .windows { border-left: 5px solid #4A90E2; }
div.main .android { border-left: 5px solid #28a745; }
div.main .ios { border-left: 5px solid #6f42c1; }

/* 功能介绍区域 */
div.main .feature-section {
    padding: 100px 0;
    position: relative;
    justify-items: center;
}

div.main .feature-section:nth-child(even) {
    background: #f8f9fa;
}

div.main .feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

div.main .feature-content.reverse {
    grid-template-columns: 1fr 1fr;
}

div.main .feature-content.reverse .feature-text {
    order: 1;
}

div.main .feature-content.reverse .feature-visual {
    order: 2;
}

div.main .feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

div.main .feature-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/* 功能插图 */
div.main .security-illustration, .multi-device-illustration, .marketing-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
}

div.main .cloud-icon {
    font-size: 80px;
    color: #87CEEB;
    position: relative;
}

div.main .security-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #4A90E2;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

div.main .data-flow {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

div.main .data-point {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

div.main .blue { background: #4A90E2; }
div.main .orange { background: #ffa500; animation-delay: 0.5s; }
div.main .green { background: #28a745; animation-delay: 1s; }

div.main .chart {
    display: flex;
    align-items: end;
    gap: 10px;
    height: 100px;
}

div.main .bar {
    width: 20px;
    background: linear-gradient(to top, #4A90E2, #87CEEB);
    border-radius: 3px 3px 0 0;
    animation: growUp 2s ease-out;
}

div.main .control-center {
    position: relative;
    background: #333;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

div.main .main-screen {
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, #87CEEB, #B3D9FF);
    border-radius: 15px;
    padding: 20px;
}

div.main .app-windows {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    height: 100%;
}

div.main .window {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

div.main .connected-devices {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

div.main .mini-device {
    padding: 8px 16px;
    border-radius: 15px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

div.main .mini-device.android { background: #28a745; }
div.main .mini-device.ios { background: #6f42c1; }

div.main .workflow-diagram {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 400px;
}

div.main .workflow-step {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

div.main .workflow-step:hover {
    transform: translateY(-5px);
}

div.main .step-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

div.main .step-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}


div.main .contact-info {
    color: #bdc3c7;
}

div.main .qr-placeholder {
    width: 100px;
    height: 100px;
    background: #34495e;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 15px;
}


div.main .legal-info {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

div.main .legal-info span {
    font-size: 12px;
    padding: 3px 8px;
    background: #34495e;
    border-radius: 3px;
}

/* 在线客服 */
div.main .customer-service {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

div.main .service-button {
    background: #ff6b6b;
    color: white;
    padding: 15px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

div.main .service-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

div.main .service-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #28a745;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes wave {
    0%, 100% { height: 20px; }
    50% { height: 40px; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

@keyframes growUp {
    from { height: 0; }
    to { height: var(--final-height, 60%); }
}

div.main .img-section{
    width: 729px; 
    height: 483px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  /* 优化 .hero-container 在手机端的样式 */
div.main .hero{
    width: 100%;
}

div.main .img-section{
    width: 80%;
    margin: 0 10%; 
   height: auto;
}

div.main .header-pic{
    width: 100%;
}

  div.main .hero-container {
    max-width: 100%;
    padding: 0 15px;
    gap: 30px;
      align-items: center; /* 内容顶部对齐 */
  justify-items:center;
  }

  /* 优化按钮在手机端的样式 */
  div.main .btn-test {
    padding: 6px 15px;
    font-size: 1rem;
    margin: 0 auto;
  }

  /* 其他已有样式... */
div.main .nav-buttons{
    display: flex;
    left: 0;
    }
    
    div.main .mobile-menu-toggle {
        display: flex;
    }
    

    
    div.main .hero-title {
        font-size: 2.5rem;
    }
    
    div.main .device-group {
        flex-direction: column;
        gap: 20px;
    }
    
    div.main .laptop {
        width: 300px;
        height: 200px;
    }
    
    div.main .phone-left, div.main .phone-right {
        width: 150px;
        height: 260px;
    }
    
    div.main .download-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    div.main .feature-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    div.main .feature-content.reverse .feature-text,
    div.main .feature-content.reverse .feature-visual {
        order: unset;
    }
    
    div.main .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    div.main .legal-info {
        flex-direction: column;
        align-items: center;
    }
    
    div.main .workflow-diagram {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 更小屏幕的优化 */
@media (max-width: 480px) {
  /* 进一步缩小标题字体 */
  div.main .hero-title,
  div.main .feature-text h2 {
    font-size: 1.8rem;
  }

  /* 设备展示区域缩小 */
  div.main .device-group {
    transform: scale(0.7);
  }

  /* 其他已有样式... */
    div.main .hero-title {
        font-size: 2rem;
    }
    
    div.main .feature-text h2 {
        font-size: 2rem;
    }
    
    div.main .device-group {
        transform: scale(0.8);
    }
    
    div.main .customer-service {
        bottom: 20px;
        right: 20px;
    }
    
    div.main service-button {
        padding: 12px 16px;
    }
    
    div.main .service-text {
        display: none;
    }
}



/*
新闻版块
*/

div.main .news-container {
    background-color: #ffffff; /* 白色背景 */
    border-radius: 1rem; /* 圆角 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* 阴影 */
    width: 100%;
    max-width: 1600px; /* 最大宽度 */
    padding: 1.5rem; /* 内边距 */
    box-sizing: border-box;
}
div.main .header-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem; /* pb-4 */
    border-bottom: 1px solid #e5e7eb; /* border-b border-gray-200 */
    margin-bottom: 1rem; /* mb-4 */
}
div.main .header-left {
    display: flex;
    align-items: center;
}
div.main .header-icon {
    height: 1.5rem; /* h-6 */
    width: 1.5rem; /* w-6 */
    color: #3b82f6; /* text-blue-500 */
    margin-right: 0.5rem; /* mr-2 */
}
div.main .header-title {
    font-size: 1.25rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    color: #1f2937; /* text-gray-800 */
}
div.main .view-more-link {
    color: #3b82f6; /* text-blue-500 */
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    border-radius: 9999px; /* rounded-full */
    padding: 0.25rem 0.75rem; /* px-3 py-1 */
    background-color: #eff6ff; /* bg-blue-50 */
    transition-property: background-color, color;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}
div.main .view-more-link:hover {
    color: #2563eb; /* hover:text-blue-600 */
    background-color: #dbeafe; /* hover:bg-blue-100 */
}
div.main .view-more-icon {
    height: 1rem; /* h-4 */
    width: 1rem; /* w-4 */
    margin-left: 0.25rem; /* ml-1 */
}

/* 新闻项样式 */
div.main .news-item {
    display: flex;
    flex-direction: column; /* 默认垂直堆叠 */
    align-items: flex-start; /* 默认左对齐 */
    padding: 0.75rem 0; /* 垂直内边距 */
    border-bottom: 1px solid #e5e7eb; /* 底部边框 */
}
div.main .news-item:last-child {
    /*border-bottom: none; *//* 最后一个新闻项没有底部边框 */
}
div.main .news-date {
    min-width: 120px; /* 日期最小宽度 */
    color: #6b7280; /* 灰色日期文本 */
    font-size: 0.875rem; /* 字体大小 */
    margin-bottom: 0.25rem; /* mb-1 */
    margin-right: 0; /* mr-0 */
}
div.main .news-title a {
    color: #1f2937; /* 深灰色标题文本 */
    text-decoration: none; /* 无下划线 */
    transition: color 0.2s ease-in-out; /* 颜色过渡 */
    font-size: 0.9375rem; /* 稍微大一点的标题字体 */
    flex: 1; /* flex-1 */
}
div.main .news-title a:hover {
    color: #3b82f6; /* 悬停时蓝色 */
}

/* 响应式网格布局 */
div.main .news-grid {
    display: grid;
    grid-template-columns: 1fr; /* 默认一列 */
    gap: 1rem; /* 网格间距 */
}

@media (min-width: 640px) { /* 对应 Tailwind sm breakpoint */
    div.main .news-item {
        flex-direction: row; /* sm 屏幕变为水平排列 */
        align-items: center; /* sm 屏幕居中对齐 */
    }
    div.main .news-date {
        margin-bottom: 0; /* sm 屏幕移除底部外边距 */
        margin-right: 1rem; /* sm 屏幕右侧外边距 mr-4 */
    }
    div.main .news-grid {
        grid-template-columns: repeat(2, 1fr); /* 小屏幕两列 */
    }
}

@media (min-width: 1024px) { /* 对应 Tailwind lg breakpoint */
    div.main .news-grid {
        grid-template-columns: repeat(3, 1fr); /* 大屏幕三列 */
    }
}


/* 优势 */
div.main .advantage-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(9, 4.5rem);
    gap: 30px;
    width: 100%;
    min-height: 80vh;
}

div.main .advantage-card {
    display:flex;
    padding: 30px;
    gap: 30px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;;
    align-items: center;
    
}

div.main .advantage-content {
    height: 100%;
    width: 100%;
    z-index: 11;
}

div.main .advantage-title {
    font-weight: 600;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

div.main .advantage-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgb(102, 102, 102);
}
div.main .advantage-img{
    position: relative;;
    display: flex;
}

div.main .advantage-img img {
    width: 100%;
}

div.main .advantage_1 {
    grid-area: 1 / 1 / 7 / 5;
    flex-direction: column;
    background: #f0ecfb;
;
}

div.main .advantage_1 img {
    width: 200%;
    transform: translateX(-5rem);
}

div.main .advantage_2 {
    grid-area: 1 / 5 / 4 / 13;
    text-align: left;
    background: #fcdfe9;
}

div.main .advantage_2 img {
    width: 130%;
    transform: translateX(-4rem);
}

div.main .advantage_3 {
    grid-area: 4 / 5 / 7 / 9;
    flex-direction: column;
    background: #fef7db;
}

div.main .advantage_3 img {
    width: 120%;
    transform: translateY(-6rem);
}



div.main .advantage_4 {
    grid-area: 4 / 9 / 7 / 13;
    flex-direction: column;
    background: #eff7e4;
}

div.main .advantage_4 img {
    width: 110%;
    transform: translateY(-6rem);
}

div.main .advantage_5 {
    grid-area: 7 / 1 / 10 / 8;
    text-align: left;
    background: #fde9dd;
}

div.main .advantage_5 .advantage-img {
    width: 50%;
}

div.main .advantage_5 img {
    width: 180%;
    transform: translateX(-6rem);
}

div.main .advantage_6 {
    grid-area: 7 / 8 / 10 / 13;
    text-align: left;
    background: #eef2f5;
}

div.main .advantage_6 .advantage-img {
    width: 50%;
}

div.main .advantage_6 img {
    width: 300%;
    transform: translateX(-6rem);
}



@media (max-width: 768px) {
    div.main .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 30rem);
    }
    
    div.main .advantage-card {
        grid-area: auto;
        text-align: center;
        flex-direction: column!important;
    }


    div.main .advantage-img img {
        width: 100%;
        transform: translate(0, 0);
    }

    div.main .advantage_1 img {
        width: 120%;
    }

    div.main .advantage_3 img,
    div.main .advantage_4 img {
        width: 120%;
        transform: translateX(-10%);
    }

    div.main .advantage_5 img {
        width: 200%;
        transform: translateX(-20%);
    }

    div.main .advantage_6 img {
        width: 220%;
        transform: translateX(-20%);
    }
}

@media (max-width: 480px) {
    div.main .advantage-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(6, 30rem);
    }
}