/* ======================================================
   FLEAP FLAPP — Privacy Policy (Dark-only styles)
   - Dark is the default (no toggles, no media queries)
   - Fonts loaded in HTML (Poppins, Playfair Display)
   ====================================================== */

:root {
  /* Vibrant brand accents for dark UI */
  --primary-color: #f40f3b;     /* pink-red */
  --primary-dark:  #6a4dff;     /* violet */
  --primary-light: #aa7bff;

  /* Dark surface + text */
  --secondary-color: #0f172a;   /* page background */
  --white: #0b1220;             /* card background */
  --black: #f8f9fa;             /* not used, kept for ref */
  --text-color: #e2e8f0;        /* main text */
  --text-light: #a0aec0;        /* muted text */

  --accent-color: #ffd700;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 12px;
  --section-spacing: 80px;
}

/* Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background: var(--secondary-color);
  line-height: 1.8;
  min-height: 100vh;
  transition: var(--transition);
}

/* Focus styles for a11y */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Header */
.privacy-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--text-color);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.privacy-header::before {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
  opacity: 0.1; z-index: 0;
}
.header-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 0 20px; }
.privacy-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700; margin-bottom: 20px;
  animation: fadeInDown 1s ease-out; line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.privacy-header p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 700px; margin: 0 auto; opacity: 0.9;
}

/* Main content card */
.privacy-container {
  max-width: 1000px;
  margin: -60px auto var(--section-spacing);
  padding: clamp(30px, 5vw, 60px);
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative; z-index: 1;
}

/* Contact Info banner */
.contact-info {
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.14), rgba(74, 20, 140, 0.14));
  padding: 20px; border-radius: var(--border-radius);
  margin-bottom: 40px; text-align: center; border-left: 4px solid var(--primary-color);
  backdrop-filter: blur(5px);
}
.contact-info p { margin: 0; color: var(--text-color); font-weight: 500; }
.contact-info a { color: var(--primary-color); text-decoration: none; transition: var(--transition); font-weight: 600; }
.contact-info a:hover { color: var(--primary-dark); text-decoration: underline; }

/* Sections */
.policy-section { margin-bottom: 40px; animation: fadeIn 0.6s ease-out; }
.policy-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  color: var(--primary-light);
  margin-bottom: 25px; position: relative; padding-bottom: 10px; line-height: 1.3;
}
.policy-section h2::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 80px; height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light)); border-radius: 2px;
}
.policy-section h3 {
  color: var(--primary-light);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  margin: 30px 0 15px; position: relative; padding-left: 25px;
}
.policy-section h3::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; background-color: var(--primary-color); border-radius: 50%;
}
.policy-section p,
.policy-section ul {
  color: var(--text-color); margin-bottom: 20px; font-size: clamp(1rem, 2vw, 1.1rem);
}
.policy-section ul { padding-left: 20px; list-style-type: none; }
.policy-section li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.policy-section li::before {
  content: '•'; position: absolute; left: 0; color: var(--primary-color);
  font-weight: bold; font-size: 1.5rem; line-height: 1;
}
.policy-section strong { color: var(--primary-light); font-weight: 600; }

/* Last Updated */
.last-updated {
  font-style: italic; color: var(--text-light);
  margin-bottom: 30px; text-align: center; font-size: 0.9rem;
}

/* Footer */
.privacy-footer {
  text-align: center;
  margin-top: var(--section-spacing);
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Floating Home Button (as link) */
.floating-btn {
  position: fixed; bottom: 30px; right: 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--text-color); border: none; border-radius: 50%;
  width: 60px; height: 60px; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(106,17,203,0.35);
  transition: var(--transition); z-index: 1000; animation: pulse 2s infinite;
}
.floating-btn:hover { transform: translateY(-5px) scale(1.1); box-shadow: 0 8px 25px rgba(106,17,203,0.45); }

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px);} to { opacity: 1; transform: translateY(0);} }
@keyframes fadeInDown { from { transform: translateY(-30px); opacity: 0;} to { transform: translateY(0); opacity: 1;} }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(106,17,203,0.45);} 70% { box-shadow: 0 0 0 15px rgba(106,17,203,0);} 100% { box-shadow: 0 0 0 0 rgba(106,17,203,0);} }

/* Responsive */
@media (max-width: 768px) {
  .privacy-header { padding: 100px 0 60px; clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); }
  .privacy-container { margin: -40px 20px var(--section-spacing); padding: 30px; }
  .floating-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 20px; }
}
@media (max-width: 480px) {
  :root { --section-spacing: 60px; }
  .privacy-header { padding: 80px 0 40px; }
  .contact-info { padding: 15px; }
  .policy-section li { padding-left: 25px; }
}
