/* =============================================
   LARXIUS TECHNOLOGIES — PRODUCTS PAGE STYLES
   ============================================= */

/* -------------------------------------------
   PRODUCTS HERO
   ------------------------------------------- */
.products-hero {
  background: linear-gradient(135deg, #F8FAFC 0%, #EDE9FE 100%);
}

/* -------------------------------------------
   PRODUCT ECOSYSTEM
   ------------------------------------------- */
.ecosystem-section {
  background: var(--color-white);
  padding-bottom: 40px;
}

.ecosystem-visual {
  margin-top: 48px;
}

.ecosystem-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ecosystem-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  text-align: center;
  transition: all var(--transition-base);
  min-width: 200px;
  flex: 1;
  max-width: 260px;
}

.ecosystem-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.ecosystem-logo-wrapper {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  height: 80px;
}

.ecosystem-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.ecosystem-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.ecosystem-desc {
  font-size: 14px;
  color: var(--color-text-light);
  margin: 0;
}

.ecosystem-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ecosystem-base {
  margin-top: 40px;
  text-align: center;
}

.ecosystem-base-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  margin-bottom: 16px;
  opacity: 0.3;
}

.ecosystem-base-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(109, 40, 217, 0.08);
  padding: 8px 20px;
  border-radius: 20px;
}

.ecosystem-base-label i {
  font-size: 16px;
}

.ecosystem-scroll-hint {
  margin-top: 32px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-light);
  opacity: 0.7;
}

.ecosystem-scroll-hint i {
  font-size: 18px;
  color: var(--color-primary);
  animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* -------------------------------------------
   PRODUCT DETAIL SECTIONS
   ------------------------------------------- */
.product-detail-section {
  background: var(--color-white);
  padding-top: 60px;
  padding-bottom: 60px;
}

.product-alt-bg {
  background: var(--color-bg-light);
}

.product-detail-logo {
  margin-bottom: 20px;
}

.product-detail-logo img {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.product-detail-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.product-badge-detail {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(109, 40, 217, 0.08);
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.product-detail-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.product-detail-desc {
  font-size: 17px;
  color: var(--color-paragraph);
  line-height: 1.8;
  margin-bottom: 28px;
}

.product-detail-visual {
  position: relative;
}

.product-detail-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* -------------------------------------------
   BUSINESS PROBLEMS
   ------------------------------------------- */
.product-problems {
  margin-top: 80px;
}

.product-subtitle {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}

.problem-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition-base);
  height: 100%;
}

.problem-card:hover {
  border-color: rgba(109, 40, 217, 0.2);
  box-shadow: var(--shadow-md);
}

.problem-icon {
  width: 48px;
  height: 48px;
  background: rgba(109, 40, 217, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.problem-icon i {
  font-size: 22px;
  color: var(--color-primary);
}

.problem-card h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 14px;
  color: var(--color-paragraph);
  line-height: 1.6;
  margin: 0;
}

/* -------------------------------------------
   FEATURE LIST
   ------------------------------------------- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-check {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(109, 40, 217, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.feature-check i {
  font-size: 16px;
  color: var(--color-primary);
}

.feature-item h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 14px;
  color: var(--color-paragraph);
  line-height: 1.6;
  margin: 0;
}

/* -------------------------------------------
   BENEFITS GRID
   ------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.benefit-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-base);
}

.benefit-card:hover {
  border-color: rgba(109, 40, 217, 0.2);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: rgba(109, 40, 217, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.benefit-icon i {
  font-size: 18px;
  color: var(--color-primary);
}

.benefit-card h5 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.benefit-card p {
  font-size: 13px;
  color: var(--color-paragraph);
  line-height: 1.6;
  margin: 0;
}

/* -------------------------------------------
   INDUSTRY TAGS
   ------------------------------------------- */
.product-industries {
  margin-top: 32px;
}

.industries-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.industry-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  background: rgba(109, 40, 217, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(109, 40, 217, 0.15);
}

/* -------------------------------------------
   WHY CHOOSE PRODUCTS
   ------------------------------------------- */
.why-products-section {
  background: var(--color-bg-light);
}

/* -------------------------------------------
   PRODUCT COMPARISON TABLE
   ------------------------------------------- */
.comparison-section {
  background: var(--color-white);
}

.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  min-width: 700px;
}

.comparison-table thead {
  background: var(--color-bg-dark);
}

.comparison-table th {
  padding: 20px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  text-align: center;
  border: none;
  white-space: nowrap;
}

.comparison-table th.feature-col {
  text-align: left;
  width: 220px;
}

.product-col-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.comparison-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.comparison-table td {
  padding: 16px 24px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  color: var(--color-text);
}

.comparison-table td.feature-name {
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
}

.comparison-table tbody tr:hover {
  background: var(--color-bg-light);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table .text-success {
  color: #10B981 !important;
  font-size: 20px;
}

.comparison-table .text-primary {
  color: var(--color-primary) !important;
  font-size: 18px;
  margin-right: 4px;
}

/* -------------------------------------------
   DEVELOPMENT PHILOSOPHY
   ------------------------------------------- */
.philosophy-section {
  background: var(--color-bg-light);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.philosophy-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition-base);
}

.philosophy-card:hover {
  border-color: rgba(109, 40, 217, 0.2);
  box-shadow: var(--shadow-md);
}

.philosophy-icon {
  width: 44px;
  height: 44px;
  background: rgba(109, 40, 217, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.philosophy-icon i {
  font-size: 20px;
  color: var(--color-primary);
}

.philosophy-card h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.philosophy-card p {
  font-size: 14px;
  color: var(--color-paragraph);
  line-height: 1.6;
  margin: 0;
}

/* -------------------------------------------
   RESPONSIVE ADJUSTMENTS
   ------------------------------------------- */
@media (max-width: 991px) {
  .ecosystem-row {
    flex-direction: column;
    gap: 16px;
  }

  .ecosystem-connector {
    transform: rotate(0deg);
  }

  .ecosystem-card {
    max-width: 100%;
  }

  .product-detail-image {
    height: 320px;
  }

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

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

  .cta-mascot {
    margin-top: 32px;
  }
}

@media (max-width: 767px) {
  .product-detail-title {
    font-size: 32px;
  }

  .product-detail-image {
    height: 260px;
    margin-top: 24px;
  }

  .product-problems {
    margin-top: 48px;
  }

  .ecosystem-card {
    padding: 24px 20px;
  }
}

@media (max-width: 575px) {
  .product-detail-title {
    font-size: 28px;
  }

  .comparison-table-wrapper {
    margin: 0 -20px;
    padding: 0 20px;
  }
}
