@font-face {
    font-family: 'Shabnam';
    src: url('Shabnam.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --ink: #16324f;
    --ink-soft: #3d5a80;
    --muted: #5f7a96;
    --line: rgba(27, 79, 114, 0.14);
    --sky: #5b9bd5;
    --sky-deep: #1b4f72;
    --foam: #eef6fc;
    --white: #ffffff;
    --shell: 1120px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Shabnam', Tahoma, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(900px 420px at 100% -10%, rgba(91, 155, 213, 0.18), transparent 60%),
        radial-gradient(700px 380px at 0% 20%, rgba(168, 216, 234, 0.22), transparent 55%),
        linear-gradient(180deg, #f7fbfe 0%, #eef5fb 48%, #e8f1f8 100%);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

.shell {
    width: min(100% - 2rem, var(--shell));
    margin-inline: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(247, 251, 254, 0.82);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: var(--line);
}

.header-inner {
    min-height: 4.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: var(--sky-deep);
}

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

.header-sample {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sky-deep);
    transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

.header-sample svg {
    flex-shrink: 0;
}

.header-sample:hover {
    color: #143d59;
    opacity: 0.85;
}

/* Hero */
.hero {
    padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(1.5rem, 3vw, 2.25rem);
}

.hero-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.75rem);
    padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.15rem, 3vw, 1.85rem);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(27, 79, 114, 0.05);
}

.hero-copy {
    flex: 1 1 16rem;
    min-width: min(100%, 16rem);
    max-width: 34rem;
}

.hero h1 {
    font-size: clamp(1.3rem, 2.8vw, 1.7rem);
    font-weight: 700;
    line-height: 1.5;
    color: var(--sky-deep);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.hero-lead {
    font-size: clamp(0.92rem, 2vw, 1.02rem);
    color: var(--muted);
    line-height: 1.75;
    max-width: 34ch;
    margin-bottom: 1.2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.hero-brand {
    flex: 0 1 auto;
    display: grid;
    place-items: center;
    width: min(100%, 13.5rem);
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.hero-brand img {
    width: 100%;
    max-width: 11.5rem;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

.btn-primary {
    background: var(--sky);
    color: #08304f;
}

.btn-primary:hover {
    background: #7eb8da;
}

.btn-ghost {
    background: transparent;
    color: var(--sky-deep);
    border-color: rgba(27, 79, 114, 0.25);
}

.btn-ghost:hover {
    background: rgba(91, 155, 213, 0.12);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    color: var(--sky-deep);
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.section-lead {
    color: var(--muted);
    max-width: 42ch;
    margin-bottom: 2.25rem;
}

.how {
    background: transparent;
}

.steps {
    list-style: none;
    display: grid;
    gap: 1.5rem;
}

.steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.steps li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.step-num {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(91, 155, 213, 0.15);
    color: var(--sky-deep);
    font-weight: 700;
}

.steps h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--ink);
}

.steps p {
    color: var(--muted);
}

.demo {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2));
    border-block: 1px solid var(--line);
}

.demo-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.demo-preview {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(22, 50, 79, 0.12);
    transform: translateY(0);
    transition: transform 0.35s var(--ease);
}

.demo-preview:hover {
    transform: translateY(-6px);
}

.demo-preview img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.story-inner {
    max-width: 46rem;
}

.story p {
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.text-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--sky-deep);
    font-weight: 700;
}

.text-link:hover {
    text-decoration: underline;
}

/* Tenants logo bar */
.tenants-bar {
    padding: 2.75rem 0 2rem;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.45);
}

.tenants-head {
    text-align: center;
    margin-bottom: 1.5rem;
}

.tenants-title {
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    color: var(--sky-deep);
    margin-bottom: 0.35rem;
}

.tenants-lead {
    color: var(--muted);
    font-size: 0.95rem;
}

.tenants-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tenants-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: max-content;
    animation: tenantsScroll 38s linear infinite;
    padding: 0.35rem 0;
}

.tenants-marquee:hover .tenants-track {
    animation-play-state: paused;
}

.tenant-item {
    flex: 0 0 auto;
    min-width: 148px;
    height: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 700;
}

.tenant-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.tenant-wordmark span {
    font-size: 1rem;
    color: var(--sky-deep);
    letter-spacing: -0.01em;
}

@keyframes tenantsScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Footer — matches sample store layout */
.footer {
    background: linear-gradient(135deg, #7eb8da 0%, #5b9bd5 50%, #1b4f72 100%);
    color: #fff;
    padding: 3.5rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a8d8ea 0%, #7eb8da 50%, #a8d8ea 100%);
}

.footer-container {
    width: min(100% - 2rem, 1120px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
    text-align: center;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #e8f4fc;
}

.footer-section p {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
}

.footer-contact-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.license-badges {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.license-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    transition: transform 0.25s var(--ease);
}

.license-badge:hover {
    transform: translateY(-2px);
}

.license-card {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 10px;
    padding: 0.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.license-card img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.footer-link {
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.2s, transform 0.2s;
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.footer-sep {
    color: rgba(255, 255, 255, 0.7);
    user-select: none;
}

.footer-about-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-about-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.2s, transform 0.2s;
}

.footer-about-link:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.footer-about-link span {
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
}

.footer-platform-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #fff;
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.2s, transform 0.2s;
}

.footer-platform-link:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.footer-platform-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
    padding: 2px;
}

.footer-bottom {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1.5rem 1rem 0.25rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* About page */
.page-about {
    min-height: 100vh;
}

.about-main {
    padding: 2.5rem 0 4.5rem;
}

.about-shell {
    max-width: 720px;
}

.about-hero {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1.25rem 2.25rem;
    border-radius: 28px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(238, 246, 252, 0.72)),
        radial-gradient(520px 220px at 80% 0%, rgba(91, 155, 213, 0.16), transparent 70%);
    border: 1px solid var(--line);
}

.about-hero img,
.about-logo {
    width: min(100%, 280px);
    height: auto;
    max-height: 88px;
    object-fit: contain;
    margin: 0 auto 1rem;
    border-radius: 12px;
}

.about-kicker {
    display: inline-block;
    margin-bottom: 0.55rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--sky);
}

.about-hero h1 {
    color: var(--sky-deep);
    font-size: clamp(1.7rem, 3.4vw, 2.15rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.55rem;
}

.about-hero p {
    color: var(--muted);
    max-width: 36ch;
    margin-inline: auto;
}

.about-card {
    margin-bottom: 1.15rem;
    padding: 1.45rem 1.35rem 1.5rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(27, 79, 114, 0.04);
}

.about-card h2 {
    color: var(--sky-deep);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--line);
}

.about-card p,
.about-card li {
    color: var(--ink-soft);
    margin-bottom: 0.55rem;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.about-list {
    list-style: none;
    display: grid;
    gap: 0.85rem;
    padding: 0;
}

.about-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    margin-bottom: 0;
}

.about-list-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: rgba(91, 155, 213, 0.14);
    color: var(--sky-deep);
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.about-phone {
    color: var(--sky-deep);
    font-weight: 700;
    border-bottom: 1px solid rgba(27, 79, 114, 0.28);
}

.about-phone:hover {
    border-bottom-color: var(--sky-deep);
}

.about-shell code {
    background: rgba(91, 155, 213, 0.12);
    padding: 0.05rem 0.35rem;
    border-radius: 6px;
    font-size: 0.9em;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.btn-soft {
    background: rgba(91, 155, 213, 0.12);
    color: var(--sky-deep);
    border-color: transparent;
}

.btn-soft:hover {
    background: rgba(91, 155, 213, 0.2);
}

/* Motion */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: riseIn 0.8s var(--ease) forwards;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

@keyframes riseIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal,
    .tenants-track {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
    .btn:hover,
    .demo-preview:hover {
        transform: none;
    }
}

@media (max-width: 860px) {
    .demo-inner {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        flex-direction: column-reverse;
        align-items: stretch;
        text-align: center;
    }

    .hero-copy {
        max-width: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-lead {
        max-width: 36ch;
    }

    .hero-actions {
        justify-content: center;
        width: 100%;
    }

    .hero-brand {
        width: min(100%, 12rem);
        margin-inline: auto;
    }

    .section {
        padding: 3.75rem 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 520px) {
    .brand span {
        font-size: 1.05rem;
    }

    .header-sample {
        font-size: 0.85rem;
        gap: 0.35rem;
    }

    .header-sample svg {
        width: 18px;
        height: 18px;
    }

    .hero-panel {
        padding: 1.15rem 1rem 1.25rem;
        border-radius: 18px;
        gap: 1.1rem;
    }

    .hero-brand {
        width: min(100%, 10.5rem);
        padding: 0.7rem 0.8rem;
        border-radius: 14px;
    }

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

    .hero-actions .btn,
    .btn {
        width: 100%;
    }

    .about-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .about-card {
        padding: 1.2rem 1.05rem 1.25rem;
        border-radius: 18px;
    }

    .about-hero {
        padding: 1.5rem 1rem 1.75rem;
        border-radius: 22px;
    }
}
