@font-face {
    font-family: 'IRANSansWebFaNum';
    src: url('/fonts/IRANSansWeb_Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansWebFaNum';
    src: url('/fonts/IRANSansWeb_Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansWebFaNum';
    src: url('/fonts/IRANSansWeb_Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* Global Font */

html,
body,
button,
input,
textarea,
select,
option {
    font-family: 'IRANSansWebFaNum', sans-serif;
}

body {
    font-family: 'IRANSansWebFaNum', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.btn,
.form-control,
.form-select,
.form-label,
.navbar,
.dropdown-menu,
.alert,
.card {
    font-family: 'IRANSansWebFaNum', sans-serif;
}

/* =========================================================
   MediaQR Home Page
   ========================================================= */

.mediaqr-home {
    background: #f8f9fa;
    min-height: calc(100vh - 80px);
}

.hero-section {
    padding: 90px 0 80px;
    background: radial-gradient( circle at top, rgba(13, 110, 253, 0.10), transparent 55% );
}

.hero-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    background: #fff0f3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
}

.hero-description {
    max-width: 680px;
    margin: 0 auto;
    color: #6c757d;
    font-size: 1.15rem;
    line-height: 2;
}

.hero-actions {
    margin-top: 35px;
}

.hero-button {
    min-width: 230px;
    border-radius: 14px;
    padding: 12px 25px;
}

.how-section {
    padding: 75px 0;
    background: #ffffff;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-description {
    color: #6c757d;
}

.step-card {
    height: 100%;
    padding: 30px 25px;
    text-align: center;
    border-radius: 20px;
    background: #f8f9fa;
    border: 1px solid #eee;
}

.step-number {
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d6efd;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    margin: 0;
    color: #6c757d;
    line-height: 1.9;
}

.final-cta {
    padding: 70px 20px;
    background: #0d6efd;
    color: #ffffff;
}

    .final-cta h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .final-cta p {
        margin-bottom: 25px;
        opacity: 0.9;
    }

    .final-cta .btn {
        border-radius: 12px;
        padding: 11px 28px;
    }

@media (max-width: 576px) {

    .hero-section {
        padding: 65px 0 55px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .how-section {
        padding: 55px 0;
    }

    .final-cta {
        padding: 55px 20px;
    }
}

/* =========================================================
   MediaQR Viewer
   ========================================================= */

.media-viewer-page {
    min-height: calc(100vh - 80px);
    background: radial-gradient( circle at top, rgba(13, 110, 253, 0.08), transparent 45% ), #f8f9fa;
}

.media-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.media-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: #fff0f3;
}

.media-title {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.7;
    margin: 0;
    word-break: break-word;
}

.media-description {
    margin: 12px auto 0;
    color: #6c757d;
    line-height: 1.9;
    max-width: 600px;
    white-space: pre-line;
}

.media-content {
    margin-top: 28px;
}

.viewer-image {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 18px;
}

.viewer-video {
    display: block;
    width: 100%;
    max-height: 70vh;
    border-radius: 18px;
    background: #000;
}

.audio-player-container {
    padding: 28px 20px;
    border-radius: 20px;
    background: linear-gradient( 135deg, #f8f9ff, #fff5f7 );
    text-align: center;
}

.audio-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.audio-message {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 22px;
    line-height: 1.8;
}

.audio-player {
    width: 100%;
}

.share-section {
    margin-top: 24px;
    text-align: center;
}

.share-button {
    border-radius: 12px;
    padding: 10px 22px;
}

.media-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #adb5bd;
    font-size: 0.8rem;
    direction: ltr;
    overflow-wrap: anywhere;
}


/* Mobile */

@media (max-width: 576px) {

    .media-viewer-page {
        min-height: 100vh;
    }

    .media-card {
        border-radius: 20px;
        padding: 24px 16px;
    }

    .media-title {
        font-size: 1.4rem;
    }

    .audio-player-container {
        padding: 24px 12px;
    }

    .share-button {
        width: 100%;
    }
}

/* =========================================================
   MEDIAQR HOME
========================================================= */

.mediaqr-home {
    overflow: hidden;
    color: #57425c;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 80px 0 90px;
    overflow: hidden;
    background: radial-gradient( circle at 85% 20%, rgba(255, 210, 232, .65), transparent 30% ), radial-gradient( circle at 10% 80%, rgba(221, 211, 255, .60), transparent 30% );
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}


.hero-badge {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    margin-bottom: 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .9);
    color: #b15c91;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(160, 100, 150, .08);
    backdrop-filter: blur(10px);
}


    .hero-badge span {
        color: #ef609b;
        font-size: 16px;
    }


.hero-title {
    margin: 0;
    color: #503951;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -1.5px;
}


    .hero-title span {
        display: inline;
        background: linear-gradient( 90deg, #ef609c, #9868e9 );
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }


.hero-description {
    max-width: 570px;
    margin: 22px 0 30px;
    color: #88778b;
    font-size: 15px;
    line-height: 2.2;
}


.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}


.hero-button {
    min-height: 58px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 18px;
    background: linear-gradient( 135deg, #ff68a8, #a56bfa );
    color: white !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 13px 30px rgba(179, 92, 167, .22);
    transition: transform .25s ease, box-shadow .25s ease;
}


    .hero-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 35px rgba(179, 92, 167, .30);
    }


.hero-button-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(255,255,255,.18);
}


.hero-button-arrow {
    font-size: 18px;
    transition: transform .25s ease;
}


.hero-button:hover .hero-button-arrow {
    transform: translateX(-4px);
}


.hero-note {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #a292a5;
    font-size: 11px;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 410px;
    margin: auto;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.qr-hero-card {
    width: 300px;
    padding: 22px;
    border-radius: 30px;
    background: rgba(255,255,255,.90);
    border: 1px solid rgba(255,255,255,.95);
    box-shadow: 0 30px 70px rgba(112, 72, 125, .16);
    transform: rotate(3deg);
    animation: qrFloat 5s ease-in-out infinite;
    backdrop-filter: blur(15px);
}


@keyframes qrFloat {

    0%, 100% {
        transform: translateY(0) rotate(3deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}


.qr-card-top {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: #614961;
    font-size: 13px;
    font-weight: 800;
}


.qr-card-logo {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #d65b96;
    background: linear-gradient( 135deg, #ffe0ed, #e9ddff );
}


.fake-qr {
    width: 190px;
    height: 190px;
    padding: 12px;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: white;
    box-shadow: 0 8px 25px rgba(100, 70, 110, .07);
}


.qr-pattern {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 8px;
    background: #fff;
}


    .qr-pattern span {
        border-radius: 2px;
        background: #4c3b50;
    }


        .qr-pattern span:nth-child(2n) {
            background: #fff;
        }


        .qr-pattern span:nth-child(3n) {
            border-radius: 50%;
        }


        .qr-pattern span:nth-child(5) {
            grid-column: span 2;
        }


        .qr-pattern span:nth-child(9) {
            grid-row: span 2;
        }


.qr-card-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border-radius: 15px;
    background: #fff5f9;
}


.message-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: white;
}


.qr-card-message div:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}


.qr-card-message strong {
    color: #624960;
    font-size: 11px;
}


.qr-card-message small {
    color: #aa97aa;
    font-size: 9px;
}


.qr-wave {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-top: 14px;
}


    .qr-wave span {
        width: 3px;
        border-radius: 5px;
        background: linear-gradient( 180deg, #ff70aa, #a36df0 );
        animation: wave 1.1s ease-in-out infinite;
    }


        .qr-wave span:nth-child(1) {
            height: 9px;
        }

        .qr-wave span:nth-child(2) {
            height: 17px;
        }

        .qr-wave span:nth-child(3) {
            height: 25px;
        }

        .qr-wave span:nth-child(4) {
            height: 14px;
        }

        .qr-wave span:nth-child(5) {
            height: 21px;
        }

        .qr-wave span:nth-child(6) {
            height: 11px;
        }

        .qr-wave span:nth-child(7) {
            height: 25px;
        }

        .qr-wave span:nth-child(8) {
            height: 16px;
        }

        .qr-wave span:nth-child(9) {
            height: 22px;
        }

        .qr-wave span:nth-child(10) {
            height: 12px;
        }

        .qr-wave span:nth-child(11) {
            height: 20px;
        }

        .qr-wave span:nth-child(12) {
            height: 9px;
        }


        .qr-wave span:nth-child(2n) {
            animation-delay: .15s;
        }


        .qr-wave span:nth-child(3n) {
            animation-delay: .3s;
        }


@keyframes wave {

    0%, 100% {
        transform: scaleY(.65);
    }

    50% {
        transform: scaleY(1.15);
    }
}


/* Floating hearts */

.floating-heart {
    position: absolute;
    color: #ed6aa1;
    font-size: 20px;
    opacity: .7;
    animation: floatingHeart 3s ease-in-out infinite;
}


.heart-1 {
    top: 70px;
    right: 20px;
}


.heart-2 {
    bottom: 70px;
    left: 25px;
    font-size: 15px;
    animation-delay: .7s;
}


.heart-3 {
    top: 140px;
    left: 10px;
    font-size: 12px;
    animation-delay: 1.2s;
}


@keyframes floatingHeart {

    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}


/* =========================================================
   HERO DECORATIONS
========================================================= */

.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}


.hero-shape-1 {
    width: 250px;
    height: 250px;
    right: -100px;
    top: 100px;
    background: rgba(255, 184, 216, .22);
    filter: blur(5px);
}


.hero-shape-2 {
    width: 180px;
    height: 180px;
    left: -80px;
    bottom: 40px;
    background: rgba(192, 174, 255, .22);
    filter: blur(5px);
}


.hero-shape-3 {
    width: 70px;
    height: 70px;
    left: 35%;
    top: 100px;
    border: 12px solid rgba(255, 192, 220, .18);
}


/* =========================================================
   HOW SECTION
========================================================= */

.how-section {
    padding: 90px 0;
    background: rgba(255,255,255,.42);
}


.section-heading {
    text-align: center;
    margin-bottom: 45px;
}


.section-label {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    margin-bottom: 13px;
    border-radius: 50px;
    background: #fff0f7;
    color: #c15c91;
    font-size: 11px;
    font-weight: 800;
}


.section-title {
    margin: 0 0 10px;
    color: #523b56;
    font-size: 30px;
    font-weight: 900;
}


.section-description {
    margin: 0;
    color: #9b899e;
    font-size: 13px;
}


.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}


.step-card {
    position: relative;
    padding: 25px;
    border-radius: 24px;
    background: rgba(255,255,255,.80);
    border: 1px solid #f5eaf3;
    box-shadow: 0 12px 35px rgba(120, 75, 130, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}


    .step-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 45px rgba(120, 75, 130, .11);
    }


.step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}


.step-icon {
    width: 53px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    font-size: 22px;
}


.step-icon-pink {
    background: #fff0f7;
}


.step-icon-purple {
    background: #f1edff;
}


.step-icon-blue {
    background: #edf6ff;
}


.step-number {
    color: #d7c9d8;
    font-size: 13px;
    font-weight: 900;
}


.step-card h3 {
    margin: 0 0 9px;
    color: #5c455f;
    font-size: 16px;
    font-weight: 800;
}


.step-card p {
    margin: 0;
    color: #96869a;
    font-size: 12px;
    line-height: 2;
}


.step-line {
    width: 35px;
    height: 3px;
    margin-top: 20px;
    border-radius: 10px;
    background: linear-gradient( 90deg, #ff6da9, #a16cf2 );
}


/* =========================================================
   FEATURES
========================================================= */

.features-section {
    padding: 30px 0 90px;
}


.features-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 45px;
    border-radius: 30px;
    background: linear-gradient( 135deg, #fff5f9, #f7f3ff );
    border: 1px solid #f3e9f4;
}


.features-content h2 {
    margin: 0 0 15px;
    color: #513b56;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.6;
}


    .features-content h2 span {
        color: #d75c97;
    }


.features-content p {
    max-width: 500px;
    margin: 0;
    color: #938297;
    font-size: 13px;
    line-height: 2.1;
}


.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.feature-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px;
    border-radius: 17px;
    background: rgba(255,255,255,.72);
}


.feature-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: white;
    font-size: 19px;
}


.feature-item div:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}


.feature-item strong {
    color: #604961;
    font-size: 12px;
}


.feature-item span {
    color: #a192a3;
    font-size: 10px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    position: relative;
    overflow: hidden;
    padding: 85px 20px;
    background: linear-gradient( 135deg, #ff75ae, #9b70ed );
    color: white;
}


.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}


.cta-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 21px;
    background: rgba(255,255,255,.18);
    font-size: 27px;
    backdrop-filter: blur(10px);
}


.final-cta h2 {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 900;
}


.final-cta p {
    margin: 0 0 27px;
    color: rgba(255,255,255,.82);
    font-size: 13px;
}


.cta-button {
    min-height: 55px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 23px;
    border-radius: 17px;
    background: white;
    color: #a45e9d !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(90, 50, 110, .18);
    transition: .25s ease;
}


    .cta-button:hover {
        transform: translateY(-3px);
        color: #a45e9d !important;
        box-shadow: 0 17px 35px rgba(90, 50, 110, .25);
    }


.cta-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}


.cta-decoration-1 {
    width: 300px;
    height: 300px;
    top: -170px;
    right: -80px;
}


.cta-decoration-2 {
    width: 220px;
    height: 220px;
    bottom: -130px;
    left: -70px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .hero-section {
        padding: 60px 0 70px;
    }


    .hero-content {
        text-align: center;
        margin: auto;
    }


    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }


    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }


    .hero-actions {
        justify-content: center;
    }


    .hero-visual {
        min-height: 390px;
    }


    .features-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


@media (max-width: 767px) {

    .hero-title {
        font-size: 38px;
    }


    .hero-description {
        font-size: 13px;
    }


    .steps-wrapper {
        grid-template-columns: 1fr;
    }


    .step-card {
        padding: 22px;
    }


    .features-card {
        padding: 27px 20px;
        border-radius: 25px;
    }


    .features-content h2 {
        font-size: 23px;
    }


    .section-title {
        font-size: 25px;
    }


    .final-cta {
        padding: 65px 20px;
    }


        .final-cta h2 {
            font-size: 25px;
        }
}


@media (max-width: 480px) {

    .hero-section {
        padding-top: 40px;
    }


    .hero-title {
        font-size: 33px;
        letter-spacing: -.8px;
    }


    .hero-actions {
        flex-direction: column;
    }


    .hero-button {
        width: 100%;
        justify-content: center;
    }


    .hero-note {
        justify-content: center;
    }


    .qr-hero-card {
        width: 270px;
    }


    .fake-qr {
        width: 170px;
        height: 170px;
    }
}
