/* style.css - ZENO Premium B2B Tech Aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --primary-blue: #0A3D62;
  --accent-blue: #3C79B0;
  --energy-orange: #FF7A23;
  --bg-light: #F4F7FA;
  --bg-dark: #061A29;
  --white: #FFFFFF;

  /* Text Colors */
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --text-muted: #9CA3AF;

  /* Layout */
  --max-width: 1440px;
  --header-height: 80px;

  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Styling Defaults */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CSS Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

/* Typography Links & Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-blue);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.75rem, 3.5vw, 3.15rem);
  /* Reduced by 30% from clamp(2.5rem, 5vw, 4.5rem) */
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: var(--space-xs);
}

h4 {
  font-size: 1.125rem;
}

p {
  color: var(--text-light);
  font-size: 1rem;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Layout Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
}

.section-padding {
  padding: var(--space-xl) 0;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: var(--space-sm);
}

.mt-8 {
  margin-top: var(--space-md);
}

.mb-8 {
  margin-bottom: var(--space-md);
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-white {
  background-color: var(--white);
}

.bg-dark {
  background-color: var(--bg-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-align: center;
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--energy-orange);
  color: var(--white);
  border: 2px solid var(--energy-orange);
}

.btn-primary:hover {
  background-color: #e66816;
  border-color: #e66816;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 122, 35, 0.3);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

/* Section Header Styles */
.section-header {
  margin-bottom: var(--space-lg);
}

.section-kicker {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--energy-orange);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}

.section-description {
  font-size: 1.125rem;
  max-width: 700px;
}

.text-center .section-description {
  margin-left: auto;
  margin-right: auto;
}

/* Navbar */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background-color: rgba(10, 61, 98, 0.0);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(10, 61, 98, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.logo-wordmark {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.logo-accent {
  font-weight: 300;
  color: #c0d3e5;
  margin-left: 2px;
}

.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--energy-orange);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(10, 61, 98, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  transition: right var(--transition-normal);
  display: flex;
  justify-content: flex-end;
}

.mobile-nav-overlay.active {
  right: 0;
}

.mobile-nav-container {
  width: 80%;
  max-width: 400px;
  background-color: var(--primary-blue);
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-links .mobile-link {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.mobile-nav-links .mobile-link:hover {
  color: var(--energy-orange);
}

/* 1) HERO SECTION */
.hero {
  min-height: 100vh;
  background-color: var(--primary-blue);
  color: var(--white);
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(10, 61, 98, 0) 0%, rgba(6, 26, 41, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  align-items: center;
  position: relative;
  z-index: 2;
  /* above gradient overlay */
}

.hero-content {
  grid-column: span 6;
  padding: 4rem 0;
}

.hero-headline {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero-subheadline {
  font-size: 1.125rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  color: #c0d3e5;
  max-width: 90%;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-container {
  grid-column: 7 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
  max-height: 80vh;
}

/* 2) OEM CAPABILITIES (NEW) */
.oem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.oem-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--accent-blue);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.oem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--energy-orange);
}

.oem-icon {
  width: 40px;
  height: 40px;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

/* 3) CORE TECHNOLOGY (FEATURES) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.product-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2.5rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition-normal);
}

.product-card:hover {
  background: var(--white);
  border-color: #e1e8f0;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-card-icon-wrapper {
  background-color: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-icon {
  width: 28px;
  height: 28px;
  color: var(--energy-orange);
}

/* 4) INDUSTRIES / APPLICATIONS */
.industries .section-header h2,
.industries .section-description {
  color: var(--white);
}

.industries-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.industry-block {
  position: relative;
  height: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.industry-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.industry-block:hover img {
  transform: scale(1.08);
}

.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 26, 41, 0.9) 0%, rgba(10, 61, 98, 0.2) 60%, rgba(10, 61, 98, 0) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.industry-overlay h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

/* 5) TECHNICAL PERFORMANCE */
.perf-grid {
  align-items: center;
}

.perf-content {
  grid-column: span 6;
}

.perf-image {
  grid-column: 8 / -1;
  display: flex;
  justify-content: center;
}

.perf-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.perf-metrics {
  list-style: none;
}

.perf-metrics li {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.perf-metrics li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.perf-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.1;
  min-width: 120px;
}

.perf-text {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1.125rem;
}

/* 6) QUALITY & SUSTAINABILITY */
.quality-container {
  max-width: 900px;
}

.quality-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.quality-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.check-icon {
  width: 24px;
  height: 24px;
  color: var(--energy-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.quality-item h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.quality-item p {
  font-size: 0.95rem;
}

/* 7) FINAL CTA */
.final-cta {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--bg-dark) 100%);
  color: var(--white);
}

.final-cta h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.cta-subtitle {
  color: #c0d3e5;
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* FOOTER */
.footer {
  background-color: #031019;
  color: var(--text-muted);
  padding: 3.2rem 0 1.2rem;
  /* Reduced by another 20% from 4rem 0 1.5rem */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  /* Give logo column more space to push others right */
  gap: 6rem;
  /* Increase gap to push text further right */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
  /* Reduced by another 20% from 2.5rem */
  margin-bottom: 1.2rem;
  /* Reduced by another 20% from 1.5rem */
}

.footer-logo {
  display: flex;
  align-items: flex-start;
}

.footer-logo img {
  height: 165px;
  /* Increased by 10% from 150px */
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-subtext {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--white);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background-color: var(--energy-orange);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 0.875rem;
}

.footer-col a {
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--energy-orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

/* Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.delay-100 {
  transition-delay: 100ms;
}

.reveal-on-scroll.delay-200 {
  transition-delay: 200ms;
}

.reveal-on-scroll.delay-300 {
  transition-delay: 300ms;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Legal Pages Dark Mode overrides */
.legal-page-main {
  background-color: #0d2137;
  /* Navy blue */
  color: #e2e8f0;
  /* Light gray text */
}

.legal-page-main h2,
.legal-page-main h3,
.legal-page-main strong {
  color: var(--white);
}

.legal-page-main a {
  color: var(--energy-orange);
}

/* Cookie Notice Bar */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(10, 61, 98, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-notice.show {
  transform: translateY(0);
}

.cookie-notice a {
  color: var(--white);
  text-decoration: underline;
}

.cookie-notice a:hover {
  color: var(--energy-orange);
}

.cookie-notice-btn {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 0.25rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.cookie-notice-btn:hover {
  background-color: var(--white);
  color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .industries-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-block {
    height: 420px;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    grid-column: 1 / -1;
    padding: 2rem 0 0;
  }

  .hero-subheadline {
    margin: 0 auto 2.5rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-container {
    grid-column: 1 / -1;
  }

  .oem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .perf-content {
    grid-column: 1 / -1;
    margin-bottom: 3rem;
  }

  .perf-image {
    grid-column: 1 / -1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 5rem;
    --space-lg: 3rem;
  }

  .desktop-nav,
  .desktop-only {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .oem-grid {
    grid-template-columns: 1fr;
  }

  .industries-layout {
    grid-template-columns: 1fr;
  }

  .quality-list {
    grid-template-columns: 1fr;
  }

  /* Footer responsive */
  .footer-logo img {
    height: 36px;
    width: auto;
    max-height: none;
  }

  .perf-metrics li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}