* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

:root {
  --primary-white: #ffffff;
  --primary-black: #000000;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --accent-color: #4a5568;
  --accent-hover: #2d3748;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--primary-white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.main-content {
  padding-top: 80px;
  padding-bottom: 5rem;
  min-height: calc(100vh - 200px);
  display: flex;
  justify-content: center;
}

.section-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.policies-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: slideInUp 0.6s ease-out;
}

.policies-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-black);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.policies-header p {
  font-size: 1.2rem;
  color: var(--gray-600);
  max-width: 800px;
  margin: 0 auto;
}

.policies-container {
  animation: slideInUp 0.6s ease-out 0.2s both;
}

.policies-content {
  background: var(--primary-white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.policy-section {
  margin-bottom: 4rem;
  scroll-margin-top: 80px;
  text-align: left;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.policy-section h2 i {
  color: var(--accent-color);
}

.policy-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 2rem 0 1rem;
}

.policy-section p {
  color: var(--gray-700);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.policy-section ul,
.policy-section ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.policy-section li {
  color: var(--gray-700);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.policy-section strong {
  color: var(--gray-900);
  font-weight: 600;
}

.highlight-card {
  background-color: var(--gray-50);
  border-left: 4px solid var(--accent-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.highlight-card p {
  margin-bottom: 0;
  color: var(--gray-700);
  font-style: italic;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.info-table th {
  background-color: var(--gray-100);
  color: var(--gray-800);
  font-weight: 600;
  text-align: left;
  padding: 1rem;
  border-bottom: 2px solid var(--gray-200);
}

.info-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}

.info-table tr:last-child td {
  border-bottom: none;
}

.info-table tr:hover {
  background-color: var(--gray-50);
}

.policy-badge {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-white);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 0.5rem;
}

.update-date {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.update-date i {
  color: var(--accent-color);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: var(--primary-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  z-index: 998;
  transition: var(--transition);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
}

@media (min-width: 1400px) {
  .section-container {
    max-width: 1000px;
  }
}

@media (max-width: 1199px) {
  .policies-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 991px) {
  .main-content {
    padding-top: 60px;
  }
  .policies-header h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 767px) {
  .main-content {
    padding-top: 50px;
    padding-bottom: 3rem;
  }
  .policies-header h1 {
    font-size: 2rem;
  }
  .policies-header p {
    font-size: 1.1rem;
  }
  .policies-content {
    padding: 2rem;
  }
  .policy-section h2 {
    font-size: 1.6rem;
  }
  .policy-section h3 {
    font-size: 1.3rem;
  }
  .back-to-top {
    left: 1rem;
    bottom: 1rem;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

@media (max-width: 575px) {
  .main-content {
    padding-top: 40px;
  }
  .policies-header h1 {
    font-size: 1.8rem;
  }
  .policies-header p {
    font-size: 1rem;
  }
  .policies-content {
    padding: 1.5rem;
  }
  .section-container {
    padding: 0 4%;
  }
  .policy-section h2 {
    font-size: 1.5rem;
  }
  .policy-section h3 {
    font-size: 1.2rem;
  }
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    left: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 424px) {
  .main-content {
    padding-top: 30px;
  }
  .policies-header h1 {
    font-size: 1.6rem;
  }
  .policies-content {
    padding: 1.2rem;
    border-radius: 15px;
  }
  .policy-section h2 {
    font-size: 1.4rem;
  }
  .info-table {
    font-size: 0.9rem;
  }
  .info-table th,
  .info-table td {
    padding: 0.8rem;
  }
}

@media (max-width: 374px) {
  .main-content {
    padding-top: 25px;
  }
  .policies-header h1 {
    font-size: 1.4rem;
  }
  .policies-header p {
    font-size: 0.95rem;
  }
  .policy-section h2 {
    font-size: 1.3rem;
  }
  .policy-section p {
    font-size: 0.95rem;
  }
  .back-to-top {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}