@import "tailwindcss";

:root {
  /* Beauty-inspired light palette */
  --background: #fff8fc;
  --foreground: #16141a;
  --primary: #ef58a6; /* Pink highlight */
  --secondary: #ac6aff; /* Lavender */
  --accent: #ffeaf1; /* Pink blush */
  --muted: #ebdffd; /* Pale lavender */
  --success: #7adb78; /* Soft green */
  --warning: #ffc876; /* Peach */
  --border: #f3e6f2; /* Light pink border */
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-primary: var(--primary);
  --color-secondary: var(--secondary);
  --color-accent: var(--accent);
  --color-muted: var(--muted);
  --color-success: var(--success);
  --color-warning: var(--warning);
  --color-border: var(--border);
  --font-sans: var(--font-base);
  --font-serif: var(--font-heading);
}

/* Base styles */
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-base), -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-feature-settings: "ss01", "ss02";
  line-height: 1.6;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection styling */
::selection {
  background: var(--primary);
  color: white;
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--muted);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.animate-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Policy */

/* Policy Content Styles */
.policy-content {
  color: #374151;
  line-height: 1.75;
}

.policy-content h1,
.policy-content h2 {
  color: #1f2937;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.policy-content h1 {
  font-size: 2.25rem;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.75rem;
}

.policy-content h2 {
  font-size: 1.875rem;
}

.policy-content h3 {
  color: #374151;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 1rem;
}

.policy-content h4 {
  color: #4b5563;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.policy-content p {
  margin-bottom: 1.25rem;
  color: #4b5563;
}

.policy-content ul,
.policy-content ol {
  margin: 1.25rem 0;
  padding-left: 2rem;
  color: #4b5563;
}

.policy-content li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.policy-content strong {
  color: #1f2937;
  font-weight: 600;
}

.policy-content a {
  color: #3b82f6;
  text-decoration: underline;
  font-weight: 500;
}

.policy-content a:hover {
  color: #1d4ed8;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .policy-content h1 {
    font-size: 1.875rem;
  }

  .policy-content h2 {
    font-size: 1.5rem;
  }

  .policy-content h3 {
    font-size: 1.25rem;
  }

  .policy-content ul,
  .policy-content ol {
    padding-left: 1.5rem;
  }
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth scroll behavior */
.scroll-smooth {
  scroll-behavior: smooth;
}

/* Snap scrolling for better UX */
@supports (scroll-snap-type: x mandatory) {
  .snap-x {
    scroll-snap-type: x mandatory;
  }

  .snap-center {
    scroll-snap-align: center;
  }
}
