@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/vazir/webfonts/Vazirmatn-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/vazir/webfonts/Vazirmatn-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/vazir/webfonts/Vazirmatn-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/vazir/webfonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/vazir/webfonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/vazir/webfonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/vazir/webfonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/vazir/webfonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/vazir/webfonts/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Android / admin green theme (db_primary) */
    --brand: #2f6b4f;
    --brand-700: #24563f;
    --brand-deep: #1f4a36;
    --brand-50: #eaf5ef;
    --brand-100: #e8f3ec;
    --brand-mid: #4a8a68;
    --brand-light: #8fcbaa;
    --brand-border: #c5dfd0;
    --ink: #1c221e;
    --ink-2: #6f776f;
    --ink-3: #8e968f;
    --cream: #ffffff;
    --sand: #f6f8f5;
    --sand-2: #eef2ef;
    --line: #e2e8e3;
    --line-2: #e8ede9;
    --ok: #1f7a45;
    --danger: #c54b58;

    --bs-primary: #2f6b4f;
    --bs-primary-rgb: 47, 107, 79;
    --bs-body-color: #1c221e;
    --bs-body-font-family: 'Vazirmatn', system-ui, sans-serif;
    --bs-border-color: var(--line);
}

* {
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Vazirmatn', system-ui, sans-serif;
    color: var(--ink);
    background: var(--cream);
    font-feature-settings: "ss01";
    overflow-x: hidden;
}

.bg-sand {
    background: var(--sand);
}

.bg-cream {
    background: var(--cream);
}

.text-brand {
    color: var(--brand) !important;
}

.text-ink-2 {
    color: var(--ink-2) !important;
}

.text-ink-3 {
    color: var(--ink-3) !important;
}

.fw-900 {
    font-weight: 900;
}

.lh-tight {
    line-height: 1.25;
}

.display-hero {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.18;
}

.lead-2 {
    font-size: 1.12rem;
    color: var(--ink-2);
    line-height: 1.9;
}

.section {
    padding: 84px 0;
}

.kicker {
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.kicker::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}

/* ---- buttons ---- */
.btn {
    font-weight: 700;
    border-radius: 13px;
    padding: .7rem 1.35rem;
    --bs-btn-focus-shadow-rgb: 47, 107, 79;
}

.btn-lg {
    padding: .95rem 1.7rem;
    border-radius: 15px;
    font-size: 1.02rem;
}

.btn-brand {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 12px 24px -12px var(--brand);
}

.btn-brand:hover {
    background: var(--brand-700);
    color: #fff;
}

.btn-ink {
    background: var(--brand-deep);
    color: #fff;
}

.btn-ink:hover {
    background: var(--ink);
    color: #fff;
}

.btn-outline-ink {
    border: 1.6px solid var(--line);
    color: var(--ink);
    background: #fff;
}

.btn-outline-ink:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.btn-soft {
    background: var(--brand-50);
    color: var(--brand-700);
}

.btn-soft:hover {
    background: var(--brand-100);
    color: var(--brand-700);
}

/* ---- navbar ---- */
.navbar {
    background: rgba(246, 248, 245, .88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: .25s;
    padding: .85rem 0;
}

.navbar.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px -18px rgba(26, 63, 46, .35);
    background: rgba(255, 255, 255, .92);
}

.navbar .nav-link {
    font-weight: 600;
    color: var(--ink-2);
    padding: .4rem .9rem !important;
    border-radius: 9px;
}

.navbar .nav-link:hover {
    color: var(--ink);
    background: var(--sand);
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 900;
    font-size: 1.45rem;
    color: var(--ink);
    text-decoration: none;
}

.brand-moon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--brand);
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
}

.brand-moon::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: var(--brand-deep);
    top: -16%;
    right: -16%;
}

/* ---- hero ---- */
.hero {
    position: relative;
    padding: 120px 0 70px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 55% at 85% -10%, rgba(47, 107, 79, .12), transparent 60%),
        radial-gradient(ellipse 55% 45% at 5% 90%, rgba(143, 203, 170, .18), transparent 55%),
        var(--cream);
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    opacity: .5;
    z-index: 0;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--brand-border);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 600;
    color: var(--ink-2);
    box-shadow: 0 4px 16px -10px rgba(26, 63, 46, .25);
}

.badge-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 4px rgba(31, 122, 69, .18);
}

/* hero search */
.hero-search {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 8px;
    box-shadow: 0 24px 50px -28px rgba(26, 63, 46, .35);
    display: flex;
    gap: 8px;
    align-items: stretch;
    flex-wrap: wrap;
}

.hero-search .loc {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    color: var(--ink);
    font-weight: 600;
    white-space: nowrap;
    border-radius: 12px;
}

.hero-search .loc:hover {
    background: var(--sand);
}

.hero-search .divider {
    width: 1px;
    background: var(--line);
    margin: 8px 0;
}

.hero-search .q {
    flex: 1 1 160px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    padding: 14px 6px;
    background: transparent;
    color: var(--ink);
}

.hero-search .q::placeholder {
    color: var(--ink-3);
}

.store-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-deep);
    color: #fff;
    border-radius: 14px;
    padding: 10px 18px;
    text-decoration: none;
    transition: .2s;
}

.store-btn:hover {
    background: var(--brand);
    color: #fff;
    transform: translateY(-2px);
}

.store-btn .bi {
    font-size: 1.5rem;
}

.store-btn small {
    display: block;
    font-size: .66rem;
    opacity: .7;
    line-height: 1;
    margin-bottom: 2px;
}

.store-btn b {
    font-size: .95rem;
    line-height: 1;
}

/* ---- device frame ---- */
.device {
    position: relative;
    border-radius: 34px;
    background: #1d1916;
    padding: 7px;
    flex: 0 0 auto;
    box-shadow: 0 40px 80px -34px rgba(26, 63, 46, .5), inset 0 0 0 1.5px #2a4a3a;
}

.device img {
    display: block;
    width: 100%;
    border-radius: 28px;
}

.device.shadow-soft {
    box-shadow: 0 30px 60px -30px rgba(26, 63, 46, .4), inset 0 0 0 1.5px #2a4a3a;
}

.hero-phones {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 520px;
}

.hero-phones .device.front {
    width: 248px;
    position: relative;
    z-index: 2;
}

.hero-phones .device.back {
    width: 210px;
    position: absolute;
    bottom: 34px;
    right: 8%;
    z-index: 1;
    opacity: .96;
    transform: rotate(4deg);
}

/* ---- stats ---- */
.stats {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 24px 50px -34px rgba(26, 63, 46, .35);
}

.stat .num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -.5px;
}

.stat .lab {
    color: var(--ink-2);
    font-size: .92rem;
    font-weight: 600;
}

.stat + .stat {
    border-right: 1px solid var(--line);
}

@media (max-width: 767.98px) {
    .stat + .stat {
        border-right: none;
        border-top: 1px solid var(--line);
    }
}

/* ---- category cards ---- */
.cat-card {
    display: block;
    text-decoration: none;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px 18px;
    transition: .2s;
    height: 100%;
}

.cat-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-100);
    box-shadow: 0 22px 44px -28px rgba(47, 107, 79, .45);
    color: var(--ink);
}

.cat-ic {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: var(--brand-50);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 14px;
    transition: .2s;
}

.cat-card:hover .cat-ic {
    background: var(--brand);
    color: #fff;
}

.cat-card .nm {
    font-weight: 700;
    font-size: 1.02rem;
}

.cat-card .sub {
    color: var(--ink-3);
    font-size: .82rem;
    margin-top: 2px;
}

/* ---- steps ---- */
.step {
    position: relative;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px 26px;
    height: 100%;
}

.step-n {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--brand-deep);
    color: #fff;
    font-weight: 900;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.step:nth-child(2) .step-n {
    background: var(--brand);
}

.step .st-ic {
    position: absolute;
    top: 30px;
    left: 26px;
    font-size: 1.5rem;
    color: var(--ink-3);
}

.step h5 {
    font-weight: 800;
    margin-bottom: 8px;
}

.step p {
    color: var(--ink-2);
    margin: 0;
    line-height: 1.8;
    font-size: .96rem;
}

/* ---- feature list ---- */
.feat {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feat-ic {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: var(--brand-50);
    color: var(--brand);
}

.feat h6 {
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.feat p {
    color: var(--ink-2);
    margin: 0;
    line-height: 1.75;
    font-size: .95rem;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-weight: 600;
}

.checklist li .bi {
    color: var(--ok);
    font-size: 1.15rem;
}

/* ---- app CTA band ---- */
.cta-band {
    background: linear-gradient(135deg, var(--brand-mid) 0%, var(--brand) 45%, var(--brand-deep) 100%);
    color: #fff;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 48px -28px rgba(47, 107, 79, .55);
}

.cta-band::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    top: -130px;
    left: -90px;
}

.cta-band::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .07);
    bottom: -120px;
    right: 14%;
}

.store-btn.light {
    background: #fff;
    color: var(--brand-deep);
}

.store-btn.light:hover {
    background: var(--brand-50);
    color: var(--brand-deep);
}

.store-btn.light small {
    opacity: .55;
}

/* ---- footer ---- */
.footer {
    background: var(--brand-deep);
    color: #c5dfd0;
    padding: 68px 0 30px;
}

.footer a {
    color: #c5dfd0;
    text-decoration: none;
    display: inline-block;
    padding: 5px 0;
    font-size: .94rem;
}

.footer a:hover {
    color: #fff;
}

.footer h6 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 14px;
    font-size: .95rem;
}

.footer .brand-logo {
    color: #fff;
}

.footer .brand-moon::after {
    background: var(--brand-deep);
}

.soc {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.1rem;
    padding: 0 !important;
}

.soc:hover {
    background: var(--brand);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 46px;
    padding-top: 24px;
    color: var(--ink-3);
    font-size: .86rem;
}

/* reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: .7s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
