/**
 * REALSEAL KV Section Styles
 * Desktop: Left-Right Layout
 * Mobile: Top-Bottom Layout
 */

@import url("https://fonts.googleapis.com/css2?family=Anton:wght@400&family=Anton+SC:wght@400&family=Inter:wght@400;900&family=Oswald:wght@400;700&family=Noto+Sans+TC:wght@400;500;700&display=swap");

.realseal-kv {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Remove spacing between navigation and KV section */
.navigation + .realseal-kv {
  margin-top: 0 !important;
}

header.navigation + .realseal-kv {
  margin-top: 0 !important;
}

/* ============================================
   RESPONSIVE LAYOUT (Desktop by default, Mobile via media query)
   ============================================ */

/* Top Section - Contains both top and bottom parts */
.kv-top-section {
  position: relative;
  overflow: visible;
}

/* Top Part - Light Beige Background */
.kv-top-part {
  background-color: #772923;
  background-image: url("../images/realseal_bg1.svg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Floating Bottom Content - Positioned at bottom of top-part */
.kv-bottom-content-float {
  position: absolute;
  padding: 0;
  top: 47%;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  margin-top: auto;
  z-index: 10;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.kv-bottom-content-float.show-on-scroll {
  opacity: 1;
  transform: translateX(-50%) translateY(0) !important;
}

/* Bottom Part - Dark Reddish-Brown Background */
.kv-bottom-part {
  background-color: #772923;
  padding: 0;
  min-height: 0;
  position: relative;
  z-index: 1;
}

/* Hide bottom content in desktop (shown in float instead) */
.kv-bottom-part .kv-bottom-content {
  display: none;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 2.5s ease-out, transform 2.5s ease-out;
}

.kv-bottom-part.show-on-scroll .kv-bottom-content {
  opacity: 1;
  transform: translateY(0);
}

.kv-content-left {
  padding: 0px 0px 40px 38px;
  margin: -475px auto 0 auto;
}

.kv-brand-name {
  margin-bottom: 0px;
  display: inline-block;
  width: 77%;
}

.kv-brand-name img {
  max-width: 100%;
  height: auto;
  display: block;
}

.kv-subtitle {
  font-family: "Anton SC", sans-serif;
  font-weight: 400;
  font-size: 33px;
  color: #000000;
  margin: 0;  
  text-transform: uppercase;
  
}

.kv-tagline {
  font-family: "Anton", sans-serif;
  /* font-weight: 400; */
  font-size: 26px;
  color: #772923;
  margin-bottom: 10px;
  font-style: normal;
  line-height: 1;
  white-space: nowrap; /* Desktop: keep on one line */
}

/* Desktop: Hide br tag in kv-tagline */
.kv-tagline-break {
  display: none;
}

.kv-description {
  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  line-height: 1;
  max-width: 474px;
}

/* Product Image Styling - Desktop */
.kv-product-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  position: relative;
  z-index: 5;
  margin: 0 0 120px 0;
}

.kv-product-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
}

.kv-product-image img {
  max-width: 470px;
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 5;
}


.kv-bottom-content {
  text-align: left;
  color: #FFFFFF;
  position: relative;
  z-index: 1;
  padding: 40px 0px 100px 38px;
}

.kv-complex-title {
  font-family: "Fira Sans", sans-serif;
  font-weight: 800;
  color: #FFFFFF;
  /* margin-bottom: 20px; */
  margin-top: 0;
  padding: 0;
  line-height: 0.9;
  text-transform: uppercase;
  /* letter-spacing: 0.5px; */
  text-align: left;
}

.kv-percent {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 60pt;
  display: block;
  line-height: 1;
  margin: 0;
  padding: 0;
  color: #FFFFFF;
}

.kv-amino {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 20pt;
  display: block;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  /* letter-spacing: 0.5px; */
  color: #FFFFFF;
}

.kv-complex {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 20pt;
  display: block;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}

.kv-benefits {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 0px;
}

.kv-benefits-text {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
  flex-wrap: nowrap;
}

.benefit-text-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.checkmark {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18pt;
  color: #FFFFFF;
  line-height: 1;
}

.benefit-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  /* font-size: 14pt; */
  color: #FFFFFF;
  text-align: left;

  white-space: nowrap;
  letter-spacing: 0px;
}

.kv-benefits-icons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: -5px 0 0 0;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* ============================================
   MOBILE LAYOUT (Top-Bottom) - Controlled via Media Query
   ============================================ */

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Medium Desktop - Allow wrapping for benefits text */
@media (max-width: 1200px) {
  .kv-benefits-text {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .kv-top-part {
    padding: 80px 0;
  }

  .kv-content-left {
    padding: 40px 40px 40px 30px;
  }


  .kv-subtitle {
    font-size: 20px;
  }

  .kv-tagline {
    font-size: 18px;
  }


  .kv-complex-title {
    font-size: 48px;
  }

  .kv-benefits {
    gap: 40px;
  }
}

/* Mobile - Switch to Mobile Layout */
@media (max-width: 992px) {
  /* Change background image for mobile */
  .kv-top-part {
    background-image: url("../images/realseal_m-bg1.svg");
    padding: 50px 20px 40px;
  }


  .macs-logo-wrapper img{
    width: 50%;
  }

  .macs-logo-wrapper.fade-in-up{
    TEXT-ALIGN: CENTER;
  }

  /* Stack content vertically */
  .kv-top-part .container .row {
    flex-direction: column;
  }

  /* Content left section - full width, no negative margin */
  .kv-content-left {
    width: 75%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    order: 1;
  }

  /* Brand name - full width */
  .kv-brand-name {
    width: 90%;
    max-width: 520px;
    margin-bottom: 0px;margin: 0 auto;
    display: block;
    text-align: center;
  }

  /* Subtitle, tagline, description - mobile styles (scaled proportionally from desktop) */
  .kv-subtitle {
    font-size: calc(33px * 1.2); /* 33px * 0.65 = 21.45px */
    margin: 0 0 0px 0;
  }

  .kv-tagline {
    font-size: calc(26px * 1.5); /* 26px * 1.5 = 39px - larger for mobile */
    margin-bottom: 8px;
    margin-top: 0;
    padding: 15px 0;
    border-top: 2px solid #772923;
    border-bottom: 2px solid #772923;
    line-height: 1.3;
    text-align: center;
    margin: 5px 0;
    white-space: normal; /* Mobile: allow line breaks */
  }

  .kv-tagline-break {
    display: block; /* Show br tag on mobile */
  }

  .kv-description {
    font-size: calc(16px * 1.2); /* 16px * 0.65 = 10.4px */
    max-width: 100%;
    line-height: 1.3;
  }

  /* Product image - separate section, centered */
  .kv-product-wrapper {
    width: 100%;
    padding: 30px 20px 40px;
    margin: 0;
    order: 2;
    
  }

  .kv-product-image {
    max-width: 450px;
    margin: 0 auto;
  }

  .kv-product-image img {
    max-width: 100%;
  }

  /* Hide floating content, show in bottom part instead */
  .kv-bottom-content-float {
    display: none;
  }

  /* Bottom part - show content here */
  .kv-bottom-part {
   
    padding: 0px 0 60px 0;
    margin: -40px 0 0 0;
  }

  .kv-bottom-part .container {
    padding: 0;
    width: 60%;
    margin: 0 auto;
  }

  /* Show bottom content in mobile */
  .kv-bottom-part .kv-bottom-content {
    display: block;
    padding: 0;
    text-align: left;
  }

  /* Mobile-specific font sizes (scaled proportionally from desktop) */
  .kv-percent {
    font-size: calc(60pt * 1.25); /* 60pt * 0.65 = 39pt */
  }

  .kv-amino,
  .kv-complex {
    font-size: calc(20pt * 1.25); /* 20pt * 0.65 = 13pt */
  }

  .kv-benefits {
    gap: 15px;
    margin-top: 20px;
  }

  .kv-benefits-text {
    gap: 0px;
    flex-wrap: wrap;
  }

  .benefit-icon img {
    width: 100px;
    height: 100px;
  }

  /* Benefit text - scaled proportionally */
  .checkmark,
  .benefit-text {
    font-size: calc(18pt * 0.9); /* 18pt * 0.65 = 11.7pt */
  }
}

/* Extra Small Mobile - Further scaled down */
@media (max-width: 480px) {
  .kv-top-part {
    padding: 40px 15px 30px;
    background-position: 0px 0px;
  }

  .kv-content-left {
    width: 100%;
    padding: 0 15px;
    text-align: center;
  }

  /* Further scale down for extra small screens (0.55 of desktop) */
  .kv-subtitle {
    font-size: calc(33px * 0.73); /* 33px * 0.55 = 18.15px */
    line-height: 1;
    
  }


 

  .kv-tagline {
    font-size: calc(26px * 1.3);
    padding: 7px 0;
    line-height: 1.1;
    margin: 8px 0;
  }

  .kv-description {
    font-size: calc(16px * 0.9); /* 16px * 0.55 = 8.8px */
    line-height: 1;
    text-align: left;
    width: 80%;
    margin: 0 auto;
  }

  .kv-product-wrapper {
    padding: 0px 15px 30px;
    margin-top: 30px;
  }

  .kv-product-image {
    max-width: 280px;
  }

  .kv-bottom-part {
    padding: 50px 15px;
    padding: 0px 15px 40px 15px;
  }

  .kv-percent {
    font-size: calc(60pt * 0.9); /* 60pt * 0.55 = 33pt */
  }

  .kv-amino,
  .kv-complex {
    font-size: calc(20pt * 0.8); /* 20pt * 0.55 = 11pt */
  }

  .checkmark,
  .benefit-text {
    font-size: calc(18pt * 0.6); /* 18pt * 0.55 = 9.9pt */
  }

  .kv-benefits {
    gap: 10px;
    margin-top: 15px;
  }

  .benefit-icon img {
    width: 60px;
    height: 60px;
  }


  .kv-benefits-icons{ gap: 13px;}
}

/* ============================================
   MACS Technology Section Styles
   ============================================ */

.macs-technology {
  background-color: #772923;
  padding: 180px 0 120px 0;
  color: #FFFFFF;
}

/* Header Section */
.macs-header {
  margin-bottom: 10px;
}

.macs-logo-title-row {
  margin-bottom: 30px;
  justify-content: center;
}

.macs-logo-section {
  
  align-items: center;
  padding-right: 30px;
  TEXT-ALIGN: RIGHT;
}

.macs-logo-wrapper {
  margin: 0;
  
}

.macs-logo-wrapper img{
  width: 249px;
  /* width: 50%; */
}

.macs-logo {
  width: 80px;
  height: auto;
}

.macs-brand-name {
  font-family: "Anton", sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: #FFFFFF;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.macs-subtitle {
  font-family: "Fira Sans", sans-serif;
  font-size: 14px;
  color: #FFFFFF;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.macs-title-section {
  /* display: flex; */
  align-items: center;
}

.macs-technology-title {
  font-family: "Anton", sans-serif;
  font-size: 53px;
  font-weight: 400;
  font-style: italic;
  color: #EBAB48;
  margin: 0;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap; /* Desktop: keep on one line */
}

/* Desktop: Hide br tag completely */
.macs-technology-title-break {
  display: none !important;
}

.macs-badge-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  margin: 0 auto;
  width: 83%;
}

.macs-badge {
 
  border-radius: 8px;
  padding: 0 12px 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.badge-icon {
  font-size: 24px;
  font-weight: bold;
  color: #FFFFFF;
}

.badge-text {
  font-family: "Anton", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #FFFFFF;
}

.badge-image {
  max-width: 141px;
  height: auto;
  display: block;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

/* 3-in-1 badge: desktop vs mobile images */
.badge-image.badge-mobile {
  display: none;
}

@media (max-width: 992px) {
  .badge-image.badge-desktop {
    display: none;
  }
  .badge-image.badge-mobile {
    display: block;
  }
}

.macs-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 3px;

}

.macs-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.macs-checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #EBAB48;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
}

.macs-benefit-text {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Three Panels Section */
.macs-panels {
  margin-top: 0px;
}

.macs-panel {
  margin-bottom: 30px;
}

.macs-panel-content {
  text-align: center;
  padding: 20px;
}

.macs-panel-image {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  width: 80%;
  margin: 0 auto 20px auto;
}

.macs-panel-image img {
  max-width: 100%;
  height: auto;
}

.macs-panel-badge {
  background-color: #A11F24;
  border-radius: 10px;
  padding: 6px 20px;
  display: inline-block;
  margin-bottom: 10px;
  font-family: "Oswald", sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #FFFFFF;
  font-weight: bold;;
  text-transform: uppercase;
  
}

.macs-panel-description {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #FFFFFF;
  line-height: 1.3;
  margin: 0;
}

/* MACS Technology Responsive Design */
@media (max-width: 992px) {

  .macs-panel-image {
    width: 70%;
  }

  .macs-technology {
    padding: 60px 0;
  }

  .macs-header {
    margin-bottom: 10px;
  }

  /* Mobile: Stack logo and title vertically */
  .macs-logo-title-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 120px 0 20px 0;
  }

  .macs-logo-section {
    margin-bottom: 10px;
    padding: 0;
    width: 80%;
  }

  .macs-title-section {
    width: 100%;
  }

  .macs-technology-title {
    font-size: 32px;
    text-align: center;
    white-space: normal; /* Mobile: allow line breaks */
  }

  .macs-technology-title-break {
    display: block !important; /* Show br tag on mobile */
  }

  /* Mobile: Badge and benefits stacked vertically */
  .macs-badge-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin: 0 auto;
  }

  .macs-badge {
    padding: 0;
    width: 90%;
    background: #9E2A24;
  }

  .macs-benefits-list {
    gap: 6px;
    margin: 0 auto;
    /* align-items: center; */
    gap: 6px;
  }

  .macs-panel {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .macs-technology {
    padding: 40px 0;
  }

  .macs-brand-name {
    font-size: 28px;
  }

  .macs-technology-title {
    font-size: 30px;
    line-height: 1.2;
  }

  .macs-subtitle {
    font-size: 12px;
  }

  .macs-benefit-text {
    font-size: 14px;
  }

  .macs-panel-badge {
    font-size: 16px;
    padding: 8px 16px;
    width: 60%;
  }

  .macs-panel-description {
    font-size: 14px;
  }
}

/* ============================================
   Comparison Table Section
   ============================================ */
.comparison-table-section {
  padding: 100px 0 100px 0;
  background-color: #FFFFFF;
}

.comparison-table-title {
  font-family: "Anton", sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: #A11F24;
  /* background-color: #772923; */
  padding: 20px 30px;
  margin: 0 0 40px 0;
  text-transform: uppercase;
  text-align: center;
}

/* Desktop Table Styles */
.comparison-table-desktop {
  display: block;
}

.comparison-table-mobile {
  display: none;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-table thead {
  background-color: #4A4A4A;
}

.comparison-table th {
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  padding: 18px 15px;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid #5A5A5A;
  line-height: 1;
}

.comparison-table td {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #333333;
  padding: 20px 15px;
  border: 1px solid #E0E0E0;
  vertical-align: middle;
}

.comparison-table tbody tr {
  background-color: #FFFFFF;
}

.comparison-table tbody tr:nth-child(even) {
  background-color: #F8F8F8;
}

.comparison-table tbody tr.highlight-row {
  background-color: #772923;
}

.comparison-table tbody tr.highlight-row td {
  color: #FFFFFF;
  border-color: #8A3A35;
}

.comparison-table tbody tr.highlight-row td:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.comparison-table tbody tr.highlight-row .check-icon {
  color: #EBAB48;
}

.realseal-macs-text {
  font-family: "Anton", sans-serif;
  font-size: 33px;
  font-weight: 400;
  display: inline-block;
  line-height: 1;
}

.realseal-macs-subtitle {
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 400;
  display: inline-block;
}

.comparison-table tbody tr.highlight-row .realseal-macs-subtitle {
  color: #FFFFFF;
  font-size: 17px;
  margin: -10px 0 0 0;
}

/* Remove hover effects - Use !important to override global styles */
.comparison-table tbody tr:hover {
  background-color: inherit !important;
}

.comparison-table tbody tr:nth-child(even):hover {
  background-color: #F8F8F8 !important;
}

.comparison-table tbody tr.highlight-row:hover {
  background-color: #772923 !important;
}

.comparison-table tbody tr:hover td {
  background-color: inherit !important;
}

.comparison-table tbody tr:nth-child(even):hover td {
  background-color: #F8F8F8 !important;
}

.comparison-table tbody tr.highlight-row:hover td {
  background-color: #772923 !important;
  color: #FFFFFF !important;
}

.comparison-table td:nth-child(2):hover {
  background-color: inherit !important;
  font-weight: normal !important;
  color: inherit !important;
}

.comparison-table tbody tr.highlight-row td:nth-child(2):hover {
  background-color: #772923 !important;
  color: #FFFFFF !important;
}

.comparison-card:hover {
  transform: none !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.check-icon {
  color: #1C1C1C;
  font-size: 20px;
  font-weight: bold;
}

.cross-icon {
  color: #1C1C1C;
  font-size: 20px;
  font-weight: bold;
}

.partial-text {
  color: #1C1C1C;
  font-weight: 600;
}

.next-gen-badge {
  display: inline-block;
  background-color: #EBAB48;
  color: #FFFFFF;
  font-family: "Anton", sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 4px 12px;
  border-radius: 4px;
  margin-right: 10px;
  text-transform: uppercase;
  vertical-align: middle;
}

.next-gen-badge-image {
  display: block;
  height: auto;
  width: 49px;
  max-height: 49px;
  flex-shrink: 0;
}

.comparison-table tbody tr.highlight-row .next-gen-badge {
  background-color: #EBAB48;
  color: #FFFFFF;
}

/* Mobile Card Styles */
.comparison-card {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.comparison-card.highlight-card {
  background-color: #772923;
  border-color: #8A3A35;
}

/* Override style.css .comparison-card .card-header */
.comparison-table-mobile .comparison-card .card-header {
  background-color: #4A4A4A;
  padding: 15px 20px;
  border-bottom: 2px solid #5A5A5A;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-weight: normal;
  font-size: inherit;
  color: inherit;
  padding-bottom: 15px;
  margin-bottom: 0;
  text-align: left;
}

.comparison-card.highlight-card .card-header {
  background-color: #772923 !important;
  border-bottom-color: #8A3A35 !important;
  justify-content: space-between;
  color: #FFFFFF !important;
}


.card-title {
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  text-transform: uppercase;
}

.comparison-card.highlight-card .card-title {
  color: #FFFFFF;
}

.card-header .next-gen-badge {
  display: inline-block;
  background-color: #EBAB48;
  color: #FFFFFF;
  font-family: "Anton", sans-serif;
  font-size: 12px;
  font-weight: 400;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.card-header .next-gen-badge-image {
  display: block;
  height: auto;
  width: 80px;
  max-height: 80px;
  flex-shrink: 0;
}

.card-header .realseal-macs-text {
  font-family: "Anton", sans-serif;
  font-size: 33px;
  font-weight: 400;
  color: #FFFFFF;
  display: block;
  line-height: 1;
}

.card-header .realseal-macs-subtitle {
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #FFFFFF;
  display: block;
  margin-top: 4px;
}

.card-header .pro {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.card-body {
  padding: 0px 20px;
}

.comparison-card.highlight-card .card-body {
  background-color: #772923;
}

.card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #E0E0E0;
}

.comparison-card.highlight-card .card-row {
  border-bottom-color: #8A3A35;
}

.card-row:last-child {
  border-bottom: none;
}

.card-label {
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  flex: 1;
}

.comparison-card.highlight-card .card-label {
  color: #FFFFFF;
}

.card-notes {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #666666;
  flex: 2;
  text-align: right;
}

.comparison-card.highlight-card .card-notes {
  color: #FFFFFF;
}

.comparison-card .check-icon {
  color: #4CAF50;
  font-size: 18px;
  font-weight: bold;
}

.comparison-card.highlight-card .check-icon {
  color: #EBAB48;
}

.comparison-card .cross-icon {
  color: #F44336;
  font-size: 18px;
  font-weight: bold;
}

.comparison-card.highlight-card .cross-icon {
  color: #FFFFFF;
}

.comparison-card .partial-text {
  color: #FF9800;
  font-weight: 600;
}

.comparison-card.highlight-card .partial-text {
  color: #EBAB48;
}

/* Responsive Design */
@media (max-width: 992px) {
  .comparison-table-desktop {
    display: none;
  }

  .comparison-table-mobile {
    display: block;
  }

  .comparison-table-title {
    font-size: 28px;
    padding: 15px 20px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .comparison-table-section {
    padding: 60px 0;
  }

  .comparison-table-title {
    font-size: 24px;
    padding: 12px 15px;
  }

  .card-title {
    font-size: 16px;
  }

  .card-label {
    font-size: 14px;
  }

  .card-notes {
    font-size: 13px;
  }

 
}

/* ============================================
   RealSeal Up Image Section
   ============================================ */
.realseal-up-section {
  background-color: #FFFFFF;
  padding: 60px 0 80px 0;
  width: 84%;
  margin: 0 auto;
}

.realseal-up-section .container {
  padding-left: 0;
  padding-right: 0;
}

.realseal-up-image-wrapper {
  width: 100%;
  text-align: center;
}

.realseal-up-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Desktop: Show desktop image, hide mobile image */
.realseal-up-image.desktop-image {
  display: block;
}

.realseal-up-image.mobile-image {
  display: none;
}

/* Mobile: Show mobile image, hide desktop image */
@media (max-width: 992px) {
  .realseal-up-section {
    
    padding: 0px 0;
        width: 100%;
        margin: 0 auto;
  }

  .realseal-up-image.desktop-image {
    display: none;
  }

  .realseal-up-image.mobile-image {
    display: block;
  }
}

/* ============================================
   How to Use Section
   ============================================ */
.how-to-use-section {
  padding: 100px 0;
  background-color: #F5F0E8;
}

.how-to-use-title {
  font-family: "Anton", sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: #772923;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 60px 0;
}

.how-to-use-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.step-item {
  flex: 0 1 280px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-title {
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #5C3A2A;
  text-transform: uppercase;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.step-description {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #5C3A2A;
  margin: 0;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 992px) {
  .how-to-use-section {
    padding: 60px 0;
  }

  .how-to-use-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .how-to-use-steps {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .step-item {
    flex: 0 1 auto;
    max-width: 100%;
  }

  .step-icon {
    width: 120px;
    height: 120px;
  }

  .step-title {
    font-size: 20px;
  }

  .step-description {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .how-to-use-section {
    padding: 40px 0;
  }

  .how-to-use-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .how-to-use-steps {
    gap: 30px;
  }

  .step-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }

  .step-title {
    font-size: 18px;
  }

  .step-description {
    font-size: 14px;
  }
}

/* ============================================
   Parallax Scroll Effects
   ============================================ */
.kv-top-part {
  transition: background-position 0.1s ease-out;
}

.kv-product-image {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.kv-bottom-content-float {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Fade in animation for panels and steps */
.macs-panel {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.macs-panel.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* MACS Technology header animations */
.macs-logo-wrapper {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.macs-logo-wrapper.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

.macs-technology-title {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transition-delay: 0.2s;
}

.macs-technology-title.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

.macs-badge {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transition-delay: 0.3s;
}

.macs-badge.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

.macs-benefit-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.macs-benefit-item.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

.macs-benefit-item:nth-child(1).fade-in-up {
  transition-delay: 0.4s;
}

.macs-benefit-item:nth-child(2).fade-in-up {
  transition-delay: 0.5s;
}

.macs-benefit-item:nth-child(3).fade-in-up {
  transition-delay: 0.6s;
}

/* Comparison Table animations */
.comparison-table-title,
.comparison-table-desktop,
.comparison-table-mobile {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.comparison-table-title.fade-in-up,
.comparison-table-desktop.fade-in-up,
.comparison-table-mobile.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

/* RealSeal Up section animations */
.realseal-up-image-wrapper {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.realseal-up-image-wrapper.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

/* How to Use section animations */
.how-to-use-title {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.how-to-use-title.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

.step-item {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.step-item.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delays for better visual flow */
.kv-product-image.fade-in-up {
  transition-delay: 0.2s;
}

.kv-bottom-content-float.fade-in-up {
  transition-delay: 0.1s;
}

.macs-technology-title.fade-in-up {
  transition-delay: 0.2s;
}

.macs-badge-wrapper.fade-in-up {
  transition-delay: 0.3s;
}

.macs-panel:nth-child(1).fade-in-up {
  transition-delay: 0.1s;
}

.macs-panel:nth-child(2).fade-in-up {
  transition-delay: 0.2s;
}

.macs-panel:nth-child(3).fade-in-up {
  transition-delay: 0.3s;
}

.step-item:nth-child(1).fade-in-up {
  transition-delay: 0.1s;
}

.step-item:nth-child(2).fade-in-up {
  transition-delay: 0.2s;
}

.step-item:nth-child(3).fade-in-up {
  transition-delay: 0.3s;
}

/* Stagger animation delay for multiple items */
.macs-panel:nth-child(1) {
  transition-delay: 0.1s;
}

.macs-panel:nth-child(2) {
  transition-delay: 0.2s;
}

.macs-panel:nth-child(3) {
  transition-delay: 0.3s;
}

.step-item:nth-child(1) {
  transition-delay: 0.1s;
}

.step-item:nth-child(2) {
  transition-delay: 0.2s;
}

.step-item:nth-child(3) {
  transition-delay: 0.3s;
}

/* ==================================================
   Language-specific overrides
   ================================================== */

/* zh-TW product page font-size overrides
   只會作用在 <body class="lang-zh-tw"> 的頁面 */

/* Mobile 預設大小改由下面的 @media (max-width: 992px) 控制 */

.lang-zh-tw .kv-subtitle {
  letter-spacing: 6px;
  margin: -10px 0 0 0;
  font-weight: 800;
}

.lang-zh-tw .kv-tagline {
  font-size: 37px;
  letter-spacing: 1px;
  font-weight: 800;
}

.lang-zh-tw .kv-description {
  font-size: 15px;
  line-height: 1.2;
  width: 78%;
}

.lang-zh-tw body,
.lang-zh-tw .kv-description,
.lang-zh-tw .kv-benefits-text .benefit-text,
.lang-zh-tw .macs-panel-description,
.lang-zh-tw .comparison-table,
.lang-zh-tw .comparison-table td,
.lang-zh-tw .comparison-table th,
.lang-zh-tw .card-body,
.lang-zh-tw .card-title,
.lang-zh-tw .card-label,
.lang-zh-tw .card-notes,
.lang-zh-tw .how-to-use-title,
.lang-zh-tw .step-title,
.lang-zh-tw .step-description {
  font-family: "Noto Sans TC", "Noto Sans Traditional Chinese", "Microsoft JhengHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lang-zh-tw .macs-technology-title {
  font-size: 48px;
}

.lang-zh-tw .macs-panel-description {
  font-size: 16px;
}

.lang-zh-tw .comparison-table-title {
  font-size: 40px;
  font-weight: 800;
}

.lang-zh-tw .how-to-use-title {
  font-size: 40px;
    font-weight: 800;
}


.lang-zh-tw .kv-complex-title,.lang-zh-tw .kv-complex,.lang-zh-tw .benefit-text,.lang-zh-tw .macs-technology-title,.lang-zh-tw .macs-panel-badge,.lang-zh-tw .macs-panel-description {
font-family: "Noto Sans TC", "Noto Sans Traditional Chinese", "Microsoft JhengHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;}


.lang-zh-tw .kv-amino{ 
  font-family: "Noto Sans TC", "Noto Sans Traditional Chinese";
  font-size: 40px;
  letter-spacing: 1px;
}
.lang-zh-tw .kv-complex{ 
  font-size: 40px;
}

.lang-zh-tw .macs-technology-title {
  font-size:62px;
  font-weight: 800;
  font-style: normal;
}

.lang-zh-tw .macs-panel-description{
  font-size: 15px;
  width: 76%;
  margin: 0 auto;
  line-height: 1.3;
}


.lang-zh-tw .comparison-table th{
  padding: 18px 31px;
  line-height: 1.3;
}

.lang-zh-tw  .realseal-up-section{
   width: 100%;
  margin: -52px 0 0 0;
}

.lang-zh-tw  .how-to-use-steps{    gap: 40px;}

.lang-zh-tw .macs-logo-wrapper img{ width: 171px;}



.lang-zh-tw  .kv-brand-name{ width: 68%;}
.lang-zh-tw .kv-subtitle{     font-size: 65px;
  letter-spacing: 7px;}
.lang-zh-tw .kv-description{ width: 65%; }

.lang-zh-tw  .realseal-up-image{   width: 81%;}
.lang-zh-tw .macs-logo-section {padding-right: 10px;}

.lang-zh-tw .macs-badge-wrapper{margin: 0 0 0 55px;
  width: 100%;}

/* Disable parallax on mobile for better performance + mobile font scaling */
@media (max-width: 992px) {
  .kv-top-part {
    background-attachment: scroll;
  }
  
  .kv-product-image,
  .kv-bottom-content-float {
    transform: none !important;
  }

  /* Mobile: MACS logo size */
  .macs-logo-wrapper img {
    width: 65%;
  }

  /* Mobile Chinese subtitle scales with viewport width */

  .lang-zh-tw .kv-brand-name{ width: 72%;}
  .lang-zh-tw .kv-tagline{ width: 80%;         margin: 10px auto;
    padding: 8px 0;        letter-spacing: 4px;}



  .lang-zh-tw .kv-subtitle{font-size: 40px; margin: 3px 5px;}
  .lang-zh-tw .macs-technology-title{ font-family: "Noto Sans TC", "Noto Sans Traditional Chinese";font-size: 45px;font-style: normal;}
  .lang-zh-tw .macs-badge{ background:none}
  .lang-zh-tw .macs-panel-description{font-family: "Noto Sans TC", "Noto Sans Traditional Chinese";width: 90%;}
  .lang-zh-tw .comparison-table-title{font-family: "Noto Sans TC", "Noto Sans Traditional Chinese"; font-size: 40px;}
  .lang-zh-tw .card-header .realseal-macs-text{font-size: 47px;}
  .lang-zh-tw .realseal-up-section{margin: 0;}
  .lang-zh-tw .card-header .next-gen-badge-image{width: 90px;
    max-height: 90px;}

  .lang-zh-tw  .how-to-use-section{ padding: 80px 0;}
  .lang-zh-tw .how-to-use-title{  font-family: "Noto Sans TC", "Noto Sans Traditional Chinese";   font-size: 40px;font-weight: 800;}

  .lang-zh-tw .macs-benefit-text{ font-size: 21px;}
  .lang-zh-tw .badge-image{max-width: 231px;}
  .lang-zh-tw .kv-benefits-icons{ margin: 5px 0;}
  .lang-zh-tw .macs-badge-wrapper{margin: 0 0 0 0px;
    width: 100%;}
  .lang-zh-tw .realseal-up-image{ width: 100%;}

}


