:root {
  --bg: #eef2f6;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #17202a;
  --muted: #667085;
  --line: #e4e7ec;
  --green: #0f9d58;
  --green-soft: #e8f5ee;
  --blue: #155eef;
  --blue-soft: #e9f2ff;
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(21, 94, 239, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 157, 88, 0.08), transparent 22%),
    var(--bg);
  color: var(--text);
}

button,
a {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.topbar {
  max-width: var(--max);
  margin: 28px auto 18px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-inline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-inline-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  background: white;
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 0.82rem;
  color: var(--muted);
}

.brand-inline h1 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 700;
}

.top-install-btn,
.install-btn,
.secondary-btn {
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.top-install-btn,
.install-btn {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 20px rgba(15, 157, 88, 0.2);
}

.top-install-btn:hover,
.install-btn:hover,
.secondary-btn:hover,
.vote-btn:hover,
.menu-dots:hover {
  transform: translateY(-1px);
}

.top-install-btn {
  padding: 12px 20px;
  font-weight: 700;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 36px;
}

.hero-card,
.content-card,
.footer {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.hero-card,
.content-card {
  border-radius: var(--radius-xl);
}

.hero-card {
  padding: 32px;
  margin-bottom: 18px;
}

.app-main {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 28px;
  align-items: start;
}

.app-logo {
  width: 168px;
  height: 168px;
  border-radius: 36px;
  object-fit: cover;
  background: white;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.publisher {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 600;
}

.app-title {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.08;
}

.app-subtitle {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 1rem;
  max-width: 680px;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

.badge.verified {
  background: var(--green-soft);
  color: var(--green);
  border-color: #cae7d7;
}

.stats-row {
  display: flex;
  align-items: stretch;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.stat-item {
  min-width: 132px;
}

.stat-item strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.stat-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.divider {
  width: 1px;
  background: var(--line);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.install-btn,
.secondary-btn {
  min-width: 150px;
  padding: 14px 24px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.secondary-btn {
  background: var(--blue-soft);
  color: var(--blue);
}

.install-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.content-card {
  padding: 28px;
  margin-bottom: 18px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-header h3 {
  margin: 0;
  font-size: 1.4rem;
}

.body-text {
  margin: 0 0 12px;
  color: #475467;
  line-height: 1.7;
}

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

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.feature-card h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.info-item {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.info-item span {
  display: block;
  color: var(--muted);
  font-size: 0.87rem;
  margin-bottom: 8px;
}

.info-item strong {
  font-size: 1rem;
}

.reviews-head {
  align-items: baseline;
}

.reviews-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.rating-summary-box {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  margin-bottom: 22px;
}

.score-number {
  font-size: 4rem;
  line-height: 0.95;
  font-weight: 700;
}

.score-stars {
  margin-top: 8px;
  color: var(--green);
  letter-spacing: 1px;
}

.score-count {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.bar-row {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  align-items: center;
}

.bar-row span {
  font-size: 0.92rem;
}

.bar-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #dde2e8;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--green);
}

.reviews-list {
  display: grid;
  gap: 16px;
}

.review-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: white;
}

.review-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.avatar-blue { background: #4a6cf7; }
.avatar-gray { background: #90a4ae; }
.avatar-cyan { background: #1f8ef1; }
.avatar-green { background: #22a06b; }

.review-author-block h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.review-meta {
  color: var(--green);
  font-size: 0.9rem;
}

.review-meta span {
  color: var(--muted);
}

.menu-dots {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.review-card p {
  margin: 0 0 14px;
  color: #344054;
  line-height: 1.7;
}

.review-footer-text {
  color: var(--muted);
  font-size: 0.88rem;
}

.review-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.review-actions span {
  color: var(--muted);
  font-size: 0.9rem;
}

.vote-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.vote-btn.is-active {
  background: var(--green-soft);
  border-color: #cfe7d7;
  color: var(--green);
}

.footer {
  max-width: var(--max);
  margin: 0 auto 28px;
  padding: 20px;
  border-radius: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 0.93rem;
}

@media (max-width: 900px) {
  .app-main,
  .rating-summary-box,
  .info-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .app-logo {
    width: 132px;
    height: 132px;
  }

  .divider {
    display: none;
  }

  .stats-row {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .topbar,
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .topbar {
    margin-top: 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card,
  .content-card,
  .footer {
    border-radius: 22px;
  }

  .hero-card,
  .content-card {
    padding: 20px;
  }

  .app-title {
    font-size: 1.8rem;
  }

  .review-top {
    grid-template-columns: auto 1fr;
  }

  .menu-dots {
    display: none;
  }

  .top-install-btn,
  .install-btn,
  .secondary-btn {
    width: 100%;
  }

  .cta-row {
    flex-direction: column;
  }
}


