/* -----------------------------------
   GLOBAL
----------------------------------- */
:root {
  --bg: #f3f4f8;
  --surface: #ffffffee;
  --card: #ffffffd8;
  --text: #1d1d2c;
  --muted: #6b6b7c;
  --accent: #3b82f6;
  --border: rgba(0,0,0,0.1);

  --radius: 20px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* -----------------------------------
   CONTAINER
----------------------------------- */
.container {
  width: 100%;
  padding: 0 40px;
  margin: 0 auto;
}

/* -----------------------------------
   HEADER
----------------------------------- */
.header {
  backdrop-filter: blur(12px);
  background: #ffffffaa;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
}

.nav a {
  margin-left: 28px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  opacity: 0.8;
  transition: 0.25s;
}

.nav a:hover {
  opacity: 1;
  color: var(--accent);
}

/* -----------------------------------
   HERO
----------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 26px;
  max-width: 800px;
  margin: 0 auto;
  color: var(--muted);
}

/* -----------------------------------
   SECTIONS
----------------------------------- */
.section {
  padding: 80px 0;
}

.section.simple-china {
  padding: 40px 0; /* уменьшенные отступы для блока Simple China */
}

.section-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 16px;
}

.section-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
}

/* -----------------------------------
   GRID + CARDS
----------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ровно 2 карточки на строку */
  gap: 32px;
  justify-content: center; /* центрируем сетку */
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .grid {
    grid-template-columns: 1fr; /* на маленьких экранах 1 колонка */
  }
}

.card {
  background: linear-gradient(145deg, #ffffff, #f9f9ff);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transition: 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  background: linear-gradient(145deg, #ffffff, #f0f4ff);
}

.card h3 {
  margin: 0 0 14px;
  font-size: 28px;
  color: var(--accent);
  position: relative;
  padding-bottom: 6px;
}

.card h3::after {
  content: "";
  display: block;
  width: 45px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 4px;
}

.card p {
  margin: 0;
  font-size: 20px;
  color: var(--muted);
  line-height: 1.7;
  transition: color 0.3s ease, transform 0.3s ease;
}

.card:hover p {
  color: #4b5563;
  transform: translateY(-2px);
}

/* -----------------------------------
   APK BLOCK
----------------------------------- */
.apk-section {
  text-align: center;
  max-width: 750px;
  margin: 80px auto;
}

.apk-section h2 {
  font-size: 36px;
}

.apk-box {
  background: var(--surface);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  font-size: 20px;
  color: #4b5563;
  margin-top: 20px;
  box-shadow: var(--shadow);
}

/* --- новое --- */
.apk-button {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 32px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 14px;
  transition: 0.25s ease;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.apk-button:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.45);
}

.apk-note {
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
}

/* -----------------------------------
   SUPPORT BLOCK
----------------------------------- */
.support {
  padding: 80px 0;
  text-align: center;
}

.support-wrap {
  max-width: 950px;
  margin: 0 auto;
}

.image-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.image-row img {
  width: 320px;
  height: 160px;
  object-fit: contain;
  border-radius: 12px;
  background: white;
  padding: 12px;
  box-shadow: var(--shadow);
}

.support-text {
  max-width: 950px;
  margin: 0 auto;
  font-size: 20px;
  color: var(--muted);
  line-height: 1.8;
}

/* --- новое --- */
.fasie {
  display: flex;
  justify-content: center;  /* центрирует ссылку по горизонтали */
  height: 50px;           /* высота контейнера */
}

/* --- новый комментарий --- */

.support-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 480;
}

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

/* -----------------------------------
   CONTACTS
----------------------------------- */
.contact {
  text-align: center;
  margin-top: 40px;
}

.contact a {
  color: var(--accent);
  text-decoration: none;
  font-size: 20px;
}

/* -----------------------------------
   FOOTER
----------------------------------- */
.footer {
  padding: 32px 0;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
}

/* -----------------------------------
   ANIMATION
----------------------------------- */
.fade-in {
  animation: fade 0.7s ease forwards;
  opacity: 0;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* -----------------------------------
   MOBILE
----------------------------------- */
@media (max-width: 900px) {

  .hero-title {
    font-size: 48px;
  }

  .hero-sub {
    font-size: 22px;
  }

  .nav { display: none; }

  .image-row img {
    width: 240px;
    height: 140px;
  }

  .card {
    padding: 24px;
  }
}
