.kh-trial {
    --trial-surface: #fff; --trial-ink: #162943; --trial-muted: #52647b;
    box-sizing: border-box; padding: 0; border: 1px solid #dce6ef; border-radius: 26px;
    width: min(760px, calc(100% - 40px)); max-width: 760px; max-height: calc(100dvh - 40px);
    margin: auto; background: var(--trial-surface); color: var(--trial-ink);
    font-family: Vazirmatn, Tahoma, sans-serif; text-align: right; line-height: 1.8;
    box-shadow: 0 30px 100px #020c2866; overflow: auto; overscroll-behavior: contain;
}
.kh-trial:not([open]) { display: none; }
.kh-trial *, .kh-trial *::before, .kh-trial *::after { box-sizing: border-box; }
.kh-trial::backdrop { background: #05132699; backdrop-filter: blur(5px); }
.kh-trial__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.kh-trial__close { position: absolute; top: 12px; left: 12px; z-index: 1; width: 40px; height: 40px; border: 1px solid #8293a544; border-radius: 50%; background: var(--trial-surface); color: var(--trial-muted); font: 28px/1 Tahoma, sans-serif; cursor: pointer; }
.kh-trial__art { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 18px; padding: 32px 24px; overflow: hidden; background: radial-gradient(ellipse at 20% 45%, #147b8c80, transparent 65%), linear-gradient(155deg, #122b4d, #071628); color: #fff; }
.kh-trial__brand { align-self: stretch; font-size: 18px; font-weight: 800; letter-spacing: 2px; }
.kh-trial__brand span { display: block; font-size: 11px; font-weight: 400; letter-spacing: 0; color: #b6cce0; margin-top: 4px; }
.kh-trial__orbit { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 184px; height: 184px; border: 1px solid #6be3db55; border-radius: 50%; box-shadow: 0 0 0 16px #6be3db07, 0 0 0 32px #6be3db04; }
.kh-trial__number { font-size: 100px; font-weight: 800; line-height: 1.1; color: #8cf2de; text-shadow: 0 0 40px #64dfd144; }
.kh-trial__days { font-size: 13px; color: #cce5ee; }
.kh-trial__visual { width: 100%; padding: 14px 16px; border: 1px solid #a2c6e533; border-radius: 14px; background: #ffffff08; font-size: 12px; }
.kh-trial__bars { display: flex; align-items: end; gap: 8px; height: 48px; margin: 12px 0; direction: ltr; }
.kh-trial__bars i { flex: 1; height: 30%; background: linear-gradient(#6de9d4, #299eac); border-radius: 4px 4px 1px 1px; }
.kh-trial__bars i:nth-child(2) { height: 52%; } .kh-trial__bars i:nth-child(3) { height: 43%; } .kh-trial__bars i:nth-child(4) { height: 70%; } .kh-trial__bars i:nth-child(5) { height: 57%; } .kh-trial__bars i:nth-child(6) { height: 83%; } .kh-trial__bars i:nth-child(7) { height: 100%; }
.kh-trial__visual-note { font-size: 10px; color: #b6cce0; }
.kh-trial__content { padding: 54px 32px 26px; }
.kh-trial__eyebrow { color: #087769; font-size: 12px; font-weight: 700; }
.kh-trial h2 { font-size: 27px; line-height: 1.7; font-weight: 800; margin: 10px 0 14px; color: var(--trial-ink); }
.kh-trial h2 span { font-size: 22px; }
.kh-trial #kh-trial-description { font-size: 14px; color: var(--trial-muted); margin: 0 0 18px; line-height: 2; }
.kh-trial__benefits { display: grid; gap: 5px; color: var(--trial-muted); font-size: 12px; margin-bottom: 23px; }
.kh-trial a.kh-trial__cta { display: flex; justify-content: center; align-items: center; gap: 18px; min-height: 52px; width: 100%; border-radius: 12px; background: #087c70; color: #fff; text-decoration: none; font-size: 15px; font-weight: 700; box-shadow: 0 6px 18px #087c701c; }
.kh-trial a.kh-trial__cta:hover { background: #06665c; color: #fff; }
.kh-trial .kh-trial__terms { margin: 10px 0 6px; color: var(--trial-muted); text-align: center; font-size: 10px; }
.kh-trial__later { display: block; min-height: 44px; width: 100%; border: 0; background: transparent; color: var(--trial-muted); font: inherit; font-size: 12px; cursor: pointer; padding: 7px 0; }
.kh-trial :focus-visible { outline: 3px solid #299fcb; outline-offset: 3px; }
html.kh-trial-open { overflow: hidden; }
[data-theme="dark"] .kh-trial { --trial-surface: #142238; --trial-ink: #eff6ff; --trial-muted: #b8c9da; border-color: #34455c; }
[data-theme="dark"] .kh-trial__eyebrow { color: #8cf2de; }
@media (max-width: 600px) {
    .kh-trial { width: 100%; max-width: 100%; max-height: calc(100dvh - 20px); margin: auto 0 0; border-radius: 24px 24px 0 0; border-bottom: 0; }
    .kh-trial__layout { display: flex; flex-direction: column; }
    .kh-trial__art { flex-direction: row; justify-content: flex-start; gap: 22px; padding: 22px 24px; min-height: 120px; }
    .kh-trial__brand { align-self: center; order: 2; }
    .kh-trial__orbit { flex-shrink: 0; width: 88px; height: 88px; box-shadow: 0 0 0 8px #6be3db07; }
    .kh-trial__number { font-size: 55px; } .kh-trial__days { font-size: 9px; }
    .kh-trial__visual { display: none; }
    .kh-trial__content { padding: 22px 24px max(16px, env(safe-area-inset-bottom)); }
    .kh-trial h2 { margin: 5px 0 10px; font-size: 25px; } .kh-trial h2 span { font-size: 21px; }
    .kh-trial__benefits { margin-bottom: 18px; }
    .kh-trial__close { width: 36px; height: 36px; top: 10px; left: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
    .kh-trial[open] { animation: kh-trial-enter .22s ease-out; }
    @keyframes kh-trial-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
