* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html,
body {
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  background: #fff;
  color: #222
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  height: 80px;
  background: #0B5ED7;
  padding: 0 2rem;
  gap: 1rem
}

.nav-logo {
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center
}

.nav-logo img {
  height: 70px;
  width: 70px;
  object-fit: contain;
  display: block
}

.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: #fff;
  transition: opacity 0.2s;
  white-space: nowrap
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.75
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.hamburger.open span:nth-child(2) {
  opacity: 0
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: #0B5ED7;
  z-index: 999;
  flex-direction: column;
  padding: 1rem 0
}

.mobile-menu.open {
  display: flex
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1)
}

#scroll-progress {
  position: fixed;
  top: 80px;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, #00d4ff, #0B5ED7);
  z-index: 2000
}

#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0B5ED7;
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(11, 94, 215, 0.4);
  transition: all 0.3s
}

#backToTop:hover {
  background: #0047cc;
  transform: translateY(-3px)
}

#backToTop.show {
  display: flex
}

.legal-hero {
  padding: 150px 2rem 3rem;
  background: linear-gradient(135deg, #0B5ED7 0%, #083f9c 100%);
  text-align: center
}

.legal-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.6rem
}

.legal-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem
}

.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem
}

.legal-wrap h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0B5ED7;
  margin: 2.2rem 0 0.8rem
}

.legal-wrap h2:first-of-type {
  margin-top: 0
}

.legal-wrap p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: #333;
  margin-bottom: 1rem
}

.legal-wrap ul {
  margin: 0 0 1rem 1.3rem;
  color: #333;
  font-size: 0.92rem;
  line-height: 1.85
}

.legal-wrap li {
  margin-bottom: 0.3rem
}

.legal-wrap a {
  color: #0B5ED7;
  text-decoration: none;
  font-weight: 600
}

.legal-wrap a:hover {
  text-decoration: underline
}

.legal-updated {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 2rem;
  font-style: italic
}

footer {
  background: #050e1f;
  color: #fff;
  padding: 3rem 3rem 1.5rem
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem
}

.footer-brand img {
  height: 70px;
  width: 70px;
  object-fit: contain;
  margin-bottom: 1rem
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 260px
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.83rem;
  transition: color 0.2s
}

.footer-col ul li a:hover {
  color: #4fa3ff
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
  color: #fff
}

.social-btn:hover {
  background: #0B5ED7;
  border-color: #0B5ED7;
  transform: translateY(-2px)
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.2rem
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35)
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: 0.78rem
}

.footer-bottom-links a:hover {
  color: #4fa3ff
}

.footer-bottom-links a.active {
  color: #4fa3ff
}

@media(max-width:900px) {
  .nav-links {
    display: none
  }

  .hamburger {
    display: flex
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem
  }
}

@media(max-width:600px) {
  .site-nav {
    padding: 0 1rem;
    height: 65px
  }

  .nav-logo img {
    height: 55px;
    width: 55px
  }

  .mobile-menu {
    top: 65px
  }

  #scroll-progress {
    top: 65px
  }

  .legal-hero {
    padding: 130px 1.2rem 2.5rem
  }

  .legal-wrap {
    padding: 2.5rem 1.2rem 3rem
  }

  .footer-top {
    grid-template-columns: 1fr
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center
  }

  footer {
    padding: 2rem 1.5rem 1rem
  }
}