:root {
    --lp-primary: #40c1c7;
    --lp-primary-dark: #2aa8ae;
    --lp-primary-deep: #1a7a7f;
    --lp-primary-light: #e6f8f9;
    --lp-primary-soft: #d0f0f2;
    --lp-primary-glow: rgba(64, 193, 199, 0.25);
    --lp-surface: #ffffff;
    --lp-title: #0f2a2b;
    --lp-text: #3d5c5e;
    --lp-text-muted: #6b8a8c;
    --lp-border: #c8e8ea;
    --lp-radius: 20px;
    --lp-shadow: 0 20px 50px rgba(15, 42, 43, 0.08);
    --lp-shadow-lg: 0 30px 70px rgba(64, 193, 199, 0.15);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Vazirmatn, Tahoma, sans-serif;
    background: #f5fbfb;
    color: var(--lp-title);
    line-height: 1.7;
}

/* ── Header ── */

.lp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lp-border);
}

.lp-header__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--lp-title);
    flex-shrink: 0;
}

.lp-brand__logo {
    border-radius: 12px;
    display: block;
}

.lp-brand__name {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
    max-width: 140px;
}

.lp-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-right: auto;
}

.lp-nav a {
    color: var(--lp-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.lp-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    background: var(--lp-surface);
    cursor: pointer;
}

.lp-menu-btn span {
    display: block;
    height: 2px;
    background: var(--lp-title);
    border-radius: 2px;
}

/* ── Buttons ── */

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lp-btn--sm {
    height: 40px;
    padding: 0 18px;
    font-size: 14px;
    border-radius: 12px;
}

.lp-btn--block {
    width: 100%;
}

.lp-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-dark) 100%);
    box-shadow: 0 8px 24px var(--lp-primary-glow);
}

.lp-btn--primary:hover {
    background: linear-gradient(135deg, var(--lp-primary-dark) 0%, var(--lp-primary-deep) 100%);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px var(--lp-primary-glow);
}

.lp-btn--ghost {
    color: var(--lp-primary-deep);
    border: 1px solid var(--lp-border);
    background: var(--lp-surface);
}

.lp-btn--ghost:hover {
    border-color: var(--lp-primary);
    background: var(--lp-primary-light);
}

.lp-btn--white {
    color: var(--lp-primary-deep);
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.lp-btn--white:hover {
    background: var(--lp-primary-light);
    transform: translateY(-1px);
}

/* ── Layout ── */

.landing-page {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px 64px;
}

/* ── Hero ── */

.lp-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 56px 0 40px;
}

.lp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lp-primary-deep);
    background: var(--lp-primary-light);
    border: 1px solid var(--lp-border);
    margin-bottom: 20px;
}

.lp-hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-primary);
    animation: lp-pulse 2s ease infinite;
}

@keyframes lp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.lp-hero h1 {
    margin: 0;
    font-size: clamp(28px, 4.5vw, 40px);
    line-height: 1.5;
    font-weight: 800;
}

.lp-hero__highlight {
    display: block;
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-hero__content > p {
    margin: 18px 0 0;
    color: var(--lp-text);
    font-size: 16px;
    line-height: 2;
    max-width: 520px;
}

.lp-hero__actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.lp-hero__stats {
    margin-top: 36px;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.lp-stat strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--lp-primary-deep);
}

.lp-stat span {
    font-size: 13px;
    color: var(--lp-text-muted);
}

/* Chat preview mockup */

.lp-hero__visual {
    position: relative;
}

.lp-hero__glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, var(--lp-primary-glow) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.lp-chat-preview {
    position: relative;
    z-index: 1;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-lg);
    overflow: hidden;
}

.lp-chat-preview__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-dark) 100%);
    color: #fff;
}

.lp-chat-preview__avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.lp-chat-preview__title {
    font-weight: 700;
    font-size: 15px;
}

.lp-chat-preview__status {
    font-size: 12px;
    opacity: 0.85;
}

.lp-chat-preview__status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6effa0;
    margin-left: 6px;
    vertical-align: middle;
}

.lp-chat-preview__body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 200px;
    background: #f8fefe;
}

.lp-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.7;
}

.lp-bubble--bot {
    align-self: flex-start;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    color: var(--lp-text);
    border-bottom-right-radius: 4px;
}

.lp-bubble--user {
    align-self: flex-end;
    background: var(--lp-primary);
    color: #fff;
    border-bottom-left-radius: 4px;
}

.lp-chat-preview__input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--lp-border);
    background: var(--lp-surface);
    font-size: 13px;
    color: var(--lp-text-muted);
}

.lp-chat-preview__send {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--lp-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Trust bar ── */

.lp-trust {
    text-align: center;
    padding: 20px 0 8px;
}

.lp-trust p {
    margin: 0;
    font-size: 14px;
    color: var(--lp-text-muted);
    font-weight: 500;
}

/* ── Sections ── */

.lp-section {
    margin-top: 32px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: var(--lp-shadow);
}

.lp-section--alt {
    background: linear-gradient(180deg, var(--lp-primary-light) 0%, var(--lp-surface) 100%);
}

.lp-section__head--center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 32px;
}

.lp-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--lp-primary-dark);
    background: var(--lp-primary-light);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.lp-section__head h2 {
    margin: 0;
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 800;
}

.lp-section__head p {
    margin: 10px 0 0;
    color: var(--lp-text);
}

/* ── Feature cards ── */

.lp-grid {
    display: grid;
    gap: 16px;
}

.lp-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-card {
    border: 1px solid var(--lp-border);
    border-radius: 18px;
    padding: 24px 20px;
    background: #fafefe;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lp-card:hover {
    border-color: var(--lp-primary);
    box-shadow: 0 8px 24px var(--lp-primary-glow);
}

.lp-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--lp-primary-light);
    color: var(--lp-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.lp-card h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.lp-card p {
    margin: 10px 0 0;
    color: var(--lp-text);
    font-size: 14px;
    line-height: 1.9;
}

.lp-card code {
    font-size: 12px;
    background: var(--lp-primary-light);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--lp-primary-deep);
}

/* ── Steps ── */

.lp-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
}

.lp-step {
    text-align: center;
    padding: 0 12px;
}

.lp-step__index {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-dark) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 6px 16px var(--lp-primary-glow);
}

.lp-step h3 {
    margin: 16px 0 0;
    font-size: 16px;
    font-weight: 700;
}

.lp-step p {
    margin: 8px 0 0;
    color: var(--lp-text);
    font-size: 14px;
    line-height: 1.85;
}

.lp-step__connector {
    width: 40px;
    height: 2px;
    background: var(--lp-border);
    margin-top: 22px;
    align-self: start;
}

/* ── Site paths (has / no website) ── */

.lp-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.lp-path {
    border: 1px solid var(--lp-border);
    border-radius: 20px;
    padding: 28px 24px;
    background: #fafefe;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lp-path:hover {
    border-color: var(--lp-primary);
    box-shadow: 0 10px 30px var(--lp-primary-glow);
}

.lp-path--alt {
    background: linear-gradient(160deg, var(--lp-primary-light) 0%, #fafefe 100%);
    border-color: #b8e8eb;
}

.lp-path__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px var(--lp-primary-glow);
}

.lp-path--alt .lp-path__icon {
    background: linear-gradient(135deg, var(--lp-primary-deep) 0%, var(--lp-primary) 100%);
}

.lp-path h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--lp-title);
}

.lp-path__lead {
    margin: 12px 0 0;
    color: var(--lp-text);
    font-size: 14px;
    line-height: 2;
}

.lp-path__list {
    list-style: none;
    margin: 20px 0 24px;
    padding: 0;
    flex: 1;
}

.lp-path__list li {
    position: relative;
    padding: 10px 24px 10px 0;
    font-size: 14px;
    color: var(--lp-text);
    line-height: 1.85;
    border-bottom: 1px dashed var(--lp-border);
}

.lp-path__list li:last-child {
    border-bottom: none;
}

.lp-path__list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 10px;
    color: var(--lp-primary);
    font-weight: 700;
    font-size: 13px;
}

.lp-path__list strong {
    color: var(--lp-primary-deep);
    font-weight: 600;
}

.lp-paths__note {
    margin: 28px 0 0;
    padding: 16px 20px;
    text-align: center;
    font-size: 14px;
    color: var(--lp-text-muted);
    background: var(--lp-primary-light);
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    line-height: 1.9;
}

/* ── Pricing ── */

.lp-pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.lp-plan {
    position: relative;
    border: 1px solid var(--lp-border);
    border-radius: 20px;
    padding: 28px 24px;
    background: #fafefe;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lp-plan:hover {
    border-color: var(--lp-primary);
}

.lp-plan--featured {
    border: 2px solid var(--lp-primary);
    background: var(--lp-surface);
    box-shadow: var(--lp-shadow-lg);
    transform: scale(1.03);
}

.lp-plan__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-dark) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 999px;
    white-space: nowrap;
}

.lp-plan__head h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.lp-plan__desc {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--lp-text-muted);
}

.lp-plan__price {
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}

.lp-plan__amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--lp-primary-deep);
}

.lp-plan__period {
    display: block;
    font-size: 13px;
    color: var(--lp-text-muted);
    margin-top: 4px;
}

.lp-plan__features {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    flex: 1;
}

.lp-plan__features li {
    position: relative;
    padding: 8px 22px 8px 0;
    font-size: 14px;
    color: var(--lp-text);
    border-bottom: 1px dashed var(--lp-border);
}

.lp-plan__features li:last-child {
    border-bottom: none;
}

.lp-plan__features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 8px;
    color: var(--lp-primary);
    font-weight: 700;
    font-size: 13px;
}

/* ── CTA ── */

.lp-section--cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, var(--lp-primary-deep) 0%, var(--lp-primary) 50%, var(--lp-primary-dark) 100%);
    border: none;
    color: #fff;
    padding: 44px 40px;
}

.lp-cta__content h2 {
    margin: 0;
    font-size: clamp(22px, 3.5vw, 28px);
    font-weight: 800;
}

.lp-cta__content p {
    margin: 10px 0 0;
    opacity: 0.9;
    font-size: 15px;
}

/* ── Footer ── */

.lp-footer {
    border-top: 1px solid var(--lp-border);
    background: var(--lp-surface);
    padding: 32px 20px;
    margin-top: 0;
}

.lp-footer__inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.lp-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-footer__brand img {
    border-radius: 10px;
}

.lp-footer__brand strong {
    display: block;
    font-size: 15px;
}

.lp-footer__brand span {
    font-size: 13px;
    color: var(--lp-text-muted);
}

.lp-footer__links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.lp-footer__links a {
    color: var(--lp-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.lp-footer__links a:hover {
    color: var(--lp-primary-dark);
}

.lp-footer__copy {
    margin: 0;
    font-size: 13px;
    color: var(--lp-text-muted);
}

/* ── Responsive ── */

@media (max-width: 960px) {
    .lp-hero {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 36px;
    }

    .lp-hero__visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }

    .lp-hero__content {
        text-align: center;
    }

    .lp-hero__content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .lp-hero__actions,
    .lp-hero__stats {
        justify-content: center;
    }

    .lp-grid--3,
    .lp-pricing,
    .lp-paths {
        grid-template-columns: 1fr;
    }

    .lp-plan--featured {
        transform: none;
    }

    .lp-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lp-step__connector {
        display: none;
    }

    .lp-section--cta {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
}

@media (max-width: 720px) {
    .lp-nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        gap: 0;
        background: var(--lp-surface);
        border-bottom: 1px solid var(--lp-border);
        padding: 12px 20px;
        box-shadow: var(--lp-shadow);
    }

    .lp-nav.is-open {
        display: flex;
    }

    .lp-nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--lp-border);
        width: 100%;
    }

    .lp-nav a:last-child {
        border-bottom: none;
    }

    .lp-header {
        position: relative;
    }

    .lp-header__inner {
        flex-wrap: wrap;
        position: relative;
    }

    .lp-header__actions .lp-btn--ghost,
    .lp-header__actions .lp-btn--primary {
        display: none;
    }

    .lp-menu-btn {
        display: flex;
    }

    .lp-brand__name {
        font-size: 13px;
        max-width: 120px;
    }

    .lp-section {
        padding: 28px 18px;
    }

    .lp-hero__actions .lp-btn {
        width: 100%;
    }
}
