/* ============================================================
   VASUDHA INNOVATIVE ENGINEERING — Product Details Style
   products.css | Modern B2B industrial specs & layouts
   Upgraded to align with the new home.css design system tokens
   ============================================================ */

/* ── PRODUCT HERO ── */
.product-hero {
  min-height: 45vh;
  height: auto;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 4rem;
  position: relative;
  background: linear-gradient(180deg, var(--clr-bg) 0%, var(--clr-surface) 100%);
  border-bottom: 1px solid var(--clr-border);
  overflow: hidden;
}

.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 75% 55%, var(--clr-orange-glow) 0%, transparent 70%);
  pointer-events: none;
}

.product-hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  align-items: center;
  padding: 0 var(--page-x);
  position: relative;
  z-index: 2;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  color: var(--clr-white);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-text h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--clr-orange), var(--clr-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-seo-paragraph {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.0625rem);
  color: var(--clr-white-70);
  max-width: 580px;
  line-height: 1.7;
  margin-top: 0.5rem;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border-mid);
  box-shadow: var(--shadow-dark-lg);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.breadcrumbs {
  position: absolute;
  top: 2.5rem;
  left: var(--page-x);
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-white-45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 10;
}

.breadcrumbs a {
  color: var(--clr-orange);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.breadcrumbs a:hover {
  color: var(--clr-amber);
}

/* ── PRODUCT CONTENT ── */
.product-content-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--page-x);
}

.product-main {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.product-main h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--clr-white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.product-main p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--clr-white-70);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.product-main p a {
  color: var(--clr-orange);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.product-main p a:hover {
  color: var(--clr-amber);
  text-decoration: underline;
}

.about-accent-line {
  background: linear-gradient(90deg, var(--clr-orange), var(--clr-amber));
  margin-bottom: 1.5rem;
}

/* ── SPECIFICATIONS TABLE ── */
.tech-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: var(--clr-surface-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
}

.tech-table th, .tech-table td {
  padding: 1.125rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-align: left;
  border-bottom: 1px solid var(--clr-border);
}

.tech-table tr:last-child th,
.tech-table tr:last-child td {
  border-bottom: none;
}

.tech-table th {
  background: var(--clr-surface-3);
  color: var(--clr-orange);
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: 35%;
}

.tech-table td {
  color: var(--clr-white-95);
}

/* ── APPLICATIONS LIST ── */
.app-list {
  list-style: none;
  margin-top: 1rem;
}

.app-list li {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--clr-white-70);
  padding: 0.625rem 0;
  position: relative;
  padding-left: 1.75rem;
}

.app-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--clr-orange);
  font-weight: 700;
  transition: transform var(--dur-fast);
}

.app-list li:hover::before {
  transform: translateX(4px);
}

/* ── WHY US ── */
.why-points-small {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.wps-item {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--clr-white-70);
  background: var(--clr-surface-2);
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--clr-orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.6;
}

.wps-item strong {
  color: var(--clr-white);
}

/* ── SIDEBAR ── */
.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.related-products-box {
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
}

.related-products-box h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.related-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.related-list a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--clr-white-45);
  text-decoration: none;
  transition: color var(--dur-fast), padding-left var(--dur-fast);
  display: inline-block;
}

.related-list a:hover {
  color: var(--clr-orange);
  padding-left: 4px;
}

/* ── FAQ ACCORDION ── */
.product-faq-section {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 6rem var(--page-x);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-container h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--clr-white);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-fast);
}

.faq-item:hover {
  border-color: var(--clr-border-glow);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  text-align: left;
  color: var(--clr-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.faq-icon {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--clr-orange);
  font-weight: 300;
  transition: transform var(--dur-fast);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--dur-mid) var(--ease-out), opacity var(--dur-mid), padding var(--dur-mid);
  padding: 0 1.75rem;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--clr-white-70);
  line-height: 1.7;
  padding-bottom: 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--clr-white-45);
}

/* ── PRODUCT CTA ── */
.product-cta {
  position: relative;
  padding: 7rem var(--page-x);
  text-align: center;
  background: var(--clr-bg);
  overflow: hidden;
}

.product-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 500px at center, rgba(249, 115, 22, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.product-cta .cta-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.product-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--clr-white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.product-cta h2 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--clr-orange), var(--clr-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-cta p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--clr-white-45);
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.product-cta .cta-btns {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.product-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: none;
  background: linear-gradient(135deg, var(--clr-orange) 0%, var(--clr-orange-dim) 100%);
  color: var(--clr-white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.25);
}

.product-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.45);
}

.product-cta .cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-condensed);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-white);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.product-cta .cta-phone:hover {
  color: var(--clr-orange);
}

/* ── RESPONSIVE OVERRIDES ── */
@media (max-width: 950px) {
  .product-content-wrapper {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 768px) {
  .product-hero {
    padding-top: calc(var(--nav-height) + 2.5rem);
    padding-bottom: 3rem;
  }
  
  .product-hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .breadcrumbs {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 1.5rem;
  }

  .product-content-wrapper {
    padding: 3.5rem var(--page-x);
  }

  .tech-table th {
    width: 40%;
  }

  .product-faq-section {
    padding: 4rem var(--page-x);
  }

  .product-cta {
    padding: 5rem var(--page-x);
  }
}