/* ==========================================================================
   Pet Blum — landing page (RTL / Persian)
   Self-contained stylesheet: no framework or build step required.
   ========================================================================== */

@font-face {
    font-family: "Vazirmatn";
    src: url("/landing/fonts/Vazirmatn-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Vazirmatn";
    src: url("/landing/fonts/Vazirmatn-Medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "Vazirmatn";
    src: url("/landing/fonts/Vazirmatn-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: "Vazirmatn";
    src: url("/landing/fonts/Vazirmatn-Bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "Vazirmatn";
    src: url("/landing/fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-display: swap;
}

:root {
    --navy: #0e3b70;
    --navy-deep: #0a3568;
    --blue: #1668c1;
    --blue-dark: #0d4f9e;
    --blue-soft: #e6f2ff;
    --green-soft: #eaf7df;
    --green: #8dc63f;
    --ink: #1d3557;
    --muted: #5a6d87;
    --line: #e7eef7;
    --shadow: 0 10px 30px rgba(18, 68, 125, .08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

.wrap {
    width: min(1200px, calc(100% - 36px));
    margin-inline: auto;
}

/* Fonts use root-absolute URLs so MapStaticAssets fingerprinting of this
   stylesheet cannot break them (same convention as wwwroot/app.css). */

/* ==========================================================================
   Top navigation
   ========================================================================== */

.topbar {
    position: relative;
    z-index: 40;
    /* Bottom padding is the white breathing room between the nav pill and hero. */
    padding: 14px 0 22px;
    background: #fff;
}

.nav-checkbox { position: absolute; opacity: 0; pointer-events: none; }

.nav-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 70px;
    padding: 5px 12px;
    background: #fff;
    border: 1px solid #eef3fa;
    border-radius: 999px;
    box-shadow: 0 10px 34px rgba(20, 70, 130, .09);
}

.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-inline-end: 18px;
    border-inline-end: 1px solid #e7edf5;
}
.nav-brand img { width: 56px; height: 56px; object-fit: contain; }

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(9px, 1.5vw, 22px);
    flex: 1;
}
.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: #29456b;
    white-space: nowrap;
    transition: color .2s ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-links .caret { width: 9px; height: 9px; opacity: .65; }

.btn-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 11px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1573d1, #0e58ad);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(17, 100, 190, .26);
    transition: transform .2s ease, box-shadow .2s ease;
}
.btn-signup:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(17, 100, 190, .34); }
.btn-signup svg { width: 16px; height: 16px; }

.nav-burger { display: none; }
.nav-mobile { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;
    /* The left side deliberately matches the baked-in background of the
       dashboard artwork (#cfe6fd) so the image blends without a seam. */
    background:
        radial-gradient(ellipse 42% 70% at 80% 8%, rgba(255,255,255,.92), rgba(255,255,255,0) 72%),
        linear-gradient(to right, #cfe6fd 0%, #d5eafd 34%, #e8f3ff 66%, #f7fbff 100%);
}
.hero::before {
    content: "";
    position: absolute;
    bottom: -260px;
    inset-inline-start: -180px;
    width: 780px;
    height: 520px;
    border-radius: 50%;
    border: 1px solid rgba(120, 175, 235, .32);
    transform: rotate(-16deg);
}
.hero::after {
    content: "";
    position: absolute;
    bottom: -330px;
    inset-inline-start: -120px;
    width: 900px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    transform: rotate(-16deg);
}
.hero-curve {
    position: absolute;
    bottom: -34px;
    inset-inline-start: -26px;
    width: 235px;
    height: 180px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.14fr;
    align-items: center;
    gap: 6px;
    min-height: 400px;
    padding-block: 12px 46px;
}

.hero-copy { padding-inline-start: 12px; }
.hero-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(28px, 3.25vw, 46px);
    font-weight: 800;
    line-height: 1.55;
    letter-spacing: -.4px;
    color: var(--navy);
}
.hero-copy p {
    margin: 0 0 26px;
    max-width: 430px;
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 500;
    line-height: 2.05;
    color: #4c6380;
}
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 47px;
    padding: 11px 25px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
    background: linear-gradient(135deg, #1876d4, #0d58ae);
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 90, 180, .24);
}
.btn-primary:hover { box-shadow: 0 14px 26px rgba(15, 90, 180, .34); }

.btn-outline {
    background: #fff;
    color: #17467f;
    border: 1.5px solid #bcd5ee;
}
.btn-outline:hover { background: #f5faff; }

.hero-visual { align-self: center; }
.hero-visual img {
    width: 100%;
    max-width: 610px;
    margin-inline-start: -14px;
    -webkit-mask-image: linear-gradient(to left, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
    mask-image: linear-gradient(to left, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
}

/* ==========================================================================
   Trust strip
   ========================================================================== */

.trust-wrap { padding: 24px 0 0; background: #fff; }

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    padding: 16px 10px;
    background: #fff;
    border: 1px solid #eef3f9;
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: #2b466b;
    white-space: nowrap;
}
.trust-item + .trust-item { border-inline-start: 1px solid #e9eef5; }
.trust-item svg { width: 22px; height: 22px; color: #0f4b90; flex-shrink: 0; }

/* ==========================================================================
   Two solution cards
   ========================================================================== */

.solutions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 22px;
}
.solution {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 196px;
    padding: 22px 26px;
    border-radius: 20px;
    overflow: hidden;
}
.solution--shop   { background: linear-gradient(115deg, #f0fae6 0%, #e4f3d9 100%); }
.solution--clinic { background: linear-gradient(115deg, #e9f3ff 0%, #dcebff 100%); }

.solution-copy { max-width: 310px; text-align: right; }
.solution h3 {
    margin: 0 0 10px;
    font-size: clamp(16px, 1.55vw, 20px);
    font-weight: 800;
    color: var(--navy);
}
.solution p {
    margin: 0 0 14px;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 2;
    color: #4b6079;
}
.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #1256a4;
}
.solution-link:hover { text-decoration: underline; }
.solution-link svg { width: 14px; height: 14px; }
.solution-art { width: clamp(120px, 13vw, 170px); flex-shrink: 0; }

/* ==========================================================================
   Section titles + feature grid
   ========================================================================== */

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 34px 0 20px;
    font-size: 15px;
    font-weight: 800;
    color: #123c6e;
    white-space: nowrap;
}
.section-title::before,
.section-title::after {
    content: "";
    width: 56px;
    height: 1px;
    background: #c8d8e9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 112px;
    padding: 15px 7px;
    text-align: center;
    background: #fff;
    border: 1px solid #e9f0f8;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(18, 68, 125, .03);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover {
    transform: translateY(-4px);
    border-color: #c9dff5;
    box-shadow: 0 12px 24px rgba(18, 68, 125, .1);
}
.feature svg { width: 27px; height: 27px; color: #0d4a8f; flex-shrink: 0; }
.feature span { font-size: 11.8px; font-weight: 700; line-height: 1.9; color: #123c6e; }

/* ==========================================================================
   Platform (anywhere) banner
   ========================================================================== */

.platform { margin-top: 22px; }
.platform-banner {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    min-height: 252px;
    border-radius: 20px;
    overflow: hidden;
    /* Flat colour chosen to match the artwork's own sky-blue backdrop. */
    background: #dfeefe;
    border: 1px solid #dceafb;
}
.platform-visual { position: relative; }
.platform-visual img { width: 100%; height: 100%; object-fit: cover; }
/* Soft blend so the artwork's baked background never shows a hard edge. */
.platform-visual::after {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 15%;
    pointer-events: none;
    background: linear-gradient(to left, #dfeefe 0%, rgba(223, 238, 254, 0) 100%);
}
.platform-copy { padding: 20px 22px 20px 8px; text-align: right; }
.platform-copy h2 {
    margin: 0 0 10px;
    font-size: clamp(20px, 2.15vw, 28px);
    font-weight: 800;
    color: var(--navy);
}
.platform-copy p {
    margin: 0 0 20px;
    font-size: 13px;
    font-weight: 500;
    line-height: 2.05;
    color: #4b6079;
}
.platform-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-sm { min-height: 42px; padding: 9px 19px; font-size: 12.3px; }
.btn-navy { background: #0d427f; color: #fff; box-shadow: 0 8px 18px rgba(13, 66, 127, .2); }
.btn-navy:hover { background: #0a3568; }
.btn-win { background: #fff; border: 1.5px solid #cbdcf0; color: #1a4d8a; }
.btn-win:hover { background: #f6fbff; }

/* ==========================================================================
   Pricing CTA banner
   ========================================================================== */

.cta { margin-top: 22px; }
.cta-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 112px;
    padding: 18px 20px;
    text-align: center;
    color: #fff;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(100deg, #1a76cf 0%, #1463b8 55%, #12579f 100%);
}
.cta-banner h3 { margin: 0 0 7px; font-size: clamp(15px, 1.5vw, 19px); font-weight: 800; }
.cta-banner p { margin: 0; font-size: 11.8px; font-weight: 500; opacity: .92; }
.cta-paw {
    position: absolute;
    inset-inline-end: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 86px;
    height: 86px;
    opacity: .16;
}
.cta-curve {
    position: absolute;
    inset-inline-start: -20px;
    bottom: -24px;
    width: 178px;
    height: 152px;
    pointer-events: none;
}
.cta-btn {
    position: absolute;
    inset-inline-start: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    background: #fff;
    color: #155cab;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .2s ease;
}
.cta-btn:hover { transform: translateY(calc(-50% - 2px)); }
.cta-btn svg { width: 14px; height: 14px; }

/* ==========================================================================
   Articles
   ========================================================================== */

.articles { margin-top: 4px; padding-bottom: 36px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.article-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    align-items: center;
    gap: 14px;
    min-height: 126px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e9f0f8;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(18, 68, 125, .04);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.article-card:hover {
    transform: translateY(-3px);
    border-color: #c9dff5;
    box-shadow: 0 12px 26px rgba(18, 68, 125, .1);
}
.article-thumb { width: 96px; height: 102px; border-radius: 10px; object-fit: cover; }
.article-body { text-align: right; }
.article-body h3 { margin: 0 0 7px; font-size: 12.5px; font-weight: 800; line-height: 1.8; color: #123c6e; }
.article-body p { margin: 0 0 11px; font-size: 11px; font-weight: 500; line-height: 1.9; color: #6b7d93; }
.article-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.3px;
    font-weight: 700;
    color: #1256a4;
}
.article-link:hover { text-decoration: underline; }
.article-link svg { width: 13px; height: 13px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: #0c3e7c;
    color: #fff;
    padding: 34px 0 18px;
}
.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 78px; height: 78px; object-fit: contain; }
.footer-brand span { font-size: 11.5px; font-weight: 500; color: #d7e6f8; white-space: nowrap; }
.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 11.8px;
    font-weight: 500;
    color: #dbe8f8;
}
.footer-links a + a { border-inline-start: 1px solid rgba(255,255,255,.32); padding-inline-start: 12px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-social { display: flex; align-items: center; gap: 9px; }
.footer-social a {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: #fff;
    color: #0c3e7c;
    transition: transform .2s ease, background .2s ease;
}
.footer-social a:hover { transform: translateY(-3px); background: #dcecff; }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    font-size: 11px;
    font-weight: 500;
    color: #bcd2ec;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
    .nav-links { gap: 10px; }
    .nav-links a { font-size: 11.6px; }
    .nav-brand { padding-inline-end: 12px; }
    .btn-signup { padding: 10px 15px; font-size: 12px; }
}

@media (max-width: 940px) {
    .nav-links { display: none; }
    .nav-burger {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        margin-inline-start: auto;
        border-radius: 12px;
        color: var(--navy);
        cursor: pointer;
    }
    .nav-burger svg { width: 22px; height: 22px; }
    .nav-mobile {
        display: none;
        margin-top: 10px;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: var(--shadow);
    }
    .nav-checkbox:checked ~ .wrap .nav-mobile { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
    .nav-mobile a {
        padding: 11px 14px;
        border-radius: 12px;
        font-size: 13px;
        font-weight: 600;
        color: #29456b;
    }
    .nav-mobile a:hover { background: #f1f7ff; color: var(--blue); }
    .nav-mobile .mobile-cta {
        grid-column: 1 / -1;
        text-align: center;
        background: var(--blue);
        color: #fff;
    }
    .nav-mobile .mobile-cta:hover { background: #0e58ad; color: #fff; }

    .hero-inner { grid-template-columns: 1fr; gap: 4px; padding-block: 10px 36px; }
    .hero-copy { padding-inline-start: 0; text-align: center; }
    .hero-copy p { margin-inline: auto; max-width: 560px; }
    .hero-actions { justify-content: center; }
    .hero-visual { order: 2; max-width: 620px; margin-inline: auto; }
    .hero-visual img { margin-inline-start: 0; }

    .solutions { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .platform-banner { grid-template-columns: 1fr; }
    .platform-visual { order: 2; }
    .platform-copy { text-align: center; padding: 24px 24px 4px; }
    .platform-actions { justify-content: center; }
    .platform-copy p { max-width: 560px; margin-inline: auto; }
    .article-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; }
    .footer-brand { flex-direction: column; gap: 4px; }
}

@media (max-width: 620px) {
    .wrap { width: min(1200px, calc(100% - 24px)); }
    .nav-pill { min-height: 62px; padding: 4px 8px; }
    .nav-brand img { width: 48px; height: 48px; }
    .btn-signup { padding: 9px 13px; font-size: 11px; }
    .btn-signup svg { width: 14px; height: 14px; }
    .hero-copy h1 { font-size: clamp(25px, 6.6vw, 34px); line-height: 1.65; }
    .hero-copy p { font-size: 12.5px; line-height: 1.95; }
    .btn { min-height: 44px; padding: 10px 18px; font-size: 12px; }

    .trust-strip { grid-template-columns: repeat(2, 1fr); row-gap: 14px; padding: 16px 8px; }
    .trust-item { font-size: 11.5px; }
    .trust-item:nth-child(3) { border-inline-start: 0; }
    .trust-item:nth-child(n+3) { padding-top: 12px; border-top: 1px solid #eef3f9; }

    .solution { min-height: 0; padding: 20px; }
    .solution-art { width: 105px; }
    .solution h3 { font-size: 15px; }
    .solution p { font-size: 11px; line-height: 1.9; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 13px; gap: 10px; margin: 26px 0 16px; }
    .section-title::before, .section-title::after { width: 30px; }

    .platform-copy h2 { font-size: 20px; }
    .platform-copy p { font-size: 12px; }

    .cta-banner { flex-direction: column; gap: 14px; padding: 22px 18px; }
    .cta-btn { position: static; transform: none; }
    .cta-btn:hover { transform: translateY(-2px); }
    .cta-paw { inset-inline-end: 4px; width: 66px; height: 66px; }

    .article-card { grid-template-columns: 84px 1fr; gap: 12px; }
    .article-thumb { width: 84px; height: 94px; }
    .footer-links { gap: 8px; font-size: 11px; }
    .footer-links a + a { padding-inline-start: 8px; }
}
