/*
Theme Name: MnP Technologies
Theme URI: https://mnp-technologies.com
Author: MnP Technologies
Author URI: https://mnp-technologies.com
Description: Custom theme for MnP Technologies - mission-critical logistics and supply chain technology. Built on the PRODIGY design system with Outfit typography, blue-to-cyan gradient palette, and hexagonal brand elements.
Version: 1.0.0
License: Proprietary
License URI: https://mnp-technologies.com/terms-conditions/
Text Domain: mnp-technologies
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* ═══════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════ */
:root {
  --deep-blue: #001196;
  --blue: #004eff;
  --light-blue: #0096ff;
  --neon-blue: #29c8ff;
  --black: #0b1121;
  --white: #FFFFFF;
  --light-gray: #e9eaee;
  --yellow: #e8aa00;
  --text-primary: #0b1121;
  --text-secondary: #555e70;
  --text-muted: #8a92a0;
  --border: #e2e4e9;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-body); line-height: 1.15; }

/* ═══════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

section { padding: 5rem 0; }
section.alt { background: #f5f6f8; }
section.dark { background: var(--black); color: var(--white); }
section.gray { background: #f8f9fa; }

/* ═══════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════ */
.label,
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
section.dark .label,
section.dark .section-label { color: var(--neon-blue); }

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.section-desc,
.lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 2.5rem;
}
section.dark .section-desc,
section.dark .lead { color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11,17,33,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo img { height: 36px; display: block; }

.main-nav { display: flex; gap: 2rem; align-items: center; }
.main-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}
.main-nav a:hover { color: #fff; }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: #0040d0; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px; height: 20px;
  position: relative;
  padding: 0;
}
.mobile-toggle span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: #fff; border-radius: 2px; transition: all 0.3s;
}
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 9px; }
.mobile-toggle span:nth-child(3) { top: 18px; }
.mobile-toggle.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  background: rgba(11,17,33,0.98);
  padding: 1rem 2rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-menu a {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  padding: 0.5rem 0;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 3rem 0 2rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo img { height: 28px; opacity: 0.7; }

.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a {
  color: rgba(255,255,255,0.5);
  font-size: 0.8125rem;
  transition: color 0.15s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--blue); color: var(--white);
  padding: 0.875rem 2rem; border-radius: 10px;
  font-weight: 600; font-size: 0.9375rem;
  transition: all 0.2s; border: none; cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary:hover { background: #0040d0; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--blue);
  padding: 0.875rem 2rem; border-radius: 10px;
  font-weight: 600; font-size: 0.9375rem;
  border: 1px solid var(--border); transition: all 0.2s;
  cursor: pointer; font-family: var(--font-body);
}
.btn-secondary:hover { border-color: var(--blue); background: rgba(0,78,255,0.04); }

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--blue); color: var(--white);
  padding: 0.875rem 2rem; border-radius: 10px;
  font-weight: 600; font-size: 0.9375rem;
  transition: all 0.2s; border: none; cursor: pointer;
  font-family: var(--font-body);
}
.btn-hero-primary:hover { background: #0040d0; transform: translateY(-1px); }

.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--white);
  padding: 0.875rem 2rem; border-radius: 10px;
  font-weight: 600; font-size: 0.9375rem;
  border: 1px solid rgba(255,255,255,0.2); transition: all 0.2s;
  cursor: pointer; font-family: var(--font-body);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.4); }

/* ═══════════════════════════════════════
   CARDS
   ═══════════════════════════════════════ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(11,17,33,0.1); border-color: transparent; }
section.dark .card { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.06); }
section.dark .card:hover { border-color: rgba(41,200,255,0.15); }
section.dark .card h3 { color: var(--white); }
section.dark .card p { color: rgba(255,255,255,0.55); }

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .main-nav, .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .container { padding: 0 1.25rem; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
