/* ===== PressPrompt landing — dark theme, RTL ===== */
:root {
  --bg: #0f0f16;
  --bg-alt: #15151f;
  --card: #1a1a26;
  --border: #33334a;
  --text: #eef0f8;      /* near-white body text */
  --muted: #b4b6cc;     /* brighter grey — clearly readable on dark */
  --accent: #6d86ff;    /* button background */
  --accent2: #b06bff;   /* gradient partner */
  --link: #9db4ff;      /* clear, legible link/highlight color */
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Tahoma, "Noto Kufi Arabic", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Links keep their intended color — never the browser default blue/purple.
   A plain `a` rule (author origin) already overrides the UA :visited style. */
a { color: inherit; text-decoration: none; }

.container { width: min(1100px, 92%); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.skip {
  position: absolute; inset-inline-start: -999px; top: 0; background: var(--accent);
  color: #fff; padding: 8px 14px; border-radius: 0 0 8px 8px; z-index: 100;
}
.skip:focus { inset-inline-start: 0; }

.lang-link,
.lang-link:link,
.lang-link:visited { color: var(--text) !important; border: 1px solid var(--border); border-radius: 8px; padding: 5px 12px !important; }
.lang-link:hover { color: #fff !important; border-color: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 11px 20px; border-radius: 10px; text-decoration: none;
  font-weight: 700; transition: transform .12s ease, box-shadow .12s ease;
  border: 0; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(90,120,255,.35); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { box-shadow: none; border-color: var(--accent); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,15,22,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 20px; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav nav a:hover { color: var(--text); }

/* ===== Hero ===== */
.hero { padding: 72px 0 56px; background: radial-gradient(1000px 500px at 80% -10%, rgba(147,51,234,.18), transparent), var(--bg); }
.hero-inner { display: flex; align-items: center; gap: 40px; }
.hero-text { flex: 1; }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); line-height: 1.25; margin-bottom: 18px; }
.lead { font-size: 1.15rem; color: #cfcfe0; margin-bottom: 24px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-art { flex-shrink: 0; filter: drop-shadow(0 20px 50px rgba(90,120,255,.35)); }
.hero-art img { max-width: 100%; height: auto; }

/* ===== Sections ===== */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); text-align: center; margin-bottom: 36px; }

/* ===== Feature grid ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: border-color .15s ease, transform .15s ease; }
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.card p { color: var(--muted); }

/* ===== Steps ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: step; }
.steps li { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.steps .num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: 14px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); }
kbd { background: #23233a; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; font-family: inherit; font-size: .9em; }

/* ===== Screenshots ===== */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.shot { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .15s ease, border-color .15s ease; }
.shot:hover { transform: translateY(-3px); border-color: var(--accent); }
.shot img { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--border); }
.shot figcaption { padding: 12px 16px; color: var(--muted); font-size: .95rem; }

/* ===== FAQ ===== */
details { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; margin-bottom: 12px; }
details summary { cursor: pointer; font-weight: 700; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "＋"; color: var(--accent); margin-inline-start: 8px; font-weight: 800; }
details[open] summary::before { content: "－"; }
details p { color: var(--muted); margin-top: 10px; }

/* ===== Legal / help sub-pages ===== */
.legal { padding-top: 12px; }
.legal h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.legal h2 { font-size: 1.2rem; margin: 26px 0 8px; color: #c7cbff; }
.legal p { color: var(--muted); margin-bottom: 12px; }
.legal ol, .legal ul { color: var(--muted); margin: 0 0 12px; padding-inline-start: 22px; }
.legal li { margin-bottom: 6px; }
.legal code { background: #23233a; border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; font-size: .9em; }
.legal a { color: var(--link); }
.legal a:hover { text-decoration: underline; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 26px 0; background: var(--bg-alt); }
.footer-col { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; align-items: center; }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .hero-inner { flex-direction: column-reverse; text-align: center; }
  .cta { justify-content: center; }
  .nav nav a:not(.btn) { display: none; }
}
