/* ==========================================================================
   Legal Pages Shared Styles (Privacy Policy, Terms of Service & Refund Policy)
   ========================================================================== */

:root {
  --primary-gradient: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
  --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --card-shadow: 0 10px 40px rgba(0,0,0,0.08);
  --card-hover-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

body {
  background: #f5f7fa;
}

/* The pages now sit between the site's header and footer, whose stylesheet
   (css/style.css) sets its own fonts, headings, links and page width. Inside
   the page the old site's values stay in force, so it reads as it did. */
.page-template {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

.page-template .container {
  width: 90%;
  max-width: 1200px;
  padding: 0 20px;
}

.page-template h1,
.page-template h2,
.page-template h3 {
  font-family: inherit;
  font-stretch: normal;
  line-height: 1.2;
  letter-spacing: normal;
}

.page-template ul,
.page-template ol {
  margin-top: 0;
  padding: 0;
}

.page-template a {
  color: #3da5ee;
}

.page-template a:hover {
  color: #268fe5;
}

.page-template {
  padding: 40px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.page-template::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="40" fill="rgba(255,255,255,0.03)"/></svg>');
  opacity: 0.5;
}

.page-content {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-content h1 {
  margin-bottom: 10px;
  padding-bottom: 20px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  position: relative;
}

.page-content h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.page-content h1 i {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 10px;
}

.page-content h2 {
  margin-top: 35px;
  margin-bottom: 15px;
  color: #2d3748;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 15px;
  border-left: 4px solid transparent;
  border-image: var(--primary-gradient) 1;
}

.page-content h2::before {
  content: '\25CF';
  color: #ff6600;
  font-size: 12px;
}

.page-content h3 {
  margin-top: 20px;
  margin-bottom: 12px;
  color: #4a5568;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 15px;
  background: linear-gradient(90deg, rgba(102,126,234,0.08) 0%, transparent 100%);
  border-radius: 8px;
}

.page-content p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #4a5568;
  font-size: 14.5px;
}

.page-content ul, .page-content ol {
  margin-left: 25px;
  margin-bottom: 18px;
}

.page-content li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: #4a5568;
  font-size: 14px;
  position: relative;
  padding-left: 5px;
}

.page-content li::marker {
  color: #ff6600;
  font-weight: bold;
}

/* --- Important Notice Block --- */

.important-notice {
  background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
  border: none;
  border-left: 5px solid #ff6600;
  padding: 25px 30px;
  margin: 30px 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255,102,0,0.15);
  position: relative;
  overflow: hidden;
}

.important-notice::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,102,0,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.important-notice h3 {
  color: #ff6600;
  margin: 0 0 12px 0;
  font-size: 17px;
  font-weight: 700;
  background: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.important-notice h3 i {
  font-size: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.important-notice p {
  color: #5a3e1b;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 500;
}

/* --- Policy Date --- */

.policy-date {
  color: #718096;
  font-style: italic;
  margin-bottom: 25px;
  font-size: 13px;
  display: inline-block;
  padding: 8px 16px;
  background: #edf2f7;
  border-radius: 20px;
}

/* --- Policy Highlight (Privacy Policy) --- */

.policy-highlight {
  background: linear-gradient(90deg, rgba(255,102,0,0.1) 0%, rgba(255,102,0,0.05) 100%);
  padding: 20px 25px;
  border-radius: 10px;
  margin: 20px 0;
  border-left: 4px solid #ff6600;
}

.policy-highlight strong {
  color: #ff6600;
}

/* --- Contact Box --- */

.contact-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 15px;
  margin: 30px 0;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.contact-box h2 {
  color: white;
  margin-top: 0;
  border: none;
  padding: 0;
}

.contact-box h2::before {
  display: none;
}

.contact-box p {
  color: rgba(255,255,255,0.95);
}

.contact-box ul {
  list-style: none;
  margin: 20px 0 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-box li {
  padding: 0;
  color: white;
  font-size: 15px;
}

.contact-box li::marker {
  content: none;
}

.contact-box i {
  margin-right: 8px;
  color: #ffd700;
}

/* --- Final Note (Privacy Policy) --- */

.final-note {
  margin-top: 40px;
  padding: 25px;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-radius: 12px;
  text-align: center;
  border: 2px solid #66bb6a;
}

.final-note strong {
  color: #2e7d32;
  font-size: 16px;
}

.final-note p {
  color: #1b5e20;
  margin-bottom: 0;
}

/* --- Final Agreement (Terms of Service) --- */

.final-agreement {
  margin-top: 40px;
  padding: 25px;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-radius: 12px;
  text-align: center;
  border: 2px solid #2196f3;
}

.final-agreement strong {
  color: #1565c0;
  font-size: 16px;
}

/* --- Responsive --- */

@media (max-width: 768px) {
  .page-content {
    padding: 30px 20px;
  }
  .page-content h1 {
    font-size: 28px;
  }
  .page-content h2 {
    font-size: 18px;
  }
  .contact-box ul {
    flex-direction: column;
    gap: 15px;
  }
}
