/* privacy-style.css */

:root {
  --primary: #2196f3;
  --primary-dark: #1565c0;
  --bg-light: #f8f9fa;
  --text-dark: #1c1c1c;
  --text-gray: #5f6368;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.8;
  padding-bottom: 60px;
}

.header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 40px 20px;
  color: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
  animation: float 20s linear infinite;
  pointer-events: none;
}

@keyframes float {
  from { 
    transform: translateY(0); 
  }
  to { 
    transform: translateY(-100px); 
  }
}

.header-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.header h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.header p {
  font-size: 14px;
  opacity: 0.95;
}

.container {
  max-width: 900px;
  margin: -30px auto 40px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.policy-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.update-date {
  background: var(--bg-light);
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 30px;
  border-right: 4px solid var(--primary);
}

.update-date i {
  color: var(--primary);
  margin-left: 5px;
}

h2 {
  color: var(--primary-dark);
  font-size: 22px;
  margin: 30px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-light);
  position: relative;
}

h2:first-of-type {
  margin-top: 0;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 60px;
  height: 2px;
  background: var(--primary);
}

h2 i {
  margin-left: 8px;
}

h3 {
  color: var(--primary);
  font-size: 18px;
  margin: 20px 0 10px;
  font-weight: 700;
}

h3 i {
  margin-left: 5px;
}

p {
  margin-bottom: 15px;
  color: #444;
  text-align: justify;
}

.intro {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.08) 0%, rgba(25, 118, 210, 0.04) 100%);
  padding: 20px;
  border-radius: 10px;
  border-right: 4px solid var(--primary);
  margin-bottom: 25px;
}

.intro p {
  margin-bottom: 0;
  font-weight: 500;
}

ul {
  margin-right: 25px;
  margin-bottom: 20px;
}

.sub-list {
  margin-top: 8px;
  margin-right: 20px;
}

li {
  margin-bottom: 12px;
  color: #444;
  line-height: 1.9;
}

li strong {
  color: var(--primary-dark);
  font-weight: 700;
}

.highlight-box {
  background: #fff3cd;
  border-right: 4px solid #ffc107;
  padding: 18px;
  border-radius: 8px;
  margin: 20px 0;
}

.highlight-box p {
  margin-bottom: 0;
  color: #856404;
}

.highlight-box.final-note {
  margin-top: 30px;
}

.info-box {
  background: #d1ecf1;
  border-right: 4px solid #17a2b8;
  padding: 18px;
  border-radius: 8px;
  margin: 20px 0;
}

.info-box p {
  margin-bottom: 0;
  color: #0c5460;
}

.success-box {
  background: #d4edda;
  border-right: 4px solid #28a745;
  padding: 18px;
  border-radius: 8px;
  margin: 20px 0;
}

.success-box p {
  margin-bottom: 0;
  color: #155724;
}

.contact-section {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 10px;
  margin-top: 30px;
  text-align: center;
}

.contact-section h3 {
  color: var(--primary-dark);
  margin-bottom: 15px;
  margin-top: 0;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  margin-top: 10px;
}

.contact-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-gray);
}

.footer {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  margin-top: 40px;
  border-top: 1px solid #eee;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.footer p {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 5px;
}

.footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .fa-heart {
  color: var(--primary);
}

.back-home {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  z-index: 1000;
}

.back-home:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .header h1 {
    font-size: 24px;
  }

  .policy-card {
    padding: 25px 20px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 17px;
  }

  .back-home {
    bottom: 20px;
    left: 20px;
    padding: 10px 15px;
    font-size: 14px;
  }

  .back-home span {
    display: none;
  }
}

@media print {
  .back-home,
  .contact-btn {
    display: none;
  }
  
  body {
    background: white;
  }
  
  .policy-card {
    box-shadow: none;
  }
}