/* Privacy Policy Page Styles */

.privacy-policy-container {
  padding: 40px 0;
}

/* Intro Section */
.intro-section {
  margin-bottom: 60px;
  text-align: center;
}

.intro-text {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Titles */
.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  margin-left: 10px;
  color: #222;
  text-align: left;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #9252ba, #7a3d9e);
  margin: 15px 0 0 0;
}

/* Table of Contents */
.toc-section {
  margin-bottom: 60px;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-left: 10px;
  margin-right: 10px;
}

.toc-link {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #9252ba;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  text-decoration: none;
  color: #222;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.toc-link:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.toc-link i {
  font-size: 28px;
  color: #9252ba;
}

.toc-link span {
  font-size: 14px;
  font-weight: 600;
}

/* Privacy Section */
.privacy-section {
  margin-bottom: 60px;
}

/* Information Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  margin-left: 10px;
  margin-right: 10px;
}

.info-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #9252ba;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.info-box:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.info-box .box-icon {
  font-size: 36px;
  color: #9252ba;
  margin-bottom: 15px;
}

.info-box h3 {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 15px;
  margin-top: 0;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  font-size: 14px;
  color: #666;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.info-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #9252ba;
  font-weight: bold;
}

.policy-content {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  margin-left: 10px;
  margin-right: 10px;
}

.policy-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 15px;
  margin-top: 0;
}

.policy-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
}

.policy-content p:last-child {
  margin-bottom: 0;
}

/* Usage Timeline */
.usage-timeline {
  margin-left: 10px;
  margin-right: 10px;
  position: relative;
}

.usage-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #9252ba, #7a3d9e);
}

.timeline-item {
  background: #ffffff;
  padding: 25px;
  padding-left: 70px;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.timeline-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 28px;
  width: 34px;
  height: 34px;
  background: #9252ba;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #9252ba;
}

.timeline-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
  margin-top: 0;
}

.timeline-item p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Security Cards */
.security-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  margin-bottom: 25px;
  margin-left: 10px;
  margin-right: 10px;
  border: 1px solid #f0f0f0;
}

.security-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.security-card .security-icon {
  font-size: 44px;
  color: #9252ba;
  margin-bottom: 15px;
  display: block;
}

.security-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
  margin-top: 0;
}

.security-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

.compliance-notice {
  background: #e8f4f8;
  border-left: 4px solid #0288d1;
  padding: 25px;
  border-radius: 8px;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 30px;
}

.compliance-notice h3 {
  font-size: 18px;
  font-weight: 600;
  color: #01579b;
  margin-bottom: 15px;
  margin-top: 0;
}

.compliance-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compliance-list li {
  font-size: 15px;
  color: #01579b;
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
}

.compliance-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0288d1;
  font-weight: bold;
  font-size: 16px;
}

/* Rights Container */
.rights-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  margin-left: 10px;
  margin-right: 10px;
}

.right-item {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #9252ba;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.right-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.right-item .right-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 15px;
}

.right-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
  margin-top: 0;
}

.right-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

.how-to-exercise {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  margin-left: 10px;
  margin-right: 10px;
}

.how-to-exercise h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
  margin-top: 0;
}

.how-to-exercise p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 0;
}

.how-to-exercise a {
  color: #9252ba;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.how-to-exercise a:hover {
  color: #7a3d9e;
  text-decoration: underline;
}

/* Cookie Info */
.cookie-info {
  background: #fff3cd;
  padding: 25px;
  border-radius: 8px;
  margin-left: 10px;
  margin-right: 10px;
  border-left: 4px solid #ffc107;
}

.cookie-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #856404;
  margin-bottom: 12px;
  margin-top: 0;
}

.cookie-info p {
  font-size: 15px;
  color: #856404;
  line-height: 1.7;
  margin-bottom: 20px;
}

.cookie-types {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.cookie-type {
  padding: 12px 0;
  padding-left: 25px;
  position: relative;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.cookie-type::before {
  content: '●';
  position: absolute;
  left: 0;
  color: #9252ba;
  font-weight: bold;
}

/* Data Sharing */
.sharing-list {
  margin-left: 10px;
  margin-right: 10px;
}

.sharing-item {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 4px solid #9252ba;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.sharing-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sharing-item strong {
  color: #222;
}

.important-note {
  background: #fff3cd;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #ff9800;
  margin: 25px 10px 0 10px;
  font-size: 15px;
  color: #856404;
  line-height: 1.6;
}

/* Retention Table */
.retention-table {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin: 25px 10px;
}

.retention-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  color: #666;
}

.retention-row.header {
  background: linear-gradient(90deg, #9252ba, #7a3d9e);
  color: #ffffff;
  font-weight: 600;
  border-bottom: none;
}

.retention-row:last-child {
  border-bottom: none;
}

.retention-row span:first-child {
  font-weight: 500;
}

/* Child Privacy Notice */
.child-privacy-notice {
  background: #e8f5e9;
  border-left: 4px solid #4caf50;
  padding: 25px;
  border-radius: 8px;
  margin-left: 10px;
  margin-right: 10px;
}

.child-privacy-notice p {
  font-size: 15px;
  color: #2e7d32;
  line-height: 1.7;
  margin-bottom: 15px;
}

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

.child-privacy-notice a {
  color: #2e7d32;
  font-weight: 600;
  text-decoration: none;
}

.child-privacy-notice a:hover {
  text-decoration: underline;
}

/* Contact Section */
.contact-section {
  margin-top: 60px;
  margin-bottom: 40px;
}

.contact-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  margin-left: 10px;
  text-align: center;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-left: 10px;
  margin-right: 10px;
}

.contact-detail-item {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #9252ba;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 15px;
  transition: all 0.3s ease;
}

.contact-detail-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.contact-detail-item i {
  font-size: 28px;
  color: #9252ba;
  flex-shrink: 0;
}

.contact-detail-item strong {
  display: block;
  font-size: 16px;
  color: #222;
  margin-bottom: 5px;
}

.contact-detail-item p {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-detail-item a {
  color: #9252ba;
  text-decoration: none;
  font-weight: 600;
}

.contact-detail-item a:hover {
  text-decoration: underline;
}

/* Update Section */
.update-section {
  background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  margin: 50px 10px 0 10px;
}

.update-section p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.6;
}

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

.update-section strong {
  color: #222;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .toc-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .toc-link {
    padding: 15px;
  }

  .toc-link i {
    font-size: 24px;
  }

  .toc-link span {
    font-size: 12px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .rights-container {
    grid-template-columns: 1fr;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .retention-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .retention-row span:first-child::after {
    content: ': ';
  }

  .info-box,
  .security-card,
  .right-item,
  .contact-detail-item {
    margin-left: 10px;
    margin-right: 10px;
  }

  .intro-text {
    font-size: 16px;
  }

  .usage-timeline {
    margin-left: 0;
  }

  .timeline-item {
    padding-left: 50px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .timeline-item::before {
    left: 0;
  }

  .usage-timeline::before {
    left: 16px;
  }
}
