/* =========================================
   ABOUT - Инженерная минимал-эстетика
   Eye-comfort palette для 8-12 hour workdays
   ========================================= */

/* === RESET === */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* === BASE === */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--theme-bg-secondary);
  color: var(--theme-text-primary);
  letter-spacing: var(--theme-tracking-normal);
  line-height: var(--theme-leading-normal);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === CONTAINER === */
.poster-container {
  max-width: 880px;
  margin: 0 auto;
  background: var(--theme-bg-elevated);
  box-shadow: var(--theme-shadow-lg);
  min-height: 100vh;
}

/* === HEADER — minimal, flat, engineered === */
.header-section {
  padding: var(--theme-space-3xl) var(--theme-space-2xl);
  background: var(--theme-bg-primary);
  border-bottom: 1px solid var(--theme-border);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: var(--theme-space-md);
  margin-bottom: var(--theme-space-lg);
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--theme-accent-subtle);
  border-radius: var(--theme-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-accent);
  transition: background var(--theme-transition-fast);
}

.logo-icon:hover {
  background: var(--theme-accent);
  color: var(--theme-text-inverse);
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.75;
}

.logo-icon img {
  width: 24px;
  height: 24px;
}

.logo-text {
  font-size: var(--theme-text-3xl);
  font-weight: 600;
  letter-spacing: var(--theme-tracking-tight);
  color: var(--theme-text-primary);
  line-height: var(--theme-leading-tight);
}

.tagline {
  font-size: var(--theme-text-xl);
  font-weight: 400;
  color: var(--theme-text-secondary);
  margin-bottom: var(--theme-space-xl);
  letter-spacing: var(--theme-tracking-normal);
  line-height: var(--theme-leading-normal);
}

.header-description {
  font-size: var(--theme-text-base);
  color: var(--theme-text-secondary);
  line-height: var(--theme-leading-relaxed);
  max-width: 640px;
}

.hero-image {
  width: 100%;
  border-radius: var(--theme-radius-lg);
  overflow: hidden;
  box-shadow: var(--theme-shadow-md);
  margin-top: var(--theme-space-xl);
}

.hero-placeholder,
.solution-placeholder {
  background: var(--theme-bg-tertiary);
  color: var(--theme-text-tertiary);
  padding: var(--theme-space-3xl) var(--theme-space-xl);
  text-align: center;
  font-size: var(--theme-text-base);
  font-weight: 500;
  letter-spacing: var(--theme-tracking-wide);
  border: 1px solid var(--theme-border);
}

/* === TYPOGRAPHY — Inter modular scale === */
.block-title {
  font-size: var(--theme-text-2xl);
  font-weight: 600;
  letter-spacing: var(--theme-tracking-tight);
  color: var(--theme-text-primary);
  margin-bottom: var(--theme-space-md);
  line-height: var(--theme-leading-tight);
}

.block-title::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--theme-accent);
  margin-top: var(--theme-space-sm);
  border-radius: 1px;
}

.block-subtitle {
  font-size: var(--theme-text-base);
  font-weight: 400;
  color: var(--theme-text-secondary);
  margin-bottom: var(--theme-space-lg);
  letter-spacing: var(--theme-tracking-normal);
  line-height: var(--theme-leading-normal);
}

.block-text {
  font-size: var(--theme-text-sm);
  color: var(--theme-text-primary);
  line-height: var(--theme-leading-relaxed);
  margin-bottom: var(--theme-space-md);
  letter-spacing: var(--theme-tracking-normal);
}

/* === SECTIONS — generous air === */
.content-section {
  padding: var(--theme-space-2xl);
}

.content-section--alt {
  padding: var(--theme-space-2xl);
  background: var(--theme-bg-secondary);
  border-top: 1px solid var(--theme-border);
  border-bottom: 1px solid var(--theme-border);
}

/* === SCENARIO CARDS — refined, geometric === */
.scenarios-grid {
  display: flex;
  flex-direction: column;
  gap: var(--theme-space-md);
  margin: var(--theme-space-xl) 0;
}

.scenario-card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-left: 2px solid var(--theme-accent);
  border-radius: var(--theme-radius-md);
  padding: var(--theme-space-lg);
  transition: border-color var(--theme-transition-fast), box-shadow var(--theme-transition-fast);
}

.scenario-card:hover {
  border-left-color: var(--theme-accent-hover);
  box-shadow: var(--theme-shadow-sm);
}

.scenario-header {
  display: flex;
  align-items: center;
  gap: var(--theme-space-md);
  margin-bottom: var(--theme-space-sm);
}

.scenario-number {
  min-width: 24px;
  height: 24px;
  border-radius: var(--theme-radius-sm);
  background: var(--theme-accent);
  color: var(--theme-text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--theme-text-xs);
}

.scenario-title {
  font-weight: 600;
  font-size: var(--theme-text-sm);
  color: var(--theme-text-primary);
  letter-spacing: var(--theme-tracking-normal);
}

.scenario-content {
  padding-left: 36px;
}

.scenario-task {
  font-size: var(--theme-text-xs);
  color: var(--theme-text-tertiary);
  margin-bottom: var(--theme-space-xs);
  font-weight: 500;
  letter-spacing: var(--theme-tracking-wide);
}

.scenario-solution {
  font-size: var(--theme-text-sm);
  color: var(--theme-text-primary);
  line-height: var(--theme-leading-normal);
}

/* === PROBLEMS SECTION — semantic, muted === */
.problems-section {
  background: var(--theme-error-bg);
  padding: var(--theme-space-2xl);
  border-top: 1px solid var(--theme-error-border);
  border-bottom: 1px solid var(--theme-error-border);
}

.problems-section .block-title {
  color: var(--theme-error-text);
}

.problems-section .block-title::after {
  background: var(--theme-error-text);
}

.problems-section .block-text {
  color: var(--theme-text-primary);
}

.problems-list {
  margin: var(--theme-space-xl) 0;
}

.problem-item {
  background: var(--theme-surface);
  padding: var(--theme-space-lg);
  border-radius: var(--theme-radius-md);
  border: 1px solid var(--theme-border);
  margin-bottom: var(--theme-space-md);
}

.problem-item:last-child {
  margin-bottom: 0;
}

.problem-title {
  display: flex;
  align-items: center;
  gap: var(--theme-space-sm);
  font-weight: 600;
  font-size: var(--theme-text-sm);
  margin-bottom: var(--theme-space-sm);
  color: var(--theme-error-text);
}

.problem-title svg,
.problem-title img {
  width: 18px;
  height: 18px;
  stroke: var(--theme-error-text);
}

.problem-description {
  font-size: var(--theme-text-sm);
  line-height: var(--theme-leading-relaxed);
  color: var(--theme-text-secondary);
}

/* === SOLUTION SECTION === */
.solution-section {
  padding: var(--theme-space-2xl);
  background: var(--theme-bg-primary);
}

.solution-image {
  width: 100%;
  border-radius: var(--theme-radius-lg);
  overflow: hidden;
  box-shadow: var(--theme-shadow-md);
  margin: var(--theme-space-xl) 0;
}

/* === BENEFITS CARDS — refined === */
.benefits-grid {
  display: grid;
  gap: var(--theme-space-md);
  margin: var(--theme-space-xl) 0;
}

.benefit-card {
  background: var(--theme-surface-alt);
  padding: var(--theme-space-lg);
  border-radius: var(--theme-radius-md);
  border: 1px solid var(--theme-border);
  transition: border-color var(--theme-transition-fast), box-shadow var(--theme-transition-fast);
}

.benefit-card:hover {
  border-color: var(--theme-accent);
  box-shadow: var(--theme-shadow-sm);
}

.benefit-icon {
  width: 36px;
  height: 36px;
  background: var(--theme-accent-subtle);
  border-radius: var(--theme-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--theme-space-md);
  color: var(--theme-accent);
  transition: background var(--theme-transition-fast), color var(--theme-transition-fast);
}

.benefit-card:hover .benefit-icon {
  background: var(--theme-accent);
  color: var(--theme-text-inverse);
}

.benefit-icon svg,
.benefit-icon img {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}

.benefit-title {
  font-weight: 600;
  font-size: var(--theme-text-sm);
  color: var(--theme-text-primary);
  margin-bottom: var(--theme-space-xs);
  letter-spacing: var(--theme-tracking-normal);
}

.benefit-description {
  font-size: var(--theme-text-sm);
  color: var(--theme-text-secondary);
  line-height: var(--theme-leading-normal);
}

/* === EXPERTISE SECTION === */
.expertise-section {
  background: var(--theme-bg-secondary);
  padding: var(--theme-space-2xl);
  border-top: 1px solid var(--theme-border);
  border-bottom: 1px solid var(--theme-border);
}

.expertise-section .block-title {
  color: var(--theme-text-primary);
}

.expertise-section .block-title::after {
  background: var(--theme-accent);
}

.expertise-section .block-text {
  color: var(--theme-text-secondary);
}

.features-row {
  display: flex;
  gap: var(--theme-space-lg);
  margin: var(--theme-space-xl) 0;
}

.feature-item {
  flex: 1;
  text-align: center;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--theme-accent-subtle);
  border-radius: var(--theme-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--theme-space-md);
  color: var(--theme-accent);
  transition: background var(--theme-transition-fast), color var(--theme-transition-fast);
}

.feature-item:hover .feature-icon {
  background: var(--theme-accent);
  color: var(--theme-text-inverse);
}

.feature-icon svg,
.feature-icon img {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
}

.feature-title {
  font-weight: 600;
  font-size: var(--theme-text-sm);
  color: var(--theme-text-primary);
  margin-bottom: var(--theme-space-xs);
  letter-spacing: var(--theme-tracking-normal);
}

.feature-text {
  font-size: var(--theme-text-xs);
  color: var(--theme-text-secondary);
  line-height: var(--theme-leading-normal);
}

/* === FOOTER === */
.footer {
  background: var(--theme-bg-tertiary);
  padding: var(--theme-space-xl) var(--theme-space-2xl);
  text-align: center;
  color: var(--theme-text-secondary);
  border-top: 1px solid var(--theme-border);
}

.footer-slogan {
  font-size: var(--theme-text-base);
  font-weight: 500;
  color: var(--theme-text-primary);
  margin-bottom: var(--theme-space-xs);
  letter-spacing: var(--theme-tracking-normal);
}

.footer-text {
  font-size: var(--theme-text-xs);
  color: var(--theme-text-tertiary);
  letter-spacing: var(--theme-tracking-wide);
}

/* === HELPERS === */
.text-accent {
  color: var(--theme-accent-text);
  font-weight: 500;
}

.text-strong {
  font-weight: 600;
}

.warning-box {
  background: var(--theme-warning-bg);
  padding: var(--theme-space-lg);
  border-radius: var(--theme-radius-md);
  border-left: 2px solid var(--theme-warning-border);
  margin-top: var(--theme-space-lg);
}

.warning-box p {
  font-size: var(--theme-text-sm);
  color: var(--theme-warning-text);
  font-weight: 500;
}

.info-box {
  background: var(--theme-success-bg);
  padding: var(--theme-space-lg);
  border-radius: var(--theme-radius-md);
  border-left: 2px solid var(--theme-success-border);
  margin-top: var(--theme-space-lg);
}

.info-box p {
  font-size: var(--theme-text-sm);
  color: var(--theme-success-text);
  font-weight: 500;
}

.mt-32 {
  margin-top: var(--theme-space-xl);
}

/* === RESPONSIVE === */
@media (max-width: 880px) {
  .poster-container {
    max-width: 100%;
  }

  .header-section,
  .content-section,
  .content-section--alt,
  .problems-section,
  .solution-section,
  .expertise-section,
  .footer {
    padding: var(--theme-space-lg);
  }

  .features-row {
    flex-direction: column;
    gap: var(--theme-space-lg);
  }

  .logo-text {
    font-size: var(--theme-text-2xl);
  }

  .block-title {
    font-size: var(--theme-text-xl);
  }
}
