:root {
    --brand: #4D3CD5;
    --brand-dark: #3728bd;
    --brand-light: #7162ec;
    --brand-soft: #efedff;
    --ink: #17152d;
    --muted: #716d84;
    --line: #e8e5f1;
    --surface: #ffffff;
    --soft: #f8f7fc;
    --success: #159768;
    --danger: #c83e57;
    --shadow-sm: 0 12px 34px rgba(34, 27, 82, .07);
    --shadow-lg: 0 34px 85px rgba(37, 27, 113, .16);
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: #fff;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { width: 1.15em; height: 1.15em; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; inset: 10px auto auto 10px; z-index: 999; transform: translateY(-160%); padding: 9px 14px; border-radius: 10px; color: #fff; background: var(--ink); }
.skip-link:focus { transform: translateY(0); }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 110; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--brand), #8c7cff); box-shadow: 0 0 12px rgba(77,60,213,.45); }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: 86px;
    display: flex;
    align-items: center;
    transition: height .28s ease, background .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
}
.site-header.is-scrolled {
    height: 72px;
    background: rgba(255,255,255,.91);
    box-shadow: 0 10px 34px rgba(25,21,57,.07);
    backdrop-filter: blur(18px);
}
.header-inner { display: flex; align-items: center; gap: 34px; direction: ltr; }
.brand { order: 1; flex: 0 0 auto; display: inline-flex; align-items: center; transition: opacity .2s ease, transform .2s ease; }
.brand:hover { opacity: .82; transform: translateY(-1px); }
.brand img { width: 174px; height: auto; }
.main-nav { order: 2; display: flex; align-items: center; justify-content: center; gap: 26px; margin-inline: auto; direction: rtl; }
.main-nav a { position: relative; padding: 7px 0; color: #514d66; font-size: .91rem; font-weight: 650; transition: color .2s ease; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 2px; width: 0; height: 2px; border-radius: 5px; background: var(--brand); transition: width .25s ease; }
.main-nav a:hover { color: var(--brand); }
.main-nav a:hover::after { width: 100%; }
.header-cta { order: 3; direction: rtl; }

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--brand);
    border-radius: 13px;
    padding: 10px 21px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #6655e4);
    box-shadow: 0 12px 28px rgba(77,60,213,.21);
    font-weight: 780;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 17px 36px rgba(77,60,213,.28); filter: saturate(1.08); }
.button:active { transform: translateY(0); }
.button-sm { min-height: 42px; padding: 8px 17px; border-radius: 11px; font-size: .87rem; }

.hero {
    position: relative;
    overflow: hidden;
    padding: 142px 0 62px;
    background: linear-gradient(180deg, #fbfaff 0%, #fff 86%);
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none; background-image: radial-gradient(rgba(77,60,213,.13) .7px, transparent .7px); background-size: 25px 25px; mask-image: linear-gradient(to bottom, #000, transparent 72%); }
.hero::after { content: ""; position: absolute; inset: auto -10% 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(77,60,213,.22), transparent); }
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(1px); }
.hero-orb-one { width: 420px; height: 420px; left: -235px; top: 95px; background: rgba(77,60,213,.075); }
.hero-orb-two { width: 220px; height: 220px; right: -105px; bottom: 110px; border: 1px solid rgba(77,60,213,.13); }
.hero-grid { position: relative; z-index: 2; display: flex; align-items: center; gap: 30px; min-height: 555px; }
.hero-copy { width: 46%; padding-block: 20px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--brand); font-size: .84rem; font-weight: 850; }
.eyebrow i { width: 25px; height: 2px; border-radius: 4px; background: var(--brand); }
.hero h1 { margin: 16px 0 17px; max-width: 650px; font-size: clamp(2.7rem, 5vw, 4.9rem); line-height: 1.24; letter-spacing: -.058em; font-weight: 900; }
.hero h1 strong { color: var(--brand); font-weight: 900; }
.hero-lead { max-width: 570px; margin: 0; color: var(--muted); font-size: 1.07rem; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 29px; }
.hero-actions .button svg, .form-submit .submit-arrow { transform: rotate(180deg); }
.secondary-action { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 17px; border: 1px solid var(--line); border-radius: 13px; color: #4d485e; background: rgba(255,255,255,.78); box-shadow: var(--shadow-sm); font-size: .9rem; font-weight: 730; transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.secondary-action:hover { color: var(--brand); border-color: #d6cff8; transform: translateY(-2px); }
.secondary-action svg { color: var(--brand); }
.hero-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: #646075; font-size: .85rem; font-weight: 600; }
.hero-note svg { color: var(--success); }
.hero-visual { position: relative; width: 54%; min-height: 535px; display: flex; align-items: center; justify-content: center; direction: ltr; }
.visual-glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(77,60,213,.18), rgba(77,60,213,.06) 48%, transparent 72%); filter: blur(5px); }
.monitor-image { position: relative; z-index: 2; width: min(100%, 690px); height: auto; filter: drop-shadow(0 34px 36px rgba(27,22,67,.19)); animation: monitorFloat 6s ease-in-out infinite; }
.visual-badge { position: absolute; z-index: 3; left: 4%; bottom: 14%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.85); border-radius: 999px; color: #45405b; background: rgba(255,255,255,.88); box-shadow: 0 18px 44px rgba(44,35,109,.12); backdrop-filter: blur(14px); font-size: .78rem; font-weight: 750; direction: rtl; }
.visual-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(21,151,104,.10); }
.language-notice { position: relative; z-index: 4; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 5px; padding: 17px 20px; border: 1px solid #e8e4fb; border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); }
.notice-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--brand); background: var(--brand-soft); font-size: 1.2rem; }
.notice-copy strong { display: block; font-size: .94rem; }
.notice-copy p { margin: 1px 0 0; color: var(--muted); font-size: .86rem; }
.language-status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; color: #146e50; background: #eaf9f3; font-size: .77rem; font-weight: 850; }
.language-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }

.section { padding: 90px 0; }
.section-heading { max-width: 600px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2 { margin: 11px 0 9px; font-size: clamp(2rem,3.2vw,3.05rem); line-height: 1.45; letter-spacing: -.042em; font-weight: 870; }
.section-heading p { margin: 0; color: var(--muted); }
.features-section { background: #f8f7fc; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 42px; }
.feature-card { position: relative; overflow: hidden; min-height: 240px; padding: 27px; border: 1px solid rgba(224,220,240,.9); border-radius: 22px; background: #fff; box-shadow: 0 15px 42px rgba(38,31,85,.05); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.feature-card::after { content: ""; position: absolute; width: 140px; height: 140px; left: -82px; bottom: -88px; border-radius: 50%; background: rgba(77,60,213,.055); transition: transform .35s ease; }
.feature-card:hover { transform: translateY(-7px); border-color: #d4cef6; box-shadow: 0 24px 55px rgba(44,34,120,.11); }
.feature-card:hover::after { transform: scale(1.25); }
.feature-number { position: absolute; left: 25px; top: 23px; color: #c3bed9; font-size: .75rem; font-weight: 900; }
.feature-icon { width: 55px; height: 55px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 17px; color: var(--brand); background: var(--brand-soft); font-size: 1.4rem; transition: transform .28s ease; }
.feature-card:hover .feature-icon { transform: translateY(-3px) rotate(-3deg); }
.feature-card h3 { margin: 0 0 7px; font-size: 1.2rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.demo-section { position: relative; overflow: hidden; padding: 94px 0; color: #fff; background: linear-gradient(135deg,#211a59 0%,#302574 100%); }
.demo-pattern { position: absolute; inset: 0; opacity: .28; background-image: radial-gradient(rgba(255,255,255,.24) .7px, transparent .7px); background-size: 28px 28px; mask-image: linear-gradient(120deg,#000,transparent 78%); }
.demo-section::before { content: ""; position: absolute; width: 440px; height: 440px; right: -240px; top: -200px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); }
.demo-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 62px; }
.section-kicker.light { color: #c9c2ff; }
.demo-copy h2 { margin: 12px 0 12px; font-size: clamp(2.15rem,3.5vw,3.35rem); line-height: 1.48; letter-spacing: -.045em; }
.demo-copy > p { max-width: 480px; margin: 0; color: #cbc7df; font-size: .95rem; }
.demo-steps { display: grid; gap: 10px; margin-top: 28px; }
.demo-steps > div { width: min(100%, 410px); display: grid; grid-template-columns: 39px 1fr; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.055); }
.demo-steps > div > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: rgba(255,255,255,.11); font-size: .78rem; font-weight: 850; }
.demo-steps p { margin: 0; display: flex; flex-direction: column; line-height: 1.55; }
.demo-steps b { color: #fff; font-size: .82rem; }
.demo-steps small { color: #aaa5c8; font-size: .7rem; }
.form-card { color: var(--ink); padding: 24px; border: 1px solid rgba(255,255,255,.5); border-radius: 23px; background: #fff; box-shadow: var(--shadow-lg); }
.form-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.form-heading > div > span { color: var(--brand); font-size: .72rem; font-weight: 850; }
.form-heading h3 { margin: 3px 0 0; font-size: 1.25rem; }
.form-heading > small { display: inline-flex; align-items: center; gap: 7px; color: #6d687d; font-size: .72rem; white-space: nowrap; }
.form-heading > small i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(21,151,104,.10); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 11px; }
.field { min-width: 0; }
.field-full { grid-column: 1/-1; }
.field label { display: block; margin-bottom: 4px; color: #3e394f; font-size: .76rem; font-weight: 760; }
.field label span { color: var(--danger); }
.field label em { color: #a9a4b6; font-size: .7rem; font-style: normal; font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #dfdce8; border-radius: 10px; outline: 0; color: var(--ink); background: #fbfbfd; padding: 8px 11px; font-size: .84rem; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field input, .field select { height: 42px; }
.field textarea { min-height: 88px; resize: vertical; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #aaa6b8; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(77,60,213,.10); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(200,62,87,.08); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-left: 36px; cursor: pointer; }
.select-wrap > svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #8f899e; pointer-events: none; }
.field-hint { display: block; margin-top: 3px; color: #9a95a8; font-size: .63rem; line-height: 1.45; }
.field-error { display: block; min-height: 13px; margin-top: 1px; color: var(--danger); font-size: .64rem; line-height: 1.35; }
.form-submit { width: 100%; min-height: 46px; margin-top: 4px; border-radius: 11px; }
.button-loader { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.form-submit.is-loading .button-label, .form-submit.is-loading .submit-arrow { display: none; }
.form-submit.is-loading .button-loader { display: block; }
.form-status { display: none; margin-top: 9px; border-radius: 9px; padding: 9px 11px; font-size: .75rem; }
.form-status.is-success { display: block; color: #116246; background: #e9f8f1; }
.form-status.is-error { display: block; color: #9e2d42; background: #fff0f3; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.site-footer { position: relative; color: #dcd9eb; background: #151225; }
.site-footer::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 1px; background: linear-gradient(90deg,transparent,rgba(151,137,255,.55),transparent); }
.footer-main { display: grid; grid-template-columns: 1.08fr .62fr 1.25fr; align-items: start; gap: 58px; padding: 55px 0 43px; }
.footer-logo { display: inline-flex; }
.footer-brand img { width: 168px; filter: brightness(0) invert(1); opacity: .98; }
.footer-brand p { max-width: 390px; margin: 15px 0 14px; color: #9f9aaf; font-size: .84rem; line-height: 1.9; }
.footer-language { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; color: #beb9ca; background: rgba(255,255,255,.035); font-size: .7rem; font-weight: 720; }
.footer-language i { width: 7px; height: 7px; border-radius: 50%; background: #2dc88f; box-shadow: 0 0 0 4px rgba(45,200,143,.11); }
.footer-links h3, .footer-support h3 { margin: 0 0 15px; color: #fff; font-size: .94rem; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { width: fit-content; color: #a7a2b3; font-size: .8rem; transition: color .2s ease, transform .2s ease; }
.footer-links a::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 8px; border-radius: 50%; background: #6f61e8; vertical-align: middle; }
.footer-links a:hover { color: #fff; transform: translateX(-3px); }
.footer-support { padding: 18px 20px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(255,255,255,.035); }
.footer-kicker { color: #a99fff; font-size: .68rem; font-weight: 820; }
.footer-support h3 { margin: 5px 0 7px; font-size: 1rem; }
.footer-support > p { margin: 0 0 14px; color: #9994a6; font-size: .76rem; line-height: 1.8; }
.footer-contact-list { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-contact-list a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; color: #d4cfde; background: rgba(255,255,255,.04); font-size: .75rem; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.footer-contact-list a:hover { color: #fff; border-color: rgba(198,192,255,.3); background: rgba(255,255,255,.075); }
.footer-contact-list svg { color: #bbb3ff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0 22px; border-top: 1px solid rgba(255,255,255,.07); color: #817c8c; font-size: .73rem; }
.footer-bottom a { color: #c5beff; font-weight: 750; transition: color .2s ease; }
.footer-bottom a:hover { color: #fff; }
.footer-development { display: inline-flex; align-items: center; gap: 5px; }

.js [data-reveal] { opacity: 0; filter: blur(6px); transition: opacity .72s cubic-bezier(.22,.61,.36,1), transform .72s cubic-bezier(.22,.61,.36,1), filter .72s ease; will-change: transform,opacity; }
.js [data-reveal="up"] { transform: translateY(28px); }
.js [data-reveal="right"] { transform: translateX(34px); }
.js [data-reveal="left"] { transform: translateX(-34px); }
.js [data-reveal].is-visible { opacity: 1; filter: blur(0); transform: translate3d(0,0,0); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes monitorFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,*::before,*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .js [data-reveal] { opacity: 1; filter: none; transform: none; }
}

@media (max-width: 1040px) {
    .main-nav { gap: 18px; }
    .hero-grid { gap: 8px; }
    .hero-copy { width: 48%; }
    .hero-visual { width: 52%; min-height: 490px; }
    .demo-grid { gap: 40px; }
    .footer-main { gap: 34px; }
}

@media (max-width: 860px) {
    .site-header { height: 76px; }
    .header-inner { justify-content: space-between; gap: 12px; }
    .brand img { width: 150px; }
    .main-nav { display: none; }
    .header-cta { min-height: 40px; padding: 7px 14px; font-size: .82rem; }
    .hero { padding-top: 112px; }
    .hero-grid { flex-direction: column; min-height: auto; text-align: center; }
    .hero-copy,.hero-visual { width: 100%; }
    .hero-copy { padding-bottom: 0; }
    .hero-lead { margin-inline: auto; }
    .hero-actions,.hero-note { justify-content: center; }
    .hero-visual { min-height: 420px; margin-top: -8px; }
    .monitor-image { width: min(92%,650px); }
    .visual-badge { left: 12%; }
    .language-notice { margin-top: -5px; text-align: right; }
    .feature-grid { grid-template-columns: repeat(3,1fr); gap: 13px; }
    .feature-card { min-height: 225px; padding: 22px; }
    .demo-grid { grid-template-columns: 1fr; gap: 38px; }
    .demo-copy { text-align: center; }
    .demo-copy > p { margin-inline: auto; }
    .demo-steps { justify-items: center; }
    .demo-steps > div { text-align: right; }
    .footer-main { grid-template-columns: 1.15fr .7fr; gap: 35px; }
    .footer-support { grid-column: 1/-1; }
}

@media (max-width: 640px) {
    .container { width: min(calc(100% - 28px),var(--container)); }
    .brand img { width: 132px; }
    .header-cta { min-height: 38px; padding: 6px 12px; border-radius: 10px; font-size: .76rem; }
    .hero { padding: 101px 0 51px; }
    .hero h1 { font-size: clamp(2.3rem,12vw,3.25rem); }
    .hero-lead { font-size: .94rem; }
    .hero-actions { flex-direction: column; gap: 10px; }
    .hero-actions .button, .secondary-action { width: 100%; }
    .hero-note { font-size: .78rem; }
    .hero-visual { min-height: 305px; margin-top: 12px; }
    .monitor-image { width: 108%; max-width: none; }
    .visual-badge { display: none; }
    .language-notice { grid-template-columns: auto 1fr; padding: 14px; border-radius: 16px; }
    .language-status { grid-column: 2; justify-self: start; }
    .notice-copy p { font-size: .78rem; }
    .section { padding: 70px 0; }
    .section-heading h2 { font-size: 1.9rem; }
    .feature-grid { grid-template-columns: 1fr; margin-top: 31px; }
    .feature-card { min-height: 200px; }
    .demo-section { padding: 72px 0; }
    .demo-copy h2 { font-size: 2.05rem; }
    .demo-steps > div { width: 100%; }
    .form-card { padding: 18px 14px; border-radius: 19px; }
    .form-heading { align-items: flex-start; }
    .form-heading > small { display: none; }
    .form-grid { grid-template-columns: 1fr; gap: 7px; }
    .field-full { grid-column: auto; }
    .footer-main { grid-template-columns: 1fr; gap: 30px; padding-top: 42px; }
    .footer-brand, .footer-links { text-align: center; align-items: center; }
    .footer-brand p { margin-inline: auto; }
    .footer-links a { margin-inline: auto; }
    .footer-support { grid-column: auto; text-align: center; }
    .footer-contact-list { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
