:root {
    --bg: #05070b;
    --panel: #0b0f16;
    --text: #f3f6fb;
    --muted: #98a2b3;
    --line: #202733;
    --accent: #7c5cff;
    --accent2: #2ea8ff;
    --max: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: radial-gradient(circle at 80% 10%, #151126 0, transparent 32%), var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
    line-height: 1.6;
    overflow-x: hidden
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    z-index: 50
}

.wrap {
    width: min(var(--max), calc(100% - 48px));
    margin: auto
}

.site-header {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(var(--max), calc(100% - 48px));
    margin: auto;
    position: relative;
    z-index: 100
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    line-height: 1.05;
    letter-spacing: 2px;
    font-weight: 500
}

.brand img {
    width: 36px;
    height: 36px
}

.brand b {
    font-weight: 800
}

.site-header nav {
    display: flex;
    gap: 28px;
    align-items: center
}

.site-header nav a {
    color: #9ea8b8;
    text-decoration: none;
    font-size: 13px;
    transition: .25s
}

.site-header nav a:hover {
    color: #fff
}

.lang {
    border: 1px solid #303847;
    background: #0d1119;
    color: #fff;
    border-radius: 30px;
    padding: 7px 12px;
    cursor: pointer
}

.menu {
    display: none;
    background: none;
    border: 0
}

.menu i {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 5px
}

.hero {
    min-height: 650px;
    width: min(var(--max), calc(100% - 48px));
    margin: auto;
    display: flex;
    align-items: center;
    position: relative
}

.hero-copy {
    width: 65%;
    position: relative;
    z-index: 2
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 2.4px;
    color: #8f9aaa;
    font-weight: 700;
    margin: 0 0 18px
}

.hero h1,
.page-hero h1,
.tilawah-hero h1 {
    font-size: clamp(50px, 7vw, 88px);
    line-height: .98;
    letter-spacing: -4px;
    margin: 0 0 26px;
    font-weight: 800
}

.hero h1 em,
.page-hero h1 em,
.tilawah-hero h1 em,
h2 em {
    font-style: normal;
    background: linear-gradient(90deg, #fff, #7c5cff, #4ebcff);
    background-clip: text;
    color: transparent
}

.lead,
.page-hero>p {
    color: #a5afbe;
    max-width: 680px;
    font-size: 17px
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration: none;
    border: 1px solid #313948;
    padding: 13px 19px;
    border-radius: 9px;
    color: #fff;
    background: #0c1119;
    font-size: 13px;
    cursor: pointer;
    transition: .3s
}

.btn.primary {
    border-color: transparent;
    background: linear-gradient(110deg, #7158ff, #319dff);
    box-shadow: 0 12px 40px #5542b52e
}

.btn:hover {
    transform: translateY(-3px)
}

.btn.ghost {
    background: transparent
}

.hero-orb {
    position: absolute;
    right: -5%;
    width: 430px;
    height: 430px;
    display: grid;
    place-items: center
}

.orb-ring {
    position: absolute;
    border: 1px solid #4c4a8d;
    border-radius: 50%;
    animation: spin 18s linear infinite
}

.r1 {
    width: 330px;
    height: 330px
}

.r2 {
    width: 430px;
    height: 430px;
    border-color: #26354f;
    animation-direction: reverse;
    animation-duration: 27s
}

.orb-core {
    width: 130px;
    height: 130px;
    border-radius: 36px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #181333, #0a1626);
    border: 1px solid #3e4774;
    box-shadow: 0 0 90px #624cff55;
    font-size: 54px;
    font-weight: 900;
    transform: rotate(-12deg)
}

.orb-core span {
    font-size: 18px;
    color: #5eb9ff
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#ffffff07 1px, transparent 1px), linear-gradient(90deg, #ffffff07 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(90deg, #000, transparent 80%);
    opacity: .5
}

.ticker {
    border-block: 1px solid var(--line);
    overflow: hidden;
    white-space: nowrap;
    color: #6e7888;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 14px 0
}

.ticker div {
    animation: marquee 25s linear infinite
}

.ticker b {
    color: #725cff;
    margin: 0 24px
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--line)
}

.stats div {
    padding: 34px 20px 34px 0;
    border-right: 1px solid var(--line)
}

.stats div+div {
    padding-left: 25px
}

.stats strong {
    display: block;
    font-size: 35px
}

.stats span {
    color: #737e8e;
    font-size: 12px
}

.section {
    padding: 130px 0
}

.section-head {
    position: relative;
    margin-bottom: 55px
}

.section-head h2,
.two-col h2,
.feature h2,
.cta h2 {
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.02;
    letter-spacing: -3px;
    margin: 0
}

.text-link {
    color: #b9c2d0;
    text-decoration: none;
    font-size: 13px
}

.section-head .text-link {
    position: absolute;
    right: 0;
    bottom: 8px
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line)
}

.service-card {
    background: var(--bg);
    padding: 38px;
    min-height: 240px
}

.service-card span,
.service-list>article>span {
    color: #6657d9;
    font-size: 12px
}

.service-card h3 {
    font-size: 22px;
    margin: 40px 0 10px
}

.service-card p,
.project-card p,
.two-col p,
.values p {
    color: #8893a4;
    font-size: 14px
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px;
    min-height: 620px
}

.feature-art {
    display: grid;
    place-items: center
}

.phone {
    width: 250px;
    height: 500px;
    border: 8px solid #171c27;
    border-radius: 38px;
    background: linear-gradient(160deg, #17162e, #07101a);
    box-shadow: 0 35px 80px #0009;
    padding: 22px;
    transform: rotate(-6deg);
    animation: float 5s ease-in-out infinite
}

.phone-top,
.status {
    font-size: 9px;
    color: #aeb7c4;
    display: flex;
    justify-content: space-between
}

.quran {
    font-size: 80px;
    text-align: center;
    margin-top: 55px;
    color: #a993ff
}

.arabic {
    font-family: serif;
    font-size: 22px;
    text-align: center;
    margin-top: 15px
}

.line,
.divider {
    height: 1px;
    background: #3a4050;
    margin: 28px 0
}

.small-lines {
    height: 90px;
    background: repeating-linear-gradient(#778095 0 1px, transparent 1px 17px);
    opacity: .25
}

.app-chip {
    display: inline-block;
    margin-top: 20px;
    background: #302b60;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10px
}

.project-mini {
    border-top: 1px solid var(--line)
}

.project-mini a {
    display: grid;
    grid-template-columns: 55px 1fr 20px;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--line);
    padding: 23px 0;
    color: #fff;
    text-decoration: none
}

.project-mini span {
    display: block;
    color: #747f8f;
    font-size: 12px
}

.mini-icon,
.project-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #111722;
    border: 1px solid #273042;
    font-weight: 800
}

.hosting {
    color: #64b9ff
}

.nord {
    color: #ad8cff
}

.kham {
    color: #ffca65
}

.edu {
    color: #64e0b1
}

.cta {
    border: 1px solid var(--line);
    padding: 65px 70px;
    margin-bottom: 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(120deg, #0b0d16, #080b11)
}

footer {
    border-top: 1px solid var(--line);
    padding: 70px 0 25px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px
}

.footer-grid p {
    color: #737e8c;
    font-size: 12px;
    max-width: 300px
}

.footer-grid b {
    font-size: 12px
}

.footer-grid>a,
.footer-grid div>a:not(.brand) {
    display: block;
    color: #778294;
    text-decoration: none;
    font-size: 12px;
    margin-top: 12px
}

.copyright {
    border-top: 1px solid var(--line);
    margin-top: 55px;
    padding-top: 20px;
    color: #555f6d;
    font-size: 11px
}

.page-hero {
    padding: 110px 0 85px;
    border-bottom: 1px solid var(--line)
}

.page-hero>p:last-child {
    margin-top: 30px
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px
}

.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line)
}

.values article {
    background: var(--bg);
    padding: 35px
}

.values h3 {
    margin-top: 55px
}

.service-list {
    padding: 30px 0 120px
}

.service-list>article {
    display: grid;
    grid-template-columns: 80px 1fr;
    border-top: 1px solid var(--line);
    padding: 42px 0
}

.service-list h2 {
    font-size: 31px;
    margin: 0
}

.projects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-bottom: 120px
}

.project-card {
    min-height: 350px;
    border: 1px solid var(--line);
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(145deg, #0b0f16, #080b10);
    transition: .3s
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: #39445a
}

.project-card.featured {
    background: radial-gradient(circle at 80% 20%, #1b1835, #0b0f16 55%)
}

.project-card h2 {
    font-size: 32px;
    margin: 20px 0 8px
}

.project-logo {
    width: 65px;
    height: 65px;
    font-size: 22px;
    border-radius: 18px
}

.tag,
.feature-pills span {
    display: inline-block;
    border: 1px solid #29313e;
    border-radius: 30px;
    padding: 5px 10px;
    margin: 4px 4px 0 0;
    color: #7f8a9b;
    font-size: 10px
}

.tilawah-hero {
    min-height: 690px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px
}

.app-preview {
    display: grid;
    place-items: center
}

.app-screen {
    width: 285px;
    height: 570px;
    border-radius: 34px;
    border: 8px solid #171d27;
    background: linear-gradient(155deg, #121027, #071019);
    padding: 22px;
    box-shadow: 0 40px 100px #000b;
    transform: rotate(4deg);
    animation: float 6s ease-in-out infinite
}

.brand-ar {
    text-align: center;
    font-family: serif;
    font-size: 27px;
    margin-top: 35px
}

.verse {
    text-align: center;
    font-family: serif;
    font-size: 25px;
    margin-top: 70px;
    line-height: 1.7
}

.translation {
    font-size: 10px;
    text-align: center;
    color: #8994a6;
    margin-top: 12px
}

.dummy-lines {
    height: 150px;
    opacity: .2;
    background: repeating-linear-gradient(#fff 0 1px, transparent 1px 18px)
}

.bottom-nav {
    display: flex;
    justify-content: space-around;
    color: #737f91;
    font-size: 18px;
    margin-top: 30px
}

.screenshots {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px
}

.shot {
    height: 390px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 20%, #1b1740, #080c12 65%)
}

.shot.tall {
    transform: translateY(35px)
}

.shot-inner {
    text-align: center;
    font-family: serif;
    font-size: 32px
}

.shot small {
    color: #788397;
    font-size: 13px
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 100px;
    padding: 80px 0 130px
}

.contact-info div {
    padding: 25px 0;
    border-top: 1px solid var(--line)
}

.contact-info span {
    display: block;
    color: #687383;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px
}

.contact-info a,
.contact-info p {
    color: #fff;
    text-decoration: none
}

.contact-grid form {
    display: grid;
    gap: 18px
}

.contact-grid label {
    display: grid;
    gap: 7px;
    color: #8994a4;
    font-size: 12px
}

.contact-grid input,
.contact-grid textarea {
    border: 1px solid #27303c;
    background: #090d14;
    color: #fff;
    border-radius: 8px;
    padding: 13px;
    font: inherit;
    outline: none
}

.contact-grid input:focus,
.contact-grid textarea:focus {
    border-color: #6657d9
}

.contact-grid small {
    color: #596474;
    font-size: 10px
}

.legal {
    max-width: 850px;
    padding: 30px 0 130px
}

.legal h2 {
    font-size: 22px;
    margin-top: 55px
}

.legal p {
    color: #8c97a8;
    font-size: 14px
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: .8s
}

.reveal.show {
    opacity: 1;
    transform: none
}

#loader {
    position: fixed;
    inset: 0;
    background: #05070b;
    z-index: 9999;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    transition: opacity .7s
}

.loader-mark {
    width: 58px;
    height: 58px;
    border: 1px solid #4b4b76;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 27px;
    font-weight: 900;
    animation: pulse 1.2s infinite
}

.loader-mark+span {
    font-size: 9px;
    letter-spacing: 3px;
    color: #7c8797
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes marquee {
    to {
        transform: translateX(-50%)
    }
}

@keyframes float {
    50% {
        transform: translateY(-12px) rotate(-6deg)
    }
}

@keyframes pulse {
    50% {
        box-shadow: 0 0 50px #765cff55;
        transform: scale(1.05)
    }
}

@media(max-width:800px) {

    .wrap,
    .site-header {
        width: min(100% - 30px, 600px)
    }

    .site-header nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        padding: 20px;
        background: #090c13;
        border: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch
    }

    .site-header nav.open {
        display: flex
    }

    .menu {
        display: block
    }

    .hero {
        min-height: 700px
    }

    .hero-copy {
        width: 100%
    }

    .hero h1,
    .page-hero h1,
    .tilawah-hero h1 {
        letter-spacing: -2px
    }

    .hero-orb {
        opacity: .25;
        right: -120px
    }

    .stats,
    .service-grid,
    .projects,
    .two-col,
    .feature,
    .tilawah-hero,
    .contact-grid,
    .values,
    .screenshots,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .stats div {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .stats div+div {
        padding-left: 0
    }

    .section {
        padding: 90px 0
    }

    .section-head .text-link {
        position: static;
        display: block;
        margin-top: 20px
    }

    .feature {
        gap: 40px
    }

    .feature-copy {
        order: -1
    }

    .cta {
        padding: 40px 25px;
        display: block
    }

    .cta .btn {
        margin-top: 30px
    }

    .project-card {
        min-height: 300px
    }

    .shot.tall {
        transform: none
    }

    .tilawah-hero {
        padding: 80px 0
    }

    .contact-grid {
        gap: 50px
    }

    .footer-grid {
        gap: 30px
    }
}
