/* ==========================================================================
   SahaayaNet - Privacy Policy Stylesheet (privacy.css)
   Official Privacy Policy & Data Security portal for SahaayaNet.
   Provides glassmorphic policy cards, interactive permission accordions,
   third-party transparency grid, user data rights, and security hero stage.
   ========================================================================== */

:root {
  --privacy-primary: #10B981;
  --privacy-blue: #2563EB;
  --privacy-purple: #8B5CF6;
  --privacy-amber: #F59E0B;
  --privacy-sky: #0EA5E9;
}

/* Breadcrumb Navigation */
.breadcrumb-privacy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.breadcrumb-privacy a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumb-privacy a:hover {
  color: var(--primary);
}

.breadcrumb-separator-privacy {
  color: var(--text-light);
  font-size: 0.75rem;
}

.breadcrumb-current-privacy {
  color: #10B981;
  font-weight: 700;
}

/* Privacy Hero Visual Stage */
.privacy-hero-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.privacy-glow-backdrop {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(37, 99, 235, 0.18) 50%, transparent 70%);
  filter: blur(45px);
  animation: floatGlowPrivacy 7s ease-in-out infinite alternate;
}

@keyframes floatGlowPrivacy {
  0% { transform: scale(0.9) translateY(0); opacity: 0.7; }
  100% { transform: scale(1.1) translateY(-15px); opacity: 1; }
}

/* Central Shield Card */
.privacy-shield-card {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  z-index: 5;
}

[data-theme="dark"] .privacy-shield-card {
  background: rgba(17, 24, 39, 0.95);
}

.shield-icon-glow {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 8px 16px rgba(16, 185, 129, 0.3));
}

/* Floating Chips for Hero */
.floating-chip-privacy {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  border-radius: 14px;
  padding: 0.55rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  z-index: 10;
  animation: floatBouncePrivacy 4s ease-in-out infinite alternate;
}

.floating-chip-privacy.pv-1 { top: 20px; left: -10px; animation-delay: 0s; }
.floating-chip-privacy.pv-2 { top: 90px; right: -15px; animation-delay: 1s; }
.floating-chip-privacy.pv-3 { bottom: 120px; left: -25px; animation-delay: 2s; }
.floating-chip-privacy.pv-4 { bottom: 25px; right: -10px; animation-delay: 1.5s; }

@keyframes floatBouncePrivacy {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(1.5deg); }
}

/* Policy Glass Cards */
.policy-section-card {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  margin-bottom: 2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.policy-section-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(16, 185, 129, 0.3);
}

.policy-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.policy-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.policy-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
}

/* Feature List / Grid inside Policy Cards */
.policy-grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.policy-item-box {
  background: var(--bg-main);
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.policy-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

/* Table of Contents Sticky Bar */
.toc-sticky-bar {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.8rem 0;
  margin-bottom: 2.5rem;
  scrollbar-width: thin;
}

.toc-chip {
  padding: 0.5rem 1.1rem;
  border-radius: 30px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: var(--transition-fast);
}

.toc-chip:hover, .toc-chip.active {
  background: #10B981;
  color: white;
  border-color: #10B981;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .privacy-hero-stage {
    height: 380px;
  }
  .floating-chip-privacy {
    display: none;
  }
  .policy-section-card {
    padding: 1.5rem;
  }
}
