

/* privacy.css
   Modern, clean styles for the Privacy Policy page.
   Save as: wwwroot/css/privacy.css (or your desired path)
*/



/* === Base === */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, var(--bg), #ffffff 60%);
  font-family: var(--font-family-system);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}

/* If you want Persian fonts and RTL, uncomment these two lines and ensure the font is loaded */
/* body { font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif; direction: rtl; } */
/* @import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700&display=swap'); */

.page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 16px;
}

/* === Card / Container === */


/* header / title */
.container header { margin-bottom: 6px; }

.container h1 {
  margin: 0 0 10px 0;
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.05;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* lead paragraph under h1 */
.lede {
  margin: 8px 0 20px 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* section headings */
.container h2 {
  font-size: 18px;
  margin: 28px 0 10px;
  color: var(--text);
  font-weight: 600;
  position: relative;
}

/* small visual underline for headings */
.container h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 56px;
  margin-top: 10px;
  background: linear-gradient(90deg, rgba(79,70,229,0.14), rgba(124,58,237,0.14));
  border-radius: 3px;
}

/* paragraphs */
.container p {
  margin: 0 0 16px 0;
  color: var(--muted-2);
  font-size: 16.5px;
}

/* strong */
.container strong {
  color: var(--text);
  font-weight: 700;
}

/* contact box (applies to <p class="contact">) */
.contact {
  display: inline-block;
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(79,70,229,0.035), rgba(124,58,237,0.03));
  border-radius: 10px;
  border: 1px solid rgba(79,70,229,0.06);
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 16px;
}

/* email link style */
.container a.email {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  word-break: break-all;
}

.container a.email:hover,
.container a.email:focus {
  text-decoration: underline;
}

/* spacer */
.spacer { height: 60px; }

/* small screens */
@media (max-width: 720px) {
  :root { --container-padding: 22px; --radius: 12px; }
  .container {
    margin: 28px 18px;
    padding: var(--container-padding);
    border-radius: 12px;
  }
  .container h1 { font-size: 22px; }
  .container h2 { font-size: 16px; margin-top: 20px; }
  .container p { font-size: 15px; }
  .contact { width: 100%; padding: 12px; }
}

/* accessibility / focus outlines for keyboard users */
.container a:focus {
  outline: 3px solid rgba(99,102,241,0.18);
  outline-offset: 3px;
  border-radius: 6px;
}

/* print-friendly adjustments */
@media print {
  body { background: #fff; color: #000; }
  .container { box-shadow: none; border: none; max-width: 100%; padding: 0; margin: 0; border-radius: 0; }
  .spacer { display: none; }
}