:root {
  --bg: #0b0f14;
  --panel: #121821;
  --accent: #16a34a;
  --text: #e6edf3;
  --muted: #8b98a5;
  --border: #1f2937;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.ph-watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  max-width: 80vw;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.ph-header, #app, .ph-footer { position: relative; z-index: 1; }

.ph-header {
  padding: 32px 20px 8px;
  text-align: center;
}
.ph-header h1 { margin: 0 0 6px; font-size: 24px; }
.ph-subtitle { margin: 0; color: var(--muted); font-size: 14px; }

#app { flex: 1; padding: 20px; max-width: 640px; margin: 0 auto; width: 100%; }

.ph-step { display: none; }
.ph-step.active { display: block; }

.ph-step h2 { font-size: 16px; color: var(--muted); margin-bottom: 16px; }

.ph-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 480px) {
  .ph-cards { grid-template-columns: repeat(3, 1fr); }
}

.ph-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 10px;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color 0.15s ease;
}
.ph-card:hover, .ph-card:focus { border-color: var(--accent); }
.ph-card.selected { border-color: var(--accent); background: #132018; }

.ph-price { font-size: 18px; font-weight: 700; }
.ph-tier-label { color: var(--muted); font-size: 13px; }

.ph-back {
  margin-top: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  padding: 8px 0;
}
.ph-back:hover { color: var(--text); }

.ph-review {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  font-size: 15px;
}

.ph-detail {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.ph-cta {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 14px;
  border-radius: 10px;
}
.ph-cta:hover { opacity: 0.92; }

.ph-footer {
  text-align: center;
  padding: 20px 16px 24px;
  border-top: 1px solid var(--border);
}

.ph-supported-label {
  color: #5f6a75;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.ph-brand-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.ph-brand-strip img {
  height: 22px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.ph-brand-strip img:hover { opacity: 1; }

.ph-brand-strip img.ph-logo-light {
  background: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  height: 18px;
}
