/* ═══════════════════════════════════════════════════════════
   INFINITE IT — APP & PRIVACY POLICY DOCUMENT DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════ */

:root {
  --policy-bg: #f8fafc;
  --policy-card-bg: rgba(255, 255, 255, 0.94);
  --policy-text: #0f172a;
  --policy-muted: #475569;
  --policy-accent: #1268ff;
  --policy-accent-glow: rgba(18, 104, 255, 0.15);
  --policy-border: rgba(15, 23, 42, 0.09);
  --policy-radius: 22px;
}

body {
  font-family: var(--font-b, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  line-height: 1.68;
  color: var(--policy-text);
  background: #f4f7fc;
  margin: 0;
  padding: 0;
}

.privacy-page-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* Document Hero Header */
.privacy-doc-header {
  background: var(--policy-card-bg);
  border: 1px solid var(--policy-border);
  border-radius: var(--policy-radius);
  padding: clamp(28px, 5vw, 44px);
  margin-bottom: 28px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
}

.privacy-doc-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1268ff 0%, #7c3aed 50%, #10b981 100%);
}

.privacy-doc-header h1 {
  font-family: var(--font-h, -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--policy-text);
  margin: 12px 0 16px;
  line-height: 1.2;
}

.privacy-eyebrow {
  color: #1268ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-intro {
  color: var(--policy-muted);
  font-size: 1.02rem;
  margin: 0 0 12px;
}

.privacy-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.privacy-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 104, 255, 0.08);
  color: var(--policy-accent);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(18, 104, 255, 0.18);
}

.privacy-meta-badge::before {
  content: "•";
  font-size: 1.2rem;
  color: #10b981;
}

/* Document Sections */
.privacy-section-card {
  background: var(--policy-card-bg);
  border: 1px solid var(--policy-border);
  border-radius: var(--policy-radius);
  padding: clamp(24px, 4vw, 36px);
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.privacy-section-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.privacy-section-card h2 {
  font-family: var(--font-h, sans-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  color: var(--policy-text);
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.privacy-section-card h3 {
  font-family: var(--font-h, sans-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 20px;
  margin-bottom: 10px;
}

.privacy-section-card p {
  color: var(--policy-muted);
  font-size: clamp(0.95rem, 1.1vw, 1.02rem);
  margin-bottom: 14px;
  line-height: 1.7;
}

.privacy-section-card p:last-child {
  margin-bottom: 0;
}

.privacy-section-card ul {
  margin: 12px 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.privacy-section-card li {
  position: relative;
  padding-left: 28px;
  color: var(--policy-muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.privacy-section-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(18, 104, 255, 0.1);
  color: var(--policy-accent);
  font-size: 0.72rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

code {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.88em;
  background: rgba(18, 104, 255, 0.08);
  color: #0f52ba;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(18, 104, 255, 0.15);
}

a {
  color: var(--policy-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

a:hover {
  color: #0b49b8;
  text-decoration: underline;
}

.back-to-apps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--policy-accent);
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  margin-bottom: 20px;
  padding: 8px 16px;
  background: rgba(18, 104, 255, 0.08);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.back-to-apps:hover {
  background: rgba(18, 104, 255, 0.16);
  transform: translateX(-3px);
  text-decoration: none;
}

@media (max-width: 640px) {
  .privacy-page-wrap {
    padding: 20px 14px 60px;
  }
  .privacy-doc-header,
  .privacy-section-card {
    padding: 20px 18px;
    border-radius: 16px;
  }
}
