:root{
    --bg:#07080a;
    --border:rgba(255,255,255,.08);
    --text:rgba(255,255,255,.88);
    --muted:rgba(255,255,255,.55);

    --yellow:#f6d41b;
    --red:#ff2d55;
    --green:#2bd96b;

    --shadow: 0 20px 60px rgba(0,0,0,.55);
    --shadow2: 0 10px 30px rgba(0,0,0,.45);

    --max:1150px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
    margin:0;
    font-family:"Vazirmatn", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(1200px 600px at 75% 12%, rgba(246,212,27,.16), transparent 55%),
    radial-gradient(900px 500px at 20% 38%, rgba(255,45,85,.14), transparent 60%),
    radial-gradient(1200px 700px at 70% 65%, rgba(246,212,27,.10), transparent 60%),
    radial-gradient(1200px 800px at 25% 92%, rgba(255,45,85,.10), transparent 60%),
    var(--bg);
    color:var(--text);
    overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }

.grid-lines{
    position:fixed; inset:0; pointer-events:none; opacity:.25;
    background:
            linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 20%, #000 35%, transparent 70%);
}

.container{ width:min(var(--max), calc(100% - 40px)); margin-inline:auto; }

/* NAV */
.nav-wrap{ position:sticky; top:12px; z-index:20; padding-top:12px; }
.nav{
    display:flex; align-items:center; justify-content:center;
    gap:26px;
    padding:10px 16px;
    background:rgba(12,14,18,.55);
    border:1px solid var(--border);
    border-radius:999px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow2);
}
.nav a{
    font-size:13px;
    color:var(--muted);
    transition:.2s ease;
    padding:6px 10px;
    border-radius:999px;
}
.nav a:hover{ color:var(--text); background:rgba(255,255,255,.05); }

/* HERO */
header.hero{ position:relative; padding: 60px 0 10px; min-height: 640px; }
.hero-inner{ position:relative; padding: 56px 0 90px; }

.hero-kicker{
    position:absolute; top:34px; right:0;
    width:min(480px, 100%);
    color:var(--muted);
    font-size:12.5px;
    line-height:1.9;
}

.hero-content{
    display:grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
    align-items:center;
}

.hero-title{
    position:relative;
    margin:0;
    font-weight:800;
    font-size: clamp(30px, 4.2vw, 64px);
    line-height:1.15;
    letter-spacing:-.5px;
}
.hero-title .ghost{
    position:absolute;
    inset:auto 0 -6px 0;
    font-size: clamp(42px, 5.8vw, 84px);
    font-weight:800;
    opacity:.9;
    color:transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,.12);
    text-stroke: 2px rgba(255,255,255,.12);
    filter: drop-shadow(0 0 30px rgba(246,212,27,.20));
    pointer-events:none;
    transform: translateY(20px);
    white-space:nowrap;
}
.hero-title .accent{ color:var(--yellow); text-shadow:0 0 26px rgba(246,212,27,.25); }

.hero-sub{
    margin: 22px 0 0;
    max-width: 520px;
    color:var(--muted);
    line-height:1.9;
    font-size: 13.5px;
}

.hero-actions{
    display:flex; gap:12px; margin-top:22px;
    flex-wrap:wrap; align-items:center;
}

.btn{
    border:1px solid var(--border);
    background:rgba(255,255,255,.04);
    color:var(--text);
    padding:11px 16px;
    border-radius: 12px;
    font-size:13px;
    cursor:pointer;
    transition:.2s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.btn:hover{ transform: translateY(-1px); background:rgba(255,255,255,.06); }
.btn-primary{
    border-color: rgba(246,212,27,.35);
    background: linear-gradient(180deg, rgba(246,212,27,.98), rgba(246,212,27,.78));
    color:#141414;
    font-weight:700;
    box-shadow: 0 18px 40px rgba(246,212,27,.18);
}

.rocket{
    display:inline-grid;
    place-items:center;
    width:34px; height:34px;
    border-radius: 12px;
    border:1px solid var(--border);
    background:rgba(255,255,255,.04);
    margin-inline-start:10px;
    box-shadow: var(--shadow2);
}

/* Phone mock */
.phone-wrap{
    position:relative;
    justify-self:start;
    width:min(420px, 100%);
    height: 520px;
}
.phone{
    position:absolute;
    left:0;
    top: 40px;
    width: 310px;
    height: 520px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,.10);
    background:
            radial-gradient(800px 280px at 50% 0%, rgba(246,212,27,.22), transparent 55%),
            linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
            rgba(0,0,0,.35);
    box-shadow: var(--shadow);
    transform: rotate( -12deg );
    overflow:hidden;
}
.phone:before{
    content:"";
    position:absolute; inset:10px;
    border-radius: 20px;
    background:
            radial-gradient(circle at 30% 20%, rgba(246,212,27,.20), transparent 55%),
            radial-gradient(circle at 70% 70%, rgba(255,45,85,.14), transparent 55%),
            rgba(8,10,14,.75);
    border: 1px solid rgba(255,255,255,.07);
}
.phone .shot{
    position:absolute; inset:16px;
    border-radius: 18px;
    background: url("assets/phone-hero.png") center/cover no-repeat;
    opacity: .95;
    filter: saturate(1.1) contrast(1.05);
    mix-blend-mode: screen;
}
.phone .shot.fallback{
    background:
            linear-gradient(180deg, rgba(246,212,27,.24), transparent 55%),
            linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
            rgba(0,0,0,.55);
    mix-blend-mode: normal;
}

/* Section base */
section{ padding: 70px 0; position:relative; }
.section-title{ margin:0 0 10px; font-size: 22px; font-weight: 800; }
.section-sub{ margin:0; color:var(--muted); font-size: 13px; line-height:1.9; }

/* Download panel */
.download{ padding-top: 30px; }
.download-panel{
    border:1px solid var(--border);
    background: rgba(255,255,255,.03);
    border-radius: 22px;
    padding: 26px 22px 18px;
    box-shadow: var(--shadow2);
    position:relative;
    overflow:hidden;
}
.download-panel:before{
    content:"";
    position:absolute; inset:-120px -220px auto auto;
    width:520px; height:520px; border-radius:50%;
    background: radial-gradient(circle, rgba(246,212,27,.18), transparent 60%);
    filter: blur(2px);
    pointer-events:none;
}
.dl-head{
    display:flex; align-items:flex-start; justify-content:space-between;
    gap: 16px; flex-wrap:wrap;
    margin-bottom: 18px;
}
.dl-title{ display:flex; flex-direction:column; gap:6px; }

.tabs{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.tab{
    border:1px solid var(--border);
    background: rgba(255,255,255,.03);
    padding:10px 14px;
    border-radius: 14px;
    font-size: 12.5px;
    color:var(--muted);
    cursor:pointer;
    transition:.2s ease;
    display:flex; align-items:center; gap:8px;
    min-width: 160px;
    justify-content:center;
    user-select:none;
}
.tab.active{
    background: linear-gradient(180deg, rgba(246,212,27,.98), rgba(246,212,27,.78));
    border-color: rgba(246,212,27,.35);
    color:#151515;
    font-weight:800;
}
.tab.red.active{
    background: linear-gradient(180deg, rgba(255,45,85,.98), rgba(255,45,85,.78));
    border-color: rgba(255,45,85,.35);
    color:#fff;
}

.dl-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 6px; }
.btn-dl{
    border:1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.22);
    padding:10px 14px;
    border-radius: 14px;
    font-size:12.5px;
    color:rgba(255,255,255,.85);
    cursor:pointer;
    transition:.2s ease;
    display:inline-flex;
    align-items:center;
    gap:8px;
    backdrop-filter: blur(10px);
}
.btn-dl:hover{ transform: translateY(-1px); background: rgba(255,255,255,.05); }
.btn-dl.primary{
    background: linear-gradient(180deg, rgba(246,212,27,.98), rgba(246,212,27,.78));
    border-color: rgba(246,212,27,.35);
    color:#151515;
    font-weight:900;
}

/* Screens taller */
.shots{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 10px 4px 6px;
    align-items:stretch;
}
.shot-card{
    height: 340px;
    border-radius: 18px;
    border:1px solid var(--border);
    background: rgba(0,0,0,.25);
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
    overflow:hidden;
    position:relative;
}
.shot-card img{
    width:100%; height:100%; object-fit:cover;
    display:block;
    filter: saturate(1.1) contrast(1.05);
    opacity:.96;
}
.shot-card .ph{
    position:absolute; inset:0;
    background:
            radial-gradient(circle at 50% 20%, rgba(246,212,27,.18), transparent 55%),
            linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)),
            rgba(0,0,0,.35);
}
.shot-card .label{
    position:absolute; bottom:10px; right:10px;
    font-size:11px; color:rgba(255,255,255,.7);
    background: rgba(0,0,0,.35);
    border:1px solid rgba(255,255,255,.10);
    padding:6px 10px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

/* Games */
.games{ padding-top: 30px; }
.games-inner{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items:center;
}
.tag{
    display:inline-flex; align-items:center; gap:8px;
    padding:7px 12px;
    border-radius:999px;
    border:1px solid var(--border);
    background:rgba(255,255,255,.03);
    color:var(--muted);
    font-size:12px;
    margin-bottom:14px;
}
.tag b{ color:var(--text); font-weight:700; }
.cards{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top:18px;
}
.card{
    border:1px solid var(--border);
    background: rgba(255,255,255,.03);
    border-radius: 16px;
    padding: 14px 12px;
    min-height: 86px;
    box-shadow: 0 12px 28px rgba(0,0,0,.28);
    transition:.2s ease;
}
.card:hover{ transform: translateY(-2px); background:rgba(255,255,255,.045); }
.card .icon{
    width:34px; height:34px;
    border-radius: 12px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(0,0,0,.25);
    display:grid; place-items:center;
    margin-bottom:10px;
    color:var(--yellow);
}
.card h4{ margin:0; font-size:12.5px; font-weight:800; }
.card p{ margin:4px 0 0; font-size:11.5px; color:var(--muted); line-height:1.6; }

.games-phone{
    justify-self:end;
    position:relative;
    width:min(420px, 100%);
    height: 360px;
}
.phone.small{
    transform: rotate(0deg);
    width: 320px;
    height: 360px;
    top:0;
    left:auto;
    right:0;
    border-radius: 22px;
}
.phone.small .shot{ background-image: url("assets/phone-games.png"); }

/* Features */
.features{ padding-top: 60px; }
.features-center{ text-align:center; margin-bottom: 26px; }
.features-grid{
    margin-top: 28px;
    display:grid;
    grid-template-columns: 1fr 380px 1fr;
    gap: 22px;
    align-items:center;
}
.feature-col{ display:flex; flex-direction:column; gap: 14px; }
.feature{
    border:1px solid var(--border);
    background: rgba(255,255,255,.03);
    border-radius: 18px;
    padding: 16px 14px;
    box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.feature h4{ margin:0 0 6px; font-size:13.5px; font-weight:900; }
.feature p{ margin:0; font-size:12.5px; color:var(--muted); line-height:1.9; }

.mid-phone{
    position:relative;
    height: 520px;
    display:grid;
    place-items:center;
}
.mid-phone .phone{
    transform: rotate(0deg);
    position:relative;
    width: 320px;
    height: 520px;
    top:auto; left:auto; right:auto;
}
.mid-phone .phone .shot{ background-image:url("assets/phone-features.png"); }

/* Pricing */
.pricing-head{ text-align:center; margin-bottom: 22px; }
.pricing-grid{
    margin-top: 26px;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items:stretch;
}
.plan{
    border:1px solid var(--border);
    background: rgba(255,255,255,.03);
    border-radius: 20px;
    padding: 18px 16px;
    box-shadow: var(--shadow2);
    position:relative;
    overflow:hidden;
    min-height: 220px;
    transition:.2s ease;
}
.plan:hover{ transform: translateY(-2px); }
.plan .badge{
    position:absolute; top:14px; left:14px;
    font-size:11px;
    padding:6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border:1px solid var(--border);
    color:var(--muted);
}
.plan .badge.hot{
    background: rgba(255,45,85,.18);
    border-color: rgba(255,45,85,.25);
    color:#ffd0db;
}
.plan .badge.trial{
    background: rgba(43,217,107,.16);
    border-color: rgba(43,217,107,.25);
    color: #bff6d2;
}

.plan h3{ margin:0; font-size:13px; color:var(--muted); font-weight:700; }
.plan .price{
    margin:12px 0 10px;
    font-size: 34px;
    font-weight: 900;
    letter-spacing:-.5px;
    color: rgba(255,255,255,.78);
}
.plan .desc{
    margin:0 0 14px;
    font-size:12.5px;
    color:var(--muted);
    line-height:1.9;
    min-height: 60px;
}
.plan .meta{
    display:flex; gap:10px; flex-wrap:wrap;
    margin-top:10px;
    color:rgba(255,255,255,.65);
    font-size:12px;
}
.chip{
    border:1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    padding:6px 10px;
    border-radius:999px;
}
.plan .cta{
    width:100%;
    border:none;
    border-radius: 14px;
    padding: 12px 14px;
    cursor:pointer;
    font-weight:900;
    font-size:13px;
    transition:.2s ease;
}
.cta.green{ background: linear-gradient(180deg, rgba(43,217,107,.98), rgba(43,217,107,.78)); color:#06180d; }
.cta.yellow{ background: linear-gradient(180deg, rgba(246,212,27,.98), rgba(246,212,27,.78)); color:#16150a; }
.cta.gray{ background: rgba(255,255,255,.06); color:var(--text); border:1px solid var(--border); }

/* Footer simplified */
footer{
    padding: 34px 0 44px;
    border-top:1px solid rgba(255,255,255,.06);
    margin-top: 30px;
}
.footer-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
}
.foot-left{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.foot-links{
    display:flex; gap:12px; flex-wrap:wrap;
    color:rgba(255,255,255,.55);
    font-size:12.5px;
}
.foot-links a:hover{ color:rgba(255,255,255,.85); }
.copyright{
    color:rgba(255,255,255,.35);
    font-size:12px;
    white-space:nowrap;
}
.social{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.social a{
    width:36px; height:36px;
    border-radius: 12px;
    border:1px solid var(--border);
    background: rgba(255,255,255,.03);
    display:grid; place-items:center;
    color: rgba(255,255,255,.75);
}

/* Responsive */
@media (max-width: 980px){
    header.hero{ min-height:auto; }
    .hero-content{ grid-template-columns: 1fr; }
    .phone-wrap{ height: 520px; justify-self:center; }
    .phone{ left:auto; right:auto; margin-inline:auto; position:relative; top:10px; transform: rotate(-10deg); }
    .hero-kicker{ position:relative; top:auto; right:auto; margin-bottom: 16px; }

    .shots{ grid-template-columns: repeat(2, 1fr); }
    .shot-card{ height: 360px; }

    .games-inner{ grid-template-columns: 1fr; }
    .games-phone{ justify-self:center; height: 360px; }

    .features-grid{ grid-template-columns: 1fr; }
    .mid-phone{ height: 540px; }

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

@media (max-width: 520px){

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

    .nav{
        gap:6px;
        padding:8px 10px;
        flex-wrap:wrap;
    }
    .nav a{
        font-size:11.5px;
        padding:6px 6px;
    }

    header.hero{
        padding-top:30px;
    }

    .hero-title{
        font-size: 28px;
    }
    .hero-title .ghost{
        display:none;
    }

    .hero-sub{
        font-size:12.5px;
    }

    .hero-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .btn{
        width:100%;
        justify-content:center;
    }
    .phone-wrap{
        height:auto;
    }

    .phone{
        position:relative;
        transform:none;
        width:240px;
        height:420px;
        top:0;
        margin: 0 auto;
    }

    /* GRIDS */
    .shots,
    .cards,
    .pricing-grid,
    .features-grid,
    .games-inner{
        grid-template-columns: 1fr !important;
    }

    .shot-card{
        height:380px;
    }

    .games-phone{
        height:auto;
        justify-self:center;
    }

    .phone.small{
        width:240px;
        height:360px;
    }
    .mid-phone{
        height:auto;
    }

    .footer-row{
        flex-direction:column;
        text-align:center;
    }
}
