/* Переменные, взятые из дизайна вашего приложения */
:root {
  --background-color: #F6F4EB;
  --text-color: #3B3B38;
  --header-color: #000000;
  --primary-action-color: #34C759;
  --primary-action-text: #FFFFFF;
  /* ИЗМЕНЕНИЕ: Цвет ссылок теперь совпадает с цветом кнопки */
  --link-color: #34C759;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  margin: 0;
  padding: 0;
}

/* ... (остальной код CSS остается без изменений) ... */

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- Стили для главной страницы (index.html) --- */
.app-header {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
  text-align: center;
}

.logo {
  width: 100px;
  height: auto;
}

main {
  flex-grow: 1;
  text-align: center;
}

.main-title {
  color: var(--header-color);
  font-size: 42px;
  font-weight: 800;
  margin-top: 24px;
  margin-bottom: 8px;
}

.subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-color);
}

.cta-button {
  display: inline-block;
  width: 100%;
  max-width: 350px;
  padding: 14px 24px;
  background-color: var(--primary-action-color);
  color: var(--primary-action-text);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background-color: #2fb14f;
}

h2 {
    color: var(--header-color);
    font-size: 28px;
    font-weight: 700;
    margin-top: 60px;
    margin-bottom: 24px;
}

.instructions p {
    font-size: 16px;
    line-height: 1.6;
    margin: 8px 0;
}

.description {
    font-size: 16px;
    line-height: 1.7;
    margin-top: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.screenshots-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.screenshots-container img {
  width: 22%;
  flex-shrink: 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.app-footer {
  text-align: center;
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: #666;
}

.contact-links {
    margin-top: 16px;
}

.contact-links a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500; /* Делаем чуть жирнее, чтобы зеленый лучше читался */
}

.contact-links a:hover {
    text-decoration: underline;
}

.contact-links span {
    margin: 0 8px;
}


/* --- Стили для страницы Политики Конфиденциальности --- */
.page-header {
  width: 100%;
  margin-bottom: 24px;
}

.back-link {
  display: inline-block;
  font-weight: 700;
  color: var(--link-color);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.privacy-content {
  text-align: left;
}

.privacy-content h1 {
    font-size: 36px;
    text-align: left;
}

.privacy-content h2 {
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

.privacy-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--header-color);
}

.privacy-content p {
  line-height: 1.7;
  margin-bottom: 16px;
}

.privacy-content ul {
  list-style-position: outside;
  padding-left: 20px;
  margin-bottom: 24px;
}

.privacy-content li {
  line-height: 1.7;
  margin-bottom: 12px;
}

.privacy-content a {
    color: var(--link-color);
    font-weight: 500;
}

.privacy-content code {
  background-color: #e9e7dd;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', Courier, monospace;
}

.meta-info {
  font-size: 14px;
  color: #666;
  margin-bottom: 32px;
  background-color: #e9e7dd;
  padding: 16px;
  border-radius: 8px;
  text-align: left;
}

.meta-info p {
  margin: 0;
  line-height: 1.5;
}


/* --- Адаптивность --- */
@media (max-width: 900px) {
  .screenshots-container img {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .main-title, .privacy-content h1 {
    font-size: 32px;
  }
  .screenshots-container img {
    width: 90%;
  }
}