@font-face {
    font-family: Vazir;
    src: url('/static/fonts/Vazir-FD.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: Roboto;
    src: url('/static/fonts/Roboto-Latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f7f9fc;
    color: #16243c;
    font: 16px/1.9 Vazir,Tahoma,sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,input,textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}

.wrap {
    width: min(1180px,calc(100% - 40px));
    margin: auto;
}

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e8edf4;
}

.header-row {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 85px;
}

.logo {
    font-size: 27px;
    font-weight: 900;
    color: #165eaa;
    line-height: 1.1;
    white-space: nowrap;
}

.logo span {
    display: block;
    color: #78869a;
    font-size: 11px;
    font-weight: 400;
    margin-top: 7px;
}

.header-row nav {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-right: 15px;
}

.header-row nav a:hover,footer a:hover {
    color: #1673cf;
}

.header-row form {
    display: flex;
    margin-right: auto;
    border: 1px solid #dce5f0;
    border-radius: 12px;
    overflow: hidden;
    background: #f7f9fc;
}

.header-row input {
    border: 0;
    background: none;
    outline: 0;
    padding: 9px 14px;
    width: 185px;
    min-width: 0;
}

.header-row button {
    border: 0;
    background: #125fa9;
    color: #fff;
    padding: 7px 16px;
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 30px;
    align-items: stretch;
    margin-top: 30px;
    min-height: 390px;
    background: #eaf4ff;
    border-radius: 28px;
    overflow: hidden;
}

.hero>div:first-child {
    padding: 65px 55px;
}

.eyebrow {
    color: #1374c7;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .3px;
}

.hero h1 {
    font-size: clamp(30px,4vw,53px);
    line-height: 1.4;
    max-width: 520px;
    margin: 15px 0;
}

.hero p,.page-heading p,.detail-hero p {
    color: #62728b;
}

.hero-search {
    display: flex;
    background: #fff;
    padding: 7px;
    border-radius: 15px;
    box-shadow: 0 14px 35px #1363ad19;
    margin-top: 32px;
    max-width: 440px;
}

.hero-search input {
    border: 0;
    outline: 0;
    flex: 1;
    min-width: 0;
    padding: 8px 13px;
}

.hero-search button,.button {
    border: 0;
    background: #1169bd;
    color: #fff;
    padding: 9px 22px;
    border-radius: 10px;
    display: inline-block;
    font-weight: 700;
}

.button:hover,.hero-search button:hover {
    background: #084f93;
}

.hero-visual {
    background: radial-gradient(circle at 75% 20%,#6dbaff,#146bb6 55%,#0f497f);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-visual:before,.hero-visual:after {
    content: "";
    position: absolute;
    border: 1px solid #ffffff55;
    border-radius: 50%;
    width: 330px;
    height: 330px;
}

.hero-visual:after {
    width: 500px;
    height: 500px;
}

.hero-visual span,.hero-visual strong,.hero-visual img {
    position: relative;
    z-index: 1;
}

.hero-visual span {
    opacity: .72;
}

.hero-visual strong {
    text-align: center;
    font-size: 34px;
    line-height: 1.5;
}

.hero-visual img {
    width: 80px;
    margin-top: 20px;
    filter: drop-shadow(0 6px 15px #00376c77);
}

.section {
    margin: 65px 0;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}

.section-title h2,.app-cta h2 {
    font-size: 28px;
    margin: 2px 0;
}

.section-title>a,.phone-more,.review-card span {
    color: #0e6ec4;
    font-size: 14px;
    font-weight: 700;
}

.phone-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
}

.phone-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 18px;
    padding: 17px;
    box-shadow: 0 8px 25px #1b437009;
    transition: .2s;
}

.phone-card:hover,.review-card:hover,.brand-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px #1b43701b;
}

.phone-art {
    height: 195px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 12px;
}

.phone-art img {
    height: 165px;
    width: 100%;
    object-fit: contain;
}

.phone-name {
    font-size: 16px;
    font-weight: 800;
    margin: 12px 0 2px;
    direction: ltr;
    text-align: right;
}

.phone-more {
    margin-top: auto;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
}

.brand-pill {
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 18px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    box-shadow: 0 8px 25px #1b437009;
    transition: .2s;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 104px;
    border-radius: 13px;
    background: linear-gradient(135deg,#f7fbff,#edf5fd);
}

.brand-logo img {
    width: auto;
    height: auto;
    max-width: 78%;
    max-height: 72px;
    object-fit: contain;
}

.brand-initial {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: #dcecfb;
    color: #1266af;
    font: 800 30px/1 Roboto,Vazir,sans-serif;
}

.brand-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding: 0 6px 3px;
}

.brand-info strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.5;
    text-align: right;
}

.brand-info small {
    flex: none;
    font-size: 12px;
    color: #1266af;
}

.home-comments {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-comment {
    display: block;
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 16px;
    padding: 20px;
}

.home-comment strong {
    display: block;
    direction: ltr;
    text-align: right;
}

.home-comment span {
    color: #74839a;
    font-size: 13px;
}

.home-comment p {
    color: #45566e;
    margin: 12px 0;
}

.home-comment small {
    color: #0e6ec4;
    font-weight: 700;
}

.app-cta {
    background: #125a9d;
    color: white;
    border-radius: 24px;
    padding: 40px 48px;
    margin: 65px 0;
}

.app-cta p {
    opacity: .85;
}

.app-cta .eyebrow {
    color: #a7d9ff;
}

.button.light {
    background: #fff;
    color: #125a9d;
    margin-top: 12px;
}

.page-heading {
    padding: 50px 0 20px;
}

.page-heading h1 {
    font-size: 36px;
    margin: 3px 0;
}

.page-heading p {
    margin: 0;
}

.price-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 34px;
    background: #eaf4ff;
    border: 1px solid #d4e8fb;
    border-radius: 20px;
}

.price-feature h2 {
    margin: 3px 0;
    font-size: 25px;
}

.price-feature p {
    margin: 0;
    color: #5b7190;
}

.price-feature .button {
    flex: none;
}

.price-heading {
    padding-top: 0;
}

.price-updated {
    margin-top: 13px !important;
    font-size: 14px;
}

.price-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 25px 0 35px;
}

.price-categories a {
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #dce8f5;
    border-radius: 999px;
    color: #1266af;
    font-weight: 700;
    font-size: 14px;
}

.price-categories a:hover {
    background: #eaf4ff;
}

.price-group {
    margin: 30px 0;
    scroll-margin-top: 20px;
    background: #fff;
    border: 1px solid #e3ebf4;
    border-radius: 18px;
    overflow: hidden;
}

.price-group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    background: #eef6fd;
}

.price-group-heading h2 {
    margin: 0;
    font-size: 23px;
}

.price-group-heading a {
    color: #1266af;
    font-size: 13px;
    font-weight: 700;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 24px;
    border-top: 1px solid #edf1f6;
}

.price-model {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: right;
    font-family: Roboto,Vazir,sans-serif;
    font-weight: 500;
}

.price-value {
    flex: none;
    white-space: nowrap;
    color: #0d6cad;
    font-family: Roboto,Vazir,sans-serif;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.price-value small {
    color: #66788f;
    font-size: 12px;
}

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 32px 0;
}

.pager a {
    background: #fff;
    border: 1px solid #dce5f0;
    border-radius: 9px;
    padding: 7px 16px;
}

.empty {
    padding: 30px;
    background: #fff;
    border-radius: 14px;
    color: #66788f;
}

.breadcrumb {
    color: #69819d;
    font-size: 14px;
    margin: 28px 0;
}

.breadcrumb a {
    color: #0f6ab6;
}

.detail-hero {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 50px;
    align-items: center;
    background: white;
    border: 1px solid #e9eef5;
    border-radius: 23px;
    padding: 35px;
}

.detail-image {
    background: #f8fafc;
    border-radius: 16px;
    height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-image img {
    max-height: 275px;
    object-fit: contain;
}

.detail-hero h1 {
    font-size: 36px;
    direction: ltr;
    text-align: right;
    margin: 8px 0;
}

.detail-hero h1,.detail-hero p,.detail-tags span,.spec-row {
    font-family: Roboto,Vazir,sans-serif;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.detail-tags span {
    background: #eff6fd;
    border-radius: 10px;
    padding: 8px 15px;
    font-size: 13px;
}

.detail-tags small {
    display: block;
    color: #6686a4;
}

.spec-group {
    background: white;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    margin: 15px 0;
    overflow: hidden;
}

.spec-group h3 {
    margin: 0;
    background: #edf5fd;
    padding: 12px 22px;
    color: #1266af;
}

.spec-group dl {
    margin: 0;
}

.spec-row {
    display: grid;
    grid-template-columns: 190px 1fr;
    border-top: 1px solid #eff2f6;
    padding: 12px 22px;
    gap: 20px;
}

.spec-row dt {
    color: #63748c;
}

.spec-row dd {
    margin: 0;
    direction: auto;
    unicode-bidi: plaintext;
}

.comments {
    display: grid;
    gap: 12px;
}

.comment,.comment-form,.article {
    background: white;
    border: 1px solid #e8edf4;
    border-radius: 15px;
    padding: 22px;
}

.comment time {
    font-size: 12px;
    color: #8694a6;
    margin-right: 12px;
}

.comment p {
    margin: 7px 0 0;
    white-space: normal;
}

.comment-form {
    margin-top: 25px;
}

.comment-form h3 {
    margin: 0;
}

.comment-form label {
    display: block;
    margin: 12px 0;
    font-weight: 700;
}

.comment-form input,.comment-form textarea {
    display: block;
    width: 100%;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    padding: 10px 13px;
    outline-color: #1269bb;
    background: #fff;
}

.comment-form .trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.notice {
    background: #e7f8ed;
    color: #20613e;
    padding: 12px;
    border-radius: 9px;
}

.notice.error {
    background: #fff0ef;
    color: #a83232;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin-bottom: 55px;
}

.review-card {
    background: white;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    overflow: hidden;
    transition: .2s;
}

.review-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #eef3f8;
}

.review-card h2 {
    font-size: 17px;
    padding: 0 18px;
}

.review-card span {
    display: block;
    padding: 0 18px 18px;
}

.article {
    margin: 35px auto 65px;
    max-width: 850px;
}

.article h1 {
    font-size: 32px;
    margin: 0 0 20px;
}

.article>img {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    background: #f5f8fc;
    border-radius: 13px;
}

.article-body {
    white-space: normal;
    margin-top: 25px;
}

.legacy {
    direction: ltr;
    text-align: left;
}

.legacy h1 {
    direction: rtl;
    text-align: right;
}

.legacy h3 {
    font-size: 20px;
}

footer {
    background: #eaf0f7;
    margin-top: 60px;
    padding: 40px 0;
    color: #536985;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 25px;
}

.footer-grid strong {
    color: #125a9d;
    font-size: 21px;
}

.footer-grid a {
    display: block;
    margin: 4px 0;
}

.export-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 26px;
    padding: 24px;
    border: 1px solid #d7e8f8;
    border-radius: 16px;
    background: #eaf4ff;
}

.export-panel h2 {
    margin: 0;
    font-size: 21px;
}

.export-panel p {
    margin: 5px 0 0;
    color: #5c7692;
}

.export-panel form {
    flex: none;
}

.stat {
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 14px;
    padding: 20px;
}

.stat strong {
    display: block;
    font-size: 26px;
    color: #135fa6;
}

.stat span {
    color: #718198;
}

.button.secondary {
    background: #e8eef5;
    color: #34465b;
}

@media (max-width:900px) {
    .header-row {
        flex-wrap: wrap;
        padding: 15px 0;
        gap: 14px;
    }

    .header-row form {
        margin: 0;
        width: 100%;
    }

    .header-row input {
        flex: 1;
    }

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

    .hero>div:first-child {
        padding: 40px;
    }

    .hero-visual {
        min-height: 240px;
    }

    .phone-grid,.brand-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .home-comments {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width:600px) {
    .wrap {
        width: min(100% - 26px,1180px);
    }

    .header-row nav {
        order: 3;
        width: 100%;
        overflow: auto;
        margin: 0;
        gap: 18px;
        white-space: nowrap;
        font-size: 13px;
    }

    .hero {
        margin-top: 14px;
    }

    .hero>div:first-child {
        padding: 30px 22px;
    }

    .hero-visual {
        min-height: 190px;
    }

    .hero-visual strong {
        font-size: 25px;
    }

    .phone-grid,.brand-grid,.review-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px;
    }

    .brand-logo {
        min-height: 86px;
    }

    .brand-logo img {
        max-height: 62px;
    }

    .brand-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .home-comments {
        grid-template-columns: 1fr;
    }

    .phone-card {
        padding: 10px;
    }

    .phone-art {
        height: 145px;
    }

    .phone-art img {
        height: 125px;
    }

    .phone-name {
        font-size: 14px;
    }

    .section {
        margin: 40px 0;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .price-feature {
        align-items: stretch;
        flex-direction: column;
        padding: 23px;
    }

    .price-group-heading,.price-row {
        padding-right: 15px;
        padding-left: 15px;
    }

    .price-row {
        gap: 12px;
        font-size: 14px;
    }

    .page-heading h1,.detail-hero h1 {
        font-size: 27px;
    }

    .detail-hero {
        grid-template-columns: 1fr;
        padding: 17px;
        gap: 15px;
    }

    .detail-image {
        height: 250px;
    }

    .spec-row {
        grid-template-columns: 110px 1fr;
        padding: 10px;
        gap: 8px;
        font-size: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .export-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .app-cta {
        padding: 27px;
    }

    .article {
        padding: 16px;
    }

}
