@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-soft: #f3edff;
    --text: #171322;
    --muted: #716b7e;
    --border: #eeeaf5;
    --bg: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Vazirmatn", Tahoma, sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

a { text-decoration: none; }

.navbar {
    padding: 16px 0;
    transition: .3s ease;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 8px 30px rgba(35, 20, 70, .07);
    background: rgba(255,255,255,.92);
}

.navbar-brand {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
}

.navbar-brand:hover { color: var(--text); }

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    box-shadow: 0 8px 20px rgba(124,58,237,.22);
}

.brand-icon.small { width: 32px; height: 32px; border-radius: 10px; font-size: .8rem; }

.nav-link {
    color: #595263;
    font-size: .9rem;
    font-weight: 500;
    transition: .2s;
}

.nav-link:hover { color: var(--primary); }

.btn-primary-custom {
    color: white !important;
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    border: 0;
    border-radius: 12px;
    padding: 11px 20px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(124,58,237,.18);
    transition: .25s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(124,58,237,.28);
}

.btn-light-custom {
    color: #4c4557;
    background: white;
    border: 1px solid #ebe7f2;
    border-radius: 12px;
    padding: 11px 20px;
    font-weight: 600;
}

.hero-section {
    min-height: 760px;
    padding: 150px 0 90px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 15%, rgba(168,85,247,.12), transparent 28%),
        radial-gradient(circle at 85% 70%, rgba(124,58,237,.09), transparent 30%),
        linear-gradient(180deg, #fcfaff 0%, #fff 80%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .32;
    background-image:
        linear-gradient(rgba(124,58,237,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,58,237,.05) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.eyebrow, .section-label, .download-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 7px 13px;
    border-radius: 30px;
    font-size: .78rem;
    font-weight: 700;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8b5cf6;
    box-shadow: 0 0 0 5px rgba(139,92,246,.12);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.2;
    letter-spacing: -2px;
    font-weight: 800;
    margin: 22px 0;
    max-width: 720px;
}

h1 span, h2 span { color: var(--primary); }

.hero-text {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 2;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.mini-stats {
    display: flex;
    gap: 35px;
    margin-top: 45px;
}

.mini-stats div { display: flex; flex-direction: column; gap: 3px; }
.mini-stats strong { font-size: 1rem; }
.mini-stats span { color: #918b99; font-size: .75rem; }

.phone-scene {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone {
    width: 270px;
    height: 540px;
    padding: 9px;
    border-radius: 42px;
    background: #17131e;
    box-shadow: 0 35px 70px rgba(57, 30, 94, .22);
    transform: rotate(3deg);
    position: relative;
    z-index: 2;
}

.phone-notch {
    position: absolute;
    z-index: 4;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 23px;
    border-radius: 20px;
    background: #17131e;
}

.phone-screen {
    height: 100%;
    border-radius: 34px;
    overflow: hidden;
    padding: 42px 16px 12px;
    background: #faf9fd;
}

.app-top {
    display: flex;
    justify-content: space-between;
    font-size: .72rem;
    font-weight: 700;
}

.app-user {
    font-size: .65rem;
    color: #77717f;
    margin-top: 7px;
}

.app-banner {
    margin-top: 16px;
    height: 120px;
    border-radius: 20px;
    padding: 15px;
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.app-banner small { font-size: .55rem; opacity: .8; }
.app-banner strong { display: block; font-size: 1rem; line-height: 1.6; margin-top: 7px; }
.app-banner i { position: absolute; left: 15px; bottom: 13px; font-size: 2.5rem; opacity: .18; }

.app-title { font-size: .7rem; font-weight: 800; margin: 18px 0 10px; }

.app-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.app-cards div {
    background: white;
    border: 1px solid #eeeaf3;
    border-radius: 13px;
    padding: 10px 3px;
    text-align: center;
}

.app-cards i { color: var(--primary); font-size: 1rem; display: block; }
.app-cards span { display: block; font-size: .47rem; margin-top: 5px; color: #655e6e; }

.fake-order {
    margin-top: 15px;
    padding: 10px;
    border-radius: 15px;
    background: white;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #eeeaf3;
}

.order-icon {
    width: 30px; height: 30px;
    border-radius: 10px;
    display: grid; place-items: center;
    color: var(--primary);
    background: var(--primary-soft);
}

.fake-order div:nth-child(2) { flex: 1; }
.fake-order small, .fake-order strong { display: block; font-size: .5rem; }
.fake-order strong { margin-top: 3px; color: var(--primary); }

.app-nav {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    color: #aaa4b0;
    font-size: .85rem;
}
.app-nav .active { color: var(--primary); }

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}
.glow-one { width: 250px; height: 250px; background: rgba(124,58,237,.12); top: 15%; right: 8%; }
.glow-two { width: 160px; height: 160px; background: rgba(168,85,247,.12); bottom: 5%; left: 8%; }

.section-padding { padding: 105px 0; }

.section-heading {
    max-width: 650px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 17px 0 12px;
    letter-spacing: -1px;
}

.section-heading p, .muted-text {
    color: var(--muted);
    line-height: 2;
}

.feature-card {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: white;
    transition: .3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #ddd1f5;
    box-shadow: 0 20px 45px rgba(70,40,100,.08);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 1.25rem;
    margin-bottom: 22px;
}

.feature-card h3 { font-size: 1.05rem; font-weight: 800; }
.feature-card p { color: var(--muted); font-size: .83rem; line-height: 2; margin: 10px 0 0; }

.why-section { background: #faf9fd; }

.big-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.4;
    margin: 18px 0;
}

.check-list { margin-top: 28px; display: grid; gap: 14px; }
.check-list div { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.check-list i { color: var(--primary); }

.dashboard-card {
    max-width: 520px;
    margin: auto;
    background: white;
    border: 1px solid var(--border);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(65,40,100,.07);
}

.dashboard-top { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 700; }
.status { color: #16a34a; background: #ecfdf3; padding: 5px 10px; border-radius: 20px; font-size: .7rem; }

.progress-area {
    display: flex;
    align-items: center;
    margin: 50px 0 35px;
}

.progress-step { text-align: center; min-width: 55px; }
.progress-step span {
    width: 38px; height: 38px; margin: auto;
    display: grid; place-items: center;
    border-radius: 50%;
    background: #f3f0f7;
    color: #958da0;
    font-size: .8rem;
}
.progress-step.done span { background: var(--primary); color: white; }
.progress-step small { display: block; margin-top: 9px; color: #7b7482; font-size: .65rem; }
.line { flex: 1; height: 2px; background: #eeeaf3; }
.line.done { background: var(--primary); }

.dashboard-info {
    padding: 14px;
    background: #faf8ff;
    color: #70677c;
    border-radius: 13px;
    font-size: .75rem;
}
.dashboard-info i { color: var(--primary); margin-left: 5px; }

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 950px;
    margin: auto;
}

.step {
    position: relative;
    text-align: center;
    padding: 35px 25px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: white;
}

.step-number {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #ddd7e7;
    font-size: 1.25rem;
    font-weight: 800;
}

.step > i {
    display: grid;
    place-items: center;
    width: 60px; height: 60px;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.4rem;
}

.step h3 { font-size: 1rem; font-weight: 800; }
.step p { color: var(--muted); font-size: .8rem; line-height: 2; margin-bottom: 0; }

.download-section {
    padding: 20px 0 105px;
}

.download-box {
    position: relative;
    overflow: hidden;
    padding: 65px;
    border-radius: 30px;
    color: white;
    background: linear-gradient(135deg, #24133d, #5b21b6);
    box-shadow: 0 30px 70px rgba(76,29,149,.18);
}

.download-pattern {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        linear-gradient(45deg, transparent 48%, white 49%, white 51%, transparent 52%);
    background-size: 34px 34px;
}

.download-label {
    color: #e9d5ff;
    background: rgba(255,255,255,.1);
}

.download-box h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.4;
    margin: 18px 0;
}

.download-box p { color: #ded3eb; line-height: 2; }

.store-buttons { display: grid; gap: 11px; }

.store-btn {
    min-height: 63px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 17px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 15px;
    color: white;
    background: rgba(255,255,255,.09);
    transition: .25s ease;
}

.store-btn:hover {
    color: white;
    background: rgba(255,255,255,.16);
    transform: translateX(-4px);
}

.store-btn > i { font-size: 1.7rem; }
.store-btn span { display: flex; flex-direction: column; }
.store-btn small { color: #cbbbe0; font-size: .62rem; }
.store-btn strong { font-size: .9rem; }

footer {
    padding: 28px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: #77707f;
    font-size: .75rem;
}

#backTop {
    position: fixed;
    left: 22px;
    bottom: 22px;
    width: 43px;
    height: 43px;
    border: 0;
    border-radius: 13px;
    color: white;
    background: var(--primary);
    box-shadow: 0 10px 25px rgba(124,58,237,.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: .25s;
    z-index: 20;
}

#backTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 15px;
        padding: 15px;
        background: white;
        border-radius: 18px;
        box-shadow: 0 15px 40px rgba(30,20,50,.08);
    }

    .hero-section { padding-top: 125px; }
    .phone-scene { min-height: 500px; }
}

@media (max-width: 767.98px) {
    .hero-section { min-height: auto; padding: 120px 0 70px; }
    h1 { font-size: 2.5rem; letter-spacing: -1px; }
    .hero-text { font-size: .9rem; }
    .mini-stats { gap: 18px; margin-top: 35px; }
    .mini-stats strong { font-size: .85rem; }
    .mini-stats span { font-size: .65rem; }

    .section-padding { padding: 75px 0; }
    .section-heading { margin-bottom: 38px; }

    .phone { width: 245px; height: 490px; }
    .phone-scene { min-height: 470px; }

    .steps { grid-template-columns: 1fr; }
    .download-box { padding: 40px 25px; border-radius: 24px; }
    .download-box h2 { font-size: 2rem; }
    .footer-content { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
