/* Landing v3 — App Store style product page. Standalone, no checkout/account state. */
:root {
  --v3-blue: #0088ff;
  --v3-header: #1a3365;
  --v3-label: #000;
  --v3-label-secondary: rgba(60, 60, 67, 0.6);
  --v3-meta: #8a8a8e;
  --v3-separator: rgba(60, 60, 67, 0.18);
  --v3-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: #fff;
  color: var(--v3-label);
  font-family: var(--v3-font);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.v3-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 402px;
  margin: 0 auto;
  min-height: 100vh;
  overflow: hidden;
}

/* Graphical header */
.v3-hero {
  flex: none;
  height: 200px;
  background: var(--v3-header);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v3-hero__icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.v3-hero__icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* App header */
.v3-app {
  display: flex;
  gap: 16px;
  padding: 20px;
  align-items: flex-start;
}

.v3-icon {
  flex: none;
  width: 118px;
  height: 118px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.v3-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

.v3-app__info {
  flex: 1;
  min-width: 0;
  max-width: 238px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v3-app__title {
  margin: 0;
  font-size: 22px;
  line-height: 26px;
  font-weight: 590;
  letter-spacing: -0.35px;
}

.v3-app__subtitle {
  margin: 3px 0 0;
  font-size: 15px;
  line-height: 20px;
  font-weight: 510;
  letter-spacing: -0.5px;
  color: var(--v3-label-secondary);
}

.v3-get {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 71px;
  height: 30px;
  border-radius: 100px;
  background: var(--v3-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.4px;
  text-decoration: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.v3-get:active { opacity: 0.8; }

/* Metadata (ratings / age / chart / developer) */
.v3-meta {
  margin: 0 0 0 20px;
  padding: 16px 0;
  border-top: 1px solid var(--v3-separator);
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  color: var(--v3-meta);
  text-align: center;
}

.v3-meta::-webkit-scrollbar { display: none; }

.v3-meta__item {
  flex: none;
  width: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 8px;
  border-left: 1px solid var(--v3-separator);
  white-space: nowrap;
}

.v3-meta__item:first-child { border-left: 0; padding-left: 0; }

.v3-meta__label {
  font-size: 10px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.v3-meta__value {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
}

.v3-meta__value small {
  font-size: 15px;
  font-weight: 600;
}

.v3-meta__sub {
  font-size: 12px;
  line-height: 16px;
}

.v3-stars {
  display: flex;
  gap: 1px;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0;
}

.v3-person {
  width: 26px;
  height: 26px;
}

/* Screenshots */
.v3-shots {
  display: flex;
  gap: 10px;
  padding: 0 20px 40px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.v3-shots::-webkit-scrollbar { display: none; }

.v3-shot {
  flex: none;
  width: 234px;
  height: 507px;
  border-radius: 26px;
  object-fit: cover;
  scroll-snap-align: start;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Ratings & reviews */
.v3-reviews { padding: 8px 20px 0; }

.v3-reviews__heading {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.v3-reviews__heading::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 0 2px 8px;
  border-top: 2.5px solid #8a8a8e;
  border-right: 2.5px solid #8a8a8e;
  transform: rotate(45deg);
}

.v3-reviews__summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 12px;
}

.v3-reviews__score {
  font-size: 64px;
  line-height: 64px;
  font-weight: 700;
  letter-spacing: -1px;
}

.v3-reviews__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding-bottom: 4px;
}

.v3-reviews__bigstars {
  font-size: 22px;
  line-height: 24px;
  letter-spacing: 2px;
}

.v3-reviews__count {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--v3-meta);
}

.v3-reviews__sub {
  margin: 24px 0 12px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}

.v3-review-list {
  display: flex;
  gap: 12px;
  padding: 4px 20px 48px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.v3-review-list::-webkit-scrollbar { display: none; }

.v3-review {
  flex: none;
  width: 300px;
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.09);
  scroll-snap-align: start;
}

.v3-review__title {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v3-review__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 13px;
  line-height: 18px;
  color: var(--v3-meta);
}

.v3-review__stars { color: #000; letter-spacing: 1px; }

.v3-review__text {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 20px;
  color: var(--v3-meta);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
