:root {
  --navy: #0e2340;
  --navy-2: #16345c;
  --gold: #c9a24b;
  --teal: #1f8a70;
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #1c2733;
  --muted: #5b6b7c;
  --border: #dde5ee;
  --danger: #b3402e;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1420;
    --card: #142238;
    --text: #e8eef5;
    --muted: #9db0c3;
    --border: #24374f;
    --navy: #142238;
    --navy-2: #0b1420;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Arabic", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.container { max-width: 780px; margin: 0 auto; padding: 0 1.25rem; }
.hidden { display: none !important; }

.site-header { background: var(--navy); color: #fff; }
.header-row { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 1.25rem; }
.brand { font-weight: 700; letter-spacing: 0.02em; }
.lang-toggle {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px; padding: 0.35rem 0.95rem; cursor: pointer; font-size: 0.95rem;
}
.lang-toggle:hover { background: rgba(255,255,255,0.12); }

.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 3rem 0 3.5rem; text-align: center; }
.hero h1 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); line-height: 1.25; margin: 1.1rem 0 0.9rem; }
.hero-sub { color: rgba(255,255,255,0.85); max-width: 620px; margin: 0 auto 1.6rem; }
.hero-note { margin-top: 0.8rem; font-size: 0.85rem; color: rgba(255,255,255,0.65); }

.deadline-badge {
  display: inline-flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; justify-content: center;
  background: rgba(201,162,75,0.15); border: 1px solid var(--gold); color: #f2dfae;
  border-radius: 999px; padding: 0.45rem 1.1rem; font-size: 0.92rem;
}
.deadline-badge strong { color: #ffe9b3; }
.countdown { background: var(--gold); color: #21262e; border-radius: 999px; padding: 0.1rem 0.7rem; font-weight: 700; font-size: 0.85rem; }

.btn { display: inline-block; border: none; border-radius: 999px; padding: 0.8rem 1.9rem; font-size: 1.05rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: transform 0.08s ease, box-shadow 0.15s ease; }
.btn-primary { background: var(--gold); color: #21262e; box-shadow: 0 4px 16px rgba(201,162,75,0.35); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); font-size: 0.9rem; padding: 0.5rem 1.2rem; margin-top: 1rem; }
.btn-ghost:hover { color: var(--text); }

.checker, .verdict { padding: 2.5rem 0 3rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 6px 24px rgba(15,35,64,0.06); }

.progress { height: 6px; background: var(--border); border-radius: 999px; overflow: hidden; margin-bottom: 1.4rem; }
.progress-bar { height: 100%; width: 0%; background: var(--teal); border-radius: 999px; transition: width 0.25s ease; }

.question-text { font-size: 1.25rem; margin-bottom: 1.2rem; line-height: 1.4; }
.options { display: grid; gap: 0.7rem; }
.option-btn {
  text-align: start; background: var(--bg); border: 1.5px solid var(--border); border-radius: 10px;
  padding: 0.9rem 1.1rem; font-size: 1rem; color: var(--text); cursor: pointer; transition: border-color 0.12s ease, background 0.12s ease;
}
.option-btn:hover { border-color: var(--teal); background: rgba(31,138,112,0.07); }

.verdict h2 { text-align: center; font-size: 1.7rem; margin-bottom: 1.4rem; }
.verdict-cards { display: grid; gap: 1rem; margin-bottom: 2rem; }
.v-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem 1.4rem; border-inline-start: 5px solid var(--teal); }
.v-card.warn { border-inline-start-color: var(--gold); }
.v-card.danger { border-inline-start-color: var(--danger); }
.v-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.v-card p { color: var(--muted); font-size: 0.97rem; }
.v-card p strong { color: var(--text); }

.pitch { text-align: center; padding: 2.2rem 1.8rem; }
.pitch h3 { font-size: 1.35rem; margin-bottom: 0.7rem; }
.pitch p { color: var(--muted); max-width: 560px; margin: 0 auto 1.1rem; }
.pitch-list { list-style: none; max-width: 460px; margin: 0 auto 1.5rem; text-align: start; }
.pitch-list li { padding-inline-start: 1.6rem; position: relative; margin-bottom: 0.5rem; color: var(--text); }
.pitch-list li::before { content: "\2713"; position: absolute; inset-inline-start: 0; color: var(--teal); font-weight: 700; }
.pitch-note { font-size: 0.85rem; margin-top: 0.9rem; }

.site-footer { border-top: 1px solid var(--border); padding: 1.8rem 0 2.4rem; }
.site-footer p { font-size: 0.8rem; color: var(--muted); max-width: 720px; }

html[dir="rtl"] .option-btn, html[dir="rtl"] .pitch-list { text-align: right; }
