/* ==================================================================
   Niyya Software — niyyasoft.com
   Dark hero, light body. Bilingual (LTR / RTL via logical properties).
   ================================================================== */

:root {
  --ink: #0B0B0B;
  --ink-2: #161616;
  --paper: #FAF9F6;
  --paper-2: #F3F1EC;
  --line: #E4E1D9;
  --muted: #6B6B66;
  --pink: #F06FA8;
  --amber: #EDC22E;
  --green: #3ECF8E;
  --white: #FFFFFF;
  --on-dark: rgba(255, 255, 255, .66);
  --on-dark-2: rgba(255, 255, 255, .45);
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 11, 11, .04), 0 4px 16px rgba(11, 11, 11, .04);
  --shadow-lg: 0 24px 64px -20px rgba(11, 11, 11, .28);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[dir="rtl"] body { font-family: var(--font-ar); line-height: 1.75; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 24px; }

.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- brand bits ---------- */
.dots { display: inline-flex; align-items: center; gap: var(--g); vertical-align: middle; }
.dots i { display: block; width: var(--d); height: var(--d); border-radius: 50%; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.wordmark {
  font-family: var(--font); font-weight: 900; font-size: 24px; line-height: 1;
  letter-spacing: -.035em; direction: ltr; unicode-bidi: isolate;
}
.wordmark-lg { font-size: 32px; }

.arrow { flex: none; transition: transform .25s var(--ease); }
[dir="rtl"] .arrow { transform: scaleX(-1); }

.label {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
}
.label span { width: 10px; height: 10px; border-radius: 50%; flex: none; }
[dir="rtl"] .label { text-transform: none; letter-spacing: 0; font-size: 14px; }

.pill-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--accent, var(--pink)); }
.pill-dot-lg { width: 16px; height: 16px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { box-shadow: 0 8px 24px -8px rgba(255, 255, 255, .45); }
.btn-ghost { border-color: rgba(255, 255, 255, .3); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #262626; }
.btn-dark:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { box-shadow: 0 10px 28px -8px var(--accent); }
.btn-soon {
  border: 1px dashed rgba(255, 255, 255, .35); color: rgba(255, 255, 255, .6);
  font-weight: 500; cursor: default;
}
.btn-soon:hover { transform: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 11, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.site-header.scrolled { border-bottom-color: rgba(255, 255, 255, .08); background: rgba(11, 11, 11, .94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.nav { display: none; }
.nav a {
  position: relative; color: rgba(255, 255, 255, .62); text-decoration: none; font-size: 14px;
  padding: 6px 2px; transition: color .2s;
}
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: 2px; bottom: -4px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--amber), var(--green));
}
.nav .lang-btn, .mobile-nav .lang-btn {
  color: var(--white); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 6px 16px;
}
.nav .lang-btn:hover { border-color: var(--white); }

.menu-btn {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px; background: none; border: 0; border-radius: 10px;
}
.menu-btn span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { border-top: 1px solid rgba(255, 255, 255, .1); padding: 8px 24px 24px; }
.mobile-nav a { display: block; padding: 14px 0; color: rgba(255, 255, 255, .7); text-decoration: none; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.mobile-nav a[aria-current="page"] { color: var(--white); font-weight: 600; }
.mobile-nav .lang-btn { display: inline-block; margin-top: 18px; border-bottom: 1px solid rgba(255, 255, 255, .3); padding: 8px 18px; font-size: 15px; }

@media (min-width: 860px) {
  .nav { display: flex; align-items: center; gap: 32px; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--white);
  padding: 64px 0 88px;
}
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset-block-start: -35%; inset-inline-end: -15%;
  width: min(900px, 90vw); aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 35%, rgba(240, 111, 168, .30), transparent 52%),
    radial-gradient(circle at 70% 40%, rgba(237, 194, 46, .18), transparent 50%),
    radial-gradient(circle at 50% 72%, rgba(62, 207, 142, .24), transparent 52%);
  filter: blur(40px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
}
.hero-product::before {
  background:
    radial-gradient(circle at 45% 45%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 55%),
    radial-gradient(circle at 60% 70%, rgba(255, 255, 255, .06), transparent 50%);
}

.hero h1 {
  margin-top: 28px; max-width: 18ch;
  font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.04; letter-spacing: -.04em;
  text-wrap: balance;
}
.hero h1.h1-product { font-size: clamp(2.2rem, 4.8vw, 3.6rem); max-width: 20ch; margin-top: 20px; }
[dir="rtl"] .hero h1 { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.lead { margin-top: 22px; max-width: 52ch; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.65; color: var(--on-dark); }
.hero .actions { margin-top: 36px; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--on-dark-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04);
  font-size: 13px; color: rgba(255, 255, 255, .78);
}

.crumb {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
  color: var(--on-dark-2); text-decoration: none; font-size: 14px;
}
.crumb:hover { color: var(--white); }
.crumb .arrow { transform: scaleX(-1); }
[dir="rtl"] .crumb .arrow { transform: none; }
.crumb + .pill-dot { display: block; }

.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero-visual { position: relative; height: 340px; max-width: 560px; width: 100%; }
.hero-visual .float { position: absolute; animation: float 7s ease-in-out infinite; }
.hero-visual .f1 { top: 0; inset-inline-start: 0; width: 86%; --r: -2deg; }
.hero-visual .f2 { bottom: 0; inset-inline-end: 0; width: 66%; --r: 3deg; animation-delay: -3.5s; }
.hero-visual-single { height: auto; }
.hero-visual-single .f1 { position: relative; width: 100%; --r: -1.5deg; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r)); }
  50% { transform: translateY(-10px) rotate(var(--r)); }
}

@media (min-width: 960px) {
  .hero { padding: 96px 0 120px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; }
  .hero-visual { height: 440px; justify-self: end; }
  .hero-visual-single { height: auto; }
}

.hero-404 .big-404 {
  margin-top: 24px; font-size: clamp(5rem, 16vw, 11rem); font-weight: 900; line-height: .9; letter-spacing: -.05em;
  background: linear-gradient(90deg, var(--pink), var(--amber), var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-404 h1 { margin-top: 16px; }

/* ---------- app window illustration ---------- */
.mock {
  background: var(--white); border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(11, 11, 11, .06);
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .05);
  direction: ltr;
}
.mock-bar {
  display: flex; align-items: center; gap: 12px; height: 34px; padding-inline: 12px;
  background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.mock-title { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { padding: 22px; }

.mock-pdf { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; background: #FCFBF9; }
.doc {
  position: relative; display: flex; flex-direction: column; gap: 7px; aspect-ratio: 3 / 4;
  padding: 18px 12px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.doc .l { display: block; height: 6px; border-radius: 3px; background: #ECE9E1; }
.doc .l.h { height: 9px; background: #CFCBC1; margin-bottom: 3px; }
.doc .blk { display: block; height: 28%; border-radius: 5px; background: color-mix(in srgb, var(--accent) 22%, #fff); }
.doc-word .blk { background: #DCE6F5; }
.w90 { width: 90%; } .w85 { width: 85%; } .w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; }
.doc-badge {
  position: absolute; top: -9px; left: 10px; padding: 2px 7px; border-radius: 5px;
  background: var(--accent); color: var(--ink); font-size: 9px; font-weight: 800; letter-spacing: .06em;
}
.doc-word .doc-badge { background: #2B579A; color: var(--white); }
.conv { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); }
.conv span { display: none; }
.conv .arrow { animation: nudge 2.4s ease-in-out infinite; }
[dir="rtl"] .mock .arrow { transform: none; }
@keyframes nudge { 0%, 100% { translate: -2px 0; } 50% { translate: 2px 0; } }

.mock-image { background: #FCFBF9; }
.pic {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 8px;
  background: linear-gradient(180deg, #FDE3EF 0%, #FFF5D1 100%);
}
.sun { position: absolute; top: 14%; right: 18%; width: 20%; aspect-ratio: 1; border-radius: 50%; background: var(--amber); }
.hill { position: absolute; border-radius: 50%; }
.hill.h1 { width: 95%; height: 75%; left: -22%; bottom: -38%; background: var(--green); }
.hill.h2 { width: 85%; height: 65%; right: -18%; bottom: -36%; background: #26A870; }
.pic::before {
  content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; right: 55%;
  -webkit-backdrop-filter: grayscale(1) contrast(.85) brightness(1.05); backdrop-filter: grayscale(1) contrast(.85) brightness(1.05);
  border-right: 2px solid var(--white);
  animation: wipe 6s ease-in-out infinite;
}
.pic::after {
  content: ""; position: absolute; z-index: 3; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; background: var(--white); box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  left: 45%; animation: wipe-knob 6s ease-in-out infinite;
}
@keyframes wipe { 0%, 100% { right: 55%; } 50% { right: 25%; } }
@keyframes wipe-knob { 0%, 100% { left: 45%; } 50% { left: 75%; } }
.spark {
  position: absolute; z-index: 4; width: 12px; height: 12px; background: var(--white);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: twinkle 2.6s ease-in-out infinite;
}
.spark.s1 { top: 18%; left: 58%; }
.spark.s2 { top: 42%; left: 84%; width: 8px; height: 8px; animation-delay: -.9s; }
.spark.s3 { top: 62%; left: 66%; width: 10px; height: 10px; animation-delay: -1.7s; }
.wand { display: none; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
.tools { display: flex; gap: 8px; margin-top: 14px; }
.tools i { flex: 1; height: 8px; border-radius: 4px; background: #ECE9E1; }
.tools i:first-child { background: var(--accent); flex: 1.6; }

.mock-license { display: grid; gap: 14px; background: #FCFBF9; }
.opts { display: grid; gap: 8px; }
.opt {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center;
  padding: 10px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 8px;
}
.opt .radio { grid-row: span 2; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #CFCBC1; }
.opt .l { display: block; height: 6px; border-radius: 3px; background: #ECE9E1; }
.opt .l:first-of-type { height: 8px; background: #D9D5CC; }
.opt.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, #fff); animation: pick 5s ease-in-out infinite; }
.opt.on .radio { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 0 3px, transparent 3.5px); }
@keyframes pick { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); } }
.result {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  background: var(--ink); border-radius: 10px; color: var(--white);
}
.key { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: var(--ink); }
.result-lines { display: grid; gap: 6px; flex: 1; }
.result-lines .l { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
.result-lines .l.h { height: 8px; background: rgba(255, 255, 255, .7); }
.result-badge { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: var(--ink); font-size: 12px; }
.w40 { width: 40%; }

.grid-products { display: grid; gap: 24px; }
@media (min-width: 700px) {
  .grid-products { grid-template-columns: 1fr 1fr; }
  .grid-products > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .grid-products > :last-child:nth-child(odd) .mock { max-width: 520px; margin-inline: auto; }
}
@media (min-width: 1040px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .grid-products > :last-child:nth-child(odd) { grid-column: auto; }
  .grid-products > :last-child:nth-child(odd) .mock { max-width: none; }
  .grid-products .card-visual { padding: 26px 26px 0; }
  .grid-products .card-text { padding: 24px 26px 28px; }
}

.mock-sm { box-shadow: var(--shadow-lg); border-radius: 12px 12px 0 0; border-bottom: 0; }
.mock-sm .mock-body { padding: 18px; }
.mock-lg { max-width: 820px; width: 100%; box-shadow: var(--shadow-lg); }
.mock-lg .mock-body { padding: clamp(20px, 4vw, 40px); }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 0 0 88px; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.intro { max-width: 46ch; margin-bottom: 40px; font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.5; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
[dir="rtl"] .h2 { letter-spacing: 0; font-weight: 700; }
.statement { max-width: 32ch; font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 500; line-height: 1.45; letter-spacing: -.015em; }
[dir="rtl"] .statement { letter-spacing: 0; line-height: 1.7; }
.grid-2 { display: grid; gap: 24px; }
@media (min-width: 800px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .section { padding: 112px 0; } .section-tight { padding-bottom: 112px; } }

/* ---------- cards ---------- */
.card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); color: inherit; text-decoration: none; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent, var(--ink)) 45%, var(--line)); }
.card h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.card p { margin-top: 10px; color: var(--muted); }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px; font-size: 15px; font-weight: 600; }
.card:hover .link .arrow { transform: translateX(4px); }
[dir="rtl"] .card:hover .link .arrow { transform: scaleX(-1) translateX(4px); }

.card-visual {
  position: relative; padding: 32px 32px 0; overflow: hidden;
  background:
    radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.card-visual .mock { transform: translateY(8px); transition: transform .4s var(--ease); }
.card:hover .card-visual .mock { transform: translateY(0); }
.card-text { display: flex; flex-direction: column; flex: 1; padding: 28px 32px 32px; }
.card-text .pill-dot { margin-bottom: 16px; }

.ask-card { justify-content: center; padding: 40px 32px; background: var(--ink); border-color: var(--ink); color: var(--white); }
.ask-card h3 { margin-top: 22px; }
.ask-card p { color: var(--on-dark); }
.ask-card:hover { border-color: var(--ink); }

/* ---------- meaning block ---------- */
.meaning {
  display: grid; gap: 28px; align-items: center;
  padding: clamp(32px, 6vw, 64px); background: var(--white); border: 1px solid var(--line); border-radius: 28px;
  position: relative; overflow: hidden;
}
.meaning-glyph {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; font-weight: 700;
  font-size: clamp(5rem, 14vw, 9.5rem); line-height: 1; direction: rtl;
  background: linear-gradient(135deg, var(--pink), var(--amber) 55%, var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-block: .1em;
}
.meaning-text { max-width: 36ch; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 500; line-height: 1.5; }
[dir="rtl"] .meaning-text { line-height: 1.8; }
@media (min-width: 860px) { .meaning { grid-template-columns: auto 1fr; gap: 64px; } }

/* ---------- principles ---------- */
.principles { display: grid; gap: 40px 48px; }
@media (min-width: 760px) { .principles { grid-template-columns: 1fr 1fr; } }
.principle { padding-top: 24px; border-top: 1px solid var(--line); }
.principle .num { font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.principle h3 { margin-top: 10px; font-size: 1.2rem; font-weight: 700; }
.principle p { margin-top: 8px; color: var(--muted); max-width: 46ch; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--ink); font-weight: 800;
}
.step h3 { margin-top: 20px; font-size: 1.15rem; font-weight: 700; }
.step p { margin-top: 8px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.1rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #333; }
.plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); transition: transform .3s var(--ease), background-color .2s; }
.plus::before, .plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.6px; margin: -.8px 0 0 -5px; background: var(--ink); border-radius: 2px; }
.plus::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
details[open] .plus { background: var(--ink); border-color: var(--ink); }
details[open] .plus::before, details[open] .plus::after { background: var(--white); }
details[open] .plus::after { transform: rotate(0); }
.faq details p { padding: 0 0 24px; max-width: 60ch; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 28px; align-items: center;
  padding: clamp(36px, 6vw, 64px); border-radius: 28px; background: var(--ink); color: var(--white);
}
.cta::before {
  content: ""; position: absolute; z-index: -1; inset-inline-end: -10%; top: -60%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(240, 111, 168, .28), transparent 60%), radial-gradient(circle at 70% 70%, rgba(62, 207, 142, .22), transparent 55%);
  filter: blur(30px);
}
.cta h2 { margin-top: 18px; font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
[dir="rtl"] .cta h2 { letter-spacing: 0; font-weight: 700; }
.cta p { margin-top: 10px; color: var(--on-dark); }
@media (min-width: 900px) { .cta { grid-template-columns: 1fr auto; } }

/* ---------- product page ---------- */
.stage {
  display: grid; place-items: center; margin-top: 56px; padding: clamp(24px, 6vw, 72px);
  border: 1px solid var(--line); border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
    var(--paper-2);
}
.shot { width: 100%; max-width: 1000px; height: auto; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.features { margin-top: 72px; }
.feature-grid { display: grid; gap: 16px 40px; }
@media (min-width: 760px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature { display: flex; gap: 14px; align-items: flex-start; padding-top: 18px; border-top: 1px solid var(--line); }
.feature p { color: var(--ink); }
.tick { flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 25%, #fff); position: relative; }
.tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.5fr 1fr; gap: 80px; align-items: start; } }
.prose p { margin-bottom: 26px; font-size: 1.12rem; line-height: 1.75; color: var(--muted); max-width: 62ch; }
.prose p.first { color: var(--ink); font-size: 1.3rem; line-height: 1.6; font-weight: 500; }
[dir="rtl"] .prose p { line-height: 1.9; }
.facts { display: grid; gap: 14px; }
@media (min-width: 900px) { .facts { position: sticky; top: 100px; } }
.fact { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.fact .pill-dot { grid-row: span 2; width: 12px; height: 12px; }
.fact strong { font-size: 1.05rem; }
.fact span:last-child { font-size: 14px; color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.channels { display: grid; gap: 14px; }
.channel {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.channel:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.channel-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 20%, #fff); color: var(--ink); }
.channel-text { display: flex; flex-direction: column; min-width: 0; }
.channel-label { font-size: 13px; color: var(--muted); }
.channel-value { font-size: clamp(1.05rem, 2.2vw, 1.35rem); font-weight: 700; overflow-wrap: anywhere; }
.reply-time { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; color: var(--muted); }

.form-card { padding: clamp(24px, 4vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236B6B66' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
[dir="rtl"] .field select { background-position: left 16px center; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background-color: var(--white); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11, 11, 11, .07);
}
.field [aria-invalid="true"] { border-color: #D6336C; box-shadow: 0 0 0 4px rgba(214, 51, 108, .1); }
.field-error { font-size: 13px; color: #B3124F; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.form-status.err { background: #FDECF3; color: #8E1541; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 6px; }
.privacy { font-size: 13px; color: var(--muted); }
.success { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px 0; outline: none; }
.success-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--ink); animation: pop .5s var(--ease); }
.success p { font-size: 1.2rem; font-weight: 500; max-width: 34ch; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .62); padding: 72px 0 32px; font-size: 14px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; } }
.footer-brand p { margin-top: 14px; max-width: 30ch; }
.muted-2 { color: rgba(255, 255, 255, .4); }
.footer-h { margin-bottom: 16px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--white); }
[dir="rtl"] .footer-h { text-transform: none; letter-spacing: 0; font-size: 14px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a { text-decoration: none; transition: color .2s; }
.site-footer ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px; color: rgba(255, 255, 255, .4);
}
.to-top { text-decoration: none; }
.to-top:hover { color: var(--white); }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 40; bottom: 20px; inset-inline-end: 20px;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white); box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.menu-open .wa-float { display: none; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover { transform: translateY(-4px); }
.js .card.reveal.in, .js .channel.reveal.in {
  transition: opacity .7s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.js .channel.reveal.in:hover { transform: translateY(-2px); }
.grid-2 > .reveal:nth-child(2), .grid-products > .reveal:nth-child(2), .steps > .reveal:nth-child(2), .principles > .reveal:nth-child(2) { transition-delay: .08s; }
.grid-products > .reveal:nth-child(3), .steps > .reveal:nth-child(3), .principles > .reveal:nth-child(3) { transition-delay: .16s; }
.principles > .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .wa-float, .hero::before, .hero::after { display: none; }
  .hero { background: none; color: var(--ink); }
}
