/* ============================================================
   Yus Global — Legal Pages Stylesheet
   Privacy Policy, Terms of Service
   ============================================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #F8FAFC;
  background-color: #10162B;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(16, 22, 43, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(24, 32, 56, 0.7);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10, 14, 29, 0.96);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3B82F6, #EAB308);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #F8FAFC;
  letter-spacing: -0.02em;
}

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

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

.nav-link {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.925rem;
  font-weight: 500;
  color: #94A3B8;
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover {
  color: #F8FAFC;
  background: rgba(248, 250, 252, 0.05);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0;
}

.toggle-bar {
  width: 24px;
  height: 2.5px;
  background: #F8FAFC;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* ============================================================
   PAGE HERO BANNER
   ============================================================ */
.page-hero {
  position: relative;
  background: #10162B;
  padding: 80px 24px 72px;
  text-align: center;
  border-bottom: 1px solid rgba(24, 32, 56, 0.7);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero h1 {
  position: relative;
  font-size: 2.8rem;
  font-weight: 800;
  color: #F8FAFC;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.page-hero h1 span {
  color: #3B82F6;
}

.effective-date {
  position: relative;
  font-size: 1rem;
  color: #94A3B8;
  font-weight: 500;
}

/* ============================================================
   POLICY CONTENT CARD
   ============================================================ */
.policy-content {
  max-width: 860px;
  margin: -40px auto 80px;
  padding: 56px 60px;
  background: #FFFFFF;
  border: 1px solid #182038;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
  color: #1E293B;
}

.policy-content h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #0F172A;
  margin-top: 44px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #3B82F6;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.policy-content h2:first-of-type {
  margin-top: 0;
}

.policy-content p {
  font-size: 1rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 18px;
}

.policy-content ul {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}

.policy-content ul li {
  font-size: 1rem;
  color: #334155;
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}

.policy-content ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3B82F6;
}

.policy-content a {
  color: #3B82F6;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.policy-content a:hover {
  color: #2563EB;
}

.policy-content strong {
  color: #0F172A;
  font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0A0E1D;
  padding: 80px 24px 0;
  border-top: 1px solid rgba(248, 250, 252, 0.05);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #3B82F6, #EAB308);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #FFFFFF;
}

.footer-logo .logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #F8FAFC;
}

.footer-tagline {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.6;
  max-width: 300px;
}

.footer-address {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.6;
  font-style: normal;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-column-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #F8FAFC;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  font-size: 0.9rem;
  color: #94A3B8;
  transition: color 0.2s ease;
}

.footer-links li a:hover {
  color: #F8FAFC;
}

.footer-bottom {
  border-top: 1px solid rgba(248, 250, 252, 0.06);
  padding: 24px 0;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.85rem;
  color: #64748B;
}

.footer-website {
  font-size: 0.9rem;
  color: #3B82F6;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-website:hover {
  color: #60A5FA;
}

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

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

@media (max-width: 880px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 29, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 1000;
  }

  .main-nav.active {
    opacity: 1;
    pointer-events: all;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .nav-link {
    font-size: 1.15rem;
    padding: 12px 24px;
  }

  .page-hero {
    padding: 64px 20px 56px;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .policy-content {
    margin: -32px 16px 60px;
    padding: 40px 32px;
    border-radius: 16px;
  }
}

@media (max-width: 680px) {
  .nav-container {
    padding: 0 20px;
  }

  .page-hero {
    padding: 48px 20px 44px;
  }

  .page-hero h1 {
    font-size: 1.7rem;
  }

  .policy-content {
    margin: -24px 12px 48px;
    padding: 32px 22px;
    border-radius: 14px;
  }

  .policy-content h2 {
    font-size: 1.3rem;
    margin-top: 32px;
  }

  .policy-content p {
    font-size: 0.95rem;
  }

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

  .footer-bottom-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 1.45rem;
  }

  .policy-content {
    padding: 24px 18px;
  }

  .policy-content h2 {
    font-size: 1.15rem;
  }
}
