:root {
    --bg: #060606;
    --panel: #0d0d0d;
    --panel-2: #111111;
    --line: #242424;
    --text: #f5f5f5;
    --muted: #929292;
    --yellow: #f5c400;
    --yellow-light: #ffd91a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Vazirmatn", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Background */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -5;

    background:
        radial-gradient(
            circle at var(--mx, 50%) var(--my, 20%),
            rgba(245, 196, 0, .11),
            transparent 22%
        ),
        linear-gradient(
            rgba(255,255,255,.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.018) 1px,
            transparent 1px
        );

    background-size:
        auto,
        56px 56px,
        56px 56px;

    pointer-events: none;
}

.noise {
    position: fixed;
    inset: 0;
    z-index: -4;
    opacity: .035;
    pointer-events: none;

    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");
}

.orb {
    position: fixed;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    filter: blur(110px);

    opacity: .09;

    background: var(--yellow);

    z-index: -3;

    pointer-events: none;

    animation: orb 13s ease-in-out infinite;
}

.orb-a {
    top: -220px;
    right: -150px;
}

.orb-b {
    bottom: -260px;
    left: -150px;
    animation-delay: -6s;
}

@keyframes orb {

    50% {
        transform:
            translate(45px, 35px)
            scale(1.1);
    }

}

/* Container */

.container {
    width: min(
        1180px,
        calc(100% - 32px)
    );

    margin: auto;
}

/* Header */

header {
    position: sticky;
    top: 0;

    z-index: 50;

    background:
        rgba(6,6,6,.72);

    backdrop-filter: blur(18px);

    border-bottom:
        1px solid rgba(255,255,255,.07);
}

.nav {
    height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 18px;
}

.brand {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 23px;

    font-weight: 900;
}

.logo {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background: var(--yellow);

    color: #000;

    box-shadow:
        0 0 35px rgba(245,196,0,.16);

    transition: .3s;
}

.brand:hover .logo {
    transform:
        rotate(-7deg)
        scale(1.06);
}

nav {
    display: flex;

    gap: 25px;

    color: #8c8c8c;

    font-size: 13px;
}

nav a {
    transition: .2s;
}

nav a:hover {
    color: var(--yellow);
}

.nav-actions {
    display: flex;

    align-items: center;

    gap: 8px;
}

/* Language */

.language {
    display: flex;

    padding: 3px;

    background: #101010;

    border: 1px solid var(--line);

    border-radius: 9px;
}

.language a {
    padding: 4px 8px;

    font-size: 10px;

    color: #777;

    border-radius: 6px;
}

.language a.active {
    background: var(--yellow);

    color: #000;

    font-weight: 900;
}

/* Buttons */

.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        11px 18px;

    border-radius: 10px;

    font-size: 13px;

    font-weight: 800;

    border:
        1px solid var(--line);

    transition: .25s;

    cursor: pointer;
}

.btn:hover {
    transform:
        translateY(-3px);
}

.primary {
    background: var(--yellow);

    color: #000;

    border-color:
        var(--yellow);

    box-shadow:
        0 12px 35px
        rgba(245,196,0,.12);
}

.outline {
    background: #0c0c0c;
}

.outline:hover {
    border-color: #625300;

    color: var(--yellow);
}

/* Hero */

.hero {
    min-height: 760px;

    display: grid;

    align-items: center;

    position: relative;
}

.hero-grid {
    display: grid;

    grid-template-columns:
        1.02fr
        .98fr;

    gap: 60px;

    align-items: center;

    padding:
        95px 0;
}

.eyebrow {
    color: var(--yellow);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: .5px;
}

.hero h1 {
    font-size:
        clamp(
            46px,
            6vw,
            78px
        );

    line-height: 1.14;

    letter-spacing: -3px;

    margin-top: 13px;
}

.hero h1 span {
    color: var(--yellow);

    text-shadow:
        0 0 50px
        rgba(245,196,0,.15);
}

.lead {
    max-width: 650px;

    color: #999;

    font-size: 16px;

    margin-top: 22px;
}

.actions {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;

    margin-top: 28px;
}

.trust {
    display: flex;

    gap: 20px;

    flex-wrap: wrap;

    color: #686868;

    font-size: 11px;

    margin-top: 20px;
}

/* Hero mockup */

.visual {
    position: relative;

    min-height: 450px;

    display: grid;

    place-items: center;
}

.ring {
    position: absolute;

    width: 355px;
    height: 355px;

    border:
        1px solid #4b4100;

    border-radius: 50%;

    box-shadow:
        0 0 100px
        rgba(245,196,0,.1);

    animation:
        ring 5s ease-in-out infinite;
}

@keyframes ring {

    50% {
        transform: scale(1.08);

        opacity: .65;
    }

}

.mock {
    position: relative;

    width: min(
        520px,
        100%
    );

    height: 350px;

    background: #0d0d0d;

    border:
        1px solid #2a2a2a;

    border-radius: 18px;

    box-shadow:
        0 40px 100px #000;

    overflow: hidden;

    transform:
        rotateY(-6deg)
        rotateX(2deg);

    transition: .5s;
}

.mock:hover {
    transform: none;
}

.mock-top {
    height: 42px;

    border-bottom:
        1px solid #222;

    display: flex;

    align-items: center;

    gap: 6px;

    padding:
        0 14px;
}

.mock-top strong {
    margin-right: auto;

    font-size: 10px;
}

.dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #333;
}

.mock-body {
    display: flex;

    height: 308px;
}

.servers {
    width: 62px;

    background: #090909;

    border-left:
        1px solid #222;

    display: flex;

    align-items: center;

    flex-direction: column;

    gap: 10px;

    padding-top: 14px;
}

.server {
    width: 35px;
    height: 35px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background: #1a1a1a;

    font-size: 12px;
}

.server.active {
    background:
        var(--yellow);

    color: #000;

    font-weight: 900;
}

.chat {
    flex: 1;

    padding: 16px;
}

.channel {
    font-size: 12px;

    border-bottom:
        1px solid #222;

    padding-bottom: 12px;
}

.channel span {
    float: left;

    color: #666;

    font-size: 9px;
}

.message {
    display: flex;

    gap: 10px;

    margin-top: 20px;
}

.avatar {
    width: 32px;
    height: 32px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--yellow);

    color: #000;

    font-weight: 900;

    font-size: 11px;

    flex: none;
}

.avatar.dark {
    background: #282828;

    color: var(--yellow);
}

.message b {
    font-size: 11px;
}

.message small {
    color: #666;

    font-size: 9px;

    margin-right: 7px;
}

.message p {
    font-size: 10px;

    color: #999;
}

.chat-input {
    margin-top: 34px;

    border:
        1px solid #292929;

    border-radius: 9px;

    padding: 7px;

    color: #555;

    font-size: 9px;
}

.chat-input span {
    float: left;

    color: var(--yellow);
}

/* Sections */

section {
    padding:
        105px 0;
}

.heading {
    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 35px;

    margin-bottom: 38px;
}

.heading h2 {
    font-size:
        clamp(
            30px,
            4vw,
            48px
        );

    line-height: 1.2;

    letter-spacing: -2px;

    margin-top: 7px;
}

.heading p {
    max-width: 430px;

    color: #888;

    font-size: 13px;
}

/* Features */

.features {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 14px;
}

.card {
    min-height: 225px;

    padding: 28px;

    border:
        1px solid #202020;

    background:
        rgba(13,13,13,.82);

    border-radius: 17px;

    transition: .3s;

    position: relative;

    overflow: hidden;
}

.card::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    left: -70px;
    top: -70px;

    background:
        var(--yellow);

    filter: blur(60px);

    opacity: 0;

    transition: .3s;
}

.card:hover {
    transform:
        translateY(-7px);

    border-color:
        #4a4100;
}

.card:hover::after {
    opacity: .18;
}

.icon {
    width: 44px;
    height: 44px;

    display: grid;

    place-items: center;

    background: #1c1907;

    color: var(--yellow);

    border-radius: 12px;

    margin-bottom: 25px;
}

.card h3 {
    font-size: 18px;
}

.card p {
    font-size: 12px;

    color: #888;

    margin-top: 5px;
}

.card label {
    display: block;

    color: var(--yellow);

    font-size: 10px;

    margin-top: 16px;
}

/* Community */

.dark {
    background: #0a0a0a;

    border-top:
        1px solid #181818;

    border-bottom:
        1px solid #181818;
}

.community {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;
}

.art {
    height: 430px;

    position: relative;
}

.float-card {
    position: absolute;

    background: #111;

    border:
        1px solid #292929;

    border-radius: 18px;

    box-shadow:
        0 25px 70px #000;

    padding: 25px;

    transition: .4s;
}

.float-card:hover {
    transform:
        translateY(-8px)
        rotate(0);
}

.fc1 {
    width: 320px;
    height: 205px;

    right: 5px;
    top: 20px;

    transform:
        rotate(5deg);
}

.fc2 {
    width: 290px;
    height: 175px;

    left: 20px;
    bottom: 40px;

    transform:
        rotate(-6deg);
}

.fc3 {
    width: 92px;
    height: 92px;

    right: 145px;
    bottom: 10px;

    background: var(--yellow);

    color: #000;

    display: grid;

    place-items: center;

    font-size: 42px;

    font-weight: 900;

    transform:
        rotate(10deg);

    z-index: 2;
}

.float-card small {
    color: var(--yellow);
}

.float-card strong {
    display: block;

    font-size: 27px;

    line-height: 1.15;

    margin-top: 60px;
}

.list {
    list-style: none;

    margin-top: 25px;
}

.list li {
    padding:
        13px 0;

    border-bottom:
        1px solid #252525;

    font-size: 13px;
}

.list b {
    color: var(--yellow);

    margin-left: 14px;
}

.yellow {
    display: inline-block;

    color: var(--yellow);

    font-weight: 800;

    margin-top: 20px;
}

/* Download */

.download-box {
    padding: 50px;

    border:
        1px solid #3c3300;

    border-radius: 22px;

    background:
        radial-gradient(
            circle at 80% 0,
            rgba(245,196,0,.09),
            transparent 34%
        ),
        #0e0e0e;
}

.download-box p {
    color: #888;

    margin-top: 6px;
}

.downloads {
    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 11px;

    margin-top: 30px;
}

.download {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 16px;

    border:
        1px solid #292929;

    background: #111;

    border-radius: 12px;

    transition: .25s;
}

.download:hover {
    border-color:
        var(--yellow);

    transform:
        translateY(-4px);
}

.download-icon {
    color: var(--yellow);

    font-size: 21px;
}

.download div {
    flex: 1;
}

.download strong {
    display: block;

    font-size: 12px;
}

.download small {
    color: #777;

    font-size: 9px;
}

.webbar {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid #292929;

    margin-top: 22px;

    padding-top: 20px;
}

.webbar small {
    display: block;

    color: #777;

    font-size: 10px;
}

/* FAQ */

.faq {
    max-width: 900px;
}

.faq h2 {
    font-size: 44px;

    margin-top: 8px;
}

.faq-item {
    border-bottom:
        1px solid #242424;

    padding:
        20px 0;
}

.faq-item summary {
    cursor: pointer;

    list-style: none;

    font-weight: 800;

    font-size: 14px;

    display: flex;

    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary span {
    color: var(--yellow);
}

.faq-item p {
    color: #888;

    font-size: 12px;

    margin-top: 10px;
}

/* CTA */

.cta {
    padding: 55px 0;

    background:
        var(--yellow);

    color: #050505;
}

.cta-in {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}

.cta h2 {
    font-size: 42px;

    line-height: 1.2;

    margin-top: 2px;
}

.darkbtn {
    background: #050505;

    color: var(--yellow);

    border-color: #050505;
}

/* Footer */

footer {
    background: #060606;
}

.foot {
    padding: 52px 0;

    display: flex;

    justify-content: space-between;

    gap: 50px;
}

.desc {
    color: #777;

    font-size: 12px;

    max-width: 340px;

    margin-top: 12px;
}

.links {
    display: flex;

    gap: 70px;
}

.col {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.col b {
    font-size: 12px;
}

.col a {
    font-size: 11px;

    color: #777;
}

.col a:hover {
    color: var(--yellow);
}

.bottom {
    border-top:
        1px solid #191919;

    padding:
        18px 0;

    color: #5f5f5f;

    font-size: 10px;

    display: flex;

    justify-content: space-between;

    gap: 15px;
}

.bottom a {
    color: #aaa;
}

/* Animations */

.reveal {
    opacity: 0;

    transform:
        translateY(22px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.show {
    opacity: 1;

    transform: none;
}

/* Click effect */

.ripple {
    position: fixed;

    width: 18px;
    height: 18px;

    border:
        2px solid var(--yellow);

    border-radius: 50%;

    pointer-events: none;

    z-index: 9999;

    transform:
        translate(-50%,-50%)
        scale(0);

    animation:
        ripple .55s ease-out forwards;
}

@keyframes ripple {

    to {
        transform:
            translate(-50%,-50%)
            scale(5);

        opacity: 0;
    }

}

/* Cursor */

.cursor-dot {
    position: fixed;

    width: 7px;
    height: 7px;

    background:
        var(--yellow);

    border-radius: 50%;

    pointer-events: none;

    z-index: 9998;

    mix-blend-mode: screen;

    box-shadow:
        0 0 20px
        rgba(245,196,0,.7);

    transform:
        translate(-50%,-50%);
}

@media (pointer: coarse) {

    .cursor-dot {
        display: none;
    }

}

/* Tablet */

@media (max-width: 900px) {

    nav {
        display: none;
    }

    .hero-grid,
    .community {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns:
            repeat(2,1fr);
    }

    .downloads {
        grid-template-columns:
            repeat(2,1fr);
    }

    .heading {
        display: block;
    }

    .heading p {
        margin-top: 13px;
    }

    .foot {
        display: block;
    }

    .links {
        margin-top: 30px;
    }

}

/* Mobile */

@media (max-width: 600px) {

    .container {
        width:
            calc(100% - 26px);
    }

    .nav {
        height: 65px;
    }

    .nav .outline {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 43px;

        letter-spacing:
            -2px;
    }

    .lead {
        font-size: 14px;
    }

    .visual {
        min-height: 320px;
    }

    .mock {
        height: 285px;
    }

    .mock-body {
        height: 243px;
    }

    .features,
    .downloads {
        grid-template-columns: 1fr;
    }

    section {
        padding:
            78px 0;
    }

    .download-box {
        padding:
            30px 20px;
    }

    .webbar,
    .cta-in,
    .bottom {
        display: block;
    }

    .webbar .btn,
    .cta-in .btn {
        margin-top: 16px;
    }

    .art {
        transform: scale(.8);

        transform-origin:
            center;
    }

    .links {
        gap: 40px;
    }

    .cta h2 {
        font-size: 32px;
    }

}