* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  height: 100%;
  font-family: system-ui, sans-serif;
  color: #111;
  background: #fff;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 229, 229, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  position: absolute;
  left: 32px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  transition: color 0.3s ease;
}

.brand:hover {
  color: #ff6b35;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #444;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: #ff6b35;
  transform: translateY(-1px);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: #ff6b35;
}

.nav-links a.active::after {
  width: 100%;
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.burger-menu:hover {
  transform: translateY(-50%) scale(1.1);
}

.burger-menu span {
  width: 24px;
  height: 2px;
  background: #222;
  margin: 3px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
  transform-origin: center;
  will-change: transform, opacity;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, visibility;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 280px;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  z-index: 1001;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 80px 32px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  will-change: transform;
  transform: translateX(0);
}

.mobile-menu.active {
  transform: translateX(-320px);
}

.mobile-menu .nav-links {
  display: flex !important;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.mobile-menu .nav-links a {
  color: #333;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-block;
  will-change: transform, color, border-bottom-color;
}

.mobile-menu .nav-links a:hover {
  color: #ff6b35;
  transform: translateX(8px);
  border-bottom-color: #ff6b35;
}

.mobile-menu .nav-links a.active {
  color: #ff6b35;
  border-bottom-color: #ff6b35;
}

.content {
  padding: 50px 16px 32px;
  width: 100%;
  flex-grow: 1;
}

.footer {
  width: 100%;
  background: #fcfcfc;
  border-top: 1px solid #e5e5e5;
  padding: 64px 32px;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) repeat(3, 1fr);
  gap: 48px;
}

.footer-brand {
  font-size: 2rem;
  font-weight: 600;
  color: #222;
}

.footer-section h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 2px 0;
}

.footer-section a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  transition: width 0.3s ease;
}

.footer-section a:hover {
  color: #ff6b35;
  transform: translateX(4px);
}

.footer-section a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  font-size: 0.95rem;
  color: #999;
  margin-top: 24px;
  padding-top: 8px;
}

.footer-company {
  font-weight: 500;
  color: #555;
}

@media (max-width: 1100px) {
  html, body {
    overflow-x: hidden;
  }

  .navbar {
    padding: 0 16px;
    height: 60px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .navbar-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: none;
  }

  .brand {
    position: static;
    font-size: 1.3rem;
    margin: 0;
  }

  .nav-links {
    display: none !important;
  }

  .burger-menu {
    display: flex;
  }

  .content {
    padding: 40px 0px 32px;
    width: 100%;
    flex-grow: 1;
  }

  .footer .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    padding: 0 16px;
  }

  .footer-brand {
    margin-bottom: -10px;
  }

  .footer-section {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-section h4 {
    font-size: 1rem;
  }

  .footer-section a {
    font-size: 0.95rem;
  }
}