/* Sara Beauty — Privacy Policy */
:root {
  --primary: #4f385d;
  --primary-soft: #7a5f8a;
  --lavender: #d1c4e9;
  --wash: #dccbe2;
  --mist: #f3eaf7;
  --canvas: #faf7fc;
  --ink: #1c0f2e;
  --muted: #6b6b6b;
  --line: rgba(79, 56, 93, 0.12);
  --surface: #ffffff;
  --shadow: 0 18px 50px rgba(79, 56, 93, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1120px;
  --font-display: "Fraunces", "Cairo", Georgia, serif;
  --font-body: "Cairo", "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(220, 203, 226, 0.75), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(209, 196, 233, 0.55), transparent 55%),
    linear-gradient(180deg, var(--mist) 0%, var(--canvas) 38%, #fff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(79, 56, 93, 0.04) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 60%, rgba(79, 56, 93, 0.035) 0 1px, transparent 1.5px);
  background-size: 28px 28px, 36px 36px;
  z-index: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--primary-soft);
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(250, 247, 252, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(79, 56, 93, 0.18);
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
}

.brand-tag {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition: 180ms var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.85);
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 200ms var(--ease);
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-soft));
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 56, 93, 0.28);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary);
  border: 1px solid var(--line);
}

.page-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  position: relative;
  z-index: 1;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.info-card,
.link-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.info-card h2,
.link-card h2 {
  margin: 0 0 0.65rem;
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 800;
}

.info-card p,
.link-card p,
.info-card li {
  color: #3a2b46;
}

.info-card ul {
  margin: 0.4rem 0 0;
  padding-inline-start: 1.2rem;
}

.link-card {
  text-decoration: none;
  color: inherit;
  transition: 200ms var(--ease);
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 56, 93, 0.25);
}

.hero-simple,
.hero-marketing {
  align-items: center;
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(79, 56, 93, 0.06);
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: 220ms var(--ease);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(79, 56, 93, 0.25);
}

.hero {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: end;
}

.hero-copy {
  animation: rise 700ms var(--ease) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-soft);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
}

[dir="rtl"] .eyebrow::before {
  background: linear-gradient(270deg, var(--primary), transparent);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 650;
  line-height: 1.1;
  color: var(--primary);
  letter-spacing: -0.02em;
}

[lang="ar"] .hero h1,
[dir="rtl"] .hero h1 {
  font-family: "Cairo", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-lead {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-visual {
  justify-self: end;
  width: min(100%, 280px);
  animation: float-in 900ms var(--ease) both;
}

.logo-panel {
  position: relative;
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(243, 234, 247, 0.9));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: gentle-float 7s ease-in-out infinite;
}

.logo-panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% 30%;
  height: 70%;
  background: radial-gradient(circle, rgba(220, 203, 226, 0.7), transparent 70%);
  pointer-events: none;
}

.logo-panel img.wordmark {
  width: 120px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 20px rgba(79, 56, 93, 0.15));
}

.logo-caption {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.layout {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}

.toc {
  position: sticky;
  top: 88px;
  padding: 1.1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.toc h2 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 800;
}

[dir="rtl"] .toc h2 {
  text-transform: none;
  letter-spacing: 0;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.toc a {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 180ms var(--ease);
}

.toc a:hover,
.toc a[aria-current="true"] {
  background: var(--mist);
  color: var(--primary);
}

.content {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  animation: rise 800ms 80ms var(--ease) both;
}

.content section {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.content section:first-of-type {
  padding-top: 0.25rem;
}

.content section:last-of-type {
  border-bottom: 0;
  padding-bottom: 0.25rem;
}

.content h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 800;
  font-family: var(--font-display);
}

[lang="ar"] .content h2,
[dir="rtl"] .content h2 {
  font-family: "Cairo", sans-serif;
}

.content h3 {
  margin: 1.1rem 0 0.45rem;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 800;
}

.content p,
.content li {
  color: #3a2b46;
}

.content ul {
  margin: 0.5rem 0 0;
  padding-inline-start: 1.25rem;
}

.content li + li {
  margin-top: 0.35rem;
}

.callout {
  margin: 1rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(243, 234, 247, 0.95), rgba(255, 255, 255, 0.9));
  border: 1px solid var(--line);
}

.callout strong {
  color: var(--primary);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1rem;
}

.info-tile {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--canvas);
  border: 1px solid var(--line);
}

.info-tile h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.info-tile p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(243, 234, 247, 0.65));
  padding: 2.5rem 1.25rem 3rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 36rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.lang-panel[hidden] {
  display: none !important;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gentle-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-copy,
  .hero-visual,
  .content,
  .logo-panel,
  .lang-switch button {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2.4rem;
  }

  .hero-visual {
    justify-self: start;
    width: min(100%, 220px);
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: relative;
    top: 0;
  }

  .toc ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .grid-2,
  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand-tag {
    display: none;
  }

  .toc ol {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .header-inner {
    flex-wrap: wrap;
  }
}
