:root {
  --primary-color: #0a75c2;
  --primary-dark: #055da1;
  --text-dark: #1a1a2e;
  --text-gray: #4a4a68;
  --bg-light: #f8f9fc;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  min-height: 100vh;
  padding: 40px 20px;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
}

.policy-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 30px;
  background: var(--white);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

.policy-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.policy-header .last-updated {
  color: var(--text-gray);
  font-size: 0.875rem;
}

.policy-content {
  background: var(--white);
  padding: 40px;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.policy-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-top: 20px;
  margin-bottom: 10px;
}

.policy-content p {
  margin-bottom: 15px;
  color: var(--text-gray);
  line-height: 1.7;
}

.policy-content ul {
  margin-bottom: 15px;
  padding-left: 25px;
}

.policy-content li {
  margin-bottom: 8px;
  color: var(--text-gray);
  line-height: 1.6;
}

.policy-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.policy-content a:hover {
  text-decoration: underline;
}

.back-link,
.policy-content a.back-link {
  display: inline-block;
  margin-top: 35px;
  padding: 14px 35px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(10, 117, 194, 0.4);
}

.back-link:hover,
.policy-content a.back-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(10, 117, 194, 0.5);
  color: #ffffff !important;
  text-decoration: none !important;
}

.policy-footer {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.policy-footer .footer-social {
  margin-bottom: 20px;
}

.policy-footer .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #1877f2;
  color: #ffffff;
  border-radius: 50%;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.policy-footer .social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.6);
}

.policy-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.policy-footer .footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.policy-footer .footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Table styles for KYC page */
.table-responsive {
  overflow-x: auto;
  margin: 20px 0;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.policy-table th,
.policy-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.policy-table th {
  background: rgba(10, 117, 194, 0.5);
  font-weight: 600;
  color: #ffffff;
}

.policy-table td {
  background: rgba(255, 255, 255, 0.05);
}

.policy-table tr:hover td {
  background: rgba(255, 255, 255, 0.1);
}

.copyright-notice {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  body {
    padding: 20px 15px;
  }

  .policy-header {
    padding: 25px 20px;
  }

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

  .policy-content {
    padding: 25px 20px;
  }

  .policy-content h2 {
    font-size: 1.2rem;
  }

  .policy-content h3 {
    font-size: 1rem;
  }

  .back-link,
  .policy-content a.back-link {
    padding: 12px 28px;
    font-size: 13px;
  }

  .policy-footer .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}
