/* Products Page Styles */

/* Section Header Centered */
.section-header-centered {
  text-align: center;
  margin-bottom: 64px;
}

.section-header-centered h2 {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--color-text);
  letter-spacing: -1px;
}

.section-header-centered p {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
}

/* Active nav item */
.nav-menu a.active {
  color: var(--color-primary);
  position: relative;
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
}

.navbar-desktop.scrolled .nav-menu a.active {
  color: var(--color-primary);
}

.mobile-nav a.active {
  color: var(--color-primary) !important;
  border-left-color: var(--color-primary);
  background: rgba(22, 119, 255, 0.05);
}

/* Products Hero */
.products-hero {
  position: relative;
  height: 55vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.products-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.products-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products-hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.products-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.products-hero-content h1 {
  font-size: 64px;
  font-weight: 300;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.products-hero-content p {
  font-size: 18px;
  opacity: 0.8;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Product Navigation */
.product-nav-section {
  padding: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 64px;
  z-index: 100;
}

.product-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
}

.product-nav-item {
  flex: 1;
  max-width: 280px;
  padding: 28px 40px;
  text-align: center;
  text-decoration: none;
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 400;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.product-nav-item:hover {
  color: var(--color-text);
  background: transparent;
}

.product-nav-item.active {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
  background: transparent;
}

/* Product Detail */
.product-detail {
  padding: 140px 0;
  background: #fff;
}

.product-detail.product-reverse {
  background: var(--color-bg);
}

.product-detail.product-reverse .product-layout {
  flex-direction: row-reverse;
}

.product-layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.product-visual {
  flex: 1.1;
  max-width: 52%;
}

.product-image-main {
  width: 100%;
  height: 0;
  padding-bottom: 75%; /* 4:3 ratio for more compact height */
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
}

.product-image-main img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.6s ease;
}

.product-image-main:hover img {
  transform: scale(1.02);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.product-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
  opacity: 0.6;
}

.product-gallery img:hover {
  border-color: var(--color-text);
  opacity: 1;
}

.product-gallery img.active {
  border-color: var(--color-primary);
  opacity: 1;
}

.product-info {
  flex: 0.9;
  max-width: 48%;
}

.product-badge {
  display: inline-block;
  padding: 4px 12px;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--color-border);
  border-radius: 0;
  margin-bottom: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.product-info h2 {
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 16px;
  color: var(--color-text);
  letter-spacing: -1px;
}

.product-slogan {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  font-weight: 400;
}

.product-description {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 40px;
}

/* Product Specs Grid */
.product-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-bottom: 36px;
  border-top: 1px solid var(--color-border);
}

.product-specs-grid .spec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  background: transparent;
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.product-specs-grid .spec-item:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid var(--color-border);
}

.product-specs-grid .spec-item:nth-child(even) {
  padding-left: 32px;
}

.product-specs-grid .spec-item:hover {
  background: rgba(22, 119, 255, 0.02);
}

.product-specs-grid .spec-label {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
}

.product-specs-grid .spec-value {
  font-size: 28px;
  font-weight: 300;
  color: var(--color-text);
  letter-spacing: -0.8px;
  line-height: 1.2;
}

/* Product Highlights */
.product-highlights {
  margin-bottom: 36px;
  padding: 0;
  background: transparent;
}

.product-detail.product-reverse .product-highlights {
  background: transparent;
}

.product-highlights h4 {
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.highlights-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.highlight-tag {
  padding: 6px 16px;
  background: transparent;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 400;
  border: 1px solid var(--color-border);
  border-radius: 0;
}

/* Product Actions */
.product-actions {
  display: flex;
  gap: 16px;
}

.btn-primary,
.btn-secondary {
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;

}

.btn-primary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-text);
}

/* Product Features */
.product-features {
  padding: 120px 0;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #e8e8e803;
  border: 1px solid var(--color-border);
}

.feature-card {
  background: #fff;
  padding: 48px 32px;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.feature-card:hover {
  background: rgba(22, 119, 255, 0.02);
}

.feature-card:hover::before {
  width: 3px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--color-text);
  position: relative;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* Scenarios Section */
.scenarios-section {
  padding: 120px 0;
  background: var(--color-bg);
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 60px;
}

.scenario-card {
  background: #fff;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 240px;
}

.scenario-card:hover {
  background: rgba(22, 119, 255, 0.02);
}

.scenario-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.scenario-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.scenario-card:hover .scenario-image img {
  transform: scale(1.05);
}

.scenario-content {
  padding: 40px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  background: #fff;
}

.scenario-content h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--color-text);
}

.scenario-content > p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.scenario-highlight {
  display: inline-block;
  padding: 4px 0;
  color: var(--color-primary);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -1px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--color-primary);
}

.scenario-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* Use Cases Section */
.use-cases-section {
  padding: 120px 0;
  background: #fff;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: #e8e8e824;
  border: 1px solid var(--color-border);
}

.use-case-card {
  padding: 48px 40px;
  background: #fff;
  transition: all 0.3s ease;
  position: relative;
}

.use-case-card:hover {
  background: rgba(22, 119, 255, 0.02);
}

.use-case-number {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 48px;
  font-weight: 300;
  color: rgba(22, 119, 255, 0.15);
  line-height: 1;
}

.use-case-card h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--color-text);
  padding-right: 60px;
}

.use-case-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* Products CTA */
.products-cta {
  padding: 160px 0;
  background: url('../images/coop.jpg') center/cover no-repeat;
  text-align: center;
  color: #fff;
  position: relative;
}

.products-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/coop.jpg') center/cover no-repeat;
}

.products-cta .container {
  position: relative;
  z-index: 1;
}

.products-cta .cta-content h2 {
  font-size: 56px;
  font-weight: 300;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.products-cta .cta-content p {
  font-size: 18px;
  margin-bottom: 56px;
  opacity: 0.7;
  font-weight: 300;
}

.btn-primary-large {
  display: inline-block;
  padding: 16px 48px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.btn-primary-large:hover {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .product-layout {
    gap: 80px;
  }

  .product-specs-grid {
    grid-template-columns: 1fr;
  }

  .product-specs-grid .spec-item:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }

  .product-specs-grid .spec-item:nth-child(even) {
    padding-left: 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenarios-grid {
    grid-template-columns: 1fr;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .products-hero {
    height: 45vh;
    min-height: 400px;
  }

  .products-hero-content h1 {
    font-size: 40px;
    letter-spacing: -1px;
  }

  .products-hero-content p {
    font-size: 16px;
  }

  .product-nav {
    justify-content: flex-start;
  }

  .product-nav-item {
    max-width: none;
    padding: 24px 28px;
    font-size: 13px;
  }

  .product-detail {
    padding: 100px 0;
  }

  .product-layout {
    flex-direction: column !important;
    gap: 60px;
  }

  .product-visual {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .product-info {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .product-image-main {
    padding-bottom: 75%;
    width: 100%;
  }

  .product-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .product-info h2 {
    font-size: 36px;
  }

  .product-slogan {
    font-size: 16px;
  }

  .product-description {
    font-size: 14px;
    line-height: 1.8;
  }

  .product-specs-grid .spec-value {
    font-size: 28px;
  }

  .product-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .section-header-centered h2 {
    font-size: 36px;
  }

  .section-header-centered p {
    font-size: 15px;
  }

  .product-features,
  .scenarios-section,
  .use-cases-section {
    padding: 100px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 40px 28px;
  }

  .scenario-content {
    padding: 32px 28px;
    min-height: 260px;
  }

  .scenario-image {
    height: 200px;
  }

  .scenario-highlight {
    font-size: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .feature-card {
    padding: 32px 24px;
    border-bottom: 1px solid var(--color-border);
  }

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

  .feature-card::before {
    display: none;
  }

  .use-case-card {
    padding: 40px 28px;
  }

  .products-cta {
    padding: 120px 0;
  }

  .products-cta .cta-content h2 {
    font-size: 40px;
  }

  .products-cta .cta-content p {
    font-size: 16px;
  }

  .btn-primary-large {
    padding: 14px 40px;
  }
}

@media (max-width: 480px) {
  .products-hero-content h1 {
    font-size: 32px;
  }

  .products-hero-content p {
    font-size: 14px;
  }

  .product-nav-item {
    padding: 20px 24px;
    font-size: 12px;
  }

  .section-header-centered h2 {
    font-size: 32px;
  }

  .product-info h2 {
    font-size: 32px;
  }

  .product-badge {
    font-size: 10px;
    padding: 4px 10px;
  }

  .product-specs-grid .spec-item {
    padding: 20px 0;
  }

  .product-specs-grid .spec-value {
    font-size: 22px;
  }

  .product-specs-grid .spec-label {
    font-size: 10px;
  }

  .product-highlights {
    margin-bottom: 24px;
  }

  .highlights-list {
    gap: 8px;
  }

  .highlight-tag {
    padding: 5px 12px;
    font-size: 12px;
  }

  .product-description {
    font-size: 13px;
    margin-bottom: 28px;
  }

  .scenario-highlight {
    font-size: 28px;
  }

  .products-cta .cta-content h2 {
    font-size: 32px;
  }
}
