.install-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.install-hero {
  text-align: center;
  background: linear-gradient(160deg, #eff6ff 0%, #ffffff 70%);
  border: 1px solid #dbeafe;
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 10px 40px rgba(21, 101, 192, 0.08);
}

.install-app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(21, 101, 192, 0.25);
  margin-bottom: 1.25rem;
}

.install-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.install-subtitle {
  color: #475569;
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 1.75rem;
}

.install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #1565C0;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.9rem 2.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.3);
  transition: background 0.2s, transform 0.15s;
}
.install-btn:hover { background: #0d47a1; color: #fff; transform: translateY(-1px); }

.install-note {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0.9rem 0 0;
}

.install-success,
.install-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 520px;
  margin: 0 auto 1.25rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}
.install-success { background: #ecfdf5; color: #047857; }
.install-warning { background: #fff7ed; color: #9a3412; text-align: start; }

.install-link-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 460px;
  margin: 0.75rem auto 0;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 50px;
  padding: 0.35rem;
  padding-inline-start: 1rem;
}
.install-link-box span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #334155;
  font-size: 0.9rem;
}
.install-copy {
  background: #1565C0;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.install-guides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.install-guide {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.5rem;
}
.install-guide h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.install-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: start;
}
.install-panel .install-steps { max-width: 460px; margin: 0 auto; }
.install-steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: #334155;
}
.install-steps li + li { border-top: 1px dashed #e2e8f0; }
.step-num {
  flex: 0 0 30px;
  height: 30px;
  border-radius: 50%;
  background: #eff6ff;
  color: #1565C0;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step-icon { color: #1565C0; margin-inline-start: 0.35rem; }

.install-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.install-benefit {
  text-align: center;
  padding: 1.25rem 1rem;
}
.install-benefit i {
  font-size: 1.4rem;
  color: #1565C0;
  background: #eff6ff;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.install-benefit h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 0.35rem; }
.install-benefit p { font-size: 0.9rem; color: #64748b; margin: 0; }

.install-page [data-panel] { display: none; }
.install-page[data-state="manual"] [data-panel="ios"],
.install-page[data-state="manual"] [data-panel="android"],
.install-page[data-state="desktop"] [data-panel="ios"],
.install-page[data-state="desktop"] [data-panel="android"],
.install-page[data-state="desktop"] [data-panel="desktop"],
.install-page[data-state="ios"] [data-panel="ios"],
.install-page[data-state="android"] [data-panel="android"],
.install-page[data-state="prompt"] [data-panel="prompt"],
.install-page[data-state="installed"] [data-panel="installed"],
.install-page[data-state="inapp"] [data-panel="inapp"] { display: block; }

.install-page[data-state="ios"] .install-guides,
.install-page[data-state="android"] .install-guides { grid-template-columns: minmax(0, 560px); justify-content: center; }

.install-page[data-state="inapp"] [data-platform] { display: none; }
.install-page[data-platform="android"] [data-platform="android"] { display: inline-flex; }
.install-page[data-platform="ios"] [data-platform="ios"] { display: block; }
