/* Shared UI primitives used by multiple pages */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', sans-serif;
  color: var(--color-text-primary);
  background: var(--color-bg-page);
  font-size: var(--text-body);
  line-height: var(--line-height-normal);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--button-height-lg);
  padding: 0 var(--button-padding-x);
  border-radius: var(--button-radius);
  font-weight: var(--button-font-weight);
  font-size: var(--text-body);
  transition: all var(--duration-fast) var(--easing-ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--button-primary-bg); color: var(--button-primary-text); }
.btn-primary:hover { background: var(--button-primary-bg-hover); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(216,31,38,0.25); }
.btn-primary:active { background: var(--button-primary-bg-active); transform: translateY(0); }
.btn-primary:disabled, .btn-primary.disabled { background: var(--color-neutral-300); color: var(--color-text-disabled); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-secondary { background: transparent; color: var(--button-secondary-text); border: var(--button-secondary-border); }
.btn-secondary:hover { background: var(--button-secondary-bg-hover); }
.btn-ghost-light { background: rgba(255,255,255,0.10); color: #fff; border: 1px solid rgba(255,255,255,0.30); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); }
.btn-sm { height: var(--button-height-sm); font-size: var(--text-body-sm); padding: 0 14px; }
.btn-lg { height: 56px; font-size: 17px; padding: 0 28px; }

.section { padding: var(--space-section-lg) 0; }
.section-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 9999px;
  margin-bottom: 14px;
}
.section-h2 {
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.section-sub {
  font-size: 17px;
  color: var(--color-text-secondary);
  max-width: 600px;
  line-height: 1.6;
  margin: 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 48px;
  gap: 32px;
}

.card { background: #fff; border: 1px solid var(--color-border-subtle); border-radius: 16px; }
.card-pad { padding: 32px; }

.store-badges { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  min-width: 220px;
  background: #000;
  color: #fff;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform var(--duration-fast);
}
.store:hover { transform: translateY(-2px); }
.store-image { padding: 0; min-width: 0; background: transparent; border: 0; }
.store-image img { display: block; height: 44px; width: auto; }
.store-appgallery {
  min-width: 220px;
  padding: 10px 16px;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}
.store-appgallery img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.store .small { font-size: 11px; opacity: 0.8; }
.store .big { font-size: 17px; font-weight: 600; }
.store-text .small { font-size: 12px; opacity: 0.72; }
.store-text .big { font-size: 16px; letter-spacing: 0.01em; }
