/* Music Player — shared hosting styles (privacy / terms / support / landing) */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0812;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.58);
  --text-subtle: rgba(255, 255, 255, 0.35);
  --purple: #a855f7;
  --cyan: #22d3ee;
  --gold: #fbbf24;
  --red: #ef4444;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(168, 85, 247, 0.18), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(34, 211, 238, 0.12), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.top-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), #db2777);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3);
}

.brand h1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand p {
  font-size: 12px;
  color: var(--text-subtle);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  margin-top: 2px;
}

nav.primary {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}

nav.primary a {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.18s ease;
}

nav.primary a:hover,
nav.primary a.active {
  color: var(--text);
  background: var(--bg-card);
}

.hero {
  margin-bottom: 40px;
}

.hero h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: linear-gradient(120deg, #fff 0%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.hero p.lead {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 640px;
}

.hero .meta {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-subtle);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
}

.card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}

.card p, .card li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.card ul {
  padding-left: 18px;
}

.card a { color: var(--cyan); }
.card a:hover { text-decoration: underline; }

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 4px;
}

.pill {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pill.cyan { background: rgba(34, 211, 238, 0.12); color: var(--cyan); }
.pill.gold { background: rgba(251, 191, 36, 0.15); color: var(--gold); }
.pill.red { background: rgba(239, 68, 68, 0.12); color: var(--red); }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.tier {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.tier .name { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.tier .price { font-size: 24px; font-weight: 800; margin-top: 4px; }
.tier .price span { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.tier .features { font-size: 12px; color: var(--text-muted); margin-top: 10px; line-height: 1.75; }
.tier.gold { border-color: rgba(251, 191, 36, 0.35); }
.tier.gold .name { color: var(--gold); }

footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px 20px 48px;
  font-size: 12px;
  color: var(--text-subtle);
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 6px;
}
footer a:hover { color: var(--text); }

hr.sep {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

/* FAQ collapsibles */
details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 10px;
}
details summary {
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.2s;
}
details[open] summary::after { content: "−"; }
details p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

/* RTL arabic variants */
html[dir="rtl"] { font-family: "SF Arabic", "Geeza Pro", var(--font); }
html[dir="rtl"] .container { direction: rtl; }
html[dir="rtl"] nav.primary { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .card ul { padding-left: 0; padding-right: 18px; }

@media (max-width: 600px) {
  .container { padding: 28px 18px 72px; }
  .hero h2 { font-size: 26px; }
  nav.primary { width: 100%; margin-left: 0; }
}
