/* ===== Auxiliary Pages — pages.css ===== */
/* Used by: about.html, privacy.html, terms.html, cookie.html */

/* ===== Page Hero ===== */
.page-hero {
  background: var(--bg-dark);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 25% 40%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 75% 60%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius);
  padding: var(--spacing-xs) var(--spacing);
  margin-bottom: var(--spacing-lg);
}

.page-hero-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
}

.page-hero h1 {
  color: white;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing);
  background: linear-gradient(135deg, white 0%, #E2E8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-lead {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  line-height: 1.7;
}

/* ===== Page Content Area ===== */
.page-content {
  padding: var(--spacing-3xl) 0;
}

.page-content--empty {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border);
}

/* ===== About: Content Blocks ===== */
.about-block {
  padding: var(--spacing-3xl) 0;
  border-bottom: 1px solid var(--border);
}

.about-block:last-child {
  border-bottom: none;
}

.about-block--light {
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.about-grid--reverse {
  direction: rtl;
}

.about-grid--reverse > * {
  direction: ltr;
}

.about-text .section-label {
  display: inline-flex;
  margin-bottom: var(--spacing);
}

.about-text h2 {
  margin-bottom: var(--spacing);
  color: var(--primary);
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--spacing);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-visual {
  aspect-ratio: 5/4;
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.about-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.about-photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.about-photo img,
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.2);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  color: white;
}

.value-card h4 {
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}

.value-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Policy Pages ===== */
.policy-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.policy-wrap p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing);
  line-height: 1.7;
}

.policy-wrap h2 {
  color: var(--primary);
  margin-top: var(--spacing-2xl);
  margin-bottom: var(--spacing);
}

.policy-wrap h3 {
  color: var(--primary);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-sm);
}

.policy-wrap ul {
  margin: var(--spacing) 0;
  padding-left: var(--spacing-lg);
}

.policy-wrap li {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
  list-style: disc;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .page-hero { 
    padding: var(--spacing-3xl) 0 var(--spacing-2xl); 
  }
  
  .page-content { 
    padding: var(--spacing-2xl) 0; 
  }
  
  .about-block { 
    padding: var(--spacing-2xl) 0; 
  }
  
  .about-grid { 
    grid-template-columns: 1fr; 
    gap: var(--spacing-xl); 
  }
  
  .about-grid--reverse { 
    direction: ltr; 
  }
  
  .about-visual {
    aspect-ratio: 16/9;
    min-height: 200px;
  }
  
  .about-values { 
    grid-template-columns: 1fr; 
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  
  .page-hero-lead {
    font-size: 1rem;
  }
}