* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  font-family: Arial, sans-serif;
  color: #211f1a;

  background:
    radial-gradient(circle at top left, rgba(151, 104, 25, 0.12), transparent 34%),
    linear-gradient(135deg, #f7f1e8 0%, #efe4d4 100%);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;

  width: 100%;
  padding: 28px 5vw;

  display: flex;
  justify-content: flex-start;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;
  padding: 0 18px;

  color: #4a3f32;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(91, 74, 52, 0.15);
  border-radius: 999px;

  font-size: 14px;
  font-weight: 700;
  text-decoration: none;

  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(80, 55, 20, 0.08);
}

.back-link:hover {
  background: #ffffff;
}

main {
  overflow: hidden;
}

.hero {
  min-height: 100vh;
  padding: 125px 5vw 90px;

  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  align-items: center;
  gap: 64px;
}

.hero-copy {
  max-width: 740px;
}

.app-icon {
  display: block;
  width: 116px;
  height: 116px;
  margin-bottom: 28px;

  border-radius: 28px;
  box-shadow:
    0 18px 42px rgba(104, 74, 32, 0.18),
    0 0 0 1px rgba(93, 73, 42, 0.08);
}

.eyebrow,
.section-label {
  margin: 0 0 16px;

  color: #8a650d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 22px;

  color: #181612;
  font-size: clamp(48px, 8vw, 86px);
  line-height: 0.98;
  letter-spacing: -3px;
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 0 34px;

  color: #50483d;
  font-size: clamp(21px, 3vw, 31px);
  line-height: 1.45;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;
  padding: 0 24px;

  color: #ffffff;
  background: #8d6506;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;

  font-size: 15px;
  font-weight: 800;
  text-decoration: none;

  box-shadow: 0 16px 34px rgba(141, 101, 6, 0.18);
}

.store-button:hover {
  background: #765404;
}

.store-button.disabled {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.store-note {
  margin: 16px 0 0;

  color: #766d61;
  font-size: 13px;
  line-height: 1.6;
}

.hero-phone {
  position: relative;
  justify-self: center;
}

.hero-phone::before {
  content: "";

  position: absolute;
  inset: 7% -8% 3% -8%;
  z-index: 0;

  background: rgba(141, 101, 6, 0.18);
  border-radius: 42px;
  filter: blur(50px);
}

.hero-phone img {
  position: relative;
  z-index: 1;

  display: block;
  width: min(620px, 42vw);
  height: auto;

  border-radius: 34px;
  box-shadow:
    0 34px 80px rgba(75, 49, 18, 0.22),
    0 0 0 1px rgba(80, 55, 20, 0.08);
}

.section-container {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.description-section,
.audience-section {
  padding: 105px 5vw;
  background: rgba(255, 255, 255, 0.48);
}

.text-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: start;
}

h2 {
  margin: 0;

  color: #211f1a;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: -1.8px;
}

.rich-text p,
.download-box p {
  margin: 0 0 22px;

  color: #5d554b;
  font-size: 18px;
  line-height: 1.8;
}

.rich-text p:last-child,
.download-box p:last-child {
  margin-bottom: 0;
}

.features-section {
  padding: 105px 5vw;

  background:
    radial-gradient(circle at 80% 20%, rgba(151, 104, 25, 0.13), transparent 32%),
    #f7f1e8;
}

.features-section > .section-container > h2 {
  max-width: 800px;
  margin: 0 0 58px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;

  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(91, 74, 52, 0.13);
  border-radius: 28px;

  box-shadow:
    0 18px 42px rgba(80, 55, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.feature-card h3 {
  margin: 0 0 14px;

  color: #2a261f;
  font-size: 22px;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;

  color: #635b51;
  font-size: 16px;
  line-height: 1.7;
}

.screenshots-section {
  padding: 105px 5vw;
  background: #efe4d4;
}

.screenshots-section h2 {
  max-width: 800px;
  margin: 0 0 58px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.screenshots-grid img {
  display: block;
  width: 100%;
  height: auto;

  border-radius: 28px;
  box-shadow:
    0 24px 58px rgba(75, 49, 18, 0.18),
    0 0 0 1px rgba(80, 55, 20, 0.08);
}

.download-section {
  padding: 105px 5vw;

  background:
    radial-gradient(circle at 50% 0%, rgba(151, 104, 25, 0.15), transparent 35%),
    #f7f1e8;
}

.download-box {
  padding: 50px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;

  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(91, 74, 52, 0.13);
  border-radius: 34px;

  box-shadow:
    0 26px 70px rgba(80, 55, 20, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.download-box h2 {
  margin-bottom: 18px;
}

.site-footer {
  padding: 28px 24px;

  color: #81786d;
  background: #e7dac8;

  font-size: 13px;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.store-badge-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.store-badge-link img {
  display: block;
  height: 54px;
  width: auto;
}

.download-stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.download-store-card {
  padding: 24px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;

  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(91, 74, 52, 0.13);
  border-radius: 28px;

  box-shadow:
    0 18px 42px rgba(80, 55, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.qr-code {
  display: block;
  width: 180px;
  height: 180px;

  padding: 12px;

  background: #ffffff;
  border-radius: 18px;

  box-shadow: 0 12px 28px rgba(80, 55, 20, 0.12);
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 52px;
    text-align: center;
  }

  .hero-copy {
    margin: 0 auto;
  }

  .app-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .store-badges {
    justify-content: center;
  } 

  .text-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screenshots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-box .store-actions {
    justify-content: center;
  }
   .download-stores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}



@media (max-width: 700px) {
  .site-header {
    padding: 20px 18px;
  }

  .hero {
    padding: 105px 18px 70px;
  }

  .hero-phone img {
    width: min(330px, 88vw);
    border-radius: 28px;
  }

  .description-section,
  .features-section,
  .screenshots-section,
  .audience-section,
  .download-section {
    padding: 78px 18px;
  }

  .features-grid,
  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 28px;
  }

  .download-box {
    padding: 34px 26px;
  }

  .store-actions {
    flex-direction: column;
  }

  .store-button {
    width: 100%;
  }
    .store-badges {
    justify-content: center;
  }

  .store-badge-link img {
    height: 48px;
  }

  .download-stores {
    grid-template-columns: 1fr;
  }

  .qr-code {
    width: 170px;
    height: 170px;
  }
}