* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #222222;
  background: #ffffff;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: #1f2937;
  color: #ffffff;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.site-title {
  font-size: 26px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
}

.site-nav a:hover {
  text-decoration: underline;
}

.hero {
  background: #f3f4f6;
  border-bottom: 1px solid #dddddd;
}

.hero-inner {
  padding: 24px 0;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.hero h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.hero-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 8px 14px;
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
}

.button:hover {
  background: #1d4ed8;
}

.button-secondary {
  background: #4b5563;
}

.button-secondary:hover {
  background: #374151;
}

.hero-text {
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.apps-section {
  padding: 24px 0 32px 0;
}

.section-heading {
  margin-bottom: 14px;
}

.section-heading h2 {
  margin: 0 0 4px 0;
  font-size: 18px;
  white-space: nowrap;
}

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

.app-card {
  border: 1px solid #dddddd;
  padding: 6px;
  background: #ffffff;
}

.image-link {
  display: block;
  text-decoration: none;
}

.app-image-wrap {
  position: relative;
  height: 340px; /* INCREASED HEIGHT */
  overflow: hidden;
}

.app-image-wrap > img:not(.card-qr) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-qr {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 64px;
  height: 64px;
  background: #ffffff;
  padding: 3px;
  border: 1px solid #cccccc;
  border-radius: 6px;
}

.tab-qr-bottom {
  display: block;
  width: 64px;
  height: 64px;
  margin: 6px auto 0 auto;
}

.app-card h3 {
  margin: 0 0 2px 0;
  font-size: 14px;
}

.app-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
}

@media (max-width: 1100px) {
  .hero-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .app-image-wrap {
    height: 280px;
  }
}