:root {
  --bg: #0A0D13; --bg-2: #0D1118; --card: #11161F; --border: #1E2533; --text: #E6E9EF; --text-2: #AEB6C6; --muted: #8B95A8;
  --accent: #3A5FD9; --accent-3: #8AA8FF; --cyan: #22D3EE; --pos: #34D399; --neg: #F87171; --warn: #FBBF5A;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, sans-serif; font-size: 16px; line-height: 1.7; }
a { color: var(--accent-3); }
h1, h2, h3 { line-height: 1.3; margin: 0; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.pos { color: var(--pos); } .neg { color: var(--neg); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s; white-space: nowrap; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 30px -8px rgba(58, 95, 217, .7); }
.btn.primary:hover { background: #4A6FE6; }
.btn.ghost { color: var(--text); border-color: #2A3348; background: rgba(255, 255, 255, .02); }
.btn.ghost:hover { border-color: #3A4660; }
.btn.lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn.block { display: flex; width: 100%; }

.top { position: sticky; top: 0; z-index: 20; background: rgba(10, 13, 19, .82); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(30, 37, 51, .7); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #3A5FD9, #22D3EE); display: flex; align-items: center; justify-content: center; }
.logo b { display: block; font-size: 17px; line-height: 1.1; }
.logo small { color: var(--muted); font-size: 11px; }
.links { display: flex; gap: 26px; }
.links a { color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.links a:hover { color: #fff; }
.top-cta { display: flex; gap: 10px; }

.hero { position: relative; overflow: hidden; padding: 72px 0 80px; }
.glow { position: absolute; inset: -200px -10% auto; height: 640px; background: radial-gradient(closest-side, rgba(58, 95, 217, .28), transparent 70%), radial-gradient(closest-side at 70% 40%, rgba(34, 211, 238, .14), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #9DB6FF; background: #121C33; border: 1px solid #22345E; border-radius: 999px; padding: 5px 12px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 10px var(--pos); }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); margin: 20px 0 18px; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #8AA8FF, #22D3EE); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--text-2); margin: 0 0 28px; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--text-2); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; fill: none; stroke: var(--pos); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; padding-bottom: 104px; }
.mock { background: #0F141D; border: 1px solid #222B3C; border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02); overflow: hidden; }
.mock-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--muted); direction: ltr; }
.mock-dots { display: flex; gap: 6px; } .mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: #2A3348; }
.mock-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mock-kpis div { background: #0B0F16; border: 1px solid #1A2130; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; }
.mock-kpis small { font-size: 11px; color: var(--muted); }
.mock-kpis b { font-size: 18px; }
.mock-chart { width: 100%; height: auto; background: #0B0F16; border: 1px solid #1A2130; border-radius: 10px; display: block; }
.mock-row { display: flex; align-items: center; gap: 10px; background: #0B0F16; border: 1px solid #1A2130; border-radius: 10px; padding: 9px 12px; font-size: 13px; }
.mock-row > b:last-child { margin-inline-start: auto; }
.side { font-size: 11px; font-weight: 700; border-radius: 6px; padding: 1px 7px; }
.side.sell { background: #2A1519; color: #FCA5A5; } .side.buy { background: #0F2E24; color: #86EFAC; }
.tag { font-size: 11px; border-radius: 999px; padding: 2px 9px; border: 1px solid; }
.t-setup { background: #13203A; color: #AFC2FF; border-color: #2B4380; }
.t-bad { background: #2A1519; color: #FCA5A5; border-color: #4E242B; }
.pip-alert { position: absolute; inset-inline-start: -28px; bottom: 0; display: flex; gap: 12px; align-items: flex-start; max-width: 340px; background: rgba(18, 23, 34, .96); border: 1px solid #4A3614; border-radius: 16px; padding: 14px; box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .9), 0 0 30px -10px rgba(251, 191, 90, .35); }
.pip { width: 52px; height: 52px; flex: 0 0 auto; }
.pip-alert b { color: var(--warn); font-size: 13px; }
.pip-alert p { margin: 2px 0 0; font-size: 14px; line-height: 1.6; }

.band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); padding: 48px 0; }
.band-title { text-align: center; color: var(--text-2); margin: 0 0 26px; font-weight: 600; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pain { padding: 4px 0; }
.pain-n { color: var(--cyan); font-weight: 700; font-size: 14px; }
.pain h3 { font-size: 19px; margin: 6px 0 6px; }
.pain p { margin: 0; color: var(--text-2); font-size: 15px; }

.sec { padding: 96px 0; }
.sec.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 14px 0 10px; }
.sec-head p { color: var(--text-2); margin: 0; font-size: 17px; }
.feat { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.feat:hover { border-color: #2B3A5C; }
.ic { width: 44px; height: 44px; border-radius: 12px; background: #13203A; border: 1px solid #22345E; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { margin: 0; color: var(--text-2); font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--text-2); font-size: 15px; }
.safe { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; background: #0F2A22; border: 1px solid #17493A; border-radius: 16px; padding: 18px 20px; }
.safe svg { width: 26px; height: 26px; flex: 0 0 auto; fill: none; stroke: var(--pos); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.safe p { margin: 0; color: #BDF3DB; }

.price { max-width: 460px; margin: 0 auto; background: linear-gradient(180deg, #131B2E, #10151F); border: 1px solid #2B4380; border-radius: 22px; padding: 30px; box-shadow: 0 30px 70px -30px rgba(58, 95, 217, .55); }
.price-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.plan { font-weight: 700; font-size: 18px; }
.amount { display: flex; align-items: center; gap: 8px; }
.amount b { font-size: 52px; line-height: 1; }
.amount span { font-size: 14px; font-weight: 600; color: var(--text-2); line-height: 1.3; }
.amount small { color: var(--muted); font-weight: 500; }
.price ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.price li { display: flex; gap: 10px; font-size: 15px; }
.price li::before { content: ""; width: 18px; height: 18px; flex: 0 0 auto; margin-top: 4px; border-radius: 50%; background: #0F2E24 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%2334D399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.price-note { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-3); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 18px; color: var(--text-2); }

.final { padding: 90px 0; text-align: center; background: radial-gradient(closest-side, rgba(58, 95, 217, .22), transparent 75%); }
.final h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 24px; }
.foot { border-top: 1px solid var(--border); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot b { color: var(--text); }
.foot p { margin: 8px 0 0; max-width: 560px; font-size: 13px; }
.foot-links { display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .pip-alert { inset-inline-start: 12px; }
  .links { display: none; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .grid3, .steps { grid-template-columns: 1fr; }
  .top-cta .ghost { display: none; }
  .hero { padding: 48px 0 56px; }
  .sec { padding: 64px 0; }
  .pip-alert { position: relative; inset: auto; margin-top: -24px; max-width: none; }
  .hero-visual { padding-bottom: 0; }
  .btn.lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------------- Pip */
.logo-pip { width: 38px; height: 38px; display: block; filter: drop-shadow(0 0 10px rgba(34, 211, 238, .35)); }
.pip-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 10px 0; }
.pip-glow { position: absolute; top: 40px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 211, 238, .22), transparent 70%); pointer-events: none; }
.pip-big { position: relative; width: min(300px, 70vw); aspect-ratio: 1; }
.pip-big svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .6)); }
.pip-bubble { position: relative; max-width: 380px; text-align: center; background: #121722; border: 1px solid #22D3EE; border-radius: 16px; padding: 12px 16px; font-size: 16px; font-weight: 600; min-height: 52px; transition: border-color .3s; }
.pip-bubble::after { content: ""; position: absolute; bottom: -8px; left: 50%; width: 14px; height: 14px; background: #121722; border-right: 1px solid; border-bottom: 1px solid; border-color: inherit; transform: translateX(-50%) rotate(45deg); }
.moods { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.moods button { font: inherit; font-size: 13px; font-weight: 600; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #263045; background: #121722; color: var(--text-2); cursor: pointer; }
.moods button:hover { color: #fff; border-color: #3A4660; }
.moods button[aria-pressed="true"] { background: #13203A; color: #fff; border-color: #3A5FD9; }
.anim-idle svg { animation: float 3.2s ease-in-out infinite; }
.anim-happy svg { animation: bounce .7s ease-in-out 3; }
.anim-celebrate svg { animation: flip 1.1s cubic-bezier(.3, 1.4, .5, 1) 1; }
.anim-angry svg { animation: shake .12s linear 8; }
.anim-sad svg { animation: droop 2.4s ease-in-out infinite; }
.anim-worried svg { animation: wobble 1.2s ease-in-out infinite; }
.anim-sleep svg { animation: breathe 3.4s ease-in-out infinite; }
.pip-eye { transform-box: fill-box; transform-origin: center; animation: blink 4.2s infinite; }
.pip-z { animation: zz 2.4s ease-in-out infinite; } .pip-z2 { animation-delay: .8s; }
.pip-tear { animation: tear 2s ease-in infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes bounce { 50% { transform: translateY(-22px) scale(1.04); } }
@keyframes flip { 0% { transform: translateY(0) rotate(0); } 45% { transform: translateY(-50px) rotate(200deg); } 100% { transform: translateY(0) rotate(360deg); } }
@keyframes shake { 25% { transform: translateX(-6px) rotate(-3deg); } 75% { transform: translateX(6px) rotate(3deg); } }
@keyframes droop { 50% { transform: translateY(8px) rotate(-3deg); } }
@keyframes wobble { 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
@keyframes breathe { 50% { transform: scale(.97); opacity: .85; } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes zz { 0% { opacity: 0; transform: translateY(6px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes tear { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.confetti { position: absolute; top: 45%; left: 50%; pointer-events: none; }
.confetti i { position: absolute; width: 9px; height: 14px; border-radius: 2px; animation: pop 1.3s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes pop { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--x), calc(var(--y) + 220px)) rotate(var(--r)); opacity: 0; } }
.mood-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mood { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 22px; text-align: center; }
.mood-face { width: 96px; height: 96px; margin: 0 auto 12px; }
.mood-face svg { width: 100%; height: 100%; }
.mood h3 { font-size: 18px; margin-bottom: 6px; }
.mood p { margin: 0; color: var(--text-2); font-size: 15px; }
.voices { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: center; background: linear-gradient(135deg, #131B2E, #10151F); border: 1px solid #22345E; border-radius: 20px; padding: 26px; }
.voices h3 { font-size: 20px; margin-bottom: 8px; } .voices p { margin: 0; color: var(--text-2); }
.voices ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.voices li { display: flex; gap: 12px; align-items: baseline; background: #0B0F16; border: 1px solid #1A2130; border-radius: 12px; padding: 10px 14px; }
.voices li b { color: var(--cyan); min-width: 64px; } .voices li span { color: var(--text); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.h2s { font-size: clamp(26px, 3vw, 34px); margin: 14px 0 12px; }
.muted-p { color: var(--text-2); font-size: 17px; margin: 0; }
@media (max-width: 960px) { .mood-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .voices, .two { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .mood-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pip-big svg, .pip-eye, .pip-z, .pip-tear, .confetti i { animation: none !important; } }
