.hero-product {
    position: relative;
    height: 700px;
    display: flex;
    flex-direction: column;
    background-image: url('../../assets/img/Landing\ image\ 2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-wrapper {
  width: 100%;
  padding: 10rem 20px 8rem 50px;
}


.product-banner1,
.product-banner2,
.product-banner3 {
  display: flex;
  align-items: center;
  width: 95%;
  position: relative;
  max-width: 1200px;
  margin: 6rem auto;
  background: #fff;
  box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.05);
  padding: 25px;
  border-radius: 65px 5px;
  min-height: 400px;
  transition: all .3s;
}

.product-banner1 {
  border-top: 6px solid darkblue;
}

.product-banner2 {
  border-top: 6px solid orange;
}

.product-banner3 {
  border-top: 6px solid rgb(255, 208, 0);
}

.product-banner-item {
  display: flex;
  align-items: center;
  gap: 40px;
}

.product-banner-img {
  width: 300px;
  flex-shrink: 0;
  margin-left: -80px;
  height: 300px;
  background-color: white;
  box-shadow: 0px 2px 20px 5px rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  overflow: hidden;
}

.product-banner-button {
  display: inline-block;
  background-color: white;
  color: #2c3e50;
  border: 1px solid #2c3e50;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  align-items: center;
  padding: 0.3rem 1rem;
  transition: 0.2s ease-in-out;
}

.product-banner-button:hover {
  background-color: #2c3e50;
  color: white;
}

.img-server {
  border: 3px solid darkblue;
}

.img-proxmox {
  border: 3px solid orange;
}

.img-NAT {
  border: 3px solid rgb(255, 208, 0);
}

.product-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 1;
  transition: all .3s;
}

.product-banner-content {
  padding-right: 1rem;
}

.product-banner-code {
  color: #7b7992;
  margin-bottom: 15px;
  display: block;
  font-weight: 500;
}

.product-banner-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
}

.product-banner-text {
  color: #4e4a67;
  margin-bottom: 30px;
  line-height: 1.5em;
}

.product-title:lang(ko) {
  display: inline-block;
  padding: 4px;
  text-align: start;
  max-width: 1400px;
  font-size: 3.4rem;
}

.product-title:lang(en) {
  font-size: 4rem;
}

/* 전체 레이아웃 구성: 좌측 사이드 + 우측 그리드 대비 */
.product-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin: 0 auto;
  max-width: 1300px;
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
}

.product-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 64px 32px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  padding: 35px;
  border-radius: 10px;
  border: 1px solid #dfdfdf;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  border-color: #ff6c3f;
  transform: translateY(-2px); 
}

.product-image {
  padding: 6%;
  width: 100%;
  height: 300px;
  object-fit: contain;  
  display: block;
  border-bottom: 1px solid #dbdbdb;
  margin-bottom: 20px;
}

.product-label {
  color: #ff3c00;
  font-weight: bold;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

.product-parts {
  padding-bottom: 10px;
}

.product-specs {
  font-size: 0.93rem;
  color: #555;
}

.parts-item {
  display: flex;
  margin-bottom: 4px;
  line-height: 1.4;
  word-break: break-word;
  white-space: normal;
  align-items: flex-start;
}

.part-key {  
  flex: 0 0 10%;
  white-space: nowrap;
}

.part-value {
  flex: 1;     
  white-space: normal;
}

.parts-label {
  width: 1em;
  flex-shrink: 0;
  margin-right: 4px;
  line-height: 1.4;
}

.view-datasheet-btn {
  display: flex;
  justify-content: center;
  background: #ff4a13;
  color: white;
  border: none;
  padding: 0.4rem 0 0.5rem 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-top: auto;
  width: 100%;
}

.view-datasheet-btn:hover {
  background: #ca2f00;
}

.view-datasheet-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

@media screen and (max-width: 1024px) {
  .product-container {
    padding: 4rem 1.5rem;
    gap: 40px;
  }
  
  .product-grid {
    gap: 48px 24px;
  }
}

@media screen and (max-width: 768px) {
  .product-container {
    padding: 3rem 2rem;
    gap: 30px;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .product-card {
    min-height: 433px;
    padding: 25px;
  }
  
  .product-card:hover {
    transform: none; 
  }
  
  .product-image {
    height: 250px;
    margin-bottom: 16px;
  }
  
  .product-name {
    font-size: 1.4rem;
  }
  
  .product-specs {
    font-size: 0.9rem;
  }

  .view-datasheet-btn {
    font-size: 1rem;
    font-weight: bold;
    padding: 0.7rem 0 0.7rem 0;
  }
}

@media screen and (max-width: 480px) {
  .product-container {
    padding: 2rem 0.85rem;
    gap: 24px;
  }
  
  .product-grid {
    gap: 24px;
  }
  
  .product-card {
    padding: 20px;
  }
  
  .product-image {
    height: 200px;
    padding: 4%;
    margin-bottom: 12px;
  }
  
  .product-label {
    font-size: 0.9rem;
  }
  
  .product-name {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }
  
  .product-parts {
    padding-bottom: 8px;
  }
  
  .product-specs {
    font-size: 0.85rem;
  }
  
  .parts-item {
    margin-bottom: 3px;
  }
  
  .view-datasheet-btn {
    font-size: 1.2rem;
    font-weight: 400;
    padding: 0.9rem 0 0.9rem 0;
  }
}

@media screen and (max-width: 360px) {
  .product-container {
    padding: 1.5rem 0.5rem;
  }
  
  .product-card {
    min-height: 430px;
    padding: 16px;
  }
  
  .product-image {
    height: 180px;
  }
  
  .product-name {
    font-size: 1.6rem;
  }
  
  .part-key {
    flex: 0 0 12%;
  }
}

/* -------------------------------Proxmox -------------------------------- */
.Product {
  padding: 0 0 100px 0;
  background: #f8f9fa;
  overflow: hidden;
}

.product-container2 {
  width: 100%;
  padding: 0 20px;
}

.product-title {
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, #161616, #333333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proxmox-logo {
  width: 35rem;
  height: auto;
  margin-left: -20px;
}

.product-subtitle {
  text-align: start;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  margin-top: 10px;
}

.proxmox-product-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(330px, 1fr));
  gap: 30px;
}

.proxmox-product-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 40px rgba(0,0,0,0.01);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.proxmox-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(135deg, #c54800, #ff7525);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.proxmox-product-card:hover::before {
  left:0%;
  box-shadow: 
    inset 0 2px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.proxmox-product-card:hover {
  transform: translateY(-5px) ;
  box-shadow: 0 20px 60px rgba(0,0,0,0.03);
  border-color: #ff4400;
}

.proxmox-card-text {
  padding-top: 3rem;
  font-size: 2rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  line-height: 1.4;
  transition: all 0.5s;
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
}

.card-description {
  font-size: 1rem;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.card-features {
  list-style: none;
  margin-bottom: 20px;
}

.card-features li {
  padding: 5px 0;
  color: #555;
  position: relative;
  padding-left: 25px;
}

.card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ff4400;
  font-weight: bold;
}

.card-footer {
  margin-top: auto;
  padding-top: 16px;
  text-align: end;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.cta-text {
  font-size: 16px;
  color: #2c3e50;
  font-weight: 500;
  opacity: 0.8;
}

.proxmox-product-card:hover .cta-text {
  opacity: 1;
  color: #ff4400;
  transition: all 0.4s ease;
}

.proxmox-product-card:hover .proxmox-card-text {
  color: #ff4400;
}

.proxmox-product-card > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 1200px) {
  .proxmox-product-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  
  .product-title {
    font-size: 2rem;
  }
}

@media (max-width: 848px) {
  .proxmox-product-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .Product {
    padding: 60px 0;
  }
  
  .product-title {
    font-size: 2.6rem;
  }

  .product-subtitle {
    font-size: 1.3rem;
  }

  .proxmox-logo {
    margin: 0;
  }
  
  .proxmox-product-card {
    padding: 30px 80px;
    min-height: 150px;
  }
  
  .proxmox-card-text {
    font-size: 2.6rem;
  }

  .card-description {
    font-size: 1.3rem;
  }

  .card-features li {
    font-size: 1.3rem;
  }

  .product-banner-img {
    width: 200px;
    flex-shrink: 0;
    margin-left: -60px;
    height: 200px;
    box-shadow: 4px 13px 30px 1px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .container1300 {
    padding: 0 15px;
  }

  .proxmox-product-card {
    padding: 30px 40px;
  }

  .proxmox-logo {
    width: 30rem;
  }
  
  .product-title {
    font-size: 2.1rem;
  }

  .product-subtitle {
    font-size: 1.7rem;
  }
  
  .proxmox-card-text {
    font-weight: 700;
    font-size: 2.6rem;
  }

  .card-description {
    font-size: 1.4rem;
  }

  .card-features li {
    font-size: 1.2rem;
  }

  /* ---------------제품소개---------------- */
  .product-banner-item {
    gap: 20px;
  }

  .product-banner1, .product-banner2, .product-banner3 {
    min-height: auto;
  }

  .product-banner-img {
    width: 150px;
    flex-shrink: 0;
    margin-left: -60px;
    height: 150px;
    box-shadow: 4px 13px 30px 1px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
  }
}

  @media (max-width:390px) {
    .proxmox-product-card {
      padding: 30px 40px;
    }
    
    .card-features li {
      font-size: 1.2rem;
    }
    
  }

 /* -----------------N.A.T 제품 리다이렉팅 ---------------------- */
.natProductWrapper{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));;
  gap: 3rem 2rem;
  justify-items: center;
  align-items: stretch; 
}

.nat-title-wrapper {
  display: flex;
  align-items: center;
}

.nat-logo {
  width: 10rem;
  height: auto;
  margin-right: 30px;
  margin-left: -10px;
}

.natProduct{  
  display: flex;
  flex-direction: column;
  border: 1px solid #9c9c9c;
  border-radius: 17px;
  width: 100%;
  transition: 0.3s ease;
  text-decoration: none; 
  color: inherit;
  overflow: hidden;
  background-color: #1A1A30;
}

.natProduct:hover{
  transform: translateY(-8px);
  cursor: pointer;
}

.natImg{
  display: flex;
  justify-content: center;
  padding: 5%;
  background-color: #313145;
}

.natImg img {
  width: 100%;
  height: 200px; 
  object-fit: contain; 
  object-position: center;
}

.natDes {
  flex: 1 1 auto;
  padding: 10%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.natLinkDiv {
  padding: 0 10% 10% 10%; 
  font-weight: bold;
  color: #FAB518;
  background-color: #1A1A30;
  margin-top: auto;
}

.natDes div{
  color: white;
}

.natDesTitle{
  font-size: 1.3rem;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
}

.natDesDetail {
  width: 100%;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.natLinkDiv {
  font-weight: bold;
  color: #FAB518;
}

.natProduct:hover .natLinkDiv {
  color: #00A2E5;
  cursor: pointer;  
}


@media screen and (max-width: 768px) {
  .natProductWrapper{
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .natProduct:hover{
    transform: none;
  }
  
  .natImg img {
    height: 150px;
  }
  
  .natDes {
    padding: 8%;
  }
  
  .natLinkDiv {
    padding: 0 8% 8% 8%;
  }
  
  .natDesTitle{
    font-size: 1.8rem;
  }

  .natDesDetail {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 480px) {
  .natProductWrapper{
    gap: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .natImg{
    padding: 4%;
  }
  
  .natImg img {
    height: 120px;
  }
  
  .natDes {
    padding: 6%;
  }
  
  .natLinkDiv {
    padding: 0 6% 6% 6%;
  }
  
  .natDesTitle{
    font-size: 1.5em;
  }
  
  .natDesDetail {
    font-size: 0.9rem;
    -webkit-line-clamp: 3;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .natProductWrapper{
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem 1.5rem;
  }
}