/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9fafb;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Container */
.container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Header */
.header {
  background: #fff;
  padding: 1.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.header .container {
  padding: 0.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: -0.5px;
  display: inline-block;
}

.logo span {
  color: #2563eb;
}

.logo .highlight {
  color: #f97316;
  font-weight: 800;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0 !important;
}

.lang-switcher button {
  background: transparent;
  border: 2px solid #e2e8f0;
  color: #64748b;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
}

.lang-switcher button:hover {
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-2px);
}

.lang-switcher button.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

/* Legal Content */
.legal-content {
  background: #fff;
  padding: 3rem 0;
  min-height: calc(100vh - 300px);
}

.legal-content h1 {
  font-size: 2rem;
  color: #1e293b;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #2563eb;
  text-align: center;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  font-size: 1.6rem;
  color: #2563eb;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.legal-section h3 {
  font-size: 1.2rem;
  color: #1e293b;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  font-weight: 600;
}

.legal-section p {
  margin-bottom: 1rem;
  color: #4b5563;
  line-height: 1.8;
}

.legal-section ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.legal-section ul li {
  margin-bottom: 0.5rem;
  color: #4b5563;
  line-height: 1.8;
}

.legal-section strong {
  color: #1e293b;
  font-weight: 600;
}

.back-home {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 1.5rem;
  background: #2563eb;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.back-home:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.back-home i {
  margin-right: 0.5rem;
}

/* Footer */
.footer {
  background: #1e293b;
  color: #e2e8f0;
  padding: 3rem 0 1.5rem;
  text-align: center;
}

.footer .container {
  padding-bottom: 1.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-logo span {
  color: #f97316;
}

.footer-logo p {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #94a3b8;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  color: #94a3b8;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: #fff;
  transform: scale(1.1);
}

.copyright {
  font-size: 0.9rem;
  color: #94a3b8;
  border-top: 1px solid #334155;
  padding-top: 1.5rem;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header .container {
    flex-direction: row;
    gap: 1rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .lang-switcher {
    gap: 0.25rem;
  }

  .lang-switcher button {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }

  .legal-content h1 {
    font-size: 1.5rem;
  }

  .legal-section h2 {
    font-size: 1.3rem;
  }

  .legal-section h3 {
    font-size: 1.1rem;
  }

  .container {
    width: 95%;
    padding: 1rem 0;
  }

  .footer-links {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
}
