/* Privacy Policy stylesheet */

/* Theme-shifting dots animation */
@keyframes colorCycle {
  0%, 100% { background-color: var(--primary); }
  33% { background-color: var(--success); }
  66% { background-color: var(--color-pink); }
}

.theme-shifting-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary);
  display: inline-block;
  animation: colorCycle 3s infinite ease-in-out;
}

/* Floating overlay icons */
.privacy-float-decor {
  user-select: none;
  pointer-events: none;
  opacity: 0.15;
}

/* Floating 3D Privacy Hero Icon (No Container Card Background) */
@keyframes float3DSlow {
  0%, 100% {
    transform: translateY(0px) rotateX(6deg) rotateY(-8deg) rotateZ(0deg);
  }
  50% {
    transform: translateY(-14px) rotateX(12deg) rotateY(6deg) rotateZ(2deg);
  }
}

@keyframes pulse3DGlow {
  0%, 100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(0.92);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.12);
  }
}

@keyframes floatOrb1 {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-8px) translateX(6px); }
}

/* Floating Physics Keyframes for 8 Independent Orbs */
@keyframes floatOrb1 {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  50% { transform: translateY(-12px) translateX(8px) scale(1.06); }
}

@keyframes floatOrb2 {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  50% { transform: translateY(10px) translateX(-8px) scale(1.05); }
}

@keyframes floatOrb3 {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  50% { transform: translateY(-8px) translateX(-7px) scale(1.08); }
}

@keyframes floatOrb4 {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  50% { transform: translateY(9px) translateX(6px) scale(0.96); }
}

@keyframes floatOrb5 {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  50% { transform: translateY(-10px) translateX(-5px) scale(1.07); }
}

@keyframes floatOrb6 {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  50% { transform: translateY(8px) translateX(7px) scale(1.04); }
}

@keyframes floatOrb7 {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  50% { transform: translateY(-6px) translateX(4px) scale(1.12); }
}

@keyframes floatOrb8 {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  50% { transform: translateY(6px) translateX(-5px) scale(0.92); }
}

.privacy-3d-floating-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  flex-shrink: 0;
  perspective: 800px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.privacy-3d-icon-graphic {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  animation: float3DSlow 5s infinite ease-in-out;
  filter: drop-shadow(0 16px 22px rgba(6, 182, 212, 0.35));
}

.privacy-3d-glow-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, rgba(255, 0, 127, 0.2) 55%, rgba(0, 0, 0, 0) 78%);
  pointer-events: none;
  z-index: 0;
  animation: pulse3DGlow 4s infinite ease-in-out;
}

/* 3D Colorful Glass Soap Bubble Base */
.privacy-3d-orb {
  position: absolute;
  border-radius: 50%;
  z-index: 1 !important;
  pointer-events: none !important;
  user-select: none !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transform-style: preserve-3d;
}

/* Specular Glint Highlight on Top Left */
.privacy-3d-orb::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 12%;
  width: 38%;
  height: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(-30deg);
  pointer-events: none !important;
  user-select: none !important;
}

/* Orb 1: Large Aqua Cyan Bubble (32px) */
.privacy-3d-orb-1 {
  width: 32px;
  height: 32px;
  top: -10px;
  left: -15px;
  background: radial-gradient(circle at 35% 25%, #67E8F9 0%, #06B6D4 55%, #0891B2 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 
    inset -4px -5px 10px rgba(8, 145, 178, 0.6),
    inset 3px 3px 6px rgba(255, 255, 255, 0.7),
    0 10px 22px rgba(6, 182, 212, 0.55);
  animation: floatOrb1 4.2s infinite ease-in-out;
}

/* Orb 2: Medium-Large Soft Pink Bubble (26px) */
.privacy-3d-orb-2 {
  width: 26px;
  height: 26px;
  bottom: 10px;
  right: -12px;
  background: radial-gradient(circle at 35% 25%, #FF85C0 0%, #FF2A85 55%, #C40058 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    inset -4px -4px 9px rgba(196, 0, 88, 0.6),
    inset 3px 3px 6px rgba(255, 255, 255, 0.75),
    0 10px 22px rgba(255, 42, 133, 0.55);
  animation: floatOrb2 4.6s infinite ease-in-out;
}

/* Orb 3: Vivid Lavender Violet Bubble (28px) */
.privacy-3d-orb-3 {
  width: 28px;
  height: 28px;
  top: 0px;
  right: -16px;
  background: radial-gradient(circle at 35% 25%, #D3ADF7 0%, #722ED1 60%, #391085 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 
    inset -3px -4px 8px rgba(57, 16, 133, 0.6),
    inset 3px 3px 6px rgba(255, 255, 255, 0.7),
    0 8px 20px rgba(114, 46, 209, 0.5);
  animation: floatOrb3 5s infinite ease-in-out;
}

/* Orb 4: Vivid Royal Purple Bubble (22px) */
.privacy-3d-orb-4 {
  width: 22px;
  height: 22px;
  bottom: -5px;
  left: -10px;
  background: radial-gradient(circle at 35% 25%, #C084FC 0%, #9333EA 60%, #581C87 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    inset -3px -3px 7px rgba(88, 28, 135, 0.6),
    inset 2px 2px 5px rgba(255, 255, 255, 0.7),
    0 8px 18px rgba(147, 51, 234, 0.5);
  animation: floatOrb4 3.8s infinite ease-in-out;
}

/* Orb 5: Emerald Mint Green Bubble (18px) */
.privacy-3d-orb-5 {
  width: 18px;
  height: 18px;
  top: 45px;
  left: -24px;
  background: radial-gradient(circle at 35% 25%, #6EE7B7 0%, #10B981 60%, #047857 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    inset -2px -3px 6px rgba(4, 120, 87, 0.6),
    inset 2px 2px 4px rgba(255, 255, 255, 0.7),
    0 6px 16px rgba(16, 185, 129, 0.5);
  animation: floatOrb5 4.4s infinite ease-in-out;
}

/* Orb 6: Amber Gold Bubble (16px) */
.privacy-3d-orb-6 {
  width: 16px;
  height: 16px;
  bottom: 45px;
  right: -24px;
  background: radial-gradient(circle at 35% 25%, #FDE047 0%, #F59E0B 60%, #B45309 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    inset -2px -2px 5px rgba(180, 83, 9, 0.6),
    inset 2px 2px 4px rgba(255, 255, 255, 0.7),
    0 5px 14px rgba(245, 158, 11, 0.5);
  animation: floatOrb6 3.6s infinite ease-in-out;
}

/* Orb 7: Micro Hot Pink Bubble (12px) */
.privacy-3d-orb-7 {
  width: 12px;
  height: 12px;
  top: -14px;
  left: 40px;
  background: radial-gradient(circle at 35% 25%, #FF80BF 0%, #FF007F 70%, #9F1239 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    inset -2px -2px 4px rgba(159, 18, 57, 0.5),
    0 4px 10px rgba(255, 0, 127, 0.5);
  animation: floatOrb7 3.2s infinite ease-in-out;
}

/* Orb 8: Micro Aqua Blue Bubble (10px) */
.privacy-3d-orb-8 {
  width: 10px;
  height: 10px;
  bottom: -12px;
  right: 40px;
  background: radial-gradient(circle at 35% 25%, #A5F3FC 0%, #0284C7 70%, #0369A1 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    inset -1px -2px 3px rgba(3, 105, 161, 0.5),
    0 3px 8px rgba(2, 132, 199, 0.5);
  animation: floatOrb8 4s infinite ease-in-out;
}

.privacy-floating-pill-3d {
  margin-top: 0.6rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.privacy-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
  box-shadow: 0 0 8px var(--success);
}

/* Clause row styles */
.privacy-clause-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  transition: var(--transition-normal);
}

.privacy-clause-row:hover {
  transform: translateY(-2px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-sm);
}

.privacy-clause-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.privacy-clause-icon.beg-color { background: var(--color-beginner-light); color: var(--color-beginner); }
.privacy-clause-icon.int-color { background: var(--color-intermediate-light); color: var(--color-intermediate); }
.privacy-clause-icon.adv-color { background: var(--color-advanced-light); color: var(--color-advanced); }

.privacy-clause-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.privacy-clause-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

@media (max-width: 768px) {
  .privacy-clause-row {
    padding: 0.85rem;
    gap: 1rem;
  }
}

@media (max-width: 425px) {
  .privacy-clause-row {
    flex-direction: column;
    gap: 0.6rem;
  }

  .privacy-clause-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  .privacy-clause-title {
    font-size: 0.92rem;
  }
}

@media (max-width: 320px) {
  .privacy-clause-desc {
    font-size: 0.75rem;
  }
}
