/* Page Stylesheet: Data Privacy */
/* All class names are cleanly scoped with 'privacy-' prefix to prevent CSS conflicts */

body {
  background-color: #ffffff !important;
  font-family: "Celias", "Inter", system-ui, -apple-system, sans-serif;
  color: #1e293b;
}

.privacy-page-body {
  background-color: #ffffff;
  font-family: "Celias", "Inter", system-ui, -apple-system, sans-serif;
  color: #1e293b;
  line-height: 1.6;
}

.privacy-page-body h1,
.privacy-page-body h2,
.privacy-page-body h3,
.privacy-page-body h4,
.privacy-page-body h5,
.privacy-page-body h6,
.privacy-hero-title,
.privacy-section-title {
  font-family: "Celias", "Inter", system-ui, sans-serif !important;
}

/* Premium Dark Hero Header */
.privacy-hero-section {
  background: linear-gradient(135deg, #1e1b4b 0%, #2f116f 50%, #431407 100%);
  color: #ffffff;
  padding: 4.5rem 1.5rem 5.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.privacy-hero-section::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.privacy-hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.privacy-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1052px;
  margin: 0 auto;
}

.privacy-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e0e7ff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.privacy-hero-title {
  font-size: clamp(2.1rem, 1.6rem + 2.5vw, 3.25rem);
  line-height: 1.18;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.privacy-hero-subtitle {
  font-size: clamp(1.05rem, 0.98rem + 0.5vw, 1.25rem);
  color: #cbd5e1;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.privacy-hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.privacy-btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  color: #ffffff !important;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
  transition: all 0.25s ease;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.privacy-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.55);
  color: #ffffff !important;
}

.privacy-btn-outline {
  background: transparent;
  color: #ffffff !important;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.privacy-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff !important;
}

/* Main Content Container */
.privacy-main-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Content Cards */
.privacy-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.privacy-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}

.privacy-section-title {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  color: #0f172a;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.privacy-section-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  margin-top: -0.5rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.privacy-prose p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1.25rem;
}

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

.privacy-prose strong {
  color: #0f172a;
  font-weight: 600;
}

/* 4 Core Pillars Grid */
.privacy-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .privacy-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.privacy-pillar-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.privacy-pillar-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.privacy-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ede9fe;
  color: #6d28d9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.privacy-pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

.privacy-pillar-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 0;
}

/* Privacy & AI Highlight Callout */
.privacy-ai-highlight {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 2px solid #c4b5fd;
  border-radius: 18px;
  padding: 2rem;
  margin: 1.75rem 0;
  position: relative;
}

.privacy-ai-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #7c3aed;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.privacy-ai-highlight h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #2e1065;
  margin-bottom: 0.75rem;
}

.privacy-ai-highlight p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4c1d95;
  margin-bottom: 0;
}

/* Workflow Step Visualizer */
.privacy-workflow-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  margin: 2rem 0;
  overflow-x: auto;
}

.privacy-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 110px;
}

.privacy-step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #7c3aed;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.privacy-step-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.privacy-step-arrow {
  color: #94a3b8;
  font-size: 1.25rem;
  font-weight: bold;
  flex-shrink: 0;
}

/* Lifecycle Security Grid (7 Stages) */
.privacy-lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.privacy-lifecycle-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s ease;
}

.privacy-lifecycle-card:hover {
  background: #f5f3ff;
  border-color: #c4b5fd;
  transform: translateY(-2px);
}

.privacy-check-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.privacy-lifecycle-text {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}

/* Callout Box for You Stay in Control */
.privacy-control-box {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #dbeafe;
  border-left: 4px solid #3b82f6;
  border-radius: 14px;
  padding: 1.75rem;
  margin-top: 1.5rem;
}

.privacy-control-box p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #1e3a8a;
}

.privacy-control-box a {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-control-box a:hover {
  color: #1e40af;
}

/* Developer REST API Strip */
.privacy-api-strip {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border: 1px solid #334155;
  border-radius: 18px;
  padding: 2.25rem;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

@media (max-width: 768px) {
  .privacy-api-strip {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
  }
}

.privacy-api-strip .api-strip-badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.25);
  color: #c4b5fd;
  border: 1px solid rgba(124, 58, 237, 0.5);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 0.75rem;
}

.privacy-api-strip h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.privacy-api-strip p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  max-width: 580px;
}

.privacy-api-strip .api-strip-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .privacy-api-strip .api-strip-actions {
    justify-content: center;
    margin-top: 1rem;
  }
}

.privacy-btn-api-docs {
  background: #7c3aed;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.privacy-btn-api-docs:hover {
  background: #6d28d9;
  transform: translateY(-2px);
}

.privacy-btn-api-sub {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.privacy-btn-api-sub:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Call to Action Box */
.privacy-cta-box {
  background: linear-gradient(135deg, #2f116f 0%, #1e1b4b 60%, #0f172a 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  margin: 3rem 0;
  box-shadow: 0 20px 40px rgba(47, 17, 111, 0.25);
  position: relative;
  overflow: hidden;
}

.privacy-cta-box::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 120%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.privacy-cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.privacy-cta-box h3 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.privacy-cta-box p {
  font-size: 1.1rem;
  color: #e0e7ff;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* FAQ Section */
.privacy-faq-accordion {
  margin-top: 1.75rem;
}

.privacy-faq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.privacy-faq-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.privacy-faq-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  user-select: none;
}

.privacy-faq-icon {
  font-size: 1.3rem;
  color: #7c3aed;
  transition: transform 0.25s ease;
  font-weight: 400;
}

.privacy-faq-body {
  padding: 0 24px 22px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #475569;
}

@media (max-width: 640px) {
  .privacy-card,
  .privacy-cta-box {
    padding: 1.75rem 1.25rem;
  }
}
