/* Product Page Specific Styles */

/* Ultra Large Desktop (2560px 이상) */
@media (min-width: 2560px) {
  .hero {
    padding: 240px 0 100px;
  }
  
  .hero-container {
    gap: 120px;
  }
  
  .hero-content {
    width: 2000px;
    gap: 60px;
  }
  
  .hero-logo {
    width: 800px;
    height: 132px;
  }
  
  .hero-title {
    max-width: 2000px;
    font-size: 72px;
  }
  
  .hero-image {
    height: 400px;
  }
  
  .g1-container {
    max-width: 2000px;
  }
  
  .g1-features-grid {
    gap: 120px;
  }
  
  .feature-item h2 {
    font-size: 48px;
  }
  
  .feature-item p {
    font-size: 24px;
  }
  
  .g1-logo {
    width: 1400px;
    height: 230px;
  }

  .g1-logo img {
    width: 760px;
  }
  
  .news-container {
    max-width: 2000px;
  }
  
  .news-title {
    font-size: 80px;
  }
  
  .news-header h3 {
    font-size: 36px !important;
  }
  
  .news-source {
    font-size: 18px;
  }
  
  .news-date {
    font-size: 18px;
  }
  
  .news-excerpt {
    font-size: 20px;
  }
  
  .case-text p {
    font-size: 28px;
  }
  
  .news-grid {
    gap: 60px;
  }
  
  .news-item {
    width: 1200px;
    padding: 60px 50px;
  }
  
  .customer-case {
    width: 500px;
    padding: 60px 50px;
  }

  .news-container-unified {
    padding: 80px 80px;
  }
}

/* Large Desktop (1600px ~ 2499px) */
@media (min-width: 1600px) and (max-width: 2559px) {
  .hero {
    padding: 220px 0 90px;
  }
  
  .hero-container {
    gap: 110px;
  }
  
  .hero-content {
    width: 1600px;
    gap: 55px;
  }
  
  .hero-logo {
    width: 650px;
    height: 108px;
  }
  
  .hero-title {
    max-width: 1600px;
    font-size: 52px;
  }
  
  .hero-image {
    height: 350px;
  }
  
  .g1-container {
    max-width: 1600px;
  }
  
  .g1-features-grid {
    gap: 100px;
  }
  
  .feature-item h2 {
    font-size: 40px;
  }
  
  .feature-item p {
    font-size: 20px;
  }
  
  .g1-logo {
    width: 1100px;
    height: 180px;
  }
  
  .news-container {
    max-width: 1600px;
  }
  
  .news-title {
    font-size: 64px;
  }
  
  .news-header h3 {
    font-size: 40px;
  }
  
  .news-source {
    font-size: 18px;
  }
  
  .news-date {
    font-size: 16px;
  }
  
  .news-excerpt {
    font-size: 18px;
  }
  
  
  .case-logo {
    width: 120px !important;
    height: 120px !important;
  }

  .case-logo img {
    width: 120px !important;
    height: 120px !important;
  }

  .case-image {
    width: 120px !important;
    height: 120px !important;
  }
  
  .case-text p {
    width: 80% !important;
    font-size: 24px !important;
  }
  
  .news-grid {
    gap: 50px;
  }
  
  .news-item {
    width: 1000px;
    padding: 55px 45px;
  }
  
  .customer-case {
    width: 400px;
    padding: 55px 45px;
  }
}

/* Hero Section - Product Specific */
.hero {
  padding: 200px 0 80px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 100px;
}

.hero-content {
  text-align: left;
  width: 1316px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.hero-logo {
  width: 507px;
  height: 84px;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-title {
  max-width: 1316px;
  width: 100%;
  word-break: keep-all;
  word-wrap: break-word;
}

.hero-title-mobile {
  display: none;
}

.hero-image {
  width: 100%;
  height: 300px;
  border-radius: 0 50px 50px 50px;
  overflow: hidden;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

/* G1 Features Section */
.g1-features {
  padding: 0 0 100px 0;
  background: #FFFFFF;
}

.g1-container {
  max-width: 1316px;
  margin: 0 auto;
  padding: 0;
}

.g1-logo {
  width: 907px;
  height: 150px;
  margin: 50px auto 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.g1-logo img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.g1-features-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 50px;
  align-items: stretch;
}

.feature-item {
  width: 385px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.feature-item h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  color: #333333;
  margin: 0;
  min-height: 120px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  word-break: keep-all;
  word-wrap: break-word;
  flex: 1;
}

.feature-item p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: #666666;
  margin: 0;
  word-break: keep-all;
  word-wrap: break-word;
}

.g1-progress {
  display: flex;
  justify-content: center;
}

.progress-line {
  width: 1538px;
  height: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-line img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.progress-line-web {
  display: block;
}

.progress-line-mobile {
  display: none;
}

/* News Section */
.news-section {
  padding: 100px 0;
  background: #FFFFFF;
}

.news-container {
  max-width: 1316px;
  margin: 0 auto;
  padding: 0;
}

.news-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.3125;
  color: #1A1A1A;
  margin: 0 0 50px 0;
}

.news-grid {
  display: flex;
  flex-direction: row;
  gap: 50px;
  align-items: stretch;
}

/* 뉴스 아이템들을 하나의 배경에 2단으로 배치 */
.news-container-unified {
  display: flex;
  flex-direction: column;
  gap: 50px;
  background: #F7F7F7;
  border-radius: 0 50px 50px 50px;
  padding: 80px 80px;
  box-sizing: border-box;
}

.news-item-left,
.news-item-right {
  flex: 1;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.news-items-row {
  display: flex;
  gap: 120px;
  width: 100%;
  position: relative;
}

.news-items-row::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #dddddd;
  transform: translateY(-50%);
}

/* Desktop & Tablet: show vertical divider */
@media (min-width: 768px) {
  .news-items-row::after {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
    transform: translateX(-50%);
  }
}

.news-item-left .news-content,
.news-item-right .news-content {
  gap: 30px;
  justify-content: space-between;
}

/* 고객사례를 별도 행으로 배치 */
.customer-case-row {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.customer-case-row .customer-case {
  width: 100%;
  max-width: 1316px;
  margin: 0 auto;
}

/* 좌측: 뉴스 아이템 */
.news-item {
  width: 872px;
  background: #F7F7F7;
  border-radius: 0 50px 50px 50px;
  padding: 100px;
  min-height: 584px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}

/* 새로운 레이아웃을 위한 뉴스 아이템 스타일 */
.news-container-unified .news-item {
  width: auto;
  background: transparent;
  border-radius: 0;
  padding: 0;
  min-height: auto;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 뉴스 하단 G1 버튼 */
.news-g1-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  padding: 20px 0;
}

.news-g1-btn {
  background: #333333;
  color: #FFFFFF;
  padding: 24px 40px;
  border-radius: 0 40px 40px 40px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 428px;
  height: 64px;
  cursor: pointer;
  border: none;
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
}

.news-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-header h3 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  color: #1A1A1A;
  margin: 0;
  word-break: keep-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0px !important;
}

.news-source {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: #1A1A1A;
}

.news-date {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.666;
  color: #666666;
}

.news-excerpt {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: #1A1A1A;
  margin: 0;
  word-break: keep-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.news-logos,
.news-logos1,
.news-logos2 {
  display: flex;
  flex-direction: row;
  gap: 20px !important;
  align-items: center;
  justify-content: flex-start;
}

.news-logos img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

/* If separated, make news-logos1/2 smaller than default */
.news-logos1 img,
.news-logos2 img {
  height: 32px;
}

.news-logos-wrapper {
  padding-top: 20px;
}

.news-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #1A1A1A;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  width: fit-content;
  height: 48px;
  margin: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.news-btn img {
  width: 32px;
  height: 32px;
}

/* 우측: 고객사례 */
.customer-case {
  width: 394px;
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('/public/images/zerogram03.jpg') center/contain;
  border-radius: 0 50px 50px 50px;
  padding: 80px;
  min-height: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.customer-case::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/public/images/zerogram03.jpg') center/contain;
  filter: blur(5px);
  z-index: -1;
}

.case-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.case-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.case-logo {
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.case-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-title {
  text-align: center;
  margin-bottom: 20px;
}

.case-title h3 {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 8px 0;
  word-break: keep-all;
}

.case-title p {
  font-size: 16px;
  font-weight: 400;
  color: #FFFFFF;
  margin: 0;
  word-break: keep-all;
}

.case-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
  align-items: center;
}

.case-text h3 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: #FFFFFF;
  margin: 0 0 10px 0;
  word-break: keep-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.case-text p {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.428;
  color: #FFFFFF;
  margin: 0;
  word-break: keep-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.case-btn {
  background: #333333;
  color: #FFFFFF;
  padding: 24px 40px;
  border-radius: 0 40px 40px 40px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 428px;
  height: 64px;
  cursor: pointer;
  border: none;
}

/* CTA Section */
.cta-section {
  padding: 0 0 150px 0;
  background: #FFFFFF;
  display: flex;
  justify-content: center;
}

.cta-container {
  display: flex;
  justify-content: center;
  padding: 0;
}

.cta-btn {
  background: #333333;
  color: #FFFFFF;
  padding: 24px 40px;
  border-radius: 0 40px 40px 40px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 428px;
  height: 64px;
  cursor: pointer;
}

/* Responsive Design - Standardized Breakpoints */
/* Medium Desktop (1200px ~ 1599px) */
@media (max-width: 1599px) and (min-width: 1200px) {
  /* Slightly reduce space between top nav and hero title */
  .hero { padding: 160px 0 80px; }
  /* Hero logo smaller on medium desktop */
  .hero-logo {
    width: 400px;
    height: 66px;
  }
  .hero-title {
    font-size: 44px;
  }
  /* Reduce spacing between title and image */
  .hero-container { gap: 50px; }
  /* Align hero area left with padding and no margins */
  .hero-container { align-items: flex-start; padding-left: 100px; }
  .hero-content { align-items: flex-start; text-align: left; padding-left: 100px; margin-left: 0; margin-right: 0; }
  
  /* Limit section widths to 1100px */
  .g1-container { max-width: 1100px; }
  .news-container { max-width: 1100px; }
  
  .customer-case-row .customer-case {
    max-width: 1100px;
  }
  
  /* Typography scaling for 1100px width */
  .feature-item h2 { font-size: 28px; min-height: auto; }
  .feature-item p { font-size: 15px; }
  .news-title { font-size: 48px; }
  .news-header h3 { font-size: 28px; }
  .news-source { font-size: 14px; }
  .news-date { font-size: 14px; }
  .news-excerpt { font-size: 14px; }
  .case-text p { font-size: 18px; }
  /* Ensure word-based line breaks */
  .news-title,
  .news-header h3,
  .news-excerpt,
  .news-source,
  .news-date {
    white-space: normal;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  /* Remove top padding on news section */
  .news-section { padding-top: 0; }
  
  .g1-features-grid {
    gap: 40px;
  }

  .g1-logo {
    width: 720px;
    height: 120px;
    margin-top: 20px;
  }
  
  .feature-item {
    width: 100%;
  }
  
  .news-grid {
    flex-direction: row;
    width: 100%;
    gap: 30px;
    align-items: stretch;
  }
  
  .news-logos1 img, .news-logos2 img {
    height: 24px;
  }

  .news-item {
    width: 740px;
    padding: 50px 36px;
  }
  
  .customer-case {
    width: 330px;
    padding: 50px 36px;
  }
  
  .news-item,
  .customer-case {
    padding: 50px 36px;
  }
  
  .customer-case {
    padding: 60px 40px;
    min-height: auto;
  }
  
  .news-item,
  .customer-case {
    height: auto;
  }
  
  .case-logo {
    width: 120px;
    height: 120px;
  }

  .case-logo img {
    width: 120px;
    height: 120px;
  }

  .case-image {
    width: 120px;
    height: 120px;
  }
  

  .case-text {
    width: 68%;
    gap: 40px;
  }

  .case-btn {
    width: 350px;
    height: 56px;
    font-size: 18px;
    padding: 20px 32px;
  }
}

/* Small Desktop (1025px ~ 1199px) */
@media (max-width: 1199px) and (min-width: 1025px) {
  /* Slightly reduce space between top nav and hero title */
  .hero { padding: 200px 0 60px; }
  /* Hero logo smaller on small desktop */
  .hero-logo {
    width: 360px;
    height: 60px;
  }
  .hero-title {
    font-size: 40px;
  }
  /* Reduce spacing between title and image */
  .hero-container { gap: 50px; }
  /* Align hero area left with padding and no margins */
  .hero-container { align-items: flex-start; }
  .hero-content { align-items: flex-start; text-align: left; padding-left: 100px; margin-left: 0; margin-right: 0; width: 100%; }
  
  /* Limit section widths to 1000px for better fit */
  .g1-container { 
    max-width: 1000px; 
    margin: 0 auto;
    padding: 0 40px;
  }
  .news-container { 
    max-width: 1000px; 
    margin: 0 auto;
    padding: 0 40px;
  }
  
  .customer-case-row .customer-case {
    max-width: 1000px;
  }
  
  /* Typography scaling for 1000px width */
  .feature-item h2 { font-size: 28px; min-height: auto; }
  .feature-item p { font-size: 15px; }
  .news-title { font-size: 44px; }
  .news-header h3 { font-size: 24px; }
  .news-source { font-size: 16px; }
  .news-date { font-size: 14px; }
  .news-excerpt { font-size: 16px; }
  .case-text p { font-size: 22px; }
  /* Ensure word-based line breaks */
  .news-title,
  .news-header h3,
  .news-excerpt,
  .news-source,
  .news-date {
    white-space: normal;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  /* Remove top padding on news section */
  .news-section { padding-top: 0; }

  
  .news-logos1 img, .news-logos2 img {
    height: 24px;
  }
    
  .g1-features-grid {
    gap: 40px;
    width: 100%;
  }

  .g1-logo {
    width: 500px;
    height: 99px;
  }
  
  .feature-item {
    width: 100%;
    flex: 1;
  }
  
  /* Keep desktop layout - maintain row direction */
  .news-grid {
    flex-direction: column;
    width: 100%;
    gap: 24px;
    align-items: stretch;
  }
  
  .news-container-unified {
    padding: 60px 60px;
    gap: 50px;
  }
  
  .news-item {
    flex: 1;
    padding: 0;
  }
  
  .news-g1-btn {
    width: 350px;
    height: 56px;
    font-size: 18px;
    padding: 20px 32px;
  }
  
  .customer-case {
    width: 100%;
    max-width: 600px;
    padding: 60px 40px;
    min-height: auto;
  }
  
  .news-item,
  .customer-case {
    height: auto;
  }
  .progress-line {
    width: 100%;
    height: 60px;
    margin: 0px auto 0px;
  }

  .case-logo {
    width: 120px;
    height: 120px;
  }

  .case-logo img {
    width: 120px;
    height: 120px;
  }

  .case-image {
    width: 120px;
    height: 120px;
  }
  
  .case-text p {
    font-size: 20px !important;
    width:90% !important
  }

  .case-btn {
    width: 300px;
    height: 52px;
    font-size: 16px;
    padding: 18px 28px;
  }
}

/* Tablet (768px ~ 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  .hero {
    margin-top: 180px;
    padding: 0;
  }
  
  .hero-container {
    gap: 40px;
    align-items: flex-start;
    padding: 0 40px;
  }
  
  .hero-content {
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }
  
  .hero-logo {
    width: 193px;
    height: 32px;
  }
  
  .hero-title {
    font-size: 28px;
    text-align: left;
    line-height: 1.43;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .hero-title-pc {
    font-size: 28px;
    display: block;
  }
  
  .hero-title-mobile {
    display: none;
  }
  
  .hero-image {
    width: 100%;
    height: 200px;
    border-radius: 0 24px 24px 24px;
  }
  
  .g1-features {
    padding: 20px 0;
    margin-top: 40px;
  }
  
  .g1-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
  }
  
  .g1-logo {
    width: 70%;
    height: 60px;
    margin: 24px auto 0;
  }

  .g1-logo img {
    width: 100%;
    height: 100%;
  }
  
  .g1-features-grid {
    flex-direction: row;
    gap: 20px;
    width: 100%;
    margin: 0 0 10px 0;
  }
  
  .feature-item {
    flex: 1;
    text-align: center;
    gap: 8px;
  }
  
  .feature-item h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
    color: #333333;
    margin: 0 0 10px 0;
    min-height: auto;
    white-space: normal;
    display: flex;
    justify-content: center;
  }
  
  .feature-item p {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.71;
    color: #666666;
    margin: 0;
    text-align: center;
  }
  
  .progress-line {
    width: 100%;
    height: 50px;
    margin: 0 auto;
  }
  
  .progress-line-web {
    display: block !important;
  }
  
  .progress-line-mobile {
    display: none !important;
  }
  
  .progress-line img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .news-section {
    padding: 60px 0;
    width: 100%;
  }
  
  .news-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
  }
  
  
  .news-logos1 img, .news-logos2 img {
    height: 20px;
  }
  
  .customer-case-row .customer-case {
    max-width: 900px;
  }
  
  .news-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.43;
    margin-bottom: 16px;
    width: 100%;
  }
  
  .news-header h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .news-excerpt {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.71;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .news-text p {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.67;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .case-logo {
    width: 80px !important;
    height: 80px !important;
  }

  .case-logo img {
    width: 80px !important;
    height: 80px !important;
  }

  .case-image {
    width: 80px !important;
    height: 80px !important;
  }
  
  .case-text p {
    width: 90%;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.67;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Ensure case text container centers on tablet */
  .case-text {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  /* Center ZEROGRAM button on tablet */
  .case-btn {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .news-source {
    font-size: 12px;
    font-weight: 700;
  }
  
  .news-date {
    font-size: 11px;
    font-weight: 400;
  }
  
  /* Keep desktop layout - maintain row direction */
  .news-grid {
    flex-direction: row;
    gap: 16px;
    width: 100%;
    max-width: 100%;
  }
  
  .news-container-unified {
    padding: 40px 20px;
    gap: 30px;
    border-radius: 0 24px 24px 24px;
  }
  
  .news-item {
    flex: 1;
    padding: 0;
    border-radius: 0;
    box-sizing: border-box;
    margin: 0;
  }
  
  .news-g1-btn {
    width: 280px;
    height: 48px;
    font-size: 16px;
    padding: 16px 28px;
  }
  
  .customer-case {
    width: 100%;
    max-width: 500px;
    padding: 40px 20px;
    border-radius: 0 24px 24px 24px;
    box-sizing: border-box;
    margin: 0 auto;
    min-height: auto;
  }
  
  .news-content {
    width: 100%;
    max-width: 100%;
    gap: 20px;
  }
  
  .news-btn {
    margin: 0;
  }
  
  .news-logos {
    flex-direction: row;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .news-logos img {
    height: 17px;
    width: auto;
    object-fit: contain;
  }
  
  .case-content {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }
  
  .news-items-row { 
    gap: 80px;
  }

  .case-image {
    width: 120px;
    height: 120px;
  }
  
  .case-logo {
    width: 120px;
    height: 120px;
  }
  
  .case-btn {
    width: 250px;
    height: 44px;
    font-size: 14px;
    padding: 16px 24px;
  }
  
  .cta-btn {
    width: 200px;
    height: 40px;
    font-size: 12px;
    padding: 0px 20px;
    border-radius: 0 20px 20px 20px;
    margin: 0 auto;  
  }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
  .hero {
    margin-top: 120px;
    padding: 0;
  }
  
  .hero-container {
    gap: 40px;
    align-items: flex-start;
  }
  
  .hero-content {
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }
  
  .hero-logo {
    width: 193px;
    height: 32px;
  }
  

  
  .hero-title {
    font-size: 28px;
    text-align: left;
    line-height: 1.43;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .hero-title-pc {
    display: none;
  }
  
  .hero-title-mobile {
    display: block;
  }
  
  .hero-image {
    width: 100vw;
    height: 200px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 0;
  }
  
  .g1-features {
    padding: 0 100px;
    margin-top: 40px;
  }
  

  
  .g1-logo {
    width: 100%;
    height: 72px;
    margin: 24px auto 0;
  }

  /* Ensure news list stacks vertically on mobile */
  .news-grid { flex-direction: column !important; }
  .news-items-row { display: flex; flex-direction: column !important; gap: 20px; }
  
  .g1-features-grid {
    flex-direction: column;
    gap: 40px;
    width: 100%;
    margin: 0 auto;
  }
  
  .feature-item {
    width: 100%;
    text-align: center;
    gap: 8px;
  }
  
  .feature-item h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    color: #333333;
    margin: 0;
    min-height: auto;
    white-space: normal;
  }
  
  .feature-item p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.71;
    color: #666666;
    margin: 0;
  }
  
  .progress-line {
    width: 100%;
    height: 50px;
    margin: 30px auto 0px;
  }
  
  .progress-line-web {
    display: none !important;
  }
  
  .progress-line-mobile {
    display: block !important;
  }
  
  .progress-line img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .news-section {
    padding: 0;
    width: 100%;
    margin-top: 100px;
    margin-bottom: 50px;
  }
  
  .news-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
  }
  
  .customer-case-row .customer-case {
    max-width: 100%;
  }
  
  .news-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.43;
    margin-bottom: 16px;
    width: 327px;
  }
  
  .news-header h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .news-excerpt {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.71;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .news-text p {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.67;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .case-text p {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.67;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .news-source {
    font-size: 14px;
    font-weight: 700;
  }
  
  .news-date {
    font-size: 13px;
    font-weight: 400;
  }
  
  .news-grid {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 100%;
  }
  
  .news-item {
    width: 100% !important;
    max-width: 100% !important;
    padding: 50px 30px !important;
    border-radius: 0 24px 24px 24px !important;
    box-sizing: border-box;
    margin: 0;
  }
  
  .news-g1-btn {
    width: 267px;
    height: 48px;
    font-size: 14px;
    padding: 16px 24px;
  }
  
  .customer-case {
    width: 100% !important;
    max-width: 100% !important;
    padding: 50px 30px !important;
    border-radius: 0 24px 24px 24px !important;
    box-sizing: border-box;
    margin: 0;
  }
  
  .news-item,
  .customer-case {
    width: 100% !important;
    max-width: 100% !important;
    padding: 50px 30px !important;
    border-radius: 0 24px 24px 24px !important;
    height: auto !important;
    min-height: auto !important;
  }
  
  .customer-case {
    padding: 50px 30px !important;
  }
  
  .news-content {
    width: 100%;
    max-width: 100%;
    gap: 36px;
  }
  
  .case-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .case-text {
    align-items: center;
    text-align: center;
  }
  
  .news-btn {
    margin: 0 auto;
  }
  
  .news-logos {
    flex-direction: row;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .news-logos img {
    height: 17px;
    width: auto;
    object-fit: contain;
  }
  
  .news-image {
    width: 158px;
    height: 158px;
  }
  
  .news-icon {
    width: 158px;
    height: 158px;
  }
  
  .case-logo {
    width: 80px !important;
    height: 80px !important;
  }

  .case-logo img {
    width: 80px !important;
    height: 80px !important;
  }

  .case-image {
    width: 80px !important;
    height: 80px !important;
  }
  
  .case-text p {
    width: 90%;
    font-size: 14px;
    font-weight: 400;
  }

  .case-btn {
    width: 267px;
    height: 48px;
    font-size: 14px;
    padding: 16px 24px;
  }
  
  .cta-btn {
    width: 267px;
    height: 48px;
    font-size: 14px;
    padding: 0px 30px;
    border-radius: 0 30px 30px 30px;
    margin: 0 auto;  
  }
  /* Customer case background: single image, scaled to cover */
  .customer-case {
    background-repeat: no-repeat !important;
    background-size: cover !important;
  }
  .customer-case::before {
    background-repeat: no-repeat !important;
    background-size: cover !important;
  }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  /* Customer case background: single image, scaled to cover */
  .customer-case {
    background-repeat: no-repeat !important;
    background-size: cover !important;
  }
  .customer-case::before {
    background-repeat: no-repeat !important;
    background-size: cover !important;
  }
  .news-section {
    width: 100%;
  }
  
  .news-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .news-container-unified {
    padding: 40px 20px;
  }

  .news-grid {
    width: 100%;
    max-width: 100%;
  }

  .news-items-row {
    gap: 80px;
  }

  .customer-case-row .customer-case {
    max-width: 100%;
  }
  
  .news-item,
  .customer-case {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0 !important;
    border-radius: 0 24px 24px 24px !important;
    box-sizing: border-box;
    margin: 0 !important;
    min-height: auto !important;
  }
  
  .news-g1-btn {
    width: 267px;
    height: 48px;
    font-size: 14px;
    padding: 16px 24px;
  }
  
  .customer-case {
    padding: 50px 30px !important;
    min-height: auto !important;
  }
  
  .news-content {
    width: 100%;
    max-width: 100%;
  }
  
  .case-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .case-text {
    align-items: center;
    text-align: center;
  }

  .case-logo {
    width: 80px !important;
    height: 80px !important;
  }

  .case-logo img {
    width: 80px !important;
    height: 80px !important;
  }

  .case-image {
    width: 80px !important;
    height: 80px !important;
  }
  
  .news-logos {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
  }
  
  .case-btn {
    width: 267px;
    height: 48px;
    font-size: 14px;
    padding: 16px 24px;
  }
  
  .news-logos1 img, .news-logos2 img {
    height: 18px;
    width: auto;
    object-fit: contain;
  }
  
  .case-text p {
    font-size: 14px;
    font-weight: 400;
  }

  .case-text {
    gap: 40px;
  }

  .g1-features {
    padding: 0 60px;
  }
  .progress-line {
    width: 100%;
    height: 40px;
    margin: 30px auto 0px;
  }

  .news-logos img {
    height: 17px;
    width: auto;
  }
}