@import url("bootstrap.rtl.min.css");
@import url("bootstrap-icons.min.css");
@import url(vazirmatn_font.css);

:root {
    --sp-purple: #6417a6;
    --sp-purple-dark: #42106f;
    --sp-magenta: #ed0b78;
    --sp-pink: #ff3b9d;
    --sp-soft: #fff2f9;
    --sp-purple-soft: #f5edff;
    --sp-text: #26212c;
    --sp-muted: #716b78;
    --sp-bg: #fff;
    --sp-border: #eee6f3;
    --sp-shadow: 0 18px 55px rgba(70, 20, 105, .10);
    --sp-radius: 24px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    font-family: "Vazirmatn", sans-serif;
    color: var(--sp-text);
    background: #fff;
    line-height: 1.9;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }
.fs-7 { font-size: 0.9375rem !important; }
.fs-8 { font-size: 0.875rem !important; }
.fs-9 { font-size: 0.8125rem !important; }

.text-gradient {
    background: linear-gradient(90deg, var(--sp-purple), var(--sp-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-sp {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--sp-purple), var(--sp-magenta));
    box-shadow: 0 10px 25px rgba(125, 20, 150, .22);
    border-radius: 13px;
    padding: .72rem 1.25rem;
    font-weight: 700;
    transition: .25s ease;
}

.btn-sp:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 15px 32px rgba(125, 20, 150, .28);
}

.btn-outline-sp {
    border: 1px solid rgba(100, 23, 166, .25);
    color: var(--sp-purple);
    background: #fff;
    border-radius: 13px;
    padding: .7rem 1.2rem;
    font-weight: 700;
}

.btn-outline-sp:hover {
    color: #fff;
    background: var(--sp-purple);
    border-color: var(--sp-purple);
}

/* Navbar */
.navbar-wrap {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .90);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(100, 23, 166, .08);
    box-shadow: 0 4px 20px rgba(100, 23, 166, 0.10);
}

.navbar {
    min-height: 76px;
}

.brand-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.brand-title {
    font-weight: 900;
    color: var(--sp-purple);
    line-height: 1.1;
    font-size: 1.14rem;
}

.brand-subtitle {
    font-size: .74rem;
    color: var(--sp-muted);
}

.navbar .nav-link {
    color: #403847;
    font-weight: 600;
    font-size: .95rem;
    padding: .65rem .8rem !important;
}

.navbar .nav-link:hover {
    color: var(--sp-magenta);
}

.login-btn {
    border-radius: 12px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--sp-purple), var(--sp-magenta));
    padding: .55rem 1rem !important;
}

/* Hero */
.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 8% 20%, rgba(237, 11, 120, .09), transparent 27%),
        radial-gradient(circle at 92% 10%, rgba(100, 23, 166, .12), transparent 30%),
        linear-gradient(180deg, #fff 0%, #fff9fd 100%);
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(0px);
    pointer-events: none;
}

.hero::before {
    width: 420px;
    height: 420px;
    background: rgba(237, 11, 120, .06);
    left: -180px;
    bottom: -220px;
}

.hero::after {
    width: 360px;
    height: 360px;
    background: rgba(100, 23, 166, .07);
    right: -160px;
    top: -180px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--sp-purple);
    background: var(--sp-purple-soft);
    border: 1px solid #eadbfa;
    border-radius: 999px;
    padding: .28rem .75rem;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.1rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 1.1rem;
}

.hero-lead {
    max-width: 620px;
    color: var(--sp-muted);
    font-size: 1.05rem;
}

.hero-image-box {
    position: relative;
    text-align: center;
}

.hero-image-box::before {
    content: "";
    position: absolute;
    inset: 1% 5%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(237, 11, 120, .13), rgba(100, 23, 166, .13));
    filter: blur(0px);
    z-index: 0;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 600px;
    height: 500px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 30px;
}

/* Generic sections */
.section {
    padding: 90px 0;
}

.section-soft {
    background: linear-gradient(180deg, #ffe9f6 0%, #fff7fb 100%);
}

.section-purple {
    background: linear-gradient(135deg, #4c117d 0%, #741aa8 55%, #ed0b78 100%);
    color: #fff;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-heading .kicker {
    color: var(--sp-magenta);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.section-heading h2 {
    font-weight: 900;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    margin: .45rem 0 .8rem;
}

.section-heading p {
    color: var(--sp-muted);
    margin-bottom: 0;
}

.section-purple .section-heading p {
    color: rgba(255, 255, 255, .78);
}

.section-purple .section-heading .kicker {
    color: #ffb4da;
}

/* Feature cards */
.feature-card {
    height: 100%;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    padding: 1.65rem;
    background: #fff;
    box-shadow: 0 8px 35px rgba(70, 20, 105, .05);
    transition: .25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sp-shadow);
    border-color: #ead5f7;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(135deg, var(--sp-purple), var(--sp-magenta));
    font-size: 1.45rem;
    margin-bottom: 1.15rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
}

.feature-card p {
    color: var(--sp-muted);
    font-size: .91rem;
    margin: 0;
}

/* Social */
.social-card {
    height: 100%;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .09);
    border-radius: 22px;
    padding: 1.4rem;
    transition: .25s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-card:hover {
    background: rgba(255, 255, 255, .15);
    transform: translateY(-5px);
    color: #fff;
}

.social-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, .15);
    font-size: 1.35rem;
    margin-bottom: .9rem;
    margin-left: auto;
    margin-right: auto;
}

.social-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

.social-img-sm {
    width: 19px;
    height: 19px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

.social-img-xs {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

.social-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.social-card p {
    font-size: .82rem;
    color: rgba(255, 255, 255, .70);
    margin-bottom: 0;
}

/* Newsletter */
.newsletter {
    background: #fff;
    border: 1px solid var(--sp-border);
    box-shadow: var(--sp-shadow);
    border-radius: 30px;
    padding: 2rem;
    margin-top: -15px;
    position: relative;
    z-index: 2;
}

.form-control,
.form-select {
    border-color: #e8deed;
    border-radius: 13px;
    padding: .68rem .95rem;
    font-family: inherit;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--sp-purple);
    box-shadow: 0 0 0 .2rem rgba(100, 23, 166, .10);
}

/* API Cards */
.api-card {
    height: 100%;
    border: 1px solid var(--sp-border);
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 30px rgba(70, 20, 105, .055);
    transition: .25s ease;
}

.api-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sp-shadow);
}

.api-image {
    width: 100%;
    height: 205px;
    object-fit: cover;
    display: block;
    background: #f6f1f8;
}

.api-card-body {
    padding: 1.2rem;
}

.api-card h3 {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.65;
    margin-bottom: .5rem;
}

.api-card p {
    color: var(--sp-muted);
    font-size: .84rem;
    margin-bottom: .85rem;
}

.card-footer {
    border-top: 1px solid var(--sp-border);
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    color: #7d7583;
    font-size: .76rem;
}

.meta span {
    background: #faf6fc;
    border-radius: 999px;
    padding: .25rem .55rem;
}

.product-price {
    font-weight: 900;
    color: var(--sp-purple);
    font-size: .95rem;
}

/* Chat room */
.chat-room {
    border-radius: 32px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .17), transparent 28%),
        linear-gradient(135deg, #481078, #7919a9 55%, #ec0b77);
    color: #fff;
    padding: 50px;
    overflow: hidden;
    position: relative;
}

.chat-room h2 {
    font-weight: 900;
}

.chat-room p {
    color: rgba(255, 255, 255, .78);
}

.chat-visual {
    width: 270px;
    height: auto;
    display: block;
    margin: auto;
    opacity: .96;
    border-radius: 8px;
}

/* Contact */
.contact-card {
    border: 1px solid var(--sp-border);
    border-radius: 25px;
    padding: 1.6rem;
    background: #fff;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--sp-magenta);
    font-size: 1.25rem;
    margin-top: .2rem;
}

.contact-item strong {
    display: block;
    font-size: .98rem;
}

.contact-item span {
    color: var(--sp-muted);
    font-size: .92rem;
}

/* Footer */
footer {
    background: #24132f;
    color: #fff;
    padding: 65px 0 20px;
}

.footer-brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: #fff;
    border-radius: 18px;
    padding: 3px;
}

footer h4 {
    font-size: .98rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

footer p,
footer li,
footer a {
    color: rgba(255, 255, 255, .65);
    font-size: .89rem;
}

footer a:hover {
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: .55rem;
}

.footer-socials {
    background-color: #24132f;
    padding: 10px;
    justify-content: center;
    align-items: center;
    border-radius: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.footer-socials a:hover {
    background: linear-gradient(135deg, var(--sp-purple), var(--sp-magenta));
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .09);
    margin-top: 35px;
    padding-top: 18px;
}

/* Floating buttons */
#backToTop {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 1040;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    /*background: linear-gradient(135deg, var(--sp-purple), var(--sp-magenta));*/
    background: #716b78;
    box-shadow: 0 10px 25px rgba(80, 10, 100, .25);
    display: none;
}

.chat-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1040;
}

.chat-main {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 18px;
    cursor: pointer;
    color: #fff;
    font-size: 22px;
    background: linear-gradient(135deg,
            var(--sp-purple),
            var(--sp-magenta));
    box-shadow: 0 12px 30px rgba(90, 10, 120, .30);
}

.chat-options {
    position: absolute;
    bottom: 72px;
    right: 0;

    display: flex;
    flex-direction: column;
    gap: 10px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);
    transition: .25s;
}

.chat-float.open .chat-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 170px;
    padding: 8px 10px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
    text-decoration: none;
}

.chat-option-text {
    color: #333;
    font-size: 14px;
    font-weight: 700;
}

.chat-option-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.bale .chat-option-icon {
    background: #0cbc8d;
}

.whatsapp .chat-option-icon {
    background: #25d366;
}

.telegram .chat-option-icon {
    background: #229ED9;
}

.chatroom .chat-option-icon {
    background: #e70e77;
}

.chat-option:hover {
    transform: translateX(-5px);
}

.form-label {
    margin-bottom: 0px;
}

.chat-pulse {
    display: inline-block;
    animation: chatPulse 1.5s ease-in-out infinite;
    transform-origin: center;
}

@keyframes chatPulse {

    0%,
    100% {
        transform: scale(1);
        color: inherit;
        filter: drop-shadow(0 0 0 rgba(0, 123, 255, 0));
    }

    50% {
        transform: scale(1.2);
        color: #ffffff;
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar .login-btn {
        display: inline-block;
        margin-top: .5rem;
    }

    .hero {
        min-height: auto;
        padding: 55px 0 70px;
    }

    .hero-image-box {
        margin-top: 35px;
    }

    .hero-image {
        width: 560px;
        height: 430px;
    }

    .chat-room {
        padding: 35px 25px;
    }
}

@media (max-width: 575.98px) {
    .section {
        padding: 65px 0;
    }

    .navbar {
        min-height: 68px;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-image {
        width: 100%;
        height: 330px;
    }

    .newsletter {
        padding: 1.2rem;
        border-radius: 22px;
    }

    .chat-room {
        padding: 28px 20px;
        border-radius: 24px;
    }

    #backToTop {
        left: 15px;
        bottom: 15px;
    }

    .chat-float {
        right: 15px;
        bottom: 15px;
    }
}