:root {
    color-scheme: dark;
    --page: #090a10;
    --surface: #11121b;
    --surface-soft: #151621;
    --surface-lift: #1a1b28;
    --line: rgba(255, 255, 255, .09);
    --text: #f5f3fa;
    --muted: #b0adbd;
    --quiet: #777487;
    --purple: #b69cff;
    --pink: #f09bdb;
    --glow: rgba(163, 124, 255, .16);
    --width: 1160px;
    font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    min-width: 320px;
    margin: 0;
    background:
        radial-gradient(ellipse at 50% -18%, rgba(126, 91, 224, .15), transparent 43rem),
        var(--page);
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--purple); }
a:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 4px;
    border-radius: 5px;
}
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(9, 10, 16, .78);
    backdrop-filter: blur(18px);
}
.nav-wrap, .container, .footer-wrap {
    width: min(var(--width), calc(100% - 56px));
    margin-inline: auto;
}
.nav-wrap {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
}
.brand-logo {
    width: 39px;
    height: 39px;
    overflow: hidden;
    border: 1px solid rgba(182, 156, 255, .28);
    border-radius: 12px;
    background: #171322;
    object-fit: cover;
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-name {
    font-family: Manrope, "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.035em;
}
.brand-caption {
    margin-top: 4px;
    color: var(--quiet);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: color .18s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav .nav-cta { color: var(--purple); }

.hero {
    position: relative;
    padding: 96px 0 80px;
}
.hero::before {
    position: absolute;
    z-index: -1;
    top: 48px;
    right: 5%;
    width: 290px;
    height: 290px;
    border-radius: 50%;
    background: var(--glow);
    content: "";
    filter: blur(95px);
    pointer-events: none;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--purple);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.eyebrow::before {
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    content: "";
}
.hero h1, .page-intro h1 {
    max-width: 820px;
    margin: 20px 0 18px;
    font-family: Manrope, "DM Sans", sans-serif;
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 700;
    letter-spacing: -.075em;
    line-height: .99;
}
.gradient-text {
    background: linear-gradient(100deg, #cfbaff 8%, #f3a8dc 83%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lead {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 17px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
    border-color: transparent;
    background: linear-gradient(110deg, #8e6ae0, #c277c1);
    box-shadow: 0 8px 26px rgba(140, 101, 224, .22);
    color: #fff;
}
.button-primary:hover { color: #fff; filter: brightness(1.08); }
.button svg { width: 16px; height: 16px; }
.hero-note { margin-top: 26px; color: var(--quiet); font-size: 12px; }

.section { padding: 36px 0 92px; }
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 27px;
}
.section-heading h2, .content-panel h2 {
    margin: 8px 0 0;
    font-family: Manrope, "DM Sans", sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.2;
}
.section-heading p { max-width: 360px; margin: 0; color: var(--quiet); font-size: 13px; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.app-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(24, 24, 37, .98), rgba(15, 16, 24, .98));
    transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.app-card:hover {
    transform: translateY(-4px);
    border-color: rgba(182, 156, 255, .3);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28), 0 0 35px rgba(163, 124, 255, .07);
}
.card-image {
    position: relative;
    height: 270px;
    overflow: hidden;
    background: #15131d;
}
.card-image::after {
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(0deg, rgba(17, 18, 27, .95), transparent);
    content: "";
}
.card-image > img:not(.card-icon) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.app-card:hover .card-image > img:not(.card-icon) { transform: scale(1.04); }
.card-icon {
    position: absolute;
    z-index: 1;
    bottom: 14px;
    left: 24px;
    display: block;
    width: 62px;
    height: 62px;
    max-width: none;
    object-fit: cover;
    border: 3px solid #15151f;
    border-radius: 18px;
    background: #1b1725;
    object-fit: cover;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .35);
}
.card-body { padding: 21px 24px 24px; }
.card-kicker {
    color: var(--pink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.card-body h3 {
    margin: 7px 0 8px;
    font-family: Manrope, "DM Sans", sans-serif;
    font-size: 23px;
    letter-spacing: -.045em;
}
.card-body p { min-height: 50px; margin: 0; color: var(--muted); font-size: 13px; }
.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
    color: var(--purple);
    font-size: 12px;
    font-weight: 700;
}
.card-bottom span:last-child { color: var(--quiet); font-weight: 500; }

.page-main { padding: 48px 0 88px; }
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 0 0 25px;
    color: var(--quiet);
    font-size: 12px;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs .separator { color: #514c5d; }
.product-hero {
    display: grid;
    grid-template-columns: 1fr minmax(230px, 310px);
    align-items: center;
    gap: 35px;
    overflow: hidden;
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        radial-gradient(ellipse at 93% 15%, rgba(189, 135, 236, .16), transparent 24rem),
        linear-gradient(145deg, #171722, #10111a 70%);
}
.product-hero--tasbeeh {
    background:
        radial-gradient(ellipse at 93% 15%, rgba(92, 122, 237, .2), transparent 24rem),
        linear-gradient(145deg, #171722, #10111a 70%);
}
.product-hero--game {
    background:
        radial-gradient(ellipse at 93% 15%, rgba(236, 97, 176, .18), transparent 24rem),
        linear-gradient(145deg, #171722, #10111a 70%);
}
.product-copy h1 {
    margin: 13px 0 13px;
    font-family: Manrope, "DM Sans", sans-serif;
    font-size: clamp(38px, 6vw, 59px);
    letter-spacing: -.07em;
    line-height: 1.03;
}
.product-copy > p { max-width: 620px; margin: 0; color: var(--muted); font-size: 15px; }
.product-showcase {
    position: relative;
    min-width: 0;
    min-height: 390px;
    display: grid;
    place-items: center;
    isolation: isolate;
}
.product-showcase::before, .product-showcase::after {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    content: "";
}
.product-showcase::before { width: 285px; height: 285px; }
.product-showcase::after { width: 225px; height: 225px; border-color: rgba(255, 255, 255, .055); }
.showcase-device {
    position: relative;
    z-index: 1;
    width: min(205px, 72%);
    height: 372px;
    margin: 0;
    padding: 7px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 31px;
    background: linear-gradient(145deg, #33303e, #0a0a0e 48%);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .52), 0 0 40px rgba(182, 156, 255, .08);
    transform: rotate(3deg);
    transition: transform .28s ease;
}
.product-showcase:hover .showcase-device { transform: rotate(0deg) translateY(-4px); }
.showcase-device::before {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 50%;
    width: 35px;
    height: 5px;
    border-radius: 5px;
    background: rgba(5, 5, 8, .8);
    content: "";
    transform: translateX(-50%);
}
.showcase-device img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: #08090d;
    object-fit: cover;
    object-position: center;
}
.showcase-badge {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 38px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px 10px 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(18, 18, 28, .95);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .35);
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    backdrop-filter: blur(12px);
}
.showcase-badge img {
    width: 37px;
    height: 37px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 11px;
    object-fit: cover;
}
.showcase-label {
    position: absolute;
    z-index: 2;
    top: 26px;
    left: 0;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 9px;
    background: rgba(18, 18, 28, .88);
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .035em;
}
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 23px 0 0;
    padding: 0;
    list-style: none;
}
.feature-list li { display: flex; align-items: flex-start; gap: 10px; color: #d4d0df; font-size: 13px; }
.feature-list li::before {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    margin-top: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    content: "";
    box-shadow: 0 0 12px rgba(182, 156, 255, .42);
}
.product-actions { margin-top: 25px; }
.product-actions .button-secondary:hover { border-color: rgba(182, 156, 255, .35); }
.content-panel {
    margin-top: 22px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(17, 18, 27, .78);
}
.gallery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}
.gallery-heading p { max-width: 360px; }
.gallery-hint { flex: 0 0 auto; color: var(--quiet); font-size: 11px; }
.content-panel > p { max-width: 760px; margin: 11px 0 0; color: var(--muted); font-size: 13px; }
.screenshots {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    grid-auto-rows: max-content;
    align-items: start;
    gap: 12px;
    margin-top: 23px;
}
.screenshot-card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 14px;
    background: #0b0c13;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.screenshot-card:hover {
    transform: translateY(-4px);
    border-color: rgba(182, 156, 255, .36);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}
.screenshot {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    border: 0;
    border-radius: 13px 13px 0 0;
    background: #08090d;
    object-fit: contain;
}
.screenshot-card figcaption {
    min-height: 37px;
    display: flex;
    align-items: center;
    padding: 8px 11px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    color: var(--muted);
    font-size: 10px;
    line-height: 1.35;
}
.policy-return {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: -12px 0 24px;
}
.policy-return a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.policy-return a:hover { color: var(--purple); }
.policy-return .return-primary {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: rgba(255, 255, 255, .035);
}
.policy-return .return-primary:hover {
    border-color: rgba(182, 156, 255, .3);
    background: rgba(182, 156, 255, .08);
}
.policy-return svg { width: 15px; height: 15px; }

.page-intro { max-width: 760px; margin-bottom: 34px; }
.page-intro h1 { margin-bottom: 14px; font-size: clamp(40px, 6vw, 61px); }
.page-intro p { margin: 0; color: var(--muted); }
.policy-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--line);
}
.policy-meta > div { padding: 17px 20px; background: var(--surface); }
.policy-meta dt {
    margin-bottom: 4px;
    color: var(--quiet);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.policy-meta dd { overflow-wrap: anywhere; margin: 0; font-size: 13px; font-weight: 600; }
.policy-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); align-items: start; gap: 18px; }
.toc {
    position: sticky;
    top: 96px;
    padding: 19px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(17, 18, 27, .75);
}
.toc h2 {
    margin: 0 8px 10px;
    color: var(--quiet);
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.toc ol { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.toc a {
    display: block;
    padding: 7px 8px;
    border-radius: 7px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}
.toc a:hover { background: rgba(182, 156, 255, .1); color: var(--purple); }
.policy-content {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(155deg, rgba(22, 22, 33, .94), rgba(15, 16, 24, .96));
}
.policy-section { padding: 25px 30px 27px; scroll-margin-top: 96px; }
.policy-section + .policy-section { border-top: 1px solid var(--line); }
.policy-section h2 {
    display: flex;
    align-items: baseline;
    gap: 11px;
    margin: 0 0 11px;
    font-family: Manrope, "DM Sans", sans-serif;
    font-size: 17px;
    letter-spacing: -.03em;
}
.policy-section h2 span {
    color: var(--purple);
    font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.policy-section h3 { margin: 19px 0 8px; color: #ded9e9; font-size: 14px; }
.policy-section p, .policy-section li { color: var(--muted); font-size: 13px; }
.policy-section p { margin: 0 0 12px; }
.policy-section p:last-child { margin-bottom: 0; }
.policy-section ul { display: grid; gap: 8px; margin: 10px 0 0; padding-left: 19px; }
.policy-section li::marker { color: var(--purple); }
.policy-section a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.policy-contact {
    margin: 20px 24px 24px;
    padding: 18px 20px;
    border: 1px solid rgba(182, 156, 255, .23);
    border-radius: 12px;
    background: linear-gradient(110deg, rgba(182, 156, 255, .1), rgba(240, 155, 219, .035));
}
.policy-contact strong { display: block; margin-bottom: 4px; }
.policy-contact p { margin: 0; color: var(--muted); font-size: 13px; }

.site-footer { border-top: 1px solid var(--line); background: rgba(8, 9, 14, .58); }
.footer-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--quiet);
    font-size: 12px;
}
.footer-brand { color: var(--muted); font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover { color: var(--purple); }

@media (max-width: 760px) {
    .nav-wrap, .container, .footer-wrap { width: min(100% - 36px, 620px); }
    .nav-wrap { min-height: 68px; gap: 12px; }
    .site-nav { gap: 15px; }
    .site-nav a { font-size: 12px; }
    .hero { padding: 72px 0 56px; }
    .section { padding: 22px 0 66px; }
    .card-image { height: 220px; }
    .product-hero { grid-template-columns: minmax(0, 1fr) 210px; gap: 20px; }
    .product-showcase { min-height: 340px; }
    .showcase-device { height: 320px; }
    .showcase-badge { right: -9px; bottom: 28px; }
    .screenshots { grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; padding: 0 0 10px; scroll-snap-type: x mandatory; }
    .screenshot-card { scroll-snap-align: start; }
    .policy-layout { grid-template-columns: 1fr; }
    .toc { position: static; }
    .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .nav-wrap, .container, .footer-wrap { width: calc(100% - 32px); }
    .brand-logo { width: 35px; height: 35px; border-radius: 11px; }
    .brand-caption { font-size: 9px; }
    .site-nav { gap: 11px; }
    .site-nav a { font-size: 11px; }
    .site-nav .nav-cta { display: none; }
    .hero { padding: 56px 0 42px; }
    .hero h1 { font-size: clamp(46px, 14vw, 64px); }
    .hero-lead { font-size: 15px; }
    .section-heading { display: block; }
    .section-heading p { margin-top: 10px; }
    .app-grid { grid-template-columns: 1fr; gap: 14px; }
    .card-image { height: 205px; }
    .card-body p { min-height: 0; }
    .page-main { padding: 34px 0 60px; }
    .product-hero { grid-template-columns: 1fr; }
    .product-showcase { min-height: 300px; grid-row: 1; }
    .product-showcase::before { width: 225px; height: 225px; }
    .product-showcase::after { width: 175px; height: 175px; }
    .showcase-device { width: 164px; height: 290px; border-radius: 26px; }
    .showcase-device img { border-radius: 20px; }
    .showcase-badge { right: max(0px, calc(50% - 125px)); bottom: 14px; }
    .showcase-label { top: 13px; left: max(0px, calc(50% - 127px)); }
    .product-copy { grid-row: 2; }
    .product-copy h1 { font-size: 43px; }
    .feature-list { grid-template-columns: 1fr; gap: 8px; }
    .screenshots { grid-auto-columns: minmax(195px, 76%); gap: 10px; }
    .gallery-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .gallery-hint { display: none; }
    .policy-return { margin-top: -4px; }
    .policy-meta { grid-template-columns: 1fr; }
    .policy-meta > div { padding: 13px 16px; }
    .policy-section { padding: 21px 19px 23px; }
    .policy-contact { margin: 17px; padding: 16px; }
    .footer-wrap { min-height: 0; align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 19px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
