/* Turchat Legal Pages Global CSS */
:root {
  --primary: #25D366;
  --primary-dark: #1EB855;
  --primary-light: #34E775;
  --dark: #0F1419;
  --gray: #536471;
  --light-gray: #F7F9FA;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  --shadow-sm: 0 2px 8px rgba(37, 211, 102, 0.08);
  --shadow-md: 0 4px 24px rgba(37, 211, 102, 0.12);
  --shadow-lg: 0 8px 48px rgba(37, 211, 102, 0.16);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--light-gray);
  color: var(--dark);
  line-height: 1.7;
}

/* Legal Page Header */
.legal-header {
  background: var(--gradient);
  padding: 80px 0 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.legal-header::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -125px;
  right: -125px;
}

.legal-header::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  bottom: -90px;
  left: -90px;
}

.legal-header .container {
  position: relative;
  z-index: 1;
}

.legal-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.legal-header p {
  font-size: 1.25rem;
  opacity: 0.9;
}

.header-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.header-icon i {
  font-size: 40px;
  color: white;
}

/* Content */
.legal-content {
  background: white;
  margin: -40px 0 0;
  position: relative;
  z-index: 10;
  border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow-lg);
}

.content-section {
  padding: 80px 0;
}

.content-section:not(:last-child) {
  border-bottom: 1px solid #e9ecef;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(18, 140, 126, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
}

.legal-card {
  background: var(--light-gray);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary);
}

.legal-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1rem;
}

.legal-list {
  list-style: none;
  padding-left: 0;
}

.legal-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.legal-list li i {
  color: var(--primary);
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(18, 140, 126, 0.1) 100%);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.warning-box {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 154, 0, 0.1) 100%);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-left: 4px solid #ffc107;
}

.danger-box {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-left: 4px solid #dc3545;
}

.info-box {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.05) 100%);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(13, 110, 253, 0.3);
  border-left: 4px solid #0d6efd;
}

.data-table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 2rem 0;
}

.table-header {
  background: var(--gradient);
  color: white;
  padding: 1.5rem;
  font-weight: 600;
}

.table-row {
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
}

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

.table-label {
  font-weight: 600;
  color: var(--dark);
}

.contact-section {
  background: var(--light-gray);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.btn-primary-modern {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.numbered-list {
  counter-reset: item;
  list-style: none;
  padding-left: 0;
}

.numbered-list li {
  counter-increment: item;
  padding: 1rem 0;
  position: relative;
  padding-left: 3rem;
}

.numbered-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 1rem;
  background: var(--primary);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.text-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.last-updated {
  background: var(--light-gray);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  margin: 2rem 0;
  font-size: 0.9rem;
  color: var(--gray);
}

.effective-date {
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-header h1 {
    font-size: 2rem;
  }

  .legal-header p {
    font-size: 1.1rem;
  }

  .content-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .text-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .numbered-list li {
    padding-left: 2.5rem;
  }

  .numbered-list li::before {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
  }
}