/* ALADDIN help pages — colors match iOS app (Storm Mesh + gold) */
:root {
  --storm-base: #070b14;
  --storm-deep: #0f172a;
  --storm-card: rgba(30, 41, 59, 0.88);
  --primary-blue: #2e5bff;
  --gold: #f59e0b;
  --gold-light: #f5c86e;
  --gold-dark: #d97706;
  --text: #f5f7fa;
  --text-muted: rgba(245, 247, 250, 0.72);
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(5, 11, 23, 0.45);
}

.help-page {
  min-height: 100vh;
  background: radial-gradient(ellipse 120% 80% at 20% 0%, rgba(46, 91, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 80% 60% at 90% 20%, rgba(245, 158, 11, 0.1), transparent 45%),
    linear-gradient(165deg, var(--storm-base) 0%, var(--storm-deep) 55%, #1e3a5f 100%);
  color: var(--text);
}

.help-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px clamp(20px, 5vw, 48px) 80px;
}

.help-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 24px;
}

.help-hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  margin: 0 0 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.help-hero p {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 640px;
}

.help-card {
  background: var(--storm-card);
  border: 1px solid rgba(245, 200, 110, 0.15);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 20px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.help-card > h1,
.help-card__title {
  font-size: clamp(28px, 5vw, 40px);
  margin: 0 0 20px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.help-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--gold-light);
}

.help-card h2:not(:first-of-type) {
  margin-top: 20px;
}

.help-card p, .help-card li {
  color: var(--text-muted);
  line-height: 1.65;
}

.help-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .help-grid--2 { grid-template-columns: repeat(2, 1fr); }
}

.help-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.help-pill--no { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.help-pill--app { background: rgba(46, 91, 255, 0.25); color: #93c5fd; }
.help-pill--web { background: rgba(245, 158, 11, 0.22); color: var(--gold-light); }

.help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.help-btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1208;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.help-btn--gold:hover { transform: translateY(-2px); }

.help-btn--ghost {
  background: transparent;
  border: 2px solid rgba(245, 200, 110, 0.4);
  color: var(--gold-light);
}

.help-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }

.help-steps li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.help-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1208;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-guide-tabs { display: flex; gap: 8px; margin: 16px 0; }
.cf-guide-tab {
  flex: 1; padding: 10px; border-radius: 10px; border: 1px solid rgba(245,200,110,0.25);
  background: rgba(255,255,255,0.05); color: var(--text-muted); font-weight: 600; cursor: pointer;
}
.cf-guide-tab--active {
  background: rgba(245,158,11,0.25); color: #fff; border-color: var(--gold);
}
.cf-mockup {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: start;
}
@media (max-width: 720px) { .cf-mockup { grid-template-columns: 1fr; } }
.cf-phone {
  margin: 0 auto; width: min(220px, 100%); border-radius: 28px; padding: 12px;
  background: #111827; border: 2px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
}
.cf-phone__screen {
  border-radius: 18px; background: #1f2937; padding: 14px 10px; min-height: 280px;
  font-size: 11px; line-height: 1.45;
}
.cf-menu-item {
  padding: 8px 10px; border-radius: 8px; margin-bottom: 6px;
  background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.75);
}
.cf-menu-item--hi {
  background: rgba(245,158,11,0.28); color: #fff; border: 1px solid var(--gold);
  animation: cf-pulse 1.8s ease-in-out infinite;
}
@keyframes cf-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.35); }
  50% { box-shadow: 0 0 0 6px rgba(245,158,11,0); }
}
.cf-caption { font-size: 13px; color: var(--text-muted); margin-top: 12px; }
