/* =========================================================================
   KissKH — Cinematic Editorial Design System
   Dark mode • Arabic RTL • Orange accent
   ========================================================================= */

:root {
  /* Brand palette */
  --orange: #FF6B1A;
  --orange-hot: #FF7A2E;
  --orange-soft: #FFA84A;
  --orange-glow: rgba(255, 107, 26, 0.35);
  --orange-dim: rgba(255, 107, 26, 0.08);

  /* Neutral palette */
  --ink: #0A0A0B;
  --ink-raised: #111113;
  --ink-card: #16161A;
  --ink-border: #1F1F24;
  --ink-border-hot: #2B2B33;
  --stone-500: #6B6B78;
  --stone-300: #A8A8B2;
  --stone-100: #E6E2DA;
  --cream: #F5F1EA;
  --white: #FFFFFF;

  /* Typography */
  --font-display: 'Noto Sans Arabic', sans-serif;
  --font-body: 'Noto Sans Arabic', sans-serif;
  --font-accent: 'Noto Sans Arabic', sans-serif;
  --font-mono: 'Courier New', monospace;

  /* System */
  --max: 1360px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-glow: 0 30px 80px -20px var(--orange-glow);
  --shadow-card: 0 20px 60px -30px rgba(0,0,0,.8);

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--orange) var(--ink);
}

::selection { background: var(--orange); color: var(--ink); }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern", "liga", "ss01";
  direction: rtl;
}

/* Film grain overlay — gives everything a cinematic texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

/* Ambient orange glow on corners */
body::after {
  content: '';
  position: fixed;
  top: -30vh; right: -30vw;
  width: 80vw; height: 80vh;
  background: radial-gradient(circle at center, var(--orange-glow), transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: .6;
  filter: blur(80px);
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap { max-width: var(--max); margin-inline: auto; padding: 0 28px; position: relative; z-index: 2; }

/* =========================================================================
   TOP BAR
   ========================================================================= */
.topbar {
  background: var(--ink);
  border-bottom: 1px solid var(--ink-border);
  font-size: 13px;
  letter-spacing: .02em;
  position: relative;
  z-index: 50;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 10px;
  color: var(--stone-300);
}
.topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar__badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,26,.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,107,26,.18); }
  50% { box-shadow: 0 0 0 6px rgba(255,107,26,.08); }
}

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(10,10,11,.85);
  border-bottom: 1px solid var(--ink-border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.01em;
}
.logo__mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--ink-raised);
  border: 1px solid var(--ink-border-hot);
  overflow: hidden;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.logo__mark img { width: 100%; height: 100%; object-fit: cover; }
.logo__text small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  color: var(--stone-500);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: -4px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--stone-300);
  transition: all .2s var(--ease);
  position: relative;
}
.nav a:hover { color: var(--cream); background: var(--ink-raised); }
.nav a.active { color: var(--orange); }
.nav a.active::before {
  content: ''; position: absolute;
  bottom: -2px; right: 16px; left: 16px;
  height: 2px; background: var(--orange);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--ink-border-hot);
  background: var(--ink-raised);
  color: var(--cream);
}

@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 100%; right: 0; left: 0;
         flex-direction: column; align-items: stretch; padding: 16px;
         background: var(--ink-raised); border-top: 1px solid var(--ink-border); }
  .nav.is-open { display: flex; }
  .nav-toggle { display: grid; place-items: center; }
}

/* Global buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: all .2s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(145deg, var(--orange-hot), var(--orange));
  color: #0A0A0B;
  box-shadow: 0 14px 40px -14px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -14px var(--orange-glow); }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--ink-border-hot);
  color: var(--cream);
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 18px 34px; font-size: 16px; }

/* =========================================================================
   HERO (Index)
   ========================================================================= */
.hero {
  position: relative;
  padding: 90px 0 140px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 10;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--ink-border-hot);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--stone-300);
  margin-bottom: 28px;
}
.hero__kicker span { color: var(--orange); font-weight: 700; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.25;
  letter-spacing: -.01em;
  margin-bottom: 28px;
  color: var(--cream);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: 19px;
  color: var(--stone-300);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero__meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--ink-border);
}
.hero__meta > div strong {
  display: block;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 32px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}
.hero__meta > div span {
  font-size: 13px;
  color: var(--stone-500);
}

/* Phone mockup */
.phone {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  aspect-ratio: 9 / 18.5;
  background: #000;
  border-radius: 44px;
  padding: 14px;
  border: 2px solid #2a2a2e;
  box-shadow:
    0 0 0 8px #141416,
    0 60px 120px -40px var(--orange-glow),
    0 40px 80px -30px rgba(0,0,0,.8);
  transform: rotate(-3deg);
  transition: transform .6s var(--ease);
}
.phone:hover { transform: rotate(0deg) translateY(-8px); }
.phone__screen {
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: var(--ink-card);
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone__notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #000;
  border-radius: 100px;
  z-index: 3;
}
.phone__glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at center, var(--orange-glow), transparent 60%);
  pointer-events: none;
  filter: blur(40px);
  z-index: -1;
  opacity: .7;
}

@media (max-width: 960px) {
  .hero { padding: 60px 0 80px; }
  .hero__grid { grid-template-columns: 1fr; gap: 60px; }
  .phone { max-width: 280px; }
}

/* =========================================================================
   SECTION PRIMITIVES
   ========================================================================= */
.section { padding: 100px 0; position: relative; }
.section--tight { padding: 60px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 60px;
  gap: 40px;
  flex-wrap: wrap;
}
.section-head__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.02em;
  max-width: 700px;
}
.section-head__title em {
  font-style: normal;
  color: var(--orange);
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
}
.section-head__sub {
  font-size: 16px;
  color: var(--stone-300);
  max-width: 380px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-right: 18px;
  position: relative;
}
.eyebrow::before {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* =========================================================================
   FEATURES — Magazine layout
   ========================================================================= */
.features {
  border-top: 1px solid var(--ink-border);
  background: var(--ink);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feat {
  background: linear-gradient(135deg, rgba(255,107,26,.08) 0%, rgba(255,107,26,.02) 100%), var(--ink-raised);
  border: 1px solid var(--ink-border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.feat:hover {
  border-color: var(--orange);
  transform: translateY(-6px);
  background: linear-gradient(135deg, rgba(255,107,26,.12) 0%, rgba(255,107,26,.04) 100%), var(--ink-raised);
}
.feat::after {
  content: '';
  position: absolute;
  top: -2px; right: -60%;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange));
  transition: right .5s var(--ease);
}
.feat:hover::after { transform: translateX(0); }
.feat__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 24px;
  box-shadow: 0 12px 28px -8px var(--orange-glow);
}
.feat__icon svg { width: 28px; height: 28px; }
.feat h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--cream);
}
.feat p { color: var(--stone-300); font-size: 15px; line-height: 1.75; }

@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .features__grid { grid-template-columns: 1fr; }
}
.feat--sm { grid-column: span 3; }
.feat--hero { grid-column: span 6; min-height: 380px; display: flex; flex-direction: column; justify-content: end;
  background: linear-gradient(145deg, var(--ink-raised), var(--ink-card)); position: relative; }
.feat--hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .35;
  z-index: 0;
}
.feat--hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink-raised) 10%, transparent 80%);
  z-index: 1;
}
.feat--hero > * { position: relative; z-index: 2; }

@media (max-width: 960px) {
  .feat--wide, .feat--md, .feat--sm, .feat--hero { grid-column: span 12; }
}

/* =========================================================================
   PLATFORMS
   ========================================================================= */
.platforms {
  background: linear-gradient(180deg, var(--ink) 0%, #0D0D0F 100%);
  border-top: 1px solid var(--ink-border);
  border-bottom: 1px solid var(--ink-border);
}
.platforms__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.plat {
  display: block;
  padding: 32px 24px;
  background: var(--ink-raised);
  border: 1px solid var(--ink-border);
  border-radius: var(--radius);
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.plat:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  background: linear-gradient(145deg, var(--ink-raised), rgba(255,107,26,.05));
}
.plat__num {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 12px;
  color: var(--stone-500);
  display: block;
  margin-bottom: 10px;
}
.plat__icon {
  width: 48px; height: 48px;
  margin-bottom: 24px;
  color: var(--orange);
}
.plat__icon svg { width: 100%; height: 100%; }
.plat h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}
.plat p {
  font-size: 13px;
  color: var(--stone-500);
  margin-bottom: 20px;
  line-height: 1.6;
}
.plat__arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
}
.plat__arrow svg { transition: transform .3s var(--ease); }
.plat:hover .plat__arrow svg { transform: translateX(-6px); }

@media (max-width: 960px) {
  .platforms__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .platforms__grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   SHOWCASE — Scrolling drama strip
   ========================================================================= */
.showcase {
  background: var(--ink);
  padding: 80px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--ink-border);
}
.showcase__head { text-align: center; margin-bottom: 50px; padding: 0 28px; }
.showcase__track {
  display: flex;
  gap: 20px;
  animation: slide 40s linear infinite;
  width: max-content;
}
.showcase:hover .showcase__track { animation-play-state: paused; }
@keyframes slide {
  to { transform: translateX(50%); }
}
.showcase__card {
  width: 220px; height: 320px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: var(--ink-card);
  border: 1px solid var(--ink-border);
}
.showcase__card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.showcase__card:hover img { transform: scale(1.08); }
.showcase__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent 50%);
}
.showcase__card h4 {
  position: absolute;
  bottom: 16px; right: 16px; left: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--cream);
  z-index: 2;
}
.showcase__card span {
  position: absolute;
  top: 14px; right: 14px;
  padding: 4px 10px;
  background: var(--orange);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  z-index: 2;
}

/* =========================================================================
   STEPS
   ========================================================================= */
.steps {
  padding: 100px 0;
  background: var(--ink);
}
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  position: relative;
  padding: 32px;
  background: linear-gradient(135deg, rgba(255,107,26,.06) 0%, rgba(255,107,26,.01) 100%), var(--ink-raised);
  border: 1px solid var(--ink-border);
  border-radius: var(--radius);
  transition: all .3s var(--ease);
}
.step:hover {
  border-color: var(--orange);
  transform: translateY(-6px);
  background: linear-gradient(135deg, rgba(255,107,26,.1) 0%, rgba(255,107,26,.02) 100%), var(--ink-raised);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  margin-bottom: 20px;
  box-shadow: 0 12px 28px -8px var(--orange-glow);
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 10px;
}
.step p { font-size: 14px; color: var(--stone-300); line-height: 1.7; }
.step code {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 12px;
  background: var(--ink);
  border: 1px dashed var(--ink-border-hot);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  direction: ltr;
}

@media (max-width: 960px) { .steps__grid { grid-template-columns: 1fr; } }

/* =========================================================================
   DOWNLOAD CARD (platform pages)
   ========================================================================= */
.dl-hero {
  padding: 70px 0 80px;
  position: relative;
}
.dl-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.dl-hero__icon {
  display: inline-grid;
  place-items: center;
  width: 88px; height: 88px;
  border-radius: 22px;
  background: var(--orange-dim);
  border: 1px solid var(--ink-border-hot);
  color: var(--orange);
  margin-bottom: 28px;
}
.dl-hero__icon svg { width: 42px; height: 42px; }
.dl-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.dl-hero__title em {
  font-style: normal;
  color: var(--orange);
}
.dl-hero__sub {
  font-size: 17px;
  color: var(--stone-300);
  margin-bottom: 36px;
  max-width: 560px;
}

.dl-card {
  background: linear-gradient(160deg, var(--ink-raised) 0%, var(--ink-card) 100%);
  border: 1px solid var(--ink-border-hot);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.dl-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--orange-glow), transparent);
  filter: blur(40px);
}
.dl-card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone-500);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.dl-card__version {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 46px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}
.dl-card__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
}
.dl-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  padding: 22px 0;
  border-top: 1px solid var(--ink-border);
  border-bottom: 1px solid var(--ink-border);
  margin-bottom: 24px;
}
.dl-card__spec {
  font-size: 13px;
  color: var(--stone-500);
}
.dl-card__spec strong {
  display: block;
  color: var(--cream);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
  font-family: var(--font-body);
}
.dl-card__note {
  font-size: 12px;
  color: var(--stone-500);
  text-align: center;
  margin-top: 16px;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .dl-hero__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================================================
   VIDEO BOX
   ========================================================================= */
.video-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ink-border-hot);
  background: var(--ink-card);
  aspect-ratio: 16 / 9;
}
.video-box video, .video-box iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-box__tag {
  position: absolute;
  top: 20px; right: 20px;
  padding: 8px 14px;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--orange);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.video-box__tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}

/* =========================================================================
   CODE BLOCK (for TV instructions)
   ========================================================================= */
.code-block {
  background: var(--ink-raised);
  border: 1px solid var(--ink-border-hot);
  border-radius: var(--radius);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  direction: ltr;
  position: relative;
  overflow: hidden;
}
.code-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--orange-dim));
  pointer-events: none;
}
.code-block__label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--stone-500);
  direction: rtl;
  letter-spacing: .05em;
}
.code-block__value {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .08em;
}
.code-block__copy {
  padding: 10px 18px;
  border: 1px solid var(--ink-border-hot);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cream);
  background: var(--ink);
  transition: all .2s var(--ease);
  direction: rtl;
}
.code-block__copy:hover { border-color: var(--orange); color: var(--orange); }

/* =========================================================================
   DOWNLOAD CENTER
   ========================================================================= */
.dl-center-hero {
  padding: 80px 0 60px;
  text-align: center;
}
.dl-center-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.dl-center-hero h1 em {
  font-style: italic;
  font-family: var(--font-accent);
  font-weight: 400;
  color: var(--orange);
}
.dl-center-hero p {
  font-size: 18px;
  color: var(--stone-300);
  max-width: 660px;
  margin-inline: auto;
}

.dl-center-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-bottom: 80px;
}
.dl-big {
  padding: 40px;
  background: var(--ink-raised);
  border: 1px solid var(--ink-border);
  border-radius: var(--radius-lg);
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.dl-big:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.dl-big__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.dl-big__icon {
  width: 70px; height: 70px;
  border-radius: 18px;
  background: var(--orange-dim);
  color: var(--orange);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.dl-big__icon svg { width: 34px; height: 34px; }
.dl-big__version {
  text-align: left;
  direction: ltr;
}
.dl-big__version small { display: block; font-size: 11px; color: var(--stone-500); letter-spacing: .15em; text-transform: uppercase; }
.dl-big__version strong { font-family: var(--font-accent); font-style: italic; font-size: 24px; color: var(--orange); }
.dl-big h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  margin-bottom: 10px;
}
.dl-big p { color: var(--stone-300); margin-bottom: 24px; font-size: 15px; }
.dl-big__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--ink-border);
  gap: 16px;
}
.dl-big__size {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--stone-500);
  display: flex;
  gap: 16px;
}

@media (max-width: 760px) { .dl-center-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { background: var(--ink); padding: 80px 0 100px; border-top: 1px solid var(--ink-border); }
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.faq__item {
  border-bottom: 1px solid var(--ink-border);
  padding: 22px 0;
  cursor: pointer;
}
.faq__item summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  list-style: none;
  position: relative;
  padding-left: 40px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 24px;
  font-weight: 300;
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { content: '−'; }
.faq__item p {
  margin-top: 14px;
  color: var(--stone-300);
  font-size: 15px;
  line-height: 1.8;
  padding-left: 40px;
}

@media (max-width: 760px) { .faq__grid { grid-template-columns: 1fr; } }

/* =========================================================================
   CTA STRIP
   ========================================================================= */
.cta-strip {
  background: linear-gradient(135deg, var(--orange-hot) 0%, var(--orange) 100%);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 100%, rgba(0,0,0,.15) 0%, transparent 50%);
  pointer-events: none;
}
.cta-strip::after {
  content: 'KissKH';
  position: absolute;
  top: 50%;
  left: -10%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20vw;
  color: rgba(255,255,255,.08);
  line-height: .9;
  white-space: nowrap;
  pointer-events: none;
  direction: ltr;
}
.cta-strip__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0;
}
.cta-strip p {
  color: rgba(255,255,255,.95);
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
}
.cta-strip .btn--primary {
  background: #fff;
  color: var(--orange);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.4);
  padding: 16px 32px;
  font-size: 15px;
  white-space: nowrap;
  font-weight: 700;
}
.cta-strip .btn--primary:hover {
  background: #f5f1ea;
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.5);
}

@media (max-width: 760px) { .cta-strip__inner { grid-template-columns: 1fr; } }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background: #060607;
  padding: 80px 0 40px;
  border-top: 1px solid var(--ink-border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer__brand p { color: var(--stone-500); font-size: 14px; margin-top: 18px; line-height: 1.8; }
.footer h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 20px;
  letter-spacing: .05em;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a {
  color: var(--stone-500);
  font-size: 14px;
  transition: color .2s var(--ease);
}
.footer ul a:hover { color: var(--orange); }
.footer__bottom {
  padding-top: 30px;
  border-top: 1px solid var(--ink-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--stone-500);
  font-size: 13px;
}

@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* =========================================================================
   BREADCRUMB
   ========================================================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  font-size: 13px;
  color: var(--stone-500);
}
.breadcrumb a { color: var(--stone-300); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--stone-500); }

/* =========================================================================
   UTILITIES / ANIMATIONS
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: all .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-border-hot), transparent);
  margin: 40px 0;
}
