@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent: #00C48C;
  --navy: #0A2540;
  --text-muted: rgba(255, 255, 255, 0.75);
  --nav-height: 68px;
}

body {
  font-family: 'Inter', sans-serif;
}

/* ================================
   NAVBAR
   ================================ */

#navbar-container {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.mc3-nav {
  position: relative;
  width: 100%;
  height: var(--nav-height);
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.2s ease;
}

.mc3-nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Center links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a,
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-dropdown-trigger:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-links a.nav-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-dropdown-trigger .arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-dropdown-trigger.open .arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

.nav-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #0A2540;
  border-bottom: none;
  transition: background 0.15s ease;
}

.nav-dropdown a:hover {
  background: #f4f6f8;
  color: #0A2540;
}

.dropdown-product-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #0A2540;
}

.dropdown-product-desc {
  font-size: 0.78rem;
  color: #6B7280;
  margin-top: 2px;
}

/* CTA Button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  background: var(--accent);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: #00b07e;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu */
.nav-mobile-menu {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(10, 37, 64, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mobile-menu.open {
  max-height: 600px;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  padding: 12px 16px 20px;
  list-style: none;
  gap: 2px;
}

.nav-mobile-links > li > a,
.mobile-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  border-bottom: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
  width: 100%;
  text-align: left;
}

.nav-mobile-links > li > a:hover,
.mobile-dropdown-trigger:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.nav-mobile-links > li > a.nav-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.mobile-dropdown-trigger .arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.mobile-dropdown-trigger.open .arrow {
  transform: rotate(180deg);
}

.mobile-dropdown-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-dropdown-items.open {
  max-height: 300px;
}

.mobile-dropdown-items a {
  display: flex;
  flex-direction: column;
  min-height: 48px;
  padding: 8px 12px 8px 24px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  justify-content: center;
}

.mobile-dropdown-items a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.mobile-product-name {
  font-weight: 500;
  font-size: 0.9rem;
}

.mobile-product-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1px;
}

.nav-mobile-cta {
  margin: 8px 12px 4px;
}

.nav-mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.nav-mobile-cta a:hover {
  background: #00b07e;
}

/* ================================
   BREADCRUMBS
   ================================ */

.mc3-breadcrumb {
  background: rgba(10, 37, 64, 0.04);
  border-bottom: 1px solid rgba(10, 37, 64, 0.06);
  padding: 10px 0;
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #6B7280;
}

.breadcrumb-inner a {
  color: #6B7280;
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb-inner a:hover {
  color: var(--navy);
}

.breadcrumb-sep {
  color: #9CA3AF;
  font-size: 0.85rem;
}

.breadcrumb-current {
  color: var(--accent);
  font-weight: 500;
}

/* ================================
   FOOTER
   ================================ */

.mc3-footer {
  background: var(--navy);
  color: var(--text-muted);
  padding: 64px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(1.1);
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social-link:hover {
  background: var(--accent);
  color: #fff;
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-col-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-entity {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 960px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
