/* ============================================================================
   Challenge Inkidia — /inkidia_defi
   Palette and type scale taken from the client's reference design.
   Everything is prefixed .c2- so it cannot collide with the website theme,
   with inkidia_landing.css or with inkidia_challenge.css.
   Logical properties (margin-inline, inset-inline) are used throughout so the
   Arabic (RTL) block mirrors correctly without a second stylesheet.
   ========================================================================= */

#c2-root {
  --violet: #5145E5;
  --violet-dark: #3D33C4;
  --blue: #1BA5E4;
  --green: #10B982;
  --rose: #E9245A;
  --gold: #E9A21B;
  --cream: #FDF3C4;
  --lav: #EFF1FF;
  --ink: #1A1B33;
  --ink-2: #14152B;
  --grey: #6B6F8C;
  --line: #E9EBF8;
  --font: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
}

#c2-root,
#c2-root * { box-sizing: border-box; }

#c2-root {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px;               /* room for the mobile sticky CTA */
}
@media (min-width: 900px) { #c2-root { padding-bottom: 0; } }

#c2-root img { display: block; max-width: 100%; }
#c2-root p { margin: 0 0 10px; }
#c2-root p:last-child { margin-bottom: 0; }
#c2-root h1, #c2-root h2, #c2-root h3 { margin: 0; letter-spacing: -0.02em; }
#c2-root a { text-decoration: none; }

.c2-hidden { display: none !important; }

.c2-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.c2-sec { padding: 48px 0; }
@media (min-width: 900px) { .c2-sec { padding: 80px 0; } }

/* --- reveal on scroll ---------------------------------------------------- */
.c2-rv { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.c2-rv.c2-on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .c2-rv { opacity: 1; transform: none; transition: none; }
}

/* --- section head -------------------------------------------------------- */
.c2-head { max-width: 640px; margin-bottom: 28px; }
.c2-head h2 { font-size: clamp(24px, 4.6vw, 38px); font-weight: 900; line-height: 1.22; }
.c2-head p { margin-top: 10px; font-size: 16px; color: var(--grey); }
.c2-head-invert { margin-inline: auto; text-align: center; }
.c2-head-invert h2 { color: #fff; }
.c2-head-invert p { color: #C9CCE8; }

.c2-eyebrow {
  display: inline-block; margin-bottom: 10px; padding: 4px 12px;
  border-radius: 999px; background: var(--lav); color: var(--violet);
  font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.c2-eyebrow-invert { background: rgba(255, 255, 255, .12); color: var(--cream); }

/* --- buttons ------------------------------------------------------------- */
.c2-btn {
  display: inline-block; border: 0; border-radius: 13px; cursor: pointer;
  font-family: inherit; font-weight: 800; font-size: 16px; padding: 14px 26px;
  text-align: center; transition: background .18s ease, transform .18s ease;
}
.c2-btn:hover { transform: translateY(-1px); }
.c2-btn-sm { font-size: 14.5px; padding: 9px 18px; border-radius: 10px; }
.c2-btn-wide { min-width: 260px; }
.c2-btn-primary { background: var(--violet); color: #fff; }
.c2-btn-primary:hover { background: var(--violet-dark); color: #fff; }
.c2-btn-cta { background: var(--violet); color: #fff; font-size: 17px; font-weight: 900; padding: 16px 32px; }
.c2-btn-cta:hover { background: var(--violet-dark); color: #fff; }
.c2-btn-ghost { background: #fff; color: var(--violet); border: 2px solid var(--line); }
.c2-btn-ghost:hover { border-color: var(--violet); color: var(--violet); }
.c2-btn:focus-visible,
.c2-lang-btn:focus-visible,
.c2-faq-q:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* --- nav ----------------------------------------------------------------- */
.c2-nav {
  position: sticky; top: 0; z-index: 70;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.c2-nav-inner { display: flex; align-items: center; gap: 14px; height: 64px; }
.c2-brand { display: flex; align-items: center; gap: 10px; flex: none; color: inherit; }
.c2-brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: var(--violet); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 14px;
}
.c2-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.c2-brand-name { font-weight: 900; font-size: 18px; }
.c2-brand-tag { font-size: 11.5px; font-weight: 700; color: var(--violet); letter-spacing: .06em; text-transform: uppercase; }

.c2-nav-links { display: none; gap: 22px; margin-inline-start: auto; }
.c2-nav-links a { color: var(--grey); font-weight: 700; font-size: 14.5px; }
.c2-nav-links a:hover { color: var(--violet); }
@media (min-width: 900px) { .c2-nav-links { display: flex; } }

.c2-nav-right { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
@media (min-width: 900px) { .c2-nav-right { margin-inline-start: 0; } }

.c2-lang-switch { display: flex; background: var(--lav); border-radius: 999px; padding: 3px; gap: 2px; flex: none; }
.c2-lang-btn {
  font-family: inherit; font-weight: 800; font-size: 12.5px; line-height: 1.4;
  padding: 6px 12px; border: 0; border-radius: 999px;
  background: transparent; color: var(--grey); cursor: pointer;
}
.c2-lang-btn[aria-pressed="true"] { background: var(--violet); color: #fff; }

.c2-nav-feedback { display: none; font-weight: 800; font-size: 14px; color: var(--green); }
.c2-nav-feedback:hover { color: var(--green); text-decoration: underline; }
@media (min-width: 1040px) { .c2-nav-feedback { display: inline; } }
.c2-nav-right .c2-btn { display: none; }
@media (min-width: 900px) { .c2-nav-right .c2-btn { display: inline-block; } }

/* --- hero ---------------------------------------------------------------- */
.c2-hero { position: relative; overflow: hidden; padding: 40px 0 48px; }
@media (min-width: 900px) { .c2-hero { padding: 64px 0 80px; } }
.c2-hero-blob {
  position: absolute; inset-inline: -10%; bottom: 0; height: 52%;
  background: var(--cream); z-index: 0;
  border-start-start-radius: 50% 100%; border-start-end-radius: 50% 100%;
}
.c2-hero-grid { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .c2-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; } }

.c2-hero-title { font-size: clamp(32px, 7vw, 54px); font-weight: 900; line-height: 1.14; letter-spacing: -.03em; }
.c2-hero-title em { font-style: normal; color: var(--violet); }
.c2-hero-sub { margin-top: 14px; font-size: 17px; color: var(--grey); max-width: 46ch; }
.c2-hero-sub strong { color: var(--ink); }

.c2-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.c2-badge {
  background: #fff; border: 2px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 13.5px; font-weight: 800;
}
.c2-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.c2-hero-note { margin-top: 14px; font-size: 13.5px; color: var(--grey); }
.c2-hero-dates { margin-top: 6px; font-size: 14px; }
.c2-hero-dates-label { color: var(--grey); }
.c2-hero-dates strong { margin-inline-start: 6px; color: var(--violet); }

.c2-hero-visual { position: relative; display: grid; place-items: center; }
.c2-phone {
  border: 8px solid var(--ink-2); border-radius: 30px; overflow: hidden;
  background: var(--ink-2); box-shadow: 0 18px 40px rgba(26, 27, 51, .24);
  width: min(240px, 62vw); aspect-ratio: 9 / 17;
}
.c2-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.c2-phone-placeholder {
  width: 100%; height: 100%; border-radius: 22px;
  display: grid; place-content: center; gap: 8px; justify-items: center;
  background: linear-gradient(160deg, var(--violet), var(--blue));
}
.c2-phone-emoji { font-size: 54px; line-height: 1; }
.c2-phone-label { color: #fff; font-weight: 900; font-size: 20px; letter-spacing: .04em; }

.c2-hero-chip {
  position: absolute; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; font-size: 24px; background: #fff;
  box-shadow: 0 10px 22px rgba(26, 27, 51, .14);
}
.c2-hero-chip-1 { top: 6%; inset-inline-start: 2%; }
.c2-hero-chip-2 { bottom: 10%; inset-inline-end: 2%; }

/* --- key figures --------------------------------------------------------- */
.c2-stats { background: var(--lav); padding: 22px 0; }
.c2-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 800px) { .c2-stats-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.c2-stat { display: grid; justify-items: center; text-align: center; gap: 2px; }
.c2-stat-icon { font-size: 24px; }
.c2-stat-title { font-weight: 900; font-size: 15.5px; }
.c2-stat-sub { font-size: 13px; color: var(--grey); line-height: 1.45; }

/* --- journey steps ------------------------------------------------------- */
.c2-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px; counter-reset: c2step;
}
@media (min-width: 700px) { .c2-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .c2-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.c2-step {
  position: relative; background: #fff; border: 2px solid var(--line);
  border-radius: 18px; padding: 20px 18px 18px;
}
.c2-step-num {
  position: absolute; top: -14px; inset-inline-start: 18px;
  width: 30px; height: 30px; border-radius: 10px;
  background: var(--violet); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 14px;
}
.c2-step-icon { display: block; font-size: 26px; margin-bottom: 6px; }
.c2-step h3 { font-size: 17px; font-weight: 900; margin-bottom: 4px; }
.c2-step-body { font-size: 14.5px; color: var(--grey); line-height: 1.6; }

.c2-journey-help {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 22px;
  background: var(--cream); border-radius: 14px; padding: 14px 16px;
  font-size: 14.5px; font-weight: 600; color: #6E5F26;
}

/* --- install guide ------------------------------------------------------- */
.c2-install { background: var(--lav); }
.c2-install-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .c2-install-steps { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.c2-install-step {
  position: relative; background: #fff; border-radius: 16px; padding: 18px 16px;
}
.c2-install-num {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px;
  background: var(--blue); color: #fff; font-weight: 900; font-size: 13px; margin-bottom: 8px;
}
.c2-install-icon { display: block; font-size: 22px; margin-bottom: 4px; }
.c2-install-step h3 { font-size: 15.5px; font-weight: 900; margin-bottom: 3px; }
.c2-install-step p { font-size: 13.5px; color: var(--grey); line-height: 1.55; }

.c2-download { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin-top: 24px; }

.c2-blocked {
  margin-top: 26px; background: var(--ink); color: #fff; border-radius: 22px;
  padding: 24px 22px; display: grid; gap: 22px; align-items: center;
}
@media (min-width: 900px) { .c2-blocked { grid-template-columns: 1.35fr .65fr; padding: 32px 30px; } }
.c2-blocked-badge {
  display: inline-block; margin-bottom: 10px; padding: 5px 12px; border-radius: 999px;
  background: var(--rose); color: #fff; font-size: 12.5px; font-weight: 800;
}
.c2-blocked h3 { font-size: clamp(19px, 3vw, 25px); font-weight: 900; margin-bottom: 12px; }
.c2-blocked-body { font-size: 15px; color: #C9CCE8; line-height: 1.75; }
.c2-blocked-body p { margin-bottom: 12px; }
.c2-blocked-body strong { color: var(--cream); }
.c2-blocked-body em { color: #fff; font-style: normal; background: rgba(255, 255, 255, .12); padding: 1px 6px; border-radius: 6px; }
.c2-blocked-body .c2-note { font-size: 13.5px; color: #9EA2C4; }

.c2-blocked-visual { display: grid; place-items: center; }
.c2-blocked-visual img { border-radius: 16px; max-height: 320px; width: auto; }
.c2-blocked-placeholder {
  width: 100%; max-width: 220px; aspect-ratio: 3 / 4; border-radius: 16px;
  background: rgba(255, 255, 255, .07); border: 2px dashed rgba(255, 255, 255, .2);
  display: grid; place-content: center; justify-items: center; gap: 8px; font-size: 44px;
}
.c2-blocked-placeholder-label { font-size: 14px; font-weight: 800; color: #9EA2C4; }

/* --- questions & timing -------------------------------------------------- */
.c2-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 800px) { .c2-tiles { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.c2-tile {
  background: #fff; border: 2px solid var(--line); border-radius: 18px;
  padding: 20px 16px; text-align: center;
}
.c2-tile-accent { background: var(--violet); border-color: var(--violet); }
.c2-tile-accent .c2-tile-value { color: #fff; }
.c2-tile-accent .c2-tile-label { color: rgba(255, 255, 255, .85); }
.c2-tile-icon { display: block; font-size: 24px; margin-bottom: 6px; }
.c2-tile-value { display: block; font-size: clamp(19px, 3.4vw, 26px); font-weight: 900; line-height: 1.2; color: var(--violet); }
.c2-tile-label { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 700; color: var(--grey); }

.c2-discover {
  margin-top: 26px; background: var(--cream); border-radius: 22px; padding: 22px;
  display: grid; gap: 22px; align-items: center;
}
@media (min-width: 900px) { .c2-discover { grid-template-columns: .8fr 1.2fr; padding: 30px; } }
.c2-discover-visual { display: grid; place-items: center; }
.c2-discover-visual img { border-radius: 16px; max-height: 300px; width: auto; }
.c2-discover-placeholder {
  width: 100%; max-width: 200px; aspect-ratio: 1; border-radius: 20px;
  background: #fff; display: grid; place-items: center; font-size: 60px;
}
.c2-discover h3 { font-size: clamp(19px, 3vw, 26px); font-weight: 900; margin-bottom: 10px; }
.c2-discover-copy { font-size: 15.5px; color: #6E5F26; line-height: 1.75; }
.c2-discover-copy strong { color: var(--ink); }
.c2-discover-copy .c2-btn { margin-top: 14px; }

/* --- prizes (the showpiece) ---------------------------------------------- */
.c2-prizes { position: relative; overflow: hidden; background: var(--ink); padding: 56px 0 64px; }
@media (min-width: 900px) { .c2-prizes { padding: 88px 0 96px; } }
.c2-prizes-glow {
  position: absolute; inset-inline: 0; top: -20%; height: 60%; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 50%, rgba(81, 69, 229, .55), transparent 70%);
}
.c2-prizes .c2-wrap { position: relative; z-index: 1; }

.c2-podium { display: grid; gap: 18px; }
@media (min-width: 1000px) { .c2-podium { grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; } }

.c2-rank {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px; padding: 20px 18px 22px; backdrop-filter: blur(4px);
}
/* Gold gets a wider frame and floats up a notch on desktop — the podium read. */
.c2-rank-gold { border-color: rgba(233, 162, 27, .55); box-shadow: 0 0 0 1px rgba(233, 162, 27, .25), 0 22px 48px rgba(0, 0, 0, .35); }
@media (min-width: 1000px) { .c2-rank-gold { transform: translateY(-14px); } }
.c2-rank-silver { border-color: rgba(200, 205, 225, .4); }
.c2-rank-bronze { border-color: rgba(205, 133, 63, .4); }

.c2-rank-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.c2-rank-medal { font-size: 30px; line-height: 1; }
.c2-rank-label { font-size: 17px; font-weight: 900; color: #fff; }
.c2-rank-label sup { font-size: .6em; }
.c2-rank-gold .c2-rank-label { color: var(--gold); }

.c2-rank-items { display: grid; gap: 10px; }
.c2-rank-plus {
  justify-self: center; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 17px;
}
.c2-prize { background: #fff; border-radius: 18px; padding: 16px; text-align: center; }
.c2-prize-media {
  height: 108px; margin-bottom: 10px; border-radius: 14px; background: var(--lav);
  display: grid; place-items: center; overflow: hidden;
}
.c2-prize-media img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.c2-prize-emoji { font-size: 46px; line-height: 1; }
.c2-prize-title { font-size: 16.5px; font-weight: 900; }
.c2-prize-body { margin-top: 4px; font-size: 13.5px; color: var(--grey); line-height: 1.5; }
.c2-prize-value {
  display: inline-block; margin-top: 10px; padding: 5px 12px; border-radius: 999px;
  background: var(--lav); color: var(--violet); font-size: 13px; font-weight: 700;
}
.c2-prize-value strong { font-weight: 900; }
.c2-prize-value-lg { font-size: 15px; padding: 8px 16px; }

.c2-prize-all { margin-top: 22px; }
.c2-prize-all-inner {
  background: linear-gradient(120deg, var(--green), var(--blue));
  border-radius: 22px; padding: 20px; color: #fff;
  display: grid; gap: 16px; align-items: center; text-align: center;
}
@media (min-width: 800px) {
  .c2-prize-all-inner { grid-template-columns: auto 1fr auto; text-align: start; padding: 24px 28px; }
}
.c2-prize-all-media {
  width: 84px; height: 84px; border-radius: 18px; justify-self: center;
  background: rgba(255, 255, 255, .2); display: grid; place-items: center; overflow: hidden;
}
.c2-prize-all-media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.c2-prize-all-copy .c2-rank-label { display: block; font-size: 13px; opacity: .9; margin-bottom: 2px; }
.c2-prize-all-copy h3 { font-size: clamp(19px, 3vw, 25px); font-weight: 900; }
.c2-prize-all-copy p { font-size: 14.5px; opacity: .95; }
.c2-prize-all .c2-prize-value { background: rgba(255, 255, 255, .22); color: #fff; }

.c2-prizes-foot { margin-top: 22px; text-align: center; font-size: 13.5px; color: #9EA2C4; }

/* --- feedback ------------------------------------------------------------ */
.c2-feedback { background: var(--lav); }
.c2-feedback-inner {
  background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 24px;
  display: grid; gap: 18px; align-items: center; text-align: center;
}
@media (min-width: 860px) {
  .c2-feedback-inner { grid-template-columns: auto 1fr auto; text-align: start; padding: 28px 32px; }
}
.c2-feedback-emoji {
  font-size: 34px; width: 64px; height: 64px; border-radius: 18px; justify-self: center;
  background: var(--cream); display: grid; place-items: center;
}
.c2-feedback-copy h2 { font-size: clamp(20px, 3.2vw, 27px); font-weight: 900; }
.c2-feedback-copy p { margin-top: 6px; font-size: 15px; color: var(--grey); }
.c2-feedback-action { display: grid; gap: 6px; justify-items: center; }
.c2-feedback-note { font-size: 12.5px; color: var(--grey); }

/* --- faq ----------------------------------------------------------------- */
.c2-faq-grid { display: grid; gap: 22px; }
@media (min-width: 960px) { .c2-faq-grid { grid-template-columns: 1.6fr .8fr; gap: 32px; } }

.c2-faq-item { border-bottom: 2px solid var(--line); }
.c2-faq-q {
  list-style: none; cursor: pointer; padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 16.5px; font-weight: 800;
}
.c2-faq-q::-webkit-details-marker { display: none; }
.c2-faq-sign { position: relative; flex: none; width: 18px; height: 18px; }
.c2-faq-sign::before,
.c2-faq-sign::after {
  content: ""; position: absolute; inset-inline-start: 0; top: 8px;
  width: 18px; height: 2.5px; border-radius: 2px; background: var(--violet);
  transition: transform .2s ease;
}
.c2-faq-sign::after { transform: rotate(90deg); }
.c2-faq-item[open] .c2-faq-sign::after { transform: rotate(0deg); }
.c2-faq-a { padding: 0 0 16px; font-size: 15px; color: var(--grey); line-height: 1.75; }

.c2-faq-help {
  align-self: start; background: var(--ink); color: #fff;
  border-radius: 22px; padding: 24px 22px; text-align: center;
}
.c2-faq-help-emoji { font-size: 34px; }
.c2-faq-help h3 { margin-top: 8px; font-size: 19px; font-weight: 900; }
.c2-faq-help p { margin-top: 6px; font-size: 14.5px; color: #B9BCD8; }
.c2-faq-help .c2-btn { margin-top: 14px; }
.c2-faq-help-mail { display: block; margin-top: 10px; font-size: 13px; color: #9EA2C4; }

/* --- footer -------------------------------------------------------------- */
.c2-footer { background: var(--ink); color: #9EA2C4; padding: 34px 0 24px; font-size: 14.5px; }
.c2-footer-inner { display: grid; gap: 18px; }
@media (min-width: 800px) { .c2-footer-inner { grid-template-columns: 1fr auto; align-items: center; } }
.c2-footer-logo { display: block; color: #fff; font-weight: 900; font-size: 18px; }
.c2-footer-tagline { font-size: 13.5px; }
.c2-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.c2-footer-links a { color: #C9CCE8; }
.c2-footer-links a:hover { color: #fff; }
.c2-footer-bottom {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; font-size: 13px;
}
.c2-footer-bottom a { color: #C9CCE8; }

/* --- mobile sticky CTA --------------------------------------------------- */
.c2-sticky {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 80; background: #fff;
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { .c2-sticky { display: none; } }
.c2-sticky a {
  display: block; text-align: center; background: var(--violet); color: #fff;
  border-radius: 13px; font-weight: 900; font-size: 16.5px; padding: 15px;
}
