/* صفحه‌ی اصلی بوم */
.lp {
  --bg: #F6F7FC; --surface: #FFFFFF; --ink: #121735; --ink-2: #545B86; --line: rgba(18, 23, 53, .09);
  --accent: #3442D1; --grad: linear-gradient(135deg, #2D3BC6 0%, #5B4FE3 55%, #2BB3A6 120%);
  --grad-text: linear-gradient(110deg, #9AA6FF 5%, #C9B8FF 45%, #74E6D9 95%);
  --night: #080B24; --sh: 0 24px 60px -28px rgba(16, 24, 64, .35);
  background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
:root[data-theme="dark"] .lp { --bg: #070A1C; --surface: #0F1430; --ink: #E8EAF8; --ink-2: #9EA4CC; --line: rgba(255, 255, 255, .08); --sh: 0 24px 60px -28px rgba(0, 0, 0, .8); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lp { --bg: #070A1C; --surface: #0F1430; --ink: #E8EAF8; --ink-2: #9EA4CC; --line: rgba(255, 255, 255, .08); --sh: 0 24px 60px -28px rgba(0, 0, 0, .8); }
}
.lp-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.lp a { color: inherit; }
.lp :focus-visible { outline: 2px solid #8C98FF; outline-offset: 3px; border-radius: 8px; }

/* دکمه‌ها */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 14px;
  font-weight: 800; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s var(--ease), box-shadow .2s, background-color .2s;
}
.lp-btn svg { width: 18px; height: 18px; }
.lp-btn-s { min-height: 40px; padding: 0 16px; font-size: .92rem; border-radius: 12px; }
.lp-btn-primary { background: var(--grad); color: #fff !important; box-shadow: 0 14px 34px -14px rgba(91, 79, 227, .9), inset 0 1px 0 rgba(255, 255, 255, .22); }
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(91, 79, 227, 1), inset 0 1px 0 rgba(255, 255, 255, .22); }
.lp-btn-glass { background: rgba(255, 255, 255, .08); color: #EEF0FF !important; border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.lp-btn-glass:hover { background: rgba(255, 255, 255, .14); }

/* سربرگ */
.lp-top { position: fixed; inset-inline: 0; top: 0; z-index: 30; transition: background-color .25s, box-shadow .25s, backdrop-filter .25s; }
.lp-top.scrolled { background: rgba(8, 11, 36, .82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.lp-top-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.35rem; color: #fff !important; text-decoration: none; }
.lp-logo .logo-mark { width: 34px; height: 34px; padding: 6px; border-radius: 11px; background: var(--grad); box-shadow: 0 8px 20px -8px rgba(91, 79, 227, .8); }
.lp-nav { display: flex; gap: 6px; margin-inline-start: 12px; }
.lp-nav a { color: rgba(232, 235, 255, .74) !important; text-decoration: none; font-weight: 650; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.lp-nav a:hover { color: #fff !important; background: rgba(255, 255, 255, .07); }
.lp-top-cta { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lp-link { color: rgba(232, 235, 255, .85) !important; text-decoration: none; font-weight: 700; padding: 8px 10px; }
.lp-link:hover { color: #fff !important; }

/* قهرمان */
.lp-hero { position: relative; background: var(--night); color: #EEF0FF; padding: 140px 0 40px; overflow: hidden; isolation: isolate; }
.lp-aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lp-aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 16s ease-in-out infinite alternate; }
.lp-aurora i:nth-child(1) { width: 560px; height: 560px; background: #4B3FD9; top: -180px; right: -80px; }
.lp-aurora i:nth-child(2) { width: 460px; height: 460px; background: #1E9C90; top: 120px; left: -140px; animation-delay: -5s; opacity: .4; }
.lp-aurora i:nth-child(3) { width: 380px; height: 380px; background: #B8862A; bottom: -200px; right: 30%; animation-delay: -9s; opacity: .25; }
.lp-aurora.soft i { opacity: .28; }
@keyframes float { to { transform: translate3d(30px, 40px, 0) scale(1.08); } }
.lp-grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.lp-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.lp-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #D7DBFF; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); }
.lp-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDBC8; box-shadow: 0 0 0 4px rgba(61, 219, 200, .2); }
.lp-hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 900; line-height: 1.3; letter-spacing: -.035em; margin: 22px 0 18px; }
.lp-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 2.05; color: rgba(225, 229, 255, .78); max-width: 34em; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.lp-note { margin-top: 18px; font-size: .88rem; color: rgba(225, 229, 255, .55); }

/* پنجره‌ی نمونه */
.lp-demo {
  margin: 0; border-radius: 24px; background: rgba(16, 21, 58, .72); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08); backdrop-filter: blur(16px); overflow: hidden;
}
.lp-demo-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.lp-demo-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.lp-demo-bar b { margin-inline-start: auto; font-size: .85rem; color: rgba(225, 229, 255, .6); font-weight: 700; }
.lp-demo-body { height: 360px; padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; justify-content: flex-end; }
.lp-demo .m { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.95; animation: pop .35s var(--ease) both; white-space: pre-line; }
.lp-demo .m.u { align-self: flex-start; background: rgba(91, 79, 227, .32); border: 1px solid rgba(155, 145, 255, .25); border-bottom-right-radius: 6px; }
.lp-demo .m.b { align-self: flex-end; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-bottom-left-radius: 6px; color: #E4E7FF; }
.lp-demo .m.voice { display: flex; align-items: center; gap: 10px; }
.lp-demo .m.voice i { display: flex; gap: 3px; align-items: center; }
.lp-demo .m.voice i b { width: 3px; border-radius: 3px; background: #B9B0FF; animation: bar 1s ease-in-out infinite; }
.lp-demo .m.voice i b:nth-child(odd) { animation-delay: .2s; }
@keyframes bar { 0%, 100% { height: 6px; } 50% { height: 18px; } }
.lp-demo .tag { display: inline-block; font-size: .78rem; color: #8FE8DC; font-weight: 700; margin-bottom: 2px; }
.lp-demo .typing { display: inline-flex; gap: 4px; }
.lp-demo .typing i { width: 7px; height: 7px; border-radius: 50%; background: #9EA8FF; animation: dot 1.2s infinite; }
.lp-demo .typing i:nth-child(2) { animation-delay: .15s; } .lp-demo .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-4px); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.lp-demo-input { display: flex; align-items: center; justify-content: space-between; margin: 0 14px 14px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); color: rgba(225, 229, 255, .45); font-size: .9rem; }
.lp-demo-input i { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); }

.lp-trust { list-style: none; margin: 64px 0 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.lp-trust li { display: grid; gap: 2px; }
.lp-trust b { font-size: 1.02rem; font-weight: 850; color: #fff; }
.lp-trust span { font-size: .86rem; color: rgba(225, 229, 255, .55); }

/* بخش‌ها */
.lp-sec { position: relative; padding: 110px 0; }
.lp-sec-tint { background: linear-gradient(180deg, transparent, rgba(91, 79, 227, .05) 30%, rgba(91, 79, 227, .05) 70%, transparent); }
.lp-sec-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.lp-kicker { display: inline-block; font-size: .85rem; font-weight: 800; color: #5B4FE3; background: rgba(91, 79, 227, .1); padding: 4px 14px; border-radius: 999px; margin-bottom: 14px; }
.lp-sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.45; }
.lp-sec-head p { color: var(--ink-2); font-size: 1.05rem; line-height: 2; margin-top: 10px; }

.lp-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: grid; gap: 10px; align-content: start; box-shadow: 0 1px 2px rgba(16, 24, 64, .04); transition: transform .25s var(--ease), box-shadow .25s; }
.lp-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.lp-card-xl { grid-column: span 2; grid-row: span 2; background: radial-gradient(600px 300px at 100% 0%, rgba(91, 79, 227, .1), transparent 70%), var(--surface); }
.lp-card h3 { font-size: 1.2rem; font-weight: 850; }
.lp-card p { color: var(--ink-2); line-height: 2; font-size: .97rem; }
.lp-ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 13%, transparent); color: var(--c); margin-bottom: 6px; }
.lp-ico svg { width: 24px; height: 24px; }
.lp-mini-chat { margin-top: 16px; display: grid; gap: 10px; }
.lp-mini-chat div { padding: 12px 16px; border-radius: 18px; font-size: .94rem; line-height: 1.95; max-width: 90%; }
.lp-mini-chat .u { justify-self: start; background: #ECEEFF; color: #1B2160; border-bottom-right-radius: 6px; }
.lp-mini-chat .b { justify-self: end; background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 6px; }

.lp-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; margin: 0 auto; }
.lp-tools span {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px; font-weight: 750; font-size: .97rem;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 24, 64, .04); transition: transform .2s var(--ease), border-color .2s;
}
.lp-tools span::before { content: ""; width: 10px; height: 10px; border-radius: 4px; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 16%, transparent); }
.lp-tools span:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.lp-center { text-align: center; margin-top: 40px; }

/* کسب‌وکار (تیره) */
.lp-dark { background: var(--night); color: #EEF0FF; overflow: hidden; isolation: isolate; }
.lp-dark .lp-kicker { color: #B9B0FF; background: rgba(155, 145, 255, .14); }
.lp-biz { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lp-biz-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.45; }
.lp-biz-copy > p { color: rgba(225, 229, 255, .72); line-height: 2; margin: 12px 0 26px; font-size: 1.04rem; }
.lp-checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 18px; }
.lp-checks li { display: grid; gap: 4px; padding-inline-start: 34px; position: relative; }
.lp-checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 22px; height: 22px; border-radius: 8px; background: var(--grad) center / 100% no-repeat; }
.lp-checks li::after { content: ""; position: absolute; inset-inline-start: 8px; top: 8px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lp-checks b { font-size: 1.05rem; font-weight: 850; }
.lp-checks span { color: rgba(225, 229, 255, .66); line-height: 1.95; font-size: .95rem; }
.lp-biz-visual { position: relative; display: grid; gap: 18px; }
.lp-code { border-radius: 20px; background: #050822; border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); overflow: hidden; }
.lp-code-head { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.lp-code-head span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.lp-code-head b { margin-inline-start: auto; font-size: .8rem; color: rgba(225, 229, 255, .5); font-weight: 600; }
.lp-code pre { margin: 0; padding: 18px 20px; font: 13px/1.85 ui-monospace, Consolas, monospace; color: #D6DAFF; overflow-x: auto; text-align: left; }
.lp-code .k { color: #C4A8FF; } .lp-code .s { color: #8FE8DC; } .lp-code .c { color: #F6CF73; }
.lp-widget { justify-self: end; width: min(330px, 100%); margin-top: -70px; margin-inline-end: -10px; border-radius: 20px; background: #fff; color: #141A45; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7); overflow: hidden; }
.lp-widget-h { background: var(--grad); color: #fff; padding: 14px 16px; display: grid; }
.lp-widget-h small { display: flex; align-items: center; gap: 6px; opacity: .9; font-size: .8rem; }
.lp-widget-h i { width: 7px; height: 7px; border-radius: 50%; background: #7CF0A8; }
.lp-widget-b { padding: 14px; display: grid; gap: 8px; background: #F4F5FA; font-size: .88rem; line-height: 1.85; }
.lp-widget-b div { padding: 8px 12px; border-radius: 14px; max-width: 88%; }
.lp-widget-b .b { justify-self: end; background: #fff; border: 1px solid #E3E6F2; }
.lp-widget-b .u { justify-self: start; background: #3442D1; color: #fff; }

/* قدم‌ها */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.lp-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px 28px; display: grid; gap: 8px; }
.lp-steps span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; color: #fff; background: var(--grad); margin-bottom: 8px; box-shadow: 0 12px 26px -12px rgba(91, 79, 227, .9); }
.lp-steps h3 { font-size: 1.15rem; font-weight: 850; }
.lp-steps p { color: var(--ink-2); line-height: 2; }

/* پرسش‌ها */
.lp-faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.lp-faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; transition: box-shadow .2s; }
.lp-faq-list details[open] { box-shadow: var(--sh); }
.lp-faq-list summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; font-size: 1.03rem; display: flex; justify-content: space-between; gap: 12px; }
.lp-faq-list summary::-webkit-details-marker { display: none; }
.lp-faq-list summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: #5B4FE3; transition: transform .2s; }
.lp-faq-list details[open] summary::after { transform: rotate(45deg); }
.lp-faq-list p { color: var(--ink-2); line-height: 2.05; padding-bottom: 18px; }

/* پایان */
.lp-final { position: relative; background: var(--night); color: #fff; padding: 100px 0; text-align: center; overflow: hidden; isolation: isolate; }
.lp-final h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 900; letter-spacing: -.03em; }
.lp-final p { color: rgba(225, 229, 255, .7); margin: 12px 0 30px; font-size: 1.05rem; }
.lp-foot { background: #05071A; color: rgba(225, 229, 255, .6); padding: 34px 0; }
.lp-foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-foot p { font-size: .9rem; }
.lp-foot nav { margin-inline-start: auto; display: flex; gap: 18px; }
.lp-foot nav a { text-decoration: none; font-size: .9rem; }
.lp-foot nav a:hover { color: #fff; }

/* نمایش با اسکرول */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .lp-hero-in, .lp-biz { grid-template-columns: 1fr; gap: 40px; }
  .lp-bento { grid-template-columns: 1fr 1fr; }
  .lp-card-xl { grid-column: span 2; grid-row: auto; }
  .lp-trust { grid-template-columns: 1fr 1fr; }
  .lp-widget { margin-top: -40px; }
}
@media (max-width: 720px) {
  .lp-nav { display: none; }
  .lp-hero { padding: 110px 0 30px; }
  .lp-demo-body { height: 300px; }
  .lp-sec { padding: 72px 0; }
  .lp-bento, .lp-steps { grid-template-columns: 1fr; }
  .lp-card-xl { grid-column: auto; }
  .lp-tools span { font-size: .9rem; padding: 10px 14px; }
  .lp-foot nav { margin-inline-start: 0; }
  .lp-widget { justify-self: center; margin-inline-end: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-aurora i, .lp-demo .m, .lp-demo .m.voice i b { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
