/* ============================================================
   PEL POWER — Global Stylesheet
   Color palette: pure gray/charcoal/black + white accents
   Zero orange · Zero blue
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-darkest:   #0b0b0b;
  --bg-dark:      #111111;
  --bg-card:      #181818;
  --bg-card-2:    #202020;
  --bg-card-3:    #2a2a2a;
  --border-soft:  rgba(255,255,255,0.07);
  --border-mid:   rgba(255,255,255,0.13);
  --border-hard:  rgba(255,255,255,0.22);
  --text-white:   #ffffff;
  --text-platinum:#e0e0e0;
  --text-silver:  #b8b8b8;
  --text-muted:   #888888;
  --accent-light: #d8d8d8;   /* used sparingly for subtle highlights */
  --nav-height:   72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-platinum);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.display-font {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(11,11,11,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  transition: background .3s;
}

.navbar.scrolled { background: rgba(8,8,8,0.98); }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand img {
  height: 42px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-white);
  letter-spacing: 0.05em;
}

.brand-tagline {
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-silver);
  transition: color .25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--text-white);
  transform: scaleX(0);
  transition: transform .25s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text-white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--text-white);
  color: var(--bg-darkest) !important;
  padding: 9px 20px;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  transition: background .25s, color .25s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--text-silver) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-white);
  transition: .3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.28) grayscale(0.4);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0,0,0,0.82) 0%,
    rgba(15,15,15,0.55) 60%,
    rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-silver);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px; height: 1px;
  background: var(--text-silver);
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-white);
  line-height: 0.95;
  margin-bottom: 1.8rem;
}

.hero h1 span {
  display: block;
  color: var(--text-silver);
  font-size: 0.75em;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-silver);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-white);
  color: var(--bg-darkest);
  padding: 14px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 2px solid var(--text-white);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}

.btn-primary:hover {
  background: transparent;
  color: var(--text-white);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-white);
  padding: 14px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 2px solid var(--border-hard);
  cursor: pointer;
  transition: border-color .25s, color .25s, background .25s;
}

.btn-outline:hover {
  border-color: var(--text-white);
  background: rgba(255,255,255,0.06);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.72rem;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--bg-darkest);
  border-bottom: 1px solid var(--border-soft);
  padding: 13px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-silver);
}

.trust-item i { font-size: 1rem; color: var(--text-platinum); }
.trust-divider { color: var(--border-hard); font-size: 0.9rem; }

/* ---------- Sections ---------- */
section { padding: 100px 5%; }

.section-header {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-mid);
  padding: 5px 14px;
  margin-bottom: 18px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.section-header p {
  color: var(--text-silver);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---------- Product Cards ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  max-width: 1300px;
  margin: 0 auto;
  border: 1.5px solid var(--border-soft);
}

.product-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  background: var(--bg-card);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) brightness(0.55);
  transition: transform .6s ease, filter .4s ease;
}

.product-card:hover img {
  transform: scale(1.07);
  filter: grayscale(0.2) brightness(0.65);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.3) 55%,
    transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  transition: background .4s;
}

.product-card:hover .product-card-overlay {
  background: linear-gradient(to top,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0.1) 100%);
}

.product-card-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}

.product-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 0.85rem;
  color: var(--text-silver);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s, transform .35s;
}

.product-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

.product-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-top: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s .05s, transform .35s .05s;
}

.product-card:hover .product-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Stats ---------- */
.stats-section {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 70px 5%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--border-soft);
}

.stat-cell {
  padding: 44px 28px;
  text-align: center;
  border-right: 1px solid var(--border-soft);
}

.stat-cell:last-child { border-right: none; }

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--text-white);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
  display: block;
}

/* ---------- Why PEL Power Feature Wall ---------- */
.features-wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1300px;
  margin: 0 auto;
  border: 1px solid var(--border-soft);
}

.feature-cell {
  padding: 48px 44px;
  border-right: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  transition: background .3s;
}

.feature-cell:hover { background: var(--bg-card); }
.feature-cell:nth-child(even) { border-right: none; }
.feature-cell:nth-last-child(-n+2) { border-bottom: none; }

.feature-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text-platinum);
  margin-bottom: 22px;
}

.feature-cell h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.feature-cell p {
  font-size: 0.9rem;
  color: var(--text-silver);
  line-height: 1.75;
}

/* ---------- Markets ---------- */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.market-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  padding: 32px 24px;
  text-align: center;
  transition: border-color .3s, background .3s;
}

.market-card:hover {
  border-color: var(--border-hard);
  background: var(--bg-card-2);
}

.market-card i {
  font-size: 2rem;
  color: var(--text-platinum);
  margin-bottom: 14px;
  display: block;
}

.market-card h4 {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.market-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Parent Company Bar ---------- */
.parent-bar {
  background: var(--bg-darkest);
  border: 1px solid var(--border-soft);
  padding: 40px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.parent-bar-text h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.parent-bar-text p {
  font-size: 0.88rem;
  color: var(--text-silver);
  max-width: 600px;
}

/* ---------- Spec Table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.spec-table th {
  background: var(--bg-card-2);
  color: var(--text-silver);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-mid);
}

.spec-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-platinum);
}

.spec-table tr:hover td { background: var(--bg-card-2); }

/* ---------- Image Gallery ---------- */
.img-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 4px;
}

.img-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: grayscale(0.35) brightness(0.72);
  transition: filter .4s, transform .4s;
}

.img-gallery img:hover {
  filter: grayscale(0) brightness(0.88);
  transform: scale(1.02);
}

/* ---------- Page Hero ---------- */
.page-hero {
  padding-top: var(--nav-height);
  min-height: 42vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.22) grayscale(0.5);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.85) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 5%;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.page-hero-content .eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}

.page-hero-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px; top: 0; bottom: 0;
  width: 1px;
  background: var(--border-mid);
}

.timeline-item {
  position: relative;
  margin-bottom: 44px;
}

.timeline-dot {
  position: absolute;
  left: -41px; top: 4px;
  width: 14px; height: 14px;
  border: 2px solid var(--text-silver);
  background: var(--bg-dark);
  border-radius: 0;
}

.timeline-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--text-white);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.timeline-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.88rem;
  color: var(--text-silver);
}

/* ---------- Accordion / FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  color: var(--text-white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color .25s;
}

.faq-question:hover { color: var(--text-platinum); }

.faq-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform .3s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
}

.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 0.9rem;
  color: var(--text-silver);
  line-height: 1.8;
}

.faq-item.open .faq-answer { max-height: 320px; }

/* ---------- Form ---------- */
.rfq-form {
  max-width: 900px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  color: var(--text-platinum);
  padding: 13px 16px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .25s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--text-silver);
}

.form-group select option { background: var(--bg-card-2); }

.form-full { grid-column: 1 / -1; }

/* ---------- Contact Cards ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  padding: 30px 24px;
  transition: border-color .3s;
}

.contact-card:hover { border-color: var(--border-hard); }

.contact-card i {
  font-size: 1.6rem;
  color: var(--text-platinum);
  margin-bottom: 14px;
  display: block;
}

.contact-card h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-card p, .contact-card a {
  font-size: 0.9rem;
  color: var(--text-platinum);
  line-height: 1.6;
  transition: color .2s;
}

.contact-card a:hover { color: var(--text-white); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-darkest); }
::-webkit-scrollbar-thumb { background: var(--bg-card-3); border-radius: 3px; }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Footer ---------- */
footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border-soft);
  padding: 60px 5% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1300px;
  margin: 0 auto 48px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: 20px;
}

.footer-col h5 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-silver);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color .25s;
}

.footer-col ul li a:hover { color: var(--text-white); }

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-wall { grid-template-columns: 1fr; }
  .feature-cell { border-right: none !important; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  section { padding: 70px 5%; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(8,8,8,0.98);
    padding: 28px 5%;
    gap: 22px;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-links.open a { font-size: 1.1rem; }

  .hero h1 { line-height: 1; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }

  .products-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border-soft); }

  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .parent-bar { flex-direction: column; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 1.2rem; }
  .trust-divider { display: none; }
}
