/* Static Pages CSS - Terms and Privacy */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
  line-height: 1.6;
}

.static-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 20px;
}

.static-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.static-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.static-header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.static-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.static-content {
  padding: 50px 40px;
  color: #444;
  line-height: 1.8;
}

.static-content h2 {
  color: #667eea;
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 35px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}

.static-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: #667eea;
}

.static-content h3 {
  color: #333;
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.static-content p {
  margin-bottom: 18px;
  text-align: justify;
  color: #555;
}

.static-content ul {
  margin-bottom: 20px;
  padding-left: 25px;
}

.static-content li {
  margin-bottom: 10px;
  color: #555;
}

.static-content .highlight {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 20px;
  border-left: 5px solid #667eea;
  margin: 25px 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.static-content .highlight strong {
  color: #667eea;
  font-weight: 600;
}

.back-button {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.back-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
  color: white;
}

.contact-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 25px;
  border-radius: 12px;
  margin-top: 35px;
  border-left: 5px solid #667eea;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h4 {
  color: #667eea;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-info p {
  margin-bottom: 12px;
  color: #555;
}

.contact-info i {
  width: 20px;
  margin-right: 10px;
  color: #667eea;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.data-table th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 18px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
}

.data-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #e0e0e0;
  color: #555;
}

.data-table tr:hover {
  background: #f8f9fa;
  transition: background 0.3s ease;
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.static-container {
  animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .static-container {
    margin: 10px;
    border-radius: 10px;
  }
  
  .static-header {
    padding: 30px 20px;
  }
  
  .static-header h1 {
    font-size: 2.2rem;
  }
  
  .static-header p {
    font-size: 1rem;
  }
  
  .static-content {
    padding: 30px 20px;
  }
  
  .static-content h2 {
    font-size: 1.4rem;
  }
  
  .static-content h3 {
    font-size: 1.1rem;
  }
  
  .data-table {
    font-size: 14px;
  }
  
  .data-table th,
  .data-table td {
    padding: 12px 15px;
  }
}

@media (max-width: 480px) {
  .static-header h1 {
    font-size: 1.8rem;
  }
  
  .static-content {
    padding: 25px 15px;
  }
  
  .static-content h2 {
    font-size: 1.3rem;
  }
  
  .contact-info {
    padding: 20px;
  }
  
  .back-button {
    padding: 12px 25px;
    font-size: 14px;
  }
}

/* Print styles */
@media print {
  body {
    background: white;
  }
  
  .static-container {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .static-header {
    background: #667eea !important;
    -webkit-print-color-adjust: exact;
  }
  
  .back-button {
    display: none;
  }
}

/* Accessibility improvements */
.static-content a {
  color: #667eea;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.3s ease;
}

.static-content a:hover {
  border-bottom: 1px solid #667eea;
}

.static-content strong {
  font-weight: 600;
  color: #333;
}

/* Focus styles for accessibility */
.back-button:focus,
.static-content a:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
} 