/* ==========================================================================
   PRIVACY POLICY PAGE STYLES
   Privacy page with privacy- prefix
   ========================================================================== */

/* --------------------------------------------------------------------------
   Privacy Hero
   -------------------------------------------------------------------------- */
.privacy-hero {
  position: relative;
  background: var(--midnight-black);
  padding: 6rem 1.5rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

/* Decorative SVG Background */
.privacy-hero-decor {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.privacy-hero-decor svg {
  width: 100%;
  height: 100%;
  stroke: var(--text-primary);
}

[data-theme="light"] .privacy-hero-decor {
  opacity: 0.06;
}

.privacy-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 2px;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--harrigan-gold);
  margin-bottom: 1.5rem;
}

.privacy-badge svg {
  width: 16px;
  height: 16px;
  stroke: var(--harrigan-gold);
  fill: none;
}

.privacy-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.privacy-hero-description {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
}

.privacy-hero-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.privacy-hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.privacy-hero-meta svg {
  width: 16px;
  height: 16px;
  stroke: var(--harrigan-gold);
  fill: none;
}

/* --------------------------------------------------------------------------
   Privacy Content Layout
   -------------------------------------------------------------------------- */
.privacy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* --------------------------------------------------------------------------
   Table of Contents (uses content-toc from content.css as base)
   -------------------------------------------------------------------------- */
.privacy-toc {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.privacy-toc-title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--harrigan-gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.privacy-toc-title svg {
  width: 18px;
  height: 18px;
  stroke: var(--harrigan-gold);
  fill: none;
}

.privacy-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
}

.privacy-toc-list li {
  position: relative;
  padding-left: 1.25rem;
}

.privacy-toc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--harrigan-gold);
  transform: rotate(45deg);
}

.privacy-toc-list a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.privacy-toc-list a:hover {
  color: var(--harrigan-gold);
}

/* --------------------------------------------------------------------------
   Policy Sections (page-specific section layout)
   -------------------------------------------------------------------------- */
.privacy-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.privacy-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.privacy-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.privacy-section-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--harrigan-gold);
  flex-shrink: 0;
}

.privacy-section h2 {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin: 0;
}

.privacy-section h3 {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.5rem 0 1rem;
}

/* Section content inherits from content.css via .content class */
.privacy-section p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

.privacy-section ul,
.privacy-section ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.privacy-section li {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.privacy-section li:last-child {
  margin-bottom: 0;
}

.privacy-section a {
  color: var(--harrigan-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-section a:hover {
  color: #D4B84A;
}

.privacy-section strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Highlight Box
   -------------------------------------------------------------------------- */
.privacy-highlight {
  background: rgba(201, 162, 39, 0.08);
  border-left: 4px solid var(--harrigan-gold);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}

.privacy-highlight p {
  margin: 0;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Data Table
   -------------------------------------------------------------------------- */
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.privacy-table th,
.privacy-table td {
  padding: 1rem;
  text-align: left;
  border: 1px solid var(--border-color);
}

.privacy-table th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
}

.privacy-table td {
  color: var(--text-secondary);
}

.privacy-table tr:hover td {
  background: rgba(201, 162, 39, 0.03);
}

/* --------------------------------------------------------------------------
   Contact Box
   -------------------------------------------------------------------------- */
.privacy-contact {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.privacy-contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 50%;
}

.privacy-contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--harrigan-gold);
  fill: none;
}

.privacy-contact h3 {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.privacy-contact p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.privacy-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headline);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--harrigan-gold);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--harrigan-gold);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.privacy-contact-link:hover {
  background: var(--harrigan-gold);
  color: var(--midnight-black);
}

.privacy-contact-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .privacy-hero {
    padding: 5rem 1rem 3rem;
  }

  .privacy-hero-decor {
    width: 350px;
    height: 350px;
  }

  .privacy-hero-meta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .privacy-content {
    padding: 2.5rem 1rem;
  }

  .privacy-toc {
    padding: 1.5rem;
  }

  .privacy-toc-list {
    grid-template-columns: 1fr;
  }

  .privacy-section-header {
    flex-wrap: wrap;
  }

  .privacy-section h2 {
    font-size: 1.25rem;
  }

  .privacy-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .privacy-hero {
    padding: 4.5rem 1rem 2.5rem;
  }

  .privacy-hero h1 {
    font-size: 2rem;
  }

  .privacy-hero-description {
    font-size: 1.1rem;
  }

  .privacy-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .privacy-section-number {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   Light Theme Overrides
   -------------------------------------------------------------------------- */
[data-theme="light"] .privacy-hero {
  background: var(--bg-tertiary);
}

[data-theme="light"] .privacy-highlight {
  background: rgba(166, 136, 32, 0.1);
}

[data-theme="light"] .privacy-table tr:hover td {
  background: rgba(166, 136, 32, 0.05);
}
