@font-face {
    font-family: "Vazirmatn";
    src: url("/static/fonts/vazirmatn/Vazirmatn-Variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #7755f2;
    --primary-dark: #5536c9;
    --ink: #17142a;
    --muted: #6e6884;
    --paper: #fbfcfa;
    --soft: #f4f1ff;
    --line: #e7e1ff;
    --shadow: 0 24px 70px rgba(48, 35, 112, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(119, 85, 242, 0.18), transparent 30rem),
        linear-gradient(180deg, #fff 0%, #faf8ff 48%, #fff 100%);
    font-family: Vazirmatn, IRANSans, Tahoma, Arial, sans-serif;
    line-height: 1.8;
}

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

.shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(231, 225, 255, 0.75);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}

.brand img {
    display: block;
    width: 172px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 28px;
    color: var(--muted);
    font-size: 0.95rem;
}

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

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
}

.nav-cta {
    color: var(--primary);
    background: var(--soft);
}

.button.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 16px 34px rgba(119, 85, 242, 0.32);
}

.button.secondary {
    color: var(--primary);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    align-items: center;
    gap: 64px;
    min-height: 720px;
    padding: 64px 0 88px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--primary);
    font-weight: 900;
}

.eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 7px rgba(119, 85, 242, 0.12);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 720px;
    margin-bottom: 22px;
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    line-height: 1.12;
    letter-spacing: -0.06em;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    letter-spacing: -0.04em;
}

h3 {
    margin-bottom: 8px;
    font-size: 1.18rem;
}

.lead {
    max-width: 640px;
    color: var(--muted);
    font-size: 1.25rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.trust-row span {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
}

.hero-visual::before,
.hero-visual::after {
    position: absolute;
    content: "";
    border-radius: 999px;
    background: rgba(119, 85, 242, 0.16);
    filter: blur(2px);
}

.hero-visual::before {
    inset: 8% -8% auto auto;
    width: 170px;
    height: 170px;
}

.hero-visual::after {
    inset: auto auto 0 4%;
    width: 110px;
    height: 110px;
}

.phone-card {
    position: relative;
    z-index: 1;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 42px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 255, 0.92));
    box-shadow: var(--shadow);
}

.phone-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.phone-top span {
    width: 44px;
    height: 6px;
    border-radius: 999px;
    background: #ddd6ff;
}

.listing-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
}

.main-alert {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    padding: 16px;
}

.listing-image {
    min-height: 130px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(119, 85, 242, 0.12), rgba(119, 85, 242, 0.02)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cpath fill='%237755F2' fill-opacity='.22' d='M24 86 90 32l66 54v64H24z'/%3E%3Cpath fill='%237755F2' fill-opacity='.3' d='M70 150v-38h40v38z'/%3E%3C/svg%3E");
    background-position: center;
    background-size: cover;
}

.badge {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--primary);
    background: var(--soft);
    font-size: 0.82rem;
    font-weight: 900;
}

.listing-card p {
    margin-bottom: 8px;
    color: var(--muted);
}

.listing-card strong {
    color: var(--primary-dark);
}

.mini-alert {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding: 14px 16px;
}

.mini-alert h3 {
    margin-bottom: 0;
    font-size: 1rem;
}

.mini-alert p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.dot {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #16c784;
    box-shadow: 0 0 0 7px rgba(22, 199, 132, 0.12);
}

.dot.purple {
    background: var(--primary);
    box-shadow: 0 0 0 7px rgba(119, 85, 242, 0.12);
}

.section {
    padding: 86px 0;
}

.section-grid,
.example {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
}

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

.problem p {
    color: rgba(255, 255, 255, 0.7);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.pain-card {
    min-height: 150px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 900;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.steps,
.feature-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.steps article,
.feature-grid article,
.pricing-grid article,
.message-preview {
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 46px rgba(48, 35, 112, 0.08);
}

.steps article {
    padding: 28px;
}

.steps span {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--primary);
    font-weight: 900;
    font-size: 1.6rem;
}

.steps p,
.example-copy p,
.pricing-grid p {
    color: var(--muted);
}

.features {
    background: linear-gradient(180deg, rgba(119, 85, 242, 0.06), transparent);
}

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

.feature-grid article {
    position: relative;
    padding: 24px 56px 24px 24px;
    font-weight: 900;
}

.feature-grid article::before {
    position: absolute;
    top: 26px;
    right: 24px;
    content: "✓";
    color: var(--primary);
}

.message-preview {
    max-width: 460px;
    justify-self: end;
    padding: 26px;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.message-header img {
    width: 52px;
    height: 52px;
    border-radius: 16px;
}

.message-header span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.message-preview ul {
    display: grid;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    color: var(--muted);
}

.message-preview a {
    display: flex;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 18px;
    color: #fff;
    background: var(--primary);
    font-weight: 900;
}

.pricing-grid article {
    padding: 28px;
}

.pricing-grid .featured {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #3e2a94);
    transform: translateY(-10px);
}

.pricing-grid .featured p {
    color: rgba(255, 255, 255, 0.76);
}

.pricing-grid strong {
    color: var(--primary);
}

.pricing-grid .featured strong {
    color: #fff;
}

.final-cta {
    margin-bottom: 86px;
    padding: 48px 28px;
    border-radius: 38px;
    text-align: center;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.24), transparent 18rem),
        linear-gradient(135deg, var(--primary), #4c31c1);
    color: #fff;
    box-shadow: var(--shadow);
}

.final-cta img {
    width: min(360px, 80%);
    margin-bottom: 14px;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.78);
}

.final-cta .button.primary {
    color: var(--primary);
    background: #fff;
    box-shadow: none;
}

.site-footer {
    padding: 28px 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.site-footer .shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-footer a {
    color: var(--primary);
    font-weight: 900;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

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

    .hero {
        min-height: auto;
        padding-top: 42px;
    }

    .message-preview {
        justify-self: stretch;
        max-width: none;
    }

    .pain-grid,
    .steps,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

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

    .pricing-grid .featured {
        transform: none;
    }
}

@media (max-width: 560px) {
    .shell {
        width: min(100% - 28px, 1120px);
    }

    .brand img {
        width: 132px;
    }

    .nav-cta {
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.88rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .main-alert {
        grid-template-columns: 1fr;
    }

    .listing-image {
        min-height: 170px;
    }
}
