:root {
  /* === OVEC Premium Industrial (Orange) === */

  --bg-main: #f3f4f6;
  --bg-section: #ffffff;
  --bg-card: #f8f9fb;

  --border-subtle: #dde1e6;
  --shadow-soft: rgba(0,0,0,0.08);

  --text-main: #1c2228;
  --text-muted: #5b6570;
  --text-soft: #7b8692;

  --accent: #d9822b;
  --accent-hover: #c56f1f;
  --accent-soft: rgba(217, 130, 43, 0.14);



  --text-light: #eaeef1;   /* lighter primary text */
  
  --nav-height: 52px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: "Ubuntu", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1 {
  font-weight: 600;

}

h2 {
  font-weight: 300;
}

/* =========================
   NAVBAR (LIGHT, CONTROLLED)
   ========================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 10;
  background: linear-gradient(
      180deg,
       rgba(58, 58, 57, 0.647),
      rgba(58, 58, 57, 0.447),
       rgba(58, 58, 57, 0.247)
    );
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-inner {
  height: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  transition: opacity 0.2s ease;
}

.logo {
  font-weight: 700;
  letter-spacing: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  font-weight: 400;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom: 1px solid var(--accent);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* =========================
   HERO (UNCHANGED)
   ========================= */

.hero-video {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 90%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  background: rgba(15, 18, 22, 0.75);
  z-index: 2;
  pointer-events: none;
}


.hero-underlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 12, 1);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin-left: 12vw;
  padding: 0 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.hero-content h1 {
  font-size: clamp(4rem, 8vw, 3.2rem);
  margin-bottom: 20px;
  color: #cfd6dd; /* stays light over video */
}

.hero-content p {
  font-size: 2rem;
  color: #cfd6dd; /* stays light over video */
  margin-bottom: 30px;
}

/* =========================
   USE CASE TEXT
   ========================= */

.usecase-wrapper {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
  font-weight: 600;
}

#usecaseText {
  display: inline-block;
  min-width: 360px;
  color: var(--accent);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

#usecaseText.exit {
  opacity: 0;
  transform: translateY(-8px);
}

#usecaseText.enter {
  opacity: 0;
  transform: translateY(8px);
}

/* =========================
   CTA
   ========================= */

.cta {
  display: inline-block;
  padding: 14px 30px;
  background-color: var(--accent);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  width: 300px;
}

.note {
  margin-top: 30px;
  font-size: 0.95rem;
  color: #cfd6dd;
}

/* =========================
   SECTIONS
   ========================= */

.section {
  width: 100vw;
  background-color: var(--bg-section);
}

.section .inner {
  max-width: 1100px;
  margin: auto;
  padding: 70px 20px;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 25px;
}

.section p {
  margin-bottom: 18px;
  color: var(--text-muted);
}

/* =========================
   PRODUCTS / APPLICATIONS
   ========================= */

.page-header {
  padding-top: 140px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

/* === Refined Card (Fresh, OEM) === */
.product-card {
  position: relative;
  padding: 36px 34px;
  background-color: var(--bg-card);
  background-image:
    linear-gradient(
      180deg,
      #ffffff,
      #f3f5f8
    );
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow:
    0 10px 24px rgba(0,0,0,0.08);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

/* structural top edge */
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(245, 185, 66, 0.9),
      transparent
    );
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 185, 66, 0.6);
}

.product-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  color: var(--text-main);
}

.product-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}


/* =========================
   CARD IMAGE SUPPORT
   ========================= */

.card-image {
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 22px;
  background: #e5e7eb; /* fallback */
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

/* subtle overlay to keep tone calm */
.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05),
    rgba(224, 224, 224, 0.15)
  );

 
  pointer-events: none;
}

.card-content {
  position: relative;
}


/* =========================
   FOOTER
   ========================= */

.footer {
  text-align: center;
  padding: 50px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  background-color: var(--bg-section);
}

.footer .contact {
  margin-top: 12px;
  font-weight: 500;
}

/* =========================
   CREDIBILITY STRIP
   ========================= */

.cred-strip {
  background: #eef1f4;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.cred-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .cred-container {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
  .hero-content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  #usecaseText {
    min-width: auto;
  }

  .nav-links {
    gap: 20px;
  }
}
/* =========================
   APPLICATIONS CARD RATIO FIX
   ========================= */

/* Limit card width so they don't stretch too wide */
.applications-page .product-list {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Slightly reduce card padding for density */
.applications-page .product-card {
  padding: 28px 26px;
}

/* Control image height (this is key) */
.applications-page .card-image {
  height: 120px;
  margin-bottom: 18px;
}

/* Normalize text height so cards align better */
.applications-page .product-card p {
  font-size: 0.9rem;
  line-height: 1.55;
}
/* =========================
   PRODUCT SELECTOR TABLE
   ========================= */

.selector-table-wrapper {
  margin-top: 40px;
  overflow-x: auto;
}

.selector-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e0e4e8;
}

.selector-table th,
.selector-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid #e0e4e8;
}

.selector-table thead th {
  background: #f4f6f8;
  font-weight: 600;
}

.selector-table tbody tr:hover {
  background: #fafbfc;
}

.selector-table td:first-child {
  font-weight: 500;
  color: #2b3137;
}

/* Mobile friendliness */
@media (max-width: 768px) {
  .selector-table th,
  .selector-table td {
    font-size: 0.85rem;
    padding: 12px 14px;
  }
}
/* =========================
   PRODUCT SELECTOR ACTIONS
   ========================= */

.selector-actions {
  margin-top: 28px;
}

.selector-actions p {
  max-width: 900px;
  margin-bottom: 22px;
  color: var(--text-muted);
}

.selector-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* OEM-style action buttons */
.selector-btn {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid #cfd4da;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  background: #ffffff;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.selector-btn:hover {
  border-color: var(--accent);
  background-color: #f9fafb;
  transform: translateY(-1px);
}
/* =========================
   SELECTOR TABLE FOOTER
   ========================= */

.selector-table tfoot td {
  padding: 18px 16px;
  border-top: 1px solid #e0e4e8;
  background: #ffffff;
}

.selector-table tfoot td:first-child {
  background: transparent;
}

/* reuse existing button style */
.selector-table .selector-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
}
/* =========================
   SERIES PAGE TABLE TUNING
   ========================= */

.series-page .selector-table {
  table-layout: fixed; /* critical for consistency */
}

/* Feature column */
.series-page .selector-table th:first-child,
.series-page .selector-table td:first-child {
  width: 22%;
}

/* Product columns */
.series-page .selector-table th:not(:first-child),
.series-page .selector-table td:not(:first-child) {
  width: 19.5%;
  text-align: center;
}

/* Reduce padding for denser layout */
.series-page .selector-table th,
.series-page .selector-table td {
  padding: 12px 14px;
  font-size: 0.88rem;
}

/* Footer buttons stay readable */
.series-page .selector-table tfoot td {
  padding-top: 16px;
  padding-bottom: 16px;
}
.selector-table-wrapper {
  overflow-x: auto;
}
/* =========================
   HARD WIDTH CONSTRAINT (SERIES TABLES)
   ========================= */

.series-page .selector-table-wrapper {
  max-width: 1100px;      /* match Products page visual width */
  margin-left: auto;
  margin-right: auto;
}

.series-page .selector-table {
  width: auto;            /* 🔑 stop full stretch */
  min-width: 960px;       /* ensures readable columns */
}
.series-page .selector-table th,
.series-page .selector-table td {
  padding: 12px 14px;
  font-size: 0.88rem;
}
.series-page .selector-table th,
.series-page .selector-table td {
  padding: 12px 14px;
  font-size: 0.88rem;
}

/* =========================
   SALES CTA ALIGNMENT
   ========================= */

.sales-cta {
  margin-top: 32px;
  text-align: center;
}

.sales-cta .selector-btn {
  min-width: 260px;
}

/* =========================
   OEM ENGAGEMENT SPLIT LAYOUT
   ========================= */

.oem-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.oem-visual {
  border-radius: 16px;
  overflow: hidden;
}

.oem-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* FORM PANEL */
.oem-form-panel {
  background: #ffffff;
  padding: 32px 36px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* TABULAR FORM */
.form-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 14px;
}

.form-table td {
  vertical-align: top;
}

.form-table td:first-child {
  width: 38%;
  font-size: 0.85rem;
  font-weight: 500;
  padding-right: 16px;
}

.form-table small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* INPUTS */
.oem-form input,
.oem-form select,
.oem-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d6dbe1;
  font-family: inherit;
  font-size: 0.9rem;
}

.oem-form input:focus,
.oem-form select:focus,
.oem-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* SUBMIT BUTTON */
.submit-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 14px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* MOBILE */
@media (max-width: 900px) {
  .oem-split {
    grid-template-columns: 1fr;
  }
}
/* =========================
   OEM ENGAGEMENT – VERTICAL FLOW
   ========================= */

.oem-hero-visual {
  margin-bottom: 40px;
  border-radius: 18px;
  overflow: hidden;
}

.oem-hero-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* Form container refinement */
.oem-form-panel {
  max-width: 980px;
  margin: 0 auto;
}

/* Make table a bit more airy now that it's full width */
.form-table td:first-child {
  width: 34%;
}

/* Submit button emphasis */
.submit-btn {
  min-width: 320px;
}
.footer-links a {
  margin: 0 6px;
  font-size: 0.85rem;
}
/* =========================
   COMMON FOOTER
   ========================= */

.footer {
  background: #0f1216;
  color: #cfd3d8;
  margin-top: 80px;
}

.footer a {
  color: #cfd3d8;
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
}

.footer-col strong {
  display: block;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-contact {
  margin-top: 16px;
  font-size: 0.9rem;
}

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0 32px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #9aa1a9;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 14px;
}
.footer-brand {
  padding-right: 12px;
}
