/* LabelMonitor Landing Page Styles */

/* Reset and Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #1043b3;
  --color-primary-dark: #1d4ed8;
  --color-pharma-blue: #1d4ed8;
  --color-accent: #1043b3;
  --color-accent-hover: #1d4ed8;
  --color-teal: #0d9488;
  --color-teal-hover: #0f766e;
  --color-background: #ffffff;
  --color-text: #1a1a2e;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-destructive: #dc2626;
  --color-surface: #f8fafc;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --border-radius: 8px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05), 0 1px 2px -1px rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6, p {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--color-text-muted);
}

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

a:hover {
  color: var(--color-accent-hover);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.logo-img {
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-text);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: #1d4ed8;
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

.btn-white {
  background: white;
  color: var(--color-primary);
  font-weight: 600;
}

.btn-white:hover {
  background: var(--color-surface);
  color: var(--color-primary);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  padding: 120px 0 48px;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-background) 100%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-primary);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero h1 {
  margin-bottom: 16px;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Trust Metrics Section */
.trust-section {
  padding: 36px 0;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-card {
  text-align: center;
  padding: 24px 20px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.metric-label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-primary);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 16px;
}

/* Features Section */
.features {
  padding: 56px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9375rem;
}

/* How It Works Section */
.how-it-works {
  padding: 56px 0;
  background: var(--color-surface);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 36px;
}

.step {
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.step h3 {
  margin-bottom: 12px;
}

/* Security & Compliance Section */
.security-section {
  padding: 56px 0;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.security-card {
  padding: 32px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.security-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.security-icon {
  width: 48px;
  height: 48px;
  background: rgba(13, 148, 136, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.security-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-teal);
}

.security-card h3 {
  margin-bottom: 12px;
}

.security-card p {
  font-size: 0.9375rem;
}

/* Target Audiences Section */
.audiences-section {
  padding: 56px 0;
  background: var(--color-surface);
}

.audiences-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.audience-card {
  padding: 32px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.audience-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.audience-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.audience-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.audience-card h3 {
  margin-bottom: 12px;
}

.audience-card p {
  font-size: 0.9375rem;
}

/* FAQ Section */
.faq-section {
  padding: 56px 0;
  background: var(--color-background);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question span {
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* CTA Banner Section */
.cta-banner {
  padding: 56px 0;
  background: var(--color-surface);
}

.cta-card {
  text-align: center;
  padding: 40px 32px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1d4ed8 100%);
  border-radius: 16px;
  color: white;
}

.cta-card h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-email {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.cta-email a {
  color: white;
  font-weight: 500;
  text-decoration: underline;
}

.cta-email a:hover {
  color: white;
}

/* Footer */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-background);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.trust-badge svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.footer-disclaimer {
  max-width: 600px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.footer-disclaimer a {
  color: var(--color-text-muted);
  text-decoration: underline;
}

.footer-copyright {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Cookie Toast Notification */
.cookie-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
  z-index: 1002;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-toast.visible {
  opacity: 1;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  color: white;
  padding: 20px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  margin: 0;
}

.cookie-text a {
  color: var(--color-accent);
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-accept {
  background: white;
  color: var(--color-primary);
}

.cookie-btn-accept:hover {
  background: var(--color-surface);
}

.cookie-btn-manage {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-manage:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-reject {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
}

.cookie-btn-reject:hover {
  color: white;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: 20px;
}

.cookie-modal.visible {
  display: flex;
}

.cookie-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-header {
  padding: 24px 24px 0;
}

.cookie-modal-header h3 {
  margin-bottom: 8px;
}

.cookie-modal-header p {
  font-size: 0.9375rem;
}

.cookie-modal-body {
  padding: 24px;
}

.cookie-category {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cookie-category-header h4 {
  font-size: 0.9375rem;
  font-weight: 600;
}

.cookie-category p {
  font-size: 0.8125rem;
}

/* Toggle Switch */
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--color-border);
  border-radius: 24px;
  transition: 0.2s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
}

.toggle input:checked + .toggle-slider {
  background: var(--color-primary);
}

.toggle input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

.toggle input:disabled + .toggle-slider {
  background: var(--color-text-muted);
  cursor: not-allowed;
}

.cookie-modal-footer {
  padding: 16px 24px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Privacy Page Styles */
.privacy-page {
  padding-top: 100px;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 100px;
}

.privacy-content h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.privacy-content .last-updated {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 48px;
}

.privacy-content h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.privacy-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.privacy-content h3 {
  font-size: 1.125rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.privacy-content p {
  margin-bottom: 16px;
  color: var(--color-text);
}

.privacy-content ul, .privacy-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.privacy-content li {
  margin-bottom: 8px;
  color: var(--color-text);
}

.privacy-content strong {
  font-weight: 600;
}

.contact-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  margin-top: 24px;
}

.contact-box p {
  margin-bottom: 8px;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

/* Cookie Settings in Privacy Page */
.cookie-settings {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  margin-top: 24px;
}

.cookie-settings h4 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.cookie-settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.cookie-settings-item:last-child {
  border-bottom: none;
}

.cookie-settings-item label {
  font-weight: 500;
}

.cookie-settings-item span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 100px 0 36px;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .nav-links {
    display: none;
  }

  .trust-section {
    padding: 24px 0;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .metric-card {
    padding: 24px 16px;
  }

  .metric-value {
    font-size: 1.5rem;
  }

  .features,
  .how-it-works,
  .security-section,
  .audiences-section,
  .faq-section,
  .cta-banner {
    padding: 40px 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .feature-card {
    padding: 24px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .security-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .security-card {
    padding: 24px;
  }

  .audiences-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .audience-card {
    padding: 24px;
  }

  .faq-question {
    font-size: 1rem;
    padding: 20px 0;
  }

  .cta-card {
    padding: 48px 24px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .header-cta {
    display: none;
  }

  .footer-badges {
    gap: 12px;
  }

  .trust-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .privacy-content h1 {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .features-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .btn-large {
    padding: 14px 24px;
  }

  .footer-links {
    gap: 16px;
  }
}
