/* product.css - Zoytree Product Page Styles */

:root {
  --primary-teal: #00e0b8;
  --secondary-teal: #0cb799;
  --bg-dark: #000;
  --card-bg: #111;
  --text-primary: #ffffff;
  --text-secondary: #6f8f8a;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.1);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  overflow-x: hidden;
}
html {
  overflow-x: hidden;
}

/* ================= PARTNERING INDUSTRIES ================= */
.partnering-section {
  padding: 80px 0 120px;
  position: relative;
  border-top: 1px solid var(--border-color);
}

.partnering-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.partnering-left {
  max-width: 500px;
}

.partnering-heading {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #fff 0%, var(--primary-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.partnering-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.partnering-list li {
  display: flex;
  align-items: flex-start;
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
  transition: var(--transition);
}

.partnering-list li:hover {
  color: var(--text-primary);
  transform: translateX(5px);
}

.list-icon {
  color: var(--primary-teal);
  margin-right: 16px;
  font-size: 14px;
  margin-top: 4px;
  background: rgba(0, 224, 184, 0.1);
  min-width: 24px;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 224, 184, 0.2);
}

.partnering-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hexagon-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.hexagon-container::before {
  content: "";
  display: block;
  padding-top: 115.47%; /* Height is 1.1547 * Width for vertical hexagon */
}

.hexagon-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border-color);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: var(--transition);
}

.hexagon-container:hover .hexagon-content {
  background: var(--primary-teal);
}

.hexagon-image {
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: var(--bg-dark);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hexagon-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
}

.hexagon-container:hover .hexagon-image img {
  opacity: 1;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
  .partnering-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .partnering-left {
    max-width: 100%;
  }
  .partnering-list li {
    justify-content: flex-start;
    text-align: left;
  }
  .partnering-heading {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .hexagon-container {
    max-width: 350px;
  }
  .partnering-list li {
    font-size: 16px;
  }
}

/* ================= PRODUCT HERO ================= */
.product-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    circle at center,
    rgba(0, 224, 184, 0.05) 0%,
    var(--bg-dark) 70%
  );
}

.product-hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.product-hero-content {
  flex: 1;
  max-width: 600px;
}

.product-hero .hero-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-teal) 0%, #008f75 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-hero .hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.product-hero-image {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.product-hero-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(
    circle,
    rgba(0, 224, 184, 0.2) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  z-index: -1;
  filter: blur(20px);
}

.product-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  transition: transform 0.4s ease;
}

.product-hero-image img:hover {
  transform: translateY(-10px);
}

.btn-primary {
  background: var(--primary-teal);
  color: #000;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 224, 184, 0.2);
}

/* ================= RESPONSIVE ONLY ================= */

@media (max-width: 992px) {
  .product-hero-container {
    gap: 40px;
    padding: 0 20px;
  }

  .hero-title {
    font-size: 55px;
    line-height: 1.1;
  }

  .hero-description {
    font-size: 16px;
    line-height: 1.8;
  }

  .product-hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .product-hero {
    padding: 120px 20px 60px;
  }

  .product-hero-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 50px;
  }

  .product-hero-content {
    width: 100%;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-description {
    width: 100%;
    max-width: 100%;
    font-size: 15px;
  }

  .product-hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .product-hero-image img {
    width: 100%;
    max-width: 420px;
  }
}

@media (max-width: 480px) {
  .product-hero {
    padding: 110px 15px 50px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.7;
  }

  .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 15px;
  }

  .product-hero-image img {
    max-width: 100%;
  }
}
/* ================= PRODUCTS SECTION ================= */

.products-section {
  padding: 100px 0;
  position: relative;
  border-top: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ================= PRODUCTS GRID ================= */

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: stretch;
}

/* ================= PRODUCT CARD ================= */

.product-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 224, 184, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 0 25px rgba(0, 224, 184, 0.08);
}

/* ================= PRODUCT IMAGE ================= */

.product-card-image {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
  flex-shrink: 0;
}

.product-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.06);
}

/* ================= PRODUCT BADGE ================= */

.product-card-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.product-badge {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 224, 184, 0.25);
  color: var(--primary-teal);

  padding: 7px 14px;
  border-radius: 30px;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ================= PRODUCT CONTENT ================= */

.product-card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ================= TITLE ================= */

.product-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);

  margin-bottom: 18px;

  /* SAME TITLE ALIGNMENT */
  min-height: 65px;

  display: flex;
  align-items: flex-start;
}

/* ================= DESCRIPTION ================= */

.product-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;

  /* PUSH BUTTON TO BOTTOM */
  flex-grow: 1;

  margin-bottom: 30px;
}

/* ================= BUTTON ================= */

.btn-outline {
  margin-top: auto;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--text-primary);
  text-decoration: none;

  font-weight: 500;
  font-size: 16px;

  transition: all 0.3s ease;
}

.btn-outline i {
  font-size: 14px;
  color: var(--primary-teal);
  transition: transform 0.3s ease;
}

.btn-outline:hover {
  color: var(--primary-teal);
}

.btn-outline:hover i {
  transform: translateX(5px);
}

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

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products-section {
    padding: 80px 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-card-content {
    padding: 24px;
  }

  .product-title {
    font-size: 20px;
    min-height: auto;
  }

  .product-desc {
    font-size: 14px;
  }

  .btn-outline {
    font-size: 15px;
  }
}
