/* ============================================
   PAGES STYLES (About, Privacy, Disclaimer) - Pro Compressor
   ============================================ */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-primary-dark: #0f0f12;
  --bg-secondary-dark: #1a1a1f;
  --bg-tertiary-dark: #252530;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-primary-dark: #f9fafb;
  --text-secondary-dark: #9ca3af;
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --border-color: #e2e8f0;
  --border-color-dark: #2d2d35;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-primary: var(--bg-primary-dark);
  --bg-secondary: var(--bg-secondary-dark);
  --bg-tertiary: var(--bg-tertiary-dark);
  --text-primary: var(--text-primary-dark);
  --text-secondary: var(--text-secondary-dark);
  --border-color: var(--border-color-dark);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  transition: var(--transition-smooth);
  padding-top: 70px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Page Header */
.page-header {
  padding: 60px 24px 40px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-header__container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-header__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.page-header__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* Page Content */
.page-content {
  padding: 60px 24px;
  flex: 1;
  transition: var(--transition-smooth);
}

.page-content__container {
  max-width: 800px;
  margin: 0 auto;
}

/* Content Card */
.content-card {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

@media (max-width: 640px) {
  .content-card {
    padding: 28px 24px;
  }
}

/* Typography */
.content-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 16px;
  letter-spacing: -0.01em;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 0 12px;
}

.content-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

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

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

.content-card li {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.7;
}

.content-card li:last-child {
  margin-bottom: 0;
}

.content-card strong {
  color: var(--text-primary);
  font-weight: 600;
}

.content-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.content-card a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.feature-list__item:last-child {
  border-bottom: none;
}

.feature-list__icon {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list__text {
  flex: 1;
}

.feature-list__title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.feature-list__description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* Info Box */
.info-box {
  background: rgba(59, 130, 246, 0.08);
  border-left: 4px solid var(--primary-color);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.info-box__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-box__icon {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
}

.info-box p {
  margin: 0;
  font-size: 0.9375rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.stat-box {
  text-align: center;
  padding: 24px;
  background: var(--bg-primary);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.stat-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.stat-box__value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.stat-box__label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.team-member {
  text-align: center;
  padding: 28px 24px;
  background: var(--bg-primary);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.team-member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-member__avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.team-member__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.team-member__role {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Privacy Policy Specific */
.policy-section {
  margin-bottom: 32px;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
}

/* Disclaimer Specific */
.disclaimer-notice {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.disclaimer-notice__title {
  font-size: 1rem;
  font-weight: 600;
  color: #d97706;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.disclaimer-notice__icon {
  width: 20px;
  height: 20px;
}

.disclaimer-notice p {
  margin: 0;
  color: #92400e;
}

[data-theme="dark"] .disclaimer-notice {
  background: rgba(245, 158, 11, 0.15);
}

[data-theme="dark"] .disclaimer-notice p {
  color: #fbbf24;
}

/* Last Updated */
.last-updated {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 640px) {
  .page-header {
    padding: 48px 20px 32px;
  }

  .page-content {
    padding: 40px 20px;
  }

  .content-card h2 {
    font-size: 1.375rem;
  }

  .content-card h3 {
    font-size: 1.125rem;
  }

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

  .stat-box {
    padding: 20px 16px;
  }

  .stat-box__value {
    font-size: 1.5rem;
  }
}
