/* Landing — سنتا | بازارچه‌های مرزی
   Direction: cool sage mist + deep jade + copper (border dawn) */

:root {
    --lp-ink: #0a1f1d;
    --lp-ink-soft: #3d5551;
    --lp-mist: #e8eef0;
    --lp-mist-deep: #d5e0e2;
    --lp-jade: #0c6b62;
    --lp-jade-deep: #043532;
    --lp-jade-mid: #0a524c;
    --lp-copper: #c4843a;
    --lp-copper-soft: #e0b06a;
    --lp-white: #f7fafb;
    --lp-font: "Vazirmatn", Tahoma, sans-serif;
    --lp-display: "Markazi Text", "Vazirmatn", serif;
    --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body.landing {
    margin: 0;
    font-family: var(--lp-font);
    color: var(--lp-ink);
    background:
        radial-gradient(ellipse at 0% 0%, rgba(12, 107, 98, 0.06), transparent 42%),
        radial-gradient(ellipse at 100% 20%, rgba(196, 132, 58, 0.05), transparent 40%),
        var(--lp-mist);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
    position: absolute;
    inset-inline-start: 1rem;
    top: -3rem;
    background: var(--lp-jade-deep);
    color: #fff;
    padding: .5rem 1rem;
    z-index: 100;
}
.skip-link:focus { top: 1rem; }

.lp-wrap {
    width: min(1100px, calc(100% - 2.25rem));
    margin-inline: auto;
}

/* —— Nav —— */
.lp-nav {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 50;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background .35s var(--lp-ease), border-color .35s, backdrop-filter .35s;
}

.lp-nav.is-scrolled {
    background: rgba(4, 53, 50, 0.88);
    backdrop-filter: blur(16px);
    border-bottom-color: rgba(247, 250, 251, 0.08);
}

.lp-nav__inner {
    width: min(1100px, calc(100% - 1.75rem));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 1rem;
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: var(--lp-white);
}

.lp-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.lp-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.lp-brand__text strong {
    font-family: var(--lp-display);
    font-size: 1.4rem;
    font-weight: 800;
}

.lp-brand__text small {
    font-size: .7rem;
    opacity: .72;
    font-weight: 500;
}

.lp-nav__links {
    display: none;
    align-items: center;
    gap: 1.15rem;
}

.lp-nav__links > a:not(.lp-btn) {
    color: rgba(247, 250, 251, 0.86);
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s var(--lp-ease);
}

.lp-nav__links > a:not(.lp-btn):hover {
    color: var(--lp-copper-soft);
}

.lp-nav__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(247, 250, 251, .28);
    background: transparent;
    cursor: pointer;
    padding: 10px;
}

.lp-nav__toggle span {
    display: block;
    height: 2px;
    background: var(--lp-white);
}

.lp-nav__mobile {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: .35rem 1.25rem 1.15rem;
    background: var(--lp-jade-deep);
}

.lp-nav__mobile[hidden] { display: none !important; }

.lp-nav__mobile a {
    color: var(--lp-white);
    padding: .85rem .4rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-weight: 500;
}

/* —— Buttons —— */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .68rem 1.2rem;
    font-family: var(--lp-font);
    font-weight: 600;
    font-size: .9rem;
    border: 1px solid transparent;
    transition: transform .25s var(--lp-ease), background .25s, color .25s, border-color .25s;
    white-space: nowrap;
}

.lp-btn:hover { transform: translateY(-2px); }

.lp-btn--solid {
    background: var(--lp-copper);
    color: #1a1208;
}

.lp-btn--ghost {
    border-color: rgba(247, 250, 251, .35);
    color: var(--lp-white);
}

.lp-btn--primary {
    background: var(--lp-copper);
    color: #1a1208;
    padding: .95rem 1.7rem;
    font-size: 1rem;
}

.lp-btn--outline {
    border-color: rgba(247, 250, 251, .55);
    color: var(--lp-white);
    padding: .95rem 1.7rem;
    font-size: 1rem;
}

.lp-btn--outline:hover {
    background: rgba(247, 250, 251, .1);
}

/* —— Hero —— */
.lp-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--lp-white);
}

.lp-hero__media {
    position: absolute;
    inset: -5%;
    background:
        linear-gradient(145deg, rgba(4, 53, 50, 0.2), transparent 50%),
        url("../images/landing-hero.png") center / cover no-repeat,
        linear-gradient(160deg, #043532 0%, #0a524c 45%, #5a4a2e 100%);
    transform: scale(1.08);
    will-change: transform;
}

.lp-hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(4, 53, 50, 0.88) 0%, rgba(4, 53, 50, 0.55) 42%, rgba(4, 53, 50, 0.28) 68%, rgba(4, 53, 50, 0.72) 100%),
        linear-gradient(180deg, rgba(4, 53, 50, 0.35) 0%, transparent 28%, rgba(4, 53, 50, 0.78) 100%);
}

.lp-hero__content {
    position: relative;
    z-index: 2;
    width: min(640px, calc(100% - 2.25rem));
    margin: 0 auto 14vh;
    text-align: center;
    padding-top: 6.5rem;
}

.lp-hero__brand {
    margin: 0 0 .2rem;
    font-family: var(--lp-display);
    font-size: clamp(3.2rem, 12vw, 6rem);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -0.02em;
    color: var(--lp-white);
    text-shadow: 0 12px 48px rgba(0, 0, 0, .4);
}

.lp-hero__brand.is-alive {
    animation: lp-brand-in 1.1s var(--lp-ease) both;
}

@keyframes lp-brand-in {
    from { opacity: 0; transform: translateY(28px) scale(0.96); filter: blur(4px); }
    to { opacity: 1; transform: none; filter: none; }
}

.lp-hero__title {
    margin: 0 0 .85rem;
    font-size: clamp(1.05rem, 2.6vw, 1.45rem);
    font-weight: 600;
    color: rgba(247, 250, 251, 0.94);
}

.lp-hero__lead {
    margin: 0 auto 1.85rem;
    max-width: 28rem;
    font-size: clamp(.95rem, 1.9vw, 1.05rem);
    color: rgba(247, 250, 251, 0.78);
    font-weight: 400;
}

.lp-hero__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .7rem;
}

/* —— Teaser video —— */
.lp-teaser {
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
    background:
        linear-gradient(180deg, rgba(4, 53, 50, 0.04) 0%, transparent 40%),
        var(--lp-mist);
}

.lp-teaser__stage {
    width: 100%;
    max-width: min(1100px, calc(100% - 2.25rem));
    margin-inline: auto;
    border-radius: 14px;
    overflow: hidden;
    background: #041a18;
    box-shadow:
        0 18px 48px rgba(4, 53, 50, 0.18),
        0 0 0 1px rgba(4, 53, 50, 0.08);
    aspect-ratio: 16 / 9;
}

.lp-teaser__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #041a18;
}

/* —— Sections —— */
.lp-section {
    padding: clamp(3.75rem, 8vw, 6.25rem) 0;
}

.lp-section__head {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.lp-section__head h2 {
    margin: 0 0 .55rem;
    font-family: var(--lp-display);
    font-size: clamp(1.65rem, 3.4vw, 2.2rem);
    font-weight: 800;
    color: var(--lp-jade-deep);
}

.lp-section__head p {
    margin: 0 auto;
    max-width: 30rem;
    color: var(--lp-ink-soft);
    font-size: 1.02rem;
}

.lp-section__head--light h2,
.lp-section__head--light p {
    color: var(--lp-white);
}

.lp-section__head--light p {
    opacity: .8;
}

/* Steps */
.lp-services {
    background:
        linear-gradient(180deg, var(--lp-white) 0%, var(--lp-mist) 100%);
}

.lp-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2rem;
    counter-reset: none;
}

.lp-steps li {
    padding-top: 1.1rem;
    border-top: 2px solid var(--lp-jade);
}

.lp-steps__num {
    display: block;
    font-family: var(--lp-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--lp-copper);
    line-height: 1;
    margin-bottom: .55rem;
}

.lp-steps h3 {
    margin: 0 0 .4rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--lp-jade-deep);
}

.lp-steps p {
    margin: 0;
    color: var(--lp-ink-soft);
    max-width: 26rem;
}

/* Markets — full-bleed photo stage */
.lp-markets {
    padding: 0;
}

.lp-markets__stage {
    position: relative;
    min-height: clamp(420px, 72vh, 640px);
    display: grid;
    align-items: end;
    overflow: hidden;
}

.lp-markets__stage > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.lp-markets__stage-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 53, 50, 0.15) 0%, rgba(4, 53, 50, 0.55) 45%, rgba(4, 53, 50, 0.92) 100%);
}

.lp-markets__panel {
    position: relative;
    z-index: 2;
    padding: clamp(2.5rem, 6vw, 4rem) 0 3rem;
}

.lp-markets__names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2.5rem;
    padding-top: .5rem;
}

.lp-markets__names span {
    font-family: var(--lp-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--lp-white);
    letter-spacing: -0.01em;
}

/* News */
.lp-news {
    background: var(--lp-white);
}

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

.lp-news__list li + li {
    border-top: 1px solid rgba(10, 31, 29, 0.1);
}

.lp-news__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0;
    font-weight: 600;
    color: var(--lp-jade-deep);
    transition: color .2s;
}

.lp-news__list a:hover { color: var(--lp-jade); }

.lp-news__list i {
    color: var(--lp-copper);
    font-style: normal;
}

.lp-news__more {
    margin: 1.5rem 0 0;
    text-align: center;
}

.lp-news__more a {
    color: var(--lp-jade);
    font-weight: 600;
    border-bottom: 1px solid var(--lp-mist-deep);
}

/* CTA band */
.lp-cta-band {
    background:
        linear-gradient(125deg, var(--lp-jade-deep) 0%, var(--lp-jade-mid) 55%, #1a4a3c 100%);
    color: var(--lp-white);
    padding: clamp(3rem, 7vw, 4.25rem) 0;
}

.lp-cta-band__inner {
    text-align: center;
    max-width: 36rem;
}

.lp-cta-band h2 {
    margin: 0 0 .7rem;
    font-family: var(--lp-display);
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-weight: 800;
}

.lp-cta-band p {
    margin: 0;
    opacity: .86;
    font-size: 1.02rem;
}

/* Footer */
.lp-footer {
    background: #021c1a;
    color: rgba(247, 250, 251, 0.75);
    padding: 2.75rem 0 0;
    font-size: .92rem;
}

.lp-footer__grid {
    display: grid;
    gap: 1.75rem;
    padding-bottom: 2rem;
}

.lp-footer__brand {
    display: block;
    font-family: var(--lp-display);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--lp-white);
    margin-bottom: .25rem;
}

.lp-footer p { margin: .2rem 0; }

.lp-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
}

.lp-footer__links a {
    color: var(--lp-copper-soft);
    font-weight: 500;
}

.lp-footer__links a:hover { color: #fff; }

.lp-footer__copy {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 1rem 0 1.25rem;
    text-align: center;
    font-size: .8rem;
    opacity: .65;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .85s var(--lp-ease), transform .85s var(--lp-ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal,
    .lp-hero__brand.is-alive {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
        filter: none;
    }
}

@media (min-width: 860px) {
    .lp-nav__toggle { display: none; }
    .lp-nav__links { display: flex; }
    .lp-nav__mobile { display: none !important; }

    .lp-hero__content {
        margin-bottom: 18vh;
        text-align: right;
        margin-inline: auto 0;
        margin-inline-end: max(2.25rem, calc((100% - 1100px) / 2));
        width: min(520px, 44vw);
    }

    .lp-hero__cta { justify-content: flex-start; }

    .lp-hero__lead {
        margin-inline: 0;
    }

    .lp-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.25rem;
    }

    .lp-markets__names {
        justify-content: flex-start;
        gap: 1.5rem 3.5rem;
    }

    .lp-section__head--light {
        text-align: right;
    }

    .lp-section__head--light p {
        margin-inline: 0;
    }

    .lp-footer__grid {
        grid-template-columns: 1.2fr 1.4fr auto;
        align-items: start;
    }
}
