:root {
  --primary: #478f07;
  --secondary: #620063;
  --accent: #478f07;
  --light: #ecf0f1;
  --dark: #34495e;
  --success: #478f07;
  --white: #fff;
  --font-main: "Winky Rough", sans-serif;
}

.policies-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
  margin-top: 100px;
}

.section {
  background: var(--white);
  margin: 2rem 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  position: relative;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.section-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.section-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  transform: rotate(-45deg);
  transition: transform 0.6s ease;
}

.section:hover .section-header::before {
  transform: rotate(-45deg) scale(1.2);
}

.section-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.section:hover .section-icon {
  transform: rotate(360deg) scale(1.1);
  background: rgba(255, 255, 255, 0.3);
}

.section-title {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-content {
  padding: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark);
  position: relative;
}

.section-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 2px;
}

.highlight-box {
  background: linear-gradient(
    135deg,
    rgba(71, 143, 7, 0.1) 0%,
    rgba(98, 0, 99, 0.1) 100%
  );
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 10px 10px 0;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.section:hover .highlight-box::before {
  left: 100%;
}

.privacy-section {
  background: linear-gradient(
    135deg,
    rgba(71, 143, 7, 0.05) 0%,
    rgba(71, 143, 7, 0.1) 100%
  );
}

.refund-section {
  background: linear-gradient(
    135deg,
    rgba(98, 0, 99, 0.05) 0%,
    rgba(98, 0, 99, 0.1) 100%
  );
}

.refund-section .section-header {
  background: linear-gradient(135deg, var(--secondary) 0%, #8e44ad 100%);
}

.terms-section {
  background: linear-gradient(
    135deg,
    rgba(52, 73, 94, 0.05) 0%,
    rgba(52, 73, 94, 0.1) 100%
  );
}

.terms-section .section-header {
  background: linear-gradient(135deg, var(--dark) 0%, #5d6d7e 100%);
}

.shipping-section {
  background: linear-gradient(
    135deg,
    rgba(71, 143, 7, 0.05) 0%,
    rgba(71, 143, 7, 0.1) 100%
  );
}

.key-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.key-point {
  background: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  border-radius: 15px;
  border: 2px solid rgba(71, 143, 7, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.key-point:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(71, 143, 7, 0.2);
}

.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s infinite linear;
}

.floating-shape:nth-child(1) {
  width: 80px;
  height: 80px;
  background: var(--primary);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shape:nth-child(2) {
  width: 120px;
  height: 120px;
  background: var(--secondary);
  top: 60%;
  right: 10%;
  animation-delay: -5s;
}

.floating-shape:nth-child(3) {
  width: 60px;
  height: 60px;
  background: var(--dark);
  top: 80%;
  left: 20%;
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-30px) rotate(120deg);
  }
  66% {
    transform: translateY(30px) rotate(240deg);
  }
  100% {
    transform: translateY(0px) rotate(360deg);
  }
}

.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(71, 143, 7, 0.2);
  z-index: 1000;
}

.scroll-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0%;
  transition: width 0.1s ease;
}

@media (max-width: 768px) {
  .policies-container {
    padding: 1rem 0.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-content {
    padding: 1.5rem;
    font-size: 1rem;
  }

  .section-header {
    padding: 1.5rem;
  }

  .key-points {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .key-point {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }

  .section-icon {
    width: 50px;
    height: 50px;
  }
}
