/* =========================
   Privacy Policy Styles
==========================*/

.privacy-policy-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Card */
.policy-header-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.policy-header-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.policy-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.policy-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.policy-header-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.policy-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  margin: 0 0 20px 0;
}

.effective-date {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  border-left: 4px solid #3b82f6;
}

.date-label {
  font-weight: 600;
  color: #1e40af;
}

.date-value {
  color: #3b82f6;
  font-weight: 500;
}

/* Quick Navigation */
.policy-nav {
  background: white;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.policy-nav h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 20px 0;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  background: #f8fafc;
  border-radius: 10px;
  text-decoration: none;
  color: #475569;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.nav-item:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

.nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Policy Cards */
.policy-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.policy-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.policy-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 30px 0 30px;
}

.card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

.card-content {
  padding: 20px 30px 30px 30px;
}

.card-content p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

/* Highlight Box */
.highlight-box {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 12px;
  border-left: 4px solid #f59e0b;
  margin: 20px 0;
}

.highlight-box svg {
  width: 20px;
  height: 20px;
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-box p {
  margin: 0;
  color: #92400e;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 20px;
  height: 20px;
  color: #3b82f6;
}

.info-item h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 5px 0;
}

.info-item p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

/* Privacy Note */
.privacy-note {
  background: rgba(34, 197, 94, 0.1);
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid #22c55e;
  margin-top: 25px;
}

.privacy-note p {
  margin: 0;
  color: #166534;
}

/* Cookie Types */
.cookie-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.cookie-type {
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  position: relative;
}

.cookie-type h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.cookie-type p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 15px 0;
}

.cookie-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-status.required {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.cookie-status.optional {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

/* Cookie Control */
.cookie-control {
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid #3b82f6;
  margin-top: 25px;
}

.cookie-control p {
  margin: 0;
  color: #1e40af;
}

/* Usage Grid */
.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 25px 0;
}

.usage-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.usage-item:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
}

.usage-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.usage-content h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.usage-content p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

/* Protection Grid */
.protection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 25px 0;
}

.protection-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.protection-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.protection-icon.at-rest {
  background: rgba(34, 197, 94, 0.1);
}

.protection-icon.in-transit {
  background: rgba(59, 130, 246, 0.1);
}

.protection-icon svg {
  width: 24px;
  height: 24px;
}

.protection-icon.at-rest svg {
  color: #22c55e;
}

.protection-icon.in-transit svg {
  color: #3b82f6;
}

.protection-item h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.protection-item p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
}

/* Security Badge */
.security-badge {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 12px;
  border-left: 4px solid #22c55e;
  margin-top: 25px;
}

.security-badge svg {
  width: 30px;
  height: 30px;
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 2px;
}

.security-badge h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #166534;
  margin: 0 0 8px 0;
}

.security-badge p {
  color: #166534;
  margin: 0;
}

/* Contact Card */
.contact-card {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.contact-card .card-header h3,
.contact-card .card-content p {
  color: white;
}

.contact-card .card-icon {
  background: rgba(255, 255, 255, 0.2);
}

.contact-info {
  margin: 25px 0;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.contact-method .contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method .contact-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.contact-method h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin: 0 0 8px 0;
}

.contact-link {
  color: #bfdbfe;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: white;
}

.response-time {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 20px;
}

.response-time svg {
  width: 20px;
  height: 20px;
  color: #bfdbfe;
}

.response-time p {
  margin: 0;
  font-size: 0.9rem;
  color: #bfdbfe;
}

/* Policy Footer */
.policy-footer {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.update-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.update-info svg {
  width: 30px;
  height: 30px;
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 2px;
}

.update-info p {
  color: #475569;
  margin: 0 0 10px 0;
}

.last-updated {
  font-size: 0.9rem;
  color: #64748b;
  font-style: italic;
}

/* Links */
.policy-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.policy-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Animation States */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .policy-header-content {
    flex-direction: column;
    text-align: center;
  }

  .nav-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .usage-grid,
  .protection-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .privacy-policy-section {
    padding: 40px 0;
  }

  .container {
    padding: 0 15px;
  }

  .policy-header-card {
    padding: 30px 20px;
  }

  .policy-header-text h1 {
    font-size: 2rem;
  }

  .policy-nav {
    padding: 20px;
  }

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

  .card-header {
    padding: 20px 20px 0 20px;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .card-content {
    padding: 15px 20px 25px 20px;
  }

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

  .usage-item,
  .protection-item,
  .contact-method {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .update-info {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}
