/* ============================================
   PRIVACY POLICY PAGE STYLES
   Professional, Modern Design matching Dynamics 360 Theme
   ============================================ */

/* Page Container */
.privacy-policy-page {
  padding-top: 0;
  padding-bottom: 0;
  background: #f4f8fc; /* match blog page background */
  margin-top: -8vh;
}

/* Hero Section - Clean white with subtle outline shapes */
.privacy-hero {
  position: relative;
  min-height: 63vh;
  width: 100%;
  margin: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 16vh 0 8vw 0;
  text-align: center;
}

.privacy-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: transparent;
  animation: none;
  pointer-events: none;
  z-index: 1;
}

.privacy-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: transparent;
  animation: none;
  pointer-events: none;
  z-index: 1;
}

.privacy-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  pointer-events: none;
  z-index: 1;
}

/* Decorative geometric shapes */
.privacy-hero-content::before {
  content: '';
  position: absolute;
  top: -5vw;
  right: -8vw;
  width: 15vw;
  height: 15vw;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.privacy-hero-content::after {
  content: '';
  position: absolute;
  bottom: -3vw;
  left: -6vw;
  width: 12vw;
  height: 12vw;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 30%;
  transform: rotate(45deg);
  pointer-events: none;
}

.privacy-hero-content {
  position: relative;
  max-width: 60vw;
  margin: 0 auto;
  z-index: 2;
  color: #111;
}

.privacy-hero-badge {
  display: inline-block;
  padding: 0.5vw 1.2vw;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(40, 84, 162, 0.18);
  border-radius: 50px;
  font-family: "markProMedium", sans-serif;
  font-size: 0.9vw;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5vw;
  backdrop-filter: blur(10px);
  color: #345cad;
}

.privacy-title {
  font-family: "markProBold", sans-serif;
  font-size: 4.5vw;
  line-height: 1.1;
  margin: 0 0 1.2vw 0;
  color: #111;
  letter-spacing: -0.02em;
}

.privacy-subtitle {
  font-family: "markProRegular", sans-serif;
  font-size: 1.3vw;
  line-height: 1.6;
  margin: 0 0 2vw 0;
  opacity: 0.9;
  max-width: 45vw;
  margin-left: auto;
  margin-right: auto;
  color: #444;
}

.privacy-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  margin-top: 2vw;
}

.privacy-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5vw;
  font-family: "markProRegular", sans-serif;
  font-size: 0.95vw;
  opacity: 0.9;
  color: #555;
}

.privacy-meta-item svg {
  flex-shrink: 0;
}

/* Blog-style decorative background image and divider */
.privacy-hero-seor {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 24vh;
  width: auto;
  z-index: 1;
  opacity: 0.9;
  animation: scale-up-br 0.8s ease-out both;
}

.privacy-hero-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  border-bottom: 1px solid #e0e0e0;
  z-index: 3;
}

/* Main Content Container */
.privacy-container {
  max-width: 75vw;
  margin: -3vw auto 0 auto;
  padding: 0 0 6vw 0;
  position: relative;
  z-index: 3;
}

.privacy-content {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(60deg, #3d3393 0%, #2b76b9 37%, #2cacd1 65%, #35eb93 100%) border-box;
  border-radius: 1.2vw;
  padding: 4.5vw 5vw;
  box-shadow: 0 10px 40px rgba(40,84,162,0.12);
  border: 1px solid transparent; /* thin gradient border */
}

/* Sections */
.privacy-section {
  margin-bottom: 3.5vw;
  padding-bottom: 3vw;
  border-bottom: 1px solid #f0f4f8;
}

.privacy-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.privacy-section h2 {
  font-family: "markProBold", sans-serif;
  font-size: 2.2vw;
  background: linear-gradient(90deg, #3d3393 0%, #2b76b9 50%, #2cacd1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 1.8vw 0;
  position: relative;
  padding-bottom: 1vw;
}

.privacy-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4vw;
  height: 3px;
  background: linear-gradient(90deg, #3d3393 0%, #2cacd1 100%);
  border-radius: 2px;
}

.privacy-section h3 {
  font-family: "markProMedium", sans-serif;
  font-size: 1.6vw;
  color: #222;
  margin: 2.5vw 0 1.2vw 0;
  font-weight: 600;
}

.privacy-section h4 {
  font-family: "markProMedium", sans-serif;
  font-size: 1.35vw;
  color: #345cad;
  margin: 2vw 0 1vw 0;
  font-weight: 600;
}

.privacy-section p {
  font-family: "markProRegular", sans-serif;
  font-size: 1.05vw;
  line-height: 1.85;
  color: #444;
  margin: 0 0 1.3vw 0;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

/* First paragraph styling */
.privacy-section:first-child p:first-of-type {
  font-size: 1.15vw;
  color: #333;
  line-height: 1.9;
}

/* Lists */
.privacy-section ul {
  margin: 1.5vw 0 2vw 0;
  padding-left: 0;
  list-style: none;
}

.privacy-section li {
  font-family: "markProRegular", sans-serif;
  font-size: 1.05vw;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1vw;
  position: relative;
  padding-left: 2vw;
  transition: transform 0.2s ease;
}

.privacy-section li:hover {
  transform: translateX(0.3vw);
}

.privacy-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65vw;
  width: 0.6vw;
  height: 0.6vw;
  background: linear-gradient(135deg, #3d3393 0%, #2cacd1 100%);
  border-radius: 50%;
}

.privacy-section li strong {
  font-family: "markProBold", sans-serif;
  color: #222;
  font-weight: 600;
}

/* Links */
.privacy-section a {
  color: #345cad;
  text-decoration: none;
  font-family: "markProMedium", sans-serif;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.privacy-section a:hover {
  color: #2cacd1;
  border-bottom-color: #2cacd1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .privacy-policy-page {
    margin-top: -8vh;
  }

  .privacy-hero {
    min-height: 50vh;
    padding: 14vh 0 10vw 0;
  }

  .privacy-hero-content::before {
    width: 20vw;
    height: 20vw;
    top: -8vw;
    right: -10vw;
  }

  .privacy-hero-content::after {
    width: 16vw;
    height: 16vw;
    bottom: -5vw;
    left: -8vw;
  }

  .privacy-hero-content {
    max-width: 80vw;
  }

  .privacy-hero-badge {
    font-size: 2vw;
    padding: 1vw 2vw;
  }

  .privacy-title {
    font-size: 6.5vw;
  }

  .privacy-subtitle {
    font-size: 2.5vw;
    max-width: 70vw;
  }

  .privacy-meta {
    gap: 3vw;
  }

  .privacy-meta-item {
    font-size: 2vw;
  }

  .privacy-container {
    max-width: 88vw;
    margin-top: -4vw;
  }

  .privacy-content {
    padding: 6vw 5vw;
  }

  .privacy-section h2 {
    font-size: 4vw;
  }

  .privacy-section h2::after {
    width: 6vw;
  }

  .privacy-section h3 {
    font-size: 3.2vw;
  }

  .privacy-section h4 {
    font-size: 2.8vw;
  }

  .privacy-section p,
  .privacy-section li {
    font-size: 2.5vw;
  }

  .privacy-section:first-child p:first-of-type {
    font-size: 2.7vw;
  }
}

@media (max-width: 768px) {
  .privacy-policy-page {
    margin-top: -8vh;
  }

  .privacy-hero {
    min-height: 45vh;
    padding: 16vh 0 12vw 0;
  }

  .privacy-hero-content {
    max-width: 90vw;
  }

  .privacy-hero-content::before {
    width: 30vw;
    height: 30vw;
    top: -12vw;
    right: -15vw;
  }

  .privacy-hero-content::after {
    width: 25vw;
    height: 25vw;
    bottom: -8vw;
    left: -12vw;
  }

  .privacy-hero-badge {
    font-size: 2.8vw;
    padding: 1.5vw 3vw;
    margin-bottom: 3vw;
  }

  .privacy-title {
    font-size: 8.5vw;
    margin-bottom: 2.5vw;
  }

  .privacy-subtitle {
    font-size: 3.5vw;
    max-width: 85vw;
    margin-bottom: 3vw;
  }

  .privacy-meta {
    flex-direction: column;
    gap: 2vw;
  }

  .privacy-meta-item {
    font-size: 2.8vw;
    gap: 1.5vw;
  }

  .privacy-meta-item svg {
    width: 20px;
    height: 20px;
  }

  .privacy-container {
    max-width: 92vw;
    margin-top: -5vw;
    padding-bottom: 10vw;
  }

  .privacy-content {
    padding: 8vw 6vw;
    border-radius: 2vw;
  }

  .privacy-section {
    margin-bottom: 6vw;
    padding-bottom: 5vw;
  }

  .privacy-section h2 {
    font-size: 5.5vw;
    margin-bottom: 3vw;
    padding-bottom: 2vw;
  }

  .privacy-section h2::after {
    width: 10vw;
    height: 2px;
  }

  .privacy-section h3 {
    font-size: 4.5vw;
    margin: 4vw 0 2vw 0;
  }

  .privacy-section h4 {
    font-size: 4vw;
    margin: 3vw 0 1.5vw 0;
  }

  .privacy-section p {
    font-size: 3.5vw;
    line-height: 1.75;
    margin-bottom: 2.5vw;
  }

  .privacy-section:first-child p:first-of-type {
    font-size: 3.8vw;
  }

  .privacy-section ul {
    margin: 3vw 0 3.5vw 0;
  }

  .privacy-section li {
    font-size: 3.5vw;
    padding-left: 5vw;
    margin-bottom: 2vw;
  }

  .privacy-section li::before {
    width: 1.5vw;
    height: 1.5vw;
    top: 1.2vw;
  }
}
