/* ==========================================================================
   Landing Pages — Shared Header & Footer
   Scoped with the `lp-` prefix so these never collide with the main site's
   header.css/footer.css (both are injected on every normal page).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.lp-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

.lp-header-container {
  width: 100%;
  max-width: 1480px;
  height: 86px;
  background: rgba(217, 217, 217, 0.20);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.lp-header-container.scrolled {
  box-shadow: 0px 12px 35px rgba(0, 0, 0, 0.12);
}

.lp-logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lp-header-logo-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.lp-header-logo-text {
  font-family: var(--font-family-primary);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.8px;
  color: #202124;
  line-height: 1;
}

.lp-logo-accent {
  color: var(--primary-color, #EE3000);
}

.lp-main-nav {
  display: flex;
  align-items: center;
}

.lp-nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-nav-link {
  display: flex;
  align-items: center;
  padding: 0 22px;
  font-family: var(--font-family-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 40px;
  text-transform: uppercase;
  color: #333333;
  border-radius: 9999px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.lp-nav-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #EE3000;
}

.lp-header-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lp-btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 32px;
  border-radius: 9999px;
  background: #F6F8FC;
  color: #000000;
  font-family: var(--font-family-primary);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lp-btn-login:hover {
  background: #ECEFF5;
}

.lp-btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 32px;
  border-radius: 9999px;
  background: var(--primary-gradient);
  color: #FFFFFF;
  font-family: var(--font-family-primary);
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0px 4px 15px rgba(238, 48, 0, 0.3);
  transition: all 0.3s ease;
}

.lp-btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 25px rgba(238, 48, 0, 0.5);
}

.lp-lang-switcher {
  position: relative;
}

.lp-lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 60px;
  padding: 8px;
  background: #FFFFFF;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-family-primary);
  font-size: 16px;
  font-weight: 500;
  color: #0D0D0D;
  transition: background 0.2s ease;
}

.lp-lang-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.lp-lang-caret {
  font-size: 10px;
  color: #0D0D0D;
  transition: transform 0.3s ease;
}

.lp-lang-switcher.open .lp-lang-caret {
  transform: rotate(180deg);
}

.lp-lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 60px;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
  display: none;
  flex-direction: column;
  z-index: 10;
}

.lp-lang-switcher.open .lp-lang-dropdown {
  display: flex;
}

.lp-lang-option {
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--font-family-primary);
  font-size: 14px;
  color: #333333;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lp-lang-option:hover {
  background: rgba(0, 0, 0, 0.05);
}

.lp-lang-option.active {
  background: #333333;
  color: #FFFFFF;
}

.lp-mobile-toggle {
  display: none;
  font-size: 24px;
  color: #333333;
}

@media (max-width: 1200px) {
  .lp-nav-link {
    padding: 0 14px;
  }

  .lp-btn-login,
  .lp-btn-contact {
    padding: 0 20px;
  }
}

@media (max-width: 1024px) {
  .lp-header-container {
    height: 72px;
    padding: 0 20px;
    border-radius: 40px;
  }

  .lp-main-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #EFEFEF;
  }

  .lp-main-nav.show {
    display: block;
  }

  .lp-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .lp-nav-link {
    justify-content: center;
  }

  .lp-header-action .lp-btn-login {
    display: none;
  }

  .lp-mobile-toggle {
    display: block;
  }
}

@media (max-width: 576px) {
  .lp-header-container {
    padding: 0 14px;
  }

  .lp-header-logo-text {
    font-size: 22px;
  }

  .lp-header-logo-icon {
    width: 34px;
    height: 34px;
  }

  .lp-header-action {
    gap: 8px;
  }

  .lp-btn-contact {
    height: 44px;
    padding: 0 16px;
  }

  .lp-btn-contact span {
    font-size: 13px;
  }

  .lp-lang-btn {
    width: 48px;
    padding: 6px;
  }
}

@media (max-width: 420px) {
  .lp-btn-contact {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Footer — copied verbatim from assets/css/footer.css (.site-footer and
   below). Kept identical to the main site's shared footer so both use the
   exact same component; only the contact-form/robot section above it (not
   used on landing pages) is omitted.
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0B0D12;
  color: #FFFFFF;
  padding: 60px 0 0;
  position: relative;
  overflow: visible;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 40px;
  overflow: visible;
}

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

.footer-logo {
  width: 128px;
  height: auto;
  display: block;
}

.widget-title {
  font-family: var(--font-family-primary);
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.widget-title.mt-4 {
  margin-top: 24px;
}

.widget-content p {
  font-family: var(--font-family-primary);
  font-size: 15px;
  font-weight: 400;
  color: #9CA3AF;
  margin-bottom: 4px;
  line-height: 1.6;
}

.phone-sub {
  font-family: var(--font-family-primary);
  font-size: 14px;
  font-weight: 400;
  color: #6B7280;
  margin-bottom: 4px;
  line-height: 1.6;
}

.widget-content a {
  color: #D1D5DB;
  transition: color 0.3s ease;
}

.widget-content a:hover {
  color: #EE3000;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0B0D12;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: #EE3000;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  font-family: var(--font-family-primary);
  font-size: 15px;
  font-weight: 400;
  color: #9CA3AF;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding: 0px 40px 0;
}

.footer-bottom-inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 26px 78px 8px 58px;
  font-family: var(--font-family-primary);
  font-size: 15px;
  font-weight: 300;
  line-height: 24px;
  color: rgba(51, 51, 51, 0.75);
  background: #FFFFFF;
}

.footer-bottom-inner::before,
.footer-bottom-inner::after {
  content: '';
  position: absolute;
  top: 0;
  width: 45px;
  height: 60px;
  background: #0B0D12;
  pointer-events: none;
}

.footer-bottom-inner::before {
  left: 0;
  clip-path: path('M0,-1 L45,0 A25,25 0 0 0 20,25 L20,38.42 A20,20 0 0 1 0,58.00 Z');
}

.footer-bottom-inner::after {
  right: 0;
  transform: scaleX(-1);
  clip-path: path('M0,-1 L45,0 A25,25 0 0 0 20,25 L20,38.42 A20,20 0 0 1 0,58.00 Z');
}

.footer-terms {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-terms a {
  color: rgba(51, 51, 51, 0.75);
  transition: color 0.3s ease;
  text-decoration: underline;
  font-size: 14px;
  font-weight: 300;
}

.footer-terms a:hover {
  color: #EE3000;
}

@media (max-width: 1200px) {
  .footer-widgets {
    grid-template-columns: 160px repeat(4, 1fr);
    gap: 28px;
  }
}

@media (max-width: 1024px) {
  .footer-widgets {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .brand-widget {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-widgets {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .brand-widget {
    grid-column: 1 / -1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    padding: 18px 24px;
    text-align: center;
    border-radius: 25px 25px 0 0;
  }

  .footer-bottom-inner::before,
  .footer-bottom-inner::after {
    display: none;
  }

  .footer-terms {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .footer-widgets {
    grid-template-columns: 1fr;
  }
}
