/* ============================================
   WAFFI REWARDS LEGAL PAGES STYLES
   ============================================ */

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.8;
  color: #333;
  background: #f8f9fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
  color: #667eea;
  text-decoration: none;
}

.logo-icon {
  font-size: 32px;
}

.logo-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-outline:hover {
  background: #667eea;
  color: white;
}

/* ============================================
   LEGAL CONTENT CONTAINER
   ============================================ */

.legal-container {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  width: 100%;
}

.legal-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 50px 60px;
}

.legal-content h1 {
  font-size: 2.5rem;
  color: #1a1a2e;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.last-updated {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  margin-bottom: 35px;
}

section h2 {
  font-size: 1.5rem;
  color: #1a1a2e;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #667eea;
}

section h3 {
  font-size: 1.15rem;
  color: #333;
  margin-top: 20px;
  margin-bottom: 10px;
}

section p {
  margin-bottom: 15px;
  color: #444;
}

section ul {
  margin: 15px 0 20px 25px;
}

section ul li {
  margin-bottom: 8px;
  color: #444;
}

section ul li strong {
  color: #333;
}

section a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

section a:hover {
  text-decoration: underline;
}

/* ============================================
   CONTACT INFO
   ============================================ */

.contact-info {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px 25px;
  margin: 15px 0;
  border-left: 4px solid #667eea;
}

.contact-info p {
  margin-bottom: 8px;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */

.legal-footer {
  background: #1a1a2e;
  color: white;
  padding: 30px 20px;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-content p {
  color: #aaa;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #667eea;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .legal-content {
    padding: 30px 25px;
  }

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

  section h2 {
    font-size: 1.3rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .navbar-container {
    padding: 0 15px;
  }

  .logo-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .legal-container {
    padding: 20px 10px;
  }

  .legal-content {
    padding: 25px 20px;
    border-radius: 12px;
  }

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

  section h2 {
    font-size: 1.2rem;
  }

  section ul {
    margin-left: 20px;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .navbar,
  .legal-footer,
  .nav-buttons {
    display: none;
  }

  .legal-content {
    box-shadow: none;
    padding: 20px;
  }

  body {
    background: white;
  }

  section h2 {
    border-bottom: 1px solid #333;
  }

  .legal-content h1 {
    -webkit-text-fill-color: #667eea;
    color: #667eea;
  }
}
